From 45f986edb61fc525fef9fe738c189b5bca848f5e Mon Sep 17 00:00:00 2001 From: Tyler Liu Date: Mon, 10 Jun 2024 15:27:13 -0700 Subject: [PATCH] Fix an audio volume issue --- docs/{index.eaffbaa8.js => index.4e18dd33.js} | 6 +- ....eaffbaa8.js.map => index.4e18dd33.js.map} | 2 +- docs/index.html | 4 +- ....0ec7a71f.js => index.runtime.66609dc4.js} | 4 +- ...f.js.map => index.runtime.66609dc4.js.map} | 2 +- package.json | 22 +-- src/audioHelper.ts | 4 +- yarn.lock | 161 +++++++++++------- 8 files changed, 124 insertions(+), 81 deletions(-) rename docs/{index.eaffbaa8.js => index.4e18dd33.js} (95%) rename docs/{index.eaffbaa8.js.map => index.4e18dd33.js.map} (63%) rename docs/{index.runtime.0ec7a71f.js => index.runtime.66609dc4.js} (89%) rename docs/{index.runtime.0ec7a71f.js.map => index.runtime.66609dc4.js.map} (95%) diff --git a/docs/index.eaffbaa8.js b/docs/index.4e18dd33.js similarity index 95% rename from docs/index.eaffbaa8.js rename to docs/index.4e18dd33.js index 24e2674..28d8d35 100644 --- a/docs/index.eaffbaa8.js +++ b/docs/index.4e18dd33.js @@ -8,7 +8,7 @@ CSeq: ${r} ACK\r Max-Forwards: 70\r Content-Length: 0\r \r -`,this.send(c).catch(e=>{this.logTransportError(e,"Failed to send ACK to non-2xx response.")})}stateTransition(e,t=!1){let i=()=>{throw Error(`Invalid state transition from ${this.state} to ${e}`)};switch(e){case x.Calling:i();break;case x.Proceeding:this.state!==x.Calling&&i();break;case x.Accepted:case x.Completed:this.state!==x.Calling&&this.state!==x.Proceeding&&i();break;case x.Terminated:this.state===x.Calling||this.state===x.Accepted||this.state===x.Completed||t||i();break;default:i()}this.B&&(clearTimeout(this.B),this.B=void 0),x.Proceeding,e===x.Completed&&(this.D=setTimeout(()=>this.timerD(),eO.TIMER_D)),e===x.Accepted&&(this.M=setTimeout(()=>this.timerM(),eO.TIMER_M)),e===x.Terminated&&this.dispose(),this.setState(e)}timerA(){}timerB(){this.logger.debug(`Timer B expired for INVITE client transaction ${this.id}.`),this.state===x.Calling&&(this.onRequestTimeout(),this.stateTransition(x.Terminated))}timerD(){this.logger.debug(`Timer D expired for INVITE client transaction ${this.id}.`),this.state===x.Completed&&this.stateTransition(x.Terminated)}timerM(){this.logger.debug(`Timer M expired for INVITE client transaction ${this.id}.`),this.state===x.Accepted&&this.stateTransition(x.Terminated)}}class td{constructor(e,t,i,r){this.transactionConstructor=e,this.core=t,this.message=i,this.delegate=r,this.challenged=!1,this.stale=!1,this.logger=this.loggerFactory.getLogger("sip.user-agent-client"),this.init()}dispose(){this.transaction.dispose()}get loggerFactory(){return this.core.loggerFactory}get transaction(){if(!this._transaction)throw Error("Transaction undefined.");return this._transaction}cancel(e,t={}){if(!this.transaction)throw Error("Transaction undefined.");if(!this.message.to)throw Error("To undefined.");if(!this.message.from)throw Error("From undefined.");let i=this.core.makeOutgoingRequestMessage(w.CANCEL,this.message.ruri,this.message.from.uri,this.message.to.uri,{toTag:this.message.toTag,fromTag:this.message.fromTag,callId:this.message.callId,cseq:this.message.cseq},t.extraHeaders);return i.branch=this.message.branch,this.message.headers.Route&&(i.headers.Route=this.message.headers.Route),e&&i.setHeader("Reason",e),this.transaction.state===x.Proceeding?new td(ta,this.core,i):this.transaction.addStateChangeListener(()=>{this.transaction&&this.transaction.state===x.Proceeding&&new td(ta,this.core,i)},{once:!0}),i}authenticationGuard(e,t){let i,r;let s=e.statusCode;if(!s)throw Error("Response status code undefined.");if(401!==s&&407!==s)return!0;if(401===s?(i=e.parseHeader("www-authenticate"),r="authorization"):(i=e.parseHeader("proxy-authenticate"),r="proxy-authorization"),!i)return this.logger.warn(s+" with wrong or missing challenge, cannot authenticate"),!0;if(this.challenged&&(this.stale||!0!==i.stale))return this.logger.warn(s+" apparently in authentication loop, cannot authenticate"),!0;if(!this.credentials&&(this.credentials=this.core.configuration.authenticationFactory(),!this.credentials))return this.logger.warn("Unable to obtain credentials, cannot authenticate"),!0;if(!this.credentials.authenticate(this.message,i))return!0;this.challenged=!0,i.stale&&(this.stale=!0);let n=this.message.cseq+=1;return t&&t.localSequenceNumber&&(t.incrementLocalSequenceNumber(),n=this.message.cseq=t.localSequenceNumber),this.message.setHeader("cseq",n+" "+this.message.method),this.message.setHeader(r,this.credentials.toString()),this.init(),!1}onRequestTimeout(){this.logger.warn("User agent client request timed out. Generating internal 408 Request Timeout.");let e=new eP;e.statusCode=408,e.reasonPhrase="Request Timeout",this.receiveResponse(e)}onTransportError(e){this.logger.error(e.message),this.logger.error("User agent client request transport error. Generating internal 503 Service Unavailable.");let t=new eP;t.statusCode=503,t.reasonPhrase="Service Unavailable",this.receiveResponse(t)}receiveResponse(e){if(!this.authenticationGuard(e))return;let t=e.statusCode?e.statusCode.toString():"";if(!t)throw Error("Response status code undefined.");switch(!0){case/^100$/.test(t):this.delegate&&this.delegate.onTrying&&this.delegate.onTrying({message:e});break;case/^1[0-9]{2}$/.test(t):this.delegate&&this.delegate.onProgress&&this.delegate.onProgress({message:e});break;case/^2[0-9]{2}$/.test(t):this.delegate&&this.delegate.onAccept&&this.delegate.onAccept({message:e});break;case/^3[0-9]{2}$/.test(t):this.delegate&&this.delegate.onRedirect&&this.delegate.onRedirect({message:e});break;case/^[4-6][0-9]{2}$/.test(t):this.delegate&&this.delegate.onReject&&this.delegate.onReject({message:e});break;default:throw Error(`Invalid status code ${t}`)}}init(){let e={loggerFactory:this.loggerFactory,onRequestTimeout:()=>this.onRequestTimeout(),onStateChange:e=>{e===x.Terminated&&(this.core.userAgentClients.delete(i),t===this._transaction&&this.dispose())},onTransportError:e=>this.onTransportError(e),receiveResponse:e=>this.receiveResponse(e)},t=new this.transactionConstructor(this.message,this.core.transport,e);this._transaction=t;let i=t.id+t.request.method;this.core.userAgentClients.set(i,this)}}class th extends td{constructor(e,t,i){super(ta,e.userAgentCore,e.createOutgoingRequestMessage(w.BYE,i),t),e.dispose()}}class tu extends ts{constructor(e,t,i){super(e,t,i,x.Trying,"sip.transaction.nist")}dispose(){this.J&&(clearTimeout(this.J),this.J=void 0),super.dispose()}get kind(){return"nist"}receiveRequest(e){switch(this.state){case x.Trying:break;case x.Proceeding:if(!this.lastResponse)throw Error("Last response undefined.");this.send(this.lastResponse).catch(e=>{this.logTransportError(e,"Failed to send retransmission of provisional response.")});break;case x.Completed:if(!this.lastResponse)throw Error("Last response undefined.");this.send(this.lastResponse).catch(e=>{this.logTransportError(e,"Failed to send retransmission of final response.")});break;case x.Terminated:break;default:throw Error(`Invalid state ${this.state}`)}}receiveResponse(e,t){if(e<100||e>699)throw Error(`Invalid status code ${e}`);if(e>100&&e<=199)throw Error("Provisional response other than 100 not allowed.");switch(this.state){case x.Trying:if(this.lastResponse=t,e>=100&&e<200){this.stateTransition(x.Proceeding),this.send(t).catch(e=>{this.logTransportError(e,"Failed to send provisional response.")});return}if(e>=200&&e<=699){this.stateTransition(x.Completed),this.send(t).catch(e=>{this.logTransportError(e,"Failed to send final response.")});return}break;case x.Proceeding:if(this.lastResponse=t,e>=200&&e<=699){this.stateTransition(x.Completed),this.send(t).catch(e=>{this.logTransportError(e,"Failed to send final response.")});return}break;case x.Completed:return;case x.Terminated:break;default:throw Error(`Invalid state ${this.state}`)}let i=`Non-INVITE server transaction received unexpected ${e} response from TU while in state ${this.state}.`;throw this.logger.error(i),Error(i)}onTransportError(e){this.user.onTransportError&&this.user.onTransportError(e),this.stateTransition(x.Terminated,!0)}typeToString(){return"non-INVITE server transaction"}stateTransition(e,t=!1){let i=()=>{throw Error(`Invalid state transition from ${this.state} to ${e}`)};switch(e){case x.Trying:i();break;case x.Proceeding:this.state!==x.Trying&&i();break;case x.Completed:this.state!==x.Trying&&this.state!==x.Proceeding&&i();break;case x.Terminated:this.state===x.Proceeding||this.state===x.Completed||t||i();break;default:i()}e===x.Completed&&(this.J=setTimeout(()=>this.timerJ(),eO.TIMER_J)),e===x.Terminated&&this.dispose(),this.setState(e)}timerJ(){this.logger.debug(`Timer J expired for NON-INVITE server transaction ${this.id}.`),this.state===x.Completed&&this.stateTransition(x.Terminated)}}class tg{constructor(e,t,i,r){this.transactionConstructor=e,this.core=t,this.message=i,this.delegate=r,this.logger=this.loggerFactory.getLogger("sip.user-agent-server"),this.toTag=i.toTag?i.toTag:ex(10),this.init()}dispose(){this.transaction.dispose()}get loggerFactory(){return this.core.loggerFactory}get transaction(){if(!this._transaction)throw Error("Transaction undefined.");return this._transaction}accept(e={statusCode:200}){if(!this.acceptable)throw new eL(`${this.message.method} not acceptable in state ${this.transaction.state}.`);let t=e.statusCode;if(t<200||t>299)throw TypeError(`Invalid statusCode: ${t}`);return this.reply(e)}progress(e={statusCode:180}){if(!this.progressable)throw new eL(`${this.message.method} not progressable in state ${this.transaction.state}.`);let t=e.statusCode;if(t<101||t>199)throw TypeError(`Invalid statusCode: ${t}`);return this.reply(e)}redirect(e,t={statusCode:302}){if(!this.redirectable)throw new eL(`${this.message.method} not redirectable in state ${this.transaction.state}.`);let i=t.statusCode;if(i<300||i>399)throw TypeError(`Invalid statusCode: ${i}`);let r=[];return e.forEach(e=>r.push(`Contact: ${e.toString()}`)),t.extraHeaders=(t.extraHeaders||[]).concat(r),this.reply(t)}reject(e={statusCode:480}){if(!this.rejectable)throw new eL(`${this.message.method} not rejectable in state ${this.transaction.state}.`);let t=e.statusCode;if(t<400||t>699)throw TypeError(`Invalid statusCode: ${t}`);return this.reply(e)}trying(e){if(!this.tryingable)throw new eL(`${this.message.method} not tryingable in state ${this.transaction.state}.`);return this.reply({statusCode:100})}receiveCancel(e){this.delegate&&this.delegate.onCancel&&this.delegate.onCancel(e)}get acceptable(){if(this.transaction instanceof tn)return this.transaction.state===x.Proceeding||this.transaction.state===x.Accepted;if(this.transaction instanceof tu)return this.transaction.state===x.Trying||this.transaction.state===x.Proceeding;throw Error("Unknown transaction type.")}get progressable(){if(this.transaction instanceof tn)return this.transaction.state===x.Proceeding;if(this.transaction instanceof tu)return!1;throw Error("Unknown transaction type.")}get redirectable(){if(this.transaction instanceof tn)return this.transaction.state===x.Proceeding;if(this.transaction instanceof tu)return this.transaction.state===x.Trying||this.transaction.state===x.Proceeding;throw Error("Unknown transaction type.")}get rejectable(){if(this.transaction instanceof tn)return this.transaction.state===x.Proceeding;if(this.transaction instanceof tu)return this.transaction.state===x.Trying||this.transaction.state===x.Proceeding;throw Error("Unknown transaction type.")}get tryingable(){if(this.transaction instanceof tn)return this.transaction.state===x.Proceeding;if(this.transaction instanceof tu)return this.transaction.state===x.Trying;throw Error("Unknown transaction type.")}reply(e){e.toTag||100===e.statusCode||(e.toTag=this.toTag),e.userAgent=e.userAgent||this.core.configuration.userAgentHeaderFieldValue,e.supported=e.supported||this.core.configuration.supportedOptionTagsResponse;let t=tt(this.message,e);return this.transaction.receiveResponse(e.statusCode,t.message),t}init(){let e={loggerFactory:this.loggerFactory,onStateChange:e=>{e===x.Terminated&&(this.core.userAgentServers.delete(i),this.dispose())},onTransportError:e=>{this.logger.error(e.message),this.delegate&&this.delegate.onTransportError?this.delegate.onTransportError(e):this.logger.error("User agent server response transport error.")}},t=new this.transactionConstructor(this.message,this.core.transport,e);this._transaction=t;let i=t.id;this.core.userAgentServers.set(t.id,this)}}class tp extends tg{constructor(e,t,i){super(tu,e.userAgentCore,t,i)}}class tf extends td{constructor(e,t,i){super(ta,e.userAgentCore,e.createOutgoingRequestMessage(w.INFO,i),t)}}class tm extends tg{constructor(e,t,i){super(tu,e.userAgentCore,t,i)}}class tv extends td{constructor(e,t,i){super(ta,e,t,i)}}class tb extends tg{constructor(e,t,i){super(tu,e,t,i)}}class ty extends td{constructor(e,t,i){super(ta,e.userAgentCore,e.createOutgoingRequestMessage(w.NOTIFY,i),t)}}class tS extends tg{constructor(e,t,i){super(tu,void 0!==e.userAgentCore?e.userAgentCore:e,t,i)}}class tT extends td{constructor(e,t,i){let r=e.createOutgoingRequestMessage(w.PRACK,i);super(ta,e.userAgentCore,r,t),e.signalingStateTransition(r)}}class tw extends tg{constructor(e,t,i){super(tu,e.userAgentCore,t,i),e.signalingStateTransition(t),this.dialog=e}accept(e={statusCode:200}){return e.body&&this.dialog.signalingStateTransition(e.body),super.accept(e)}}class tC extends td{constructor(e,t,i){let r=e.createOutgoingRequestMessage(w.INVITE,i);super(tl,e.userAgentCore,r,t),this.delegate=t,e.signalingStateTransition(r),e.reinviteUserAgentClient=this,this.dialog=e}receiveResponse(e){if(!this.authenticationGuard(e,this.dialog))return;let t=e.statusCode?e.statusCode.toString():"";if(!t)throw Error("Response status code undefined.");switch(!0){case/^100$/.test(t):this.delegate&&this.delegate.onTrying&&this.delegate.onTrying({message:e});break;case/^1[0-9]{2}$/.test(t):this.delegate&&this.delegate.onProgress&&this.delegate.onProgress({message:e,session:this.dialog,prack:e=>{throw Error("Unimplemented.")}});break;case/^2[0-9]{2}$/.test(t):this.dialog.signalingStateTransition(e),this.delegate&&this.delegate.onAccept&&this.delegate.onAccept({message:e,session:this.dialog,ack:e=>this.dialog.ack(e)});break;case/^3[0-9]{2}$/.test(t):this.dialog.signalingStateRollback(),this.dialog.reinviteUserAgentClient=void 0,this.delegate&&this.delegate.onRedirect&&this.delegate.onRedirect({message:e});break;case/^[4-6][0-9]{2}$/.test(t):this.dialog.signalingStateRollback(),this.dialog.reinviteUserAgentClient=void 0,this.delegate&&this.delegate.onReject&&this.delegate.onReject({message:e});break;default:throw Error(`Invalid status code ${t}`)}}}class tR extends tg{constructor(e,t,i){super(tn,e.userAgentCore,t,i),e.reinviteUserAgentServer=this,this.dialog=e}accept(e={statusCode:200}){e.extraHeaders=e.extraHeaders||[],e.extraHeaders=e.extraHeaders.concat(this.dialog.routeSet.map(e=>`Record-Route: ${e}`));let t=super.accept(e),i=this.dialog,r=Object.assign(Object.assign({},t),{session:i});return e.body&&this.dialog.signalingStateTransition(e.body),this.dialog.reConfirm(),r}progress(e={statusCode:180}){let t=super.progress(e),i=this.dialog,r=Object.assign(Object.assign({},t),{session:i});return e.body&&this.dialog.signalingStateTransition(e.body),r}redirect(e,t={statusCode:302}){throw this.dialog.signalingStateRollback(),this.dialog.reinviteUserAgentServer=void 0,Error("Unimplemented.")}reject(e={statusCode:488}){return this.dialog.signalingStateRollback(),this.dialog.reinviteUserAgentServer=void 0,super.reject(e)}}class tE extends td{constructor(e,t,i){super(ta,e.userAgentCore,e.createOutgoingRequestMessage(w.REFER,i),t)}}class tx extends tg{constructor(e,t,i){super(tu,void 0!==e.userAgentCore?e.userAgentCore:e,t,i)}}class tI extends tc{constructor(e,t,i,r){super(t,i),this.initialTransaction=e,this._signalingState=T.Initial,this.ackWait=!1,this.ackProcessing=!1,this.delegate=r,e instanceof tn&&(this.ackWait=!0),this.early||this.start2xxRetransmissionTimer(),this.signalingStateTransition(e.request),this.logger=t.loggerFactory.getLogger("sip.invite-dialog"),this.logger.log(`INVITE dialog ${this.id} constructed`)}dispose(){super.dispose(),this._signalingState=T.Closed,this._offer=void 0,this._answer=void 0,this.invite2xxTimer&&(clearTimeout(this.invite2xxTimer),this.invite2xxTimer=void 0),this.logger.log(`INVITE dialog ${this.id} destroyed`)}get sessionState(){return this.early?S.Early:this.ackWait?S.AckWait:this._signalingState===T.Closed?S.Terminated:S.Confirmed}get signalingState(){return this._signalingState}get offer(){return this._offer}get answer(){return this._answer}confirm(){this.early&&this.start2xxRetransmissionTimer(),super.confirm()}reConfirm(){this.reinviteUserAgentServer&&this.startReInvite2xxRetransmissionTimer()}ack(e={}){let t;if(this.logger.log(`INVITE dialog ${this.id} sending ACK request`),this.reinviteUserAgentClient){if(!(this.reinviteUserAgentClient.transaction instanceof tl))throw Error("Transaction not instance of InviteClientTransaction.");t=this.reinviteUserAgentClient.transaction,this.reinviteUserAgentClient=void 0}else{if(!(this.initialTransaction instanceof tl))throw Error("Initial transaction not instance of InviteClientTransaction.");t=this.initialTransaction}let i=this.createOutgoingRequestMessage(w.ACK,{cseq:t.request.cseq,extraHeaders:e.extraHeaders,body:e.body});return t.ackResponse(i),this.signalingStateTransition(i),{message:i}}bye(e,t){if(this.logger.log(`INVITE dialog ${this.id} sending BYE request`),this.initialTransaction instanceof tn){if(this.early)throw Error("UAS MUST NOT send a BYE on early dialogs.");if(this.ackWait&&this.initialTransaction.state!==x.Terminated)throw Error("UAS MUST NOT send a BYE on a confirmed dialog until it has received an ACK for its 2xx response or until the server transaction times out.")}return new th(this,e,t)}info(e,t){if(this.logger.log(`INVITE dialog ${this.id} sending INFO request`),this.early)throw Error("Dialog not confirmed.");return new tf(this,e,t)}invite(e,t){if(this.logger.log(`INVITE dialog ${this.id} sending INVITE request`),this.early)throw Error("Dialog not confirmed.");if(this.reinviteUserAgentClient)throw Error("There is an ongoing re-INVITE client transaction.");if(this.reinviteUserAgentServer)throw Error("There is an ongoing re-INVITE server transaction.");return new tC(this,e,t)}message(e,t){if(this.logger.log(`INVITE dialog ${this.id} sending MESSAGE request`),this.early)throw Error("Dialog not confirmed.");let i=this.createOutgoingRequestMessage(w.MESSAGE,t);return new tv(this.core,i,e)}notify(e,t){if(this.logger.log(`INVITE dialog ${this.id} sending NOTIFY request`),this.early)throw Error("Dialog not confirmed.");return new ty(this,e,t)}prack(e,t){return this.logger.log(`INVITE dialog ${this.id} sending PRACK request`),new tT(this,e,t)}refer(e,t){if(this.logger.log(`INVITE dialog ${this.id} sending REFER request`),this.early)throw Error("Dialog not confirmed.");return new tE(this,e,t)}receiveRequest(e){if(this.logger.log(`INVITE dialog ${this.id} received ${e.method} request`),e.method===w.ACK){if(this.ackWait){if(this.initialTransaction instanceof tl||this.initialTransaction.request.cseq!==e.cseq){this.logger.warn(`INVITE dialog ${this.id} received unexpected ${e.method} request, dropping.`);return}this.ackWait=!1}else{if(!this.reinviteUserAgentServer||this.reinviteUserAgentServer.transaction.request.cseq!==e.cseq){this.logger.warn(`INVITE dialog ${this.id} received unexpected ${e.method} request, dropping.`);return}this.reinviteUserAgentServer=void 0}if(this.signalingStateTransition(e),this.delegate&&this.delegate.onAck){let t=this.delegate.onAck({message:e});t instanceof Promise&&(this.ackProcessing=!0,t.then(()=>this.ackProcessing=!1).catch(()=>this.ackProcessing=!1))}return}if(!this.sequenceGuard(e)){this.logger.log(`INVITE dialog ${this.id} rejected out of order ${e.method} request.`);return}if(super.receiveRequest(e),e.method===w.INVITE){let t=[`Retry-After: ${Math.floor(10*Math.random())+1}`];if(this.ackProcessing||this.ackWait&&this.signalingState!==T.Stable){this.core.replyStateless(e,{statusCode:500,extraHeaders:t}),(()=>{let e=this.ackWait?"waiting for initial ACK":"processing initial ACK";this.logger.warn(`INVITE dialog ${this.id} received re-INVITE while ${e}`);let t="RFC 5407 suggests the following to avoid this race condition... ";t+=" Note: Implementation issues are outside the scope of this document, but the following tip is provided for avoiding race conditions of this type. The caller can delay sending re-INVITE F6 for some period of time (2 seconds, perhaps), after which the caller can reasonably assume that its ACK has been received. Implementors can decouple the actions of the user (e.g., pressing the hold button) from the actions of the protocol (the sending of re-INVITE F6), so that the UA can behave like this. In this case, it is the implementor's choice as to how long to wait. In most cases, such an implementation may be useful to prevent the type of race condition shown in this section. This document expresses no preference about whether or not they should wait for an ACK to be delivered. After considering the impact on user experience, implementors should decide whether or not to wait for a while, because the user experience depends on the implementation and has no direct bearing on protocol behavior.",this.logger.warn(t)})();return}if(this.reinviteUserAgentServer){this.core.replyStateless(e,{statusCode:500,extraHeaders:t});return}if(this.reinviteUserAgentClient){this.core.replyStateless(e,{statusCode:491});return}}if(e.method===w.INVITE){let t=e.parseHeader("contact");if(!t)throw Error("Contact undefined.");if(!(t instanceof ey))throw Error("Contact not instance of NameAddrHeader.");this.dialogState.remoteTarget=t.uri}switch(e.method){case w.BYE:{let t=new tp(this,e);this.delegate&&this.delegate.onBye?this.delegate.onBye(t):t.accept(),this.dispose()}break;case w.INFO:{let t=new tm(this,e);this.delegate&&this.delegate.onInfo?this.delegate.onInfo(t):t.reject({statusCode:469,extraHeaders:["Recv-Info:"]})}break;case w.INVITE:{let t=new tR(this,e);this.signalingStateTransition(e),this.delegate&&this.delegate.onInvite?this.delegate.onInvite(t):t.reject({statusCode:488})}break;case w.MESSAGE:{let t=new tb(this.core,e);this.delegate&&this.delegate.onMessage?this.delegate.onMessage(t):t.accept()}break;case w.NOTIFY:{let t=new tS(this,e);this.delegate&&this.delegate.onNotify?this.delegate.onNotify(t):t.accept()}break;case w.PRACK:{let t=new tw(this,e);this.delegate&&this.delegate.onPrack?this.delegate.onPrack(t):t.accept()}break;case w.REFER:{let t=new tx(this,e);this.delegate&&this.delegate.onRefer?this.delegate.onRefer(t):t.reject()}break;default:this.logger.log(`INVITE dialog ${this.id} received unimplemented ${e.method} request`),this.core.replyStateless(e,{statusCode:501})}}reliableSequenceGuard(e){let t=e.statusCode;if(!t)throw Error("Status code undefined");if(t>100&&t<200){let t=e.getHeader("require"),i=e.getHeader("rseq"),r=t&&t.includes("100rel")&&i?Number(i):void 0;if(r){if(this.rseq&&this.rseq+1!==r)return!1;this.rseq=this.rseq?this.rseq+1:r}}return!0}signalingStateRollback(){(this._signalingState===T.HaveLocalOffer||this.signalingState===T.HaveRemoteOffer)&&this._rollbackOffer&&this._rollbackAnswer&&(this._signalingState=T.Stable,this._offer=this._rollbackOffer,this._answer=this._rollbackAnswer)}signalingStateTransition(e){let t=eN(e);if(t&&"session"===t.contentDisposition){if(this._signalingState===T.Stable&&(this._rollbackOffer=this._offer,this._rollbackAnswer=this._answer),e instanceof eA||e instanceof eP)switch(this._signalingState){case T.Initial:case T.Stable:this._signalingState=T.HaveRemoteOffer,this._offer=t,this._answer=void 0;break;case T.HaveLocalOffer:this._signalingState=T.Stable,this._answer=t;break;case T.HaveRemoteOffer:case T.Closed:break;default:throw Error("Unexpected signaling state.")}if(e instanceof eH||eM(e))switch(this._signalingState){case T.Initial:case T.Stable:this._signalingState=T.HaveLocalOffer,this._offer=t,this._answer=void 0;break;case T.HaveLocalOffer:break;case T.HaveRemoteOffer:this._signalingState=T.Stable,this._answer=t;break;case T.Closed:break;default:throw Error("Unexpected signaling state.")}}}start2xxRetransmissionTimer(){if(this.initialTransaction instanceof tn){let e=this.initialTransaction,t=eO.T1,i=()=>{if(!this.ackWait){this.invite2xxTimer=void 0;return}this.logger.log("No ACK for 2xx response received, attempting retransmission"),e.retransmitAcceptedResponse(),t=Math.min(2*t,eO.T2),this.invite2xxTimer=setTimeout(i,t)};this.invite2xxTimer=setTimeout(i,t);let r=()=>{e.state===x.Terminated&&(e.removeStateChangeListener(r),this.invite2xxTimer&&(clearTimeout(this.invite2xxTimer),this.invite2xxTimer=void 0),this.ackWait&&(this.delegate&&this.delegate.onAckTimeout?this.delegate.onAckTimeout():this.bye()))};e.addStateChangeListener(r)}}startReInvite2xxRetransmissionTimer(){if(this.reinviteUserAgentServer&&this.reinviteUserAgentServer.transaction instanceof tn){let e=this.reinviteUserAgentServer.transaction,t=eO.T1,i=()=>{if(!this.reinviteUserAgentServer){this.invite2xxTimer=void 0;return}this.logger.log("No ACK for 2xx response received, attempting retransmission"),e.retransmitAcceptedResponse(),t=Math.min(2*t,eO.T2),this.invite2xxTimer=setTimeout(i,t)};this.invite2xxTimer=setTimeout(i,t);let r=()=>{e.state===x.Terminated&&(e.removeStateChangeListener(r),this.invite2xxTimer&&(clearTimeout(this.invite2xxTimer),this.invite2xxTimer=void 0),this.reinviteUserAgentServer)};e.addStateChangeListener(r)}}}class tD extends td{constructor(e,t,i){super(tl,e,t,i),this.confirmedDialogAcks=new Map,this.confirmedDialogs=new Map,this.earlyDialogs=new Map,this.delegate=i}dispose(){this.earlyDialogs.forEach(e=>e.dispose()),this.earlyDialogs.clear(),super.dispose()}onTransportError(e){if(this.transaction.state===x.Calling)return super.onTransportError(e);this.logger.error(e.message),this.logger.error("User agent client request transport error while sending ACK.")}receiveResponse(e){if(!this.authenticationGuard(e))return;let t=e.statusCode?e.statusCode.toString():"";if(!t)throw Error("Response status code undefined.");switch(!0){case/^100$/.test(t):this.delegate&&this.delegate.onTrying&&this.delegate.onTrying({message:e});return;case/^1[0-9]{2}$/.test(t):{if(!e.toTag){this.logger.warn("Non-100 1xx INVITE response received without a to tag, dropping.");return}if(!e.parseHeader("contact")){this.logger.error("Non-100 1xx INVITE response received without a Contact header field, dropping.");return}let t=tc.initialDialogStateForUserAgentClient(this.message,e),i=this.earlyDialogs.get(t.id);if(!i){let e=this.transaction;if(!(e instanceof tl))throw Error("Transaction not instance of InviteClientTransaction.");i=new tI(e,this.core,t),this.earlyDialogs.set(i.id,i)}if(!i.reliableSequenceGuard(e)){this.logger.warn("1xx INVITE reliable response received out of order or is a retransmission, dropping.");return}(i.signalingState===T.Initial||i.signalingState===T.HaveLocalOffer)&&i.signalingStateTransition(e);let r=i;this.delegate&&this.delegate.onProgress&&this.delegate.onProgress({message:e,session:r,prack:e=>r.prack(void 0,e)})}return;case/^2[0-9]{2}$/.test(t):{if(!e.toTag){this.logger.error("2xx INVITE response received without a to tag, dropping.");return}if(!e.parseHeader("contact")){this.logger.error("2xx INVITE response received without a Contact header field, dropping.");return}let t=tc.initialDialogStateForUserAgentClient(this.message,e),i=this.confirmedDialogs.get(t.id);if(i){let e=this.confirmedDialogAcks.get(t.id);if(e){let t=this.transaction;if(!(t instanceof tl))throw Error("Client transaction not instance of InviteClientTransaction.");t.ackResponse(e.message)}return}if(i=this.earlyDialogs.get(t.id))i.confirm(),i.recomputeRouteSet(e),this.earlyDialogs.delete(i.id),this.confirmedDialogs.set(i.id,i);else{let e=this.transaction;if(!(e instanceof tl))throw Error("Transaction not instance of InviteClientTransaction.");i=new tI(e,this.core,t),this.confirmedDialogs.set(i.id,i)}(i.signalingState===T.Initial||i.signalingState===T.HaveLocalOffer)&&i.signalingStateTransition(e);let r=i;if(this.delegate&&this.delegate.onAccept)this.delegate.onAccept({message:e,session:r,ack:e=>{let t=r.ack(e);return this.confirmedDialogAcks.set(r.id,t),t}});else{let e=r.ack();this.confirmedDialogAcks.set(r.id,e)}}return;case/^3[0-9]{2}$/.test(t):this.earlyDialogs.forEach(e=>e.dispose()),this.earlyDialogs.clear(),this.delegate&&this.delegate.onRedirect&&this.delegate.onRedirect({message:e});return;case/^[4-6][0-9]{2}$/.test(t):this.earlyDialogs.forEach(e=>e.dispose()),this.earlyDialogs.clear(),this.delegate&&this.delegate.onReject&&this.delegate.onReject({message:e});return;default:throw Error(`Invalid status code ${t}`)}throw Error(`Executing what should be an unreachable code path receiving ${t} response.`)}}class tk extends tg{constructor(e,t,i){super(tn,e,t,i),this.core=e}dispose(){this.earlyDialog&&this.earlyDialog.dispose(),super.dispose()}accept(e={statusCode:200}){if(!this.acceptable)throw new eL(`${this.message.method} not acceptable in state ${this.transaction.state}.`);if(!this.confirmedDialog){if(this.earlyDialog)this.earlyDialog.confirm(),this.confirmedDialog=this.earlyDialog,this.earlyDialog=void 0;else{let e=this.transaction;if(!(e instanceof tn))throw Error("Transaction not instance of InviteClientTransaction.");let t=tc.initialDialogStateForUserAgentServer(this.message,this.toTag);this.confirmedDialog=new tI(e,this.core,t)}}let t=this.message.getHeaders("record-route").map(e=>`Record-Route: ${e}`),i=`Contact: ${this.core.configuration.contact.toString()}`,r="Allow: "+eV.toString();if(!e.body){if(this.confirmedDialog.signalingState===T.Stable)e.body=this.confirmedDialog.answer;else if(this.confirmedDialog.signalingState===T.Initial||this.confirmedDialog.signalingState===T.HaveRemoteOffer)throw Error("Response must have a body.")}e.statusCode=e.statusCode||200,e.extraHeaders=e.extraHeaders||[],e.extraHeaders=e.extraHeaders.concat(t),e.extraHeaders.push(r),e.extraHeaders.push(i);let s=super.accept(e),n=this.confirmedDialog,o=Object.assign(Object.assign({},s),{session:n});return e.body&&this.confirmedDialog.signalingState!==T.Stable&&this.confirmedDialog.signalingStateTransition(e.body),o}progress(e={statusCode:180}){if(!this.progressable)throw new eL(`${this.message.method} not progressable in state ${this.transaction.state}.`);if(!this.earlyDialog){let e=this.transaction;if(!(e instanceof tn))throw Error("Transaction not instance of InviteClientTransaction.");let t=tc.initialDialogStateForUserAgentServer(this.message,this.toTag,!0);this.earlyDialog=new tI(e,this.core,t)}let t=this.message.getHeaders("record-route").map(e=>`Record-Route: ${e}`),i=`Contact: ${this.core.configuration.contact}`;e.extraHeaders=e.extraHeaders||[],e.extraHeaders=e.extraHeaders.concat(t),e.extraHeaders.push(i);let r=super.progress(e),s=this.earlyDialog,n=Object.assign(Object.assign({},r),{session:s});return e.body&&this.earlyDialog.signalingState!==T.Stable&&this.earlyDialog.signalingStateTransition(e.body),n}redirect(e,t={statusCode:302}){return super.redirect(e,t)}reject(e={statusCode:486}){return super.reject(e)}}class t$ extends td{constructor(e,t,i){super(ta,e,t,i)}}class tA extends td{constructor(e,t,i){super(ta,e,t,i)}}class tP extends tg{constructor(e,t,i){super(tu,e,t,i),this.core=e}}(h=I=I||(I={})).Initial="Initial",h.NotifyWait="NotifyWait",h.Pending="Pending",h.Active="Active",h.Terminated="Terminated";class tH extends td{constructor(e,t,i){super(ta,e.userAgentCore,e.createOutgoingRequestMessage(w.SUBSCRIBE,i),t),this.dialog=e}waitNotifyStop(){}receiveResponse(e){if(e.statusCode&&e.statusCode>=200&&e.statusCode<300){let t=e.getHeader("Expires");if(t){let e=Number(t);this.dialog.subscriptionExpires>e&&(this.dialog.subscriptionExpires=e)}else this.logger.warn("Expires header missing in a 200-class response to SUBSCRIBE")}e.statusCode&&e.statusCode>=400&&e.statusCode<700&&[404,405,410,416,480,481,482,483,484,485,489,501,604].includes(e.statusCode)&&this.dialog.terminate(),super.receiveResponse(e)}}class t_ extends tc{constructor(e,t,i,r,s,n){super(r,s),this.delegate=n,this._autoRefresh=!1,this._subscriptionEvent=e,this._subscriptionExpires=t,this._subscriptionExpiresInitial=t,this._subscriptionExpiresLastSet=Math.floor(Date.now()/1e3),this._subscriptionRefresh=void 0,this._subscriptionRefreshLastSet=void 0,this._subscriptionState=i,this.logger=r.loggerFactory.getLogger("sip.subscribe-dialog"),this.logger.log(`SUBSCRIBE dialog ${this.id} constructed`)}static initialDialogStateForSubscription(e,t){let i=t.getHeaders("record-route"),r=t.parseHeader("contact");if(!r)throw Error("Contact undefined.");if(!(r instanceof ey))throw Error("Contact not instance of NameAddrHeader.");let s=r.uri,n=e.cseq,o=e.callId,a=e.fromTag,c=t.fromTag;if(!o)throw Error("Call id undefined.");if(!a)throw Error("From tag undefined.");if(!c)throw Error("To tag undefined.");if(!e.from)throw Error("From undefined.");if(!e.to)throw Error("To undefined.");return{id:o+a+c,early:!1,callId:o,localTag:a,remoteTag:c,localSequenceNumber:n,remoteSequenceNumber:void 0,localURI:e.from.uri,remoteURI:e.to.uri,remoteTarget:s,routeSet:i,secure:!1}}dispose(){super.dispose(),this.N&&(clearTimeout(this.N),this.N=void 0),this.refreshTimerClear(),this.logger.log(`SUBSCRIBE dialog ${this.id} destroyed`)}get autoRefresh(){return this._autoRefresh}set autoRefresh(e){this._autoRefresh=!0,this.refreshTimerSet()}get subscriptionEvent(){return this._subscriptionEvent}get subscriptionExpires(){let e=Math.floor(Date.now()/1e3)-this._subscriptionExpiresLastSet;return Math.max(this._subscriptionExpires-e,0)}set subscriptionExpires(e){if(e<0)throw Error("Expires must be greater than or equal to zero.");if(this._subscriptionExpires=e,this._subscriptionExpiresLastSet=Math.floor(Date.now()/1e3),this.autoRefresh){let t=this.subscriptionRefresh;(void 0===t||t>=e)&&this.refreshTimerSet()}}get subscriptionExpiresInitial(){return this._subscriptionExpiresInitial}get subscriptionRefresh(){if(void 0===this._subscriptionRefresh||void 0===this._subscriptionRefreshLastSet)return;let e=Math.floor(Date.now()/1e3)-this._subscriptionRefreshLastSet;return Math.max(this._subscriptionRefresh-e,0)}get subscriptionState(){return this._subscriptionState}receiveRequest(e){if(this.logger.log(`SUBSCRIBE dialog ${this.id} received ${e.method} request`),!this.sequenceGuard(e)){this.logger.log(`SUBSCRIBE dialog ${this.id} rejected out of order ${e.method} request.`);return}(super.receiveRequest(e),e.method===w.NOTIFY)?this.onNotify(e):(this.logger.log(`SUBSCRIBE dialog ${this.id} received unimplemented ${e.method} request`),this.core.replyStateless(e,{statusCode:501}))}refresh(){let e="Allow: "+eV.toString(),t={};return t.extraHeaders=(t.extraHeaders||[]).slice(),t.extraHeaders.push(e),t.extraHeaders.push("Event: "+this.subscriptionEvent),t.extraHeaders.push("Expires: "+this.subscriptionExpiresInitial),t.extraHeaders.push("Contact: "+this.core.configuration.contact.toString()),this.subscribe(void 0,t)}subscribe(e,t={}){var i;if(this.subscriptionState!==I.Pending&&this.subscriptionState!==I.Active)throw Error(`Invalid state ${this.subscriptionState}. May only re-subscribe while in state "pending" or "active".`);this.logger.log(`SUBSCRIBE dialog ${this.id} sending SUBSCRIBE request`);let r=new tH(this,e,t);return this.N&&(clearTimeout(this.N),this.N=void 0),(null===(i=t.extraHeaders)||void 0===i?void 0:i.includes("Expires: 0"))||(this.N=setTimeout(()=>this.timerN(),eO.TIMER_N)),r}terminate(){this.stateTransition(I.Terminated),this.onTerminated()}unsubscribe(){let e="Allow: "+eV.toString(),t={};return t.extraHeaders=(t.extraHeaders||[]).slice(),t.extraHeaders.push(e),t.extraHeaders.push("Event: "+this.subscriptionEvent),t.extraHeaders.push("Expires: 0"),t.extraHeaders.push("Contact: "+this.core.configuration.contact.toString()),this.subscribe(void 0,t)}onNotify(e){let t=e.parseHeader("Event").event;if(!t||t!==this.subscriptionEvent){this.core.replyStateless(e,{statusCode:489});return}this.N&&(clearTimeout(this.N),this.N=void 0);let i=e.parseHeader("Subscription-State");if(!i||!i.state){this.core.replyStateless(e,{statusCode:489});return}let r=i.state,s=i.expires?Math.max(i.expires,0):void 0;switch(r){case"pending":this.stateTransition(I.Pending,s);break;case"active":this.stateTransition(I.Active,s);break;case"terminated":this.stateTransition(I.Terminated,s);break;default:this.logger.warn("Unrecognized subscription state.")}let n=new tS(this,e);this.delegate&&this.delegate.onNotify?this.delegate.onNotify(n):n.accept()}onRefresh(e){this.delegate&&this.delegate.onRefresh&&this.delegate.onRefresh(e)}onTerminated(){this.delegate&&this.delegate.onTerminated&&this.delegate.onTerminated()}refreshTimerClear(){this.refreshTimer&&(clearTimeout(this.refreshTimer),this.refreshTimer=void 0)}refreshTimerSet(){if(this.refreshTimerClear(),this.autoRefresh&&this.subscriptionExpires>0){let e=900*this.subscriptionExpires;this._subscriptionRefresh=Math.floor(e/1e3),this._subscriptionRefreshLastSet=Math.floor(Date.now()/1e3),this.refreshTimer=setTimeout(()=>{this.refreshTimer=void 0,this._subscriptionRefresh=void 0,this._subscriptionRefreshLastSet=void 0,this.onRefresh(this.refresh())},e)}}stateTransition(e,t){let i=()=>{this.logger.warn(`Invalid subscription state transition from ${this.subscriptionState} to ${e}`)};switch(e){case I.Initial:case I.NotifyWait:i();return;case I.Pending:if(this.subscriptionState!==I.NotifyWait&&this.subscriptionState!==I.Pending){i();return}break;case I.Active:case I.Terminated:if(this.subscriptionState!==I.NotifyWait&&this.subscriptionState!==I.Pending&&this.subscriptionState!==I.Active){i();return}break;default:i();return}e===I.Pending&&t&&(this.subscriptionExpires=t),e===I.Active&&t&&(this.subscriptionExpires=t),e===I.Terminated&&this.dispose(),this._subscriptionState=e}timerN(){this.logger.warn("Timer N expired for SUBSCRIBE dialog. Timed out waiting for NOTIFY."),this.subscriptionState!==I.Terminated&&(this.stateTransition(I.Terminated),this.onTerminated())}}class tq extends td{constructor(e,t,i){let r=t.getHeader("Event");if(!r)throw Error("Event undefined");let s=t.getHeader("Expires");if(!s)throw Error("Expires undefined");super(ta,e,t,i),this.delegate=i,this.subscriberId=t.callId+t.fromTag+r,this.subscriptionExpiresRequested=this.subscriptionExpires=Number(s),this.subscriptionEvent=r,this.subscriptionState=I.NotifyWait,this.waitNotifyStart()}dispose(){super.dispose()}onNotify(e){let t=e.message.parseHeader("Event").event;if(!t||t!==this.subscriptionEvent){this.logger.warn("Failed to parse event."),e.reject({statusCode:489});return}let i=e.message.parseHeader("Subscription-State");if(!i||!i.state){this.logger.warn("Failed to parse subscription state."),e.reject({statusCode:489});return}let r=i.state;switch(r){case"pending":case"active":case"terminated":break;default:this.logger.warn(`Invalid subscription state ${r}`),e.reject({statusCode:489});return}if("terminated"!==r&&!e.message.parseHeader("contact")){this.logger.warn("Failed to parse contact."),e.reject({statusCode:489});return}if(this.dialog)throw Error("Dialog already created. This implementation only supports install of single subscriptions.");switch(this.waitNotifyStop(),this.subscriptionExpires=i.expires?Math.min(this.subscriptionExpires,Math.max(i.expires,0)):this.subscriptionExpires,r){case"pending":this.subscriptionState=I.Pending;break;case"active":this.subscriptionState=I.Active;break;case"terminated":this.subscriptionState=I.Terminated;break;default:throw Error(`Unrecognized state ${r}.`)}if(this.subscriptionState!==I.Terminated){let t=t_.initialDialogStateForSubscription(this.message,e.message);this.dialog=new t_(this.subscriptionEvent,this.subscriptionExpires,this.subscriptionState,this.core,t)}if(this.delegate&&this.delegate.onNotify){let t=this.dialog;this.delegate.onNotify({request:e,subscription:t})}else e.accept()}waitNotifyStart(){this.N||(this.core.subscribers.set(this.subscriberId,this),this.N=setTimeout(()=>this.timerN(),eO.TIMER_N))}waitNotifyStop(){this.N&&(this.core.subscribers.delete(this.subscriberId),clearTimeout(this.N),this.N=void 0)}receiveResponse(e){if(this.authenticationGuard(e)){if(e.statusCode&&e.statusCode>=200&&e.statusCode<300){let t=e.getHeader("Expires");if(t){let e=Number(t);e>this.subscriptionExpiresRequested&&this.logger.warn("Expires header in a 200-class response to SUBSCRIBE with a higher value than the one in the request"),ethis.subscriptionExpires&&(this.dialog.subscriptionExpires=this.subscriptionExpires)}e.statusCode&&e.statusCode>=300&&e.statusCode<700&&this.waitNotifyStop(),super.receiveResponse(e)}}timerN(){this.logger.warn("Timer N expired for SUBSCRIBE user agent client. Timed out waiting for NOTIFY."),this.waitNotifyStop(),this.delegate&&this.delegate.onNotifyTimeout&&this.delegate.onNotifyTimeout()}}class tM extends tg{constructor(e,t,i){super(tu,e,t,i),this.core=e}}const tN=["application/sdp","application/dtmf-relay"];class tO{constructor(e,t={}){this.userAgentClients=new Map,this.userAgentServers=new Map,this.configuration=e,this.delegate=t,this.dialogs=new Map,this.subscribers=new Map,this.logger=e.loggerFactory.getLogger("sip.user-agent-core")}dispose(){this.reset()}reset(){this.dialogs.forEach(e=>e.dispose()),this.dialogs.clear(),this.subscribers.forEach(e=>e.dispose()),this.subscribers.clear(),this.userAgentClients.forEach(e=>e.dispose()),this.userAgentClients.clear(),this.userAgentServers.forEach(e=>e.dispose()),this.userAgentServers.clear()}get loggerFactory(){return this.configuration.loggerFactory}get transport(){let e=this.configuration.transportAccessor();if(!e)throw Error("Transport undefined.");return e}invite(e,t){return new tD(this,e,t)}message(e,t){return new tv(this,e,t)}publish(e,t){return new t$(this,e,t)}register(e,t){return new tA(this,e,t)}subscribe(e,t){return new tq(this,e,t)}request(e,t){return new td(ta,this,e,t)}makeOutgoingRequestMessage(e,t,i,r,s,n,o){let a=this.configuration.sipjsId,c=this.configuration.displayName,l=this.configuration.viaForceRport,d=this.configuration.hackViaTcp,h=this.configuration.supportedOptionTags.slice();e===w.REGISTER&&h.push("path","gruu"),e===w.INVITE&&(this.configuration.contact.pubGruu||this.configuration.contact.tempGruu)&&h.push("gruu");let u=this.configuration.routeSet;return new eH(e,t,i,r,Object.assign(Object.assign({},{callIdPrefix:a,forceRport:l,fromDisplayName:c,hackViaTcp:d,optionTags:h,routeSet:u,userAgentString:this.configuration.userAgentHeaderFieldValue,viaHost:this.configuration.viaHost}),s),n,o)}receiveIncomingRequestFromTransport(e){this.receiveRequestFromTransport(e)}receiveIncomingResponseFromTransport(e){this.receiveResponseFromTransport(e)}replyStateless(e,t){let i=this.configuration.userAgentHeaderFieldValue,r=this.configuration.supportedOptionTagsResponse,s=tt(e,t=Object.assign(Object.assign({},t),{userAgent:i,supported:r}));return this.transport.send(s.message).catch(t=>{t instanceof Error&&this.logger.error(t.message),this.logger.error(`Transport error occurred sending stateless reply to ${e.method} request.`)}),s}receiveRequestFromTransport(e){let t=e.viaBranch,i=this.userAgentServers.get(t);if(e.method===w.ACK&&i&&i.transaction.state===x.Accepted&&i instanceof tk){this.logger.warn(`Discarding out of dialog ACK after 2xx response sent on transaction ${t}.`);return}if(e.method===w.CANCEL){i?(this.replyStateless(e,{statusCode:200}),i.transaction instanceof tn&&i.transaction.state===x.Proceeding&&i instanceof tk&&i.receiveCancel(e)):this.replyStateless(e,{statusCode:481});return}if(i){i.transaction.receiveRequest(e);return}this.receiveRequest(e)}receiveRequest(e){var t,i,r,s;if(!eV.includes(e.method)){let t="Allow: "+eV.toString();this.replyStateless(e,{statusCode:405,extraHeaders:[t]});return}if(!e.ruri)throw Error("Request-URI undefined.");if("sip"!==e.ruri.scheme){this.replyStateless(e,{statusCode:416});return}let n=e.ruri;if(!((t=this.configuration.aor)&&t.user===n.user)&&!((i=this.configuration.contact.uri)&&i.user===n.user||(r=this.configuration.contact.pubGruu)&&r.user===n.user||(s=this.configuration.contact.tempGruu)&&s.user===n.user)){this.logger.warn("Request-URI does not point to us."),e.method!==w.ACK&&this.replyStateless(e,{statusCode:404});return}if(e.method===w.INVITE&&!e.hasHeader("Contact")){this.replyStateless(e,{statusCode:400,reasonPhrase:"Missing Contact Header"});return}if(!e.toTag){let t=e.viaBranch;if(!this.userAgentServers.has(t)&&Array.from(this.userAgentServers.values()).some(t=>t.transaction.request.fromTag===e.fromTag&&t.transaction.request.callId===e.callId&&t.transaction.request.cseq===e.cseq)){this.replyStateless(e,{statusCode:482});return}}e.toTag?this.receiveInsideDialogRequest(e):this.receiveOutsideDialogRequest(e)}receiveInsideDialogRequest(e){if(e.method===w.NOTIFY){let t=e.parseHeader("Event");if(!t||!t.event){this.replyStateless(e,{statusCode:489});return}let i=e.callId+e.toTag+t.event,r=this.subscribers.get(i);if(r){let t=new tS(this,e);r.onNotify(t);return}}let t=e.callId+e.toTag+e.fromTag,i=this.dialogs.get(t);if(i){if(e.method===w.OPTIONS){let t="Allow: "+eV.toString(),i="Accept: "+tN.toString();this.replyStateless(e,{statusCode:200,extraHeaders:[t,i]});return}i.receiveRequest(e);return}e.method!==w.ACK&&this.replyStateless(e,{statusCode:481})}receiveOutsideDialogRequest(e){switch(e.method){case w.ACK:break;case w.BYE:this.replyStateless(e,{statusCode:481});break;case w.CANCEL:throw Error(`Unexpected out of dialog request method ${e.method}.`);case w.INFO:this.replyStateless(e,{statusCode:405});break;case w.INVITE:{let t=new tk(this,e);this.delegate.onInvite?this.delegate.onInvite(t):t.reject()}break;case w.MESSAGE:{let t=new tb(this,e);this.delegate.onMessage?this.delegate.onMessage(t):t.accept()}break;case w.NOTIFY:{let t=new tS(this,e);this.delegate.onNotify?this.delegate.onNotify(t):t.reject({statusCode:405})}break;case w.OPTIONS:{let t="Allow: "+eV.toString(),i="Accept: "+tN.toString();this.replyStateless(e,{statusCode:200,extraHeaders:[t,i]})}break;case w.REFER:{let t=new tx(this,e);this.delegate.onRefer?this.delegate.onRefer(t):t.reject({statusCode:405})}break;case w.REGISTER:{let t=new tP(this,e);this.delegate.onRegister?this.delegate.onRegister(t):t.reject({statusCode:405})}break;case w.SUBSCRIBE:{let t=new tM(this,e);this.delegate.onSubscribe?this.delegate.onSubscribe(t):t.reject({statusCode:480})}break;default:throw Error(`Unexpected out of dialog request method ${e.method}.`)}}receiveResponseFromTransport(e){if(e.getHeaders("via").length>1){this.logger.warn("More than one Via header field present in the response, dropping");return}let t=e.viaBranch+e.method,i=this.userAgentClients.get(t);i?i.transaction.receiveResponse(e):this.logger.warn(`Discarding unmatched ${e.statusCode} response to ${e.method} ${t}.`)}}var tj={};M(tj,"Transport",()=>tF);class tL extends ej{constructor(e){super(e||"An error occurred during state transition.")}}(u=D=D||(D={})).Connecting="Connecting",u.Connected="Connected",u.Disconnecting="Disconnecting",u.Disconnected="Disconnected";class tF{constructor(e,t){if(this._state=D.Disconnected,this.transitioningState=!1,this._stateEventEmitter=new eK,this.logger=e,t){let e=null==t?void 0:t.wsServers,i=null==t?void 0:t.maxReconnectionAttempts;void 0!==e&&this.logger.warn('The transport option "wsServers" as has apparently been specified and has been deprecated. It will no longer be available starting with SIP.js release 0.16.0. Please update accordingly.'),void 0!==i&&this.logger.warn('The transport option "maxReconnectionAttempts" as has apparently been specified and has been deprecated. It will no longer be available starting with SIP.js release 0.16.0. Please update accordingly.'),e&&!t.server&&("string"==typeof e&&(t.server=e),e instanceof Array&&(t.server=e[0]))}this.configuration=Object.assign(Object.assign({},tF.defaultOptions),t);let i=this.configuration.server,r=y.parse(i,"absoluteURI");if(-1===r)throw this.logger.error(`Invalid WebSocket Server URL "${i}"`),Error("Invalid WebSocket Server URL");if(!["wss","ws","udp"].includes(r.scheme))throw this.logger.error(`Invalid scheme in WebSocket Server URL "${i}"`),Error("Invalid scheme in WebSocket Server URL");this._protocol=r.scheme.toUpperCase()}dispose(){return this.disconnect()}get protocol(){return this._protocol}get server(){return this.configuration.server}get state(){return this._state}get stateChange(){return this._stateEventEmitter}get ws(){return this._ws}connect(){return this._connect()}disconnect(){return this._disconnect()}isConnected(){return this.state===D.Connected}send(e){return this._send(e)}_connect(){let e;switch(this.logger.log(`Connecting ${this.server}`),this.state){case D.Connecting:if(this.transitioningState)return Promise.reject(this.transitionLoopDetectedError(D.Connecting));if(!this.connectPromise)throw Error("Connect promise must be defined.");return this.connectPromise;case D.Connected:if(this.transitioningState)return Promise.reject(this.transitionLoopDetectedError(D.Connecting));if(this.connectPromise)throw Error("Connect promise must not be defined.");return Promise.resolve();case D.Disconnecting:if(this.connectPromise)throw Error("Connect promise must not be defined.");try{this.transitionState(D.Connecting)}catch(e){if(e instanceof tL)return Promise.reject(e);throw e}break;case D.Disconnected:if(this.connectPromise)throw Error("Connect promise must not be defined.");try{this.transitionState(D.Connecting)}catch(e){if(e instanceof tL)return Promise.reject(e);throw e}break;default:throw Error("Unknown state")}try{(e=new WebSocket(this.server,"sip")).binaryType="arraybuffer",e.addEventListener("close",t=>this.onWebSocketClose(t,e)),e.addEventListener("error",t=>this.onWebSocketError(t,e)),e.addEventListener("open",t=>this.onWebSocketOpen(t,e)),e.addEventListener("message",t=>this.onWebSocketMessage(t,e)),this._ws=e}catch(e){return this._ws=void 0,this.logger.error("WebSocket construction failed."),this.logger.error(e.toString()),new Promise((t,i)=>{this.connectResolve=t,this.connectReject=i,this.transitionState(D.Disconnected,e)})}return this.connectPromise=new Promise((t,i)=>{this.connectResolve=t,this.connectReject=i,this.connectTimeout=setTimeout(()=>{this.logger.warn("Connect timed out. Exceeded time set in configuration.connectionTimeout: "+this.configuration.connectionTimeout+"s."),e.close(1e3)},1e3*this.configuration.connectionTimeout)}),this.connectPromise}_disconnect(){switch(this.logger.log(`Disconnecting ${this.server}`),this.state){case D.Connecting:if(this.disconnectPromise)throw Error("Disconnect promise must not be defined.");try{this.transitionState(D.Disconnecting)}catch(e){if(e instanceof tL)return Promise.reject(e);throw e}break;case D.Connected:if(this.disconnectPromise)throw Error("Disconnect promise must not be defined.");try{this.transitionState(D.Disconnecting)}catch(e){if(e instanceof tL)return Promise.reject(e);throw e}break;case D.Disconnecting:if(this.transitioningState)return Promise.reject(this.transitionLoopDetectedError(D.Disconnecting));if(!this.disconnectPromise)throw Error("Disconnect promise must be defined.");return this.disconnectPromise;case D.Disconnected:if(this.transitioningState)return Promise.reject(this.transitionLoopDetectedError(D.Disconnecting));if(this.disconnectPromise)throw Error("Disconnect promise must not be defined.");return Promise.resolve();default:throw Error("Unknown state")}if(!this._ws)throw Error("WebSocket must be defined.");let e=this._ws;return this.disconnectPromise=new Promise((t,i)=>{this.disconnectResolve=t,this.disconnectReject=i;try{e.close(1e3)}catch(e){throw this.logger.error("WebSocket close failed."),this.logger.error(e.toString()),e}}),this.disconnectPromise}_send(e){if(!0===this.configuration.traceSip&&this.logger.log("Sending WebSocket message:\n\n"+e+"\n"),this._state!==D.Connected)return Promise.reject(Error("Not connected."));if(!this._ws)throw Error("WebSocket undefined.");try{this._ws.send(e)}catch(e){if(e instanceof Error)return Promise.reject(e);return Promise.reject(Error("WebSocket send failed."))}return Promise.resolve()}onWebSocketClose(e,t){if(t!==this._ws)return;let i=`WebSocket closed ${this.server} (code: ${e.code})`,r=this.disconnectPromise?void 0:Error(i);r&&this.logger.warn("WebSocket closed unexpectedly"),this.logger.log(i),this._ws=void 0,this.transitionState(D.Disconnected,r)}onWebSocketError(e,t){t===this._ws&&this.logger.error("WebSocket error occurred.")}onWebSocketMessage(e,t){let i;if(t!==this._ws)return;let r=e.data;if(/^(\r\n)+$/.test(r)){this.clearKeepAliveTimeout(),!0===this.configuration.traceSip&&this.logger.log("Received WebSocket message with CRLF Keep Alive response");return}if(!r){this.logger.warn("Received empty message, discarding...");return}if("string"!=typeof r){try{i=new TextDecoder().decode(new Uint8Array(r))}catch(e){this.logger.error(e.toString()),this.logger.error("Received WebSocket binary message failed to be converted into string, message discarded");return}!0===this.configuration.traceSip&&this.logger.log("Received WebSocket binary message:\n\n"+i+"\n")}else i=r,!0===this.configuration.traceSip&&this.logger.log("Received WebSocket text message:\n\n"+i+"\n");if(this.state!==D.Connected){this.logger.warn("Received message while not connected, discarding...");return}if(this.onMessage)try{this.onMessage(i)}catch(e){throw this.logger.error(e.toString()),this.logger.error("Exception thrown by onMessage callback"),e}}onWebSocketOpen(e,t){t===this._ws&&this._state===D.Connecting&&(this.logger.log(`WebSocket opened ${this.server}`),this.transitionState(D.Connected))}transitionLoopDetectedError(e){let t="A state transition loop has been detected.";return t+=` An attempt to transition from ${this._state} to ${e} before the prior transition completed. Perhaps you are synchronously calling connect() or disconnect() from a callback or state change handler?`,this.logger.error(t),new tL("Loop detected.")}transitionState(e,t){let i=()=>{throw Error(`Invalid state transition from ${this._state} to ${e}`)};if(this.transitioningState)throw this.transitionLoopDetectedError(e);switch(this.transitioningState=!0,this._state){case D.Connecting:e!==D.Connected&&e!==D.Disconnecting&&e!==D.Disconnected&&i();break;case D.Connected:e!==D.Disconnecting&&e!==D.Disconnected&&i();break;case D.Disconnecting:e!==D.Connecting&&e!==D.Disconnected&&i();break;case D.Disconnected:e!==D.Connecting&&i();break;default:throw Error("Unknown state.")}let r=this._state;this._state=e;let s=this.connectResolve,n=this.connectReject;r===D.Connecting&&(this.connectPromise=void 0,this.connectResolve=void 0,this.connectReject=void 0);let o=this.disconnectResolve,a=this.disconnectReject;if(r===D.Disconnecting&&(this.disconnectPromise=void 0,this.disconnectResolve=void 0,this.disconnectReject=void 0),this.connectTimeout&&(clearTimeout(this.connectTimeout),this.connectTimeout=void 0),this.logger.log(`Transitioned from ${r} to ${this._state}`),this._stateEventEmitter.emit(this._state),e===D.Connected&&(this.startSendingKeepAlives(),this.onConnect))try{this.onConnect()}catch(e){throw this.logger.error(e.toString()),this.logger.error("Exception thrown by onConnect callback"),e}if(r===D.Connected&&(this.stopSendingKeepAlives(),this.onDisconnect))try{t?this.onDisconnect(t):this.onDisconnect()}catch(e){throw this.logger.error(e.toString()),this.logger.error("Exception thrown by onDisconnect callback"),e}if(r===D.Connecting){if(!s)throw Error("Connect resolve undefined.");if(!n)throw Error("Connect reject undefined.");e===D.Connected?s():n(t||Error("Connect aborted."))}if(r===D.Disconnecting){if(!o)throw Error("Disconnect resolve undefined.");if(!a)throw Error("Disconnect reject undefined.");e===D.Disconnected?o():a(t||Error("Disconnect aborted."))}this.transitioningState=!1}clearKeepAliveTimeout(){this.keepAliveDebounceTimeout&&clearTimeout(this.keepAliveDebounceTimeout),this.keepAliveDebounceTimeout=void 0}sendKeepAlive(){return this.keepAliveDebounceTimeout?Promise.resolve():(this.keepAliveDebounceTimeout=setTimeout(()=>{this.clearKeepAliveTimeout()},1e3*this.configuration.keepAliveDebounce),this.send("\r\n\r\n"))}startSendingKeepAlives(){this.configuration.keepAliveInterval&&!this.keepAliveInterval&&(this.keepAliveInterval=setInterval(()=>{this.sendKeepAlive(),this.startSendingKeepAlives()},(e=>{let t=.8*e;return 1e3*(Math.random()*(e-t)+t)})(this.configuration.keepAliveInterval)))}stopSendingKeepAlives(){this.keepAliveInterval&&clearInterval(this.keepAliveInterval),this.keepAliveDebounceTimeout&&clearTimeout(this.keepAliveDebounceTimeout),this.keepAliveInterval=void 0,this.keepAliveDebounceTimeout=void 0}}tF.defaultOptions={server:"",connectionTimeout:5,keepAliveInterval:0,keepAliveDebounce:10,traceSip:!0},(g=k=k||(k={})).Started="Started",g.Stopped="Stopped";class tU{constructor(e={}){switch(this._publishers={},this._registerers={},this._sessions={},this._subscriptions={},this._state=k.Stopped,this._stateEventEmitter=new eK,this.delegate=e.delegate,this.options=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},tU.defaultOptions()),{sipjsId:ex(5)}),{uri:new eS("sip","anonymous."+ex(6),"anonymous.invalid")}),{viaHost:ex(12)+".invalid"}),tU.stripUndefinedProperties(e)),this.options.hackIpInContact&&("boolean"==typeof this.options.hackIpInContact&&this.options.hackIpInContact?this.options.viaHost="192.0.2."+Math.floor(254*Math.random()+1):this.options.hackIpInContact&&(this.options.viaHost=this.options.hackIpInContact)),this.loggerFactory=new te,this.logger=this.loggerFactory.getLogger("sip.UserAgent"),this.loggerFactory.builtinEnabled=this.options.logBuiltinEnabled,this.loggerFactory.connector=this.options.logConnector,this.options.logLevel){case"error":this.loggerFactory.level=b.error;break;case"warn":this.loggerFactory.level=b.warn;break;case"log":this.loggerFactory.level=b.log;break;case"debug":this.loggerFactory.level=b.debug}if(this.options.logConfiguration&&(this.logger.log("Configuration:"),Object.keys(this.options).forEach(e=>{let t=this.options[e];switch(e){case"uri":case"sessionDescriptionHandlerFactory":this.logger.log("· "+e+": "+t);break;case"authorizationPassword":this.logger.log("· "+e+": NOT SHOWN");break;case"transportConstructor":this.logger.log("· "+e+": "+t.name);break;default:this.logger.log("· "+e+": "+JSON.stringify(t))}})),this.options.transportOptions){let t=this.options.transportOptions,i=t.maxReconnectionAttempts,r=t.reconnectionTimeout;void 0!==i&&this.logger.warn('The transport option "maxReconnectionAttempts" as has apparently been specified and has been deprecated. It will no longer be available starting with SIP.js release 0.16.0. Please update accordingly.'),void 0!==r&&this.logger.warn('The transport option "reconnectionTimeout" as has apparently been specified and has been deprecated. It will no longer be available starting with SIP.js release 0.16.0. Please update accordingly.'),void 0===e.reconnectionDelay&&void 0!==r&&(this.options.reconnectionDelay=r),void 0===e.reconnectionAttempts&&void 0!==i&&(this.options.reconnectionAttempts=i)}if(void 0!==e.reconnectionDelay&&this.logger.warn('The user agent option "reconnectionDelay" as has apparently been specified and has been deprecated. It will no longer be available starting with SIP.js release 0.16.0. Please update accordingly.'),void 0!==e.reconnectionAttempts&&this.logger.warn('The user agent option "reconnectionAttempts" as has apparently been specified and has been deprecated. It will no longer be available starting with SIP.js release 0.16.0. Please update accordingly.'),this._transport=new this.options.transportConstructor(this.getLogger("sip.Transport"),this.options.transportOptions),this.initTransportCallbacks(),this._contact=this.initContact(),this._instanceId=this.options.instanceId?this.options.instanceId:tU.newUUID(),-1===y.parse(this._instanceId,"uuid"))throw Error("Invalid instanceId.");this._userAgentCore=this.initCore()}static makeURI(e){return y.URIParse(e)}static defaultOptions(){return{allowLegacyNotifications:!1,authorizationHa1:"",authorizationPassword:"",authorizationUsername:"",delegate:{},contactName:"",contactParams:{transport:"ws"},displayName:"",forceRport:!1,gracefulShutdown:!0,hackAllowUnregisteredOptionTags:!1,hackIpInContact:!1,hackViaTcp:!1,instanceId:"",instanceIdAlwaysAdded:!1,logBuiltinEnabled:!0,logConfiguration:!0,logConnector:()=>{},logLevel:"log",noAnswerTimeout:60,preloadedRouteSet:[],reconnectionAttempts:0,reconnectionDelay:4,sendInitialProvisionalResponse:!0,sessionDescriptionHandlerFactory:ed(),sessionDescriptionHandlerFactoryOptions:{},sipExtension100rel:C.Unsupported,sipExtensionReplaces:C.Unsupported,sipExtensionExtraSupported:[],sipjsId:"",transportConstructor:tF,transportOptions:{},uri:new eS("sip","anonymous","anonymous.invalid"),userAgentString:"SIP.js/0.21.1",viaHost:""}}static newUUID(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=Math.floor(16*Math.random());return("x"===e?t:t%4+8).toString(16)})}static stripUndefinedProperties(e){return Object.keys(e).reduce((t,i)=>(void 0!==e[i]&&(t[i]=e[i]),t),{})}get configuration(){return this.options}get contact(){return this._contact}get instanceId(){return this._instanceId}get state(){return this._state}get stateChange(){return this._stateEventEmitter}get transport(){return this._transport}get userAgentCore(){return this._userAgentCore}getLogger(e,t){return this.loggerFactory.getLogger(e,t)}getLoggerFactory(){return this.loggerFactory}isConnected(){return this.transport.isConnected()}reconnect(){return this.state===k.Stopped?Promise.reject(Error("User agent stopped.")):Promise.resolve().then(()=>this.transport.connect())}start(){return this.state===k.Started?(this.logger.warn("User agent already started"),Promise.resolve()):(this.logger.log(`Starting ${this.configuration.uri}`),this.transitionState(k.Started),this.transport.connect())}async stop(){if(this.state===k.Stopped)return this.logger.warn("User agent already stopped"),Promise.resolve();if(this.logger.log(`Stopping ${this.configuration.uri}`),!this.options.gracefulShutdown)return this.logger.log("Dispose of transport"),this.transport.dispose().catch(e=>{throw this.logger.error(e.message),e}),this.logger.log("Dispose of core"),this.userAgentCore.dispose(),this._publishers={},this._registerers={},this._sessions={},this._subscriptions={},this.transitionState(k.Stopped),Promise.resolve();let e=Object.assign({},this._publishers),t=Object.assign({},this._registerers),i=Object.assign({},this._sessions),r=Object.assign({},this._subscriptions),s=this.transport,n=this.userAgentCore;for(let e in this.logger.log("Dispose of registerers"),t)t[e]&&await t[e].dispose().catch(t=>{throw this.logger.error(t.message),delete this._registerers[e],t});for(let e in this.logger.log("Dispose of sessions"),i)i[e]&&await i[e].dispose().catch(t=>{throw this.logger.error(t.message),delete this._sessions[e],t});for(let e in this.logger.log("Dispose of subscriptions"),r)r[e]&&await r[e].dispose().catch(t=>{throw this.logger.error(t.message),delete this._subscriptions[e],t});for(let t in this.logger.log("Dispose of publishers"),e)e[t]&&await e[t].dispose().catch(e=>{throw this.logger.error(e.message),delete this._publishers[t],e});this.logger.log("Dispose of transport"),await s.dispose().catch(e=>{throw this.logger.error(e.message),e}),this.logger.log("Dispose of core"),n.dispose(),this.transitionState(k.Stopped)}_makeInviter(e,t){return new e6(this,e,t)}attemptReconnection(e=1){let t=this.options.reconnectionAttempts,i=this.options.reconnectionDelay;if(e>t){this.logger.log("Maximum reconnection attempts reached");return}this.logger.log(`Reconnection attempt ${e} of ${t} - trying`),setTimeout(()=>{this.reconnect().then(()=>{this.logger.log(`Reconnection attempt ${e} of ${t} - succeeded`)}).catch(i=>{this.logger.error(i.message),this.logger.log(`Reconnection attempt ${e} of ${t} - failed`),this.attemptReconnection(++e)})},1===e?0:1e3*i)}initContact(){let e=""!==this.options.contactName?this.options.contactName:ex(8),t=this.options.contactParams;return{pubGruu:void 0,tempGruu:void 0,uri:new eS("sip",e,this.options.viaHost,void 0,t),toString:(e={})=>{let i=e.anonymous||!1,r=e.outbound||!1,s=e.register||!1,n="<";return i?n+=this.contact.tempGruu||`sip:anonymous@anonymous.invalid;transport=${t.transport?t.transport:"ws"}`:s?n+=this.contact.uri:n+=this.contact.pubGruu||this.contact.uri,r&&(n+=";ob"),n+=">",this.options.instanceIdAlwaysAdded&&(n+=';+sip.instance=""'),n}}}initCore(){let e=[];e.push("outbound"),this.options.sipExtension100rel===C.Supported&&e.push("100rel"),this.options.sipExtensionReplaces===C.Supported&&e.push("replaces"),this.options.sipExtensionExtraSupported&&e.push(...this.options.sipExtensionExtraSupported),this.options.hackAllowUnregisteredOptionTags||(e=e.filter(e=>e1[e]));let t=(e=Array.from(new Set(e))).slice();return(this.contact.pubGruu||this.contact.tempGruu)&&t.push("gruu"),new tO({aor:this.options.uri,contact:this.contact,displayName:this.options.displayName,loggerFactory:this.loggerFactory,hackViaTcp:this.options.hackViaTcp,routeSet:this.options.preloadedRouteSet,supportedOptionTags:e,supportedOptionTagsResponse:t,sipjsId:this.options.sipjsId,userAgentHeaderFieldValue:this.options.userAgentString,viaForceRport:this.options.forceRport,viaHost:this.options.viaHost,authenticationFactory:()=>{let e=this.options.authorizationUsername?this.options.authorizationUsername:this.options.uri.user,t=this.options.authorizationPassword?this.options.authorizationPassword:void 0,i=this.options.authorizationHa1?this.options.authorizationHa1:void 0;return new e5(this.getLoggerFactory(),i,e,t)},transportAccessor:()=>this.transport},{onInvite:e=>{var t;let i=new e2(this,e);if(e.delegate={onCancel:e=>{i._onCancel(e)},onTransportError:e=>{this.logger.error("A transport error has occurred while handling an incoming INVITE request.")}},e.trying(),this.options.sipExtensionReplaces!==C.Unsupported){let t=e.message.parseHeader("replaces");if(t){let e=t.call_id;if("string"!=typeof e)throw Error("Type of call id is not string");let r=t.replaces_to_tag;if("string"!=typeof r)throw Error("Type of to tag is not string");let s=t.replaces_from_tag;if("string"!=typeof s)throw Error("type of from tag is not string");let n=this.userAgentCore.dialogs.get(e+r+s);if(!n){i.reject({statusCode:481});return}if(!n.early&&!0===t.early_only){i.reject({statusCode:486});return}let o=this._sessions[e+s]||this._sessions[e+r]||void 0;if(!o)throw Error("Session does not exist.");i._replacee=o}}if(null===(t=this.delegate)||void 0===t?void 0:t.onInvite){if(i.autoSendAnInitialProvisionalResponse){i.progress().then(()=>{var e;if((null===(e=this.delegate)||void 0===e?void 0:e.onInvite)===void 0)throw Error("onInvite undefined.");this.delegate.onInvite(i)});return}this.delegate.onInvite(i);return}i.reject({statusCode:486})},onMessage:e=>{if(this.delegate&&this.delegate.onMessage){let t=new ez(e);this.delegate.onMessage(t)}else e.accept()},onNotify:e=>{if(this.delegate&&this.delegate.onNotify){let t=new eX(e);this.delegate.onNotify(t)}else this.options.allowLegacyNotifications?e.accept():e.reject({statusCode:481})},onRefer:e=>{this.logger.warn("Received an out of dialog REFER request"),this.delegate&&this.delegate.onReferRequest?this.delegate.onReferRequest(e):e.reject({statusCode:405})},onRegister:e=>{this.logger.warn("Received an out of dialog REGISTER request"),this.delegate&&this.delegate.onRegisterRequest?this.delegate.onRegisterRequest(e):e.reject({statusCode:405})},onSubscribe:e=>{this.logger.warn("Received an out of dialog SUBSCRIBE request"),this.delegate&&this.delegate.onSubscribeRequest?this.delegate.onSubscribeRequest(e):e.reject({statusCode:405})}})}initTransportCallbacks(){this.transport.onConnect=()=>this.onTransportConnect(),this.transport.onDisconnect=e=>this.onTransportDisconnect(e),this.transport.onMessage=e=>this.onTransportMessage(e)}onTransportConnect(){this.state!==k.Stopped&&this.delegate&&this.delegate.onConnect&&this.delegate.onConnect()}onTransportDisconnect(e){this.state!==k.Stopped&&(this.delegate&&this.delegate.onDisconnect&&this.delegate.onDisconnect(e),e&&this.options.reconnectionAttempts>0&&this.attemptReconnection())}onTransportMessage(e){let t=E.parseMessage(e,this.getLogger("sip.Parser"));if(!t){this.logger.warn("Failed to parse incoming message. Dropping.");return}if(this.state===k.Stopped&&t instanceof eA){this.logger.warn(`Received ${t.method} request while stopped. Dropping.`);return}let i=()=>{for(let e of["from","to","call_id","cseq","via"])if(!t.hasHeader(e))return this.logger.warn(`Missing mandatory header field : ${e}.`),!1;return!0};if(t instanceof eA){if(!i()){this.logger.warn("Request missing mandatory header field. Dropping.");return}if(!t.toTag&&t.callId.substr(0,5)===this.options.sipjsId){this.userAgentCore.replyStateless(t,{statusCode:482});return}let e=ek(t.body),r=t.getHeader("content-length");if(r&&e1){this.logger.warn("More than one Via header field present in the response. Dropping.");return}if(t.via.host!==this.options.viaHost||void 0!==t.via.port){this.logger.warn("Via sent-by in the response does not match UA Via host value. Dropping.");return}let e=ek(t.body),r=t.getHeader("content-length");if(r&&e{throw Error(`Invalid state transition from ${this._state} to ${e}`)};switch(this._state){case k.Started:e!==k.Stopped&&i();break;case k.Stopped:e!==k.Started&&i();break;default:throw Error("Unknown state.")}this.logger.log(`Transitioned from ${this._state} to ${e}`),this._state=e,this._stateEventEmitter.emit(this._state)}}class tB{constructor(e,t={}){this.managedSessions=[],this.attemptingReconnection=!1,this.optionsPingFailure=!1,this.optionsPingRunning=!1,this.shouldBeConnected=!1,this.shouldBeRegistered=!1,this.delegate=t.delegate,this.options=Object.assign({aor:"",autoStop:!0,delegate:{},iceStopWaitingOnServerReflexive:!1,managedSessionFactory:em(),maxSimultaneousSessions:2,media:{},optionsPingInterval:-1,optionsPingRequestURI:"",reconnectionAttempts:3,reconnectionDelay:4,registrationRetry:!1,registrationRetryInterval:3,registerGuard:null,registererOptions:{},registererRegisterOptions:{},sendDTMFUsingSessionDescriptionHandler:!1,userAgentOptions:{}},tB.stripUndefinedProperties(t));let i=Object.assign({},t.userAgentOptions);if(i.transportConstructor||(i.transportConstructor=tF),i.transportOptions||(i.transportOptions={server:e}),!i.uri&&t.aor){let e=tU.makeURI(t.aor);if(!e)throw Error(`Failed to create valid URI from ${t.aor}`);i.uri=e}if(this.userAgent=new tU(i),this.userAgent.delegate={onConnect:()=>{this.logger.log("Connected"),this.delegate&&this.delegate.onServerConnect&&this.delegate.onServerConnect(),this.shouldBeRegistered&&this.register(),this.options.optionsPingInterval>0&&this.optionsPingStart()},onDisconnect:async e=>{this.logger.log("Disconnected");let t=!1;this.options.optionsPingInterval>0&&(t=this.optionsPingFailure,this.optionsPingFailure=!1,this.optionsPingStop()),this.delegate&&this.delegate.onServerDisconnect&&this.delegate.onServerDisconnect(e),(e||t)&&(this.registerer&&(this.logger.log("Disposing of registerer..."),this.registerer.dispose().catch(e=>{this.logger.debug("Error occurred disposing of registerer after connection with server was lost."),this.logger.debug(e.toString())}),this.registerer=void 0),this.managedSessions.slice().map(e=>e.session).forEach(async e=>{this.logger.log("Disposing of session..."),e.dispose().catch(e=>{this.logger.debug("Error occurred disposing of a session after connection with server was lost."),this.logger.debug(e.toString())})}),this.shouldBeConnected&&this.attemptReconnection())},onInvite:e=>{this.logger.log(`[${e.id}] Received INVITE`);let t=this.options.maxSimultaneousSessions;if(0!==t&&this.managedSessions.length>t){this.logger.warn(`[${e.id}] Session already in progress, rejecting INVITE...`),e.reject().then(()=>{this.logger.log(`[${e.id}] Rejected INVITE`)}).catch(t=>{this.logger.error(`[${e.id}] Failed to reject INVITE`),this.logger.error(t.toString())});return}let i={sessionDescriptionHandlerOptions:{constraints:this.constraints}};this.initSession(e,i),this.delegate&&this.delegate.onCallReceived?this.delegate.onCallReceived(e):(this.logger.warn(`[${e.id}] No handler available, rejecting INVITE...`),e.reject().then(()=>{this.logger.log(`[${e.id}] Rejected INVITE`)}).catch(t=>{this.logger.error(`[${e.id}] Failed to reject INVITE`),this.logger.error(t.toString())}))},onMessage:e=>{e.accept().then(()=>{this.delegate&&this.delegate.onMessageReceived&&this.delegate.onMessageReceived(e)})},onNotify:e=>{e.accept().then(()=>{this.delegate&&this.delegate.onNotificationReceived&&this.delegate.onNotificationReceived(e)})}},this.registererOptions=Object.assign({},t.registererOptions),this.registererRegisterOptions=Object.assign({},t.registererRegisterOptions),this.options.registrationRetry){this.registererRegisterOptions.requestDelegate=this.registererRegisterOptions.requestDelegate||{};let e=this.registererRegisterOptions.requestDelegate.onReject;this.registererRegisterOptions.requestDelegate.onReject=t=>{e&&e(t),this.attemptRegistration()}}this.logger=this.userAgent.getLogger("sip.SessionManager"),window.addEventListener("online",()=>{this.logger.log("Online"),this.shouldBeConnected&&this.connect()}),this.options.autoStop&&window.addEventListener("beforeunload",async()=>{this.shouldBeConnected=!1,this.shouldBeRegistered=!1,this.userAgent.state!==k.Stopped&&await this.userAgent.stop()})}static stripUndefinedProperties(e){return Object.keys(e).reduce((t,i)=>(void 0!==e[i]&&(t[i]=e[i]),t),{})}getLocalMediaStream(e){let t=e.sessionDescriptionHandler;if(t){if(!(t instanceof el))throw Error("Session description handler not instance of web SessionDescriptionHandler");return t.localMediaStream}}getRemoteMediaStream(e){let t=e.sessionDescriptionHandler;if(t){if(!(t instanceof el))throw Error("Session description handler not instance of web SessionDescriptionHandler");return t.remoteMediaStream}}getLocalAudioTrack(e){var t;return null===(t=this.getLocalMediaStream(e))||void 0===t?void 0:t.getTracks().find(e=>"audio"===e.kind)}getLocalVideoTrack(e){var t;return null===(t=this.getLocalMediaStream(e))||void 0===t?void 0:t.getTracks().find(e=>"video"===e.kind)}getRemoteAudioTrack(e){var t;return null===(t=this.getRemoteMediaStream(e))||void 0===t?void 0:t.getTracks().find(e=>"audio"===e.kind)}getRemoteVideoTrack(e){var t;return null===(t=this.getRemoteMediaStream(e))||void 0===t?void 0:t.getTracks().find(e=>"video"===e.kind)}async connect(){return(this.logger.log("Connecting UserAgent..."),this.shouldBeConnected=!0,this.userAgent.state!==k.Started)?this.userAgent.start():this.userAgent.reconnect()}async disconnect(){return(this.logger.log("Disconnecting UserAgent..."),this.userAgent.state===k.Stopped)?Promise.resolve():(this.shouldBeConnected=!1,this.shouldBeRegistered=!1,this.registerer=void 0,this.userAgent.stop())}isConnected(){return this.userAgent.isConnected()}async register(e){return this.logger.log("Registering UserAgent..."),this.shouldBeRegistered=!0,void 0!==e&&(this.registererRegisterOptions=Object.assign({},e)),this.registerer||(this.registerer=new e8(this.userAgent,this.registererOptions),this.registerer.stateChange.addListener(e=>{switch(e){case R.Initial:break;case R.Registered:this.delegate&&this.delegate.onRegistered&&this.delegate.onRegistered();break;case R.Unregistered:this.delegate&&this.delegate.onUnregistered&&this.delegate.onUnregistered(),this.shouldBeRegistered&&this.attemptRegistration();break;case R.Terminated:break;default:throw Error("Unknown registerer state.")}})),this.attemptRegistration(!0)}async unregister(e){return(this.logger.log("Unregistering UserAgent..."),this.shouldBeRegistered=!1,this.registerer)?this.registerer.unregister(e).then(()=>{}):(this.logger.warn("No registerer to unregister."),Promise.resolve())}async call(e,t,i){this.logger.log("Beginning Session...");let r=this.options.maxSimultaneousSessions;if(0!==r&&this.managedSessions.length>r)return Promise.reject(Error("Maximum number of sessions already exists."));let s=tU.makeURI(e);if(!s)return Promise.reject(Error(`Failed to create a valid URI from "${e}"`));if(t||(t={}),t.sessionDescriptionHandlerOptions||(t.sessionDescriptionHandlerOptions={}),t.sessionDescriptionHandlerOptions.constraints||(t.sessionDescriptionHandlerOptions.constraints=this.constraints),t.earlyMedia){(i=i||{}).requestDelegate=i.requestDelegate||{};let e=i.requestDelegate.onProgress;i.requestDelegate.onProgress=t=>{183===t.message.statusCode&&this.setupRemoteMedia(n),e&&e(t)}}this.options.iceStopWaitingOnServerReflexive&&(t.delegate=t.delegate||{},t.delegate.onSessionDescriptionHandler=e=>{if(!(e instanceof el))throw Error("Session description handler not instance of SessionDescriptionHandler");e.peerConnectionDelegate={onicecandidate:t=>{var i;(null===(i=t.candidate)||void 0===i?void 0:i.type)==="srflx"&&(this.logger.log(`[${n.id}] Found srflx ICE candidate, stop waiting...`),e.iceGatheringComplete())}}});let n=new e6(this.userAgent,s,t);return this.sendInvite(n,t,i).then(()=>n)}async hangup(e){return(this.logger.log(`[${e.id}] Hangup...`),this.sessionExists(e))?this.terminate(e):Promise.reject(Error("Session does not exist."))}async answer(e,t){return(this.logger.log(`[${e.id}] Accepting Invitation...`),this.sessionExists(e))?e instanceof e2?(t||(t={}),t.sessionDescriptionHandlerOptions||(t.sessionDescriptionHandlerOptions={}),t.sessionDescriptionHandlerOptions.constraints||(t.sessionDescriptionHandlerOptions.constraints=this.constraints),e.accept(t)):Promise.reject(Error("Session not instance of Invitation.")):Promise.reject(Error("Session does not exist."))}async decline(e){return(this.logger.log(`[${e.id}] Rejecting Invitation...`),this.sessionExists(e))?e instanceof e2?e.reject():Promise.reject(Error("Session not instance of Invitation.")):Promise.reject(Error("Session does not exist."))}async hold(e){return this.logger.log(`[${e.id}] Holding session...`),this.setHold(e,!0)}async unhold(e){return this.logger.log(`[${e.id}] Unholding session...`),this.setHold(e,!1)}isHeld(e){let t=this.sessionManaged(e);return!!t&&t.held}mute(e){this.logger.log(`[${e.id}] Disabling media tracks...`),this.setMute(e,!0)}unmute(e){this.logger.log(`[${e.id}] Enabling media tracks...`),this.setMute(e,!1)}isMuted(e){let t=this.sessionManaged(e);return!!t&&t.muted}async sendDTMF(e,t){return(this.logger.log(`[${e.id}] Sending DTMF...`),/^[0-9A-D#*,]$/.exec(t))?this.sessionExists(e)?(this.logger.log(`[${e.id}] Sending DTMF tone: ${t}`),this.options.sendDTMFUsingSessionDescriptionHandler)?e.sessionDescriptionHandler?e.sessionDescriptionHandler.sendDtmf(t)?Promise.resolve():Promise.reject(Error("Failed to send DTMF")):Promise.reject(Error("Session desciption handler undefined.")):e.info({requestOptions:{body:{contentDisposition:"render",contentType:"application/dtmf-relay",content:"Signal="+t+"\r\nDuration=2000"}}}).then(()=>{}):Promise.reject(Error("Session does not exist.")):Promise.reject(Error("Invalid DTMF tone."))}async transfer(e,t,i){if(this.logger.log(`[${e.id}] Referring session...`),t instanceof e0)return e.refer(t,i).then(()=>{});let r=tU.makeURI(t);return r?e.refer(r,i).then(()=>{}):Promise.reject(Error(`Failed to create a valid URI from "${t}"`))}async message(e,t){this.logger.log("Sending message...");let i=tU.makeURI(e);return i?new e7(this.userAgent,i,t).message():Promise.reject(Error(`Failed to create a valid URI from "${e}"`))}get constraints(){let e={audio:!0,video:!1};return this.options.media.constraints&&(e=Object.assign({},this.options.media.constraints)),e}attemptReconnection(e=1){let t=this.options.reconnectionAttempts,i=this.options.reconnectionDelay;if(!this.shouldBeConnected){this.logger.log("Should not be connected currently");return}if(this.attemptingReconnection&&this.logger.log("Reconnection attempt already in progress"),e>t){this.logger.log("Reconnection maximum attempts reached");return}1===e?this.logger.log(`Reconnection attempt ${e} of ${t} - trying`):this.logger.log(`Reconnection attempt ${e} of ${t} - trying in ${i} seconds`),this.attemptingReconnection=!0,setTimeout(()=>{if(!this.shouldBeConnected){this.logger.log(`Reconnection attempt ${e} of ${t} - aborted`),this.attemptingReconnection=!1;return}this.userAgent.reconnect().then(()=>{this.logger.log(`Reconnection attempt ${e} of ${t} - succeeded`),this.attemptingReconnection=!1}).catch(i=>{this.logger.log(`Reconnection attempt ${e} of ${t} - failed`),this.logger.error(i.message),this.attemptingReconnection=!1,this.attemptReconnection(++e)})},1===e?0:1e3*i)}attemptRegistration(e=!1){if(this.logger.log(`Registration attempt ${e?"without delay":""}`),!this.shouldBeRegistered)return this.logger.log("Should not be registered currently"),Promise.resolve();if(void 0!==this.registrationAttemptTimeout)return this.logger.log("Registration attempt already in progress"),Promise.resolve();let t=()=>this.registerer?this.isConnected()?this.userAgent.state===k.Stopped?(this.logger.log("User agent stopped"),Promise.resolve()):this.options.registerGuard?this.options.registerGuard().catch(e=>{throw this.logger.log("Register guard rejected will making registration attempt"),e}).then(e=>e||!this.registerer?Promise.resolve():this.registerer.register(this.registererRegisterOptions).then(()=>{})):this.registerer.register(this.registererRegisterOptions).then(()=>{}):(this.logger.log("User agent not connected"),Promise.resolve()):(this.logger.log("Registerer undefined"),Promise.resolve()),i=e=>1e3*(Math.random()*(2*e-e)+e);return new Promise((r,s)=>{this.registrationAttemptTimeout=setTimeout(()=>{t().then(()=>{this.registrationAttemptTimeout=void 0,r()}).catch(e=>{this.registrationAttemptTimeout=void 0,e instanceof eY?r():s(e)})},e?0:i(this.options.registrationRetryInterval))})}cleanupMedia(e){let t=this.sessionManaged(e);if(!t)throw Error("Managed session does not exist.");t.mediaLocal&&t.mediaLocal.video&&(t.mediaLocal.video.srcObject=null,t.mediaLocal.video.pause()),t.mediaRemote&&(t.mediaRemote.audio&&(t.mediaRemote.audio.srcObject=null,t.mediaRemote.audio.pause()),t.mediaRemote.video&&(t.mediaRemote.video.srcObject=null,t.mediaRemote.video.pause()))}enableReceiverTracks(e,t){if(!this.sessionExists(e))throw Error("Session does not exist.");let i=e.sessionDescriptionHandler;if(!(i instanceof el))throw Error("Session's session description handler not instance of SessionDescriptionHandler.");i.enableReceiverTracks(t)}enableSenderTracks(e,t){if(!this.sessionExists(e))throw Error("Session does not exist.");let i=e.sessionDescriptionHandler;if(!(i instanceof el))throw Error("Session's session description handler not instance of SessionDescriptionHandler.");i.enableSenderTracks(t)}initSession(e,t){this.sessionAdd(e),this.delegate&&this.delegate.onCallCreated&&this.delegate.onCallCreated(e),e.stateChange.addListener(t=>{switch(this.logger.log(`[${e.id}] Session state changed to ${t}`),t){case v.Initial:case v.Establishing:break;case v.Established:this.setupLocalMedia(e),this.setupRemoteMedia(e),this.delegate&&this.delegate.onCallAnswered&&this.delegate.onCallAnswered(e);break;case v.Terminating:case v.Terminated:this.sessionExists(e)&&(this.cleanupMedia(e),this.sessionRemove(e),this.delegate&&this.delegate.onCallHangup&&this.delegate.onCallHangup(e));break;default:throw Error("Unknown session state.")}}),e.delegate=e.delegate||{},e.delegate.onInfo=t=>{var i;let r,s;if((null===(i=this.delegate)||void 0===i?void 0:i.onCallDTMFReceived)===void 0){t.reject();return}let n=t.request.getHeader("content-type");if(!n||!/^application\/dtmf-relay/i.exec(n)){t.reject();return}let o=t.request.body.split("\r\n",2);if(2!==o.length){t.reject();return}let a=/^(Signal\s*?=\s*?)([0-9A-D#*]{1})(\s)?.*/;if(void 0!==o[0]&&a.test(o[0])&&(r=o[0].replace(a,"$2")),!r){t.reject();return}let c=/^(Duration\s?=\s?)([0-9]{1,4})(\s)?.*/;if(void 0!==o[1]&&c.test(o[1])&&(s=parseInt(o[1].replace(c,"$2"),10)),!s){t.reject();return}t.accept().then(()=>{if(this.delegate&&this.delegate.onCallDTMFReceived){if(!r||!s)throw Error("Tone or duration undefined.");this.delegate.onCallDTMFReceived(e,r,s)}}).catch(e=>{this.logger.error(e.message)})},e.delegate.onRefer=e=>{e.accept().then(()=>this.sendInvite(e.makeInviter(t),t)).catch(e=>{this.logger.error(e.message)})}}optionsPingRun(e,t,i){if(this.options.optionsPingInterval<1)throw Error("Invalid options ping interval.");this.optionsPingRunning||(this.optionsPingRunning=!0,this.optionsPingTimeout=setTimeout(()=>{this.optionsPingTimeout=void 0;let r=()=>{this.optionsPingFailure=!1,this.optionsPingRunning&&(this.optionsPingRunning=!1,this.optionsPingRun(e,t,i))},s=()=>{this.logger.error("OPTIONS ping failed"),this.optionsPingFailure=!0,this.optionsPingRunning=!1,this.userAgent.transport.disconnect().catch(e=>this.logger.error(e))},n=this.userAgent.userAgentCore,o=n.makeOutgoingRequestMessage("OPTIONS",e,t,i,{});this.optionsPingRequest=n.request(o,{onAccept:()=>{this.optionsPingRequest=void 0,r()},onReject:e=>{this.optionsPingRequest=void 0,408===e.message.statusCode||503===e.message.statusCode?s():r()}})},1e3*this.options.optionsPingInterval))}optionsPingStart(){let e,t,i;if(this.logger.log("OPTIONS pings started"),this.options.optionsPingRequestURI){if(!(e=tU.makeURI(this.options.optionsPingRequestURI)))throw Error("Failed to create Request URI.");t=this.userAgent.contact.uri.clone(),i=this.userAgent.contact.uri.clone()}else if(this.options.aor){let r=tU.makeURI(this.options.aor);if(!r)throw Error("Failed to create URI.");(e=r.clone()).user=void 0,t=r.clone(),i=r.clone()}else{this.logger.error("You have enabled sending OPTIONS pings and as such you must provide either a) an AOR to register, or b) an RURI to use for the target of the OPTIONS ping requests. ");return}this.optionsPingRun(e,t,i)}optionsPingStop(){this.logger.log("OPTIONS pings stopped"),this.optionsPingRunning=!1,this.optionsPingFailure=!1,this.optionsPingRequest&&(this.optionsPingRequest.dispose(),this.optionsPingRequest=void 0),this.optionsPingTimeout&&(clearTimeout(this.optionsPingTimeout),this.optionsPingTimeout=void 0)}async sendInvite(e,t,i){return this.initSession(e,t),e.invite(i).then(()=>{this.logger.log(`[${e.id}] Sent INVITE`)})}sessionAdd(e){let t=this.options.managedSessionFactory(this,e);this.managedSessions.push(t)}sessionExists(e){return void 0!==this.sessionManaged(e)}sessionManaged(e){return this.managedSessions.find(t=>t.session.id===e.id)}sessionRemove(e){this.managedSessions=this.managedSessions.filter(t=>t.session.id!==e.id)}async setHold(e,t){if(!this.sessionExists(e))return Promise.reject(Error("Session does not exist."));if(this.isHeld(e)===t)return Promise.resolve();if(!(e.sessionDescriptionHandler instanceof el))throw Error("Session's session description handler not instance of SessionDescriptionHandler.");let i=e.sessionDescriptionHandlerOptionsReInvite;i.hold=t,e.sessionDescriptionHandlerOptionsReInvite=i;let r=this.sessionManaged(e);if(!r)throw Error("Managed session is undefiend.");return r.held=t,e.invite({requestDelegate:{onAccept:()=>{let i=this.sessionManaged(e);void 0!==i&&(i.held=t,this.enableReceiverTracks(e,!i.held),this.enableSenderTracks(e,!i.held&&!i.muted),this.delegate&&this.delegate.onCallHold&&this.delegate.onCallHold(e,i.held))},onReject:()=>{this.logger.warn(`[${e.id}] Re-invite request was rejected`);let i=this.sessionManaged(e);void 0!==i&&(i.held=!t,this.enableReceiverTracks(e,!i.held),this.enableSenderTracks(e,!i.held&&!i.muted),this.delegate&&this.delegate.onCallHold&&this.delegate.onCallHold(e,i.held))}}}).then(()=>{let t=this.sessionManaged(e);void 0!==t&&(this.enableReceiverTracks(e,!t.held),this.enableSenderTracks(e,!t.held&&!t.muted))}).catch(i=>{throw r.held=!t,i instanceof eY&&this.logger.error(`[${e.id}] A hold request is already in progress.`),i})}setMute(e,t){if(!this.sessionExists(e)){this.logger.warn(`[${e.id}] A session is required to enabled/disable media tracks`);return}if(e.state!==v.Established){this.logger.warn(`[${e.id}] An established session is required to enable/disable media tracks`);return}let i=this.sessionManaged(e);void 0!==i&&(i.muted=t,this.enableSenderTracks(e,!i.held&&!i.muted))}setupLocalMedia(e){let t=this.sessionManaged(e);if(!t)throw Error("Managed session does not exist.");let i="function"==typeof this.options.media.local?this.options.media.local(e):this.options.media.local;t.mediaLocal=i;let r=null==i?void 0:i.video;if(r){let t=this.getLocalMediaStream(e);if(!t)throw Error("Local media stream undefiend.");r.srcObject=t,r.volume=0,r.play().catch(t=>{this.logger.error(`[${e.id}] Failed to play local media`),this.logger.error(t.message)})}}setupRemoteMedia(e){let t=this.sessionManaged(e);if(!t)throw Error("Managed session does not exist.");let i="function"==typeof this.options.media.remote?this.options.media.remote(e):this.options.media.remote;t.mediaRemote=i;let r=(null==i?void 0:i.video)||(null==i?void 0:i.audio);if(r){let t=this.getRemoteMediaStream(e);if(!t)throw Error("Remote media stream undefiend.");r.autoplay=!0,r.srcObject=t,r.play().catch(t=>{this.logger.error(`[${e.id}] Failed to play remote media`),this.logger.error(t.message)}),t.onaddtrack=()=>{this.logger.log("Remote media onaddtrack"),r.load(),r.play().catch(t=>{this.logger.error(`[${e.id}] Failed to play remote media`),this.logger.error(t.message)})}}}async terminate(e){switch(this.logger.log(`[${e.id}] Terminating...`),e.state){case v.Initial:if(e instanceof e6)return e.cancel().then(()=>{this.logger.log(`[${e.id}] Inviter never sent INVITE (canceled)`)});if(e instanceof e2)return e.reject().then(()=>{this.logger.log(`[${e.id}] Invitation rejected (sent 480)`)});throw Error("Unknown session type.");case v.Establishing:if(e instanceof e6)return e.cancel().then(()=>{this.logger.log(`[${e.id}] Inviter canceled (sent CANCEL)`)});if(e instanceof e2)return e.reject().then(()=>{this.logger.log(`[${e.id}] Invitation rejected (sent 480)`)});throw Error("Unknown session type.");case v.Established:return e.bye().then(()=>{this.logger.log(`[${e.id}] Session ended (sent BYE)`)});case v.Terminating:case v.Terminated:break;default:throw Error("Unknown state")}return this.logger.log(`[${e.id}] Terminating in state ${e.state}, no action taken`),Promise.resolve()}}q(ep,ef),q(ep,{}),q(ep,{}),q(ep,{}),q(ep,{}),q(ep,ev);var tG={},tV={};M(tV,"SimpleUser",()=>tW);class tW{constructor(e,t={}){this.session=void 0,this.delegate=t.delegate,this.options=Object.assign({},t);let i={aor:this.options.aor,delegate:{onCallAnswered:()=>{var e,t;return null===(t=null===(e=this.delegate)||void 0===e?void 0:e.onCallAnswered)||void 0===t?void 0:t.call(e)},onCallCreated:e=>{var t,i;this.session=e,null===(i=null===(t=this.delegate)||void 0===t?void 0:t.onCallCreated)||void 0===i||i.call(t)},onCallReceived:()=>{var e,t;return null===(t=null===(e=this.delegate)||void 0===e?void 0:e.onCallReceived)||void 0===t?void 0:t.call(e)},onCallHangup:()=>{var e,t;this.session=void 0,(null===(e=this.delegate)||void 0===e?void 0:e.onCallHangup)&&(null===(t=this.delegate)||void 0===t||t.onCallHangup())},onCallHold:(e,t)=>{var i,r;return null===(r=null===(i=this.delegate)||void 0===i?void 0:i.onCallHold)||void 0===r?void 0:r.call(i,t)},onCallDTMFReceived:(e,t,i)=>{var r,s;return null===(s=null===(r=this.delegate)||void 0===r?void 0:r.onCallDTMFReceived)||void 0===s?void 0:s.call(r,t,i)},onMessageReceived:e=>{var t,i;return null===(i=null===(t=this.delegate)||void 0===t?void 0:t.onMessageReceived)||void 0===i?void 0:i.call(t,e.request.body)},onRegistered:()=>{var e,t;return null===(t=null===(e=this.delegate)||void 0===e?void 0:e.onRegistered)||void 0===t?void 0:t.call(e)},onUnregistered:()=>{var e,t;return null===(t=null===(e=this.delegate)||void 0===e?void 0:e.onUnregistered)||void 0===t?void 0:t.call(e)},onServerConnect:()=>{var e,t;return null===(t=null===(e=this.delegate)||void 0===e?void 0:e.onServerConnect)||void 0===t?void 0:t.call(e)},onServerDisconnect:()=>{var e,t;return null===(t=null===(e=this.delegate)||void 0===e?void 0:e.onServerDisconnect)||void 0===t?void 0:t.call(e)}},maxSimultaneousSessions:1,media:this.options.media,reconnectionAttempts:this.options.reconnectionAttempts,reconnectionDelay:this.options.reconnectionDelay,registererOptions:this.options.registererOptions,sendDTMFUsingSessionDescriptionHandler:this.options.sendDTMFUsingSessionDescriptionHandler,userAgentOptions:this.options.userAgentOptions};this.sessionManager=new tB(e,i),this.logger=this.sessionManager.userAgent.getLogger("sip.SimpleUser")}get id(){return this.options.userAgentOptions&&this.options.userAgentOptions.displayName||"Anonymous"}get localMediaStream(){return this.session&&this.sessionManager.getLocalMediaStream(this.session)}get remoteMediaStream(){return this.session&&this.sessionManager.getRemoteMediaStream(this.session)}get localAudioTrack(){return this.session&&this.sessionManager.getLocalAudioTrack(this.session)}get localVideoTrack(){return this.session&&this.sessionManager.getLocalVideoTrack(this.session)}get remoteAudioTrack(){return this.session&&this.sessionManager.getRemoteAudioTrack(this.session)}get remoteVideoTrack(){return this.session&&this.sessionManager.getRemoteVideoTrack(this.session)}connect(){return this.logger.log(`[${this.id}] Connecting UserAgent...`),this.sessionManager.connect()}disconnect(){return this.logger.log(`[${this.id}] Disconnecting UserAgent...`),this.sessionManager.disconnect()}isConnected(){return this.sessionManager.isConnected()}register(e){return this.logger.log(`[${this.id}] Registering UserAgent...`),this.sessionManager.register(e)}unregister(e){return this.logger.log(`[${this.id}] Unregistering UserAgent...`),this.sessionManager.unregister(e)}call(e,t,i){return(this.logger.log(`[${this.id}] Beginning Session...`),this.session)?Promise.reject(Error("Session already exists.")):this.sessionManager.call(e,t,i).then(()=>{})}hangup(){return(this.logger.log(`[${this.id}] Hangup...`),this.session)?this.sessionManager.hangup(this.session).then(()=>{this.session=void 0}):Promise.reject(Error("Session does not exist."))}answer(e){return(this.logger.log(`[${this.id}] Accepting Invitation...`),this.session)?this.sessionManager.answer(this.session,e):Promise.reject(Error("Session does not exist."))}decline(){return(this.logger.log(`[${this.id}] rejecting Invitation...`),this.session)?this.sessionManager.decline(this.session):Promise.reject(Error("Session does not exist."))}hold(){return(this.logger.log(`[${this.id}] holding session...`),this.session)?this.sessionManager.hold(this.session):Promise.reject(Error("Session does not exist."))}unhold(){return(this.logger.log(`[${this.id}] unholding session...`),this.session)?this.sessionManager.unhold(this.session):Promise.reject(Error("Session does not exist."))}isHeld(){return!!this.session&&this.sessionManager.isHeld(this.session)}mute(){return this.logger.log(`[${this.id}] disabling media tracks...`),this.session&&this.sessionManager.mute(this.session)}unmute(){return this.logger.log(`[${this.id}] enabling media tracks...`),this.session&&this.sessionManager.unmute(this.session)}isMuted(){return!!this.session&&this.sessionManager.isMuted(this.session)}sendDTMF(e){return(this.logger.log(`[${this.id}] sending DTMF...`),this.session)?this.sessionManager.sendDTMF(this.session,e):Promise.reject(Error("Session does not exist."))}message(e,t){return this.logger.log(`[${this.id}] sending message...`),this.sessionManager.message(e,t)}}q(tG,tV),q(tG,{}),q(tG,{});var tJ={};q(tJ,tj),q(tJ,{}),q(B,G),q(B,ei),q(B,ep),q(B,tG),q(B,tJ);var tK=(j("7etJZ"),j("7etJZ"));const tY={Transport:{Connecting:"connecting",Connected:"connected",Disconnecting:"disconnecting",Disconnected:"disconnected",ConnectionAttemptFailure:"wsConnectionError",ConnectionFailure:"transportError",SwitchBackToMainProxy:"switchBackProxy",Closed:"closed"},UserAgent:{Registered:"registered",Unregistered:"unregistered",RegistrationFailed:"registrationFailed",InviteSent:"inviteSent",Invite:"invite",ProvisionUpdate:"provisionUpdate",Started:"started",Stopped:"stopped"},Session:{Accepted:"accepted",Progress:"progress",Muted:"muted",Unmuted:"unmuted",Establishing:"establishing",Established:"established",Terminating:"terminating",Terminated:"terminated",UpdateReceived:"updateReceived",MoveToRcv:"moveToRcv",QOSPublished:"qos-published",RTPStat:"rtpStat",UserMediaFailed:"userMediaFailed"}};function tZ(){return this.__connect().catch(async e=>{this.logger.error(`unable to establish connection to server ${this.server} - ${e.message}`),this.emit(tY.Transport.ConnectionAttemptFailure,e),await this.reconnect()})}function tz(e=1,t=0,i=0){if(t<0||i<0||e<1)throw Error("Arguments must be positive numbers");return Math.floor(Math.random()*Math.abs(i-t))+t+(e-1)*(t+i)/2}function tX(e){this.servers.forEach(t=>{t.uri!==e||t.isError||(t.isError=!0)})}function tQ(){this.servers.forEach(e=>{e.isError=!1})}function t0(){return this.server===this.servers[0].uri}function t1(){this.__isCurrentMainProxy()?this.__onConnectedToMain():this.__onConnectedToBackup()}function t2(){this.__clearSwitchBackToMainProxyTimer()}function t6(){this.switchBackToMainProxyTimer||this.__scheduleSwitchBackToMainProxy()}function t7(){let e=this.switchBackInterval?1e3*this.switchBackInterval:null;e?(e+=this.__computeRandomTimeout(1,0,9e5),this.logger.warn("Try to switch back to main proxy after "+Math.round(e/1e3/60)+" min"),this.switchBackToMainProxyTimer=setTimeout(()=>{this.switchBackToMainProxyTimer=null,this.logger.warn("switchBack initiated"),this.emit(tY.Transport.SwitchBackToMainProxy)},e)):this.logger.warn("switchBackInterval is not set. Will be switched with next provision update ")}function t8(){this.switchBackToMainProxyTimer&&(clearTimeout(this.switchBackToMainProxyTimer),this.switchBackToMainProxyTimer=null)}async function t3(e){if(this.reconnectionAttempts>0&&this.logger.warn(`Reconnection attempt ${this.reconnectionAttempts} failed`),this.reconnectTimer){this.logger.warn("already trying to reconnect");return}if(e){this.logger.warn("forcing connect to main WS server"),await this.disconnect(),this.server=this.getNextWsServer(!0).uri,this.reconnectionAttempts=0,await this.connect();return}if(this.isConnected()){this.logger.warn("attempted to reconnect while connected - forcing disconnect"),await this.disconnect(),await this.reconnect();return}if(this.noAvailableServers()){this.logger.warn("no available WebSocket servers left"),this.emit(tY.Transport.Closed),this.__resetServersErrorStatus(),this.server=this.getNextWsServer(!0).uri,this.__clearSwitchBackToMainProxyTimer();return}if(this.reconnectionAttempts+=1,this.reconnectionAttempts>this.maxReconnectionAttempts){this.logger.warn(`maximum reconnection attempts for WebSocket ${this.server}`),this.logger.warn(`transport ${this.server} failed`),this.__setServerIsError(this.server),this.emit(tY.Transport.ConnectionFailure);let e=this.getNextWsServer();if(!e){this.logger.error("unable to connect to any transport");return}this.configuration.server=e.uri,this.reconnectionAttempts=0,await this.connect()}else{let e=(this.reconnectionTimeout-2)*1e3,t=(this.reconnectionTimeout+2)*1e3;this.nextReconnectInterval=this.__computeRandomTimeout(this.reconnectionAttempts,e,t),this.logger.warn(`trying to reconnect to WebSocket ${this.server} (reconnection attempt: ${this.reconnectionAttempts})`),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=void 0,this.connect().then(()=>{this.reconnectionAttempts=0})},this.nextReconnectInterval),this.logger.warn(`next reconnection attempt in: ${Math.round(this.nextReconnectInterval/1e3)} seconds.`)}}function t4(e=!1){if(!e&&this.noAvailableServers()){this.logger.warn("attempted to get next ws server but there are no available ws servers left");return}return(e?this.servers:this.servers.filter(({isError:e})=>!e))[0]}function t5(){return this.servers.every(({isError:e})=>e)}function t9(e){return!!e&&!!this.sipErrorCodes&&-1!==this.sipErrorCodes.indexOf(e.toString())}async function ie(){return this.logger.warn("Error received from the server. Disconnecting from the proxy"),this.__setServerIsError(this.server),this.emit(tY.Transport.ConnectionFailure),this.reconnectionAttempts=0,this.reconnect()}class it{volume;_enabled;_incoming;_outgoing;_audio;constructor(e={}){this._enabled=!!e.enabled,this.loadAudio(e)}loadAudio(e){this._incoming=e.incoming,this._outgoing=e.outgoing,this._audio={}}setVolume(e){let t=e;for(let e in t<0&&(t=0),t>1&&(t=1),this.volume=t,this._audio)Object.hasOwn(this._audio,e)&&(this._audio[e].volume=t)}playIncoming(e){return this._playSound(this._incoming,e,this.volume||.5)}playOutgoing(e){return this._playSound(this._outgoing,e,this.volume||1)}_playSound(e,t,i){if(!this._enabled||!e||!this._audio)return this;if(this._audio[e]){if(t)this._audio[e].currentTime=0,this._audio[e].playPromise=this._audio[e].play();else{let t=this._audio[e];void 0!==t.playPromise&&t.playPromise.then(()=>{t.pause()})}}else t&&(this._audio[e]=new Audio,this._audio[e].src=e,this._audio[e].loop=!0,this._audio[e].volume=i,this._audio[e].playPromise=this._audio[e].play());return this}}var tK=j("7etJZ");const ii=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}),ir=(e={},t={})=>Object.assign(e||{},t||{}),is={park:{reqid:1,command:"callpark"},startRecord:{reqid:2,command:"startcallrecord"},stopRecord:{reqid:3,command:"stopcallrecord"},flip:{reqid:3,command:"callflip",target:""},barge:{reqid:5,command:"barge"},whisper:{reqid:6,command:"whisper"},toVoicemail:{reqid:11,command:"toVoicemail"},ignore:{reqid:12,command:"ignore"},receiveConfirm:{reqid:17,command:"receiveConfirm"},replyWithMessage:{reqid:14,command:"replyWithMessage"}},io=["stun.l.google.com:19302"],ia=["408","502","503","504"];(p=$||($={})).new="mediaConnectionStateNew",p.checking="mediaConnectionStateChecking",p.connected="mediaConnectionStateConnected",p.completed="mediaConnectionStateCompleted",p.failed="mediaConnectionStateFailed",p.disconnected="mediaConnectionStateDisconnected",p.closed="mediaConnectionStateClosed",(f=A||(A={})).MSIE="IE",f.Chrome="Chrome",f.Firefox="Firefox",f.Safari="Safari",f.Opera="Opera";class ic{outboundRtpReport={};inboundRtpReport={};rttMs={};localCandidates=[];remoteCandidates=[];transport={}}class il{mediaStreamsImpl;release;reconnectMedia;getMediaStats;stopMediaStats;constructor(e){this.mediaStreamsImpl=new id(e),this.release=this.mediaStreamsImpl.release.bind(this.mediaStreamsImpl),this.reconnectMedia=this.mediaStreamsImpl.reconnectMedia.bind(this.mediaStreamsImpl),this.getMediaStats=this.mediaStreamsImpl.getMediaStats.bind(this.mediaStreamsImpl),this.stopMediaStats=this.mediaStreamsImpl.stopMediaStats.bind(this.mediaStreamsImpl)}set onRTPStat(e){this.mediaStreamsImpl.onRTPStat=e}get onRTPStat(){return this.mediaStreamsImpl.onRTPStat}set onMediaConnectionStateChange(e){this.mediaStreamsImpl.onMediaConnectionStateChange=e}get onMediaConnectionStateChange(){return this.mediaStreamsImpl.onMediaConnectionStateChange}}class id{preRTT;onMediaConnectionStateChange;onRTPStat;ktag="MediaStreams";session;isChrome;isFirefox;isSafari;mediaStatsTimer;constructor(e){if(this.ktag="MediaStreams",!e)throw Error(`${this.ktag}: Cannot initial media stream monitoring. Session is not passed`);this.session=e,this.onMediaConnectionStateChange=void 0,this.onPeerConnectionStateChange=this.onPeerConnectionStateChange.bind(this),this.session.sessionDescriptionHandler.peerConnection.addEventListener("iceconnectionstatechange",this.onPeerConnectionStateChange),this.isChrome="Chrome"===this.browser(),this.isFirefox="Firefox"===this.browser(),this.isSafari="Safari"===this.browser(),this.preRTT={currentRoundTripTime:0},this.isChrome||this.isFirefox||this.isSafari||this.session.logger.error(`${this.ktag} The web browser ${this.browser()} is not in the recommended list [Chrome, Safari, Firefox] !`)}getMediaStats(e,t=1e3){if(!this.onRTPStat&&!e){this.session.logger.debug(`${this.ktag}: No event callback provided to call when media starts are generated`);return}e&&(this.onRTPStat=e),this.mediaStatsTimer&&(clearTimeout(this.mediaStatsTimer),this.mediaStatsTimer=null),this.mediaStatsTimer=setInterval(()=>{this.mediaStatsTimerCallback()},t)}stopMediaStats(){this.mediaStatsTimer&&(clearTimeout(this.mediaStatsTimer),this.onRTPStat=void 0)}reconnectMedia(){return new Promise((e,t)=>{this.session.reinvite().then(()=>e()).catch(t)})}release(){this.mediaStatsTimer&&(clearTimeout(this.mediaStatsTimer),this.mediaStatsTimer=null);let e=this.session.sessionDescriptionHandler;e.peerConnection&&e.peerConnection.removeEventListener("iceconnectionstatechange",this.onPeerConnectionStateChange)}get tag(){return this.ktag}browser(){return navigator.userAgent.search("MSIE")>=0?"IE":navigator.userAgent.search("Chrome")>=0?"Chrome":navigator.userAgent.search("Firefox")>=0?"Firefox":navigator.userAgent.search("Safari")>=0&&0>navigator.userAgent.search("Chrome")?"Safari":navigator.userAgent.search("Opera")>=0?"Opera":"unknown"}mediaStatsTimerCallback(){let e=this.session.sessionDescriptionHandler.peerConnection;if(!e){this.session.logger.error(`${this.ktag}: The peer connection cannot be null`);return}let t=e.iceConnectionState;if("connected"!==t&&"completed"!==t){this.preRTT.currentRoundTripTime=0;return}this.getRTPReport(new ic)}onPeerConnectionStateChange(){let e="unknown",t=this.session.sessionDescriptionHandler.peerConnection.iceConnectionState;Object.hasOwn($,t)?(e=$[t],this.onMediaConnectionStateChange&&this.onMediaConnectionStateChange(e,this.session),this.session.emit(e)):this.session.logger.debug(`${this.tag}: Unknown peerConnection state: ${t}`),this.session.logger.debug(`${this.tag}: peerConnection State: ${t}`)}async getRTPReport(e){let t=this.session.sessionDescriptionHandler.peerConnection;try{(await t.getStats()).forEach(t=>{switch(t.type){case"inbound-rtp":Object.keys(t).forEach(i=>{switch(i){case"bytesReceived":case"packetsReceived":case"jitter":case"packetsLost":case"fractionLost":case"mediaType":e.inboundRtpReport[i]=t[i];break;case"roundTripTime":e.rttMs[i]=t[i]}});break;case"outbound-rtp":Object.keys(t).forEach(i=>{switch(i){case"bytesSent":case"packetsSent":case"mediaType":e.outboundRtpReport[i]=t[i]}});break;case"candidate-pair":Object.keys(t).forEach(i=>{"currentRoundTripTime"===i&&(e.rttMs[i]=t[i])});break;case"local-candidate":{let i={};Object.keys(t).forEach(e=>{switch(e){case"id":case"isRemote":case"ip":case"candidateType":case"networkType":case"priority":case"port":i[e]=t[e]}}),e.localCandidates.push(i);break}case"remote-candidate":{let i={};Object.keys(t).forEach(e=>{switch(e){case"id":case"isRemote":case"ip":case"priority":case"port":case"candidateType":i[e]=t[e]}}),e.remoteCandidates.push(i);break}case"media-source":e.outboundRtpReport.rtpLocalAudioLevel=t.audioLevel?t.audioLevel:0;break;case"track":if(!t.remoteSource)break;e.inboundRtpReport.rtpRemoteAudioLevel=t.audioLevel?t.audioLevel:0;break;case"transport":Object.keys(t).forEach(i=>{switch(i){case"dtlsState":case"packetsSent":case"packetsReceived":case"selectedCandidatePairChanges":case"selectedCandidatePairId":e.transport[i]=t[i]}})}}),Object.hasOwn(e.rttMs,"currentRoundTripTime")?e.rttMs.currentRoundTripTime=Math.round(1e3*e.rttMs.currentRoundTripTime):Object.hasOwn(e.rttMs,"roundTripTime")?(e.rttMs.currentRoundTripTime=e.rttMs.roundTripTime,delete e.rttMs.roundTripTime):e.rttMs.currentRoundTripTime=this.preRTT.currentRoundTripTime,Object.hasOwn(e.rttMs,"currentRoundTripTime")&&(this.preRTT.currentRoundTripTime=e.rttMs.currentRoundTripTime),this.onRTPStat(e,this.session),this.session.emit(tY.Session.RTPStat,e)}catch(e){this.session.logger.error(`${this.tag}: Unable to get media stats: ${e.message}`)}}}function ih(e){return!e.inboundRtpReport||!e.outboundRtpReport||0===e.inboundRtpReport.packetsReceived||0===e.outboundRtpReport.packetsSent}(m=P=P||(P={})).Initial="Initial",m.Published="Published",m.Unpublished="Unpublished",m.Terminated="Terminated";class iu{constructor(e,t,i,r={}){let s;this.disposed=!1,this._state=P.Initial,this._stateEventEmitter=new eK,this.userAgent=e,r.extraHeaders=(r.extraHeaders||[]).slice(),r.contentType=r.contentType||"text/plain","number"!=typeof r.expires||r.expires%1!=0?r.expires=3600:r.expires=Number(r.expires),"boolean"!=typeof r.unpublishOnClose&&(r.unpublishOnClose=!0),this.target=t,this.event=i,this.options=r,this.pubRequestExpires=r.expires,this.logger=e.getLogger("sip.Publisher");let n=r.params||{},o=n.fromUri?n.fromUri:e.userAgentCore.configuration.aor,a=n.toUri?n.toUri:t;r.body&&r.contentType&&(s={contentDisposition:"render",contentType:r.contentType,content:r.body});let c=(r.extraHeaders||[]).slice();this.request=e.userAgentCore.makeOutgoingRequestMessage(w.PUBLISH,t,o,a,n,c,s),this.id=this.target.toString()+":"+this.event,this.userAgent._publishers[this.id]=this}dispose(){return this.disposed?Promise.resolve():(this.disposed=!0,this.logger.log(`Publisher ${this.id} in state ${this.state} is being disposed`),delete this.userAgent._publishers[this.id],this.options.unpublishOnClose&&this.state===P.Published)?this.unpublish():(this.publishRefreshTimer&&(clearTimeout(this.publishRefreshTimer),this.publishRefreshTimer=void 0),this.pubRequestBody=void 0,this.pubRequestExpires=0,this.pubRequestEtag=void 0,Promise.resolve())}get state(){return this._state}get stateChange(){return this._stateEventEmitter}publish(e,t={}){if(this.publishRefreshTimer&&(clearTimeout(this.publishRefreshTimer),this.publishRefreshTimer=void 0),this.options.body=e,this.pubRequestBody=this.options.body,0===this.pubRequestExpires){if(void 0===this.options.expires)throw Error("Expires undefined.");this.pubRequestExpires=this.options.expires,this.pubRequestEtag=void 0}return this.sendPublishRequest(),Promise.resolve()}unpublish(e={}){return this.publishRefreshTimer&&(clearTimeout(this.publishRefreshTimer),this.publishRefreshTimer=void 0),this.pubRequestBody=void 0,this.pubRequestExpires=0,void 0!==this.pubRequestEtag&&this.sendPublishRequest(),Promise.resolve()}receiveResponse(e){let t=e.statusCode||0;switch(!0){case/^1[0-9]{2}$/.test(t.toString()):break;case/^2[0-9]{2}$/.test(t.toString()):if(e.hasHeader("SIP-ETag")?this.pubRequestEtag=e.getHeader("SIP-ETag"):this.logger.warn("SIP-ETag header missing in a 200-class response to PUBLISH"),e.hasHeader("Expires")){let t=Number(e.getHeader("Expires"));"number"==typeof t&&t>=0&&t<=this.pubRequestExpires?this.pubRequestExpires=t:this.logger.warn("Bad Expires header in a 200-class response to PUBLISH")}else this.logger.warn("Expires header missing in a 200-class response to PUBLISH");0!==this.pubRequestExpires?(this.publishRefreshTimer=setTimeout(()=>this.refreshRequest(),900*this.pubRequestExpires),this._state!==P.Published&&this.stateTransition(P.Published)):this.stateTransition(P.Unpublished);break;case/^412$/.test(t.toString()):if(void 0!==this.pubRequestEtag&&0!==this.pubRequestExpires){if(this.logger.warn("412 response to PUBLISH, recovering"),this.pubRequestEtag=void 0,void 0===this.options.body)throw Error("Body undefined.");this.publish(this.options.body)}else this.logger.warn("412 response to PUBLISH, recovery failed"),this.pubRequestExpires=0,this.stateTransition(P.Unpublished),this.stateTransition(P.Terminated);break;case/^423$/.test(t.toString()):if(0!==this.pubRequestExpires&&e.hasHeader("Min-Expires")){let t=Number(e.getHeader("Min-Expires"));if("number"==typeof t||t>this.pubRequestExpires){if(this.logger.warn("423 code in response to PUBLISH, adjusting the Expires value and trying to recover"),this.pubRequestExpires=t,void 0===this.options.body)throw Error("Body undefined.");this.publish(this.options.body)}else this.logger.warn("Bad 423 response Min-Expires header received for PUBLISH"),this.pubRequestExpires=0,this.stateTransition(P.Unpublished),this.stateTransition(P.Terminated)}else this.logger.warn("423 response to PUBLISH, recovery failed"),this.pubRequestExpires=0,this.stateTransition(P.Unpublished),this.stateTransition(P.Terminated);break;default:this.pubRequestExpires=0,this.stateTransition(P.Unpublished),this.stateTransition(P.Terminated)}0===this.pubRequestExpires&&(this.publishRefreshTimer&&(clearTimeout(this.publishRefreshTimer),this.publishRefreshTimer=void 0),this.pubRequestBody=void 0,this.pubRequestEtag=void 0)}send(){return this.userAgent.userAgentCore.publish(this.request,{onAccept:e=>this.receiveResponse(e.message),onProgress:e=>this.receiveResponse(e.message),onRedirect:e=>this.receiveResponse(e.message),onReject:e=>this.receiveResponse(e.message),onTrying:e=>this.receiveResponse(e.message)})}refreshRequest(){if(this.publishRefreshTimer&&(clearTimeout(this.publishRefreshTimer),this.publishRefreshTimer=void 0),this.pubRequestBody=void 0,void 0===this.pubRequestEtag)throw Error("Etag undefined");if(0===this.pubRequestExpires)throw Error("Expires zero");this.sendPublishRequest()}sendPublishRequest(){let e,t;let i=Object.assign({},this.options);i.extraHeaders=(this.options.extraHeaders||[]).slice(),i.extraHeaders.push("Event: "+this.event),i.extraHeaders.push("Expires: "+this.pubRequestExpires),void 0!==this.pubRequestEtag&&i.extraHeaders.push("SIP-If-Match: "+this.pubRequestEtag);let r=this.target,s=this.options.params||{};if(void 0!==this.pubRequestBody){if(void 0===this.options.contentType)throw Error("Content type undefined.");e={body:this.pubRequestBody,contentType:this.options.contentType}}return e&&(t=eq(e)),this.request=this.userAgent.userAgentCore.makeOutgoingRequestMessage(w.PUBLISH,r,s.fromUri?s.fromUri:this.userAgent.userAgentCore.configuration.aor,s.toUri?s.toUri:this.target,s,i.extraHeaders,t),this.send()}stateTransition(e){let t=()=>{throw Error(`Invalid state transition from ${this._state} to ${e}`)};switch(this._state){case P.Initial:e!==P.Published&&e!==P.Unpublished&&e!==P.Terminated&&t();break;case P.Published:e!==P.Unpublished&&e!==P.Terminated&&t();break;case P.Unpublished:e!==P.Published&&e!==P.Terminated&&t();break;case P.Terminated:t();break;default:throw Error("Unrecognized state.")}this._state=e,this.logger.log(`Publication transitioned to state ${this._state}`),this._stateEventEmitter.emit(this._state),e===P.Terminated&&this.dispose()}}const ig=e=>parseFloat(e.toString()).toFixed(2),ip=e=>{let t=iS();t.callID=e.request.callId||"",t.fromTag=e.request.fromTag||"",t.toTag=e.request.toTag||"",t.localID=e.request.getHeader("From"),t.remoteID=e.request.getHeader("To"),t.origID=e.request.getHeader("From");let i=setInterval(async()=>{let i=e.sessionDescriptionHandler;if(!i?.peerConnection){e.logger.error("There is no PeerConnection, can not getStats");return}let r=await i.peerConnection.getStats();e.logger.log(`getStatsResult ${JSON.stringify(r)}`),t.status=!0;let s="";r.forEach(e=>{switch(e.type){case"local-candidate":"srflx"===e.candidateType&&(s="string"==typeof e.networkType?e.networkType:iC(e.networkType),t.localAddr=e.ip+":"+e.port,t.localcandidate=e);break;case"remote-candidate":"host"===e.candidateType&&(t.remoteAddr=e.ip+":"+e.port,t.remotecandidate=e);break;case"inbound-rtp":{t.jitterBufferDiscardRate=e.packetsDiscarded/e.packetsReceived,t.inboundPacketsLost=e.packetsLost,t.inboundPacketsReceived=e.packetsReceived;let i=parseFloat(e.jitterBufferEmittedCount)>0?parseFloat(e.jitterBufferDelay)/parseFloat(e.jitterBufferEmittedCount)*1e3:0;t.totalSumJitter+=i,t.totalIntervalCount+=1,t.NLR=ig(e.packetsLost/(e.packetsLost+e.packetsReceived)*100),t.JBM=Math.max(t.JBM,i),t.netType=iT(t.netType,s);break}case"candidate-pair":t.RTD=Math.round(e.currentRoundTripTime/2*1e3);break;case"outbound-rtp":t.outboundPacketsSent=e.packetsSent;break;case"remote-inbound-rtp":t.outboundPacketsLost=e.packetsLost}})},e.userAgent.qosCollectInterval);e.stateChange.addListener(r=>{r===v.Terminated&&(e.logger.log("Release media streams"),e.mediaStreams?.release(),im(e,t),i&&clearInterval(i))})},im=async(e,t,i={})=>{let r=i||{},s=r.targetUrl||"sip:rtcpxr@rtcpxr.ringcentral.com:5060",n=r.event||"vq-rtcpxr";r.expires=60,r.contentType="application/vq-rtcpxr",r.extraHeaders=(r.extraHeaders||[]).concat(e.userAgent.defaultHeaders);let o=e.__qosStats.cpuOS,a=e.__qosStats.cpuRC,c=e.__qosStats.ram,l=e.__qosStats.netType||iv(t)||"",d="";"connection"in navigator&&(d=navigator.connection.effectiveType),r.extraHeaders.push(`p-rc-client-info:cpuRC=${a};cpuOS=${o};netType=${l};ram=${c};effectiveType=${d}`),e.logger.log(`QOS stats ${JSON.stringify(t)}`);let h=iy(ib(t)),u=new iu(e.userAgent,tU.makeURI(s),n,r);await u.publish(h),e.logger.log("Local Candidate: "+JSON.stringify(t.localcandidate)),e.logger.log("Remote Candidate: "+JSON.stringify(t.remotecandidate)),t.status=!1,await u.dispose(),e.emit(tY.Session.QOSPublished,h)},iv=e=>{let t=[];for(let[i,r]of Object.entries(e.netType))t.push(i+":"+ig(100*r/e.totalIntervalCount));return t.join()},ib=e=>{let t=100*e.inboundPacketsLost/(e.inboundPacketsReceived+e.inboundPacketsLost)||0,i=e.totalIntervalCount>0?e.totalSumJitter/e.totalIntervalCount:0;return{...e,NLR:ig(t),JBN:ig(i),JDR:ig(e.jitterBufferDiscardRate),MOSLQ:iR(e.inboundPacketsLost/(e.inboundPacketsLost+e.inboundPacketsReceived)),MOSCQ:iR(e.outboundPacketsLost/(e.outboundPacketsLost+e.outboundPacketsSent))}},iy=e=>{let t=e.NLR||0,i=e.JBM||0,r=e.JBN||0,s=e.JDR||0,n=e.MOSLQ||0,o=e.MOSCQ||0,a=e.RTD||0,c=e.callID||"",l=e.fromTag||"",d=e.toTag||"",h=e.localID||"",u=e.remoteID||"",g=e.localAddr||"",p=e.remoteAddr||"";return`VQSessionReport: CallTerm\r +`,this.send(c).catch(e=>{this.logTransportError(e,"Failed to send ACK to non-2xx response.")})}stateTransition(e,t=!1){let i=()=>{throw Error(`Invalid state transition from ${this.state} to ${e}`)};switch(e){case x.Calling:i();break;case x.Proceeding:this.state!==x.Calling&&i();break;case x.Accepted:case x.Completed:this.state!==x.Calling&&this.state!==x.Proceeding&&i();break;case x.Terminated:this.state===x.Calling||this.state===x.Accepted||this.state===x.Completed||t||i();break;default:i()}this.B&&(clearTimeout(this.B),this.B=void 0),x.Proceeding,e===x.Completed&&(this.D=setTimeout(()=>this.timerD(),eO.TIMER_D)),e===x.Accepted&&(this.M=setTimeout(()=>this.timerM(),eO.TIMER_M)),e===x.Terminated&&this.dispose(),this.setState(e)}timerA(){}timerB(){this.logger.debug(`Timer B expired for INVITE client transaction ${this.id}.`),this.state===x.Calling&&(this.onRequestTimeout(),this.stateTransition(x.Terminated))}timerD(){this.logger.debug(`Timer D expired for INVITE client transaction ${this.id}.`),this.state===x.Completed&&this.stateTransition(x.Terminated)}timerM(){this.logger.debug(`Timer M expired for INVITE client transaction ${this.id}.`),this.state===x.Accepted&&this.stateTransition(x.Terminated)}}class td{constructor(e,t,i,r){this.transactionConstructor=e,this.core=t,this.message=i,this.delegate=r,this.challenged=!1,this.stale=!1,this.logger=this.loggerFactory.getLogger("sip.user-agent-client"),this.init()}dispose(){this.transaction.dispose()}get loggerFactory(){return this.core.loggerFactory}get transaction(){if(!this._transaction)throw Error("Transaction undefined.");return this._transaction}cancel(e,t={}){if(!this.transaction)throw Error("Transaction undefined.");if(!this.message.to)throw Error("To undefined.");if(!this.message.from)throw Error("From undefined.");let i=this.core.makeOutgoingRequestMessage(w.CANCEL,this.message.ruri,this.message.from.uri,this.message.to.uri,{toTag:this.message.toTag,fromTag:this.message.fromTag,callId:this.message.callId,cseq:this.message.cseq},t.extraHeaders);return i.branch=this.message.branch,this.message.headers.Route&&(i.headers.Route=this.message.headers.Route),e&&i.setHeader("Reason",e),this.transaction.state===x.Proceeding?new td(ta,this.core,i):this.transaction.addStateChangeListener(()=>{this.transaction&&this.transaction.state===x.Proceeding&&new td(ta,this.core,i)},{once:!0}),i}authenticationGuard(e,t){let i,r;let s=e.statusCode;if(!s)throw Error("Response status code undefined.");if(401!==s&&407!==s)return!0;if(401===s?(i=e.parseHeader("www-authenticate"),r="authorization"):(i=e.parseHeader("proxy-authenticate"),r="proxy-authorization"),!i)return this.logger.warn(s+" with wrong or missing challenge, cannot authenticate"),!0;if(this.challenged&&(this.stale||!0!==i.stale))return this.logger.warn(s+" apparently in authentication loop, cannot authenticate"),!0;if(!this.credentials&&(this.credentials=this.core.configuration.authenticationFactory(),!this.credentials))return this.logger.warn("Unable to obtain credentials, cannot authenticate"),!0;if(!this.credentials.authenticate(this.message,i))return!0;this.challenged=!0,i.stale&&(this.stale=!0);let n=this.message.cseq+=1;return t&&t.localSequenceNumber&&(t.incrementLocalSequenceNumber(),n=this.message.cseq=t.localSequenceNumber),this.message.setHeader("cseq",n+" "+this.message.method),this.message.setHeader(r,this.credentials.toString()),this.init(),!1}onRequestTimeout(){this.logger.warn("User agent client request timed out. Generating internal 408 Request Timeout.");let e=new eP;e.statusCode=408,e.reasonPhrase="Request Timeout",this.receiveResponse(e)}onTransportError(e){this.logger.error(e.message),this.logger.error("User agent client request transport error. Generating internal 503 Service Unavailable.");let t=new eP;t.statusCode=503,t.reasonPhrase="Service Unavailable",this.receiveResponse(t)}receiveResponse(e){if(!this.authenticationGuard(e))return;let t=e.statusCode?e.statusCode.toString():"";if(!t)throw Error("Response status code undefined.");switch(!0){case/^100$/.test(t):this.delegate&&this.delegate.onTrying&&this.delegate.onTrying({message:e});break;case/^1[0-9]{2}$/.test(t):this.delegate&&this.delegate.onProgress&&this.delegate.onProgress({message:e});break;case/^2[0-9]{2}$/.test(t):this.delegate&&this.delegate.onAccept&&this.delegate.onAccept({message:e});break;case/^3[0-9]{2}$/.test(t):this.delegate&&this.delegate.onRedirect&&this.delegate.onRedirect({message:e});break;case/^[4-6][0-9]{2}$/.test(t):this.delegate&&this.delegate.onReject&&this.delegate.onReject({message:e});break;default:throw Error(`Invalid status code ${t}`)}}init(){let e={loggerFactory:this.loggerFactory,onRequestTimeout:()=>this.onRequestTimeout(),onStateChange:e=>{e===x.Terminated&&(this.core.userAgentClients.delete(i),t===this._transaction&&this.dispose())},onTransportError:e=>this.onTransportError(e),receiveResponse:e=>this.receiveResponse(e)},t=new this.transactionConstructor(this.message,this.core.transport,e);this._transaction=t;let i=t.id+t.request.method;this.core.userAgentClients.set(i,this)}}class th extends td{constructor(e,t,i){super(ta,e.userAgentCore,e.createOutgoingRequestMessage(w.BYE,i),t),e.dispose()}}class tu extends ts{constructor(e,t,i){super(e,t,i,x.Trying,"sip.transaction.nist")}dispose(){this.J&&(clearTimeout(this.J),this.J=void 0),super.dispose()}get kind(){return"nist"}receiveRequest(e){switch(this.state){case x.Trying:break;case x.Proceeding:if(!this.lastResponse)throw Error("Last response undefined.");this.send(this.lastResponse).catch(e=>{this.logTransportError(e,"Failed to send retransmission of provisional response.")});break;case x.Completed:if(!this.lastResponse)throw Error("Last response undefined.");this.send(this.lastResponse).catch(e=>{this.logTransportError(e,"Failed to send retransmission of final response.")});break;case x.Terminated:break;default:throw Error(`Invalid state ${this.state}`)}}receiveResponse(e,t){if(e<100||e>699)throw Error(`Invalid status code ${e}`);if(e>100&&e<=199)throw Error("Provisional response other than 100 not allowed.");switch(this.state){case x.Trying:if(this.lastResponse=t,e>=100&&e<200){this.stateTransition(x.Proceeding),this.send(t).catch(e=>{this.logTransportError(e,"Failed to send provisional response.")});return}if(e>=200&&e<=699){this.stateTransition(x.Completed),this.send(t).catch(e=>{this.logTransportError(e,"Failed to send final response.")});return}break;case x.Proceeding:if(this.lastResponse=t,e>=200&&e<=699){this.stateTransition(x.Completed),this.send(t).catch(e=>{this.logTransportError(e,"Failed to send final response.")});return}break;case x.Completed:return;case x.Terminated:break;default:throw Error(`Invalid state ${this.state}`)}let i=`Non-INVITE server transaction received unexpected ${e} response from TU while in state ${this.state}.`;throw this.logger.error(i),Error(i)}onTransportError(e){this.user.onTransportError&&this.user.onTransportError(e),this.stateTransition(x.Terminated,!0)}typeToString(){return"non-INVITE server transaction"}stateTransition(e,t=!1){let i=()=>{throw Error(`Invalid state transition from ${this.state} to ${e}`)};switch(e){case x.Trying:i();break;case x.Proceeding:this.state!==x.Trying&&i();break;case x.Completed:this.state!==x.Trying&&this.state!==x.Proceeding&&i();break;case x.Terminated:this.state===x.Proceeding||this.state===x.Completed||t||i();break;default:i()}e===x.Completed&&(this.J=setTimeout(()=>this.timerJ(),eO.TIMER_J)),e===x.Terminated&&this.dispose(),this.setState(e)}timerJ(){this.logger.debug(`Timer J expired for NON-INVITE server transaction ${this.id}.`),this.state===x.Completed&&this.stateTransition(x.Terminated)}}class tg{constructor(e,t,i,r){this.transactionConstructor=e,this.core=t,this.message=i,this.delegate=r,this.logger=this.loggerFactory.getLogger("sip.user-agent-server"),this.toTag=i.toTag?i.toTag:ex(10),this.init()}dispose(){this.transaction.dispose()}get loggerFactory(){return this.core.loggerFactory}get transaction(){if(!this._transaction)throw Error("Transaction undefined.");return this._transaction}accept(e={statusCode:200}){if(!this.acceptable)throw new eL(`${this.message.method} not acceptable in state ${this.transaction.state}.`);let t=e.statusCode;if(t<200||t>299)throw TypeError(`Invalid statusCode: ${t}`);return this.reply(e)}progress(e={statusCode:180}){if(!this.progressable)throw new eL(`${this.message.method} not progressable in state ${this.transaction.state}.`);let t=e.statusCode;if(t<101||t>199)throw TypeError(`Invalid statusCode: ${t}`);return this.reply(e)}redirect(e,t={statusCode:302}){if(!this.redirectable)throw new eL(`${this.message.method} not redirectable in state ${this.transaction.state}.`);let i=t.statusCode;if(i<300||i>399)throw TypeError(`Invalid statusCode: ${i}`);let r=[];return e.forEach(e=>r.push(`Contact: ${e.toString()}`)),t.extraHeaders=(t.extraHeaders||[]).concat(r),this.reply(t)}reject(e={statusCode:480}){if(!this.rejectable)throw new eL(`${this.message.method} not rejectable in state ${this.transaction.state}.`);let t=e.statusCode;if(t<400||t>699)throw TypeError(`Invalid statusCode: ${t}`);return this.reply(e)}trying(e){if(!this.tryingable)throw new eL(`${this.message.method} not tryingable in state ${this.transaction.state}.`);return this.reply({statusCode:100})}receiveCancel(e){this.delegate&&this.delegate.onCancel&&this.delegate.onCancel(e)}get acceptable(){if(this.transaction instanceof tn)return this.transaction.state===x.Proceeding||this.transaction.state===x.Accepted;if(this.transaction instanceof tu)return this.transaction.state===x.Trying||this.transaction.state===x.Proceeding;throw Error("Unknown transaction type.")}get progressable(){if(this.transaction instanceof tn)return this.transaction.state===x.Proceeding;if(this.transaction instanceof tu)return!1;throw Error("Unknown transaction type.")}get redirectable(){if(this.transaction instanceof tn)return this.transaction.state===x.Proceeding;if(this.transaction instanceof tu)return this.transaction.state===x.Trying||this.transaction.state===x.Proceeding;throw Error("Unknown transaction type.")}get rejectable(){if(this.transaction instanceof tn)return this.transaction.state===x.Proceeding;if(this.transaction instanceof tu)return this.transaction.state===x.Trying||this.transaction.state===x.Proceeding;throw Error("Unknown transaction type.")}get tryingable(){if(this.transaction instanceof tn)return this.transaction.state===x.Proceeding;if(this.transaction instanceof tu)return this.transaction.state===x.Trying;throw Error("Unknown transaction type.")}reply(e){e.toTag||100===e.statusCode||(e.toTag=this.toTag),e.userAgent=e.userAgent||this.core.configuration.userAgentHeaderFieldValue,e.supported=e.supported||this.core.configuration.supportedOptionTagsResponse;let t=tt(this.message,e);return this.transaction.receiveResponse(e.statusCode,t.message),t}init(){let e={loggerFactory:this.loggerFactory,onStateChange:e=>{e===x.Terminated&&(this.core.userAgentServers.delete(i),this.dispose())},onTransportError:e=>{this.logger.error(e.message),this.delegate&&this.delegate.onTransportError?this.delegate.onTransportError(e):this.logger.error("User agent server response transport error.")}},t=new this.transactionConstructor(this.message,this.core.transport,e);this._transaction=t;let i=t.id;this.core.userAgentServers.set(t.id,this)}}class tp extends tg{constructor(e,t,i){super(tu,e.userAgentCore,t,i)}}class tf extends td{constructor(e,t,i){super(ta,e.userAgentCore,e.createOutgoingRequestMessage(w.INFO,i),t)}}class tm extends tg{constructor(e,t,i){super(tu,e.userAgentCore,t,i)}}class tv extends td{constructor(e,t,i){super(ta,e,t,i)}}class tb extends tg{constructor(e,t,i){super(tu,e,t,i)}}class ty extends td{constructor(e,t,i){super(ta,e.userAgentCore,e.createOutgoingRequestMessage(w.NOTIFY,i),t)}}class tS extends tg{constructor(e,t,i){super(tu,void 0!==e.userAgentCore?e.userAgentCore:e,t,i)}}class tT extends td{constructor(e,t,i){let r=e.createOutgoingRequestMessage(w.PRACK,i);super(ta,e.userAgentCore,r,t),e.signalingStateTransition(r)}}class tw extends tg{constructor(e,t,i){super(tu,e.userAgentCore,t,i),e.signalingStateTransition(t),this.dialog=e}accept(e={statusCode:200}){return e.body&&this.dialog.signalingStateTransition(e.body),super.accept(e)}}class tC extends td{constructor(e,t,i){let r=e.createOutgoingRequestMessage(w.INVITE,i);super(tl,e.userAgentCore,r,t),this.delegate=t,e.signalingStateTransition(r),e.reinviteUserAgentClient=this,this.dialog=e}receiveResponse(e){if(!this.authenticationGuard(e,this.dialog))return;let t=e.statusCode?e.statusCode.toString():"";if(!t)throw Error("Response status code undefined.");switch(!0){case/^100$/.test(t):this.delegate&&this.delegate.onTrying&&this.delegate.onTrying({message:e});break;case/^1[0-9]{2}$/.test(t):this.delegate&&this.delegate.onProgress&&this.delegate.onProgress({message:e,session:this.dialog,prack:e=>{throw Error("Unimplemented.")}});break;case/^2[0-9]{2}$/.test(t):this.dialog.signalingStateTransition(e),this.delegate&&this.delegate.onAccept&&this.delegate.onAccept({message:e,session:this.dialog,ack:e=>this.dialog.ack(e)});break;case/^3[0-9]{2}$/.test(t):this.dialog.signalingStateRollback(),this.dialog.reinviteUserAgentClient=void 0,this.delegate&&this.delegate.onRedirect&&this.delegate.onRedirect({message:e});break;case/^[4-6][0-9]{2}$/.test(t):this.dialog.signalingStateRollback(),this.dialog.reinviteUserAgentClient=void 0,this.delegate&&this.delegate.onReject&&this.delegate.onReject({message:e});break;default:throw Error(`Invalid status code ${t}`)}}}class tR extends tg{constructor(e,t,i){super(tn,e.userAgentCore,t,i),e.reinviteUserAgentServer=this,this.dialog=e}accept(e={statusCode:200}){e.extraHeaders=e.extraHeaders||[],e.extraHeaders=e.extraHeaders.concat(this.dialog.routeSet.map(e=>`Record-Route: ${e}`));let t=super.accept(e),i=this.dialog,r=Object.assign(Object.assign({},t),{session:i});return e.body&&this.dialog.signalingStateTransition(e.body),this.dialog.reConfirm(),r}progress(e={statusCode:180}){let t=super.progress(e),i=this.dialog,r=Object.assign(Object.assign({},t),{session:i});return e.body&&this.dialog.signalingStateTransition(e.body),r}redirect(e,t={statusCode:302}){throw this.dialog.signalingStateRollback(),this.dialog.reinviteUserAgentServer=void 0,Error("Unimplemented.")}reject(e={statusCode:488}){return this.dialog.signalingStateRollback(),this.dialog.reinviteUserAgentServer=void 0,super.reject(e)}}class tE extends td{constructor(e,t,i){super(ta,e.userAgentCore,e.createOutgoingRequestMessage(w.REFER,i),t)}}class tx extends tg{constructor(e,t,i){super(tu,void 0!==e.userAgentCore?e.userAgentCore:e,t,i)}}class tI extends tc{constructor(e,t,i,r){super(t,i),this.initialTransaction=e,this._signalingState=T.Initial,this.ackWait=!1,this.ackProcessing=!1,this.delegate=r,e instanceof tn&&(this.ackWait=!0),this.early||this.start2xxRetransmissionTimer(),this.signalingStateTransition(e.request),this.logger=t.loggerFactory.getLogger("sip.invite-dialog"),this.logger.log(`INVITE dialog ${this.id} constructed`)}dispose(){super.dispose(),this._signalingState=T.Closed,this._offer=void 0,this._answer=void 0,this.invite2xxTimer&&(clearTimeout(this.invite2xxTimer),this.invite2xxTimer=void 0),this.logger.log(`INVITE dialog ${this.id} destroyed`)}get sessionState(){return this.early?S.Early:this.ackWait?S.AckWait:this._signalingState===T.Closed?S.Terminated:S.Confirmed}get signalingState(){return this._signalingState}get offer(){return this._offer}get answer(){return this._answer}confirm(){this.early&&this.start2xxRetransmissionTimer(),super.confirm()}reConfirm(){this.reinviteUserAgentServer&&this.startReInvite2xxRetransmissionTimer()}ack(e={}){let t;if(this.logger.log(`INVITE dialog ${this.id} sending ACK request`),this.reinviteUserAgentClient){if(!(this.reinviteUserAgentClient.transaction instanceof tl))throw Error("Transaction not instance of InviteClientTransaction.");t=this.reinviteUserAgentClient.transaction,this.reinviteUserAgentClient=void 0}else{if(!(this.initialTransaction instanceof tl))throw Error("Initial transaction not instance of InviteClientTransaction.");t=this.initialTransaction}let i=this.createOutgoingRequestMessage(w.ACK,{cseq:t.request.cseq,extraHeaders:e.extraHeaders,body:e.body});return t.ackResponse(i),this.signalingStateTransition(i),{message:i}}bye(e,t){if(this.logger.log(`INVITE dialog ${this.id} sending BYE request`),this.initialTransaction instanceof tn){if(this.early)throw Error("UAS MUST NOT send a BYE on early dialogs.");if(this.ackWait&&this.initialTransaction.state!==x.Terminated)throw Error("UAS MUST NOT send a BYE on a confirmed dialog until it has received an ACK for its 2xx response or until the server transaction times out.")}return new th(this,e,t)}info(e,t){if(this.logger.log(`INVITE dialog ${this.id} sending INFO request`),this.early)throw Error("Dialog not confirmed.");return new tf(this,e,t)}invite(e,t){if(this.logger.log(`INVITE dialog ${this.id} sending INVITE request`),this.early)throw Error("Dialog not confirmed.");if(this.reinviteUserAgentClient)throw Error("There is an ongoing re-INVITE client transaction.");if(this.reinviteUserAgentServer)throw Error("There is an ongoing re-INVITE server transaction.");return new tC(this,e,t)}message(e,t){if(this.logger.log(`INVITE dialog ${this.id} sending MESSAGE request`),this.early)throw Error("Dialog not confirmed.");let i=this.createOutgoingRequestMessage(w.MESSAGE,t);return new tv(this.core,i,e)}notify(e,t){if(this.logger.log(`INVITE dialog ${this.id} sending NOTIFY request`),this.early)throw Error("Dialog not confirmed.");return new ty(this,e,t)}prack(e,t){return this.logger.log(`INVITE dialog ${this.id} sending PRACK request`),new tT(this,e,t)}refer(e,t){if(this.logger.log(`INVITE dialog ${this.id} sending REFER request`),this.early)throw Error("Dialog not confirmed.");return new tE(this,e,t)}receiveRequest(e){if(this.logger.log(`INVITE dialog ${this.id} received ${e.method} request`),e.method===w.ACK){if(this.ackWait){if(this.initialTransaction instanceof tl||this.initialTransaction.request.cseq!==e.cseq){this.logger.warn(`INVITE dialog ${this.id} received unexpected ${e.method} request, dropping.`);return}this.ackWait=!1}else{if(!this.reinviteUserAgentServer||this.reinviteUserAgentServer.transaction.request.cseq!==e.cseq){this.logger.warn(`INVITE dialog ${this.id} received unexpected ${e.method} request, dropping.`);return}this.reinviteUserAgentServer=void 0}if(this.signalingStateTransition(e),this.delegate&&this.delegate.onAck){let t=this.delegate.onAck({message:e});t instanceof Promise&&(this.ackProcessing=!0,t.then(()=>this.ackProcessing=!1).catch(()=>this.ackProcessing=!1))}return}if(!this.sequenceGuard(e)){this.logger.log(`INVITE dialog ${this.id} rejected out of order ${e.method} request.`);return}if(super.receiveRequest(e),e.method===w.INVITE){let t=[`Retry-After: ${Math.floor(10*Math.random())+1}`];if(this.ackProcessing||this.ackWait&&this.signalingState!==T.Stable){this.core.replyStateless(e,{statusCode:500,extraHeaders:t}),(()=>{let e=this.ackWait?"waiting for initial ACK":"processing initial ACK";this.logger.warn(`INVITE dialog ${this.id} received re-INVITE while ${e}`);let t="RFC 5407 suggests the following to avoid this race condition... ";t+=" Note: Implementation issues are outside the scope of this document, but the following tip is provided for avoiding race conditions of this type. The caller can delay sending re-INVITE F6 for some period of time (2 seconds, perhaps), after which the caller can reasonably assume that its ACK has been received. Implementors can decouple the actions of the user (e.g., pressing the hold button) from the actions of the protocol (the sending of re-INVITE F6), so that the UA can behave like this. In this case, it is the implementor's choice as to how long to wait. In most cases, such an implementation may be useful to prevent the type of race condition shown in this section. This document expresses no preference about whether or not they should wait for an ACK to be delivered. After considering the impact on user experience, implementors should decide whether or not to wait for a while, because the user experience depends on the implementation and has no direct bearing on protocol behavior.",this.logger.warn(t)})();return}if(this.reinviteUserAgentServer){this.core.replyStateless(e,{statusCode:500,extraHeaders:t});return}if(this.reinviteUserAgentClient){this.core.replyStateless(e,{statusCode:491});return}}if(e.method===w.INVITE){let t=e.parseHeader("contact");if(!t)throw Error("Contact undefined.");if(!(t instanceof ey))throw Error("Contact not instance of NameAddrHeader.");this.dialogState.remoteTarget=t.uri}switch(e.method){case w.BYE:{let t=new tp(this,e);this.delegate&&this.delegate.onBye?this.delegate.onBye(t):t.accept(),this.dispose()}break;case w.INFO:{let t=new tm(this,e);this.delegate&&this.delegate.onInfo?this.delegate.onInfo(t):t.reject({statusCode:469,extraHeaders:["Recv-Info:"]})}break;case w.INVITE:{let t=new tR(this,e);this.signalingStateTransition(e),this.delegate&&this.delegate.onInvite?this.delegate.onInvite(t):t.reject({statusCode:488})}break;case w.MESSAGE:{let t=new tb(this.core,e);this.delegate&&this.delegate.onMessage?this.delegate.onMessage(t):t.accept()}break;case w.NOTIFY:{let t=new tS(this,e);this.delegate&&this.delegate.onNotify?this.delegate.onNotify(t):t.accept()}break;case w.PRACK:{let t=new tw(this,e);this.delegate&&this.delegate.onPrack?this.delegate.onPrack(t):t.accept()}break;case w.REFER:{let t=new tx(this,e);this.delegate&&this.delegate.onRefer?this.delegate.onRefer(t):t.reject()}break;default:this.logger.log(`INVITE dialog ${this.id} received unimplemented ${e.method} request`),this.core.replyStateless(e,{statusCode:501})}}reliableSequenceGuard(e){let t=e.statusCode;if(!t)throw Error("Status code undefined");if(t>100&&t<200){let t=e.getHeader("require"),i=e.getHeader("rseq"),r=t&&t.includes("100rel")&&i?Number(i):void 0;if(r){if(this.rseq&&this.rseq+1!==r)return!1;this.rseq=this.rseq?this.rseq+1:r}}return!0}signalingStateRollback(){(this._signalingState===T.HaveLocalOffer||this.signalingState===T.HaveRemoteOffer)&&this._rollbackOffer&&this._rollbackAnswer&&(this._signalingState=T.Stable,this._offer=this._rollbackOffer,this._answer=this._rollbackAnswer)}signalingStateTransition(e){let t=eN(e);if(t&&"session"===t.contentDisposition){if(this._signalingState===T.Stable&&(this._rollbackOffer=this._offer,this._rollbackAnswer=this._answer),e instanceof eA||e instanceof eP)switch(this._signalingState){case T.Initial:case T.Stable:this._signalingState=T.HaveRemoteOffer,this._offer=t,this._answer=void 0;break;case T.HaveLocalOffer:this._signalingState=T.Stable,this._answer=t;break;case T.HaveRemoteOffer:case T.Closed:break;default:throw Error("Unexpected signaling state.")}if(e instanceof eH||eM(e))switch(this._signalingState){case T.Initial:case T.Stable:this._signalingState=T.HaveLocalOffer,this._offer=t,this._answer=void 0;break;case T.HaveLocalOffer:break;case T.HaveRemoteOffer:this._signalingState=T.Stable,this._answer=t;break;case T.Closed:break;default:throw Error("Unexpected signaling state.")}}}start2xxRetransmissionTimer(){if(this.initialTransaction instanceof tn){let e=this.initialTransaction,t=eO.T1,i=()=>{if(!this.ackWait){this.invite2xxTimer=void 0;return}this.logger.log("No ACK for 2xx response received, attempting retransmission"),e.retransmitAcceptedResponse(),t=Math.min(2*t,eO.T2),this.invite2xxTimer=setTimeout(i,t)};this.invite2xxTimer=setTimeout(i,t);let r=()=>{e.state===x.Terminated&&(e.removeStateChangeListener(r),this.invite2xxTimer&&(clearTimeout(this.invite2xxTimer),this.invite2xxTimer=void 0),this.ackWait&&(this.delegate&&this.delegate.onAckTimeout?this.delegate.onAckTimeout():this.bye()))};e.addStateChangeListener(r)}}startReInvite2xxRetransmissionTimer(){if(this.reinviteUserAgentServer&&this.reinviteUserAgentServer.transaction instanceof tn){let e=this.reinviteUserAgentServer.transaction,t=eO.T1,i=()=>{if(!this.reinviteUserAgentServer){this.invite2xxTimer=void 0;return}this.logger.log("No ACK for 2xx response received, attempting retransmission"),e.retransmitAcceptedResponse(),t=Math.min(2*t,eO.T2),this.invite2xxTimer=setTimeout(i,t)};this.invite2xxTimer=setTimeout(i,t);let r=()=>{e.state===x.Terminated&&(e.removeStateChangeListener(r),this.invite2xxTimer&&(clearTimeout(this.invite2xxTimer),this.invite2xxTimer=void 0),this.reinviteUserAgentServer)};e.addStateChangeListener(r)}}}class tD extends td{constructor(e,t,i){super(tl,e,t,i),this.confirmedDialogAcks=new Map,this.confirmedDialogs=new Map,this.earlyDialogs=new Map,this.delegate=i}dispose(){this.earlyDialogs.forEach(e=>e.dispose()),this.earlyDialogs.clear(),super.dispose()}onTransportError(e){if(this.transaction.state===x.Calling)return super.onTransportError(e);this.logger.error(e.message),this.logger.error("User agent client request transport error while sending ACK.")}receiveResponse(e){if(!this.authenticationGuard(e))return;let t=e.statusCode?e.statusCode.toString():"";if(!t)throw Error("Response status code undefined.");switch(!0){case/^100$/.test(t):this.delegate&&this.delegate.onTrying&&this.delegate.onTrying({message:e});return;case/^1[0-9]{2}$/.test(t):{if(!e.toTag){this.logger.warn("Non-100 1xx INVITE response received without a to tag, dropping.");return}if(!e.parseHeader("contact")){this.logger.error("Non-100 1xx INVITE response received without a Contact header field, dropping.");return}let t=tc.initialDialogStateForUserAgentClient(this.message,e),i=this.earlyDialogs.get(t.id);if(!i){let e=this.transaction;if(!(e instanceof tl))throw Error("Transaction not instance of InviteClientTransaction.");i=new tI(e,this.core,t),this.earlyDialogs.set(i.id,i)}if(!i.reliableSequenceGuard(e)){this.logger.warn("1xx INVITE reliable response received out of order or is a retransmission, dropping.");return}(i.signalingState===T.Initial||i.signalingState===T.HaveLocalOffer)&&i.signalingStateTransition(e);let r=i;this.delegate&&this.delegate.onProgress&&this.delegate.onProgress({message:e,session:r,prack:e=>r.prack(void 0,e)})}return;case/^2[0-9]{2}$/.test(t):{if(!e.toTag){this.logger.error("2xx INVITE response received without a to tag, dropping.");return}if(!e.parseHeader("contact")){this.logger.error("2xx INVITE response received without a Contact header field, dropping.");return}let t=tc.initialDialogStateForUserAgentClient(this.message,e),i=this.confirmedDialogs.get(t.id);if(i){let e=this.confirmedDialogAcks.get(t.id);if(e){let t=this.transaction;if(!(t instanceof tl))throw Error("Client transaction not instance of InviteClientTransaction.");t.ackResponse(e.message)}return}if(i=this.earlyDialogs.get(t.id))i.confirm(),i.recomputeRouteSet(e),this.earlyDialogs.delete(i.id),this.confirmedDialogs.set(i.id,i);else{let e=this.transaction;if(!(e instanceof tl))throw Error("Transaction not instance of InviteClientTransaction.");i=new tI(e,this.core,t),this.confirmedDialogs.set(i.id,i)}(i.signalingState===T.Initial||i.signalingState===T.HaveLocalOffer)&&i.signalingStateTransition(e);let r=i;if(this.delegate&&this.delegate.onAccept)this.delegate.onAccept({message:e,session:r,ack:e=>{let t=r.ack(e);return this.confirmedDialogAcks.set(r.id,t),t}});else{let e=r.ack();this.confirmedDialogAcks.set(r.id,e)}}return;case/^3[0-9]{2}$/.test(t):this.earlyDialogs.forEach(e=>e.dispose()),this.earlyDialogs.clear(),this.delegate&&this.delegate.onRedirect&&this.delegate.onRedirect({message:e});return;case/^[4-6][0-9]{2}$/.test(t):this.earlyDialogs.forEach(e=>e.dispose()),this.earlyDialogs.clear(),this.delegate&&this.delegate.onReject&&this.delegate.onReject({message:e});return;default:throw Error(`Invalid status code ${t}`)}throw Error(`Executing what should be an unreachable code path receiving ${t} response.`)}}class tk extends tg{constructor(e,t,i){super(tn,e,t,i),this.core=e}dispose(){this.earlyDialog&&this.earlyDialog.dispose(),super.dispose()}accept(e={statusCode:200}){if(!this.acceptable)throw new eL(`${this.message.method} not acceptable in state ${this.transaction.state}.`);if(!this.confirmedDialog){if(this.earlyDialog)this.earlyDialog.confirm(),this.confirmedDialog=this.earlyDialog,this.earlyDialog=void 0;else{let e=this.transaction;if(!(e instanceof tn))throw Error("Transaction not instance of InviteClientTransaction.");let t=tc.initialDialogStateForUserAgentServer(this.message,this.toTag);this.confirmedDialog=new tI(e,this.core,t)}}let t=this.message.getHeaders("record-route").map(e=>`Record-Route: ${e}`),i=`Contact: ${this.core.configuration.contact.toString()}`,r="Allow: "+eV.toString();if(!e.body){if(this.confirmedDialog.signalingState===T.Stable)e.body=this.confirmedDialog.answer;else if(this.confirmedDialog.signalingState===T.Initial||this.confirmedDialog.signalingState===T.HaveRemoteOffer)throw Error("Response must have a body.")}e.statusCode=e.statusCode||200,e.extraHeaders=e.extraHeaders||[],e.extraHeaders=e.extraHeaders.concat(t),e.extraHeaders.push(r),e.extraHeaders.push(i);let s=super.accept(e),n=this.confirmedDialog,o=Object.assign(Object.assign({},s),{session:n});return e.body&&this.confirmedDialog.signalingState!==T.Stable&&this.confirmedDialog.signalingStateTransition(e.body),o}progress(e={statusCode:180}){if(!this.progressable)throw new eL(`${this.message.method} not progressable in state ${this.transaction.state}.`);if(!this.earlyDialog){let e=this.transaction;if(!(e instanceof tn))throw Error("Transaction not instance of InviteClientTransaction.");let t=tc.initialDialogStateForUserAgentServer(this.message,this.toTag,!0);this.earlyDialog=new tI(e,this.core,t)}let t=this.message.getHeaders("record-route").map(e=>`Record-Route: ${e}`),i=`Contact: ${this.core.configuration.contact}`;e.extraHeaders=e.extraHeaders||[],e.extraHeaders=e.extraHeaders.concat(t),e.extraHeaders.push(i);let r=super.progress(e),s=this.earlyDialog,n=Object.assign(Object.assign({},r),{session:s});return e.body&&this.earlyDialog.signalingState!==T.Stable&&this.earlyDialog.signalingStateTransition(e.body),n}redirect(e,t={statusCode:302}){return super.redirect(e,t)}reject(e={statusCode:486}){return super.reject(e)}}class t$ extends td{constructor(e,t,i){super(ta,e,t,i)}}class tA extends td{constructor(e,t,i){super(ta,e,t,i)}}class tP extends tg{constructor(e,t,i){super(tu,e,t,i),this.core=e}}(h=I=I||(I={})).Initial="Initial",h.NotifyWait="NotifyWait",h.Pending="Pending",h.Active="Active",h.Terminated="Terminated";class tH extends td{constructor(e,t,i){super(ta,e.userAgentCore,e.createOutgoingRequestMessage(w.SUBSCRIBE,i),t),this.dialog=e}waitNotifyStop(){}receiveResponse(e){if(e.statusCode&&e.statusCode>=200&&e.statusCode<300){let t=e.getHeader("Expires");if(t){let e=Number(t);this.dialog.subscriptionExpires>e&&(this.dialog.subscriptionExpires=e)}else this.logger.warn("Expires header missing in a 200-class response to SUBSCRIBE")}e.statusCode&&e.statusCode>=400&&e.statusCode<700&&[404,405,410,416,480,481,482,483,484,485,489,501,604].includes(e.statusCode)&&this.dialog.terminate(),super.receiveResponse(e)}}class t_ extends tc{constructor(e,t,i,r,s,n){super(r,s),this.delegate=n,this._autoRefresh=!1,this._subscriptionEvent=e,this._subscriptionExpires=t,this._subscriptionExpiresInitial=t,this._subscriptionExpiresLastSet=Math.floor(Date.now()/1e3),this._subscriptionRefresh=void 0,this._subscriptionRefreshLastSet=void 0,this._subscriptionState=i,this.logger=r.loggerFactory.getLogger("sip.subscribe-dialog"),this.logger.log(`SUBSCRIBE dialog ${this.id} constructed`)}static initialDialogStateForSubscription(e,t){let i=t.getHeaders("record-route"),r=t.parseHeader("contact");if(!r)throw Error("Contact undefined.");if(!(r instanceof ey))throw Error("Contact not instance of NameAddrHeader.");let s=r.uri,n=e.cseq,o=e.callId,a=e.fromTag,c=t.fromTag;if(!o)throw Error("Call id undefined.");if(!a)throw Error("From tag undefined.");if(!c)throw Error("To tag undefined.");if(!e.from)throw Error("From undefined.");if(!e.to)throw Error("To undefined.");return{id:o+a+c,early:!1,callId:o,localTag:a,remoteTag:c,localSequenceNumber:n,remoteSequenceNumber:void 0,localURI:e.from.uri,remoteURI:e.to.uri,remoteTarget:s,routeSet:i,secure:!1}}dispose(){super.dispose(),this.N&&(clearTimeout(this.N),this.N=void 0),this.refreshTimerClear(),this.logger.log(`SUBSCRIBE dialog ${this.id} destroyed`)}get autoRefresh(){return this._autoRefresh}set autoRefresh(e){this._autoRefresh=!0,this.refreshTimerSet()}get subscriptionEvent(){return this._subscriptionEvent}get subscriptionExpires(){let e=Math.floor(Date.now()/1e3)-this._subscriptionExpiresLastSet;return Math.max(this._subscriptionExpires-e,0)}set subscriptionExpires(e){if(e<0)throw Error("Expires must be greater than or equal to zero.");if(this._subscriptionExpires=e,this._subscriptionExpiresLastSet=Math.floor(Date.now()/1e3),this.autoRefresh){let t=this.subscriptionRefresh;(void 0===t||t>=e)&&this.refreshTimerSet()}}get subscriptionExpiresInitial(){return this._subscriptionExpiresInitial}get subscriptionRefresh(){if(void 0===this._subscriptionRefresh||void 0===this._subscriptionRefreshLastSet)return;let e=Math.floor(Date.now()/1e3)-this._subscriptionRefreshLastSet;return Math.max(this._subscriptionRefresh-e,0)}get subscriptionState(){return this._subscriptionState}receiveRequest(e){if(this.logger.log(`SUBSCRIBE dialog ${this.id} received ${e.method} request`),!this.sequenceGuard(e)){this.logger.log(`SUBSCRIBE dialog ${this.id} rejected out of order ${e.method} request.`);return}(super.receiveRequest(e),e.method===w.NOTIFY)?this.onNotify(e):(this.logger.log(`SUBSCRIBE dialog ${this.id} received unimplemented ${e.method} request`),this.core.replyStateless(e,{statusCode:501}))}refresh(){let e="Allow: "+eV.toString(),t={};return t.extraHeaders=(t.extraHeaders||[]).slice(),t.extraHeaders.push(e),t.extraHeaders.push("Event: "+this.subscriptionEvent),t.extraHeaders.push("Expires: "+this.subscriptionExpiresInitial),t.extraHeaders.push("Contact: "+this.core.configuration.contact.toString()),this.subscribe(void 0,t)}subscribe(e,t={}){var i;if(this.subscriptionState!==I.Pending&&this.subscriptionState!==I.Active)throw Error(`Invalid state ${this.subscriptionState}. May only re-subscribe while in state "pending" or "active".`);this.logger.log(`SUBSCRIBE dialog ${this.id} sending SUBSCRIBE request`);let r=new tH(this,e,t);return this.N&&(clearTimeout(this.N),this.N=void 0),(null===(i=t.extraHeaders)||void 0===i?void 0:i.includes("Expires: 0"))||(this.N=setTimeout(()=>this.timerN(),eO.TIMER_N)),r}terminate(){this.stateTransition(I.Terminated),this.onTerminated()}unsubscribe(){let e="Allow: "+eV.toString(),t={};return t.extraHeaders=(t.extraHeaders||[]).slice(),t.extraHeaders.push(e),t.extraHeaders.push("Event: "+this.subscriptionEvent),t.extraHeaders.push("Expires: 0"),t.extraHeaders.push("Contact: "+this.core.configuration.contact.toString()),this.subscribe(void 0,t)}onNotify(e){let t=e.parseHeader("Event").event;if(!t||t!==this.subscriptionEvent){this.core.replyStateless(e,{statusCode:489});return}this.N&&(clearTimeout(this.N),this.N=void 0);let i=e.parseHeader("Subscription-State");if(!i||!i.state){this.core.replyStateless(e,{statusCode:489});return}let r=i.state,s=i.expires?Math.max(i.expires,0):void 0;switch(r){case"pending":this.stateTransition(I.Pending,s);break;case"active":this.stateTransition(I.Active,s);break;case"terminated":this.stateTransition(I.Terminated,s);break;default:this.logger.warn("Unrecognized subscription state.")}let n=new tS(this,e);this.delegate&&this.delegate.onNotify?this.delegate.onNotify(n):n.accept()}onRefresh(e){this.delegate&&this.delegate.onRefresh&&this.delegate.onRefresh(e)}onTerminated(){this.delegate&&this.delegate.onTerminated&&this.delegate.onTerminated()}refreshTimerClear(){this.refreshTimer&&(clearTimeout(this.refreshTimer),this.refreshTimer=void 0)}refreshTimerSet(){if(this.refreshTimerClear(),this.autoRefresh&&this.subscriptionExpires>0){let e=900*this.subscriptionExpires;this._subscriptionRefresh=Math.floor(e/1e3),this._subscriptionRefreshLastSet=Math.floor(Date.now()/1e3),this.refreshTimer=setTimeout(()=>{this.refreshTimer=void 0,this._subscriptionRefresh=void 0,this._subscriptionRefreshLastSet=void 0,this.onRefresh(this.refresh())},e)}}stateTransition(e,t){let i=()=>{this.logger.warn(`Invalid subscription state transition from ${this.subscriptionState} to ${e}`)};switch(e){case I.Initial:case I.NotifyWait:i();return;case I.Pending:if(this.subscriptionState!==I.NotifyWait&&this.subscriptionState!==I.Pending){i();return}break;case I.Active:case I.Terminated:if(this.subscriptionState!==I.NotifyWait&&this.subscriptionState!==I.Pending&&this.subscriptionState!==I.Active){i();return}break;default:i();return}e===I.Pending&&t&&(this.subscriptionExpires=t),e===I.Active&&t&&(this.subscriptionExpires=t),e===I.Terminated&&this.dispose(),this._subscriptionState=e}timerN(){this.logger.warn("Timer N expired for SUBSCRIBE dialog. Timed out waiting for NOTIFY."),this.subscriptionState!==I.Terminated&&(this.stateTransition(I.Terminated),this.onTerminated())}}class tq extends td{constructor(e,t,i){let r=t.getHeader("Event");if(!r)throw Error("Event undefined");let s=t.getHeader("Expires");if(!s)throw Error("Expires undefined");super(ta,e,t,i),this.delegate=i,this.subscriberId=t.callId+t.fromTag+r,this.subscriptionExpiresRequested=this.subscriptionExpires=Number(s),this.subscriptionEvent=r,this.subscriptionState=I.NotifyWait,this.waitNotifyStart()}dispose(){super.dispose()}onNotify(e){let t=e.message.parseHeader("Event").event;if(!t||t!==this.subscriptionEvent){this.logger.warn("Failed to parse event."),e.reject({statusCode:489});return}let i=e.message.parseHeader("Subscription-State");if(!i||!i.state){this.logger.warn("Failed to parse subscription state."),e.reject({statusCode:489});return}let r=i.state;switch(r){case"pending":case"active":case"terminated":break;default:this.logger.warn(`Invalid subscription state ${r}`),e.reject({statusCode:489});return}if("terminated"!==r&&!e.message.parseHeader("contact")){this.logger.warn("Failed to parse contact."),e.reject({statusCode:489});return}if(this.dialog)throw Error("Dialog already created. This implementation only supports install of single subscriptions.");switch(this.waitNotifyStop(),this.subscriptionExpires=i.expires?Math.min(this.subscriptionExpires,Math.max(i.expires,0)):this.subscriptionExpires,r){case"pending":this.subscriptionState=I.Pending;break;case"active":this.subscriptionState=I.Active;break;case"terminated":this.subscriptionState=I.Terminated;break;default:throw Error(`Unrecognized state ${r}.`)}if(this.subscriptionState!==I.Terminated){let t=t_.initialDialogStateForSubscription(this.message,e.message);this.dialog=new t_(this.subscriptionEvent,this.subscriptionExpires,this.subscriptionState,this.core,t)}if(this.delegate&&this.delegate.onNotify){let t=this.dialog;this.delegate.onNotify({request:e,subscription:t})}else e.accept()}waitNotifyStart(){this.N||(this.core.subscribers.set(this.subscriberId,this),this.N=setTimeout(()=>this.timerN(),eO.TIMER_N))}waitNotifyStop(){this.N&&(this.core.subscribers.delete(this.subscriberId),clearTimeout(this.N),this.N=void 0)}receiveResponse(e){if(this.authenticationGuard(e)){if(e.statusCode&&e.statusCode>=200&&e.statusCode<300){let t=e.getHeader("Expires");if(t){let e=Number(t);e>this.subscriptionExpiresRequested&&this.logger.warn("Expires header in a 200-class response to SUBSCRIBE with a higher value than the one in the request"),ethis.subscriptionExpires&&(this.dialog.subscriptionExpires=this.subscriptionExpires)}e.statusCode&&e.statusCode>=300&&e.statusCode<700&&this.waitNotifyStop(),super.receiveResponse(e)}}timerN(){this.logger.warn("Timer N expired for SUBSCRIBE user agent client. Timed out waiting for NOTIFY."),this.waitNotifyStop(),this.delegate&&this.delegate.onNotifyTimeout&&this.delegate.onNotifyTimeout()}}class tM extends tg{constructor(e,t,i){super(tu,e,t,i),this.core=e}}const tN=["application/sdp","application/dtmf-relay"];class tO{constructor(e,t={}){this.userAgentClients=new Map,this.userAgentServers=new Map,this.configuration=e,this.delegate=t,this.dialogs=new Map,this.subscribers=new Map,this.logger=e.loggerFactory.getLogger("sip.user-agent-core")}dispose(){this.reset()}reset(){this.dialogs.forEach(e=>e.dispose()),this.dialogs.clear(),this.subscribers.forEach(e=>e.dispose()),this.subscribers.clear(),this.userAgentClients.forEach(e=>e.dispose()),this.userAgentClients.clear(),this.userAgentServers.forEach(e=>e.dispose()),this.userAgentServers.clear()}get loggerFactory(){return this.configuration.loggerFactory}get transport(){let e=this.configuration.transportAccessor();if(!e)throw Error("Transport undefined.");return e}invite(e,t){return new tD(this,e,t)}message(e,t){return new tv(this,e,t)}publish(e,t){return new t$(this,e,t)}register(e,t){return new tA(this,e,t)}subscribe(e,t){return new tq(this,e,t)}request(e,t){return new td(ta,this,e,t)}makeOutgoingRequestMessage(e,t,i,r,s,n,o){let a=this.configuration.sipjsId,c=this.configuration.displayName,l=this.configuration.viaForceRport,d=this.configuration.hackViaTcp,h=this.configuration.supportedOptionTags.slice();e===w.REGISTER&&h.push("path","gruu"),e===w.INVITE&&(this.configuration.contact.pubGruu||this.configuration.contact.tempGruu)&&h.push("gruu");let u=this.configuration.routeSet;return new eH(e,t,i,r,Object.assign(Object.assign({},{callIdPrefix:a,forceRport:l,fromDisplayName:c,hackViaTcp:d,optionTags:h,routeSet:u,userAgentString:this.configuration.userAgentHeaderFieldValue,viaHost:this.configuration.viaHost}),s),n,o)}receiveIncomingRequestFromTransport(e){this.receiveRequestFromTransport(e)}receiveIncomingResponseFromTransport(e){this.receiveResponseFromTransport(e)}replyStateless(e,t){let i=this.configuration.userAgentHeaderFieldValue,r=this.configuration.supportedOptionTagsResponse,s=tt(e,t=Object.assign(Object.assign({},t),{userAgent:i,supported:r}));return this.transport.send(s.message).catch(t=>{t instanceof Error&&this.logger.error(t.message),this.logger.error(`Transport error occurred sending stateless reply to ${e.method} request.`)}),s}receiveRequestFromTransport(e){let t=e.viaBranch,i=this.userAgentServers.get(t);if(e.method===w.ACK&&i&&i.transaction.state===x.Accepted&&i instanceof tk){this.logger.warn(`Discarding out of dialog ACK after 2xx response sent on transaction ${t}.`);return}if(e.method===w.CANCEL){i?(this.replyStateless(e,{statusCode:200}),i.transaction instanceof tn&&i.transaction.state===x.Proceeding&&i instanceof tk&&i.receiveCancel(e)):this.replyStateless(e,{statusCode:481});return}if(i){i.transaction.receiveRequest(e);return}this.receiveRequest(e)}receiveRequest(e){var t,i,r,s;if(!eV.includes(e.method)){let t="Allow: "+eV.toString();this.replyStateless(e,{statusCode:405,extraHeaders:[t]});return}if(!e.ruri)throw Error("Request-URI undefined.");if("sip"!==e.ruri.scheme){this.replyStateless(e,{statusCode:416});return}let n=e.ruri;if(!((t=this.configuration.aor)&&t.user===n.user)&&!((i=this.configuration.contact.uri)&&i.user===n.user||(r=this.configuration.contact.pubGruu)&&r.user===n.user||(s=this.configuration.contact.tempGruu)&&s.user===n.user)){this.logger.warn("Request-URI does not point to us."),e.method!==w.ACK&&this.replyStateless(e,{statusCode:404});return}if(e.method===w.INVITE&&!e.hasHeader("Contact")){this.replyStateless(e,{statusCode:400,reasonPhrase:"Missing Contact Header"});return}if(!e.toTag){let t=e.viaBranch;if(!this.userAgentServers.has(t)&&Array.from(this.userAgentServers.values()).some(t=>t.transaction.request.fromTag===e.fromTag&&t.transaction.request.callId===e.callId&&t.transaction.request.cseq===e.cseq)){this.replyStateless(e,{statusCode:482});return}}e.toTag?this.receiveInsideDialogRequest(e):this.receiveOutsideDialogRequest(e)}receiveInsideDialogRequest(e){if(e.method===w.NOTIFY){let t=e.parseHeader("Event");if(!t||!t.event){this.replyStateless(e,{statusCode:489});return}let i=e.callId+e.toTag+t.event,r=this.subscribers.get(i);if(r){let t=new tS(this,e);r.onNotify(t);return}}let t=e.callId+e.toTag+e.fromTag,i=this.dialogs.get(t);if(i){if(e.method===w.OPTIONS){let t="Allow: "+eV.toString(),i="Accept: "+tN.toString();this.replyStateless(e,{statusCode:200,extraHeaders:[t,i]});return}i.receiveRequest(e);return}e.method!==w.ACK&&this.replyStateless(e,{statusCode:481})}receiveOutsideDialogRequest(e){switch(e.method){case w.ACK:break;case w.BYE:this.replyStateless(e,{statusCode:481});break;case w.CANCEL:throw Error(`Unexpected out of dialog request method ${e.method}.`);case w.INFO:this.replyStateless(e,{statusCode:405});break;case w.INVITE:{let t=new tk(this,e);this.delegate.onInvite?this.delegate.onInvite(t):t.reject()}break;case w.MESSAGE:{let t=new tb(this,e);this.delegate.onMessage?this.delegate.onMessage(t):t.accept()}break;case w.NOTIFY:{let t=new tS(this,e);this.delegate.onNotify?this.delegate.onNotify(t):t.reject({statusCode:405})}break;case w.OPTIONS:{let t="Allow: "+eV.toString(),i="Accept: "+tN.toString();this.replyStateless(e,{statusCode:200,extraHeaders:[t,i]})}break;case w.REFER:{let t=new tx(this,e);this.delegate.onRefer?this.delegate.onRefer(t):t.reject({statusCode:405})}break;case w.REGISTER:{let t=new tP(this,e);this.delegate.onRegister?this.delegate.onRegister(t):t.reject({statusCode:405})}break;case w.SUBSCRIBE:{let t=new tM(this,e);this.delegate.onSubscribe?this.delegate.onSubscribe(t):t.reject({statusCode:480})}break;default:throw Error(`Unexpected out of dialog request method ${e.method}.`)}}receiveResponseFromTransport(e){if(e.getHeaders("via").length>1){this.logger.warn("More than one Via header field present in the response, dropping");return}let t=e.viaBranch+e.method,i=this.userAgentClients.get(t);i?i.transaction.receiveResponse(e):this.logger.warn(`Discarding unmatched ${e.statusCode} response to ${e.method} ${t}.`)}}var tj={};M(tj,"Transport",()=>tF);class tL extends ej{constructor(e){super(e||"An error occurred during state transition.")}}(u=D=D||(D={})).Connecting="Connecting",u.Connected="Connected",u.Disconnecting="Disconnecting",u.Disconnected="Disconnected";class tF{constructor(e,t){if(this._state=D.Disconnected,this.transitioningState=!1,this._stateEventEmitter=new eK,this.logger=e,t){let e=null==t?void 0:t.wsServers,i=null==t?void 0:t.maxReconnectionAttempts;void 0!==e&&this.logger.warn('The transport option "wsServers" as has apparently been specified and has been deprecated. It will no longer be available starting with SIP.js release 0.16.0. Please update accordingly.'),void 0!==i&&this.logger.warn('The transport option "maxReconnectionAttempts" as has apparently been specified and has been deprecated. It will no longer be available starting with SIP.js release 0.16.0. Please update accordingly.'),e&&!t.server&&("string"==typeof e&&(t.server=e),e instanceof Array&&(t.server=e[0]))}this.configuration=Object.assign(Object.assign({},tF.defaultOptions),t);let i=this.configuration.server,r=y.parse(i,"absoluteURI");if(-1===r)throw this.logger.error(`Invalid WebSocket Server URL "${i}"`),Error("Invalid WebSocket Server URL");if(!["wss","ws","udp"].includes(r.scheme))throw this.logger.error(`Invalid scheme in WebSocket Server URL "${i}"`),Error("Invalid scheme in WebSocket Server URL");this._protocol=r.scheme.toUpperCase()}dispose(){return this.disconnect()}get protocol(){return this._protocol}get server(){return this.configuration.server}get state(){return this._state}get stateChange(){return this._stateEventEmitter}get ws(){return this._ws}connect(){return this._connect()}disconnect(){return this._disconnect()}isConnected(){return this.state===D.Connected}send(e){return this._send(e)}_connect(){let e;switch(this.logger.log(`Connecting ${this.server}`),this.state){case D.Connecting:if(this.transitioningState)return Promise.reject(this.transitionLoopDetectedError(D.Connecting));if(!this.connectPromise)throw Error("Connect promise must be defined.");return this.connectPromise;case D.Connected:if(this.transitioningState)return Promise.reject(this.transitionLoopDetectedError(D.Connecting));if(this.connectPromise)throw Error("Connect promise must not be defined.");return Promise.resolve();case D.Disconnecting:if(this.connectPromise)throw Error("Connect promise must not be defined.");try{this.transitionState(D.Connecting)}catch(e){if(e instanceof tL)return Promise.reject(e);throw e}break;case D.Disconnected:if(this.connectPromise)throw Error("Connect promise must not be defined.");try{this.transitionState(D.Connecting)}catch(e){if(e instanceof tL)return Promise.reject(e);throw e}break;default:throw Error("Unknown state")}try{(e=new WebSocket(this.server,"sip")).binaryType="arraybuffer",e.addEventListener("close",t=>this.onWebSocketClose(t,e)),e.addEventListener("error",t=>this.onWebSocketError(t,e)),e.addEventListener("open",t=>this.onWebSocketOpen(t,e)),e.addEventListener("message",t=>this.onWebSocketMessage(t,e)),this._ws=e}catch(e){return this._ws=void 0,this.logger.error("WebSocket construction failed."),this.logger.error(e.toString()),new Promise((t,i)=>{this.connectResolve=t,this.connectReject=i,this.transitionState(D.Disconnected,e)})}return this.connectPromise=new Promise((t,i)=>{this.connectResolve=t,this.connectReject=i,this.connectTimeout=setTimeout(()=>{this.logger.warn("Connect timed out. Exceeded time set in configuration.connectionTimeout: "+this.configuration.connectionTimeout+"s."),e.close(1e3)},1e3*this.configuration.connectionTimeout)}),this.connectPromise}_disconnect(){switch(this.logger.log(`Disconnecting ${this.server}`),this.state){case D.Connecting:if(this.disconnectPromise)throw Error("Disconnect promise must not be defined.");try{this.transitionState(D.Disconnecting)}catch(e){if(e instanceof tL)return Promise.reject(e);throw e}break;case D.Connected:if(this.disconnectPromise)throw Error("Disconnect promise must not be defined.");try{this.transitionState(D.Disconnecting)}catch(e){if(e instanceof tL)return Promise.reject(e);throw e}break;case D.Disconnecting:if(this.transitioningState)return Promise.reject(this.transitionLoopDetectedError(D.Disconnecting));if(!this.disconnectPromise)throw Error("Disconnect promise must be defined.");return this.disconnectPromise;case D.Disconnected:if(this.transitioningState)return Promise.reject(this.transitionLoopDetectedError(D.Disconnecting));if(this.disconnectPromise)throw Error("Disconnect promise must not be defined.");return Promise.resolve();default:throw Error("Unknown state")}if(!this._ws)throw Error("WebSocket must be defined.");let e=this._ws;return this.disconnectPromise=new Promise((t,i)=>{this.disconnectResolve=t,this.disconnectReject=i;try{e.close(1e3)}catch(e){throw this.logger.error("WebSocket close failed."),this.logger.error(e.toString()),e}}),this.disconnectPromise}_send(e){if(!0===this.configuration.traceSip&&this.logger.log("Sending WebSocket message:\n\n"+e+"\n"),this._state!==D.Connected)return Promise.reject(Error("Not connected."));if(!this._ws)throw Error("WebSocket undefined.");try{this._ws.send(e)}catch(e){if(e instanceof Error)return Promise.reject(e);return Promise.reject(Error("WebSocket send failed."))}return Promise.resolve()}onWebSocketClose(e,t){if(t!==this._ws)return;let i=`WebSocket closed ${this.server} (code: ${e.code})`,r=this.disconnectPromise?void 0:Error(i);r&&this.logger.warn("WebSocket closed unexpectedly"),this.logger.log(i),this._ws=void 0,this.transitionState(D.Disconnected,r)}onWebSocketError(e,t){t===this._ws&&this.logger.error("WebSocket error occurred.")}onWebSocketMessage(e,t){let i;if(t!==this._ws)return;let r=e.data;if(/^(\r\n)+$/.test(r)){this.clearKeepAliveTimeout(),!0===this.configuration.traceSip&&this.logger.log("Received WebSocket message with CRLF Keep Alive response");return}if(!r){this.logger.warn("Received empty message, discarding...");return}if("string"!=typeof r){try{i=new TextDecoder().decode(new Uint8Array(r))}catch(e){this.logger.error(e.toString()),this.logger.error("Received WebSocket binary message failed to be converted into string, message discarded");return}!0===this.configuration.traceSip&&this.logger.log("Received WebSocket binary message:\n\n"+i+"\n")}else i=r,!0===this.configuration.traceSip&&this.logger.log("Received WebSocket text message:\n\n"+i+"\n");if(this.state!==D.Connected){this.logger.warn("Received message while not connected, discarding...");return}if(this.onMessage)try{this.onMessage(i)}catch(e){throw this.logger.error(e.toString()),this.logger.error("Exception thrown by onMessage callback"),e}}onWebSocketOpen(e,t){t===this._ws&&this._state===D.Connecting&&(this.logger.log(`WebSocket opened ${this.server}`),this.transitionState(D.Connected))}transitionLoopDetectedError(e){let t="A state transition loop has been detected.";return t+=` An attempt to transition from ${this._state} to ${e} before the prior transition completed. Perhaps you are synchronously calling connect() or disconnect() from a callback or state change handler?`,this.logger.error(t),new tL("Loop detected.")}transitionState(e,t){let i=()=>{throw Error(`Invalid state transition from ${this._state} to ${e}`)};if(this.transitioningState)throw this.transitionLoopDetectedError(e);switch(this.transitioningState=!0,this._state){case D.Connecting:e!==D.Connected&&e!==D.Disconnecting&&e!==D.Disconnected&&i();break;case D.Connected:e!==D.Disconnecting&&e!==D.Disconnected&&i();break;case D.Disconnecting:e!==D.Connecting&&e!==D.Disconnected&&i();break;case D.Disconnected:e!==D.Connecting&&i();break;default:throw Error("Unknown state.")}let r=this._state;this._state=e;let s=this.connectResolve,n=this.connectReject;r===D.Connecting&&(this.connectPromise=void 0,this.connectResolve=void 0,this.connectReject=void 0);let o=this.disconnectResolve,a=this.disconnectReject;if(r===D.Disconnecting&&(this.disconnectPromise=void 0,this.disconnectResolve=void 0,this.disconnectReject=void 0),this.connectTimeout&&(clearTimeout(this.connectTimeout),this.connectTimeout=void 0),this.logger.log(`Transitioned from ${r} to ${this._state}`),this._stateEventEmitter.emit(this._state),e===D.Connected&&(this.startSendingKeepAlives(),this.onConnect))try{this.onConnect()}catch(e){throw this.logger.error(e.toString()),this.logger.error("Exception thrown by onConnect callback"),e}if(r===D.Connected&&(this.stopSendingKeepAlives(),this.onDisconnect))try{t?this.onDisconnect(t):this.onDisconnect()}catch(e){throw this.logger.error(e.toString()),this.logger.error("Exception thrown by onDisconnect callback"),e}if(r===D.Connecting){if(!s)throw Error("Connect resolve undefined.");if(!n)throw Error("Connect reject undefined.");e===D.Connected?s():n(t||Error("Connect aborted."))}if(r===D.Disconnecting){if(!o)throw Error("Disconnect resolve undefined.");if(!a)throw Error("Disconnect reject undefined.");e===D.Disconnected?o():a(t||Error("Disconnect aborted."))}this.transitioningState=!1}clearKeepAliveTimeout(){this.keepAliveDebounceTimeout&&clearTimeout(this.keepAliveDebounceTimeout),this.keepAliveDebounceTimeout=void 0}sendKeepAlive(){return this.keepAliveDebounceTimeout?Promise.resolve():(this.keepAliveDebounceTimeout=setTimeout(()=>{this.clearKeepAliveTimeout()},1e3*this.configuration.keepAliveDebounce),this.send("\r\n\r\n"))}startSendingKeepAlives(){this.configuration.keepAliveInterval&&!this.keepAliveInterval&&(this.keepAliveInterval=setInterval(()=>{this.sendKeepAlive(),this.startSendingKeepAlives()},(e=>{let t=.8*e;return 1e3*(Math.random()*(e-t)+t)})(this.configuration.keepAliveInterval)))}stopSendingKeepAlives(){this.keepAliveInterval&&clearInterval(this.keepAliveInterval),this.keepAliveDebounceTimeout&&clearTimeout(this.keepAliveDebounceTimeout),this.keepAliveInterval=void 0,this.keepAliveDebounceTimeout=void 0}}tF.defaultOptions={server:"",connectionTimeout:5,keepAliveInterval:0,keepAliveDebounce:10,traceSip:!0},(g=k=k||(k={})).Started="Started",g.Stopped="Stopped";class tU{constructor(e={}){switch(this._publishers={},this._registerers={},this._sessions={},this._subscriptions={},this._state=k.Stopped,this._stateEventEmitter=new eK,this.delegate=e.delegate,this.options=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},tU.defaultOptions()),{sipjsId:ex(5)}),{uri:new eS("sip","anonymous."+ex(6),"anonymous.invalid")}),{viaHost:ex(12)+".invalid"}),tU.stripUndefinedProperties(e)),this.options.hackIpInContact&&("boolean"==typeof this.options.hackIpInContact&&this.options.hackIpInContact?this.options.viaHost="192.0.2."+Math.floor(254*Math.random()+1):this.options.hackIpInContact&&(this.options.viaHost=this.options.hackIpInContact)),this.loggerFactory=new te,this.logger=this.loggerFactory.getLogger("sip.UserAgent"),this.loggerFactory.builtinEnabled=this.options.logBuiltinEnabled,this.loggerFactory.connector=this.options.logConnector,this.options.logLevel){case"error":this.loggerFactory.level=b.error;break;case"warn":this.loggerFactory.level=b.warn;break;case"log":this.loggerFactory.level=b.log;break;case"debug":this.loggerFactory.level=b.debug}if(this.options.logConfiguration&&(this.logger.log("Configuration:"),Object.keys(this.options).forEach(e=>{let t=this.options[e];switch(e){case"uri":case"sessionDescriptionHandlerFactory":this.logger.log("· "+e+": "+t);break;case"authorizationPassword":this.logger.log("· "+e+": NOT SHOWN");break;case"transportConstructor":this.logger.log("· "+e+": "+t.name);break;default:this.logger.log("· "+e+": "+JSON.stringify(t))}})),this.options.transportOptions){let t=this.options.transportOptions,i=t.maxReconnectionAttempts,r=t.reconnectionTimeout;void 0!==i&&this.logger.warn('The transport option "maxReconnectionAttempts" as has apparently been specified and has been deprecated. It will no longer be available starting with SIP.js release 0.16.0. Please update accordingly.'),void 0!==r&&this.logger.warn('The transport option "reconnectionTimeout" as has apparently been specified and has been deprecated. It will no longer be available starting with SIP.js release 0.16.0. Please update accordingly.'),void 0===e.reconnectionDelay&&void 0!==r&&(this.options.reconnectionDelay=r),void 0===e.reconnectionAttempts&&void 0!==i&&(this.options.reconnectionAttempts=i)}if(void 0!==e.reconnectionDelay&&this.logger.warn('The user agent option "reconnectionDelay" as has apparently been specified and has been deprecated. It will no longer be available starting with SIP.js release 0.16.0. Please update accordingly.'),void 0!==e.reconnectionAttempts&&this.logger.warn('The user agent option "reconnectionAttempts" as has apparently been specified and has been deprecated. It will no longer be available starting with SIP.js release 0.16.0. Please update accordingly.'),this._transport=new this.options.transportConstructor(this.getLogger("sip.Transport"),this.options.transportOptions),this.initTransportCallbacks(),this._contact=this.initContact(),this._instanceId=this.options.instanceId?this.options.instanceId:tU.newUUID(),-1===y.parse(this._instanceId,"uuid"))throw Error("Invalid instanceId.");this._userAgentCore=this.initCore()}static makeURI(e){return y.URIParse(e)}static defaultOptions(){return{allowLegacyNotifications:!1,authorizationHa1:"",authorizationPassword:"",authorizationUsername:"",delegate:{},contactName:"",contactParams:{transport:"ws"},displayName:"",forceRport:!1,gracefulShutdown:!0,hackAllowUnregisteredOptionTags:!1,hackIpInContact:!1,hackViaTcp:!1,instanceId:"",instanceIdAlwaysAdded:!1,logBuiltinEnabled:!0,logConfiguration:!0,logConnector:()=>{},logLevel:"log",noAnswerTimeout:60,preloadedRouteSet:[],reconnectionAttempts:0,reconnectionDelay:4,sendInitialProvisionalResponse:!0,sessionDescriptionHandlerFactory:ed(),sessionDescriptionHandlerFactoryOptions:{},sipExtension100rel:C.Unsupported,sipExtensionReplaces:C.Unsupported,sipExtensionExtraSupported:[],sipjsId:"",transportConstructor:tF,transportOptions:{},uri:new eS("sip","anonymous","anonymous.invalid"),userAgentString:"SIP.js/0.21.1",viaHost:""}}static newUUID(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=Math.floor(16*Math.random());return("x"===e?t:t%4+8).toString(16)})}static stripUndefinedProperties(e){return Object.keys(e).reduce((t,i)=>(void 0!==e[i]&&(t[i]=e[i]),t),{})}get configuration(){return this.options}get contact(){return this._contact}get instanceId(){return this._instanceId}get state(){return this._state}get stateChange(){return this._stateEventEmitter}get transport(){return this._transport}get userAgentCore(){return this._userAgentCore}getLogger(e,t){return this.loggerFactory.getLogger(e,t)}getLoggerFactory(){return this.loggerFactory}isConnected(){return this.transport.isConnected()}reconnect(){return this.state===k.Stopped?Promise.reject(Error("User agent stopped.")):Promise.resolve().then(()=>this.transport.connect())}start(){return this.state===k.Started?(this.logger.warn("User agent already started"),Promise.resolve()):(this.logger.log(`Starting ${this.configuration.uri}`),this.transitionState(k.Started),this.transport.connect())}async stop(){if(this.state===k.Stopped)return this.logger.warn("User agent already stopped"),Promise.resolve();if(this.logger.log(`Stopping ${this.configuration.uri}`),!this.options.gracefulShutdown)return this.logger.log("Dispose of transport"),this.transport.dispose().catch(e=>{throw this.logger.error(e.message),e}),this.logger.log("Dispose of core"),this.userAgentCore.dispose(),this._publishers={},this._registerers={},this._sessions={},this._subscriptions={},this.transitionState(k.Stopped),Promise.resolve();let e=Object.assign({},this._publishers),t=Object.assign({},this._registerers),i=Object.assign({},this._sessions),r=Object.assign({},this._subscriptions),s=this.transport,n=this.userAgentCore;for(let e in this.logger.log("Dispose of registerers"),t)t[e]&&await t[e].dispose().catch(t=>{throw this.logger.error(t.message),delete this._registerers[e],t});for(let e in this.logger.log("Dispose of sessions"),i)i[e]&&await i[e].dispose().catch(t=>{throw this.logger.error(t.message),delete this._sessions[e],t});for(let e in this.logger.log("Dispose of subscriptions"),r)r[e]&&await r[e].dispose().catch(t=>{throw this.logger.error(t.message),delete this._subscriptions[e],t});for(let t in this.logger.log("Dispose of publishers"),e)e[t]&&await e[t].dispose().catch(e=>{throw this.logger.error(e.message),delete this._publishers[t],e});this.logger.log("Dispose of transport"),await s.dispose().catch(e=>{throw this.logger.error(e.message),e}),this.logger.log("Dispose of core"),n.dispose(),this.transitionState(k.Stopped)}_makeInviter(e,t){return new e6(this,e,t)}attemptReconnection(e=1){let t=this.options.reconnectionAttempts,i=this.options.reconnectionDelay;if(e>t){this.logger.log("Maximum reconnection attempts reached");return}this.logger.log(`Reconnection attempt ${e} of ${t} - trying`),setTimeout(()=>{this.reconnect().then(()=>{this.logger.log(`Reconnection attempt ${e} of ${t} - succeeded`)}).catch(i=>{this.logger.error(i.message),this.logger.log(`Reconnection attempt ${e} of ${t} - failed`),this.attemptReconnection(++e)})},1===e?0:1e3*i)}initContact(){let e=""!==this.options.contactName?this.options.contactName:ex(8),t=this.options.contactParams;return{pubGruu:void 0,tempGruu:void 0,uri:new eS("sip",e,this.options.viaHost,void 0,t),toString:(e={})=>{let i=e.anonymous||!1,r=e.outbound||!1,s=e.register||!1,n="<";return i?n+=this.contact.tempGruu||`sip:anonymous@anonymous.invalid;transport=${t.transport?t.transport:"ws"}`:s?n+=this.contact.uri:n+=this.contact.pubGruu||this.contact.uri,r&&(n+=";ob"),n+=">",this.options.instanceIdAlwaysAdded&&(n+=';+sip.instance=""'),n}}}initCore(){let e=[];e.push("outbound"),this.options.sipExtension100rel===C.Supported&&e.push("100rel"),this.options.sipExtensionReplaces===C.Supported&&e.push("replaces"),this.options.sipExtensionExtraSupported&&e.push(...this.options.sipExtensionExtraSupported),this.options.hackAllowUnregisteredOptionTags||(e=e.filter(e=>e1[e]));let t=(e=Array.from(new Set(e))).slice();return(this.contact.pubGruu||this.contact.tempGruu)&&t.push("gruu"),new tO({aor:this.options.uri,contact:this.contact,displayName:this.options.displayName,loggerFactory:this.loggerFactory,hackViaTcp:this.options.hackViaTcp,routeSet:this.options.preloadedRouteSet,supportedOptionTags:e,supportedOptionTagsResponse:t,sipjsId:this.options.sipjsId,userAgentHeaderFieldValue:this.options.userAgentString,viaForceRport:this.options.forceRport,viaHost:this.options.viaHost,authenticationFactory:()=>{let e=this.options.authorizationUsername?this.options.authorizationUsername:this.options.uri.user,t=this.options.authorizationPassword?this.options.authorizationPassword:void 0,i=this.options.authorizationHa1?this.options.authorizationHa1:void 0;return new e5(this.getLoggerFactory(),i,e,t)},transportAccessor:()=>this.transport},{onInvite:e=>{var t;let i=new e2(this,e);if(e.delegate={onCancel:e=>{i._onCancel(e)},onTransportError:e=>{this.logger.error("A transport error has occurred while handling an incoming INVITE request.")}},e.trying(),this.options.sipExtensionReplaces!==C.Unsupported){let t=e.message.parseHeader("replaces");if(t){let e=t.call_id;if("string"!=typeof e)throw Error("Type of call id is not string");let r=t.replaces_to_tag;if("string"!=typeof r)throw Error("Type of to tag is not string");let s=t.replaces_from_tag;if("string"!=typeof s)throw Error("type of from tag is not string");let n=this.userAgentCore.dialogs.get(e+r+s);if(!n){i.reject({statusCode:481});return}if(!n.early&&!0===t.early_only){i.reject({statusCode:486});return}let o=this._sessions[e+s]||this._sessions[e+r]||void 0;if(!o)throw Error("Session does not exist.");i._replacee=o}}if(null===(t=this.delegate)||void 0===t?void 0:t.onInvite){if(i.autoSendAnInitialProvisionalResponse){i.progress().then(()=>{var e;if((null===(e=this.delegate)||void 0===e?void 0:e.onInvite)===void 0)throw Error("onInvite undefined.");this.delegate.onInvite(i)});return}this.delegate.onInvite(i);return}i.reject({statusCode:486})},onMessage:e=>{if(this.delegate&&this.delegate.onMessage){let t=new ez(e);this.delegate.onMessage(t)}else e.accept()},onNotify:e=>{if(this.delegate&&this.delegate.onNotify){let t=new eX(e);this.delegate.onNotify(t)}else this.options.allowLegacyNotifications?e.accept():e.reject({statusCode:481})},onRefer:e=>{this.logger.warn("Received an out of dialog REFER request"),this.delegate&&this.delegate.onReferRequest?this.delegate.onReferRequest(e):e.reject({statusCode:405})},onRegister:e=>{this.logger.warn("Received an out of dialog REGISTER request"),this.delegate&&this.delegate.onRegisterRequest?this.delegate.onRegisterRequest(e):e.reject({statusCode:405})},onSubscribe:e=>{this.logger.warn("Received an out of dialog SUBSCRIBE request"),this.delegate&&this.delegate.onSubscribeRequest?this.delegate.onSubscribeRequest(e):e.reject({statusCode:405})}})}initTransportCallbacks(){this.transport.onConnect=()=>this.onTransportConnect(),this.transport.onDisconnect=e=>this.onTransportDisconnect(e),this.transport.onMessage=e=>this.onTransportMessage(e)}onTransportConnect(){this.state!==k.Stopped&&this.delegate&&this.delegate.onConnect&&this.delegate.onConnect()}onTransportDisconnect(e){this.state!==k.Stopped&&(this.delegate&&this.delegate.onDisconnect&&this.delegate.onDisconnect(e),e&&this.options.reconnectionAttempts>0&&this.attemptReconnection())}onTransportMessage(e){let t=E.parseMessage(e,this.getLogger("sip.Parser"));if(!t){this.logger.warn("Failed to parse incoming message. Dropping.");return}if(this.state===k.Stopped&&t instanceof eA){this.logger.warn(`Received ${t.method} request while stopped. Dropping.`);return}let i=()=>{for(let e of["from","to","call_id","cseq","via"])if(!t.hasHeader(e))return this.logger.warn(`Missing mandatory header field : ${e}.`),!1;return!0};if(t instanceof eA){if(!i()){this.logger.warn("Request missing mandatory header field. Dropping.");return}if(!t.toTag&&t.callId.substr(0,5)===this.options.sipjsId){this.userAgentCore.replyStateless(t,{statusCode:482});return}let e=ek(t.body),r=t.getHeader("content-length");if(r&&e1){this.logger.warn("More than one Via header field present in the response. Dropping.");return}if(t.via.host!==this.options.viaHost||void 0!==t.via.port){this.logger.warn("Via sent-by in the response does not match UA Via host value. Dropping.");return}let e=ek(t.body),r=t.getHeader("content-length");if(r&&e{throw Error(`Invalid state transition from ${this._state} to ${e}`)};switch(this._state){case k.Started:e!==k.Stopped&&i();break;case k.Stopped:e!==k.Started&&i();break;default:throw Error("Unknown state.")}this.logger.log(`Transitioned from ${this._state} to ${e}`),this._state=e,this._stateEventEmitter.emit(this._state)}}class tB{constructor(e,t={}){this.managedSessions=[],this.attemptingReconnection=!1,this.optionsPingFailure=!1,this.optionsPingRunning=!1,this.shouldBeConnected=!1,this.shouldBeRegistered=!1,this.delegate=t.delegate,this.options=Object.assign({aor:"",autoStop:!0,delegate:{},iceStopWaitingOnServerReflexive:!1,managedSessionFactory:em(),maxSimultaneousSessions:2,media:{},optionsPingInterval:-1,optionsPingRequestURI:"",reconnectionAttempts:3,reconnectionDelay:4,registrationRetry:!1,registrationRetryInterval:3,registerGuard:null,registererOptions:{},registererRegisterOptions:{},sendDTMFUsingSessionDescriptionHandler:!1,userAgentOptions:{}},tB.stripUndefinedProperties(t));let i=Object.assign({},t.userAgentOptions);if(i.transportConstructor||(i.transportConstructor=tF),i.transportOptions||(i.transportOptions={server:e}),!i.uri&&t.aor){let e=tU.makeURI(t.aor);if(!e)throw Error(`Failed to create valid URI from ${t.aor}`);i.uri=e}if(this.userAgent=new tU(i),this.userAgent.delegate={onConnect:()=>{this.logger.log("Connected"),this.delegate&&this.delegate.onServerConnect&&this.delegate.onServerConnect(),this.shouldBeRegistered&&this.register(),this.options.optionsPingInterval>0&&this.optionsPingStart()},onDisconnect:async e=>{this.logger.log("Disconnected");let t=!1;this.options.optionsPingInterval>0&&(t=this.optionsPingFailure,this.optionsPingFailure=!1,this.optionsPingStop()),this.delegate&&this.delegate.onServerDisconnect&&this.delegate.onServerDisconnect(e),(e||t)&&(this.registerer&&(this.logger.log("Disposing of registerer..."),this.registerer.dispose().catch(e=>{this.logger.debug("Error occurred disposing of registerer after connection with server was lost."),this.logger.debug(e.toString())}),this.registerer=void 0),this.managedSessions.slice().map(e=>e.session).forEach(async e=>{this.logger.log("Disposing of session..."),e.dispose().catch(e=>{this.logger.debug("Error occurred disposing of a session after connection with server was lost."),this.logger.debug(e.toString())})}),this.shouldBeConnected&&this.attemptReconnection())},onInvite:e=>{this.logger.log(`[${e.id}] Received INVITE`);let t=this.options.maxSimultaneousSessions;if(0!==t&&this.managedSessions.length>t){this.logger.warn(`[${e.id}] Session already in progress, rejecting INVITE...`),e.reject().then(()=>{this.logger.log(`[${e.id}] Rejected INVITE`)}).catch(t=>{this.logger.error(`[${e.id}] Failed to reject INVITE`),this.logger.error(t.toString())});return}let i={sessionDescriptionHandlerOptions:{constraints:this.constraints}};this.initSession(e,i),this.delegate&&this.delegate.onCallReceived?this.delegate.onCallReceived(e):(this.logger.warn(`[${e.id}] No handler available, rejecting INVITE...`),e.reject().then(()=>{this.logger.log(`[${e.id}] Rejected INVITE`)}).catch(t=>{this.logger.error(`[${e.id}] Failed to reject INVITE`),this.logger.error(t.toString())}))},onMessage:e=>{e.accept().then(()=>{this.delegate&&this.delegate.onMessageReceived&&this.delegate.onMessageReceived(e)})},onNotify:e=>{e.accept().then(()=>{this.delegate&&this.delegate.onNotificationReceived&&this.delegate.onNotificationReceived(e)})}},this.registererOptions=Object.assign({},t.registererOptions),this.registererRegisterOptions=Object.assign({},t.registererRegisterOptions),this.options.registrationRetry){this.registererRegisterOptions.requestDelegate=this.registererRegisterOptions.requestDelegate||{};let e=this.registererRegisterOptions.requestDelegate.onReject;this.registererRegisterOptions.requestDelegate.onReject=t=>{e&&e(t),this.attemptRegistration()}}this.logger=this.userAgent.getLogger("sip.SessionManager"),window.addEventListener("online",()=>{this.logger.log("Online"),this.shouldBeConnected&&this.connect()}),this.options.autoStop&&window.addEventListener("beforeunload",async()=>{this.shouldBeConnected=!1,this.shouldBeRegistered=!1,this.userAgent.state!==k.Stopped&&await this.userAgent.stop()})}static stripUndefinedProperties(e){return Object.keys(e).reduce((t,i)=>(void 0!==e[i]&&(t[i]=e[i]),t),{})}getLocalMediaStream(e){let t=e.sessionDescriptionHandler;if(t){if(!(t instanceof el))throw Error("Session description handler not instance of web SessionDescriptionHandler");return t.localMediaStream}}getRemoteMediaStream(e){let t=e.sessionDescriptionHandler;if(t){if(!(t instanceof el))throw Error("Session description handler not instance of web SessionDescriptionHandler");return t.remoteMediaStream}}getLocalAudioTrack(e){var t;return null===(t=this.getLocalMediaStream(e))||void 0===t?void 0:t.getTracks().find(e=>"audio"===e.kind)}getLocalVideoTrack(e){var t;return null===(t=this.getLocalMediaStream(e))||void 0===t?void 0:t.getTracks().find(e=>"video"===e.kind)}getRemoteAudioTrack(e){var t;return null===(t=this.getRemoteMediaStream(e))||void 0===t?void 0:t.getTracks().find(e=>"audio"===e.kind)}getRemoteVideoTrack(e){var t;return null===(t=this.getRemoteMediaStream(e))||void 0===t?void 0:t.getTracks().find(e=>"video"===e.kind)}async connect(){return(this.logger.log("Connecting UserAgent..."),this.shouldBeConnected=!0,this.userAgent.state!==k.Started)?this.userAgent.start():this.userAgent.reconnect()}async disconnect(){return(this.logger.log("Disconnecting UserAgent..."),this.userAgent.state===k.Stopped)?Promise.resolve():(this.shouldBeConnected=!1,this.shouldBeRegistered=!1,this.registerer=void 0,this.userAgent.stop())}isConnected(){return this.userAgent.isConnected()}async register(e){return this.logger.log("Registering UserAgent..."),this.shouldBeRegistered=!0,void 0!==e&&(this.registererRegisterOptions=Object.assign({},e)),this.registerer||(this.registerer=new e8(this.userAgent,this.registererOptions),this.registerer.stateChange.addListener(e=>{switch(e){case R.Initial:break;case R.Registered:this.delegate&&this.delegate.onRegistered&&this.delegate.onRegistered();break;case R.Unregistered:this.delegate&&this.delegate.onUnregistered&&this.delegate.onUnregistered(),this.shouldBeRegistered&&this.attemptRegistration();break;case R.Terminated:break;default:throw Error("Unknown registerer state.")}})),this.attemptRegistration(!0)}async unregister(e){return(this.logger.log("Unregistering UserAgent..."),this.shouldBeRegistered=!1,this.registerer)?this.registerer.unregister(e).then(()=>{}):(this.logger.warn("No registerer to unregister."),Promise.resolve())}async call(e,t,i){this.logger.log("Beginning Session...");let r=this.options.maxSimultaneousSessions;if(0!==r&&this.managedSessions.length>r)return Promise.reject(Error("Maximum number of sessions already exists."));let s=tU.makeURI(e);if(!s)return Promise.reject(Error(`Failed to create a valid URI from "${e}"`));if(t||(t={}),t.sessionDescriptionHandlerOptions||(t.sessionDescriptionHandlerOptions={}),t.sessionDescriptionHandlerOptions.constraints||(t.sessionDescriptionHandlerOptions.constraints=this.constraints),t.earlyMedia){(i=i||{}).requestDelegate=i.requestDelegate||{};let e=i.requestDelegate.onProgress;i.requestDelegate.onProgress=t=>{183===t.message.statusCode&&this.setupRemoteMedia(n),e&&e(t)}}this.options.iceStopWaitingOnServerReflexive&&(t.delegate=t.delegate||{},t.delegate.onSessionDescriptionHandler=e=>{if(!(e instanceof el))throw Error("Session description handler not instance of SessionDescriptionHandler");e.peerConnectionDelegate={onicecandidate:t=>{var i;(null===(i=t.candidate)||void 0===i?void 0:i.type)==="srflx"&&(this.logger.log(`[${n.id}] Found srflx ICE candidate, stop waiting...`),e.iceGatheringComplete())}}});let n=new e6(this.userAgent,s,t);return this.sendInvite(n,t,i).then(()=>n)}async hangup(e){return(this.logger.log(`[${e.id}] Hangup...`),this.sessionExists(e))?this.terminate(e):Promise.reject(Error("Session does not exist."))}async answer(e,t){return(this.logger.log(`[${e.id}] Accepting Invitation...`),this.sessionExists(e))?e instanceof e2?(t||(t={}),t.sessionDescriptionHandlerOptions||(t.sessionDescriptionHandlerOptions={}),t.sessionDescriptionHandlerOptions.constraints||(t.sessionDescriptionHandlerOptions.constraints=this.constraints),e.accept(t)):Promise.reject(Error("Session not instance of Invitation.")):Promise.reject(Error("Session does not exist."))}async decline(e){return(this.logger.log(`[${e.id}] Rejecting Invitation...`),this.sessionExists(e))?e instanceof e2?e.reject():Promise.reject(Error("Session not instance of Invitation.")):Promise.reject(Error("Session does not exist."))}async hold(e){return this.logger.log(`[${e.id}] Holding session...`),this.setHold(e,!0)}async unhold(e){return this.logger.log(`[${e.id}] Unholding session...`),this.setHold(e,!1)}isHeld(e){let t=this.sessionManaged(e);return!!t&&t.held}mute(e){this.logger.log(`[${e.id}] Disabling media tracks...`),this.setMute(e,!0)}unmute(e){this.logger.log(`[${e.id}] Enabling media tracks...`),this.setMute(e,!1)}isMuted(e){let t=this.sessionManaged(e);return!!t&&t.muted}async sendDTMF(e,t){return(this.logger.log(`[${e.id}] Sending DTMF...`),/^[0-9A-D#*,]$/.exec(t))?this.sessionExists(e)?(this.logger.log(`[${e.id}] Sending DTMF tone: ${t}`),this.options.sendDTMFUsingSessionDescriptionHandler)?e.sessionDescriptionHandler?e.sessionDescriptionHandler.sendDtmf(t)?Promise.resolve():Promise.reject(Error("Failed to send DTMF")):Promise.reject(Error("Session desciption handler undefined.")):e.info({requestOptions:{body:{contentDisposition:"render",contentType:"application/dtmf-relay",content:"Signal="+t+"\r\nDuration=2000"}}}).then(()=>{}):Promise.reject(Error("Session does not exist.")):Promise.reject(Error("Invalid DTMF tone."))}async transfer(e,t,i){if(this.logger.log(`[${e.id}] Referring session...`),t instanceof e0)return e.refer(t,i).then(()=>{});let r=tU.makeURI(t);return r?e.refer(r,i).then(()=>{}):Promise.reject(Error(`Failed to create a valid URI from "${t}"`))}async message(e,t){this.logger.log("Sending message...");let i=tU.makeURI(e);return i?new e7(this.userAgent,i,t).message():Promise.reject(Error(`Failed to create a valid URI from "${e}"`))}get constraints(){let e={audio:!0,video:!1};return this.options.media.constraints&&(e=Object.assign({},this.options.media.constraints)),e}attemptReconnection(e=1){let t=this.options.reconnectionAttempts,i=this.options.reconnectionDelay;if(!this.shouldBeConnected){this.logger.log("Should not be connected currently");return}if(this.attemptingReconnection&&this.logger.log("Reconnection attempt already in progress"),e>t){this.logger.log("Reconnection maximum attempts reached");return}1===e?this.logger.log(`Reconnection attempt ${e} of ${t} - trying`):this.logger.log(`Reconnection attempt ${e} of ${t} - trying in ${i} seconds`),this.attemptingReconnection=!0,setTimeout(()=>{if(!this.shouldBeConnected){this.logger.log(`Reconnection attempt ${e} of ${t} - aborted`),this.attemptingReconnection=!1;return}this.userAgent.reconnect().then(()=>{this.logger.log(`Reconnection attempt ${e} of ${t} - succeeded`),this.attemptingReconnection=!1}).catch(i=>{this.logger.log(`Reconnection attempt ${e} of ${t} - failed`),this.logger.error(i.message),this.attemptingReconnection=!1,this.attemptReconnection(++e)})},1===e?0:1e3*i)}attemptRegistration(e=!1){if(this.logger.log(`Registration attempt ${e?"without delay":""}`),!this.shouldBeRegistered)return this.logger.log("Should not be registered currently"),Promise.resolve();if(void 0!==this.registrationAttemptTimeout)return this.logger.log("Registration attempt already in progress"),Promise.resolve();let t=()=>this.registerer?this.isConnected()?this.userAgent.state===k.Stopped?(this.logger.log("User agent stopped"),Promise.resolve()):this.options.registerGuard?this.options.registerGuard().catch(e=>{throw this.logger.log("Register guard rejected will making registration attempt"),e}).then(e=>e||!this.registerer?Promise.resolve():this.registerer.register(this.registererRegisterOptions).then(()=>{})):this.registerer.register(this.registererRegisterOptions).then(()=>{}):(this.logger.log("User agent not connected"),Promise.resolve()):(this.logger.log("Registerer undefined"),Promise.resolve()),i=e=>1e3*(Math.random()*(2*e-e)+e);return new Promise((r,s)=>{this.registrationAttemptTimeout=setTimeout(()=>{t().then(()=>{this.registrationAttemptTimeout=void 0,r()}).catch(e=>{this.registrationAttemptTimeout=void 0,e instanceof eY?r():s(e)})},e?0:i(this.options.registrationRetryInterval))})}cleanupMedia(e){let t=this.sessionManaged(e);if(!t)throw Error("Managed session does not exist.");t.mediaLocal&&t.mediaLocal.video&&(t.mediaLocal.video.srcObject=null,t.mediaLocal.video.pause()),t.mediaRemote&&(t.mediaRemote.audio&&(t.mediaRemote.audio.srcObject=null,t.mediaRemote.audio.pause()),t.mediaRemote.video&&(t.mediaRemote.video.srcObject=null,t.mediaRemote.video.pause()))}enableReceiverTracks(e,t){if(!this.sessionExists(e))throw Error("Session does not exist.");let i=e.sessionDescriptionHandler;if(!(i instanceof el))throw Error("Session's session description handler not instance of SessionDescriptionHandler.");i.enableReceiverTracks(t)}enableSenderTracks(e,t){if(!this.sessionExists(e))throw Error("Session does not exist.");let i=e.sessionDescriptionHandler;if(!(i instanceof el))throw Error("Session's session description handler not instance of SessionDescriptionHandler.");i.enableSenderTracks(t)}initSession(e,t){this.sessionAdd(e),this.delegate&&this.delegate.onCallCreated&&this.delegate.onCallCreated(e),e.stateChange.addListener(t=>{switch(this.logger.log(`[${e.id}] Session state changed to ${t}`),t){case v.Initial:case v.Establishing:break;case v.Established:this.setupLocalMedia(e),this.setupRemoteMedia(e),this.delegate&&this.delegate.onCallAnswered&&this.delegate.onCallAnswered(e);break;case v.Terminating:case v.Terminated:this.sessionExists(e)&&(this.cleanupMedia(e),this.sessionRemove(e),this.delegate&&this.delegate.onCallHangup&&this.delegate.onCallHangup(e));break;default:throw Error("Unknown session state.")}}),e.delegate=e.delegate||{},e.delegate.onInfo=t=>{var i;let r,s;if((null===(i=this.delegate)||void 0===i?void 0:i.onCallDTMFReceived)===void 0){t.reject();return}let n=t.request.getHeader("content-type");if(!n||!/^application\/dtmf-relay/i.exec(n)){t.reject();return}let o=t.request.body.split("\r\n",2);if(2!==o.length){t.reject();return}let a=/^(Signal\s*?=\s*?)([0-9A-D#*]{1})(\s)?.*/;if(void 0!==o[0]&&a.test(o[0])&&(r=o[0].replace(a,"$2")),!r){t.reject();return}let c=/^(Duration\s?=\s?)([0-9]{1,4})(\s)?.*/;if(void 0!==o[1]&&c.test(o[1])&&(s=parseInt(o[1].replace(c,"$2"),10)),!s){t.reject();return}t.accept().then(()=>{if(this.delegate&&this.delegate.onCallDTMFReceived){if(!r||!s)throw Error("Tone or duration undefined.");this.delegate.onCallDTMFReceived(e,r,s)}}).catch(e=>{this.logger.error(e.message)})},e.delegate.onRefer=e=>{e.accept().then(()=>this.sendInvite(e.makeInviter(t),t)).catch(e=>{this.logger.error(e.message)})}}optionsPingRun(e,t,i){if(this.options.optionsPingInterval<1)throw Error("Invalid options ping interval.");this.optionsPingRunning||(this.optionsPingRunning=!0,this.optionsPingTimeout=setTimeout(()=>{this.optionsPingTimeout=void 0;let r=()=>{this.optionsPingFailure=!1,this.optionsPingRunning&&(this.optionsPingRunning=!1,this.optionsPingRun(e,t,i))},s=()=>{this.logger.error("OPTIONS ping failed"),this.optionsPingFailure=!0,this.optionsPingRunning=!1,this.userAgent.transport.disconnect().catch(e=>this.logger.error(e))},n=this.userAgent.userAgentCore,o=n.makeOutgoingRequestMessage("OPTIONS",e,t,i,{});this.optionsPingRequest=n.request(o,{onAccept:()=>{this.optionsPingRequest=void 0,r()},onReject:e=>{this.optionsPingRequest=void 0,408===e.message.statusCode||503===e.message.statusCode?s():r()}})},1e3*this.options.optionsPingInterval))}optionsPingStart(){let e,t,i;if(this.logger.log("OPTIONS pings started"),this.options.optionsPingRequestURI){if(!(e=tU.makeURI(this.options.optionsPingRequestURI)))throw Error("Failed to create Request URI.");t=this.userAgent.contact.uri.clone(),i=this.userAgent.contact.uri.clone()}else if(this.options.aor){let r=tU.makeURI(this.options.aor);if(!r)throw Error("Failed to create URI.");(e=r.clone()).user=void 0,t=r.clone(),i=r.clone()}else{this.logger.error("You have enabled sending OPTIONS pings and as such you must provide either a) an AOR to register, or b) an RURI to use for the target of the OPTIONS ping requests. ");return}this.optionsPingRun(e,t,i)}optionsPingStop(){this.logger.log("OPTIONS pings stopped"),this.optionsPingRunning=!1,this.optionsPingFailure=!1,this.optionsPingRequest&&(this.optionsPingRequest.dispose(),this.optionsPingRequest=void 0),this.optionsPingTimeout&&(clearTimeout(this.optionsPingTimeout),this.optionsPingTimeout=void 0)}async sendInvite(e,t,i){return this.initSession(e,t),e.invite(i).then(()=>{this.logger.log(`[${e.id}] Sent INVITE`)})}sessionAdd(e){let t=this.options.managedSessionFactory(this,e);this.managedSessions.push(t)}sessionExists(e){return void 0!==this.sessionManaged(e)}sessionManaged(e){return this.managedSessions.find(t=>t.session.id===e.id)}sessionRemove(e){this.managedSessions=this.managedSessions.filter(t=>t.session.id!==e.id)}async setHold(e,t){if(!this.sessionExists(e))return Promise.reject(Error("Session does not exist."));if(this.isHeld(e)===t)return Promise.resolve();if(!(e.sessionDescriptionHandler instanceof el))throw Error("Session's session description handler not instance of SessionDescriptionHandler.");let i=e.sessionDescriptionHandlerOptionsReInvite;i.hold=t,e.sessionDescriptionHandlerOptionsReInvite=i;let r=this.sessionManaged(e);if(!r)throw Error("Managed session is undefiend.");return r.held=t,e.invite({requestDelegate:{onAccept:()=>{let i=this.sessionManaged(e);void 0!==i&&(i.held=t,this.enableReceiverTracks(e,!i.held),this.enableSenderTracks(e,!i.held&&!i.muted),this.delegate&&this.delegate.onCallHold&&this.delegate.onCallHold(e,i.held))},onReject:()=>{this.logger.warn(`[${e.id}] Re-invite request was rejected`);let i=this.sessionManaged(e);void 0!==i&&(i.held=!t,this.enableReceiverTracks(e,!i.held),this.enableSenderTracks(e,!i.held&&!i.muted),this.delegate&&this.delegate.onCallHold&&this.delegate.onCallHold(e,i.held))}}}).then(()=>{let t=this.sessionManaged(e);void 0!==t&&(this.enableReceiverTracks(e,!t.held),this.enableSenderTracks(e,!t.held&&!t.muted))}).catch(i=>{throw r.held=!t,i instanceof eY&&this.logger.error(`[${e.id}] A hold request is already in progress.`),i})}setMute(e,t){if(!this.sessionExists(e)){this.logger.warn(`[${e.id}] A session is required to enabled/disable media tracks`);return}if(e.state!==v.Established){this.logger.warn(`[${e.id}] An established session is required to enable/disable media tracks`);return}let i=this.sessionManaged(e);void 0!==i&&(i.muted=t,this.enableSenderTracks(e,!i.held&&!i.muted))}setupLocalMedia(e){let t=this.sessionManaged(e);if(!t)throw Error("Managed session does not exist.");let i="function"==typeof this.options.media.local?this.options.media.local(e):this.options.media.local;t.mediaLocal=i;let r=null==i?void 0:i.video;if(r){let t=this.getLocalMediaStream(e);if(!t)throw Error("Local media stream undefiend.");r.srcObject=t,r.volume=0,r.play().catch(t=>{this.logger.error(`[${e.id}] Failed to play local media`),this.logger.error(t.message)})}}setupRemoteMedia(e){let t=this.sessionManaged(e);if(!t)throw Error("Managed session does not exist.");let i="function"==typeof this.options.media.remote?this.options.media.remote(e):this.options.media.remote;t.mediaRemote=i;let r=(null==i?void 0:i.video)||(null==i?void 0:i.audio);if(r){let t=this.getRemoteMediaStream(e);if(!t)throw Error("Remote media stream undefiend.");r.autoplay=!0,r.srcObject=t,r.play().catch(t=>{this.logger.error(`[${e.id}] Failed to play remote media`),this.logger.error(t.message)}),t.onaddtrack=()=>{this.logger.log("Remote media onaddtrack"),r.load(),r.play().catch(t=>{this.logger.error(`[${e.id}] Failed to play remote media`),this.logger.error(t.message)})}}}async terminate(e){switch(this.logger.log(`[${e.id}] Terminating...`),e.state){case v.Initial:if(e instanceof e6)return e.cancel().then(()=>{this.logger.log(`[${e.id}] Inviter never sent INVITE (canceled)`)});if(e instanceof e2)return e.reject().then(()=>{this.logger.log(`[${e.id}] Invitation rejected (sent 480)`)});throw Error("Unknown session type.");case v.Establishing:if(e instanceof e6)return e.cancel().then(()=>{this.logger.log(`[${e.id}] Inviter canceled (sent CANCEL)`)});if(e instanceof e2)return e.reject().then(()=>{this.logger.log(`[${e.id}] Invitation rejected (sent 480)`)});throw Error("Unknown session type.");case v.Established:return e.bye().then(()=>{this.logger.log(`[${e.id}] Session ended (sent BYE)`)});case v.Terminating:case v.Terminated:break;default:throw Error("Unknown state")}return this.logger.log(`[${e.id}] Terminating in state ${e.state}, no action taken`),Promise.resolve()}}q(ep,ef),q(ep,{}),q(ep,{}),q(ep,{}),q(ep,{}),q(ep,ev);var tG={},tV={};M(tV,"SimpleUser",()=>tW);class tW{constructor(e,t={}){this.session=void 0,this.delegate=t.delegate,this.options=Object.assign({},t);let i={aor:this.options.aor,delegate:{onCallAnswered:()=>{var e,t;return null===(t=null===(e=this.delegate)||void 0===e?void 0:e.onCallAnswered)||void 0===t?void 0:t.call(e)},onCallCreated:e=>{var t,i;this.session=e,null===(i=null===(t=this.delegate)||void 0===t?void 0:t.onCallCreated)||void 0===i||i.call(t)},onCallReceived:()=>{var e,t;return null===(t=null===(e=this.delegate)||void 0===e?void 0:e.onCallReceived)||void 0===t?void 0:t.call(e)},onCallHangup:()=>{var e,t;this.session=void 0,(null===(e=this.delegate)||void 0===e?void 0:e.onCallHangup)&&(null===(t=this.delegate)||void 0===t||t.onCallHangup())},onCallHold:(e,t)=>{var i,r;return null===(r=null===(i=this.delegate)||void 0===i?void 0:i.onCallHold)||void 0===r?void 0:r.call(i,t)},onCallDTMFReceived:(e,t,i)=>{var r,s;return null===(s=null===(r=this.delegate)||void 0===r?void 0:r.onCallDTMFReceived)||void 0===s?void 0:s.call(r,t,i)},onMessageReceived:e=>{var t,i;return null===(i=null===(t=this.delegate)||void 0===t?void 0:t.onMessageReceived)||void 0===i?void 0:i.call(t,e.request.body)},onRegistered:()=>{var e,t;return null===(t=null===(e=this.delegate)||void 0===e?void 0:e.onRegistered)||void 0===t?void 0:t.call(e)},onUnregistered:()=>{var e,t;return null===(t=null===(e=this.delegate)||void 0===e?void 0:e.onUnregistered)||void 0===t?void 0:t.call(e)},onServerConnect:()=>{var e,t;return null===(t=null===(e=this.delegate)||void 0===e?void 0:e.onServerConnect)||void 0===t?void 0:t.call(e)},onServerDisconnect:()=>{var e,t;return null===(t=null===(e=this.delegate)||void 0===e?void 0:e.onServerDisconnect)||void 0===t?void 0:t.call(e)}},maxSimultaneousSessions:1,media:this.options.media,reconnectionAttempts:this.options.reconnectionAttempts,reconnectionDelay:this.options.reconnectionDelay,registererOptions:this.options.registererOptions,sendDTMFUsingSessionDescriptionHandler:this.options.sendDTMFUsingSessionDescriptionHandler,userAgentOptions:this.options.userAgentOptions};this.sessionManager=new tB(e,i),this.logger=this.sessionManager.userAgent.getLogger("sip.SimpleUser")}get id(){return this.options.userAgentOptions&&this.options.userAgentOptions.displayName||"Anonymous"}get localMediaStream(){return this.session&&this.sessionManager.getLocalMediaStream(this.session)}get remoteMediaStream(){return this.session&&this.sessionManager.getRemoteMediaStream(this.session)}get localAudioTrack(){return this.session&&this.sessionManager.getLocalAudioTrack(this.session)}get localVideoTrack(){return this.session&&this.sessionManager.getLocalVideoTrack(this.session)}get remoteAudioTrack(){return this.session&&this.sessionManager.getRemoteAudioTrack(this.session)}get remoteVideoTrack(){return this.session&&this.sessionManager.getRemoteVideoTrack(this.session)}connect(){return this.logger.log(`[${this.id}] Connecting UserAgent...`),this.sessionManager.connect()}disconnect(){return this.logger.log(`[${this.id}] Disconnecting UserAgent...`),this.sessionManager.disconnect()}isConnected(){return this.sessionManager.isConnected()}register(e){return this.logger.log(`[${this.id}] Registering UserAgent...`),this.sessionManager.register(e)}unregister(e){return this.logger.log(`[${this.id}] Unregistering UserAgent...`),this.sessionManager.unregister(e)}call(e,t,i){return(this.logger.log(`[${this.id}] Beginning Session...`),this.session)?Promise.reject(Error("Session already exists.")):this.sessionManager.call(e,t,i).then(()=>{})}hangup(){return(this.logger.log(`[${this.id}] Hangup...`),this.session)?this.sessionManager.hangup(this.session).then(()=>{this.session=void 0}):Promise.reject(Error("Session does not exist."))}answer(e){return(this.logger.log(`[${this.id}] Accepting Invitation...`),this.session)?this.sessionManager.answer(this.session,e):Promise.reject(Error("Session does not exist."))}decline(){return(this.logger.log(`[${this.id}] rejecting Invitation...`),this.session)?this.sessionManager.decline(this.session):Promise.reject(Error("Session does not exist."))}hold(){return(this.logger.log(`[${this.id}] holding session...`),this.session)?this.sessionManager.hold(this.session):Promise.reject(Error("Session does not exist."))}unhold(){return(this.logger.log(`[${this.id}] unholding session...`),this.session)?this.sessionManager.unhold(this.session):Promise.reject(Error("Session does not exist."))}isHeld(){return!!this.session&&this.sessionManager.isHeld(this.session)}mute(){return this.logger.log(`[${this.id}] disabling media tracks...`),this.session&&this.sessionManager.mute(this.session)}unmute(){return this.logger.log(`[${this.id}] enabling media tracks...`),this.session&&this.sessionManager.unmute(this.session)}isMuted(){return!!this.session&&this.sessionManager.isMuted(this.session)}sendDTMF(e){return(this.logger.log(`[${this.id}] sending DTMF...`),this.session)?this.sessionManager.sendDTMF(this.session,e):Promise.reject(Error("Session does not exist."))}message(e,t){return this.logger.log(`[${this.id}] sending message...`),this.sessionManager.message(e,t)}}q(tG,tV),q(tG,{}),q(tG,{});var tJ={};q(tJ,tj),q(tJ,{}),q(B,G),q(B,ei),q(B,ep),q(B,tG),q(B,tJ);var tK=(j("7etJZ"),j("7etJZ"));const tY={Transport:{Connecting:"connecting",Connected:"connected",Disconnecting:"disconnecting",Disconnected:"disconnected",ConnectionAttemptFailure:"wsConnectionError",ConnectionFailure:"transportError",SwitchBackToMainProxy:"switchBackProxy",Closed:"closed"},UserAgent:{Registered:"registered",Unregistered:"unregistered",RegistrationFailed:"registrationFailed",InviteSent:"inviteSent",Invite:"invite",ProvisionUpdate:"provisionUpdate",Started:"started",Stopped:"stopped"},Session:{Accepted:"accepted",Progress:"progress",Muted:"muted",Unmuted:"unmuted",Establishing:"establishing",Established:"established",Terminating:"terminating",Terminated:"terminated",UpdateReceived:"updateReceived",MoveToRcv:"moveToRcv",QOSPublished:"qos-published",RTPStat:"rtpStat",UserMediaFailed:"userMediaFailed"}};function tZ(){return this.__connect().catch(async e=>{this.logger.error(`unable to establish connection to server ${this.server} - ${e.message}`),this.emit(tY.Transport.ConnectionAttemptFailure,e),await this.reconnect()})}function tz(e=1,t=0,i=0){if(t<0||i<0||e<1)throw Error("Arguments must be positive numbers");return Math.floor(Math.random()*Math.abs(i-t))+t+(e-1)*(t+i)/2}function tX(e){this.servers.forEach(t=>{t.uri!==e||t.isError||(t.isError=!0)})}function tQ(){this.servers.forEach(e=>{e.isError=!1})}function t0(){return this.server===this.servers[0].uri}function t1(){this.__isCurrentMainProxy()?this.__onConnectedToMain():this.__onConnectedToBackup()}function t2(){this.__clearSwitchBackToMainProxyTimer()}function t6(){this.switchBackToMainProxyTimer||this.__scheduleSwitchBackToMainProxy()}function t7(){let e=this.switchBackInterval?1e3*this.switchBackInterval:null;e?(e+=this.__computeRandomTimeout(1,0,9e5),this.logger.warn("Try to switch back to main proxy after "+Math.round(e/1e3/60)+" min"),this.switchBackToMainProxyTimer=setTimeout(()=>{this.switchBackToMainProxyTimer=null,this.logger.warn("switchBack initiated"),this.emit(tY.Transport.SwitchBackToMainProxy)},e)):this.logger.warn("switchBackInterval is not set. Will be switched with next provision update ")}function t8(){this.switchBackToMainProxyTimer&&(clearTimeout(this.switchBackToMainProxyTimer),this.switchBackToMainProxyTimer=null)}async function t3(e){if(this.reconnectionAttempts>0&&this.logger.warn(`Reconnection attempt ${this.reconnectionAttempts} failed`),this.reconnectTimer){this.logger.warn("already trying to reconnect");return}if(e){this.logger.warn("forcing connect to main WS server"),await this.disconnect(),this.server=this.getNextWsServer(!0).uri,this.reconnectionAttempts=0,await this.connect();return}if(this.isConnected()){this.logger.warn("attempted to reconnect while connected - forcing disconnect"),await this.disconnect(),await this.reconnect();return}if(this.noAvailableServers()){this.logger.warn("no available WebSocket servers left"),this.emit(tY.Transport.Closed),this.__resetServersErrorStatus(),this.server=this.getNextWsServer(!0).uri,this.__clearSwitchBackToMainProxyTimer();return}if(this.reconnectionAttempts+=1,this.reconnectionAttempts>this.maxReconnectionAttempts){this.logger.warn(`maximum reconnection attempts for WebSocket ${this.server}`),this.logger.warn(`transport ${this.server} failed`),this.__setServerIsError(this.server),this.emit(tY.Transport.ConnectionFailure);let e=this.getNextWsServer();if(!e){this.logger.error("unable to connect to any transport");return}this.configuration.server=e.uri,this.reconnectionAttempts=0,await this.connect()}else{let e=(this.reconnectionTimeout-2)*1e3,t=(this.reconnectionTimeout+2)*1e3;this.nextReconnectInterval=this.__computeRandomTimeout(this.reconnectionAttempts,e,t),this.logger.warn(`trying to reconnect to WebSocket ${this.server} (reconnection attempt: ${this.reconnectionAttempts})`),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=void 0,this.connect().then(()=>{this.reconnectionAttempts=0})},this.nextReconnectInterval),this.logger.warn(`next reconnection attempt in: ${Math.round(this.nextReconnectInterval/1e3)} seconds.`)}}function t4(e=!1){if(!e&&this.noAvailableServers()){this.logger.warn("attempted to get next ws server but there are no available ws servers left");return}return(e?this.servers:this.servers.filter(({isError:e})=>!e))[0]}function t5(){return this.servers.every(({isError:e})=>e)}function t9(e){return!!e&&!!this.sipErrorCodes&&-1!==this.sipErrorCodes.indexOf(e.toString())}async function ie(){return this.logger.warn("Error received from the server. Disconnecting from the proxy"),this.__setServerIsError(this.server),this.emit(tY.Transport.ConnectionFailure),this.reconnectionAttempts=0,this.reconnect()}class it{volume;_enabled;_incoming;_outgoing;_audio;constructor(e={}){this._enabled=!!e.enabled,this.loadAudio(e)}loadAudio(e){this._incoming=e.incoming,this._outgoing=e.outgoing,this._audio={}}setVolume(e){let t=e;for(let e in t<0&&(t=0),t>1&&(t=1),this.volume=t,this._audio)Object.hasOwn(this._audio,e)&&(this._audio[e].volume=t)}playIncoming(e){return this._playSound(this._incoming,e,this.volume??.5)}playOutgoing(e){return this._playSound(this._outgoing,e,this.volume??1)}_playSound(e,t,i){if(!this._enabled||!e||!this._audio)return this;if(this._audio[e]){if(t)this._audio[e].currentTime=0,this._audio[e].playPromise=this._audio[e].play();else{let t=this._audio[e];void 0!==t.playPromise&&t.playPromise.then(()=>{t.pause()})}}else t&&(this._audio[e]=new Audio,this._audio[e].src=e,this._audio[e].loop=!0,this._audio[e].volume=i,this._audio[e].playPromise=this._audio[e].play());return this}}var tK=j("7etJZ");const ii=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}),ir=(e={},t={})=>Object.assign(e||{},t||{}),is={park:{reqid:1,command:"callpark"},startRecord:{reqid:2,command:"startcallrecord"},stopRecord:{reqid:3,command:"stopcallrecord"},flip:{reqid:3,command:"callflip",target:""},barge:{reqid:5,command:"barge"},whisper:{reqid:6,command:"whisper"},toVoicemail:{reqid:11,command:"toVoicemail"},ignore:{reqid:12,command:"ignore"},receiveConfirm:{reqid:17,command:"receiveConfirm"},replyWithMessage:{reqid:14,command:"replyWithMessage"}},io=["stun.l.google.com:19302"],ia=["408","502","503","504"];(p=$||($={})).new="mediaConnectionStateNew",p.checking="mediaConnectionStateChecking",p.connected="mediaConnectionStateConnected",p.completed="mediaConnectionStateCompleted",p.failed="mediaConnectionStateFailed",p.disconnected="mediaConnectionStateDisconnected",p.closed="mediaConnectionStateClosed",(f=A||(A={})).MSIE="IE",f.Chrome="Chrome",f.Firefox="Firefox",f.Safari="Safari",f.Opera="Opera";class ic{outboundRtpReport={};inboundRtpReport={};rttMs={};localCandidates=[];remoteCandidates=[];transport={}}class il{mediaStreamsImpl;release;reconnectMedia;getMediaStats;stopMediaStats;constructor(e){this.mediaStreamsImpl=new id(e),this.release=this.mediaStreamsImpl.release.bind(this.mediaStreamsImpl),this.reconnectMedia=this.mediaStreamsImpl.reconnectMedia.bind(this.mediaStreamsImpl),this.getMediaStats=this.mediaStreamsImpl.getMediaStats.bind(this.mediaStreamsImpl),this.stopMediaStats=this.mediaStreamsImpl.stopMediaStats.bind(this.mediaStreamsImpl)}set onRTPStat(e){this.mediaStreamsImpl.onRTPStat=e}get onRTPStat(){return this.mediaStreamsImpl.onRTPStat}set onMediaConnectionStateChange(e){this.mediaStreamsImpl.onMediaConnectionStateChange=e}get onMediaConnectionStateChange(){return this.mediaStreamsImpl.onMediaConnectionStateChange}}class id{preRTT;onMediaConnectionStateChange;onRTPStat;ktag="MediaStreams";session;isChrome;isFirefox;isSafari;mediaStatsTimer;constructor(e){if(this.ktag="MediaStreams",!e)throw Error(`${this.ktag}: Cannot initial media stream monitoring. Session is not passed`);this.session=e,this.onMediaConnectionStateChange=void 0,this.onPeerConnectionStateChange=this.onPeerConnectionStateChange.bind(this),this.session.sessionDescriptionHandler.peerConnection.addEventListener("iceconnectionstatechange",this.onPeerConnectionStateChange),this.isChrome="Chrome"===this.browser(),this.isFirefox="Firefox"===this.browser(),this.isSafari="Safari"===this.browser(),this.preRTT={currentRoundTripTime:0},this.isChrome||this.isFirefox||this.isSafari||this.session.logger.error(`${this.ktag} The web browser ${this.browser()} is not in the recommended list [Chrome, Safari, Firefox] !`)}getMediaStats(e,t=1e3){if(!this.onRTPStat&&!e){this.session.logger.debug(`${this.ktag}: No event callback provided to call when media starts are generated`);return}e&&(this.onRTPStat=e),this.mediaStatsTimer&&(clearTimeout(this.mediaStatsTimer),this.mediaStatsTimer=null),this.mediaStatsTimer=setInterval(()=>{this.mediaStatsTimerCallback()},t)}stopMediaStats(){this.mediaStatsTimer&&(clearTimeout(this.mediaStatsTimer),this.onRTPStat=void 0)}reconnectMedia(){return new Promise((e,t)=>{this.session.reinvite().then(()=>e()).catch(t)})}release(){this.mediaStatsTimer&&(clearTimeout(this.mediaStatsTimer),this.mediaStatsTimer=null);let e=this.session.sessionDescriptionHandler;e.peerConnection&&e.peerConnection.removeEventListener("iceconnectionstatechange",this.onPeerConnectionStateChange)}get tag(){return this.ktag}browser(){return navigator.userAgent.search("MSIE")>=0?"IE":navigator.userAgent.search("Chrome")>=0?"Chrome":navigator.userAgent.search("Firefox")>=0?"Firefox":navigator.userAgent.search("Safari")>=0&&0>navigator.userAgent.search("Chrome")?"Safari":navigator.userAgent.search("Opera")>=0?"Opera":"unknown"}mediaStatsTimerCallback(){let e=this.session.sessionDescriptionHandler.peerConnection;if(!e){this.session.logger.error(`${this.ktag}: The peer connection cannot be null`);return}let t=e.iceConnectionState;if("connected"!==t&&"completed"!==t){this.preRTT.currentRoundTripTime=0;return}this.getRTPReport(new ic)}onPeerConnectionStateChange(){let e="unknown",t=this.session.sessionDescriptionHandler.peerConnection.iceConnectionState;Object.hasOwn($,t)?(e=$[t],this.onMediaConnectionStateChange&&this.onMediaConnectionStateChange(e,this.session),this.session.emit(e)):this.session.logger.debug(`${this.tag}: Unknown peerConnection state: ${t}`),this.session.logger.debug(`${this.tag}: peerConnection State: ${t}`)}async getRTPReport(e){let t=this.session.sessionDescriptionHandler.peerConnection;try{(await t.getStats()).forEach(t=>{switch(t.type){case"inbound-rtp":Object.keys(t).forEach(i=>{switch(i){case"bytesReceived":case"packetsReceived":case"jitter":case"packetsLost":case"fractionLost":case"mediaType":e.inboundRtpReport[i]=t[i];break;case"roundTripTime":e.rttMs[i]=t[i]}});break;case"outbound-rtp":Object.keys(t).forEach(i=>{switch(i){case"bytesSent":case"packetsSent":case"mediaType":e.outboundRtpReport[i]=t[i]}});break;case"candidate-pair":Object.keys(t).forEach(i=>{"currentRoundTripTime"===i&&(e.rttMs[i]=t[i])});break;case"local-candidate":{let i={};Object.keys(t).forEach(e=>{switch(e){case"id":case"isRemote":case"ip":case"candidateType":case"networkType":case"priority":case"port":i[e]=t[e]}}),e.localCandidates.push(i);break}case"remote-candidate":{let i={};Object.keys(t).forEach(e=>{switch(e){case"id":case"isRemote":case"ip":case"priority":case"port":case"candidateType":i[e]=t[e]}}),e.remoteCandidates.push(i);break}case"media-source":e.outboundRtpReport.rtpLocalAudioLevel=t.audioLevel?t.audioLevel:0;break;case"track":if(!t.remoteSource)break;e.inboundRtpReport.rtpRemoteAudioLevel=t.audioLevel?t.audioLevel:0;break;case"transport":Object.keys(t).forEach(i=>{switch(i){case"dtlsState":case"packetsSent":case"packetsReceived":case"selectedCandidatePairChanges":case"selectedCandidatePairId":e.transport[i]=t[i]}})}}),Object.hasOwn(e.rttMs,"currentRoundTripTime")?e.rttMs.currentRoundTripTime=Math.round(1e3*e.rttMs.currentRoundTripTime):Object.hasOwn(e.rttMs,"roundTripTime")?(e.rttMs.currentRoundTripTime=e.rttMs.roundTripTime,delete e.rttMs.roundTripTime):e.rttMs.currentRoundTripTime=this.preRTT.currentRoundTripTime,Object.hasOwn(e.rttMs,"currentRoundTripTime")&&(this.preRTT.currentRoundTripTime=e.rttMs.currentRoundTripTime),this.onRTPStat(e,this.session),this.session.emit(tY.Session.RTPStat,e)}catch(e){this.session.logger.error(`${this.tag}: Unable to get media stats: ${e.message}`)}}}function ih(e){return!e.inboundRtpReport||!e.outboundRtpReport||0===e.inboundRtpReport.packetsReceived||0===e.outboundRtpReport.packetsSent}(m=P=P||(P={})).Initial="Initial",m.Published="Published",m.Unpublished="Unpublished",m.Terminated="Terminated";class iu{constructor(e,t,i,r={}){let s;this.disposed=!1,this._state=P.Initial,this._stateEventEmitter=new eK,this.userAgent=e,r.extraHeaders=(r.extraHeaders||[]).slice(),r.contentType=r.contentType||"text/plain","number"!=typeof r.expires||r.expires%1!=0?r.expires=3600:r.expires=Number(r.expires),"boolean"!=typeof r.unpublishOnClose&&(r.unpublishOnClose=!0),this.target=t,this.event=i,this.options=r,this.pubRequestExpires=r.expires,this.logger=e.getLogger("sip.Publisher");let n=r.params||{},o=n.fromUri?n.fromUri:e.userAgentCore.configuration.aor,a=n.toUri?n.toUri:t;r.body&&r.contentType&&(s={contentDisposition:"render",contentType:r.contentType,content:r.body});let c=(r.extraHeaders||[]).slice();this.request=e.userAgentCore.makeOutgoingRequestMessage(w.PUBLISH,t,o,a,n,c,s),this.id=this.target.toString()+":"+this.event,this.userAgent._publishers[this.id]=this}dispose(){return this.disposed?Promise.resolve():(this.disposed=!0,this.logger.log(`Publisher ${this.id} in state ${this.state} is being disposed`),delete this.userAgent._publishers[this.id],this.options.unpublishOnClose&&this.state===P.Published)?this.unpublish():(this.publishRefreshTimer&&(clearTimeout(this.publishRefreshTimer),this.publishRefreshTimer=void 0),this.pubRequestBody=void 0,this.pubRequestExpires=0,this.pubRequestEtag=void 0,Promise.resolve())}get state(){return this._state}get stateChange(){return this._stateEventEmitter}publish(e,t={}){if(this.publishRefreshTimer&&(clearTimeout(this.publishRefreshTimer),this.publishRefreshTimer=void 0),this.options.body=e,this.pubRequestBody=this.options.body,0===this.pubRequestExpires){if(void 0===this.options.expires)throw Error("Expires undefined.");this.pubRequestExpires=this.options.expires,this.pubRequestEtag=void 0}return this.sendPublishRequest(),Promise.resolve()}unpublish(e={}){return this.publishRefreshTimer&&(clearTimeout(this.publishRefreshTimer),this.publishRefreshTimer=void 0),this.pubRequestBody=void 0,this.pubRequestExpires=0,void 0!==this.pubRequestEtag&&this.sendPublishRequest(),Promise.resolve()}receiveResponse(e){let t=e.statusCode||0;switch(!0){case/^1[0-9]{2}$/.test(t.toString()):break;case/^2[0-9]{2}$/.test(t.toString()):if(e.hasHeader("SIP-ETag")?this.pubRequestEtag=e.getHeader("SIP-ETag"):this.logger.warn("SIP-ETag header missing in a 200-class response to PUBLISH"),e.hasHeader("Expires")){let t=Number(e.getHeader("Expires"));"number"==typeof t&&t>=0&&t<=this.pubRequestExpires?this.pubRequestExpires=t:this.logger.warn("Bad Expires header in a 200-class response to PUBLISH")}else this.logger.warn("Expires header missing in a 200-class response to PUBLISH");0!==this.pubRequestExpires?(this.publishRefreshTimer=setTimeout(()=>this.refreshRequest(),900*this.pubRequestExpires),this._state!==P.Published&&this.stateTransition(P.Published)):this.stateTransition(P.Unpublished);break;case/^412$/.test(t.toString()):if(void 0!==this.pubRequestEtag&&0!==this.pubRequestExpires){if(this.logger.warn("412 response to PUBLISH, recovering"),this.pubRequestEtag=void 0,void 0===this.options.body)throw Error("Body undefined.");this.publish(this.options.body)}else this.logger.warn("412 response to PUBLISH, recovery failed"),this.pubRequestExpires=0,this.stateTransition(P.Unpublished),this.stateTransition(P.Terminated);break;case/^423$/.test(t.toString()):if(0!==this.pubRequestExpires&&e.hasHeader("Min-Expires")){let t=Number(e.getHeader("Min-Expires"));if("number"==typeof t||t>this.pubRequestExpires){if(this.logger.warn("423 code in response to PUBLISH, adjusting the Expires value and trying to recover"),this.pubRequestExpires=t,void 0===this.options.body)throw Error("Body undefined.");this.publish(this.options.body)}else this.logger.warn("Bad 423 response Min-Expires header received for PUBLISH"),this.pubRequestExpires=0,this.stateTransition(P.Unpublished),this.stateTransition(P.Terminated)}else this.logger.warn("423 response to PUBLISH, recovery failed"),this.pubRequestExpires=0,this.stateTransition(P.Unpublished),this.stateTransition(P.Terminated);break;default:this.pubRequestExpires=0,this.stateTransition(P.Unpublished),this.stateTransition(P.Terminated)}0===this.pubRequestExpires&&(this.publishRefreshTimer&&(clearTimeout(this.publishRefreshTimer),this.publishRefreshTimer=void 0),this.pubRequestBody=void 0,this.pubRequestEtag=void 0)}send(){return this.userAgent.userAgentCore.publish(this.request,{onAccept:e=>this.receiveResponse(e.message),onProgress:e=>this.receiveResponse(e.message),onRedirect:e=>this.receiveResponse(e.message),onReject:e=>this.receiveResponse(e.message),onTrying:e=>this.receiveResponse(e.message)})}refreshRequest(){if(this.publishRefreshTimer&&(clearTimeout(this.publishRefreshTimer),this.publishRefreshTimer=void 0),this.pubRequestBody=void 0,void 0===this.pubRequestEtag)throw Error("Etag undefined");if(0===this.pubRequestExpires)throw Error("Expires zero");this.sendPublishRequest()}sendPublishRequest(){let e,t;let i=Object.assign({},this.options);i.extraHeaders=(this.options.extraHeaders||[]).slice(),i.extraHeaders.push("Event: "+this.event),i.extraHeaders.push("Expires: "+this.pubRequestExpires),void 0!==this.pubRequestEtag&&i.extraHeaders.push("SIP-If-Match: "+this.pubRequestEtag);let r=this.target,s=this.options.params||{};if(void 0!==this.pubRequestBody){if(void 0===this.options.contentType)throw Error("Content type undefined.");e={body:this.pubRequestBody,contentType:this.options.contentType}}return e&&(t=eq(e)),this.request=this.userAgent.userAgentCore.makeOutgoingRequestMessage(w.PUBLISH,r,s.fromUri?s.fromUri:this.userAgent.userAgentCore.configuration.aor,s.toUri?s.toUri:this.target,s,i.extraHeaders,t),this.send()}stateTransition(e){let t=()=>{throw Error(`Invalid state transition from ${this._state} to ${e}`)};switch(this._state){case P.Initial:e!==P.Published&&e!==P.Unpublished&&e!==P.Terminated&&t();break;case P.Published:e!==P.Unpublished&&e!==P.Terminated&&t();break;case P.Unpublished:e!==P.Published&&e!==P.Terminated&&t();break;case P.Terminated:t();break;default:throw Error("Unrecognized state.")}this._state=e,this.logger.log(`Publication transitioned to state ${this._state}`),this._stateEventEmitter.emit(this._state),e===P.Terminated&&this.dispose()}}const ig=e=>parseFloat(e.toString()).toFixed(2),ip=e=>{let t=iS();t.callID=e.request.callId||"",t.fromTag=e.request.fromTag||"",t.toTag=e.request.toTag||"",t.localID=e.request.getHeader("From"),t.remoteID=e.request.getHeader("To"),t.origID=e.request.getHeader("From");let i=setInterval(async()=>{let i=e.sessionDescriptionHandler;if(!i?.peerConnection){e.logger.error("There is no PeerConnection, can not getStats");return}let r=await i.peerConnection.getStats();e.logger.log(`getStatsResult ${JSON.stringify(r)}`),t.status=!0;let s="";r.forEach(e=>{switch(e.type){case"local-candidate":"srflx"===e.candidateType&&(s="string"==typeof e.networkType?e.networkType:iC(e.networkType),t.localAddr=e.ip+":"+e.port,t.localcandidate=e);break;case"remote-candidate":"host"===e.candidateType&&(t.remoteAddr=e.ip+":"+e.port,t.remotecandidate=e);break;case"inbound-rtp":{t.jitterBufferDiscardRate=e.packetsDiscarded/e.packetsReceived,t.inboundPacketsLost=e.packetsLost,t.inboundPacketsReceived=e.packetsReceived;let i=parseFloat(e.jitterBufferEmittedCount)>0?parseFloat(e.jitterBufferDelay)/parseFloat(e.jitterBufferEmittedCount)*1e3:0;t.totalSumJitter+=i,t.totalIntervalCount+=1,t.NLR=ig(e.packetsLost/(e.packetsLost+e.packetsReceived)*100),t.JBM=Math.max(t.JBM,i),t.netType=iT(t.netType,s);break}case"candidate-pair":t.RTD=Math.round(e.currentRoundTripTime/2*1e3);break;case"outbound-rtp":t.outboundPacketsSent=e.packetsSent;break;case"remote-inbound-rtp":t.outboundPacketsLost=e.packetsLost}})},e.userAgent.qosCollectInterval);e.stateChange.addListener(r=>{r===v.Terminated&&(e.logger.log("Release media streams"),e.mediaStreams?.release(),im(e,t),i&&clearInterval(i))})},im=async(e,t,i={})=>{let r=i||{},s=r.targetUrl||"sip:rtcpxr@rtcpxr.ringcentral.com:5060",n=r.event||"vq-rtcpxr";r.expires=60,r.contentType="application/vq-rtcpxr",r.extraHeaders=(r.extraHeaders||[]).concat(e.userAgent.defaultHeaders);let o=e.__qosStats.cpuOS,a=e.__qosStats.cpuRC,c=e.__qosStats.ram,l=e.__qosStats.netType||iv(t)||"",d="";"connection"in navigator&&(d=navigator.connection.effectiveType),r.extraHeaders.push(`p-rc-client-info:cpuRC=${a};cpuOS=${o};netType=${l};ram=${c};effectiveType=${d}`),e.logger.log(`QOS stats ${JSON.stringify(t)}`);let h=iy(ib(t)),u=new iu(e.userAgent,tU.makeURI(s),n,r);await u.publish(h),e.logger.log("Local Candidate: "+JSON.stringify(t.localcandidate)),e.logger.log("Remote Candidate: "+JSON.stringify(t.remotecandidate)),t.status=!1,await u.dispose(),e.emit(tY.Session.QOSPublished,h)},iv=e=>{let t=[];for(let[i,r]of Object.entries(e.netType))t.push(i+":"+ig(100*r/e.totalIntervalCount));return t.join()},ib=e=>{let t=100*e.inboundPacketsLost/(e.inboundPacketsReceived+e.inboundPacketsLost)||0,i=e.totalIntervalCount>0?e.totalSumJitter/e.totalIntervalCount:0;return{...e,NLR:ig(t),JBN:ig(i),JDR:ig(e.jitterBufferDiscardRate),MOSLQ:iR(e.inboundPacketsLost/(e.inboundPacketsLost+e.inboundPacketsReceived)),MOSCQ:iR(e.outboundPacketsLost/(e.outboundPacketsLost+e.outboundPacketsSent))}},iy=e=>{let t=e.NLR||0,i=e.JBM||0,r=e.JBN||0,s=e.JDR||0,n=e.MOSLQ||0,o=e.MOSCQ||0,a=e.RTD||0,c=e.callID||"",l=e.fromTag||"",d=e.toTag||"",h=e.localID||"",u=e.remoteID||"",g=e.localAddr||"",p=e.remoteAddr||"";return`VQSessionReport: CallTerm\r CallID: ${c}\r LocalID: ${h}\r RemoteID: ${u}\r @@ -23,5 +23,5 @@ PacketLoss: NLR=${t} JDR=${s}\r BurstGapLoss: BLD=0 BD=0 GLD=0 GD=0 GMIN=0\r Delay: RTD=${a} ESD=0 SOWD=0 IAJ=0\r QualityEst: MOSLQ=${ig(n)} MOSCQ=${ig(o)}\r -DialogID: ${c};to-tag=${d};from-tag=${l}`},iS=()=>({localAddr:"",remoteAddr:"",callID:"",localID:"",remoteID:"",origID:"",fromTag:"",toTag:"",timestamp:{start:"",stop:""},netType:{},jitterBufferNominal:0,jitterBufferMax:0,jitterBufferDiscardRate:0,totalSumJitter:0,totalIntervalCount:0,NLR:"",JBM:0,JBN:"",JDR:"",MOSLQ:0,MOSCQ:0,RTD:0,status:!1,localcandidate:{},remotecandidate:{},inboundPacketsLost:0,inboundPacketsReceived:0,outboundPacketsLost:0,outboundPacketsSent:0}),iT=(e={},t)=>({...e,[t]:(t in e?parseInt(e[t],10):0)+1}),iw={bluetooth:"Bluetooth",cellular:"Cellulars",ethernet:"Ethernet",wifi:"WiFi",vpn:"VPN",wimax:"WiMax","2g":"2G","3g":"3G","4g":"4G"},iC=e=>{let t=e.systemNetworkType||"unknown",i=t&&"unknown"!==t?t:e||"unknown";return i in iw?iw[i]:i};function iR(e){if(e<=.008)return 4.5;if(e>.45)return 1;let t=93.2062077233-100*e/(100*e+17.2647)*95+4,i=2.06405+.031738*t-356641e-9*t*t+293143e-11*t*t*t;return i<1?1:i>4.5?4.5:(e>=.35&&i>2.7?i=2.7:e>=.3&&i>3?i=3:e>=.2&&i>3.6?i=3.6:e>=.15&&i>3.7?i=3.7:e>=.1&&i>3.9?i=4.1:e>=.05&&i>4.1?i=4.3:e>=.03&&i>4.1&&(i=4.4),i)}function iE(e){if(e.__patched)return e;e.__patched=!0,e.held=!1,e.muted=!1,e.media=e.userAgent.media,e.__dispose=e.dispose.bind(e),e.dispose=i1.bind(e);let t=new tK.EventEmitter;return e.on=t.on.bind(t),e.off=t.off.bind(t),e.once=t.once.bind(t),e.addListener=t.addListener.bind(t),e.removeListener=t.removeListener.bind(t),e.removeAllListeners=t.removeAllListeners.bind(t),e.emit=t.emit.bind(t),e.sendInfoAndReceiveResponse=iA.bind(e),e.startRecord=iP.bind(e),e.stopRecord=iH.bind(e),e.sendMoveResponse=i_.bind(e),e.park=iF.bind(e),e.flip=iO.bind(e),e.whisper=ij.bind(e),e.barge=iL.bind(e),e.mute=iU.bind(e),e.unmute=iB.bind(e),e.addTrack=iG.bind(e),e.stopMediaStats=iV.bind(e),e.warmTransfer=iJ.bind(e),e.blindTransfer=iW.bind(e),e.transfer=iK.bind(e),e.hold=iZ.bind(e),e.unhold=iz.bind(e),e.dtmf=iX.bind(e),e.reinvite=iY.bind(e),e.forward=i0.bind(e),e.__qosStats={},e.setQosStats=re.bind(e),i5(e),e.stateChange.addListener(t=>{switch(t){case v.Establishing:e.emit(tY.Session.Establishing);break;case v.Established:i3(e),e.addTrack(),e.emit(tY.Session.Established);break;case v.Terminating:i3(e),i9(e),e.emit(tY.Session.Terminating);break;case v.Terminated:i3(e),e.emit(tY.Session.Terminated)}}),e.userAgent.onSession&&e.userAgent.onSession(e),e.mediaStatsStarted=!1,e.noAudioReportCount=0,e.reinviteForNoAudioSent=!1,e}function ix(e){try{!function(e){let t=e.request.getHeader("P-Rc"),i=e.request.getHeader("P-Rc-Api-Call-Info");if(t){let i=new DOMParser().parseFromString(t,"text/xml"),r=i.getElementsByTagName("Hdr")[0],s=i.getElementsByTagName("Bdy")[0];r&&(e.rcHeaders={sid:r.getAttribute("SID")||void 0,request:r.getAttribute("Req")||void 0,from:r.getAttribute("From")||void 0,to:r.getAttribute("To")||void 0}),s&&ir(e.rcHeaders,{srvLvl:s.getAttribute("SrvLvl"),srvLvlExt:s.getAttribute("SrvLvlExt"),nm:s.getAttribute("Nm"),toNm:s.getAttribute("ToNm")})}if(i){let t=function(e=""){let t=e.split(/; */).filter(e=>e.includes("=")),i={};for(let e of t){let[t,r]=e.split("=");t=t.trim(),r=r.trim(),t in i||(i[t]=r)}return i}(i);ir(e.rcHeaders,t)}}(e)}catch(t){e.logger.error("Can't parse RC headers from invite request due to "+t)}e.canUseRCMCallControl=iI.bind(e),e.createSessionMessage=iD.bind(e),e.ignore=iq.bind(e),e.replyWithMessage=iN.bind(e),e.sendReceiveConfirm=ik.bind(e),e.sendSessionMessage=i$.bind(e),e.toVoicemail=iM.bind(e),e.__accept=e.accept.bind(e),e.accept=iQ.bind(e),i5(e)}function iI(){return!!this.rcHeaders}function iD(e){if(!this.rcHeaders)throw Error("createSessionMessage options is undefined");return ir(e,{sid:this.rcHeaders.sid,request:this.rcHeaders.request,from:this.rcHeaders.to,to:this.rcHeaders.from}),this.userAgent.createRcMessage(e)}async function ik(){return this.sendSessionMessage(is.receiveConfirm).then(e=>(this.logger.log("sendReceiveConfirm success"),e)).catch(e=>this.logger.error(`failed to send receive confirmation via SIP MESSAGE due to ${e.message}`))}function i$(e){return this.rcHeaders||this.logger.error("Can't send SIP MESSAGE related to session: no RC headers available"),this.userAgent.sendMessage(this.rcHeaders.from,this.createSessionMessage(e))}async function iA(e,t){let i=t||{};return ir(e,i),delete e.extraHeaders,new Promise((t,r)=>{let s={extraHeaders:[...i.extraHeaders||[],...this.userAgent.defaultHeaders],body:eq({body:JSON.stringify({request:e}),contentType:"application/json;charset=utf-8"})};this.info({requestDelegate:{onAccept:i=>{let s;let{message:{statusCode:n,callId:o}}=i;if(200===n){let i=n=>{let a;if(n.callId!==o)return;let c=n?.body||"{}";try{a=JSON.parse(c)}catch(e){a={}}if(a.response&&a.response.command===e.command&&a.response.result)return(s&&clearTimeout(s),this.off("RC_SIP_INFO",i),"0"===a.response.result.code.toString())?t(a.response.result):r(a.response.result)};s=setTimeout(()=>{r(Error("Timeout: no reply")),this.off("RC_SIP_INFO",i)},6e4),this.on("RC_SIP_INFO",i)}else r(Error(`The INFO response status code is: ${n} (waiting for 200)`))},onReject:e=>{r(Error(`The INFO response status code is: ${e.message.statusCode} (waiting for 200)`))}},requestOptions:s})})}async function iP(){return i2(this,!0)}async function iH(){return i2(this,!1)}function i_(e,t,i,r={}){let s={extraHeaders:[...r.extraHeaders||[],...this.userAgent.defaultHeaders],body:eq({body:JSON.stringify({response:{reqId:e,command:"move",result:{code:t,description:i}}}),contentType:"application/json;charset=utf-8"})};this.info({requestOptions:s})}function iq(){return this.sendReceiveConfirm().then(()=>this.sendSessionMessage(is.ignore))}function iM(){return this.sendReceiveConfirm().then(()=>this.sendSessionMessage(is.toVoicemail))}function iN(e){let t='RepTp="'+e.replyType+'"';return 0===e.replyType?t+=' Bdy="'+e.replyText+'"':(1===e.replyType||4===e.replyType)&&(t+=' Vl="'+e.timeValue+'" Units="'+e.timeUnits+'" Dir="'+e.callbackDirection+'"'),this.sendReceiveConfirm().then(()=>this.sendSessionMessage({reqid:is.replyWithMessage.reqid,body:t}))}async function iO(e){return this.sendInfoAndReceiveResponse(is.flip,{target:e})}async function ij(){return this.sendInfoAndReceiveResponse(is.whisper)}async function iL(){return this.sendInfoAndReceiveResponse(is.barge)}function iF(){return this.sendInfoAndReceiveResponse(is.park)}function iU(e){if(this.state!==v.Established){this.logger.warn("An active session is required to mute audio");return}if(this.muted){this.logger.debug("Session already muted");return}this.logger.log("Muting Audio"),i7(this,!1),this.muted=!0,e||this.emit(tY.Session.Muted,this)}function iB(e){if(this.state!==v.Established){this.logger.warn("An active session is required to unmute audio");return}if(!this.muted){this.logger.debug("Session not muted");return}this.logger.log("Unmuting Audio"),i7(this,!0),this.muted=!1,e||this.emit(tY.Session.Unmuted,this)}function iG(e,t){let i,r;let s=this.sessionDescriptionHandler,n=s.peerConnection;if(e&&t)i=e,r=t;else if(this.media)i=this.media.remote,r=this.media.local;else throw Error("HTML Media Element not Defined");let o=new MediaStream;n?.getReceivers?n.getReceivers().forEach(e=>{let t=e.track;t&&(o.addTrack(t),this.logger.log("Remote track added"))}):(o=s.remoteMediaStream,this.logger.log("Remote track added")),i.srcObject=o,i.play().catch(()=>{this.logger.error("Remote play was rejected")});let a=new MediaStream;n?.getSenders?n.getSenders().forEach(e=>{let t=e.track;t&&"audio"===t.kind&&(a.addTrack(t),this.logger.log("Local track added"))}):(a=s.localMediaStream,this.logger.log("Local track added")),r.srcObject=a,r.play().catch(()=>{this.logger.error("Local play was rejected")}),a&&o&&!this.mediaStatsStarted&&(this.mediaStreams=new il(this),this.logger.log("Start gathering media report"),this.mediaStatsStarted=!0,this.mediaStreams.getMediaStats(e=>{this.userAgent.enableMediaReportLogging&&this.logger.log(`Got media report: ${JSON.stringify(e)}`),!this.reinviteForNoAudioSent&&ih(e)?(this.logger.log("No audio report"),this.noAudioReportCount++,3===this.noAudioReportCount&&(this.logger.log("No audio for 6 sec. Trying to recover audio by sending Re-invite"),this.mediaStreams.reconnectMedia(),this.reinviteForNoAudioSent=!0,this.noAudioReportCount=0)):ih(e)||(this.noAudioReportCount=0)},2e3))}function iV(){this.logger.log("Stopping media stats collection"),this&&(this.mediaStreams?.stopMediaStats(),this.mediaStatsStarted=!1,this.noAudioReportCount=0)}async function iW(e,t={}){this.logger.log("Call transfer initiated");let i="string"==typeof e?tU.makeURI(`sip:${e}@${this.userAgent.sipInfo.domain}`):e;return this.refer(i,t)}async function iJ(e,t={requestOptions:{extraHeaders:[]}}){t.requestOptions.extraHeaders=(t.requestOptions.extraHeaders||[]).concat(this.userAgent.defaultHeaders);let i="string"==typeof e?tU.makeURI(`sip:${e}@${this.userAgent.sipInfo.domain}`):e;return this.logger.log("Completing warm transfer"),this.refer(i,t)}async function iK(e,t={}){return t.requestOptions||(t.requestOptions={}),t.requestOptions.extraHeaders||(t.requestOptions.extraHeaders=[]),t.requestOptions.extraHeaders=[...t.requestOptions.extraHeaders,...this.userAgent.defaultHeaders],this.blindTransfer(e,t)}function iY(e={}){e.sessionDescriptionHandlerOptions={...e.sessionDescriptionHandlerOptions,offerToReceiveAudio:!0,offerToReceiveVideo:!1,iceRestart:!0},e.requestDelegate=e.requestDelegate||{};let t=e.requestDelegate.onAccept?.bind(e.requestDelegate);return e.requestDelegate.onAccept=(...e)=>{ix(this),t?.(...e)},this.invite(e)}async function iZ(){this.stopMediaStats();try{this.logger.log("Hold Initiated"),await i8(this,!0),this.logger.log("Hold completed, held is set to true")}catch(e){throw Error("Hold could not be completed")}}async function iz(){try{this.logger.log("Unhold Initiated"),await i8(this,!1),this.logger.log("Unhold completed, held is set to false")}catch(e){throw Error("Unhold could not be completed")}this.addTrack(this.media.remote,this.media.local)}function iX(e,t=100,i=50){let r=parseInt(t.toString(),10),s=parseInt(i.toString(),10),n=this.sessionDescriptionHandler.peerConnection;if(!n){this.logger.error("Peer connection closed.");return}let o=n.getSenders().find(e=>e.track&&"audio"===e.track.kind).dtmf;if(void 0!==o&&o)return this.logger.log(`Send DTMF: ${e} Duration: ${r} InterToneGap: ${s}`),o.insertDTMF(e,r,s);throw Error("Send DTMF failed")}async function iQ(e={}){let t=e||{};t.extraHeaders=(t.extraHeaders||[]).concat(this.userAgent.defaultHeaders),t.sessionDescriptionHandlerOptions={...t.sessionDescriptionHandlerOptions},t.sessionDescriptionHandlerOptions.constraints=t.sessionDescriptionHandlerOptions.constraints||{...this.userAgent.constraints,optional:[{DtlsSrtpKeyAgreement:"true"}]};try{await this.__accept(t),this.startTime=new Date,this.emit(tY.Session.Accepted,this.request)}catch(e){-1!==e.message.indexOf("Permission denied")&&this.emit(tY.Session.UserMediaFailed)}}async function i0(e,t={},i={}){return await this.accept(t),new Promise(t=>{this.mute(),setTimeout(()=>{t(this.transfer(e,i))},700)})}async function i1(){i9(this),this.__dispose()}async function i2(e,t){let i=t?is.startRecord:is.stopRecord;if(e.__isRecording&&!t||!e.__isRecording&&t){let r=await e.sendInfoAndReceiveResponse(i);return e.__isRecording=!!t,r}}function i6(e,t){let i=e.sessionDescriptionHandler.peerConnection;if(!i){e.logger.error("Peer connection closed.");return}i.getReceivers().forEach(e=>{e.track&&(e.track.enabled=t)})}function i7(e,t){let i=e.sessionDescriptionHandler.peerConnection;if(!i){e.logger.error("Peer connection closed.");return}i.getSenders().forEach(e=>{e.track&&(e.track.enabled=t)})}function i8(e,t){return new Promise((i,r)=>{if(e.held===t){i();return}let s=e.sessionDescriptionHandlerOptionsReInvite;s.hold=t,e.sessionDescriptionHandlerOptionsReInvite=s,e.invite({requestDelegate:{onAccept:async r=>{e.held=t;let s=e.sessionDescriptionHandler.peerConnection.localDescription.sdp.match(/a=(sendrecv|sendonly|recvonly|inactive)/),n=s?s[1]:"";e.__localHold=200===r.message.statusCode&&"sendonly"===n,e.logger.log("localhold is set to "+e.__localHold),i6(e,!e.held),i7(e,!e.held&&!e.muted),i()},onReject:()=>{e.logger.warn("re-invite request was rejected"),i6(e,!e.held),i7(e,!e.held&&!e.muted),r(Error("re-invite request was rejected"))}}}).then(()=>{i6(e,!t),i7(e,!t&&!e.muted)}).catch(t=>{t instanceof eY&&e.logger.error("A hold request is already in progress."),r(t)})})}function i3(e){e.userAgent.audioHelper.playOutgoing(!1),e.userAgent.audioHelper.playIncoming(!1)}function i4(e){e.userAgent.enableQos&&(e.logger.log("SessionDescriptionHandler created"),ip(e),navigator.mediaDevices.enumerateDevices().then(t=>{t.forEach(t=>e.logger.log(`${t.kind} = ${t.label} ${JSON.stringify(t)}`))}))}function i5(e){if(e.__userAgentCoreEventsSetup)return;let t=e.userAgent.userAgentCore;t.on(tY.Session.UpdateReceived,t=>e.emit(tY.Session.UpdateReceived,t)),t.on(tY.Session.MoveToRcv,t=>e.emit(tY.Session.MoveToRcv,t)),t.on("RC_SIP_INFO",t=>e.emit("RC_SIP_INFO",t)),e.__userAgentCoreEventsSetup=!0}function i9(e){e.mediaStreams&&(e.logger.log("Releasing media streams"),e.mediaStreams.release())}function re(e){this.__qosStats.cpuOS=e.cpuOS||"0:0:0",this.__qosStats.cpuRC=e.cpuRC||"0:0:0",this.__qosStats.ram=e.ram||"0:0:0",this.__qosStats.netType=e.netType||void 0}var tK=j("7etJZ");function rt(e){switch(e.method){case w.UPDATE:this.logger.log("Receive UPDATE request. Do nothing just return 200 OK"),this.replyStateless(e,{statusCode:200}),this.emit(tY.Session.UpdateReceived,e);return;case w.INFO:{let t=function(e){if(!e?.body)return{};let t={};try{t=JSON.parse(e.body)}catch(e){return{}}return t}(e);if(t?.request?.reqId&&t?.request?.command==="move"&&t?.request?.target==="rcv"){this.replyStateless(e,{statusCode:200}),this.emit(tY.Session.MoveToRcv,t.request);return}if(this.emit("RC_SIP_INFO",e),e.getHeader("content-type").match(/^application\/json/i)){this.replyStateless(e,{statusCode:200});return}}}return this._receiveIncomingRequestFromTransport(e)}function ri(e){this.state!==k.Stopped&&(this.delegate?.onDisconnect&&this.delegate.onDisconnect(e),e&&this.transport.reconnect())}function rr(e){return e.body=e.body||"",' "}function rs(e,t){let i=[`P-rc-ws: ${this.contact}`],r=e,[s]=r.split("@");r=r.startsWith("#")?`sip:${r.substring(1)}`:`sip:${r}`;let n=tU.makeURI(r);n.user=s;let o=new e7(this,n,t,"x-rc/agent",{extraHeaders:i});return new Promise((e,t)=>{o.message({requestDelegate:{onAccept:e,onReject:t}})})}async function rn(){await this.registerer.register({requestDelegate:{onReject:e=>{e&&(this.transport.isSipErrorCode(e.message.statusCode)&&this.transport.onSipErrorCode(),this.emit(tY.UserAgent.RegistrationFailed,e),this.logger.warn("UA Registration Failed"))}}})}async function ro(){await this.registerer.unregister()}function ra(e,t={}){let i={};i.extraHeaders=[...t.extraHeaders||[],...this.defaultHeaders,`P-Asserted-Identity: sip:${(t.fromNumber||this.sipInfo.username)+"@"+this.sipInfo.domain}`,...t.homeCountryId?[`P-rc-country-id: ${t.homeCountryId}`]:[]],t.RTCConstraints=t.RTCConstraints||{...this.constraints,optional:[{DtlsSrtpKeyAgreement:"true"}]},i.sessionDescriptionHandlerModifiers=this.modifiers,i.sessionDescriptionHandlerOptions={constraints:t.RTCConstraints},i.earlyMedia=this.earlyMedia,i.delegate={onSessionDescriptionHandler:()=>i4(r),onNotify:e=>e.accept()},this.audioHelper.playOutgoing(!0),this.logger.log(`Invite to ${e} created with playOutgoing set to true`);let r=new e6(this,tU.makeURI(`sip:${e}@${this.sipInfo.domain}`),i);return r.invite({requestDelegate:{onAccept:e=>{r.startTime=new Date,r.emit(tY.Session.Accepted,e.message)},onProgress:e=>{r.emit(tY.Session.Progress,e.message)}}}).then(()=>this.emit(tY.UserAgent.InviteSent,r)).catch(e=>{throw e.message.indexOf("Permission denied")>-1&&r.emit(tY.Session.UserMediaFailed),e}),iE(r),r}function rc(e,t={}){let i=[`Replaces: ${e.id};to-tag=${e.sipData.fromTag};from-tag=${e.sipData.toTag}`,"RC-call-type: replace"],[r,s]="Outbound"===e.direction?[e.to,e.from]:[e.from,e.to];t.extraHeaders=(t.extraHeaders||[]).concat(i),t.fromNumber=t.fromNumber||s;let n={extraHeaders:t.extraHeaders,sessionDescriptionHandlerOptions:{constraints:t.RTCConstraints||this.constraints}};return this.invite(r,n)}class rl{static dispatchAddTrackEvent(e,t){e.dispatchEvent(new MediaStreamTrackEvent("addtrack",{track:t}))}static dispatchRemoveTrackEvent(e,t){e.dispatchEvent(new MediaStreamTrackEvent("removetrack",{track:t}))}logger;mediaStreamFactory;sessionDescriptionHandlerConfiguration;_localMediaStream;_remoteMediaStream;_dataChannel;_peerConnection;_peerConnectionDelegate;iceGatheringCompletePromise;iceGatheringCompleteTimeoutId;iceGatheringCompleteResolve;iceGatheringCompleteReject;localMediaStreamConstraints;onDataChannel;constructor(e,t,i){e.debug("SessionDescriptionHandler.constructor"),this.logger=e,this.mediaStreamFactory=t,this.sessionDescriptionHandlerConfiguration=i,this._localMediaStream=new MediaStream,this._remoteMediaStream=new MediaStream,this._peerConnection=new RTCPeerConnection(i?.peerConnectionConfiguration),this.initPeerConnectionEventHandlers()}get localMediaStream(){return this._localMediaStream}get remoteMediaStream(){return this._remoteMediaStream}get dataChannel(){return this._dataChannel}get peerConnection(){return this._peerConnection}get peerConnectionDelegate(){return this._peerConnectionDelegate}set peerConnectionDelegate(e){this._peerConnectionDelegate=e}close(){this.logger.debug("SessionDescriptionHandler.close"),void 0!==this._peerConnection&&(this._peerConnection.getReceivers().forEach(e=>{e.track?.stop()}),this._peerConnection.getSenders().forEach(e=>{e.track?.stop()}),this._dataChannel&&this._dataChannel.close(),this._peerConnection.close(),this._peerConnection=void 0)}getDescription(e,t){if(this.logger.debug("SessionDescriptionHandler.getDescription"),void 0===this._peerConnection)return Promise.reject(Error("Peer connection closed."));this.onDataChannel=e?.onDataChannel;let i=e?.offerOptions?.iceRestart,r=e?.iceGatheringTimeout===void 0?this.sessionDescriptionHandlerConfiguration?.iceGatheringTimeout:e?.iceGatheringTimeout;return this.getLocalMediaStream(e).then(()=>this.enableSenderDscp()).then(()=>this.updateDirection(e)).then(()=>this.createDataChannel(e)).then(()=>this.createLocalOfferOrAnswer(e)).then(e=>this.applyModifiers(e,t)).then(e=>this.setLocalSessionDescription(e)).then(()=>this.waitForIceGatheringComplete(i,r)).then(()=>this.getLocalSessionDescription()).then(e=>({body:e.sdp,contentType:"application/sdp"})).catch(e=>{throw this.logger.error("SessionDescriptionHandler.getDescription failed - "+e),e})}hasDescription(e){return this.logger.debug("SessionDescriptionHandler.hasDescription"),"application/sdp"===e}sendDtmf(e,t){if(this.logger.debug("SessionDescriptionHandler.sendDtmf"),void 0===this._peerConnection)return this.logger.error("SessionDescriptionHandler.sendDtmf failed - peer connection closed"),!1;let i=this._peerConnection.getSenders();if(0===i.length)return this.logger.error("SessionDescriptionHandler.sendDtmf failed - no senders"),!1;let r=i[0].dtmf;if(!r)return this.logger.error("SessionDescriptionHandler.sendDtmf failed - no DTMF sender"),!1;let s=t?.duration,n=t?.interToneGap;try{r.insertDTMF(e,s,n)}catch(e){return this.logger.error(e),!1}return this.logger.log("SessionDescriptionHandler.sendDtmf sent via RTP: "+e.toString()),!0}setDescription(e,t,i){if(this.logger.debug("SessionDescriptionHandler.setDescription"),void 0===this._peerConnection)return Promise.reject(Error("Peer connection closed."));this.onDataChannel=t?.onDataChannel;let r="have-local-offer"===this._peerConnection.signalingState?"answer":"offer";return this.getLocalMediaStream(t).then(()=>this.applyModifiers({sdp:e,type:r},i)).then(e=>this.setRemoteSessionDescription(e)).catch(e=>{throw this.logger.error("SessionDescriptionHandler.setDescription failed - "+e),e})}applyModifiers(e,t){return(this.logger.debug("SessionDescriptionHandler.applyModifiers"),t&&0!==t.length)?t.reduce((e,t)=>e.then(t),Promise.resolve(e)).then(e=>{if(this.logger.debug("SessionDescriptionHandler.applyModifiers - modified sdp"),!e.sdp||!e.type)throw Error("Invalid SDP.");return{sdp:e.sdp,type:e.type}}):Promise.resolve(e)}createDataChannel(e){if(void 0===this._peerConnection)return Promise.reject(Error("Peer connection closed."));if(e?.dataChannel!==!0||this._dataChannel)return Promise.resolve();switch(this._peerConnection.signalingState){case"stable":this.logger.debug("SessionDescriptionHandler.createDataChannel - creating data channel");try{return this._dataChannel=this._peerConnection.createDataChannel(e?.dataChannelLabel||"",e?.dataChannelOptions),this.onDataChannel&&this.onDataChannel(this._dataChannel),Promise.resolve()}catch(e){return Promise.reject(e)}case"have-remote-offer":return Promise.resolve();default:return Promise.reject(Error("Invalid signaling state "+this._peerConnection.signalingState))}}createLocalOfferOrAnswer(e){if(void 0===this._peerConnection)return Promise.reject(Error("Peer connection closed."));switch(this._peerConnection.signalingState){case"stable":return this.logger.debug("SessionDescriptionHandler.createLocalOfferOrAnswer - creating SDP offer"),this._peerConnection.createOffer(e?.offerOptions);case"have-remote-offer":return this.logger.debug("SessionDescriptionHandler.createLocalOfferOrAnswer - creating SDP answer"),this._peerConnection.createAnswer(e?.answerOptions);default:return Promise.reject(Error("Invalid signaling state "+this._peerConnection.signalingState))}}getLocalMediaStream(e){if(this.logger.debug("SessionDescriptionHandler.getLocalMediaStream"),void 0===this._peerConnection)return Promise.reject(Error("Peer connection closed."));let t={...e?.constraints};if(this.localMediaStreamConstraints){if(t.audio=t.audio||this.localMediaStreamConstraints.audio,t.video=t.video||this.localMediaStreamConstraints.video,JSON.stringify(this.localMediaStreamConstraints.audio)===JSON.stringify(t.audio)&&JSON.stringify(this.localMediaStreamConstraints.video)===JSON.stringify(t.video))return Promise.resolve()}else void 0===t.audio&&void 0===t.video&&(t={audio:!0});return this.localMediaStreamConstraints=t,this.mediaStreamFactory(t,this).then(e=>this.setLocalMediaStream(e))}async enableSenderDscp(){if(this.sessionDescriptionHandlerConfiguration?.enableDscp){if(!this._peerConnection)throw Error("Peer connection undefined.");for(let e of this._peerConnection.getSenders().filter(e=>e.track)){let t=e.getParameters();console.info("getsender params =",t),t.priority="high";try{await e.setParameters(t)}catch(t){console.error(`Error while setting encodings parameters for ${e.track.kind} Track ${e.track.id}: ${t.message||t.name}`)}}}}setLocalMediaStream(e){if(this.logger.debug("SessionDescriptionHandler.setLocalMediaStream"),!this._peerConnection)throw Error("Peer connection undefined.");let t=this._peerConnection,i=this._localMediaStream,r=[],s=e=>{let s=e.kind;if("audio"!==s&&"video"!==s)throw Error(`Unknown new track kind ${s}.`);let n=t.getSenders().find(e=>e.track&&e.track.kind===s);n?r.push(new Promise(e=>{this.logger.debug(`SessionDescriptionHandler.setLocalMediaStream - replacing sender ${s} track`),e()}).then(()=>n.replaceTrack(e).then(()=>{let t=i.getTracks().find(e=>e.kind===s);t&&(t.stop(),i.removeTrack(t),rl.dispatchRemoveTrackEvent(i,t)),i.addTrack(e),rl.dispatchAddTrackEvent(i,e)}).catch(e=>{throw this.logger.error(`SessionDescriptionHandler.setLocalMediaStream - failed to replace sender ${s} track`),e}))):r.push(new Promise(e=>{this.logger.debug(`SessionDescriptionHandler.setLocalMediaStream - adding sender ${s} track`),e()}).then(()=>{try{t.addTrack(e,i)}catch(e){throw this.logger.error(`SessionDescriptionHandler.setLocalMediaStream - failed to add sender ${s} track`),e}i.addTrack(e),rl.dispatchAddTrackEvent(i,e)}))},n=e.getAudioTracks();n.length&&s(n[0]);let o=e.getVideoTracks();return o.length&&s(o[0]),r.reduce((e,t)=>e.then(()=>t),Promise.resolve())}getLocalSessionDescription(){if(this.logger.debug("SessionDescriptionHandler.getLocalSessionDescription"),void 0===this._peerConnection)return Promise.reject(Error("Peer connection closed."));let e=this._peerConnection.localDescription;return e?Promise.resolve(e):Promise.reject(Error("Failed to get local session description"))}setLocalSessionDescription(e){return(this.logger.debug("SessionDescriptionHandler.setLocalSessionDescription"),void 0===this._peerConnection)?Promise.reject(Error("Peer connection closed.")):this._peerConnection.setLocalDescription(e)}setRemoteSessionDescription(e){let t;if(this.logger.debug("SessionDescriptionHandler.setRemoteSessionDescription"),void 0===this._peerConnection)return Promise.reject(Error("Peer connection closed."));let i=e.sdp;switch(this._peerConnection.signalingState){case"stable":t="offer";break;case"have-local-offer":t="answer";break;default:return Promise.reject(Error("Invalid signaling state "+this._peerConnection.signalingState))}return i?this._peerConnection.setRemoteDescription({sdp:i,type:t}):(this.logger.error("SessionDescriptionHandler.setRemoteSessionDescription failed - cannot set null sdp"),Promise.reject(Error("SDP is undefined")))}setRemoteTrack(e){this.logger.debug("SessionDescriptionHandler.setRemoteTrack");let t=this._remoteMediaStream;t.getTrackById(e.id)?this.logger.debug(`SessionDescriptionHandler.setRemoteTrack - have remote ${e.kind} track`):"audio"===e.kind?(this.logger.debug(`SessionDescriptionHandler.setRemoteTrack - adding remote ${e.kind} track`),t.getAudioTracks().forEach(e=>{e.stop(),t.removeTrack(e),rl.dispatchRemoveTrackEvent(t,e)}),t.addTrack(e),rl.dispatchAddTrackEvent(t,e)):"video"===e.kind&&(this.logger.debug(`SessionDescriptionHandler.setRemoteTrack - adding remote ${e.kind} track`),t.getVideoTracks().forEach(e=>{e.stop(),t.removeTrack(e),rl.dispatchRemoveTrackEvent(t,e)}),t.addTrack(e),rl.dispatchAddTrackEvent(t,e))}updateDirection(e){if(void 0===this._peerConnection)return Promise.reject(Error("Peer connection closed."));switch(this._peerConnection.signalingState){case"stable":this.logger.debug("SessionDescriptionHandler.updateDirection - setting offer direction");{let t=t=>{switch(t){case"inactive":case"recvonly":return e?.hold?"inactive":"recvonly";case"sendonly":case"sendrecv":return e?.hold?"sendonly":"sendrecv";case"stopped":return"stopped";default:throw Error("Should never happen")}};this._peerConnection.getTransceivers().forEach(e=>{if(e.direction){let i=t(e.direction);e.direction!==i&&(e.direction=i)}})}break;case"have-remote-offer":this.logger.debug("SessionDescriptionHandler.updateDirection - setting answer direction");{let t=(()=>{let e=this._peerConnection.remoteDescription;if(!e)throw Error("Failed to read remote offer");let t=/a=sendrecv\r\n|a=sendonly\r\n|a=recvonly\r\n|a=inactive\r\n/.exec(e.sdp);if(t)switch(t[0]){case"a=inactive\r\n":return"inactive";case"a=recvonly\r\n":return"recvonly";case"a=sendonly\r\n":return"sendonly";case"a=sendrecv\r\n":break;default:throw Error("Should never happen")}return"sendrecv"})(),i=(()=>{switch(t){case"inactive":return"inactive";case"recvonly":return"sendonly";case"sendonly":return e?.hold?"inactive":"recvonly";case"sendrecv":return e?.hold?"sendonly":"sendrecv";default:throw Error("Should never happen")}})();this._peerConnection.getTransceivers().forEach(e=>{e.direction&&"stopped"!==e.direction&&e.direction!==i&&(e.direction=i)})}break;default:return Promise.reject(Error("Invalid signaling state "+this._peerConnection.signalingState))}return Promise.resolve()}iceGatheringComplete(){this.logger.debug("SessionDescriptionHandler.iceGatheringComplete"),void 0!==this.iceGatheringCompleteTimeoutId&&(this.logger.debug("SessionDescriptionHandler.iceGatheringComplete - clearing timeout"),clearTimeout(this.iceGatheringCompleteTimeoutId),this.iceGatheringCompleteTimeoutId=void 0),void 0!==this.iceGatheringCompletePromise&&(this.logger.debug("SessionDescriptionHandler.iceGatheringComplete - resolving promise"),this.iceGatheringCompleteResolve?.(),this.iceGatheringCompletePromise=void 0,this.iceGatheringCompleteResolve=void 0,this.iceGatheringCompleteReject=void 0)}waitForIceGatheringComplete(e=!1,t=0){return(this.logger.debug("SessionDescriptionHandler.waitForIceGatheringToComplete"),void 0===this._peerConnection)?Promise.reject(Error("Peer connection closed.")):e||"complete"!==this._peerConnection.iceGatheringState?(void 0!==this.iceGatheringCompletePromise&&(this.logger.debug("SessionDescriptionHandler.waitForIceGatheringToComplete - rejecting prior waiting promise"),this.iceGatheringCompleteReject?.(Error("Promise superseded.")),this.iceGatheringCompletePromise=void 0,this.iceGatheringCompleteResolve=void 0,this.iceGatheringCompleteReject=void 0),this.iceGatheringCompletePromise=new Promise((e,i)=>{this.iceGatheringCompleteResolve=e,this.iceGatheringCompleteReject=i,t>0&&(this.logger.debug("SessionDescriptionHandler.waitForIceGatheringToComplete - timeout in "+t),this.iceGatheringCompleteTimeoutId=setTimeout(()=>{this.logger.debug("SessionDescriptionHandler.waitForIceGatheringToComplete - timeout"),this.iceGatheringComplete()},t))}),this.iceGatheringCompletePromise):(this.logger.debug("SessionDescriptionHandler.waitForIceGatheringToComplete - already complete"),Promise.resolve())}initPeerConnectionEventHandlers(){if(this.logger.debug("SessionDescriptionHandler.initPeerConnectionEventHandlers"),!this._peerConnection)throw Error("Peer connection undefined.");let e=this._peerConnection;e.onconnectionstatechange=t=>{let i=e.connectionState;this.logger.debug(`SessionDescriptionHandler.onconnectionstatechange ${i}`),this._peerConnectionDelegate?.onconnectionstatechange&&this._peerConnectionDelegate.onconnectionstatechange(t)},e.ondatachannel=e=>{this.logger.debug("SessionDescriptionHandler.ondatachannel"),this._dataChannel=e.channel,this.onDataChannel&&this.onDataChannel(this._dataChannel),this._peerConnectionDelegate?.ondatachannel&&this._peerConnectionDelegate.ondatachannel(e)},e.onicecandidate=e=>{this.logger.debug("SessionDescriptionHandler.onicecandidate"),this._peerConnectionDelegate?.onicecandidate&&this._peerConnectionDelegate.onicecandidate(e)},e.onicecandidateerror=e=>{this.logger.debug("SessionDescriptionHandler.onicecandidateerror"),this._peerConnectionDelegate?.onicecandidateerror&&this._peerConnectionDelegate.onicecandidateerror(e)},e.oniceconnectionstatechange=t=>{let i=e.iceConnectionState;this.logger.debug(`SessionDescriptionHandler.oniceconnectionstatechange ${i}`),this._peerConnectionDelegate?.oniceconnectionstatechange&&this._peerConnectionDelegate.oniceconnectionstatechange(t)},e.onicegatheringstatechange=t=>{let i=e.iceGatheringState;this.logger.debug(`SessionDescriptionHandler.onicegatheringstatechange ${i}`),"complete"===i&&this.iceGatheringComplete(),this._peerConnectionDelegate?.onicegatheringstatechange&&this._peerConnectionDelegate.onicegatheringstatechange(t)},e.onnegotiationneeded=e=>{this.logger.debug("SessionDescriptionHandler.onnegotiationneeded"),this._peerConnectionDelegate?.onnegotiationneeded&&this._peerConnectionDelegate.onnegotiationneeded(e)},e.onsignalingstatechange=t=>{let i=e.signalingState;this.logger.debug(`SessionDescriptionHandler.onsignalingstatechange ${i}`),this._peerConnectionDelegate?.onsignalingstatechange&&this._peerConnectionDelegate.onsignalingstatechange(t)},e.ontrack=e=>{let t=e.track.kind,i=e.track.enabled?"enabled":"disabled";this.logger.debug(`SessionDescriptionHandler.ontrack ${t} ${i}`),this.setRemoteTrack(e.track),this._peerConnectionDelegate?.ontrack&&this._peerConnectionDelegate.ontrack(e)}}}const rd=(e,t)=>{let i={iceGatheringTimeout:t?.iceGatheringTimeout!==void 0?t?.iceGatheringTimeout:5e3,enableDscp:t.enableDscp,peerConnectionConfiguration:{bundlePolicy:"balanced",certificates:void 0,iceCandidatePoolSize:0,iceServers:[{urls:"stun:stun.l.google.com:19302"}],iceTransportPolicy:"all",rtcpMuxPolicy:"require",...t?.peerConnectionConfiguration}};return new rl(e.userAgent.getLogger("sip.SessionDescriptionHandler"),e=>e.audio||e.video?void 0===navigator.mediaDevices?Promise.reject(Error("Media devices not available in insecure contexts.")):navigator.mediaDevices.getUserMedia(e):Promise.resolve(new MediaStream),i)},rh=_(JSON.parse('{"name":"ringcentral-web-phone","version":"1.0.1","homepage":"https://github.com/ringcentral/ringcentral-web-phone","bugs":{"url":"https://github.com/ringcentral/ringcentral-web-phone/issues"},"repository":{"type":"git","url":"git://github.com/ringcentral/ringcentral-web-phone.git"},"license":"MIT","author":{"name":"RingCentral, Inc.","email":"devsupport@ringcentral.com"},"contributors":[{"name":"Kirill Konshin"},{"name":"Elias Sun"},{"name":"Vyshakh Babji"},{"name":"Yatin Gera"},{"name":"Tyler Liu"},{"name":"Embbnux Ji"}],"main":"./lib/src/index.js","types":"./lib/src/index.d.ts","scripts":{"build":"rm -rf lib && yarn tsc && rm -rf docs && parcel build demo/index.html demo/callback.html --dist-dir docs --public-url ./","lint":"eslint --fix \'**/*.{ts,tsx,js,jsx}\' && prettier --write . && sort-package-json","serve":"rm -rf .parcel-cache && parcel demo/index.html demo/callback.html --dist-dir docs","test":"jest","test:coverage":"cat .coverage/lcov.info | coveralls -v","test2":"NODE_OPTIONS=--require=dotenv-override-true/config playwright test test/index2.spec.ts --workers=1"},"dependencies":{"sip.js":"^0.21.2"},"devDependencies":{"@faker-js/faker":"^8.4.1","@playwright/test":"^1.44.0","@rc-ex/core":"^1.3.15","@ringcentral/sdk":"^5.0.1","@types/jest":"^29.5.12","@types/jest-environment-puppeteer":"^5.0.6","@types/node":"^20.12.11","@typescript-eslint/eslint-plugin":"^7.8.0","@typescript-eslint/parser":"^7.8.0","bootstrap":"3.4.1","buffer":"^6.0.3","coveralls":"^3.1.1","crypto-browserify":"^3.12.0","dotenv-override-true":"^6.2.2","eslint":"8.57.0","eslint-config-alloy":"^5.1.2","eslint-config-prettier":"^9.1.0","eslint-plugin-jest":"^28.5.0","eslint-plugin-prettier":"^5.1.3","events":"^3.3.0","http-server":"^14.1.1","jest":"^29.7.0","jest-puppeteer":"^10.0.1","jquery":"^3.7.1","parcel":"^2.12.0","prettier":"^3.2.5","process":"^0.11.10","puppeteer":"^22.8.0","querystring-es3":"^0.2.1","sort-package-json":"^2.10.0","stream-browserify":"^3.0.0","ts-jest":"^29.1.2","ts-node":"^10.9.2","ttpt":"^0.8.9","typescript":"^5.4.5","wait-for-async":"^0.6.1","yarn-upgrade-all":"^0.7.2"},"preferGlobal":false,"targets":{"main":false,"module":false,"types":false,"browser":false},"yarn-upgrade-all":{"ignore":["bootstrap","eslint"]}}')).version,ru={autoStop:!0,builtinEnabled:!0,earlyMedia:!1,enableDefaultModifiers:!0,enableDscp:!1,iceTransportPolicy:"all",maxReconnectionAttemptsNoBackup:15,maxReconnectionAttemptsWithBackup:10,mediaConstraints:{audio:!0,video:!1},modifiers:[],qosCollectInterval:5e3,reconnectionTimeoutNoBackup:5,reconnectionTimeoutWithBackup:4,transportServers:[],turnServers:[],uuid:ii(),uuidKey:"rc-webPhone-uuid"};class rg{static version=rh;static uuid=ii;static extend=ir;static MediaStreams=il;static MediaStreamsImpl=id;sipInfo;uuidKey;appName;appVersion;userAgent;constructor(e={},t={}){let i={...ru,...t};this.sipInfo=e.sipInfo,Array.isArray(this.sipInfo)&&(this.sipInfo=this.sipInfo[0]),this.uuidKey=i.uuidKey,this.appName=i.appName,this.appVersion=i.appVersion;let r=i.uuid;localStorage.setItem(this.uuidKey,r);let s=navigator.userAgent.match(/\((.*?)\)/),n=null===s?"":s[1].replace(/[^a-zA-Z0-9.:_]+/g,"-"),o=(this.appName?this.appName+(this.appVersion?"/"+this.appVersion:"")+" ":"")+(n||"")+` RCWEBPHONE/${rg.version}`,a=i.modifiers;i.enableDefaultModifiers||(a.push(B.stripG722),a.push(B.stripTcpCandidates)),i.enableMidLinesInSDP&&a.push(B.addMidLines);let c=i.enablePlanB?"plan-b":"unified-plan",l=i.stunServers||io,d=i.iceTransportPolicy,h=[];i.enableTurnServers&&(h=i.turnServers.map(e=>({urls:e})),i.iceCheckingTimeout=i.iceCheckingTimeout||2e3),h=[...h,...l.map(e=>({urls:/^(stun:)/.test(e)?e:`stun:${e}`}))];let u=i.sessionDescriptionHandlerFactoryOptions||{iceGatheringTimeout:i.iceCheckingTimeout||500,enableDscp:i.enableDscp,peerConnectionConfiguration:{iceServers:h,iceTransportPolicy:d,sdpSemantics:c}};u.enableDscp=!!i.enableDscp,i.modifiers=a;let g=navigator.userAgent.toLowerCase();g.includes("firefox")&&!g.includes("chrome")&&(i.earlyMedia=!0);let p=i.sessionDescriptionHandlerFactory||rd,f=e.sipErrorCodes?.length?e.sipErrorCodes:ia,m=i.reconnectionTimeoutWithBackup,v=i.maxReconnectionAttemptsWithBackup;this.sipInfo.outboundProxy&&this.sipInfo.transport&&(i.transportServers.push({uri:this.sipInfo.transport.toLowerCase()+"://"+this.sipInfo.outboundProxy}),m=i.reconnectionTimeoutNoBackup,v=i.maxReconnectionAttemptsNoBackup),this.sipInfo.outboundProxyBackup&&this.sipInfo.transport&&i.transportServers.push({uri:this.sipInfo.transport.toLowerCase()+"://"+this.sipInfo.outboundProxyBackup}),i.reconnectionTimeout=i.reconnectionTimeout||m,i.maxReconnectionAttempts=i.maxReconnectionAttempts||v;let y=i.transportServers.length?i.transportServers[0].uri:"",S={uri:tU.makeURI(`sip:${this.sipInfo.username}@${this.sipInfo.domain}`),transportOptions:{server:y,traceSip:!0,connectionTimeout:5,keepAliveDebounce:i.keepAliveDebounce,keepAliveInterval:i.keepAliveInterval},reconnectionAttempts:0,authorizationUsername:this.sipInfo.authorizationId,authorizationPassword:this.sipInfo.password,logLevel:b[i.logLevel]||"debug",logBuiltinEnabled:i.builtinEnabled,logConnector:i.connector||void 0,userAgentString:o,sessionDescriptionHandlerFactoryOptions:u,sessionDescriptionHandlerFactory:p,allowLegacyNotifications:!0};i.sipErrorCodes=f,i.switchBackInterval=this.sipInfo.switchBackInterval,this.userAgent=function(e,t,i,r){let s=new tU({delegate:{onConnect:()=>s.register(),onInvite:e=>{s.audioHelper.playIncoming(!0),e.delegate={},e.delegate.onSessionDescriptionHandler=()=>i4(e),iE(e),ix(e),e.logger.log("UA received incoming call invite"),e.sendReceiveConfirm(),s.emit(tY.UserAgent.Invite,e)},onNotify:e=>{""===e.request.getHeader("Event")&&s.emit(tY.UserAgent.ProvisionUpdate),s.logger.log("UA received notify"),e.accept()}},...e}),n=new tK.EventEmitter;return s.on=n.on.bind(n),s.off=n.off.bind(n),s.once=n.once.bind(n),s.addListener=n.addListener.bind(n),s.removeListener=n.removeListener.bind(n),s.removeAllListeners=n.removeAllListeners.bind(n),s.defaultHeaders=[`P-rc-endpoint-id: ${r}`,`Client-id: ${i.clientId}`],s.regId=i.regId,s.media={},s.enableQos=i.enableQos,s.enableMediaReportLogging=i.enableMediaReportLogging,s.qosCollectInterval=i.qosCollectInterval,i.media?.remote&&i.media.local?(s.media.remote=i.media.remote,s.media.local=i.media.local):s.media=void 0,s.registerer=new e8(s,{regId:s.regId,instanceId:s.instanceId,extraHeaders:s.defaultHeaders}),s.sipInfo=t,s.modifiers=i.modifiers,s.constraints=i.mediaConstraints,s.earlyMedia=i.earlyMedia,s.audioHelper=new it(i.audioHelper),s.onSession=i.onSession,s._transport=function(e,t){e.reconnectionAttempts=0,e.sipErrorCodes=t.sipErrorCodes,e.servers=t.transportServers;let i=new tK.EventEmitter;return e.on=i.on.bind(i),e.off=i.off.bind(i),e.once=i.once.bind(i),e.addListener=i.addListener.bind(i),e.removeListener=i.removeListener.bind(i),e.removeAllListeners=i.removeAllListeners.bind(i),e.emit=i.emit.bind(i),e.mainProxy=t.transportServers[0],e.switchBackInterval=t.switchBackInterval,e.reconnectionTimeout=t.reconnectionTimeout,e.maxReconnectionAttempts=t.maxReconnectionAttempts,e.__afterWSConnected=t1.bind(e),e.__clearSwitchBackToMainProxyTimer=t8.bind(e),e.__computeRandomTimeout=tz.bind(e),e.__connect=e.connect,e.__isCurrentMainProxy=t0.bind(e),e.__onConnectedToBackup=t6.bind(e),e.__onConnectedToMain=t2.bind(e),e.__resetServersErrorStatus=tQ.bind(e),e.__scheduleSwitchBackToMainProxy=t7.bind(e),e.__setServerIsError=tX.bind(e),e.connect=tZ.bind(e),e.getNextWsServer=t4.bind(e),e.isSipErrorCode=t9.bind(e),e.noAvailableServers=t5.bind(e),e.onSipErrorCode=ie.bind(e),e.reconnect=t3.bind(e),e.stateChange.addListener(t=>{switch(t){case D.Connecting:e.emit(tY.Transport.Connecting);break;case D.Connected:e.emit(tY.Transport.Connected),e.__afterWSConnected();break;case D.Disconnecting:e.emit(tY.Transport.Disconnecting);break;case D.Disconnected:e.emit(tY.Transport.Disconnected)}}),e}(s.transport,i),s.onTransportDisconnect=ri.bind(s),s.emit=n.emit.bind(n),s.register=rn.bind(s),s.unregister=ro.bind(s),s.invite=ra.bind(s),s.sendMessage=rs.bind(s),s.createRcMessage=rr.bind(s),s.switchFrom=rc.bind(s),function(e){let t=e.userAgentCore,i=new tK.EventEmitter;t.on=i.on.bind(i),t.off=i.off.bind(i),t.addListener=i.addListener.bind(i),t.removeListener=i.removeListener.bind(i),t.emit=i.emit.bind(i),t._receiveIncomingRequestFromTransport=t.receiveIncomingRequestFromTransport.bind(e.userAgentCore),t.receiveIncomingRequestFromTransport=rt.bind(e.userAgentCore)}(s),s.start(),s.stateChange.addListener(e=>{switch(e){case k.Started:s.emit(tY.UserAgent.Started);break;case k.Stopped:s.emit(tY.UserAgent.Stopped)}}),s.registerer.stateChange.addListener(e=>{switch(e){case R.Registered:s.emit(tY.UserAgent.Registered);break;case R.Unregistered:s.emit(tY.UserAgent.Unregistered)}}),s}(S,this.sipInfo,i,r)}}var rp={};rp=new URL("incoming.4df5d2c2.ogg",import.meta.url).toString();var rf={};rf=new URL("outgoing.32ff67a1.ogg",import.meta.url).toString(),H.jQuery=_(F),j("2yR94"),_(F)(()=>{let e,t,i,r;let s=0,n=_(F)("#app"),o=_(F)("#template-login"),a=_(F)("#template-auth-flow"),c=_(F)("#template-call"),l=_(F)("#template-incoming"),d=_(F)("#template-accepted"),h=document.getElementById("remoteVideo"),u=document.getElementById("localVideo"),g=!0,p="";function f(e){return _(F)(e.html())}function m(t,n,o,a,c){return s=c,localStorage.setItem("webPhoneServer",t||""),localStorage.setItem("webPhoneclientId",n||""),localStorage.setItem("webPhoneclientSecret",o||""),a&&a.length>0&&localStorage.setItem("webPhoneJwtToken",a),localStorage.setItem("webPhoneLogLevel",(s||0).toString()),e.get("/restapi/v1.0/account/~/extension/~").then(e=>e.json()).then(t=>(console.log("Extension info",i=t),e.get("/restapi/v1.0/account/~/extension/~/phone-number"))).then(e=>e.json()).then(e=>{r=e.records.filter(e=>!0===e.primary)[0].phoneNumber}).then(()=>e.post("/restapi/v1.0/client-info/sip-provision",{sipInfo:[{transport:"WSS"}]})).then(e=>e.json()).then(b).then(C).catch(e=>{console.error("Error in main promise chain"),console.error(e.stack||e)})}function b(e){return t=new rg(e,{enableDscp:!0,clientId:localStorage.getItem("webPhoneclientId"),audioHelper:{enabled:!0,incoming:_(rp),outgoing:_(rf)},logLevel:s,appName:"WebPhoneDemo",appVersion:"1.0.0",media:{remote:h,local:u},enableQos:!0,enableMediaReportLogging:!0}),H.webPhone=t,t.userAgent.audioHelper.setVolume(.3),t.userAgent.on("invite",y),t.userAgent.on("connecting",()=>{console.log("UA connecting")}),t.userAgent.on("connected",()=>{console.log("UA Connected")}),t.userAgent.on("disconnected",()=>{console.log("UA Disconnected")}),t.userAgent.on("registered",()=>{console.log("UA Registered")}),t.userAgent.on("unregistered",()=>{console.log("UA Unregistered")}),t.userAgent.on("registrationFailed",function(){console.log("UA RegistrationFailed",arguments)}),t.userAgent.on("message",function(){console.log("UA Message",arguments)}),t.userAgent.transport.on("switchBackProxy",()=>{console.log("switching back to primary outbound proxy"),t.userAgent.transport.reconnect()}),t.userAgent.transport.on("closed",()=>{console.log("WebSocket closed.")}),t.userAgent.transport.on("transportError",()=>{console.log("WebSocket transportError occured")}),t.userAgent.transport.on("wsConnectionError",()=>{console.log("WebSocket wsConnectionError occured")}),t}function y(e){let t=f(l).modal({backdrop:"static"});e.stateChange.addListener(e=>{switch(e){case v.Initial:console.log("Initial");break;case v.Establishing:console.log("Establishing");break;case v.Established:console.log("Established");break;case v.Terminating:console.log("Terminating"),t.modal("hide");break;case v.Terminated:console.log("Terminated"),t.modal("hide")}}),g=!1,console.log("EVENT: Invite",e.request),console.log("To",e.request.to.displayName,e.request.to.friendlyName),console.log("From",e.request.from.displayName,e.request.from.friendlyName),e.request.headers["Alert-Info"]&&"Auto Answer"===e.request.headers["Alert-Info"][0].raw?e.accept().then(()=>{T(e)}).catch(e=>{console.error("Accept failed",e.stack||e)}):(t.find(".answer").on("click",()=>{t.find(".before-answer").css("display","none"),t.find(".answered").css("display",""),e.accept().then(()=>{t.modal("hide"),T(e)}).catch(e=>{console.error("Accept failed",e.stack||e)})}),t.find(".decline").on("click",()=>{e.reject(),t.modal("hide")}),t.find(".toVoicemail").on("click",()=>{e.toVoicemail(),t.modal("hide")}),t.find(".forward-form").on("submit",i=>{i.preventDefault(),i.stopPropagation(),e.forward(t.find("input[name=forward]").val().trim()).then(()=>{console.log("Forwarded"),t.modal("hide")}).catch(e=>{console.error("Forward failed",e.stack||e)})}),t.find(".reply-form").on("submit",i=>{i.preventDefault(),i.stopPropagation(),e.replyWithMessage({replyType:0,replyText:t.find("input[name=reply]").val()}).then(()=>{console.log("Replied"),t.modal("hide")}).catch(e=>{console.error("Reply failed",e.stack||e)})}))}let S=()=>({id:"",from:"",to:"",direction:"",sipData:{toTag:"",fromTag:""}});function T(i){console.log("EVENT: Accepted",i.request),console.log("To",i.request.to.displayName,i.request.to.friendlyName),console.log("From",i.request.from.displayName,i.request.from.friendlyName);let s=f(d).modal(),n=s.find(".info").eq(0),o=s.find("input[name=dtmf]").eq(0),a=s.find("input[name=transfer]").eq(0),c=s.find("input[name=flip]").eq(0),l=setInterval(()=>{let e=i.startTime?Math.round((Date.now()-i.startTime)/1e3)+"s":"Ringing";n.text("time: "+e+"\nstartTime: "+JSON.stringify(i.startTime,null,2)+"\n")},1e3);function h(){clearInterval(l),s.modal("hide")}s.find(".increase-volume").on("click",()=>{i.userAgent.audioHelper.setVolume((null!==i.userAgent.audioHelper.volume?i.userAgent.audioHelper.volume:.5)+.1)}),s.find(".decrease-volume").on("click",()=>{i.userAgent.audioHelper.setVolume((null!==i.userAgent.audioHelper.volume?i.userAgent.audioHelper.volume:.5)-.1)}),s.find(".mute").on("click",()=>{i.mute()}),s.find(".unmute").on("click",()=>{i.unmute()}),s.find(".hold").on("click",()=>{i.hold().then(()=>{console.log("Holding")}).catch(e=>{console.error("Holding failed",e.stack||e)})}),s.find(".unhold").on("click",()=>{i.unhold().then(()=>{console.log("UnHolding")}).catch(e=>{console.error("UnHolding failed",e.stack||e)})}),s.find(".startRecord").on("click",()=>{i.startRecord().then(()=>{console.log("Recording Started")}).catch(e=>{console.error("Recording Start failed",e.stack||e)})}),s.find(".stopRecord").on("click",()=>{i.stopRecord().then(()=>{console.log("Recording Stopped")}).catch(e=>{console.error("Recording Stop failed",e.stack||e)})}),s.find(".park").on("click",()=>{i.park().then(()=>{console.log("Parked")}).catch(e=>{console.error("Park failed",e.stack||e)})}),s.find(".transfer-form").on("submit",e=>{e.preventDefault(),e.stopPropagation(),i.transfer(a.val().trim()).then(()=>{console.log("Transferred"),s.modal("hide")}).catch(e=>{console.error("Transfer failed",e.stack||e)})}),s.find(".transfer-form button.warm").on("click",e=>{e.preventDefault(),e.stopPropagation(),i.hold().then(()=>{console.log("Placing the call on hold, initiating attended transfer");let e=i.userAgent.invite(a.val().trim());e.once("established",()=>{console.log("New call initated. Click Complete to complete the transfer"),s.find(".transfer-form button.complete").on("click",()=>{i.warmTransfer(e).then(()=>{console.log("Warm transfer completed")}).catch(e=>{console.error("Transfer failed",e.stack||e)})})})})}),s.find(".flip-form").on("submit",e=>{e.preventDefault(),e.stopPropagation(),i.flip(c.val().trim()).then(()=>{console.log("Flipped")}).catch(e=>{console.error("Flip failed",e.stack||e)}),c.val("")}),s.find(".dtmf-form").on("submit",e=>{e.preventDefault(),e.stopPropagation(),i.dtmf(o.val().trim()),o.val("")}),s.find(".startConf").on("click",()=>{w?alert("A conference is already in progress"):e.get("/restapi/v1.0/account/~/extension/~/presence?detailedTelephonyState=true").then(e=>e.json()).then(i=>{let s=i.activeCalls[0].partyId,n=i.activeCalls[0].telephonySessionId;e.post("/restapi/v1.0/account/~/telephony/conference",{}).then(e=>e.json()).then(e=>(p=e.session.id,e.session.voiceCallToken)).then(i=>{(function(i,s,n){let o=t.userAgent.invite(i,{fromNumber:r});o.stateChange.addListener(t=>{t===v.Established&&(T(o),console.log("Conference call started"),(function(t,i){let r="/restapi/v1.0/account/~/telephony/sessions/"+p+"/parties/bring-in";return e.post(r,{telephonySessionId:t,partyId:i})})(n,s).then(e=>e.json()).then(e=>{console.log("Adding call to conference succesful",e)}).catch(e=>{console.error("Conference call failed",e.stack||e)}))})})(i,s,n),w=!0})})}),s.find(".hangup").on("click",()=>{i.dispose()}),i.stateChange.addListener(e=>{switch(e){case v.Initial:console.log("Initial");break;case v.Establishing:console.log("Establishing");break;case v.Established:console.log("Established"),function(e){let t=g?"Outbound":"Inbound",i=S();i.from=e.request.from.uri.user,i.to=e.request.to.uri.user,i.direction=t,i.id=e.dialog.id.callId,i.sipData.fromTag=e.dialog.remoteTag,i.sipData.toTag=e.dialog.localTag,localStorage.getItem("activeCallInfo")||localStorage.setItem("activeCallInfo",JSON.stringify(i))}(i);break;case v.Terminating:console.log("Terminating"),h();break;case v.Terminated:console.log("Terminated"),h(),localStorage.setItem("activeCallInfo","")}}),i.on("refer",()=>{console.log("Event: Refer"),h()}),i.on("replaced",e=>{console.log("Event: Replaced: old session",i,"has been replaced with",e),h(),T(e)}),i.on("dtmf",()=>{console.log("Event: DTMF")}),i.on("muted",()=>{console.log("Event: Muted")}),i.on("unmuted",()=>{console.log("Event: Unmuted")})}let w=!1;function C(){let e=f(c),s=e.find("input[name=number]").eq(0),o=e.find("input[name=homeCountry]").eq(0),a=e.find(".username").eq(0),l=e.find(".logout").eq(0),d=e.find(".switch").eq(0);a.html("
Contact
"+i.contact.firstName+" "+i.contact.lastName+"
Company
"+(i.contact.company||"?")+"
From Phone Number
"+r+"
"),l.on("click",e=>{t.userAgent.unregister(),e.preventDefault(),location.reload()}),d.on("click",()=>{!function(){let e=JSON.parse(localStorage.getItem("activeCallInfo"));console.log("Switching active call to current tab: ",e),T(t.userAgent.switchFrom(e,{}))}()}),s.val(localStorage.getItem("webPhoneLastNumber")||""),e.on("submit",e=>{var n,a;e.preventDefault(),e.stopPropagation(),localStorage.setItem("webPhoneLastNumber",s.val()||""),n=s.val(),a=o.val(),g=!0,a=a||i?.regionalSettings?.homeCountry?.id||null,T(t.userAgent.invite(n,{fromNumber:r,homeCountryId:a}))}),n.empty().append(e)}!function(){let t=f(o),i=f(a),r=i.find("input[name=server]").eq(0),c=i.find("input[name=clientId]").eq(0),l=i.find("input[name=clientSecret]").eq(0),d=t.find("input[name=jwtToken]").eq(0),h=i.find("select[name=logLevel]").eq(0);r.val(localStorage.getItem("webPhoneServer")||U.SDK.server.sandbox),c.val(localStorage.getItem("webPhoneclientId")||""),l.val(localStorage.getItem("webPhoneclientSecret")||""),d.val(localStorage.getItem("webPhoneJwtToken")||""),h.val(localStorage.getItem("webPhoneLogLevel")||s),t.on("submit",t=>{console.log("Normal Flow"),t.preventDefault(),t.stopPropagation(),function(t,i,r,s,n){(e=new U.SDK({clientId:i,clientSecret:r,server:t}).platform()).login({jwt:s}).then(()=>m(t,i,r,s,n)).catch(e=>{console.error(e.stack||e)})}(r.val(),c.val(),l.val(),d.val(),h.val())}),i.on("submit",t=>{console.log("Authorized Flow"),t.preventDefault(),t.stopPropagation(),function(t,i,r,s){let n=decodeURIComponent(window.location.href.split("login",1)+"callback.html");console.log("The redirect uri value :",n);let o=(e=new U.SDK({clientId:i,clientSecret:r,server:t,redirectUri:n}).platform()).loginUrl();e.loginWindow({url:o}).then(e.login.bind(e)).then(()=>m(t,i,r,"",s)).catch(e=>{console.error(e.stack||e)})}(r.val(),c.val(),l.val(),h.val())}),n.empty().append(i).append(t)}()}); -//# sourceMappingURL=index.eaffbaa8.js.map +DialogID: ${c};to-tag=${d};from-tag=${l}`},iS=()=>({localAddr:"",remoteAddr:"",callID:"",localID:"",remoteID:"",origID:"",fromTag:"",toTag:"",timestamp:{start:"",stop:""},netType:{},jitterBufferNominal:0,jitterBufferMax:0,jitterBufferDiscardRate:0,totalSumJitter:0,totalIntervalCount:0,NLR:"",JBM:0,JBN:"",JDR:"",MOSLQ:0,MOSCQ:0,RTD:0,status:!1,localcandidate:{},remotecandidate:{},inboundPacketsLost:0,inboundPacketsReceived:0,outboundPacketsLost:0,outboundPacketsSent:0}),iT=(e={},t)=>({...e,[t]:(t in e?parseInt(e[t],10):0)+1}),iw={bluetooth:"Bluetooth",cellular:"Cellulars",ethernet:"Ethernet",wifi:"WiFi",vpn:"VPN",wimax:"WiMax","2g":"2G","3g":"3G","4g":"4G"},iC=e=>{let t=e.systemNetworkType||"unknown",i=t&&"unknown"!==t?t:e||"unknown";return i in iw?iw[i]:i};function iR(e){if(e<=.008)return 4.5;if(e>.45)return 1;let t=93.2062077233-100*e/(100*e+17.2647)*95+4,i=2.06405+.031738*t-356641e-9*t*t+293143e-11*t*t*t;return i<1?1:i>4.5?4.5:(e>=.35&&i>2.7?i=2.7:e>=.3&&i>3?i=3:e>=.2&&i>3.6?i=3.6:e>=.15&&i>3.7?i=3.7:e>=.1&&i>3.9?i=4.1:e>=.05&&i>4.1?i=4.3:e>=.03&&i>4.1&&(i=4.4),i)}function iE(e){if(e.__patched)return e;e.__patched=!0,e.held=!1,e.muted=!1,e.media=e.userAgent.media,e.__dispose=e.dispose.bind(e),e.dispose=i1.bind(e);let t=new tK.EventEmitter;return e.on=t.on.bind(t),e.off=t.off.bind(t),e.once=t.once.bind(t),e.addListener=t.addListener.bind(t),e.removeListener=t.removeListener.bind(t),e.removeAllListeners=t.removeAllListeners.bind(t),e.emit=t.emit.bind(t),e.sendInfoAndReceiveResponse=iA.bind(e),e.startRecord=iP.bind(e),e.stopRecord=iH.bind(e),e.sendMoveResponse=i_.bind(e),e.park=iF.bind(e),e.flip=iO.bind(e),e.whisper=ij.bind(e),e.barge=iL.bind(e),e.mute=iU.bind(e),e.unmute=iB.bind(e),e.addTrack=iG.bind(e),e.stopMediaStats=iV.bind(e),e.warmTransfer=iJ.bind(e),e.blindTransfer=iW.bind(e),e.transfer=iK.bind(e),e.hold=iZ.bind(e),e.unhold=iz.bind(e),e.dtmf=iX.bind(e),e.reinvite=iY.bind(e),e.forward=i0.bind(e),e.__qosStats={},e.setQosStats=re.bind(e),i5(e),e.stateChange.addListener(t=>{switch(t){case v.Establishing:e.emit(tY.Session.Establishing);break;case v.Established:i3(e),e.addTrack(),e.emit(tY.Session.Established);break;case v.Terminating:i3(e),i9(e),e.emit(tY.Session.Terminating);break;case v.Terminated:i3(e),e.emit(tY.Session.Terminated)}}),e.userAgent.onSession&&e.userAgent.onSession(e),e.mediaStatsStarted=!1,e.noAudioReportCount=0,e.reinviteForNoAudioSent=!1,e}function ix(e){try{!function(e){let t=e.request.getHeader("P-Rc"),i=e.request.getHeader("P-Rc-Api-Call-Info");if(t){let i=new DOMParser().parseFromString(t,"text/xml"),r=i.getElementsByTagName("Hdr")[0],s=i.getElementsByTagName("Bdy")[0];r&&(e.rcHeaders={sid:r.getAttribute("SID")||void 0,request:r.getAttribute("Req")||void 0,from:r.getAttribute("From")||void 0,to:r.getAttribute("To")||void 0}),s&&ir(e.rcHeaders,{srvLvl:s.getAttribute("SrvLvl"),srvLvlExt:s.getAttribute("SrvLvlExt"),nm:s.getAttribute("Nm"),toNm:s.getAttribute("ToNm")})}if(i){let t=function(e=""){let t=e.split(/; */).filter(e=>e.includes("=")),i={};for(let e of t){let[t,r]=e.split("=");t=t.trim(),r=r.trim(),t in i||(i[t]=r)}return i}(i);ir(e.rcHeaders,t)}}(e)}catch(t){e.logger.error("Can't parse RC headers from invite request due to "+t)}e.canUseRCMCallControl=iI.bind(e),e.createSessionMessage=iD.bind(e),e.ignore=iq.bind(e),e.replyWithMessage=iN.bind(e),e.sendReceiveConfirm=ik.bind(e),e.sendSessionMessage=i$.bind(e),e.toVoicemail=iM.bind(e),e.__accept=e.accept.bind(e),e.accept=iQ.bind(e),i5(e)}function iI(){return!!this.rcHeaders}function iD(e){if(!this.rcHeaders)throw Error("createSessionMessage options is undefined");return ir(e,{sid:this.rcHeaders.sid,request:this.rcHeaders.request,from:this.rcHeaders.to,to:this.rcHeaders.from}),this.userAgent.createRcMessage(e)}async function ik(){return this.sendSessionMessage(is.receiveConfirm).then(e=>(this.logger.log("sendReceiveConfirm success"),e)).catch(e=>this.logger.error(`failed to send receive confirmation via SIP MESSAGE due to ${e.message}`))}function i$(e){return this.rcHeaders||this.logger.error("Can't send SIP MESSAGE related to session: no RC headers available"),this.userAgent.sendMessage(this.rcHeaders.from,this.createSessionMessage(e))}async function iA(e,t){let i=t||{};return ir(e,i),delete e.extraHeaders,new Promise((t,r)=>{let s={extraHeaders:[...i.extraHeaders||[],...this.userAgent.defaultHeaders],body:eq({body:JSON.stringify({request:e}),contentType:"application/json;charset=utf-8"})};this.info({requestDelegate:{onAccept:i=>{let s;let{message:{statusCode:n,callId:o}}=i;if(200===n){let i=n=>{let a;if(n.callId!==o)return;let c=n?.body||"{}";try{a=JSON.parse(c)}catch(e){a={}}if(a.response&&a.response.command===e.command&&a.response.result)return(s&&clearTimeout(s),this.off("RC_SIP_INFO",i),"0"===a.response.result.code.toString())?t(a.response.result):r(a.response.result)};s=setTimeout(()=>{r(Error("Timeout: no reply")),this.off("RC_SIP_INFO",i)},6e4),this.on("RC_SIP_INFO",i)}else r(Error(`The INFO response status code is: ${n} (waiting for 200)`))},onReject:e=>{r(Error(`The INFO response status code is: ${e.message.statusCode} (waiting for 200)`))}},requestOptions:s})})}async function iP(){return i2(this,!0)}async function iH(){return i2(this,!1)}function i_(e,t,i,r={}){let s={extraHeaders:[...r.extraHeaders||[],...this.userAgent.defaultHeaders],body:eq({body:JSON.stringify({response:{reqId:e,command:"move",result:{code:t,description:i}}}),contentType:"application/json;charset=utf-8"})};this.info({requestOptions:s})}function iq(){return this.sendReceiveConfirm().then(()=>this.sendSessionMessage(is.ignore))}function iM(){return this.sendReceiveConfirm().then(()=>this.sendSessionMessage(is.toVoicemail))}function iN(e){let t='RepTp="'+e.replyType+'"';return 0===e.replyType?t+=' Bdy="'+e.replyText+'"':(1===e.replyType||4===e.replyType)&&(t+=' Vl="'+e.timeValue+'" Units="'+e.timeUnits+'" Dir="'+e.callbackDirection+'"'),this.sendReceiveConfirm().then(()=>this.sendSessionMessage({reqid:is.replyWithMessage.reqid,body:t}))}async function iO(e){return this.sendInfoAndReceiveResponse(is.flip,{target:e})}async function ij(){return this.sendInfoAndReceiveResponse(is.whisper)}async function iL(){return this.sendInfoAndReceiveResponse(is.barge)}function iF(){return this.sendInfoAndReceiveResponse(is.park)}function iU(e){if(this.state!==v.Established){this.logger.warn("An active session is required to mute audio");return}if(this.muted){this.logger.debug("Session already muted");return}this.logger.log("Muting Audio"),i7(this,!1),this.muted=!0,e||this.emit(tY.Session.Muted,this)}function iB(e){if(this.state!==v.Established){this.logger.warn("An active session is required to unmute audio");return}if(!this.muted){this.logger.debug("Session not muted");return}this.logger.log("Unmuting Audio"),i7(this,!0),this.muted=!1,e||this.emit(tY.Session.Unmuted,this)}function iG(e,t){let i,r;let s=this.sessionDescriptionHandler,n=s.peerConnection;if(e&&t)i=e,r=t;else if(this.media)i=this.media.remote,r=this.media.local;else throw Error("HTML Media Element not Defined");let o=new MediaStream;n?.getReceivers?n.getReceivers().forEach(e=>{let t=e.track;t&&(o.addTrack(t),this.logger.log("Remote track added"))}):(o=s.remoteMediaStream,this.logger.log("Remote track added")),i.srcObject=o,i.play().catch(()=>{this.logger.error("Remote play was rejected")});let a=new MediaStream;n?.getSenders?n.getSenders().forEach(e=>{let t=e.track;t&&"audio"===t.kind&&(a.addTrack(t),this.logger.log("Local track added"))}):(a=s.localMediaStream,this.logger.log("Local track added")),r.srcObject=a,r.play().catch(()=>{this.logger.error("Local play was rejected")}),a&&o&&!this.mediaStatsStarted&&(this.mediaStreams=new il(this),this.logger.log("Start gathering media report"),this.mediaStatsStarted=!0,this.mediaStreams.getMediaStats(e=>{this.userAgent.enableMediaReportLogging&&this.logger.log(`Got media report: ${JSON.stringify(e)}`),!this.reinviteForNoAudioSent&&ih(e)?(this.logger.log("No audio report"),this.noAudioReportCount++,3===this.noAudioReportCount&&(this.logger.log("No audio for 6 sec. Trying to recover audio by sending Re-invite"),this.mediaStreams.reconnectMedia(),this.reinviteForNoAudioSent=!0,this.noAudioReportCount=0)):ih(e)||(this.noAudioReportCount=0)},2e3))}function iV(){this.logger.log("Stopping media stats collection"),this&&(this.mediaStreams?.stopMediaStats(),this.mediaStatsStarted=!1,this.noAudioReportCount=0)}async function iW(e,t={}){this.logger.log("Call transfer initiated");let i="string"==typeof e?tU.makeURI(`sip:${e}@${this.userAgent.sipInfo.domain}`):e;return this.refer(i,t)}async function iJ(e,t={requestOptions:{extraHeaders:[]}}){t.requestOptions.extraHeaders=(t.requestOptions.extraHeaders||[]).concat(this.userAgent.defaultHeaders);let i="string"==typeof e?tU.makeURI(`sip:${e}@${this.userAgent.sipInfo.domain}`):e;return this.logger.log("Completing warm transfer"),this.refer(i,t)}async function iK(e,t={}){return t.requestOptions||(t.requestOptions={}),t.requestOptions.extraHeaders||(t.requestOptions.extraHeaders=[]),t.requestOptions.extraHeaders=[...t.requestOptions.extraHeaders,...this.userAgent.defaultHeaders],this.blindTransfer(e,t)}function iY(e={}){e.sessionDescriptionHandlerOptions={...e.sessionDescriptionHandlerOptions,offerToReceiveAudio:!0,offerToReceiveVideo:!1,iceRestart:!0},e.requestDelegate=e.requestDelegate||{};let t=e.requestDelegate.onAccept?.bind(e.requestDelegate);return e.requestDelegate.onAccept=(...e)=>{ix(this),t?.(...e)},this.invite(e)}async function iZ(){this.stopMediaStats();try{this.logger.log("Hold Initiated"),await i8(this,!0),this.logger.log("Hold completed, held is set to true")}catch(e){throw Error("Hold could not be completed")}}async function iz(){try{this.logger.log("Unhold Initiated"),await i8(this,!1),this.logger.log("Unhold completed, held is set to false")}catch(e){throw Error("Unhold could not be completed")}this.addTrack(this.media.remote,this.media.local)}function iX(e,t=100,i=50){let r=parseInt(t.toString(),10),s=parseInt(i.toString(),10),n=this.sessionDescriptionHandler.peerConnection;if(!n){this.logger.error("Peer connection closed.");return}let o=n.getSenders().find(e=>e.track&&"audio"===e.track.kind).dtmf;if(void 0!==o&&o)return this.logger.log(`Send DTMF: ${e} Duration: ${r} InterToneGap: ${s}`),o.insertDTMF(e,r,s);throw Error("Send DTMF failed")}async function iQ(e={}){let t=e||{};t.extraHeaders=(t.extraHeaders||[]).concat(this.userAgent.defaultHeaders),t.sessionDescriptionHandlerOptions={...t.sessionDescriptionHandlerOptions},t.sessionDescriptionHandlerOptions.constraints=t.sessionDescriptionHandlerOptions.constraints||{...this.userAgent.constraints,optional:[{DtlsSrtpKeyAgreement:"true"}]};try{await this.__accept(t),this.startTime=new Date,this.emit(tY.Session.Accepted,this.request)}catch(e){-1!==e.message.indexOf("Permission denied")&&this.emit(tY.Session.UserMediaFailed)}}async function i0(e,t={},i={}){return await this.accept(t),new Promise(t=>{this.mute(),setTimeout(()=>{t(this.transfer(e,i))},700)})}async function i1(){i9(this),this.__dispose()}async function i2(e,t){let i=t?is.startRecord:is.stopRecord;if(e.__isRecording&&!t||!e.__isRecording&&t){let r=await e.sendInfoAndReceiveResponse(i);return e.__isRecording=!!t,r}}function i6(e,t){let i=e.sessionDescriptionHandler.peerConnection;if(!i){e.logger.error("Peer connection closed.");return}i.getReceivers().forEach(e=>{e.track&&(e.track.enabled=t)})}function i7(e,t){let i=e.sessionDescriptionHandler.peerConnection;if(!i){e.logger.error("Peer connection closed.");return}i.getSenders().forEach(e=>{e.track&&(e.track.enabled=t)})}function i8(e,t){return new Promise((i,r)=>{if(e.held===t){i();return}let s=e.sessionDescriptionHandlerOptionsReInvite;s.hold=t,e.sessionDescriptionHandlerOptionsReInvite=s,e.invite({requestDelegate:{onAccept:async r=>{e.held=t;let s=e.sessionDescriptionHandler.peerConnection.localDescription.sdp.match(/a=(sendrecv|sendonly|recvonly|inactive)/),n=s?s[1]:"";e.__localHold=200===r.message.statusCode&&"sendonly"===n,e.logger.log("localhold is set to "+e.__localHold),i6(e,!e.held),i7(e,!e.held&&!e.muted),i()},onReject:()=>{e.logger.warn("re-invite request was rejected"),i6(e,!e.held),i7(e,!e.held&&!e.muted),r(Error("re-invite request was rejected"))}}}).then(()=>{i6(e,!t),i7(e,!t&&!e.muted)}).catch(t=>{t instanceof eY&&e.logger.error("A hold request is already in progress."),r(t)})})}function i3(e){e.userAgent.audioHelper.playOutgoing(!1),e.userAgent.audioHelper.playIncoming(!1)}function i4(e){e.userAgent.enableQos&&(e.logger.log("SessionDescriptionHandler created"),ip(e),navigator.mediaDevices.enumerateDevices().then(t=>{t.forEach(t=>e.logger.log(`${t.kind} = ${t.label} ${JSON.stringify(t)}`))}))}function i5(e){if(e.__userAgentCoreEventsSetup)return;let t=e.userAgent.userAgentCore;t.on(tY.Session.UpdateReceived,t=>e.emit(tY.Session.UpdateReceived,t)),t.on(tY.Session.MoveToRcv,t=>e.emit(tY.Session.MoveToRcv,t)),t.on("RC_SIP_INFO",t=>e.emit("RC_SIP_INFO",t)),e.__userAgentCoreEventsSetup=!0}function i9(e){e.mediaStreams&&(e.logger.log("Releasing media streams"),e.mediaStreams.release())}function re(e){this.__qosStats.cpuOS=e.cpuOS||"0:0:0",this.__qosStats.cpuRC=e.cpuRC||"0:0:0",this.__qosStats.ram=e.ram||"0:0:0",this.__qosStats.netType=e.netType||void 0}var tK=j("7etJZ");function rt(e){switch(e.method){case w.UPDATE:this.logger.log("Receive UPDATE request. Do nothing just return 200 OK"),this.replyStateless(e,{statusCode:200}),this.emit(tY.Session.UpdateReceived,e);return;case w.INFO:{let t=function(e){if(!e?.body)return{};let t={};try{t=JSON.parse(e.body)}catch(e){return{}}return t}(e);if(t?.request?.reqId&&t?.request?.command==="move"&&t?.request?.target==="rcv"){this.replyStateless(e,{statusCode:200}),this.emit(tY.Session.MoveToRcv,t.request);return}if(this.emit("RC_SIP_INFO",e),e.getHeader("content-type").match(/^application\/json/i)){this.replyStateless(e,{statusCode:200});return}}}return this._receiveIncomingRequestFromTransport(e)}function ri(e){this.state!==k.Stopped&&(this.delegate?.onDisconnect&&this.delegate.onDisconnect(e),e&&this.transport.reconnect())}function rr(e){return e.body=e.body||"",' "}function rs(e,t){let i=[`P-rc-ws: ${this.contact}`],r=e,[s]=r.split("@");r=r.startsWith("#")?`sip:${r.substring(1)}`:`sip:${r}`;let n=tU.makeURI(r);n.user=s;let o=new e7(this,n,t,"x-rc/agent",{extraHeaders:i});return new Promise((e,t)=>{o.message({requestDelegate:{onAccept:e,onReject:t}})})}async function rn(){await this.registerer.register({requestDelegate:{onReject:e=>{e&&(this.transport.isSipErrorCode(e.message.statusCode)&&this.transport.onSipErrorCode(),this.emit(tY.UserAgent.RegistrationFailed,e),this.logger.warn("UA Registration Failed"))}}})}async function ro(){await this.registerer.unregister()}function ra(e,t={}){let i={};i.extraHeaders=[...t.extraHeaders||[],...this.defaultHeaders,`P-Asserted-Identity: sip:${(t.fromNumber||this.sipInfo.username)+"@"+this.sipInfo.domain}`,...t.homeCountryId?[`P-rc-country-id: ${t.homeCountryId}`]:[]],t.RTCConstraints=t.RTCConstraints||{...this.constraints,optional:[{DtlsSrtpKeyAgreement:"true"}]},i.sessionDescriptionHandlerModifiers=this.modifiers,i.sessionDescriptionHandlerOptions={constraints:t.RTCConstraints},i.earlyMedia=this.earlyMedia,i.delegate={onSessionDescriptionHandler:()=>i4(r),onNotify:e=>e.accept()},this.audioHelper.playOutgoing(!0),this.logger.log(`Invite to ${e} created with playOutgoing set to true`);let r=new e6(this,tU.makeURI(`sip:${e}@${this.sipInfo.domain}`),i);return r.invite({requestDelegate:{onAccept:e=>{r.startTime=new Date,r.emit(tY.Session.Accepted,e.message)},onProgress:e=>{r.emit(tY.Session.Progress,e.message)}}}).then(()=>this.emit(tY.UserAgent.InviteSent,r)).catch(e=>{throw e.message.indexOf("Permission denied")>-1&&r.emit(tY.Session.UserMediaFailed),e}),iE(r),r}function rc(e,t={}){let i=[`Replaces: ${e.id};to-tag=${e.sipData.fromTag};from-tag=${e.sipData.toTag}`,"RC-call-type: replace"],[r,s]="Outbound"===e.direction?[e.to,e.from]:[e.from,e.to];t.extraHeaders=(t.extraHeaders||[]).concat(i),t.fromNumber=t.fromNumber||s;let n={extraHeaders:t.extraHeaders,sessionDescriptionHandlerOptions:{constraints:t.RTCConstraints||this.constraints}};return this.invite(r,n)}class rl{static dispatchAddTrackEvent(e,t){e.dispatchEvent(new MediaStreamTrackEvent("addtrack",{track:t}))}static dispatchRemoveTrackEvent(e,t){e.dispatchEvent(new MediaStreamTrackEvent("removetrack",{track:t}))}logger;mediaStreamFactory;sessionDescriptionHandlerConfiguration;_localMediaStream;_remoteMediaStream;_dataChannel;_peerConnection;_peerConnectionDelegate;iceGatheringCompletePromise;iceGatheringCompleteTimeoutId;iceGatheringCompleteResolve;iceGatheringCompleteReject;localMediaStreamConstraints;onDataChannel;constructor(e,t,i){e.debug("SessionDescriptionHandler.constructor"),this.logger=e,this.mediaStreamFactory=t,this.sessionDescriptionHandlerConfiguration=i,this._localMediaStream=new MediaStream,this._remoteMediaStream=new MediaStream,this._peerConnection=new RTCPeerConnection(i?.peerConnectionConfiguration),this.initPeerConnectionEventHandlers()}get localMediaStream(){return this._localMediaStream}get remoteMediaStream(){return this._remoteMediaStream}get dataChannel(){return this._dataChannel}get peerConnection(){return this._peerConnection}get peerConnectionDelegate(){return this._peerConnectionDelegate}set peerConnectionDelegate(e){this._peerConnectionDelegate=e}close(){this.logger.debug("SessionDescriptionHandler.close"),void 0!==this._peerConnection&&(this._peerConnection.getReceivers().forEach(e=>{e.track?.stop()}),this._peerConnection.getSenders().forEach(e=>{e.track?.stop()}),this._dataChannel&&this._dataChannel.close(),this._peerConnection.close(),this._peerConnection=void 0)}getDescription(e,t){if(this.logger.debug("SessionDescriptionHandler.getDescription"),void 0===this._peerConnection)return Promise.reject(Error("Peer connection closed."));this.onDataChannel=e?.onDataChannel;let i=e?.offerOptions?.iceRestart,r=e?.iceGatheringTimeout===void 0?this.sessionDescriptionHandlerConfiguration?.iceGatheringTimeout:e?.iceGatheringTimeout;return this.getLocalMediaStream(e).then(()=>this.enableSenderDscp()).then(()=>this.updateDirection(e)).then(()=>this.createDataChannel(e)).then(()=>this.createLocalOfferOrAnswer(e)).then(e=>this.applyModifiers(e,t)).then(e=>this.setLocalSessionDescription(e)).then(()=>this.waitForIceGatheringComplete(i,r)).then(()=>this.getLocalSessionDescription()).then(e=>({body:e.sdp,contentType:"application/sdp"})).catch(e=>{throw this.logger.error("SessionDescriptionHandler.getDescription failed - "+e),e})}hasDescription(e){return this.logger.debug("SessionDescriptionHandler.hasDescription"),"application/sdp"===e}sendDtmf(e,t){if(this.logger.debug("SessionDescriptionHandler.sendDtmf"),void 0===this._peerConnection)return this.logger.error("SessionDescriptionHandler.sendDtmf failed - peer connection closed"),!1;let i=this._peerConnection.getSenders();if(0===i.length)return this.logger.error("SessionDescriptionHandler.sendDtmf failed - no senders"),!1;let r=i[0].dtmf;if(!r)return this.logger.error("SessionDescriptionHandler.sendDtmf failed - no DTMF sender"),!1;let s=t?.duration,n=t?.interToneGap;try{r.insertDTMF(e,s,n)}catch(e){return this.logger.error(e),!1}return this.logger.log("SessionDescriptionHandler.sendDtmf sent via RTP: "+e.toString()),!0}setDescription(e,t,i){if(this.logger.debug("SessionDescriptionHandler.setDescription"),void 0===this._peerConnection)return Promise.reject(Error("Peer connection closed."));this.onDataChannel=t?.onDataChannel;let r="have-local-offer"===this._peerConnection.signalingState?"answer":"offer";return this.getLocalMediaStream(t).then(()=>this.applyModifiers({sdp:e,type:r},i)).then(e=>this.setRemoteSessionDescription(e)).catch(e=>{throw this.logger.error("SessionDescriptionHandler.setDescription failed - "+e),e})}applyModifiers(e,t){return(this.logger.debug("SessionDescriptionHandler.applyModifiers"),t&&0!==t.length)?t.reduce((e,t)=>e.then(t),Promise.resolve(e)).then(e=>{if(this.logger.debug("SessionDescriptionHandler.applyModifiers - modified sdp"),!e.sdp||!e.type)throw Error("Invalid SDP.");return{sdp:e.sdp,type:e.type}}):Promise.resolve(e)}createDataChannel(e){if(void 0===this._peerConnection)return Promise.reject(Error("Peer connection closed."));if(e?.dataChannel!==!0||this._dataChannel)return Promise.resolve();switch(this._peerConnection.signalingState){case"stable":this.logger.debug("SessionDescriptionHandler.createDataChannel - creating data channel");try{return this._dataChannel=this._peerConnection.createDataChannel(e?.dataChannelLabel||"",e?.dataChannelOptions),this.onDataChannel&&this.onDataChannel(this._dataChannel),Promise.resolve()}catch(e){return Promise.reject(e)}case"have-remote-offer":return Promise.resolve();default:return Promise.reject(Error("Invalid signaling state "+this._peerConnection.signalingState))}}createLocalOfferOrAnswer(e){if(void 0===this._peerConnection)return Promise.reject(Error("Peer connection closed."));switch(this._peerConnection.signalingState){case"stable":return this.logger.debug("SessionDescriptionHandler.createLocalOfferOrAnswer - creating SDP offer"),this._peerConnection.createOffer(e?.offerOptions);case"have-remote-offer":return this.logger.debug("SessionDescriptionHandler.createLocalOfferOrAnswer - creating SDP answer"),this._peerConnection.createAnswer(e?.answerOptions);default:return Promise.reject(Error("Invalid signaling state "+this._peerConnection.signalingState))}}getLocalMediaStream(e){if(this.logger.debug("SessionDescriptionHandler.getLocalMediaStream"),void 0===this._peerConnection)return Promise.reject(Error("Peer connection closed."));let t={...e?.constraints};if(this.localMediaStreamConstraints){if(t.audio=t.audio||this.localMediaStreamConstraints.audio,t.video=t.video||this.localMediaStreamConstraints.video,JSON.stringify(this.localMediaStreamConstraints.audio)===JSON.stringify(t.audio)&&JSON.stringify(this.localMediaStreamConstraints.video)===JSON.stringify(t.video))return Promise.resolve()}else void 0===t.audio&&void 0===t.video&&(t={audio:!0});return this.localMediaStreamConstraints=t,this.mediaStreamFactory(t,this).then(e=>this.setLocalMediaStream(e))}async enableSenderDscp(){if(this.sessionDescriptionHandlerConfiguration?.enableDscp){if(!this._peerConnection)throw Error("Peer connection undefined.");for(let e of this._peerConnection.getSenders().filter(e=>e.track)){let t=e.getParameters();console.info("getsender params =",t),t.priority="high";try{await e.setParameters(t)}catch(t){console.error(`Error while setting encodings parameters for ${e.track.kind} Track ${e.track.id}: ${t.message||t.name}`)}}}}setLocalMediaStream(e){if(this.logger.debug("SessionDescriptionHandler.setLocalMediaStream"),!this._peerConnection)throw Error("Peer connection undefined.");let t=this._peerConnection,i=this._localMediaStream,r=[],s=e=>{let s=e.kind;if("audio"!==s&&"video"!==s)throw Error(`Unknown new track kind ${s}.`);let n=t.getSenders().find(e=>e.track&&e.track.kind===s);n?r.push(new Promise(e=>{this.logger.debug(`SessionDescriptionHandler.setLocalMediaStream - replacing sender ${s} track`),e()}).then(()=>n.replaceTrack(e).then(()=>{let t=i.getTracks().find(e=>e.kind===s);t&&(t.stop(),i.removeTrack(t),rl.dispatchRemoveTrackEvent(i,t)),i.addTrack(e),rl.dispatchAddTrackEvent(i,e)}).catch(e=>{throw this.logger.error(`SessionDescriptionHandler.setLocalMediaStream - failed to replace sender ${s} track`),e}))):r.push(new Promise(e=>{this.logger.debug(`SessionDescriptionHandler.setLocalMediaStream - adding sender ${s} track`),e()}).then(()=>{try{t.addTrack(e,i)}catch(e){throw this.logger.error(`SessionDescriptionHandler.setLocalMediaStream - failed to add sender ${s} track`),e}i.addTrack(e),rl.dispatchAddTrackEvent(i,e)}))},n=e.getAudioTracks();n.length&&s(n[0]);let o=e.getVideoTracks();return o.length&&s(o[0]),r.reduce((e,t)=>e.then(()=>t),Promise.resolve())}getLocalSessionDescription(){if(this.logger.debug("SessionDescriptionHandler.getLocalSessionDescription"),void 0===this._peerConnection)return Promise.reject(Error("Peer connection closed."));let e=this._peerConnection.localDescription;return e?Promise.resolve(e):Promise.reject(Error("Failed to get local session description"))}setLocalSessionDescription(e){return(this.logger.debug("SessionDescriptionHandler.setLocalSessionDescription"),void 0===this._peerConnection)?Promise.reject(Error("Peer connection closed.")):this._peerConnection.setLocalDescription(e)}setRemoteSessionDescription(e){let t;if(this.logger.debug("SessionDescriptionHandler.setRemoteSessionDescription"),void 0===this._peerConnection)return Promise.reject(Error("Peer connection closed."));let i=e.sdp;switch(this._peerConnection.signalingState){case"stable":t="offer";break;case"have-local-offer":t="answer";break;default:return Promise.reject(Error("Invalid signaling state "+this._peerConnection.signalingState))}return i?this._peerConnection.setRemoteDescription({sdp:i,type:t}):(this.logger.error("SessionDescriptionHandler.setRemoteSessionDescription failed - cannot set null sdp"),Promise.reject(Error("SDP is undefined")))}setRemoteTrack(e){this.logger.debug("SessionDescriptionHandler.setRemoteTrack");let t=this._remoteMediaStream;t.getTrackById(e.id)?this.logger.debug(`SessionDescriptionHandler.setRemoteTrack - have remote ${e.kind} track`):"audio"===e.kind?(this.logger.debug(`SessionDescriptionHandler.setRemoteTrack - adding remote ${e.kind} track`),t.getAudioTracks().forEach(e=>{e.stop(),t.removeTrack(e),rl.dispatchRemoveTrackEvent(t,e)}),t.addTrack(e),rl.dispatchAddTrackEvent(t,e)):"video"===e.kind&&(this.logger.debug(`SessionDescriptionHandler.setRemoteTrack - adding remote ${e.kind} track`),t.getVideoTracks().forEach(e=>{e.stop(),t.removeTrack(e),rl.dispatchRemoveTrackEvent(t,e)}),t.addTrack(e),rl.dispatchAddTrackEvent(t,e))}updateDirection(e){if(void 0===this._peerConnection)return Promise.reject(Error("Peer connection closed."));switch(this._peerConnection.signalingState){case"stable":this.logger.debug("SessionDescriptionHandler.updateDirection - setting offer direction");{let t=t=>{switch(t){case"inactive":case"recvonly":return e?.hold?"inactive":"recvonly";case"sendonly":case"sendrecv":return e?.hold?"sendonly":"sendrecv";case"stopped":return"stopped";default:throw Error("Should never happen")}};this._peerConnection.getTransceivers().forEach(e=>{if(e.direction){let i=t(e.direction);e.direction!==i&&(e.direction=i)}})}break;case"have-remote-offer":this.logger.debug("SessionDescriptionHandler.updateDirection - setting answer direction");{let t=(()=>{let e=this._peerConnection.remoteDescription;if(!e)throw Error("Failed to read remote offer");let t=/a=sendrecv\r\n|a=sendonly\r\n|a=recvonly\r\n|a=inactive\r\n/.exec(e.sdp);if(t)switch(t[0]){case"a=inactive\r\n":return"inactive";case"a=recvonly\r\n":return"recvonly";case"a=sendonly\r\n":return"sendonly";case"a=sendrecv\r\n":break;default:throw Error("Should never happen")}return"sendrecv"})(),i=(()=>{switch(t){case"inactive":return"inactive";case"recvonly":return"sendonly";case"sendonly":return e?.hold?"inactive":"recvonly";case"sendrecv":return e?.hold?"sendonly":"sendrecv";default:throw Error("Should never happen")}})();this._peerConnection.getTransceivers().forEach(e=>{e.direction&&"stopped"!==e.direction&&e.direction!==i&&(e.direction=i)})}break;default:return Promise.reject(Error("Invalid signaling state "+this._peerConnection.signalingState))}return Promise.resolve()}iceGatheringComplete(){this.logger.debug("SessionDescriptionHandler.iceGatheringComplete"),void 0!==this.iceGatheringCompleteTimeoutId&&(this.logger.debug("SessionDescriptionHandler.iceGatheringComplete - clearing timeout"),clearTimeout(this.iceGatheringCompleteTimeoutId),this.iceGatheringCompleteTimeoutId=void 0),void 0!==this.iceGatheringCompletePromise&&(this.logger.debug("SessionDescriptionHandler.iceGatheringComplete - resolving promise"),this.iceGatheringCompleteResolve?.(),this.iceGatheringCompletePromise=void 0,this.iceGatheringCompleteResolve=void 0,this.iceGatheringCompleteReject=void 0)}waitForIceGatheringComplete(e=!1,t=0){return(this.logger.debug("SessionDescriptionHandler.waitForIceGatheringToComplete"),void 0===this._peerConnection)?Promise.reject(Error("Peer connection closed.")):e||"complete"!==this._peerConnection.iceGatheringState?(void 0!==this.iceGatheringCompletePromise&&(this.logger.debug("SessionDescriptionHandler.waitForIceGatheringToComplete - rejecting prior waiting promise"),this.iceGatheringCompleteReject?.(Error("Promise superseded.")),this.iceGatheringCompletePromise=void 0,this.iceGatheringCompleteResolve=void 0,this.iceGatheringCompleteReject=void 0),this.iceGatheringCompletePromise=new Promise((e,i)=>{this.iceGatheringCompleteResolve=e,this.iceGatheringCompleteReject=i,t>0&&(this.logger.debug("SessionDescriptionHandler.waitForIceGatheringToComplete - timeout in "+t),this.iceGatheringCompleteTimeoutId=setTimeout(()=>{this.logger.debug("SessionDescriptionHandler.waitForIceGatheringToComplete - timeout"),this.iceGatheringComplete()},t))}),this.iceGatheringCompletePromise):(this.logger.debug("SessionDescriptionHandler.waitForIceGatheringToComplete - already complete"),Promise.resolve())}initPeerConnectionEventHandlers(){if(this.logger.debug("SessionDescriptionHandler.initPeerConnectionEventHandlers"),!this._peerConnection)throw Error("Peer connection undefined.");let e=this._peerConnection;e.onconnectionstatechange=t=>{let i=e.connectionState;this.logger.debug(`SessionDescriptionHandler.onconnectionstatechange ${i}`),this._peerConnectionDelegate?.onconnectionstatechange&&this._peerConnectionDelegate.onconnectionstatechange(t)},e.ondatachannel=e=>{this.logger.debug("SessionDescriptionHandler.ondatachannel"),this._dataChannel=e.channel,this.onDataChannel&&this.onDataChannel(this._dataChannel),this._peerConnectionDelegate?.ondatachannel&&this._peerConnectionDelegate.ondatachannel(e)},e.onicecandidate=e=>{this.logger.debug("SessionDescriptionHandler.onicecandidate"),this._peerConnectionDelegate?.onicecandidate&&this._peerConnectionDelegate.onicecandidate(e)},e.onicecandidateerror=e=>{this.logger.debug("SessionDescriptionHandler.onicecandidateerror"),this._peerConnectionDelegate?.onicecandidateerror&&this._peerConnectionDelegate.onicecandidateerror(e)},e.oniceconnectionstatechange=t=>{let i=e.iceConnectionState;this.logger.debug(`SessionDescriptionHandler.oniceconnectionstatechange ${i}`),this._peerConnectionDelegate?.oniceconnectionstatechange&&this._peerConnectionDelegate.oniceconnectionstatechange(t)},e.onicegatheringstatechange=t=>{let i=e.iceGatheringState;this.logger.debug(`SessionDescriptionHandler.onicegatheringstatechange ${i}`),"complete"===i&&this.iceGatheringComplete(),this._peerConnectionDelegate?.onicegatheringstatechange&&this._peerConnectionDelegate.onicegatheringstatechange(t)},e.onnegotiationneeded=e=>{this.logger.debug("SessionDescriptionHandler.onnegotiationneeded"),this._peerConnectionDelegate?.onnegotiationneeded&&this._peerConnectionDelegate.onnegotiationneeded(e)},e.onsignalingstatechange=t=>{let i=e.signalingState;this.logger.debug(`SessionDescriptionHandler.onsignalingstatechange ${i}`),this._peerConnectionDelegate?.onsignalingstatechange&&this._peerConnectionDelegate.onsignalingstatechange(t)},e.ontrack=e=>{let t=e.track.kind,i=e.track.enabled?"enabled":"disabled";this.logger.debug(`SessionDescriptionHandler.ontrack ${t} ${i}`),this.setRemoteTrack(e.track),this._peerConnectionDelegate?.ontrack&&this._peerConnectionDelegate.ontrack(e)}}}const rd=(e,t)=>{let i={iceGatheringTimeout:t?.iceGatheringTimeout!==void 0?t?.iceGatheringTimeout:5e3,enableDscp:t.enableDscp,peerConnectionConfiguration:{bundlePolicy:"balanced",certificates:void 0,iceCandidatePoolSize:0,iceServers:[{urls:"stun:stun.l.google.com:19302"}],iceTransportPolicy:"all",rtcpMuxPolicy:"require",...t?.peerConnectionConfiguration}};return new rl(e.userAgent.getLogger("sip.SessionDescriptionHandler"),e=>e.audio||e.video?void 0===navigator.mediaDevices?Promise.reject(Error("Media devices not available in insecure contexts.")):navigator.mediaDevices.getUserMedia(e):Promise.resolve(new MediaStream),i)},rh=_(JSON.parse('{"name":"ringcentral-web-phone","version":"1.0.2","homepage":"https://github.com/ringcentral/ringcentral-web-phone","bugs":{"url":"https://github.com/ringcentral/ringcentral-web-phone/issues"},"repository":{"type":"git","url":"git://github.com/ringcentral/ringcentral-web-phone.git"},"license":"MIT","author":{"name":"RingCentral, Inc.","email":"devsupport@ringcentral.com"},"contributors":[{"name":"Kirill Konshin"},{"name":"Elias Sun"},{"name":"Vyshakh Babji"},{"name":"Yatin Gera"},{"name":"Tyler Liu"},{"name":"Embbnux Ji"}],"main":"./lib/src/index.js","types":"./lib/src/index.d.ts","scripts":{"build":"rm -rf lib && yarn tsc && rm -rf docs && parcel build demo/index.html demo/callback.html --dist-dir docs --public-url ./","lint":"eslint --fix \'**/*.{ts,tsx,js,jsx}\' && prettier --write . && sort-package-json","serve":"rm -rf .parcel-cache && parcel demo/index.html demo/callback.html --dist-dir docs","test":"jest src/mediaStreams.spec.ts","test:coverage":"cat .coverage/lcov.info | coveralls -v","test2":"NODE_OPTIONS=--require=dotenv-override-true/config playwright test test/index.spec.ts --workers=1"},"dependencies":{"sip.js":"^0.21.2"},"devDependencies":{"@faker-js/faker":"^8.4.1","@playwright/test":"^1.44.1","@rc-ex/core":"^1.3.15","@ringcentral/sdk":"^5.0.1","@types/jest":"^29.5.12","@types/node":"^20.14.2","@typescript-eslint/eslint-plugin":"^7.13.0","@typescript-eslint/parser":"^7.13.0","bootstrap":"3.4.1","buffer":"^6.0.3","coveralls":"^3.1.1","crypto-browserify":"^3.12.0","dotenv-override-true":"^6.2.2","eslint":"8.57.0","eslint-config-alloy":"^5.1.2","eslint-config-prettier":"^9.1.0","eslint-plugin-jest":"^28.6.0","eslint-plugin-prettier":"^5.1.3","events":"^3.3.0","http-server":"^14.1.1","jest":"^29.7.0","jquery":"^3.7.1","parcel":"^2.12.0","prettier":"^3.3.1","process":"^0.11.10","querystring-es3":"^0.2.1","sort-package-json":"^2.10.0","stream-browserify":"^3.0.0","ts-jest":"^29.1.4","ts-node":"^10.9.2","ttpt":"^0.9.6","typescript":"^5.4.5","wait-for-async":"^0.6.1","yarn-upgrade-all":"^0.7.2"},"preferGlobal":false,"targets":{"main":false,"module":false,"types":false,"browser":false},"yarn-upgrade-all":{"ignore":["bootstrap","eslint"]}}')).version,ru={autoStop:!0,builtinEnabled:!0,earlyMedia:!1,enableDefaultModifiers:!0,enableDscp:!1,iceTransportPolicy:"all",maxReconnectionAttemptsNoBackup:15,maxReconnectionAttemptsWithBackup:10,mediaConstraints:{audio:!0,video:!1},modifiers:[],qosCollectInterval:5e3,reconnectionTimeoutNoBackup:5,reconnectionTimeoutWithBackup:4,transportServers:[],turnServers:[],uuid:ii(),uuidKey:"rc-webPhone-uuid"};class rg{static version=rh;static uuid=ii;static extend=ir;static MediaStreams=il;static MediaStreamsImpl=id;sipInfo;uuidKey;appName;appVersion;userAgent;constructor(e={},t={}){let i={...ru,...t};this.sipInfo=e.sipInfo,Array.isArray(this.sipInfo)&&(this.sipInfo=this.sipInfo[0]),this.uuidKey=i.uuidKey,this.appName=i.appName,this.appVersion=i.appVersion;let r=i.uuid;localStorage.setItem(this.uuidKey,r);let s=navigator.userAgent.match(/\((.*?)\)/),n=null===s?"":s[1].replace(/[^a-zA-Z0-9.:_]+/g,"-"),o=(this.appName?this.appName+(this.appVersion?"/"+this.appVersion:"")+" ":"")+(n||"")+` RCWEBPHONE/${rg.version}`,a=i.modifiers;i.enableDefaultModifiers||(a.push(B.stripG722),a.push(B.stripTcpCandidates)),i.enableMidLinesInSDP&&a.push(B.addMidLines);let c=i.enablePlanB?"plan-b":"unified-plan",l=i.stunServers||io,d=i.iceTransportPolicy,h=[];i.enableTurnServers&&(h=i.turnServers.map(e=>({urls:e})),i.iceCheckingTimeout=i.iceCheckingTimeout||2e3),h=[...h,...l.map(e=>({urls:/^(stun:)/.test(e)?e:`stun:${e}`}))];let u=i.sessionDescriptionHandlerFactoryOptions||{iceGatheringTimeout:i.iceCheckingTimeout||500,enableDscp:i.enableDscp,peerConnectionConfiguration:{iceServers:h,iceTransportPolicy:d,sdpSemantics:c}};u.enableDscp=!!i.enableDscp,i.modifiers=a;let g=navigator.userAgent.toLowerCase();g.includes("firefox")&&!g.includes("chrome")&&(i.earlyMedia=!0);let p=i.sessionDescriptionHandlerFactory||rd,f=e.sipErrorCodes?.length?e.sipErrorCodes:ia,m=i.reconnectionTimeoutWithBackup,v=i.maxReconnectionAttemptsWithBackup;this.sipInfo.outboundProxy&&this.sipInfo.transport&&(i.transportServers.push({uri:this.sipInfo.transport.toLowerCase()+"://"+this.sipInfo.outboundProxy}),m=i.reconnectionTimeoutNoBackup,v=i.maxReconnectionAttemptsNoBackup),this.sipInfo.outboundProxyBackup&&this.sipInfo.transport&&i.transportServers.push({uri:this.sipInfo.transport.toLowerCase()+"://"+this.sipInfo.outboundProxyBackup}),i.reconnectionTimeout=i.reconnectionTimeout||m,i.maxReconnectionAttempts=i.maxReconnectionAttempts||v;let y=i.transportServers.length?i.transportServers[0].uri:"",S={uri:tU.makeURI(`sip:${this.sipInfo.username}@${this.sipInfo.domain}`),transportOptions:{server:y,traceSip:!0,connectionTimeout:5,keepAliveDebounce:i.keepAliveDebounce,keepAliveInterval:i.keepAliveInterval},reconnectionAttempts:0,authorizationUsername:this.sipInfo.authorizationId,authorizationPassword:this.sipInfo.password,logLevel:b[i.logLevel]||"debug",logBuiltinEnabled:i.builtinEnabled,logConnector:i.connector||void 0,userAgentString:o,sessionDescriptionHandlerFactoryOptions:u,sessionDescriptionHandlerFactory:p,allowLegacyNotifications:!0};i.sipErrorCodes=f,i.switchBackInterval=this.sipInfo.switchBackInterval,this.userAgent=function(e,t,i,r){let s=new tU({delegate:{onConnect:()=>s.register(),onInvite:e=>{s.audioHelper.playIncoming(!0),e.delegate={},e.delegate.onSessionDescriptionHandler=()=>i4(e),iE(e),ix(e),e.logger.log("UA received incoming call invite"),e.sendReceiveConfirm(),s.emit(tY.UserAgent.Invite,e)},onNotify:e=>{""===e.request.getHeader("Event")&&s.emit(tY.UserAgent.ProvisionUpdate),s.logger.log("UA received notify"),e.accept()}},...e}),n=new tK.EventEmitter;return s.on=n.on.bind(n),s.off=n.off.bind(n),s.once=n.once.bind(n),s.addListener=n.addListener.bind(n),s.removeListener=n.removeListener.bind(n),s.removeAllListeners=n.removeAllListeners.bind(n),s.defaultHeaders=[`P-rc-endpoint-id: ${r}`,`Client-id: ${i.clientId}`],s.regId=i.regId,s.media={},s.enableQos=i.enableQos,s.enableMediaReportLogging=i.enableMediaReportLogging,s.qosCollectInterval=i.qosCollectInterval,i.media?.remote&&i.media.local?(s.media.remote=i.media.remote,s.media.local=i.media.local):s.media=void 0,s.registerer=new e8(s,{regId:s.regId,instanceId:s.instanceId,extraHeaders:s.defaultHeaders}),s.sipInfo=t,s.modifiers=i.modifiers,s.constraints=i.mediaConstraints,s.earlyMedia=i.earlyMedia,s.audioHelper=new it(i.audioHelper),s.onSession=i.onSession,s._transport=function(e,t){e.reconnectionAttempts=0,e.sipErrorCodes=t.sipErrorCodes,e.servers=t.transportServers;let i=new tK.EventEmitter;return e.on=i.on.bind(i),e.off=i.off.bind(i),e.once=i.once.bind(i),e.addListener=i.addListener.bind(i),e.removeListener=i.removeListener.bind(i),e.removeAllListeners=i.removeAllListeners.bind(i),e.emit=i.emit.bind(i),e.mainProxy=t.transportServers[0],e.switchBackInterval=t.switchBackInterval,e.reconnectionTimeout=t.reconnectionTimeout,e.maxReconnectionAttempts=t.maxReconnectionAttempts,e.__afterWSConnected=t1.bind(e),e.__clearSwitchBackToMainProxyTimer=t8.bind(e),e.__computeRandomTimeout=tz.bind(e),e.__connect=e.connect,e.__isCurrentMainProxy=t0.bind(e),e.__onConnectedToBackup=t6.bind(e),e.__onConnectedToMain=t2.bind(e),e.__resetServersErrorStatus=tQ.bind(e),e.__scheduleSwitchBackToMainProxy=t7.bind(e),e.__setServerIsError=tX.bind(e),e.connect=tZ.bind(e),e.getNextWsServer=t4.bind(e),e.isSipErrorCode=t9.bind(e),e.noAvailableServers=t5.bind(e),e.onSipErrorCode=ie.bind(e),e.reconnect=t3.bind(e),e.stateChange.addListener(t=>{switch(t){case D.Connecting:e.emit(tY.Transport.Connecting);break;case D.Connected:e.emit(tY.Transport.Connected),e.__afterWSConnected();break;case D.Disconnecting:e.emit(tY.Transport.Disconnecting);break;case D.Disconnected:e.emit(tY.Transport.Disconnected)}}),e}(s.transport,i),s.onTransportDisconnect=ri.bind(s),s.emit=n.emit.bind(n),s.register=rn.bind(s),s.unregister=ro.bind(s),s.invite=ra.bind(s),s.sendMessage=rs.bind(s),s.createRcMessage=rr.bind(s),s.switchFrom=rc.bind(s),function(e){let t=e.userAgentCore,i=new tK.EventEmitter;t.on=i.on.bind(i),t.off=i.off.bind(i),t.addListener=i.addListener.bind(i),t.removeListener=i.removeListener.bind(i),t.emit=i.emit.bind(i),t._receiveIncomingRequestFromTransport=t.receiveIncomingRequestFromTransport.bind(e.userAgentCore),t.receiveIncomingRequestFromTransport=rt.bind(e.userAgentCore)}(s),s.start(),s.stateChange.addListener(e=>{switch(e){case k.Started:s.emit(tY.UserAgent.Started);break;case k.Stopped:s.emit(tY.UserAgent.Stopped)}}),s.registerer.stateChange.addListener(e=>{switch(e){case R.Registered:s.emit(tY.UserAgent.Registered);break;case R.Unregistered:s.emit(tY.UserAgent.Unregistered)}}),s}(S,this.sipInfo,i,r)}}var rp={};rp=new URL("incoming.4df5d2c2.ogg",import.meta.url).toString();var rf={};rf=new URL("outgoing.32ff67a1.ogg",import.meta.url).toString(),H.jQuery=_(F),j("2yR94"),_(F)(()=>{let e,t,i,r;let s=0,n=_(F)("#app"),o=_(F)("#template-login"),a=_(F)("#template-auth-flow"),c=_(F)("#template-call"),l=_(F)("#template-incoming"),d=_(F)("#template-accepted"),h=document.getElementById("remoteVideo"),u=document.getElementById("localVideo"),g=!0,p="";function f(e){return _(F)(e.html())}function m(t,n,o,a,c){return s=c,localStorage.setItem("webPhoneServer",t||""),localStorage.setItem("webPhoneclientId",n||""),localStorage.setItem("webPhoneclientSecret",o||""),a&&a.length>0&&localStorage.setItem("webPhoneJwtToken",a),localStorage.setItem("webPhoneLogLevel",(s||0).toString()),e.get("/restapi/v1.0/account/~/extension/~").then(e=>e.json()).then(t=>(console.log("Extension info",i=t),e.get("/restapi/v1.0/account/~/extension/~/phone-number"))).then(e=>e.json()).then(e=>{r=e.records.filter(e=>!0===e.primary)[0].phoneNumber}).then(()=>e.post("/restapi/v1.0/client-info/sip-provision",{sipInfo:[{transport:"WSS"}]})).then(e=>e.json()).then(b).then(C).catch(e=>{console.error("Error in main promise chain"),console.error(e.stack||e)})}function b(e){return t=new rg(e,{enableDscp:!0,clientId:localStorage.getItem("webPhoneclientId"),audioHelper:{enabled:!0,incoming:_(rp),outgoing:_(rf)},logLevel:s,appName:"WebPhoneDemo",appVersion:"1.0.0",media:{remote:h,local:u},enableQos:!0,enableMediaReportLogging:!0}),H.webPhone=t,t.userAgent.audioHelper.setVolume(.3),t.userAgent.on("invite",y),t.userAgent.on("connecting",()=>{console.log("UA connecting")}),t.userAgent.on("connected",()=>{console.log("UA Connected")}),t.userAgent.on("disconnected",()=>{console.log("UA Disconnected")}),t.userAgent.on("registered",()=>{console.log("UA Registered")}),t.userAgent.on("unregistered",()=>{console.log("UA Unregistered")}),t.userAgent.on("registrationFailed",function(){console.log("UA RegistrationFailed",arguments)}),t.userAgent.on("message",function(){console.log("UA Message",arguments)}),t.userAgent.transport.on("switchBackProxy",()=>{console.log("switching back to primary outbound proxy"),t.userAgent.transport.reconnect()}),t.userAgent.transport.on("closed",()=>{console.log("WebSocket closed.")}),t.userAgent.transport.on("transportError",()=>{console.log("WebSocket transportError occured")}),t.userAgent.transport.on("wsConnectionError",()=>{console.log("WebSocket wsConnectionError occured")}),t}function y(e){let t=f(l).modal({backdrop:"static"});e.stateChange.addListener(e=>{switch(e){case v.Initial:console.log("Initial");break;case v.Establishing:console.log("Establishing");break;case v.Established:console.log("Established");break;case v.Terminating:console.log("Terminating"),t.modal("hide");break;case v.Terminated:console.log("Terminated"),t.modal("hide")}}),g=!1,console.log("EVENT: Invite",e.request),console.log("To",e.request.to.displayName,e.request.to.friendlyName),console.log("From",e.request.from.displayName,e.request.from.friendlyName),e.request.headers["Alert-Info"]&&"Auto Answer"===e.request.headers["Alert-Info"][0].raw?e.accept().then(()=>{T(e)}).catch(e=>{console.error("Accept failed",e.stack||e)}):(t.find(".answer").on("click",()=>{t.find(".before-answer").css("display","none"),t.find(".answered").css("display",""),e.accept().then(()=>{t.modal("hide"),T(e)}).catch(e=>{console.error("Accept failed",e.stack||e)})}),t.find(".decline").on("click",()=>{e.reject(),t.modal("hide")}),t.find(".toVoicemail").on("click",()=>{e.toVoicemail(),t.modal("hide")}),t.find(".forward-form").on("submit",i=>{i.preventDefault(),i.stopPropagation(),e.forward(t.find("input[name=forward]").val().trim()).then(()=>{console.log("Forwarded"),t.modal("hide")}).catch(e=>{console.error("Forward failed",e.stack||e)})}),t.find(".reply-form").on("submit",i=>{i.preventDefault(),i.stopPropagation(),e.replyWithMessage({replyType:0,replyText:t.find("input[name=reply]").val()}).then(()=>{console.log("Replied"),t.modal("hide")}).catch(e=>{console.error("Reply failed",e.stack||e)})}))}let S=()=>({id:"",from:"",to:"",direction:"",sipData:{toTag:"",fromTag:""}});function T(i){console.log("EVENT: Accepted",i.request),console.log("To",i.request.to.displayName,i.request.to.friendlyName),console.log("From",i.request.from.displayName,i.request.from.friendlyName);let s=f(d).modal(),n=s.find(".info").eq(0),o=s.find("input[name=dtmf]").eq(0),a=s.find("input[name=transfer]").eq(0),c=s.find("input[name=flip]").eq(0),l=setInterval(()=>{let e=i.startTime?Math.round((Date.now()-i.startTime)/1e3)+"s":"Ringing";n.text("time: "+e+"\nstartTime: "+JSON.stringify(i.startTime,null,2)+"\n")},1e3);function h(){clearInterval(l),s.modal("hide")}s.find(".increase-volume").on("click",()=>{i.userAgent.audioHelper.setVolume((null!==i.userAgent.audioHelper.volume?i.userAgent.audioHelper.volume:.5)+.1)}),s.find(".decrease-volume").on("click",()=>{i.userAgent.audioHelper.setVolume((null!==i.userAgent.audioHelper.volume?i.userAgent.audioHelper.volume:.5)-.1)}),s.find(".mute").on("click",()=>{i.mute()}),s.find(".unmute").on("click",()=>{i.unmute()}),s.find(".hold").on("click",()=>{i.hold().then(()=>{console.log("Holding")}).catch(e=>{console.error("Holding failed",e.stack||e)})}),s.find(".unhold").on("click",()=>{i.unhold().then(()=>{console.log("UnHolding")}).catch(e=>{console.error("UnHolding failed",e.stack||e)})}),s.find(".startRecord").on("click",()=>{i.startRecord().then(()=>{console.log("Recording Started")}).catch(e=>{console.error("Recording Start failed",e.stack||e)})}),s.find(".stopRecord").on("click",()=>{i.stopRecord().then(()=>{console.log("Recording Stopped")}).catch(e=>{console.error("Recording Stop failed",e.stack||e)})}),s.find(".park").on("click",()=>{i.park().then(()=>{console.log("Parked")}).catch(e=>{console.error("Park failed",e.stack||e)})}),s.find(".transfer-form").on("submit",e=>{e.preventDefault(),e.stopPropagation(),i.transfer(a.val().trim()).then(()=>{console.log("Transferred"),s.modal("hide")}).catch(e=>{console.error("Transfer failed",e.stack||e)})}),s.find(".transfer-form button.warm").on("click",e=>{e.preventDefault(),e.stopPropagation(),i.hold().then(()=>{console.log("Placing the call on hold, initiating attended transfer");let e=i.userAgent.invite(a.val().trim());e.once("established",()=>{console.log("New call initated. Click Complete to complete the transfer"),s.find(".transfer-form button.complete").on("click",()=>{i.warmTransfer(e).then(()=>{console.log("Warm transfer completed")}).catch(e=>{console.error("Transfer failed",e.stack||e)})})})})}),s.find(".flip-form").on("submit",e=>{e.preventDefault(),e.stopPropagation(),i.flip(c.val().trim()).then(()=>{console.log("Flipped")}).catch(e=>{console.error("Flip failed",e.stack||e)}),c.val("")}),s.find(".dtmf-form").on("submit",e=>{e.preventDefault(),e.stopPropagation(),i.dtmf(o.val().trim()),o.val("")}),s.find(".startConf").on("click",()=>{w?alert("A conference is already in progress"):e.get("/restapi/v1.0/account/~/extension/~/presence?detailedTelephonyState=true").then(e=>e.json()).then(i=>{let s=i.activeCalls[0].partyId,n=i.activeCalls[0].telephonySessionId;e.post("/restapi/v1.0/account/~/telephony/conference",{}).then(e=>e.json()).then(e=>(p=e.session.id,e.session.voiceCallToken)).then(i=>{(function(i,s,n){let o=t.userAgent.invite(i,{fromNumber:r});o.stateChange.addListener(t=>{t===v.Established&&(T(o),console.log("Conference call started"),(function(t,i){let r="/restapi/v1.0/account/~/telephony/sessions/"+p+"/parties/bring-in";return e.post(r,{telephonySessionId:t,partyId:i})})(n,s).then(e=>e.json()).then(e=>{console.log("Adding call to conference succesful",e)}).catch(e=>{console.error("Conference call failed",e.stack||e)}))})})(i,s,n),w=!0})})}),s.find(".hangup").on("click",()=>{i.dispose()}),i.stateChange.addListener(e=>{switch(e){case v.Initial:console.log("Initial");break;case v.Establishing:console.log("Establishing");break;case v.Established:console.log("Established"),function(e){let t=g?"Outbound":"Inbound",i=S();i.from=e.request.from.uri.user,i.to=e.request.to.uri.user,i.direction=t,i.id=e.dialog.id.callId,i.sipData.fromTag=e.dialog.remoteTag,i.sipData.toTag=e.dialog.localTag,localStorage.getItem("activeCallInfo")||localStorage.setItem("activeCallInfo",JSON.stringify(i))}(i);break;case v.Terminating:console.log("Terminating"),h();break;case v.Terminated:console.log("Terminated"),h(),localStorage.setItem("activeCallInfo","")}}),i.on("refer",()=>{console.log("Event: Refer"),h()}),i.on("replaced",e=>{console.log("Event: Replaced: old session",i,"has been replaced with",e),h(),T(e)}),i.on("dtmf",()=>{console.log("Event: DTMF")}),i.on("muted",()=>{console.log("Event: Muted")}),i.on("unmuted",()=>{console.log("Event: Unmuted")})}let w=!1;function C(){let e=f(c),s=e.find("input[name=number]").eq(0),o=e.find("input[name=homeCountry]").eq(0),a=e.find(".username").eq(0),l=e.find(".logout").eq(0),d=e.find(".switch").eq(0);a.html("
Contact
"+i.contact.firstName+" "+i.contact.lastName+"
Company
"+(i.contact.company||"?")+"
From Phone Number
"+r+"
"),l.on("click",e=>{t.userAgent.unregister(),e.preventDefault(),location.reload()}),d.on("click",()=>{!function(){let e=JSON.parse(localStorage.getItem("activeCallInfo"));console.log("Switching active call to current tab: ",e),T(t.userAgent.switchFrom(e,{}))}()}),s.val(localStorage.getItem("webPhoneLastNumber")||""),e.on("submit",e=>{var n,a;e.preventDefault(),e.stopPropagation(),localStorage.setItem("webPhoneLastNumber",s.val()||""),n=s.val(),a=o.val(),g=!0,a=a||i?.regionalSettings?.homeCountry?.id||null,T(t.userAgent.invite(n,{fromNumber:r,homeCountryId:a}))}),n.empty().append(e)}!function(){let t=f(o),i=f(a),r=i.find("input[name=server]").eq(0),c=i.find("input[name=clientId]").eq(0),l=i.find("input[name=clientSecret]").eq(0),d=t.find("input[name=jwtToken]").eq(0),h=i.find("select[name=logLevel]").eq(0);r.val(localStorage.getItem("webPhoneServer")||U.SDK.server.sandbox),c.val(localStorage.getItem("webPhoneclientId")||""),l.val(localStorage.getItem("webPhoneclientSecret")||""),d.val(localStorage.getItem("webPhoneJwtToken")||""),h.val(localStorage.getItem("webPhoneLogLevel")||s),t.on("submit",t=>{console.log("Normal Flow"),t.preventDefault(),t.stopPropagation(),function(t,i,r,s,n){(e=new U.SDK({clientId:i,clientSecret:r,server:t}).platform()).login({jwt:s}).then(()=>m(t,i,r,s,n)).catch(e=>{console.error(e.stack||e)})}(r.val(),c.val(),l.val(),d.val(),h.val())}),i.on("submit",t=>{console.log("Authorized Flow"),t.preventDefault(),t.stopPropagation(),function(t,i,r,s){let n=decodeURIComponent(window.location.href.split("login",1)+"callback.html");console.log("The redirect uri value :",n);let o=(e=new U.SDK({clientId:i,clientSecret:r,server:t,redirectUri:n}).platform()).loginUrl();e.loginWindow({url:o}).then(e.login.bind(e)).then(()=>m(t,i,r,"",s)).catch(e=>{console.error(e.stack||e)})}(r.val(),c.val(),l.val(),h.val())}),n.empty().append(i).append(t)}()}); +//# sourceMappingURL=index.4e18dd33.js.map diff --git a/docs/index.eaffbaa8.js.map b/docs/index.4e18dd33.js.map similarity index 63% rename from docs/index.eaffbaa8.js.map rename to docs/index.4e18dd33.js.map index 2b8389c..1a37ded 100644 --- a/docs/index.eaffbaa8.js.map +++ b/docs/index.4e18dd33.js.map @@ -1 +1 @@ -{"mappings":"A,IIUY,EAAQ,ECQT,EEbA,EwBGA,EWDA,EA0BA,EU3BA,ESDA,EIWA,EaXA,E8BEA,EKWA,EEPA,EcAN,EAUO,EILD,EhICA,EEbA,EwBGA,EWDA,EA0BA,EU3BA,ESDA,EIWA,EMNA,EOLA,E8BEA,EKWA,EEPA,E,E,EkBKA,E,E,W,S,E,C,E,O,G,E,U,C,E,O,C,C,C,S,E,C,C,C,E,O,O,I,C,G,O,C,S,C,E,Y,G,A,e,G,O,S,C,c,C,I,C,E,I,O,c,C,E,E,C,W,C,E,I,W,O,C,C,E,A,C,E,G,C,C,S,E,C,C,C,C,C,C,C,E,O,c,C,E,E,C,I,E,I,E,W,C,E,a,C,C,E,C,I,E,C,E,E,C,E,E,E,iB,A,O,I,A,C,E,S,C,E,G,K,E,O,C,C,E,C,O,C,G,K,E,C,I,E,C,C,E,A,Q,C,C,E,C,I,E,C,G,E,Q,C,C,E,O,C,C,E,C,E,E,I,C,E,O,C,E,E,O,E,E,O,A,C,I,E,A,M,uB,E,I,O,E,I,C,mB,C,C,E,Q,C,S,C,C,C,E,C,C,E,C,C,E,E,iB,C,G,I,E,E,Q,C,E,Q,S,C,C,C,E,I,E,E,QpIdX,CAAA,EAAA,OAAA,CAAkB,EAAK,SAAU,IAAI,CAAC,IAAM,EAAc,S,G,E,Q,S,C,C,C,ECK1D,EAAA,OAAA,CAJA,SAAc,CAAE,EAEd,OAAO,MAAA,CAAmB,AAAA,EAAA,SAAA,OAAA,CAAsC,GAClE,C,G,I,E,C,EEKY,EA0BP,AAAkB,aAAlB,OAAO,OAAyB,OAAS,EA1B1B,EA0BgC,SAAU,CAAM,CAAE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ACX,EAAW,4EACX,EAAW,gDACX,EAAW,+DACX,EAAW,+DACX,EAAW,wFACX,EAAW,qCACX,EAAW,gFACX,EAAW,2CACX,EAAW,gGACX,EAAW,4JACX,EAAW,2DACX,EAAW,8BACX,EAAW,kHACX,EAAW,+BACX,EAAW,oDACX,EAAW,sDACX,EAAW,ktEACX,EAAW,8DACX,EAAW,kDACX,EAAW,mGACX,EAAW,0KACX,EAAW,+FACX,EAAW,mEACX,EAAW,0CACX,EAAW,sFACX,EAAW,8DACX,EAAW,uCACX,EAAW,sCACX,EAAW,sCACX,EAAW,sEACX,EAAW,iEACX,EAAW,0BACX,EAAW,0BACX,EAAW,kBACX,EAAW,oFACX,EAAW,wGACX,EAAW,iDACX,EAAW,2CACX,EAAW,qCACX,EAAW,oFACX,EAAW,YACX,EAAW,qDACX,EAAW,YACX,EAAW,qDACX,EAAW,iEACX,EAAW,gDACX,EAAW,iCACX,EAAW,kCACX,EAAW,kBACX,EAAW,wHACX,EAAW,wFACX,EAAW,+FACX,EAAW,aACX,EAAW,gGACX,EAAW,iIACX,EAAW,YACX,EAAW,gEACX,EAAW,+NACX,EAAW,aACX,EAAW,0GACX,EAAW,YACX,EAAW,YACX,EAAW,YACX,EAAW,YACX,EAAW,YACX,EAAW,YACX,EAAW,YACX,EAAW,YACX,EAAW,YACX,EAAW,YACX,EAAW,YACX,EAAW,6EACX,EAAW,qDACX,EAAW,kBACX,EAAW,mCACX,EAAW,gGACX,EAAW,4EACX,EAAW,gEACX,EAAW,6FACX,EAAW,uFACX,EAAW,mDACX,EAAW,8FACX,EAAW,kBACX,EAAW,gDACX,EAAW,gDACX,EAAW,+BACX,EAAW,yGACX,EAAW,2DACX,EAAW,kBACX,EAAW,4EACX,EAAW,kEACX,EAAW,YACX,EAAW,mEACX,EAAW,4EACX,EAAW,+BACX,EAAW,iBACX,EAAW,6FACX,EAAW,YACX,EAAW,kEACX,EAAW,+BACX,EAAW,YACX,EAAW,iCACX,EAAW,YACX,EAAW,mCACX,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K,CAAC,AAAC,IACN,QAAQ,KAAK,CAAC,EAAE,KAAK,EAAI,EAC3B,EACJ,EA8mBU,EAAQ,GAAG,GAAI,EAAU,GAAG,GAAI,EAAc,GAAG,GAAI,EAAU,GAAG,GAAI,EAAU,GAAG,GAC3F,GAEA,EAAU,EAAE,CAAC,SAAU,AAAC,IACtB,QAAQ,GAAG,CAAC,mBAEZ,EAAE,cAAc,GAChB,EAAE,eAAe,GAEjB,AApnBJ,SAA0B,CAAM,CAAE,CAAQ,CAAE,CAAY,CAAE,CAAE,EAC1D,IAAM,EAAe,mBAAmB,OAAO,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,QAAS,GAAK,iBAEjF,QAAQ,GAAG,CAAC,2BAA4B,GAWxC,IAAM,EAAW,AAFjB,CAAA,EAAW,AAPL,IAAI,EAAA,GAAE,CAAE,CACZ,SAAA,EACA,aAAA,EACA,OAAA,EACA,YAAa,CACf,GAEe,QAAQ,EAAvB,EAE0B,QAAQ,GAElC,EACG,WAAW,CAAC,CAAE,IAAK,CAAS,GAC5B,IAAI,CAAC,EAAS,KAAK,CAAC,IAAI,CAAC,IACzB,IAAI,CAAC,IACG,EAAU,EAAQ,EAAU,EAAc,GAAI,IAEtD,KAAK,CAAC,AAAC,IACN,QAAQ,KAAK,CAAC,EAAE,KAAK,EAAI,EAC3B,EACJ,EA2lBqB,EAAQ,GAAG,GAAI,EAAU,GAAG,GAAI,EAAc,GAAG,GAAI,EAAU,GAAG,GACrF,GAEA,EAAK,KAAK,GAAG,MAAM,CAAC,GAAW,MAAM,CAAC,EACxC,GAGF","sources":["","node_modules/@parcel/runtime-js/lib/runtime-f153afa546c9b2e3.js","node_modules/@parcel/runtime-js/lib/helpers/browser/esm-js-loader.js","demo/index.ts","node_modules/jquery/dist/jquery.js","node_modules/sip.js/lib/api/session-state.js","src/index.ts","node_modules/sip.js/lib/core/log/levels.js","node_modules/sip.js/lib/platform/web/index.js","node_modules/sip.js/lib/platform/web/modifiers/index.js","node_modules/sip.js/lib/platform/web/modifiers/modifiers.js","node_modules/sip.js/lib/platform/web/session-description-handler/index.js","node_modules/sip.js/lib/platform/web/session-description-handler/media-stream-factory-default.js","node_modules/sip.js/lib/platform/web/session-description-handler/media-stream-factory.js","node_modules/sip.js/lib/platform/web/session-description-handler/peer-connection-configuration-default.js","node_modules/sip.js/lib/platform/web/session-description-handler/peer-connection-delegate.js","node_modules/sip.js/lib/platform/web/session-description-handler/session-description-handler-configuration.js","node_modules/sip.js/lib/platform/web/session-description-handler/session-description-handler-factory-default.js","node_modules/sip.js/lib/platform/web/session-description-handler/session-description-handler.js","node_modules/sip.js/lib/platform/web/session-description-handler/session-description-handler-factory-options.js","node_modules/sip.js/lib/platform/web/session-description-handler/session-description-handler-factory.js","node_modules/sip.js/lib/platform/web/session-description-handler/session-description-handler-options.js","node_modules/sip.js/lib/platform/web/session-description-handler/web-audio-session-description-handler.js","node_modules/sip.js/lib/platform/web/session-manager/index.js","node_modules/sip.js/lib/platform/web/session-manager/managed-session-factory-default.js","node_modules/sip.js/lib/platform/web/session-manager/managed-session-factory.js","node_modules/sip.js/lib/platform/web/session-manager/managed-session.js","node_modules/sip.js/lib/platform/web/session-manager/session-manager-delegate.js","node_modules/sip.js/lib/platform/web/session-manager/session-manager-options.js","node_modules/sip.js/lib/platform/web/session-manager/session-manager.js","node_modules/sip.js/lib/api/invitation.js","node_modules/sip.js/lib/grammar/grammar.js","node_modules/sip.js/lib/grammar/pegjs/dist/grammar.js","node_modules/sip.js/lib/grammar/name-addr-header.js","node_modules/sip.js/lib/grammar/parameters.js","node_modules/sip.js/lib/grammar/uri.js","node_modules/sip.js/lib/core/messages/body.js","node_modules/sip.js/lib/core/messages/incoming-request-message.js","node_modules/sip.js/lib/core/messages/incoming-message.js","node_modules/sip.js/lib/core/messages/utils.js","node_modules/sip.js/lib/core/messages/incoming-response-message.js","node_modules/sip.js/lib/core/messages/outgoing-request-message.js","node_modules/sip.js/lib/core/session/session.js","node_modules/sip.js/lib/core/timers.js","node_modules/sip.js/lib/core/exceptions/transaction-state-error.js","node_modules/sip.js/lib/core/exceptions/exception.js","node_modules/sip.js/lib/api/cancel.js","node_modules/sip.js/lib/api/exceptions/content-type-unsupported.js","node_modules/sip.js/lib/api/exceptions/session-description-handler.js","node_modules/sip.js/lib/api/exceptions/session-terminated.js","node_modules/sip.js/lib/api/session.js","node_modules/sip.js/lib/core/user-agent-core/allowed-methods.js","node_modules/sip.js/lib/core/messages/methods/constants.js","node_modules/sip.js/lib/api/ack.js","node_modules/sip.js/lib/api/bye.js","node_modules/sip.js/lib/api/emitter.js","node_modules/sip.js/lib/api/exceptions/request-pending.js","node_modules/sip.js/lib/api/info.js","node_modules/sip.js/lib/api/message.js","node_modules/sip.js/lib/api/notification.js","node_modules/sip.js/lib/api/referral.js","node_modules/sip.js/lib/api/user-agent-options.js","node_modules/sip.js/lib/api/inviter.js","node_modules/sip.js/lib/api/messager.js","node_modules/sip.js/lib/api/registerer.js","node_modules/sip.js/lib/api/registerer-state.js","node_modules/sip.js/lib/api/user-agent.js","node_modules/sip.js/lib/core/messages/digest-authentication.js","node_modules/sip.js/lib/core/messages/md5.js","node_modules/sip.js/lib/core/log/logger-factory.js","node_modules/sip.js/lib/core/log/logger.js","node_modules/sip.js/lib/core/messages/parser.js","node_modules/sip.js/lib/core/user-agent-core/user-agent-core.js","node_modules/sip.js/lib/core/messages/outgoing-response.js","node_modules/sip.js/lib/core/transactions/invite-server-transaction.js","node_modules/sip.js/lib/core/transactions/server-transaction.js","node_modules/sip.js/lib/core/transactions/transaction.js","node_modules/sip.js/lib/core/exceptions/transport-error.js","node_modules/sip.js/lib/core/transactions/transaction-state.js","node_modules/sip.js/lib/core/transactions/non-invite-client-transaction.js","node_modules/sip.js/lib/core/transactions/client-transaction.js","node_modules/sip.js/lib/core/user-agents/invite-user-agent-client.js","node_modules/sip.js/lib/core/dialogs/dialog.js","node_modules/sip.js/lib/core/dialogs/session-dialog.js","node_modules/sip.js/lib/core/transactions/invite-client-transaction.js","node_modules/sip.js/lib/core/user-agents/bye-user-agent-client.js","node_modules/sip.js/lib/core/user-agents/user-agent-client.js","node_modules/sip.js/lib/core/user-agents/bye-user-agent-server.js","node_modules/sip.js/lib/core/transactions/non-invite-server-transaction.js","node_modules/sip.js/lib/core/user-agents/user-agent-server.js","node_modules/sip.js/lib/core/user-agents/info-user-agent-client.js","node_modules/sip.js/lib/core/user-agents/info-user-agent-server.js","node_modules/sip.js/lib/core/user-agents/message-user-agent-client.js","node_modules/sip.js/lib/core/user-agents/message-user-agent-server.js","node_modules/sip.js/lib/core/user-agents/notify-user-agent-client.js","node_modules/sip.js/lib/core/user-agents/notify-user-agent-server.js","node_modules/sip.js/lib/core/user-agents/prack-user-agent-client.js","node_modules/sip.js/lib/core/user-agents/prack-user-agent-server.js","node_modules/sip.js/lib/core/user-agents/re-invite-user-agent-client.js","node_modules/sip.js/lib/core/user-agents/re-invite-user-agent-server.js","node_modules/sip.js/lib/core/user-agents/refer-user-agent-client.js","node_modules/sip.js/lib/core/user-agents/refer-user-agent-server.js","node_modules/sip.js/lib/core/user-agents/invite-user-agent-server.js","node_modules/sip.js/lib/core/user-agents/publish-user-agent-client.js","node_modules/sip.js/lib/core/user-agents/register-user-agent-client.js","node_modules/sip.js/lib/core/user-agents/register-user-agent-server.js","node_modules/sip.js/lib/core/user-agents/subscribe-user-agent-client.js","node_modules/sip.js/lib/core/dialogs/subscription-dialog.js","node_modules/sip.js/lib/core/subscription/subscription.js","node_modules/sip.js/lib/core/user-agents/re-subscribe-user-agent-client.js","node_modules/sip.js/lib/core/user-agents/subscribe-user-agent-server.js","node_modules/sip.js/lib/platform/web/transport/transport.js","node_modules/sip.js/lib/api/exceptions/state-transition.js","node_modules/sip.js/lib/api/transport-state.js","node_modules/sip.js/lib/version.js","node_modules/sip.js/lib/api/user-agent-state.js","node_modules/sip.js/lib/platform/web/simple-user/index.js","node_modules/sip.js/lib/platform/web/simple-user/simple-user.js","node_modules/sip.js/lib/platform/web/simple-user/simple-user-delegate.js","node_modules/sip.js/lib/platform/web/simple-user/simple-user-options.js","node_modules/sip.js/lib/platform/web/transport/index.js","node_modules/sip.js/lib/platform/web/transport/transport-options.js","src/userAgent.ts","src/transport.ts","src/events.ts","src/audioHelper.ts","src/session.ts","src/utils.ts","src/constants.ts","src/mediaStreams.ts","src/rtpReport.ts","src/qos.ts","node_modules/sip.js/lib/api/publisher.js","node_modules/sip.js/lib/api/publisher-state.js","src/userAgentCore.ts","src/sessionDescriptionHandler.ts","package.json","node_modules/@parcel/runtime-js/lib/runtime-21177e22b42c558f.js","node_modules/@parcel/runtime-js/lib/runtime-4ce9ca37de40a422.js"],"sourcesContent":["\n var $parcel$global = globalThis;\n \nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n\nfunction $parcel$exportWildcard(dest, source) {\n Object.keys(source).forEach(function(key) {\n if (key === 'default' || key === '__esModule' || Object.prototype.hasOwnProperty.call(dest, key)) {\n return;\n }\n\n Object.defineProperty(dest, key, {\n enumerable: true,\n get: function get() {\n return source[key];\n }\n });\n });\n\n return dest;\n}\n\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\n\nvar $parcel$modules = {};\nvar $parcel$inits = {};\n\nvar parcelRequire = $parcel$global[\"parcelRequire2073\"];\n\nif (parcelRequire == null) {\n parcelRequire = function(id) {\n if (id in $parcel$modules) {\n return $parcel$modules[id].exports;\n }\n if (id in $parcel$inits) {\n var init = $parcel$inits[id];\n delete $parcel$inits[id];\n var module = {id: id, exports: {}};\n $parcel$modules[id] = module;\n init.call(module.exports, module, module.exports);\n return module.exports;\n }\n var err = new Error(\"Cannot find module '\" + id + \"'\");\n err.code = 'MODULE_NOT_FOUND';\n throw err;\n };\n\n parcelRequire.register = function register(id, init) {\n $parcel$inits[id] = init;\n };\n\n $parcel$global[\"parcelRequire2073\"] = parcelRequire;\n}\n\nvar parcelRegister = parcelRequire.register;\nparcelRegister(\"2yR94\", function(module, exports) {\n\nvar $Gr8vk = parcelRequire(\"Gr8vk\");\nmodule.exports = $Gr8vk(\"ezIAn\").then(()=>parcelRequire(\"9YWKS\"));\n\n});\nparcelRegister(\"Gr8vk\", function(module, exports) {\n\"use strict\";\n\nfunction $07f8f9093a769793$var$load(id) {\n // eslint-disable-next-line no-undef\n return import((parcelRequire(\"27Lyk\")).resolve(id));\n}\nmodule.exports = $07f8f9093a769793$var$load;\n\n});\n\n\n/* eslint-disable max-params */ /* eslint-disable max-nested-callbacks */ var $4eae0a726ab50395$exports = {};\n/*!\n * jQuery JavaScript Library v3.7.1\n * https://jquery.com/\n *\n * Copyright OpenJS Foundation and other contributors\n * Released under the MIT license\n * https://jquery.org/license\n *\n * Date: 2023-08-28T13:37Z\n */ (function(global, factory) {\n \"use strict\";\n if (typeof $4eae0a726ab50395$exports === \"object\") // For CommonJS and CommonJS-like environments where a proper `window`\n // is present, execute the factory and get jQuery.\n // For environments that do not have a `window` with a `document`\n // (such as Node.js), expose a factory as module.exports.\n // This accentuates the need for the creation of a real `window`.\n // e.g. var jQuery = require(\"jquery\")(window);\n // See ticket trac-14549 for more info.\n $4eae0a726ab50395$exports = global.document ? factory(global, true) : function(w) {\n if (!w.document) throw new Error(\"jQuery requires a window with a document\");\n return factory(w);\n };\n else factory(global);\n// Pass this if window is not defined yet\n})(typeof window !== \"undefined\" ? window : $4eae0a726ab50395$exports, function(window1, noGlobal) {\n // Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1\n // throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode\n // arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common\n // enough that all such attempts are guarded in a try block.\n \"use strict\";\n var arr = [];\n var getProto = Object.getPrototypeOf;\n var slice = arr.slice;\n var flat = arr.flat ? function(array) {\n return arr.flat.call(array);\n } : function(array) {\n return arr.concat.apply([], array);\n };\n var push = arr.push;\n var indexOf = arr.indexOf;\n var class2type = {};\n var toString = class2type.toString;\n var hasOwn = class2type.hasOwnProperty;\n var fnToString = hasOwn.toString;\n var ObjectFunctionString = fnToString.call(Object);\n var support = {};\n var isFunction = function isFunction(obj) {\n // Support: Chrome <=57, Firefox <=52\n // In some browsers, typeof returns \"function\" for HTML elements\n // (i.e., `typeof document.createElement( \"object\" ) === \"function\"`).\n // We don't want to classify *any* DOM node as a function.\n // Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5\n // Plus for old WebKit, typeof returns \"function\" for HTML collections\n // (e.g., `typeof document.getElementsByTagName(\"div\") === \"function\"`). (gh-4756)\n return typeof obj === \"function\" && typeof obj.nodeType !== \"number\" && typeof obj.item !== \"function\";\n };\n var isWindow = function isWindow(obj) {\n return obj != null && obj === obj.window;\n };\n var document = window1.document;\n var preservedScriptAttributes = {\n type: true,\n src: true,\n nonce: true,\n noModule: true\n };\n function DOMEval(code, node, doc) {\n doc = doc || document;\n var i, val, script = doc.createElement(\"script\");\n script.text = code;\n if (node) for(i in preservedScriptAttributes){\n // Support: Firefox 64+, Edge 18+\n // Some browsers don't support the \"nonce\" property on scripts.\n // On the other hand, just using `getAttribute` is not enough as\n // the `nonce` attribute is reset to an empty string whenever it\n // becomes browsing-context connected.\n // See https://github.com/whatwg/html/issues/2369\n // See https://html.spec.whatwg.org/#nonce-attributes\n // The `node.getAttribute` check was added for the sake of\n // `jQuery.globalEval` so that it can fake a nonce-containing node\n // via an object.\n val = node[i] || node.getAttribute && node.getAttribute(i);\n if (val) script.setAttribute(i, val);\n }\n doc.head.appendChild(script).parentNode.removeChild(script);\n }\n function toType(obj) {\n if (obj == null) return obj + \"\";\n // Support: Android <=2.3 only (functionish RegExp)\n return typeof obj === \"object\" || typeof obj === \"function\" ? class2type[toString.call(obj)] || \"object\" : typeof obj;\n }\n /* global Symbol */ // Defining this global in .eslintrc.json would create a danger of using the global\n // unguarded in another place, it seems safer to define global only for this module\n var version = \"3.7.1\", rhtmlSuffix = /HTML$/i, // Define a local copy of jQuery\n jQuery = function(selector, context) {\n // The jQuery object is actually just the init constructor 'enhanced'\n // Need init if jQuery is called (just allow error to be thrown if not included)\n return new jQuery.fn.init(selector, context);\n };\n jQuery.fn = jQuery.prototype = {\n // The current version of jQuery being used\n jquery: version,\n constructor: jQuery,\n // The default length of a jQuery object is 0\n length: 0,\n toArray: function() {\n return slice.call(this);\n },\n // Get the Nth element in the matched element set OR\n // Get the whole matched element set as a clean array\n get: function(num) {\n // Return all the elements in a clean array\n if (num == null) return slice.call(this);\n // Return just the one element from the set\n return num < 0 ? this[num + this.length] : this[num];\n },\n // Take an array of elements and push it onto the stack\n // (returning the new matched element set)\n pushStack: function(elems) {\n // Build a new jQuery matched element set\n var ret = jQuery.merge(this.constructor(), elems);\n // Add the old object onto the stack (as a reference)\n ret.prevObject = this;\n // Return the newly-formed element set\n return ret;\n },\n // Execute a callback for every element in the matched set.\n each: function(callback) {\n return jQuery.each(this, callback);\n },\n map: function(callback) {\n return this.pushStack(jQuery.map(this, function(elem, i) {\n return callback.call(elem, i, elem);\n }));\n },\n slice: function() {\n return this.pushStack(slice.apply(this, arguments));\n },\n first: function() {\n return this.eq(0);\n },\n last: function() {\n return this.eq(-1);\n },\n even: function() {\n return this.pushStack(jQuery.grep(this, function(_elem, i) {\n return (i + 1) % 2;\n }));\n },\n odd: function() {\n return this.pushStack(jQuery.grep(this, function(_elem, i) {\n return i % 2;\n }));\n },\n eq: function(i) {\n var len = this.length, j = +i + (i < 0 ? len : 0);\n return this.pushStack(j >= 0 && j < len ? [\n this[j]\n ] : []);\n },\n end: function() {\n return this.prevObject || this.constructor();\n },\n // For internal use only.\n // Behaves like an Array's method, not like a jQuery method.\n push: push,\n sort: arr.sort,\n splice: arr.splice\n };\n jQuery.extend = jQuery.fn.extend = function() {\n var options, name, src, copy, copyIsArray, clone, target = arguments[0] || {}, i = 1, length = arguments.length, deep = false;\n // Handle a deep copy situation\n if (typeof target === \"boolean\") {\n deep = target;\n // Skip the boolean and the target\n target = arguments[i] || {};\n i++;\n }\n // Handle case when target is a string or something (possible in deep copy)\n if (typeof target !== \"object\" && !isFunction(target)) target = {};\n // Extend jQuery itself if only one argument is passed\n if (i === length) {\n target = this;\n i--;\n }\n for(; i < length; i++){\n // Only deal with non-null/undefined values\n if ((options = arguments[i]) != null) // Extend the base object\n for(name in options){\n copy = options[name];\n // Prevent Object.prototype pollution\n // Prevent never-ending loop\n if (name === \"__proto__\" || target === copy) continue;\n // Recurse if we're merging plain objects or arrays\n if (deep && copy && (jQuery.isPlainObject(copy) || (copyIsArray = Array.isArray(copy)))) {\n src = target[name];\n // Ensure proper type for the source value\n if (copyIsArray && !Array.isArray(src)) clone = [];\n else if (!copyIsArray && !jQuery.isPlainObject(src)) clone = {};\n else clone = src;\n copyIsArray = false;\n // Never move original objects, clone them\n target[name] = jQuery.extend(deep, clone, copy);\n // Don't bring in undefined values\n } else if (copy !== undefined) target[name] = copy;\n }\n }\n // Return the modified object\n return target;\n };\n jQuery.extend({\n // Unique for each copy of jQuery on the page\n expando: \"jQuery\" + (version + Math.random()).replace(/\\D/g, \"\"),\n // Assume jQuery is ready without the ready module\n isReady: true,\n error: function(msg) {\n throw new Error(msg);\n },\n noop: function() {},\n isPlainObject: function(obj) {\n var proto, Ctor;\n // Detect obvious negatives\n // Use toString instead of jQuery.type to catch host objects\n if (!obj || toString.call(obj) !== \"[object Object]\") return false;\n proto = getProto(obj);\n // Objects with no prototype (e.g., `Object.create( null )`) are plain\n if (!proto) return true;\n // Objects with prototype are plain iff they were constructed by a global Object function\n Ctor = hasOwn.call(proto, \"constructor\") && proto.constructor;\n return typeof Ctor === \"function\" && fnToString.call(Ctor) === ObjectFunctionString;\n },\n isEmptyObject: function(obj) {\n var name;\n for(name in obj)return false;\n return true;\n },\n // Evaluates a script in a provided context; falls back to the global one\n // if not specified.\n globalEval: function(code, options, doc) {\n DOMEval(code, {\n nonce: options && options.nonce\n }, doc);\n },\n each: function(obj, callback) {\n var length, i = 0;\n if (isArrayLike(obj)) {\n length = obj.length;\n for(; i < length; i++){\n if (callback.call(obj[i], i, obj[i]) === false) break;\n }\n } else for(i in obj){\n if (callback.call(obj[i], i, obj[i]) === false) break;\n }\n return obj;\n },\n // Retrieve the text value of an array of DOM nodes\n text: function(elem) {\n var node, ret = \"\", i = 0, nodeType = elem.nodeType;\n if (!nodeType) // If no nodeType, this is expected to be an array\n while(node = elem[i++])// Do not traverse comment nodes\n ret += jQuery.text(node);\n if (nodeType === 1 || nodeType === 11) return elem.textContent;\n if (nodeType === 9) return elem.documentElement.textContent;\n if (nodeType === 3 || nodeType === 4) return elem.nodeValue;\n // Do not include comment or processing instruction nodes\n return ret;\n },\n // results is for internal usage only\n makeArray: function(arr, results) {\n var ret = results || [];\n if (arr != null) {\n if (isArrayLike(Object(arr))) jQuery.merge(ret, typeof arr === \"string\" ? [\n arr\n ] : arr);\n else push.call(ret, arr);\n }\n return ret;\n },\n inArray: function(elem, arr, i) {\n return arr == null ? -1 : indexOf.call(arr, elem, i);\n },\n isXMLDoc: function(elem) {\n var namespace = elem && elem.namespaceURI, docElem = elem && (elem.ownerDocument || elem).documentElement;\n // Assume HTML when documentElement doesn't yet exist, such as inside\n // document fragments.\n return !rhtmlSuffix.test(namespace || docElem && docElem.nodeName || \"HTML\");\n },\n // Support: Android <=4.0 only, PhantomJS 1 only\n // push.apply(_, arraylike) throws on ancient WebKit\n merge: function(first, second) {\n var len = +second.length, j = 0, i = first.length;\n for(; j < len; j++)first[i++] = second[j];\n first.length = i;\n return first;\n },\n grep: function(elems, callback, invert) {\n var callbackInverse, matches = [], i = 0, length = elems.length, callbackExpect = !invert;\n // Go through the array, only saving the items\n // that pass the validator function\n for(; i < length; i++){\n callbackInverse = !callback(elems[i], i);\n if (callbackInverse !== callbackExpect) matches.push(elems[i]);\n }\n return matches;\n },\n // arg is for internal usage only\n map: function(elems, callback, arg) {\n var length, value, i = 0, ret = [];\n // Go through the array, translating each of the items to their new values\n if (isArrayLike(elems)) {\n length = elems.length;\n for(; i < length; i++){\n value = callback(elems[i], i, arg);\n if (value != null) ret.push(value);\n }\n // Go through every key on the object,\n } else for(i in elems){\n value = callback(elems[i], i, arg);\n if (value != null) ret.push(value);\n }\n // Flatten any nested arrays\n return flat(ret);\n },\n // A global GUID counter for objects\n guid: 1,\n // jQuery.support is not used in Core but other projects attach their\n // properties to it so it needs to exist.\n support: support\n });\n if (typeof Symbol === \"function\") jQuery.fn[Symbol.iterator] = arr[Symbol.iterator];\n // Populate the class2type map\n jQuery.each(\"Boolean Number String Function Array Date RegExp Object Error Symbol\".split(\" \"), function(_i, name) {\n class2type[\"[object \" + name + \"]\"] = name.toLowerCase();\n });\n function isArrayLike(obj) {\n // Support: real iOS 8.2 only (not reproducible in simulator)\n // `in` check used to prevent JIT error (gh-2145)\n // hasOwn isn't used here due to false negatives\n // regarding Nodelist length in IE\n var length = !!obj && \"length\" in obj && obj.length, type = toType(obj);\n if (isFunction(obj) || isWindow(obj)) return false;\n return type === \"array\" || length === 0 || typeof length === \"number\" && length > 0 && length - 1 in obj;\n }\n function nodeName(elem, name) {\n return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();\n }\n var pop = arr.pop;\n var sort = arr.sort;\n var splice = arr.splice;\n var whitespace = \"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\";\n var rtrimCSS = new RegExp(\"^\" + whitespace + \"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\" + whitespace + \"+$\", \"g\");\n // Note: an element does not contain itself\n jQuery.contains = function(a, b) {\n var bup = b && b.parentNode;\n return a === bup || !!(bup && bup.nodeType === 1 && // Support: IE 9 - 11+\n // IE doesn't have `contains` on SVG.\n (a.contains ? a.contains(bup) : a.compareDocumentPosition && a.compareDocumentPosition(bup) & 16));\n };\n // CSS string/identifier serialization\n // https://drafts.csswg.org/cssom/#common-serializing-idioms\n var rcssescape = /([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\x80-\\uFFFF\\w-]/g;\n function fcssescape(ch, asCodePoint) {\n if (asCodePoint) {\n // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER\n if (ch === \"\\0\") return \"\\uFFFD\";\n // Control characters and (dependent upon position) numbers get escaped as code points\n return ch.slice(0, -1) + \"\\\\\" + ch.charCodeAt(ch.length - 1).toString(16) + \" \";\n }\n // Other potentially-special ASCII characters get backslash-escaped\n return \"\\\\\" + ch;\n }\n jQuery.escapeSelector = function(sel) {\n return (sel + \"\").replace(rcssescape, fcssescape);\n };\n var preferredDoc = document, pushNative = push;\n (function() {\n var i, Expr, outermostContext, sortInput, hasDuplicate, push = pushNative, // Local document vars\n document, documentElement, documentIsHTML, rbuggyQSA, matches, // Instance-specific data\n expando = jQuery.expando, dirruns = 0, done = 0, classCache = createCache(), tokenCache = createCache(), compilerCache = createCache(), nonnativeSelectorCache = createCache(), sortOrder = function(a, b) {\n if (a === b) hasDuplicate = true;\n return 0;\n }, booleans = \"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped\", // Regular expressions\n // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram\n identifier = \"(?:\\\\\\\\[\\\\da-fA-F]{1,6}\" + whitespace + \"?|\\\\\\\\[^\\\\r\\\\n\\\\f]|[\\\\w-]|[^\\0-\\\\x7f])+\", // Attribute selectors: https://www.w3.org/TR/selectors/#attribute-selectors\n attributes = \"\\\\[\" + whitespace + \"*(\" + identifier + \")(?:\" + whitespace + // Operator (capture 2)\n \"*([*^$|!~]?=)\" + whitespace + // \"Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]\"\n \"*(?:'((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\"|(\" + identifier + \"))|)\" + whitespace + \"*\\\\]\", pseudos = \":(\" + identifier + \")(?:\\\\((\" + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:\n // 1. quoted (capture 3; capture 4 or capture 5)\n \"('((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\")|\" + // 2. simple (capture 6)\n \"((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|\" + attributes + \")*)|\" + // 3. anything else (capture 2)\n \".*\" + \")\\\\)|)\", // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter\n rwhitespace = new RegExp(whitespace + \"+\", \"g\"), rcomma = new RegExp(\"^\" + whitespace + \"*,\" + whitespace + \"*\"), rleadingCombinator = new RegExp(\"^\" + whitespace + \"*([>+~]|\" + whitespace + \")\" + whitespace + \"*\"), rdescend = new RegExp(whitespace + \"|>\"), rpseudo = new RegExp(pseudos), ridentifier = new RegExp(\"^\" + identifier + \"$\"), matchExpr = {\n ID: new RegExp(\"^#(\" + identifier + \")\"),\n CLASS: new RegExp(\"^\\\\.(\" + identifier + \")\"),\n TAG: new RegExp(\"^(\" + identifier + \"|[*])\"),\n ATTR: new RegExp(\"^\" + attributes),\n PSEUDO: new RegExp(\"^\" + pseudos),\n CHILD: new RegExp(\"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\" + whitespace + \"*(even|odd|(([+-]|)(\\\\d*)n|)\" + whitespace + \"*(?:([+-]|)\" + whitespace + \"*(\\\\d+)|))\" + whitespace + \"*\\\\)|)\", \"i\"),\n bool: new RegExp(\"^(?:\" + booleans + \")$\", \"i\"),\n // For use in libraries implementing .is()\n // We use this for POS matching in `select`\n needsContext: new RegExp(\"^\" + whitespace + \"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\" + whitespace + \"*((?:-\\\\d)?\\\\d*)\" + whitespace + \"*\\\\)|)(?=[^-]|$)\", \"i\")\n }, rinputs = /^(?:input|select|textarea|button)$/i, rheader = /^h\\d$/i, // Easily-parseable/retrievable ID or TAG or CLASS selectors\n rquickExpr = /^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/, rsibling = /[+~]/, // CSS escapes\n // https://www.w3.org/TR/CSS21/syndata.html#escaped-characters\n runescape = new RegExp(\"\\\\\\\\[\\\\da-fA-F]{1,6}\" + whitespace + \"?|\\\\\\\\([^\\\\r\\\\n\\\\f])\", \"g\"), funescape = function(escape, nonHex) {\n var high = \"0x\" + escape.slice(1) - 0x10000;\n if (nonHex) // Strip the backslash prefix from a non-hex escape sequence\n return nonHex;\n // Replace a hexadecimal escape sequence with the encoded Unicode code point\n // Support: IE <=11+\n // For values outside the Basic Multilingual Plane (BMP), manually construct a\n // surrogate pair\n return high < 0 ? String.fromCharCode(high + 0x10000) : String.fromCharCode(high >> 10 | 0xD800, high & 0x3FF | 0xDC00);\n }, // Used for iframes; see `setDocument`.\n // Support: IE 9 - 11+, Edge 12 - 18+\n // Removing the function wrapper causes a \"Permission Denied\"\n // error in IE/Edge.\n unloadHandler = function() {\n setDocument();\n }, inDisabledFieldset = addCombinator(function(elem) {\n return elem.disabled === true && nodeName(elem, \"fieldset\");\n }, {\n dir: \"parentNode\",\n next: \"legend\"\n });\n // Support: IE <=9 only\n // Accessing document.activeElement can throw unexpectedly\n // https://bugs.jquery.com/ticket/13393\n function safeActiveElement() {\n try {\n return document.activeElement;\n } catch (err) {}\n }\n // Optimize for push.apply( _, NodeList )\n try {\n push.apply(arr = slice.call(preferredDoc.childNodes), preferredDoc.childNodes);\n // Support: Android <=4.0\n // Detect silently failing push.apply\n // eslint-disable-next-line no-unused-expressions\n arr[preferredDoc.childNodes.length].nodeType;\n } catch (e) {\n push = {\n apply: function(target, els) {\n pushNative.apply(target, slice.call(els));\n },\n call: function(target) {\n pushNative.apply(target, slice.call(arguments, 1));\n }\n };\n }\n function find(selector, context, results, seed) {\n var m, i, elem, nid, match, groups, newSelector, newContext = context && context.ownerDocument, // nodeType defaults to 9, since context defaults to document\n nodeType = context ? context.nodeType : 9;\n results = results || [];\n // Return early from calls with invalid selector or context\n if (typeof selector !== \"string\" || !selector || nodeType !== 1 && nodeType !== 9 && nodeType !== 11) return results;\n // Try to shortcut find operations (as opposed to filters) in HTML documents\n if (!seed) {\n setDocument(context);\n context = context || document;\n if (documentIsHTML) {\n // If the selector is sufficiently simple, try using a \"get*By*\" DOM method\n // (excepting DocumentFragment context, where the methods don't exist)\n if (nodeType !== 11 && (match = rquickExpr.exec(selector))) {\n // ID selector\n if (m = match[1]) {\n // Document context\n if (nodeType === 9) {\n if (elem = context.getElementById(m)) // Support: IE 9 only\n // getElementById can match elements by name instead of ID\n {\n if (elem.id === m) {\n push.call(results, elem);\n return results;\n }\n } else return results;\n // Element context\n } else // Support: IE 9 only\n // getElementById can match elements by name instead of ID\n if (newContext && (elem = newContext.getElementById(m)) && find.contains(context, elem) && elem.id === m) {\n push.call(results, elem);\n return results;\n }\n // Type selector\n } else if (match[2]) {\n push.apply(results, context.getElementsByTagName(selector));\n return results;\n // Class selector\n } else if ((m = match[3]) && context.getElementsByClassName) {\n push.apply(results, context.getElementsByClassName(m));\n return results;\n }\n }\n // Take advantage of querySelectorAll\n if (!nonnativeSelectorCache[selector + \" \"] && (!rbuggyQSA || !rbuggyQSA.test(selector))) {\n newSelector = selector;\n newContext = context;\n // qSA considers elements outside a scoping root when evaluating child or\n // descendant combinators, which is not what we want.\n // In such cases, we work around the behavior by prefixing every selector in the\n // list with an ID selector referencing the scope context.\n // The technique has to be used as well when a leading combinator is used\n // as such selectors are not recognized by querySelectorAll.\n // Thanks to Andrew Dupont for this technique.\n if (nodeType === 1 && (rdescend.test(selector) || rleadingCombinator.test(selector))) {\n // Expand context for sibling selectors\n newContext = rsibling.test(selector) && testContext(context.parentNode) || context;\n // We can use :scope instead of the ID hack if the browser\n // supports it & if we're not changing the context.\n // Support: IE 11+, Edge 17 - 18+\n // IE/Edge sometimes throw a \"Permission denied\" error when\n // strict-comparing two documents; shallow comparisons work.\n // eslint-disable-next-line eqeqeq\n if (newContext != context || !support.scope) {\n // Capture the context ID, setting it first if necessary\n if (nid = context.getAttribute(\"id\")) nid = jQuery.escapeSelector(nid);\n else context.setAttribute(\"id\", nid = expando);\n }\n // Prefix every selector in the list\n groups = tokenize(selector);\n i = groups.length;\n while(i--)groups[i] = (nid ? \"#\" + nid : \":scope\") + \" \" + toSelector(groups[i]);\n newSelector = groups.join(\",\");\n }\n try {\n push.apply(results, newContext.querySelectorAll(newSelector));\n return results;\n } catch (qsaError) {\n nonnativeSelectorCache(selector, true);\n } finally{\n if (nid === expando) context.removeAttribute(\"id\");\n }\n }\n }\n }\n // All others\n return select(selector.replace(rtrimCSS, \"$1\"), context, results, seed);\n }\n /**\n * Create key-value caches of limited size\n * @returns {function(string, object)} Returns the Object data after storing it on itself with\n *\tproperty name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)\n *\tdeleting the oldest entry\n */ function createCache() {\n var keys = [];\n function cache(key, value) {\n // Use (key + \" \") to avoid collision with native prototype properties\n // (see https://github.com/jquery/sizzle/issues/157)\n if (keys.push(key + \" \") > Expr.cacheLength) // Only keep the most recent entries\n delete cache[keys.shift()];\n return cache[key + \" \"] = value;\n }\n return cache;\n }\n /**\n * Mark a function for special use by jQuery selector module\n * @param {Function} fn The function to mark\n */ function markFunction(fn) {\n fn[expando] = true;\n return fn;\n }\n /**\n * Support testing using an element\n * @param {Function} fn Passed the created element and returns a boolean result\n */ function assert(fn) {\n var el = document.createElement(\"fieldset\");\n try {\n return !!fn(el);\n } catch (e) {\n return false;\n } finally{\n // Remove from its parent by default\n if (el.parentNode) el.parentNode.removeChild(el);\n // release memory in IE\n el = null;\n }\n }\n /**\n * Returns a function to use in pseudos for input types\n * @param {String} type\n */ function createInputPseudo(type) {\n return function(elem) {\n return nodeName(elem, \"input\") && elem.type === type;\n };\n }\n /**\n * Returns a function to use in pseudos for buttons\n * @param {String} type\n */ function createButtonPseudo(type) {\n return function(elem) {\n return (nodeName(elem, \"input\") || nodeName(elem, \"button\")) && elem.type === type;\n };\n }\n /**\n * Returns a function to use in pseudos for :enabled/:disabled\n * @param {Boolean} disabled true for :disabled; false for :enabled\n */ function createDisabledPseudo(disabled) {\n // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable\n return function(elem) {\n // Only certain elements can match :enabled or :disabled\n // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled\n // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled\n if (\"form\" in elem) {\n // Check for inherited disabledness on relevant non-disabled elements:\n // * listed form-associated elements in a disabled fieldset\n // https://html.spec.whatwg.org/multipage/forms.html#category-listed\n // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled\n // * option elements in a disabled optgroup\n // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled\n // All such elements have a \"form\" property.\n if (elem.parentNode && elem.disabled === false) {\n // Option elements defer to a parent optgroup if present\n if (\"label\" in elem) {\n if (\"label\" in elem.parentNode) return elem.parentNode.disabled === disabled;\n else return elem.disabled === disabled;\n }\n // Support: IE 6 - 11+\n // Use the isDisabled shortcut property to check for disabled fieldset ancestors\n return elem.isDisabled === disabled || // Where there is no isDisabled, check manually\n elem.isDisabled !== !disabled && inDisabledFieldset(elem) === disabled;\n }\n return elem.disabled === disabled;\n // Try to winnow out elements that can't be disabled before trusting the disabled property.\n // Some victims get caught in our net (label, legend, menu, track), but it shouldn't\n // even exist on them, let alone have a boolean value.\n } else if (\"label\" in elem) return elem.disabled === disabled;\n // Remaining elements are neither :enabled nor :disabled\n return false;\n };\n }\n /**\n * Returns a function to use in pseudos for positionals\n * @param {Function} fn\n */ function createPositionalPseudo(fn) {\n return markFunction(function(argument) {\n argument = +argument;\n return markFunction(function(seed, matches) {\n var j, matchIndexes = fn([], seed.length, argument), i = matchIndexes.length;\n // Match elements found at the specified indexes\n while(i--)if (seed[j = matchIndexes[i]]) seed[j] = !(matches[j] = seed[j]);\n });\n });\n }\n /**\n * Checks a node for validity as a jQuery selector context\n * @param {Element|Object=} context\n * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value\n */ function testContext(context) {\n return context && typeof context.getElementsByTagName !== \"undefined\" && context;\n }\n /**\n * Sets document-related variables once based on the current document\n * @param {Element|Object} [node] An element or document object to use to set the document\n * @returns {Object} Returns the current document\n */ function setDocument(node) {\n var subWindow, doc = node ? node.ownerDocument || node : preferredDoc;\n // Return early if doc is invalid or already selected\n // Support: IE 11+, Edge 17 - 18+\n // IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n // two documents; shallow comparisons work.\n // eslint-disable-next-line eqeqeq\n if (doc == document || doc.nodeType !== 9 || !doc.documentElement) return document;\n // Update global variables\n document = doc;\n documentElement = document.documentElement;\n documentIsHTML = !jQuery.isXMLDoc(document);\n // Support: iOS 7 only, IE 9 - 11+\n // Older browsers didn't support unprefixed `matches`.\n matches = documentElement.matches || documentElement.webkitMatchesSelector || documentElement.msMatchesSelector;\n // Support: IE 9 - 11+, Edge 12 - 18+\n // Accessing iframe documents after unload throws \"permission denied\" errors\n // (see trac-13936).\n // Limit the fix to IE & Edge Legacy; despite Edge 15+ implementing `matches`,\n // all IE 9+ and Edge Legacy versions implement `msMatchesSelector` as well.\n if (documentElement.msMatchesSelector && // Support: IE 11+, Edge 17 - 18+\n // IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n // two documents; shallow comparisons work.\n // eslint-disable-next-line eqeqeq\n preferredDoc != document && (subWindow = document.defaultView) && subWindow.top !== subWindow) // Support: IE 9 - 11+, Edge 12 - 18+\n subWindow.addEventListener(\"unload\", unloadHandler);\n // Support: IE <10\n // Check if getElementById returns elements by name\n // The broken getElementById methods don't pick up programmatically-set names,\n // so use a roundabout getElementsByName test\n support.getById = assert(function(el) {\n documentElement.appendChild(el).id = jQuery.expando;\n return !document.getElementsByName || !document.getElementsByName(jQuery.expando).length;\n });\n // Support: IE 9 only\n // Check to see if it's possible to do matchesSelector\n // on a disconnected node.\n support.disconnectedMatch = assert(function(el) {\n return matches.call(el, \"*\");\n });\n // Support: IE 9 - 11+, Edge 12 - 18+\n // IE/Edge don't support the :scope pseudo-class.\n support.scope = assert(function() {\n return document.querySelectorAll(\":scope\");\n });\n // Support: Chrome 105 - 111 only, Safari 15.4 - 16.3 only\n // Make sure the `:has()` argument is parsed unforgivingly.\n // We include `*` in the test to detect buggy implementations that are\n // _selectively_ forgiving (specifically when the list includes at least\n // one valid selector).\n // Note that we treat complete lack of support for `:has()` as if it were\n // spec-compliant support, which is fine because use of `:has()` in such\n // environments will fail in the qSA path and fall back to jQuery traversal\n // anyway.\n support.cssHas = assert(function() {\n try {\n document.querySelector(\":has(*,:jqfake)\");\n return false;\n } catch (e) {\n return true;\n }\n });\n // ID filter and find\n if (support.getById) {\n Expr.filter.ID = function(id) {\n var attrId = id.replace(runescape, funescape);\n return function(elem) {\n return elem.getAttribute(\"id\") === attrId;\n };\n };\n Expr.find.ID = function(id, context) {\n if (typeof context.getElementById !== \"undefined\" && documentIsHTML) {\n var elem = context.getElementById(id);\n return elem ? [\n elem\n ] : [];\n }\n };\n } else {\n Expr.filter.ID = function(id) {\n var attrId = id.replace(runescape, funescape);\n return function(elem) {\n var node = typeof elem.getAttributeNode !== \"undefined\" && elem.getAttributeNode(\"id\");\n return node && node.value === attrId;\n };\n };\n // Support: IE 6 - 7 only\n // getElementById is not reliable as a find shortcut\n Expr.find.ID = function(id, context) {\n if (typeof context.getElementById !== \"undefined\" && documentIsHTML) {\n var node, i, elems, elem = context.getElementById(id);\n if (elem) {\n // Verify the id attribute\n node = elem.getAttributeNode(\"id\");\n if (node && node.value === id) return [\n elem\n ];\n // Fall back on getElementsByName\n elems = context.getElementsByName(id);\n i = 0;\n while(elem = elems[i++]){\n node = elem.getAttributeNode(\"id\");\n if (node && node.value === id) return [\n elem\n ];\n }\n }\n return [];\n }\n };\n }\n // Tag\n Expr.find.TAG = function(tag, context) {\n if (typeof context.getElementsByTagName !== \"undefined\") return context.getElementsByTagName(tag);\n else return context.querySelectorAll(tag);\n };\n // Class\n Expr.find.CLASS = function(className, context) {\n if (typeof context.getElementsByClassName !== \"undefined\" && documentIsHTML) return context.getElementsByClassName(className);\n };\n /* QSA/matchesSelector\n\t---------------------------------------------------------------------- */ // QSA and matchesSelector support\n rbuggyQSA = [];\n // Build QSA regex\n // Regex strategy adopted from Diego Perini\n assert(function(el) {\n var input;\n documentElement.appendChild(el).innerHTML = \"\" + \"\";\n // Support: iOS <=7 - 8 only\n // Boolean attributes and \"value\" are not treated correctly in some XML documents\n if (!el.querySelectorAll(\"[selected]\").length) rbuggyQSA.push(\"\\\\[\" + whitespace + \"*(?:value|\" + booleans + \")\");\n // Support: iOS <=7 - 8 only\n if (!el.querySelectorAll(\"[id~=\" + expando + \"-]\").length) rbuggyQSA.push(\"~=\");\n // Support: iOS 8 only\n // https://bugs.webkit.org/show_bug.cgi?id=136851\n // In-page `selector#id sibling-combinator selector` fails\n if (!el.querySelectorAll(\"a#\" + expando + \"+*\").length) rbuggyQSA.push(\".#.+[+~]\");\n // Support: Chrome <=105+, Firefox <=104+, Safari <=15.4+\n // In some of the document kinds, these selectors wouldn't work natively.\n // This is probably OK but for backwards compatibility we want to maintain\n // handling them through jQuery traversal in jQuery 3.x.\n if (!el.querySelectorAll(\":checked\").length) rbuggyQSA.push(\":checked\");\n // Support: Windows 8 Native Apps\n // The type and name attributes are restricted during .innerHTML assignment\n input = document.createElement(\"input\");\n input.setAttribute(\"type\", \"hidden\");\n el.appendChild(input).setAttribute(\"name\", \"D\");\n // Support: IE 9 - 11+\n // IE's :disabled selector does not pick up the children of disabled fieldsets\n // Support: Chrome <=105+, Firefox <=104+, Safari <=15.4+\n // In some of the document kinds, these selectors wouldn't work natively.\n // This is probably OK but for backwards compatibility we want to maintain\n // handling them through jQuery traversal in jQuery 3.x.\n documentElement.appendChild(el).disabled = true;\n if (el.querySelectorAll(\":disabled\").length !== 2) rbuggyQSA.push(\":enabled\", \":disabled\");\n // Support: IE 11+, Edge 15 - 18+\n // IE 11/Edge don't find elements on a `[name='']` query in some cases.\n // Adding a temporary attribute to the document before the selection works\n // around the issue.\n // Interestingly, IE 10 & older don't seem to have the issue.\n input = document.createElement(\"input\");\n input.setAttribute(\"name\", \"\");\n el.appendChild(input);\n if (!el.querySelectorAll(\"[name='']\").length) rbuggyQSA.push(\"\\\\[\" + whitespace + \"*name\" + whitespace + \"*=\" + whitespace + \"*(?:''|\\\"\\\")\");\n });\n if (!support.cssHas) // Support: Chrome 105 - 110+, Safari 15.4 - 16.3+\n // Our regular `try-catch` mechanism fails to detect natively-unsupported\n // pseudo-classes inside `:has()` (such as `:has(:contains(\"Foo\"))`)\n // in browsers that parse the `:has()` argument as a forgiving selector list.\n // https://drafts.csswg.org/selectors/#relational now requires the argument\n // to be parsed unforgivingly, but browsers have not yet fully adjusted.\n rbuggyQSA.push(\":has\");\n rbuggyQSA = rbuggyQSA.length && new RegExp(rbuggyQSA.join(\"|\"));\n /* Sorting\n\t---------------------------------------------------------------------- */ // Document order sorting\n sortOrder = function(a, b) {\n // Flag for duplicate removal\n if (a === b) {\n hasDuplicate = true;\n return 0;\n }\n // Sort on method existence if only one input has compareDocumentPosition\n var compare = !a.compareDocumentPosition - !b.compareDocumentPosition;\n if (compare) return compare;\n // Calculate position if both inputs belong to the same document\n // Support: IE 11+, Edge 17 - 18+\n // IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n // two documents; shallow comparisons work.\n // eslint-disable-next-line eqeqeq\n compare = (a.ownerDocument || a) == (b.ownerDocument || b) ? a.compareDocumentPosition(b) : // Otherwise we know they are disconnected\n 1;\n // Disconnected nodes\n if (compare & 1 || !support.sortDetached && b.compareDocumentPosition(a) === compare) {\n // Choose the first element that is related to our preferred document\n // Support: IE 11+, Edge 17 - 18+\n // IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n // two documents; shallow comparisons work.\n // eslint-disable-next-line eqeqeq\n if (a === document || a.ownerDocument == preferredDoc && find.contains(preferredDoc, a)) return -1;\n // Support: IE 11+, Edge 17 - 18+\n // IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n // two documents; shallow comparisons work.\n // eslint-disable-next-line eqeqeq\n if (b === document || b.ownerDocument == preferredDoc && find.contains(preferredDoc, b)) return 1;\n // Maintain original order\n return sortInput ? indexOf.call(sortInput, a) - indexOf.call(sortInput, b) : 0;\n }\n return compare & 4 ? -1 : 1;\n };\n return document;\n }\n find.matches = function(expr, elements) {\n return find(expr, null, null, elements);\n };\n find.matchesSelector = function(elem, expr) {\n setDocument(elem);\n if (documentIsHTML && !nonnativeSelectorCache[expr + \" \"] && (!rbuggyQSA || !rbuggyQSA.test(expr))) try {\n var ret = matches.call(elem, expr);\n // IE 9's matchesSelector returns false on disconnected nodes\n if (ret || support.disconnectedMatch || // As well, disconnected nodes are said to be in a document\n // fragment in IE 9\n elem.document && elem.document.nodeType !== 11) return ret;\n } catch (e) {\n nonnativeSelectorCache(expr, true);\n }\n return find(expr, document, null, [\n elem\n ]).length > 0;\n };\n find.contains = function(context, elem) {\n // Set document vars if needed\n // Support: IE 11+, Edge 17 - 18+\n // IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n // two documents; shallow comparisons work.\n // eslint-disable-next-line eqeqeq\n if ((context.ownerDocument || context) != document) setDocument(context);\n return jQuery.contains(context, elem);\n };\n find.attr = function(elem, name) {\n // Set document vars if needed\n // Support: IE 11+, Edge 17 - 18+\n // IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n // two documents; shallow comparisons work.\n // eslint-disable-next-line eqeqeq\n if ((elem.ownerDocument || elem) != document) setDocument(elem);\n var fn = Expr.attrHandle[name.toLowerCase()], // Don't get fooled by Object.prototype properties (see trac-13807)\n val = fn && hasOwn.call(Expr.attrHandle, name.toLowerCase()) ? fn(elem, name, !documentIsHTML) : undefined;\n if (val !== undefined) return val;\n return elem.getAttribute(name);\n };\n find.error = function(msg) {\n throw new Error(\"Syntax error, unrecognized expression: \" + msg);\n };\n /**\n * Document sorting and removing duplicates\n * @param {ArrayLike} results\n */ jQuery.uniqueSort = function(results) {\n var elem, duplicates = [], j = 0, i = 0;\n // Unless we *know* we can detect duplicates, assume their presence\n //\n // Support: Android <=4.0+\n // Testing for detecting duplicates is unpredictable so instead assume we can't\n // depend on duplicate detection in all browsers without a stable sort.\n hasDuplicate = !support.sortStable;\n sortInput = !support.sortStable && slice.call(results, 0);\n sort.call(results, sortOrder);\n if (hasDuplicate) {\n while(elem = results[i++])if (elem === results[i]) j = duplicates.push(i);\n while(j--)splice.call(results, duplicates[j], 1);\n }\n // Clear input after sorting to release objects\n // See https://github.com/jquery/sizzle/pull/225\n sortInput = null;\n return results;\n };\n jQuery.fn.uniqueSort = function() {\n return this.pushStack(jQuery.uniqueSort(slice.apply(this)));\n };\n Expr = jQuery.expr = {\n // Can be adjusted by the user\n cacheLength: 50,\n createPseudo: markFunction,\n match: matchExpr,\n attrHandle: {},\n find: {},\n relative: {\n \">\": {\n dir: \"parentNode\",\n first: true\n },\n \" \": {\n dir: \"parentNode\"\n },\n \"+\": {\n dir: \"previousSibling\",\n first: true\n },\n \"~\": {\n dir: \"previousSibling\"\n }\n },\n preFilter: {\n ATTR: function(match) {\n match[1] = match[1].replace(runescape, funescape);\n // Move the given value to match[3] whether quoted or unquoted\n match[3] = (match[3] || match[4] || match[5] || \"\").replace(runescape, funescape);\n if (match[2] === \"~=\") match[3] = \" \" + match[3] + \" \";\n return match.slice(0, 4);\n },\n CHILD: function(match) {\n /* matches from matchExpr[\"CHILD\"]\n\t\t\t\t1 type (only|nth|...)\n\t\t\t\t2 what (child|of-type)\n\t\t\t\t3 argument (even|odd|\\d*|\\d*n([+-]\\d+)?|...)\n\t\t\t\t4 xn-component of xn+y argument ([+-]?\\d*n|)\n\t\t\t\t5 sign of xn-component\n\t\t\t\t6 x of xn-component\n\t\t\t\t7 sign of y-component\n\t\t\t\t8 y of y-component\n\t\t\t*/ match[1] = match[1].toLowerCase();\n if (match[1].slice(0, 3) === \"nth\") {\n // nth-* requires argument\n if (!match[3]) find.error(match[0]);\n // numeric x and y parameters for Expr.filter.CHILD\n // remember that false/true cast respectively to 0/1\n match[4] = +(match[4] ? match[5] + (match[6] || 1) : 2 * (match[3] === \"even\" || match[3] === \"odd\"));\n match[5] = +(match[7] + match[8] || match[3] === \"odd\");\n // other types prohibit arguments\n } else if (match[3]) find.error(match[0]);\n return match;\n },\n PSEUDO: function(match) {\n var excess, unquoted = !match[6] && match[2];\n if (matchExpr.CHILD.test(match[0])) return null;\n // Accept quoted arguments as-is\n if (match[3]) match[2] = match[4] || match[5] || \"\";\n else if (unquoted && rpseudo.test(unquoted) && // Get excess from tokenize (recursively)\n (excess = tokenize(unquoted, true)) && // advance to the next closing parenthesis\n (excess = unquoted.indexOf(\")\", unquoted.length - excess) - unquoted.length)) {\n // excess is a negative index\n match[0] = match[0].slice(0, excess);\n match[2] = unquoted.slice(0, excess);\n }\n // Return only captures needed by the pseudo filter method (type and argument)\n return match.slice(0, 3);\n }\n },\n filter: {\n TAG: function(nodeNameSelector) {\n var expectedNodeName = nodeNameSelector.replace(runescape, funescape).toLowerCase();\n return nodeNameSelector === \"*\" ? function() {\n return true;\n } : function(elem) {\n return nodeName(elem, expectedNodeName);\n };\n },\n CLASS: function(className) {\n var pattern = classCache[className + \" \"];\n return pattern || (pattern = new RegExp(\"(^|\" + whitespace + \")\" + className + \"(\" + whitespace + \"|$)\"), classCache(className, function(elem) {\n return pattern.test(typeof elem.className === \"string\" && elem.className || typeof elem.getAttribute !== \"undefined\" && elem.getAttribute(\"class\") || \"\");\n }));\n },\n ATTR: function(name, operator, check) {\n return function(elem) {\n var result = find.attr(elem, name);\n if (result == null) return operator === \"!=\";\n if (!operator) return true;\n result += \"\";\n if (operator === \"=\") return result === check;\n if (operator === \"!=\") return result !== check;\n if (operator === \"^=\") return check && result.indexOf(check) === 0;\n if (operator === \"*=\") return check && result.indexOf(check) > -1;\n if (operator === \"$=\") return check && result.slice(-check.length) === check;\n if (operator === \"~=\") return (\" \" + result.replace(rwhitespace, \" \") + \" \").indexOf(check) > -1;\n if (operator === \"|=\") return result === check || result.slice(0, check.length + 1) === check + \"-\";\n return false;\n };\n },\n CHILD: function(type, what, _argument, first, last) {\n var simple = type.slice(0, 3) !== \"nth\", forward = type.slice(-4) !== \"last\", ofType = what === \"of-type\";\n return first === 1 && last === 0 ? // Shortcut for :nth-*(n)\n function(elem) {\n return !!elem.parentNode;\n } : function(elem, _context, xml) {\n var cache, outerCache, node, nodeIndex, start, dir = simple !== forward ? \"nextSibling\" : \"previousSibling\", parent = elem.parentNode, name = ofType && elem.nodeName.toLowerCase(), useCache = !xml && !ofType, diff = false;\n if (parent) {\n // :(first|last|only)-(child|of-type)\n if (simple) {\n while(dir){\n node = elem;\n while(node = node[dir]){\n if (ofType ? nodeName(node, name) : node.nodeType === 1) return false;\n }\n // Reverse direction for :only-* (if we haven't yet done so)\n start = dir = type === \"only\" && !start && \"nextSibling\";\n }\n return true;\n }\n start = [\n forward ? parent.firstChild : parent.lastChild\n ];\n // non-xml :nth-child(...) stores cache data on `parent`\n if (forward && useCache) {\n // Seek `elem` from a previously-cached index\n outerCache = parent[expando] || (parent[expando] = {});\n cache = outerCache[type] || [];\n nodeIndex = cache[0] === dirruns && cache[1];\n diff = nodeIndex && cache[2];\n node = nodeIndex && parent.childNodes[nodeIndex];\n while(node = ++nodeIndex && node && node[dir] || // Fallback to seeking `elem` from the start\n (diff = nodeIndex = 0) || start.pop())// When found, cache indexes on `parent` and break\n if (node.nodeType === 1 && ++diff && node === elem) {\n outerCache[type] = [\n dirruns,\n nodeIndex,\n diff\n ];\n break;\n }\n } else {\n // Use previously-cached element index if available\n if (useCache) {\n outerCache = elem[expando] || (elem[expando] = {});\n cache = outerCache[type] || [];\n nodeIndex = cache[0] === dirruns && cache[1];\n diff = nodeIndex;\n }\n // xml :nth-child(...)\n // or :nth-last-child(...) or :nth(-last)?-of-type(...)\n if (diff === false) {\n // Use the same loop as above to seek `elem` from the start\n while(node = ++nodeIndex && node && node[dir] || (diff = nodeIndex = 0) || start.pop())if ((ofType ? nodeName(node, name) : node.nodeType === 1) && ++diff) {\n // Cache the index of each encountered element\n if (useCache) {\n outerCache = node[expando] || (node[expando] = {});\n outerCache[type] = [\n dirruns,\n diff\n ];\n }\n if (node === elem) break;\n }\n }\n }\n // Incorporate the offset, then check against cycle size\n diff -= last;\n return diff === first || diff % first === 0 && diff / first >= 0;\n }\n };\n },\n PSEUDO: function(pseudo, argument) {\n // pseudo-class names are case-insensitive\n // https://www.w3.org/TR/selectors/#pseudo-classes\n // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters\n // Remember that setFilters inherits from pseudos\n var args, fn = Expr.pseudos[pseudo] || Expr.setFilters[pseudo.toLowerCase()] || find.error(\"unsupported pseudo: \" + pseudo);\n // The user may use createPseudo to indicate that\n // arguments are needed to create the filter function\n // just as jQuery does\n if (fn[expando]) return fn(argument);\n // But maintain support for old signatures\n if (fn.length > 1) {\n args = [\n pseudo,\n pseudo,\n \"\",\n argument\n ];\n return Expr.setFilters.hasOwnProperty(pseudo.toLowerCase()) ? markFunction(function(seed, matches) {\n var idx, matched = fn(seed, argument), i = matched.length;\n while(i--){\n idx = indexOf.call(seed, matched[i]);\n seed[idx] = !(matches[idx] = matched[i]);\n }\n }) : function(elem) {\n return fn(elem, 0, args);\n };\n }\n return fn;\n }\n },\n pseudos: {\n // Potentially complex pseudos\n not: markFunction(function(selector) {\n // Trim the selector passed to compile\n // to avoid treating leading and trailing\n // spaces as combinators\n var input = [], results = [], matcher = compile(selector.replace(rtrimCSS, \"$1\"));\n return matcher[expando] ? markFunction(function(seed, matches, _context, xml) {\n var elem, unmatched = matcher(seed, null, xml, []), i = seed.length;\n // Match elements unmatched by `matcher`\n while(i--)if (elem = unmatched[i]) seed[i] = !(matches[i] = elem);\n }) : function(elem, _context, xml) {\n input[0] = elem;\n matcher(input, null, xml, results);\n // Don't keep the element\n // (see https://github.com/jquery/sizzle/issues/299)\n input[0] = null;\n return !results.pop();\n };\n }),\n has: markFunction(function(selector) {\n return function(elem) {\n return find(selector, elem).length > 0;\n };\n }),\n contains: markFunction(function(text) {\n text = text.replace(runescape, funescape);\n return function(elem) {\n return (elem.textContent || jQuery.text(elem)).indexOf(text) > -1;\n };\n }),\n // \"Whether an element is represented by a :lang() selector\n // is based solely on the element's language value\n // being equal to the identifier C,\n // or beginning with the identifier C immediately followed by \"-\".\n // The matching of C against the element's language value is performed case-insensitively.\n // The identifier C does not have to be a valid language name.\"\n // https://www.w3.org/TR/selectors/#lang-pseudo\n lang: markFunction(function(lang) {\n // lang value must be a valid identifier\n if (!ridentifier.test(lang || \"\")) find.error(\"unsupported lang: \" + lang);\n lang = lang.replace(runescape, funescape).toLowerCase();\n return function(elem) {\n var elemLang;\n do if (elemLang = documentIsHTML ? elem.lang : elem.getAttribute(\"xml:lang\") || elem.getAttribute(\"lang\")) {\n elemLang = elemLang.toLowerCase();\n return elemLang === lang || elemLang.indexOf(lang + \"-\") === 0;\n }\n while ((elem = elem.parentNode) && elem.nodeType === 1);\n return false;\n };\n }),\n // Miscellaneous\n target: function(elem) {\n var hash = window1.location && window1.location.hash;\n return hash && hash.slice(1) === elem.id;\n },\n root: function(elem) {\n return elem === documentElement;\n },\n focus: function(elem) {\n return elem === safeActiveElement() && document.hasFocus() && !!(elem.type || elem.href || ~elem.tabIndex);\n },\n // Boolean properties\n enabled: createDisabledPseudo(false),\n disabled: createDisabledPseudo(true),\n checked: function(elem) {\n // In CSS3, :checked should return both checked and selected elements\n // https://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n return nodeName(elem, \"input\") && !!elem.checked || nodeName(elem, \"option\") && !!elem.selected;\n },\n selected: function(elem) {\n // Support: IE <=11+\n // Accessing the selectedIndex property\n // forces the browser to treat the default option as\n // selected when in an optgroup.\n if (elem.parentNode) // eslint-disable-next-line no-unused-expressions\n elem.parentNode.selectedIndex;\n return elem.selected === true;\n },\n // Contents\n empty: function(elem) {\n // https://www.w3.org/TR/selectors/#empty-pseudo\n // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),\n // but not by others (comment: 8; processing instruction: 7; etc.)\n // nodeType < 6 works because attributes (2) do not appear as children\n for(elem = elem.firstChild; elem; elem = elem.nextSibling){\n if (elem.nodeType < 6) return false;\n }\n return true;\n },\n parent: function(elem) {\n return !Expr.pseudos.empty(elem);\n },\n // Element/input types\n header: function(elem) {\n return rheader.test(elem.nodeName);\n },\n input: function(elem) {\n return rinputs.test(elem.nodeName);\n },\n button: function(elem) {\n return nodeName(elem, \"input\") && elem.type === \"button\" || nodeName(elem, \"button\");\n },\n text: function(elem) {\n var attr;\n return nodeName(elem, \"input\") && elem.type === \"text\" && // Support: IE <10 only\n // New HTML5 attribute values (e.g., \"search\") appear\n // with elem.type === \"text\"\n ((attr = elem.getAttribute(\"type\")) == null || attr.toLowerCase() === \"text\");\n },\n // Position-in-collection\n first: createPositionalPseudo(function() {\n return [\n 0\n ];\n }),\n last: createPositionalPseudo(function(_matchIndexes, length) {\n return [\n length - 1\n ];\n }),\n eq: createPositionalPseudo(function(_matchIndexes, length, argument) {\n return [\n argument < 0 ? argument + length : argument\n ];\n }),\n even: createPositionalPseudo(function(matchIndexes, length) {\n var i = 0;\n for(; i < length; i += 2)matchIndexes.push(i);\n return matchIndexes;\n }),\n odd: createPositionalPseudo(function(matchIndexes, length) {\n var i = 1;\n for(; i < length; i += 2)matchIndexes.push(i);\n return matchIndexes;\n }),\n lt: createPositionalPseudo(function(matchIndexes, length, argument) {\n var i;\n if (argument < 0) i = argument + length;\n else if (argument > length) i = length;\n else i = argument;\n for(; --i >= 0;)matchIndexes.push(i);\n return matchIndexes;\n }),\n gt: createPositionalPseudo(function(matchIndexes, length, argument) {\n var i = argument < 0 ? argument + length : argument;\n for(; ++i < length;)matchIndexes.push(i);\n return matchIndexes;\n })\n }\n };\n Expr.pseudos.nth = Expr.pseudos.eq;\n // Add button/input type pseudos\n for(i in {\n radio: true,\n checkbox: true,\n file: true,\n password: true,\n image: true\n })Expr.pseudos[i] = createInputPseudo(i);\n for(i in {\n submit: true,\n reset: true\n })Expr.pseudos[i] = createButtonPseudo(i);\n // Easy API for creating new setFilters\n function setFilters() {}\n setFilters.prototype = Expr.filters = Expr.pseudos;\n Expr.setFilters = new setFilters();\n function tokenize(selector, parseOnly) {\n var matched, match, tokens, type, soFar, groups, preFilters, cached = tokenCache[selector + \" \"];\n if (cached) return parseOnly ? 0 : cached.slice(0);\n soFar = selector;\n groups = [];\n preFilters = Expr.preFilter;\n while(soFar){\n // Comma and first run\n if (!matched || (match = rcomma.exec(soFar))) {\n if (match) // Don't consume trailing commas as valid\n soFar = soFar.slice(match[0].length) || soFar;\n groups.push(tokens = []);\n }\n matched = false;\n // Combinators\n if (match = rleadingCombinator.exec(soFar)) {\n matched = match.shift();\n tokens.push({\n value: matched,\n // Cast descendant combinators to space\n type: match[0].replace(rtrimCSS, \" \")\n });\n soFar = soFar.slice(matched.length);\n }\n // Filters\n for(type in Expr.filter)if ((match = matchExpr[type].exec(soFar)) && (!preFilters[type] || (match = preFilters[type](match)))) {\n matched = match.shift();\n tokens.push({\n value: matched,\n type: type,\n matches: match\n });\n soFar = soFar.slice(matched.length);\n }\n if (!matched) break;\n }\n // Return the length of the invalid excess\n // if we're just parsing\n // Otherwise, throw an error or return tokens\n if (parseOnly) return soFar.length;\n return soFar ? find.error(selector) : // Cache the tokens\n tokenCache(selector, groups).slice(0);\n }\n function toSelector(tokens) {\n var i = 0, len = tokens.length, selector = \"\";\n for(; i < len; i++)selector += tokens[i].value;\n return selector;\n }\n function addCombinator(matcher, combinator, base) {\n var dir = combinator.dir, skip = combinator.next, key = skip || dir, checkNonElements = base && key === \"parentNode\", doneName = done++;\n return combinator.first ? // Check against closest ancestor/preceding element\n function(elem, context, xml) {\n while(elem = elem[dir]){\n if (elem.nodeType === 1 || checkNonElements) return matcher(elem, context, xml);\n }\n return false;\n } : // Check against all ancestor/preceding elements\n function(elem, context, xml) {\n var oldCache, outerCache, newCache = [\n dirruns,\n doneName\n ];\n // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching\n if (xml) {\n while(elem = elem[dir])if (elem.nodeType === 1 || checkNonElements) {\n if (matcher(elem, context, xml)) return true;\n }\n } else {\n while(elem = elem[dir])if (elem.nodeType === 1 || checkNonElements) {\n outerCache = elem[expando] || (elem[expando] = {});\n if (skip && nodeName(elem, skip)) elem = elem[dir] || elem;\n else if ((oldCache = outerCache[key]) && oldCache[0] === dirruns && oldCache[1] === doneName) // Assign to newCache so results back-propagate to previous elements\n return newCache[2] = oldCache[2];\n else {\n // Reuse newcache so results back-propagate to previous elements\n outerCache[key] = newCache;\n // A match means we're done; a fail means we have to keep checking\n if (newCache[2] = matcher(elem, context, xml)) return true;\n }\n }\n }\n return false;\n };\n }\n function elementMatcher(matchers) {\n return matchers.length > 1 ? function(elem, context, xml) {\n var i = matchers.length;\n while(i--){\n if (!matchers[i](elem, context, xml)) return false;\n }\n return true;\n } : matchers[0];\n }\n function multipleContexts(selector, contexts, results) {\n var i = 0, len = contexts.length;\n for(; i < len; i++)find(selector, contexts[i], results);\n return results;\n }\n function condense(unmatched, map, filter, context, xml) {\n var elem, newUnmatched = [], i = 0, len = unmatched.length, mapped = map != null;\n for(; i < len; i++){\n if (elem = unmatched[i]) {\n if (!filter || filter(elem, context, xml)) {\n newUnmatched.push(elem);\n if (mapped) map.push(i);\n }\n }\n }\n return newUnmatched;\n }\n function setMatcher(preFilter, selector, matcher, postFilter, postFinder, postSelector) {\n if (postFilter && !postFilter[expando]) postFilter = setMatcher(postFilter);\n if (postFinder && !postFinder[expando]) postFinder = setMatcher(postFinder, postSelector);\n return markFunction(function(seed, results, context, xml) {\n var temp, i, elem, matcherOut, preMap = [], postMap = [], preexisting = results.length, // Get initial elements from seed or context\n elems = seed || multipleContexts(selector || \"*\", context.nodeType ? [\n context\n ] : context, []), // Prefilter to get matcher input, preserving a map for seed-results synchronization\n matcherIn = preFilter && (seed || !selector) ? condense(elems, preMap, preFilter, context, xml) : elems;\n if (matcher) {\n // If we have a postFinder, or filtered seed, or non-seed postFilter\n // or preexisting results,\n matcherOut = postFinder || (seed ? preFilter : preexisting || postFilter) ? // ...intermediate processing is necessary\n [] : // ...otherwise use results directly\n results;\n // Find primary matches\n matcher(matcherIn, matcherOut, context, xml);\n } else matcherOut = matcherIn;\n // Apply postFilter\n if (postFilter) {\n temp = condense(matcherOut, postMap);\n postFilter(temp, [], context, xml);\n // Un-match failing elements by moving them back to matcherIn\n i = temp.length;\n while(i--)if (elem = temp[i]) matcherOut[postMap[i]] = !(matcherIn[postMap[i]] = elem);\n }\n if (seed) {\n if (postFinder || preFilter) {\n if (postFinder) {\n // Get the final matcherOut by condensing this intermediate into postFinder contexts\n temp = [];\n i = matcherOut.length;\n while(i--)if (elem = matcherOut[i]) // Restore matcherIn since elem is not yet a final match\n temp.push(matcherIn[i] = elem);\n postFinder(null, matcherOut = [], temp, xml);\n }\n // Move matched elements from seed to results to keep them synchronized\n i = matcherOut.length;\n while(i--)if ((elem = matcherOut[i]) && (temp = postFinder ? indexOf.call(seed, elem) : preMap[i]) > -1) seed[temp] = !(results[temp] = elem);\n }\n } else {\n matcherOut = condense(matcherOut === results ? matcherOut.splice(preexisting, matcherOut.length) : matcherOut);\n if (postFinder) postFinder(null, results, matcherOut, xml);\n else push.apply(results, matcherOut);\n }\n });\n }\n function matcherFromTokens(tokens) {\n var checkContext, matcher, j, len = tokens.length, leadingRelative = Expr.relative[tokens[0].type], implicitRelative = leadingRelative || Expr.relative[\" \"], i = leadingRelative ? 1 : 0, // The foundational matcher ensures that elements are reachable from top-level context(s)\n matchContext = addCombinator(function(elem) {\n return elem === checkContext;\n }, implicitRelative, true), matchAnyContext = addCombinator(function(elem) {\n return indexOf.call(checkContext, elem) > -1;\n }, implicitRelative, true), matchers = [\n function(elem, context, xml) {\n // Support: IE 11+, Edge 17 - 18+\n // IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n // two documents; shallow comparisons work.\n // eslint-disable-next-line eqeqeq\n var ret = !leadingRelative && (xml || context != outermostContext) || ((checkContext = context).nodeType ? matchContext(elem, context, xml) : matchAnyContext(elem, context, xml));\n // Avoid hanging onto element\n // (see https://github.com/jquery/sizzle/issues/299)\n checkContext = null;\n return ret;\n }\n ];\n for(; i < len; i++)if (matcher = Expr.relative[tokens[i].type]) matchers = [\n addCombinator(elementMatcher(matchers), matcher)\n ];\n else {\n matcher = Expr.filter[tokens[i].type].apply(null, tokens[i].matches);\n // Return special upon seeing a positional matcher\n if (matcher[expando]) {\n // Find the next relative operator (if any) for proper handling\n j = ++i;\n for(; j < len; j++){\n if (Expr.relative[tokens[j].type]) break;\n }\n return setMatcher(i > 1 && elementMatcher(matchers), i > 1 && toSelector(// If the preceding token was a descendant combinator, insert an implicit any-element `*`\n tokens.slice(0, i - 1).concat({\n value: tokens[i - 2].type === \" \" ? \"*\" : \"\"\n })).replace(rtrimCSS, \"$1\"), matcher, i < j && matcherFromTokens(tokens.slice(i, j)), j < len && matcherFromTokens(tokens = tokens.slice(j)), j < len && toSelector(tokens));\n }\n matchers.push(matcher);\n }\n return elementMatcher(matchers);\n }\n function matcherFromGroupMatchers(elementMatchers, setMatchers) {\n var bySet = setMatchers.length > 0, byElement = elementMatchers.length > 0, superMatcher = function(seed, context, xml, results, outermost) {\n var elem, j, matcher, matchedCount = 0, i = \"0\", unmatched = seed && [], setMatched = [], contextBackup = outermostContext, // We must always have either seed elements or outermost context\n elems = seed || byElement && Expr.find.TAG(\"*\", outermost), // Use integer dirruns iff this is the outermost matcher\n dirrunsUnique = dirruns += contextBackup == null ? 1 : Math.random() || 0.1, len = elems.length;\n if (outermost) // Support: IE 11+, Edge 17 - 18+\n // IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n // two documents; shallow comparisons work.\n // eslint-disable-next-line eqeqeq\n outermostContext = context == document || context || outermost;\n // Add elements passing elementMatchers directly to results\n // Support: iOS <=7 - 9 only\n // Tolerate NodeList properties (IE: \"length\"; Safari: ) matching\n // elements by id. (see trac-14142)\n for(; i !== len && (elem = elems[i]) != null; i++){\n if (byElement && elem) {\n j = 0;\n // Support: IE 11+, Edge 17 - 18+\n // IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n // two documents; shallow comparisons work.\n // eslint-disable-next-line eqeqeq\n if (!context && elem.ownerDocument != document) {\n setDocument(elem);\n xml = !documentIsHTML;\n }\n while(matcher = elementMatchers[j++])if (matcher(elem, context || document, xml)) {\n push.call(results, elem);\n break;\n }\n if (outermost) dirruns = dirrunsUnique;\n }\n // Track unmatched elements for set filters\n if (bySet) {\n // They will have gone through all possible matchers\n if (elem = !matcher && elem) matchedCount--;\n // Lengthen the array for every element, matched or not\n if (seed) unmatched.push(elem);\n }\n }\n // `i` is now the count of elements visited above, and adding it to `matchedCount`\n // makes the latter nonnegative.\n matchedCount += i;\n // Apply set filters to unmatched elements\n // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount`\n // equals `i`), unless we didn't visit _any_ elements in the above loop because we have\n // no element matchers and no seed.\n // Incrementing an initially-string \"0\" `i` allows `i` to remain a string only in that\n // case, which will result in a \"00\" `matchedCount` that differs from `i` but is also\n // numerically zero.\n if (bySet && i !== matchedCount) {\n j = 0;\n while(matcher = setMatchers[j++])matcher(unmatched, setMatched, context, xml);\n if (seed) {\n // Reintegrate element matches to eliminate the need for sorting\n if (matchedCount > 0) {\n while(i--)if (!(unmatched[i] || setMatched[i])) setMatched[i] = pop.call(results);\n }\n // Discard index placeholder values to get only actual matches\n setMatched = condense(setMatched);\n }\n // Add matches to results\n push.apply(results, setMatched);\n // Seedless set matches succeeding multiple successful matchers stipulate sorting\n if (outermost && !seed && setMatched.length > 0 && matchedCount + setMatchers.length > 1) jQuery.uniqueSort(results);\n }\n // Override manipulation of globals by nested matchers\n if (outermost) {\n dirruns = dirrunsUnique;\n outermostContext = contextBackup;\n }\n return unmatched;\n };\n return bySet ? markFunction(superMatcher) : superMatcher;\n }\n function compile(selector, match /* Internal Use Only */ ) {\n var i, setMatchers = [], elementMatchers = [], cached = compilerCache[selector + \" \"];\n if (!cached) {\n // Generate a function of recursive functions that can be used to check each element\n if (!match) match = tokenize(selector);\n i = match.length;\n while(i--){\n cached = matcherFromTokens(match[i]);\n if (cached[expando]) setMatchers.push(cached);\n else elementMatchers.push(cached);\n }\n // Cache the compiled function\n cached = compilerCache(selector, matcherFromGroupMatchers(elementMatchers, setMatchers));\n // Save selector and tokenization\n cached.selector = selector;\n }\n return cached;\n }\n /**\n * A low-level selection function that works with jQuery's compiled\n * selector functions\n * @param {String|Function} selector A selector or a pre-compiled\n * selector function built with jQuery selector compile\n * @param {Element} context\n * @param {Array} [results]\n * @param {Array} [seed] A set of elements to match against\n */ function select(selector, context, results, seed) {\n var i, tokens, token, type, find, compiled = typeof selector === \"function\" && selector, match = !seed && tokenize(selector = compiled.selector || selector);\n results = results || [];\n // Try to minimize operations if there is only one selector in the list and no seed\n // (the latter of which guarantees us context)\n if (match.length === 1) {\n // Reduce context if the leading compound selector is an ID\n tokens = match[0] = match[0].slice(0);\n if (tokens.length > 2 && (token = tokens[0]).type === \"ID\" && context.nodeType === 9 && documentIsHTML && Expr.relative[tokens[1].type]) {\n context = (Expr.find.ID(token.matches[0].replace(runescape, funescape), context) || [])[0];\n if (!context) return results;\n else if (compiled) context = context.parentNode;\n selector = selector.slice(tokens.shift().value.length);\n }\n // Fetch a seed set for right-to-left matching\n i = matchExpr.needsContext.test(selector) ? 0 : tokens.length;\n while(i--){\n token = tokens[i];\n // Abort if we hit a combinator\n if (Expr.relative[type = token.type]) break;\n if (find = Expr.find[type]) // Search, expanding context for leading sibling combinators\n {\n if (seed = find(token.matches[0].replace(runescape, funescape), rsibling.test(tokens[0].type) && testContext(context.parentNode) || context)) {\n // If seed is empty or no tokens remain, we can return early\n tokens.splice(i, 1);\n selector = seed.length && toSelector(tokens);\n if (!selector) {\n push.apply(results, seed);\n return results;\n }\n break;\n }\n }\n }\n }\n // Compile and execute a filtering function if one is not provided\n // Provide `match` to avoid retokenization if we modified the selector above\n (compiled || compile(selector, match))(seed, context, !documentIsHTML, results, !context || rsibling.test(selector) && testContext(context.parentNode) || context);\n return results;\n }\n // One-time assignments\n // Support: Android <=4.0 - 4.1+\n // Sort stability\n support.sortStable = expando.split(\"\").sort(sortOrder).join(\"\") === expando;\n // Initialize against the default document\n setDocument();\n // Support: Android <=4.0 - 4.1+\n // Detached nodes confoundingly follow *each other*\n support.sortDetached = assert(function(el) {\n // Should return 1, but returns 4 (following)\n return el.compareDocumentPosition(document.createElement(\"fieldset\")) & 1;\n });\n jQuery.find = find;\n // Deprecated\n jQuery.expr[\":\"] = jQuery.expr.pseudos;\n jQuery.unique = jQuery.uniqueSort;\n // These have always been private, but they used to be documented as part of\n // Sizzle so let's maintain them for now for backwards compatibility purposes.\n find.compile = compile;\n find.select = select;\n find.setDocument = setDocument;\n find.tokenize = tokenize;\n find.escape = jQuery.escapeSelector;\n find.getText = jQuery.text;\n find.isXML = jQuery.isXMLDoc;\n find.selectors = jQuery.expr;\n find.support = jQuery.support;\n find.uniqueSort = jQuery.uniqueSort;\n /* eslint-enable */ })();\n var dir = function(elem, dir, until) {\n var matched = [], truncate = until !== undefined;\n while((elem = elem[dir]) && elem.nodeType !== 9)if (elem.nodeType === 1) {\n if (truncate && jQuery(elem).is(until)) break;\n matched.push(elem);\n }\n return matched;\n };\n var siblings = function(n, elem) {\n var matched = [];\n for(; n; n = n.nextSibling)if (n.nodeType === 1 && n !== elem) matched.push(n);\n return matched;\n };\n var rneedsContext = jQuery.expr.match.needsContext;\n var rsingleTag = /^<([a-z][^\\/\\0>:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:<\\/\\1>|)$/i;\n // Implement the identical functionality for filter and not\n function winnow(elements, qualifier, not) {\n if (isFunction(qualifier)) return jQuery.grep(elements, function(elem, i) {\n return !!qualifier.call(elem, i, elem) !== not;\n });\n // Single element\n if (qualifier.nodeType) return jQuery.grep(elements, function(elem) {\n return elem === qualifier !== not;\n });\n // Arraylike of elements (jQuery, arguments, Array)\n if (typeof qualifier !== \"string\") return jQuery.grep(elements, function(elem) {\n return indexOf.call(qualifier, elem) > -1 !== not;\n });\n // Filtered directly for both simple and complex selectors\n return jQuery.filter(qualifier, elements, not);\n }\n jQuery.filter = function(expr, elems, not) {\n var elem = elems[0];\n if (not) expr = \":not(\" + expr + \")\";\n if (elems.length === 1 && elem.nodeType === 1) return jQuery.find.matchesSelector(elem, expr) ? [\n elem\n ] : [];\n return jQuery.find.matches(expr, jQuery.grep(elems, function(elem) {\n return elem.nodeType === 1;\n }));\n };\n jQuery.fn.extend({\n find: function(selector) {\n var i, ret, len = this.length, self = this;\n if (typeof selector !== \"string\") return this.pushStack(jQuery(selector).filter(function() {\n for(i = 0; i < len; i++){\n if (jQuery.contains(self[i], this)) return true;\n }\n }));\n ret = this.pushStack([]);\n for(i = 0; i < len; i++)jQuery.find(selector, self[i], ret);\n return len > 1 ? jQuery.uniqueSort(ret) : ret;\n },\n filter: function(selector) {\n return this.pushStack(winnow(this, selector || [], false));\n },\n not: function(selector) {\n return this.pushStack(winnow(this, selector || [], true));\n },\n is: function(selector) {\n return !!winnow(this, // If this is a positional/relative selector, check membership in the returned set\n // so $(\"p:first\").is(\"p:last\") won't return true for a doc with two \"p\".\n typeof selector === \"string\" && rneedsContext.test(selector) ? jQuery(selector) : selector || [], false).length;\n }\n });\n // Initialize a jQuery object\n // A central reference to the root jQuery(document)\n var rootjQuery, // A simple way to check for HTML strings\n // Prioritize #id over to avoid XSS via location.hash (trac-9521)\n // Strict HTML recognition (trac-11290: must start with <)\n // Shortcut simple #id case for speed\n rquickExpr = /^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]+))$/, init = jQuery.fn.init = function(selector, context, root) {\n var match, elem;\n // HANDLE: $(\"\"), $(null), $(undefined), $(false)\n if (!selector) return this;\n // Method init() accepts an alternate rootjQuery\n // so migrate can support jQuery.sub (gh-2101)\n root = root || rootjQuery;\n // Handle HTML strings\n if (typeof selector === \"string\") {\n if (selector[0] === \"<\" && selector[selector.length - 1] === \">\" && selector.length >= 3) // Assume that strings that start and end with <> are HTML and skip the regex check\n match = [\n null,\n selector,\n null\n ];\n else match = rquickExpr.exec(selector);\n // Match html or make sure no context is specified for #id\n if (match && (match[1] || !context)) {\n // HANDLE: $(html) -> $(array)\n if (match[1]) {\n context = context instanceof jQuery ? context[0] : context;\n // Option to run scripts is true for back-compat\n // Intentionally let the error be thrown if parseHTML is not present\n jQuery.merge(this, jQuery.parseHTML(match[1], context && context.nodeType ? context.ownerDocument || context : document, true));\n // HANDLE: $(html, props)\n if (rsingleTag.test(match[1]) && jQuery.isPlainObject(context)) {\n for(match in context)// Properties of context are called as methods if possible\n if (isFunction(this[match])) this[match](context[match]);\n else this.attr(match, context[match]);\n }\n return this;\n // HANDLE: $(#id)\n } else {\n elem = document.getElementById(match[2]);\n if (elem) {\n // Inject the element directly into the jQuery object\n this[0] = elem;\n this.length = 1;\n }\n return this;\n }\n } else if (!context || context.jquery) return (context || root).find(selector);\n else return this.constructor(context).find(selector);\n // HANDLE: $(DOMElement)\n } else if (selector.nodeType) {\n this[0] = selector;\n this.length = 1;\n return this;\n // HANDLE: $(function)\n // Shortcut for document ready\n } else if (isFunction(selector)) return root.ready !== undefined ? root.ready(selector) : // Execute immediately if ready is not present\n selector(jQuery);\n return jQuery.makeArray(selector, this);\n };\n // Give the init function the jQuery prototype for later instantiation\n init.prototype = jQuery.fn;\n // Initialize central reference\n rootjQuery = jQuery(document);\n var rparentsprev = /^(?:parents|prev(?:Until|All))/, // Methods guaranteed to produce a unique set when starting from a unique set\n guaranteedUnique = {\n children: true,\n contents: true,\n next: true,\n prev: true\n };\n jQuery.fn.extend({\n has: function(target) {\n var targets = jQuery(target, this), l = targets.length;\n return this.filter(function() {\n var i = 0;\n for(; i < l; i++){\n if (jQuery.contains(this, targets[i])) return true;\n }\n });\n },\n closest: function(selectors, context) {\n var cur, i = 0, l = this.length, matched = [], targets = typeof selectors !== \"string\" && jQuery(selectors);\n // Positional selectors never match, since there's no _selection_ context\n if (!rneedsContext.test(selectors)) for(; i < l; i++){\n for(cur = this[i]; cur && cur !== context; cur = cur.parentNode)// Always skip document fragments\n if (cur.nodeType < 11 && (targets ? targets.index(cur) > -1 : // Don't pass non-elements to jQuery#find\n cur.nodeType === 1 && jQuery.find.matchesSelector(cur, selectors))) {\n matched.push(cur);\n break;\n }\n }\n return this.pushStack(matched.length > 1 ? jQuery.uniqueSort(matched) : matched);\n },\n // Determine the position of an element within the set\n index: function(elem) {\n // No argument, return index in parent\n if (!elem) return this[0] && this[0].parentNode ? this.first().prevAll().length : -1;\n // Index in selector\n if (typeof elem === \"string\") return indexOf.call(jQuery(elem), this[0]);\n // Locate the position of the desired element\n return indexOf.call(this, // If it receives a jQuery object, the first element is used\n elem.jquery ? elem[0] : elem);\n },\n add: function(selector, context) {\n return this.pushStack(jQuery.uniqueSort(jQuery.merge(this.get(), jQuery(selector, context))));\n },\n addBack: function(selector) {\n return this.add(selector == null ? this.prevObject : this.prevObject.filter(selector));\n }\n });\n function sibling(cur, dir) {\n while((cur = cur[dir]) && cur.nodeType !== 1);\n return cur;\n }\n jQuery.each({\n parent: function(elem) {\n var parent = elem.parentNode;\n return parent && parent.nodeType !== 11 ? parent : null;\n },\n parents: function(elem) {\n return dir(elem, \"parentNode\");\n },\n parentsUntil: function(elem, _i, until) {\n return dir(elem, \"parentNode\", until);\n },\n next: function(elem) {\n return sibling(elem, \"nextSibling\");\n },\n prev: function(elem) {\n return sibling(elem, \"previousSibling\");\n },\n nextAll: function(elem) {\n return dir(elem, \"nextSibling\");\n },\n prevAll: function(elem) {\n return dir(elem, \"previousSibling\");\n },\n nextUntil: function(elem, _i, until) {\n return dir(elem, \"nextSibling\", until);\n },\n prevUntil: function(elem, _i, until) {\n return dir(elem, \"previousSibling\", until);\n },\n siblings: function(elem) {\n return siblings((elem.parentNode || {}).firstChild, elem);\n },\n children: function(elem) {\n return siblings(elem.firstChild);\n },\n contents: function(elem) {\n if (elem.contentDocument != null && // Support: IE 11+\n // elements with no `data` attribute has an object\n // `contentDocument` with a `null` prototype.\n getProto(elem.contentDocument)) return elem.contentDocument;\n // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only\n // Treat the template element as a regular one in browsers that\n // don't support it.\n if (nodeName(elem, \"template\")) elem = elem.content || elem;\n return jQuery.merge([], elem.childNodes);\n }\n }, function(name, fn) {\n jQuery.fn[name] = function(until, selector) {\n var matched = jQuery.map(this, fn, until);\n if (name.slice(-5) !== \"Until\") selector = until;\n if (selector && typeof selector === \"string\") matched = jQuery.filter(selector, matched);\n if (this.length > 1) {\n // Remove duplicates\n if (!guaranteedUnique[name]) jQuery.uniqueSort(matched);\n // Reverse order for parents* and prev-derivatives\n if (rparentsprev.test(name)) matched.reverse();\n }\n return this.pushStack(matched);\n };\n });\n var rnothtmlwhite = /[^\\x20\\t\\r\\n\\f]+/g;\n // Convert String-formatted options into Object-formatted ones\n function createOptions(options) {\n var object = {};\n jQuery.each(options.match(rnothtmlwhite) || [], function(_, flag) {\n object[flag] = true;\n });\n return object;\n }\n /*\n * Create a callback list using the following parameters:\n *\n *\toptions: an optional list of space-separated options that will change how\n *\t\t\tthe callback list behaves or a more traditional option object\n *\n * By default a callback list will act like an event callback list and can be\n * \"fired\" multiple times.\n *\n * Possible options:\n *\n *\tonce:\t\t\twill ensure the callback list can only be fired once (like a Deferred)\n *\n *\tmemory:\t\t\twill keep track of previous values and will call any callback added\n *\t\t\t\t\tafter the list has been fired right away with the latest \"memorized\"\n *\t\t\t\t\tvalues (like a Deferred)\n *\n *\tunique:\t\t\twill ensure a callback can only be added once (no duplicate in the list)\n *\n *\tstopOnFalse:\tinterrupt callings when a callback returns false\n *\n */ jQuery.Callbacks = function(options) {\n // Convert options from String-formatted to Object-formatted if needed\n // (we check in cache first)\n options = typeof options === \"string\" ? createOptions(options) : jQuery.extend({}, options);\n var firing, // Last fire value for non-forgettable lists\n memory, // Flag to know if list was already fired\n fired, // Flag to prevent firing\n locked, // Actual callback list\n list = [], // Queue of execution data for repeatable lists\n queue = [], // Index of currently firing callback (modified by add/remove as needed)\n firingIndex = -1, // Fire callbacks\n fire = function() {\n // Enforce single-firing\n locked = locked || options.once;\n // Execute callbacks for all pending executions,\n // respecting firingIndex overrides and runtime changes\n fired = firing = true;\n for(; queue.length; firingIndex = -1){\n memory = queue.shift();\n while(++firingIndex < list.length)// Run callback and check for early termination\n if (list[firingIndex].apply(memory[0], memory[1]) === false && options.stopOnFalse) {\n // Jump to end and forget the data so .add doesn't re-fire\n firingIndex = list.length;\n memory = false;\n }\n }\n // Forget the data if we're done with it\n if (!options.memory) memory = false;\n firing = false;\n // Clean up if we're done firing for good\n if (locked) {\n // Keep an empty list if we have data for future add calls\n if (memory) list = [];\n else list = \"\";\n }\n }, // Actual Callbacks object\n self = {\n // Add a callback or a collection of callbacks to the list\n add: function() {\n if (list) {\n // If we have memory from a past run, we should fire after adding\n if (memory && !firing) {\n firingIndex = list.length - 1;\n queue.push(memory);\n }\n (function add(args) {\n jQuery.each(args, function(_, arg) {\n if (isFunction(arg)) {\n if (!options.unique || !self.has(arg)) list.push(arg);\n } else if (arg && arg.length && toType(arg) !== \"string\") // Inspect recursively\n add(arg);\n });\n })(arguments);\n if (memory && !firing) fire();\n }\n return this;\n },\n // Remove a callback from the list\n remove: function() {\n jQuery.each(arguments, function(_, arg) {\n var index;\n while((index = jQuery.inArray(arg, list, index)) > -1){\n list.splice(index, 1);\n // Handle firing indexes\n if (index <= firingIndex) firingIndex--;\n }\n });\n return this;\n },\n // Check if a given callback is in the list.\n // If no argument is given, return whether or not list has callbacks attached.\n has: function(fn) {\n return fn ? jQuery.inArray(fn, list) > -1 : list.length > 0;\n },\n // Remove all callbacks from the list\n empty: function() {\n if (list) list = [];\n return this;\n },\n // Disable .fire and .add\n // Abort any current/pending executions\n // Clear all callbacks and values\n disable: function() {\n locked = queue = [];\n list = memory = \"\";\n return this;\n },\n disabled: function() {\n return !list;\n },\n // Disable .fire\n // Also disable .add unless we have memory (since it would have no effect)\n // Abort any pending executions\n lock: function() {\n locked = queue = [];\n if (!memory && !firing) list = memory = \"\";\n return this;\n },\n locked: function() {\n return !!locked;\n },\n // Call all callbacks with the given context and arguments\n fireWith: function(context, args) {\n if (!locked) {\n args = args || [];\n args = [\n context,\n args.slice ? args.slice() : args\n ];\n queue.push(args);\n if (!firing) fire();\n }\n return this;\n },\n // Call all the callbacks with the given arguments\n fire: function() {\n self.fireWith(this, arguments);\n return this;\n },\n // To know if the callbacks have already been called at least once\n fired: function() {\n return !!fired;\n }\n };\n return self;\n };\n function Identity(v) {\n return v;\n }\n function Thrower(ex) {\n throw ex;\n }\n function adoptValue(value, resolve, reject, noValue) {\n var method;\n try {\n // Check for promise aspect first to privilege synchronous behavior\n if (value && isFunction(method = value.promise)) method.call(value).done(resolve).fail(reject);\n else if (value && isFunction(method = value.then)) method.call(value, resolve, reject);\n else // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer:\n // * false: [ value ].slice( 0 ) => resolve( value )\n // * true: [ value ].slice( 1 ) => resolve()\n resolve.apply(undefined, [\n value\n ].slice(noValue));\n // For Promises/A+, convert exceptions into rejections\n // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in\n // Deferred#then to conditionally suppress rejection.\n } catch (value) {\n // Support: Android 4.0 only\n // Strict mode functions invoked without .call/.apply get global-object context\n reject.apply(undefined, [\n value\n ]);\n }\n }\n jQuery.extend({\n Deferred: function(func) {\n var tuples = [\n // action, add listener, callbacks,\n // ... .then handlers, argument index, [final state]\n [\n \"notify\",\n \"progress\",\n jQuery.Callbacks(\"memory\"),\n jQuery.Callbacks(\"memory\"),\n 2\n ],\n [\n \"resolve\",\n \"done\",\n jQuery.Callbacks(\"once memory\"),\n jQuery.Callbacks(\"once memory\"),\n 0,\n \"resolved\"\n ],\n [\n \"reject\",\n \"fail\",\n jQuery.Callbacks(\"once memory\"),\n jQuery.Callbacks(\"once memory\"),\n 1,\n \"rejected\"\n ]\n ], state = \"pending\", promise = {\n state: function() {\n return state;\n },\n always: function() {\n deferred.done(arguments).fail(arguments);\n return this;\n },\n \"catch\": function(fn) {\n return promise.then(null, fn);\n },\n // Keep pipe for back-compat\n pipe: function() {\n var fns = arguments;\n return jQuery.Deferred(function(newDefer) {\n jQuery.each(tuples, function(_i, tuple) {\n // Map tuples (progress, done, fail) to arguments (done, fail, progress)\n var fn = isFunction(fns[tuple[4]]) && fns[tuple[4]];\n // deferred.progress(function() { bind to newDefer or newDefer.notify })\n // deferred.done(function() { bind to newDefer or newDefer.resolve })\n // deferred.fail(function() { bind to newDefer or newDefer.reject })\n deferred[tuple[1]](function() {\n var returned = fn && fn.apply(this, arguments);\n if (returned && isFunction(returned.promise)) returned.promise().progress(newDefer.notify).done(newDefer.resolve).fail(newDefer.reject);\n else newDefer[tuple[0] + \"With\"](this, fn ? [\n returned\n ] : arguments);\n });\n });\n fns = null;\n }).promise();\n },\n then: function(onFulfilled, onRejected, onProgress) {\n var maxDepth = 0;\n function resolve(depth, deferred, handler, special) {\n return function() {\n var that = this, args = arguments, mightThrow = function() {\n var returned, then;\n // Support: Promises/A+ section 2.3.3.3.3\n // https://promisesaplus.com/#point-59\n // Ignore double-resolution attempts\n if (depth < maxDepth) return;\n returned = handler.apply(that, args);\n // Support: Promises/A+ section 2.3.1\n // https://promisesaplus.com/#point-48\n if (returned === deferred.promise()) throw new TypeError(\"Thenable self-resolution\");\n // Support: Promises/A+ sections 2.3.3.1, 3.5\n // https://promisesaplus.com/#point-54\n // https://promisesaplus.com/#point-75\n // Retrieve `then` only once\n then = returned && // Support: Promises/A+ section 2.3.4\n // https://promisesaplus.com/#point-64\n // Only check objects and functions for thenability\n (typeof returned === \"object\" || typeof returned === \"function\") && returned.then;\n // Handle a returned thenable\n if (isFunction(then)) {\n // Special processors (notify) just wait for resolution\n if (special) then.call(returned, resolve(maxDepth, deferred, Identity, special), resolve(maxDepth, deferred, Thrower, special));\n else {\n // ...and disregard older resolution values\n maxDepth++;\n then.call(returned, resolve(maxDepth, deferred, Identity, special), resolve(maxDepth, deferred, Thrower, special), resolve(maxDepth, deferred, Identity, deferred.notifyWith));\n }\n } else {\n // Only substitute handlers pass on context\n // and multiple values (non-spec behavior)\n if (handler !== Identity) {\n that = undefined;\n args = [\n returned\n ];\n }\n // Process the value(s)\n // Default process is resolve\n (special || deferred.resolveWith)(that, args);\n }\n }, // Only normal processors (resolve) catch and reject exceptions\n process = special ? mightThrow : function() {\n try {\n mightThrow();\n } catch (e) {\n if (jQuery.Deferred.exceptionHook) jQuery.Deferred.exceptionHook(e, process.error);\n // Support: Promises/A+ section 2.3.3.3.4.1\n // https://promisesaplus.com/#point-61\n // Ignore post-resolution exceptions\n if (depth + 1 >= maxDepth) {\n // Only substitute handlers pass on context\n // and multiple values (non-spec behavior)\n if (handler !== Thrower) {\n that = undefined;\n args = [\n e\n ];\n }\n deferred.rejectWith(that, args);\n }\n }\n };\n // Support: Promises/A+ section 2.3.3.3.1\n // https://promisesaplus.com/#point-57\n // Re-resolve promises immediately to dodge false rejection from\n // subsequent errors\n if (depth) process();\n else {\n // Call an optional hook to record the error, in case of exception\n // since it's otherwise lost when execution goes async\n if (jQuery.Deferred.getErrorHook) process.error = jQuery.Deferred.getErrorHook();\n else if (jQuery.Deferred.getStackHook) process.error = jQuery.Deferred.getStackHook();\n window1.setTimeout(process);\n }\n };\n }\n return jQuery.Deferred(function(newDefer) {\n // progress_handlers.add( ... )\n tuples[0][3].add(resolve(0, newDefer, isFunction(onProgress) ? onProgress : Identity, newDefer.notifyWith));\n // fulfilled_handlers.add( ... )\n tuples[1][3].add(resolve(0, newDefer, isFunction(onFulfilled) ? onFulfilled : Identity));\n // rejected_handlers.add( ... )\n tuples[2][3].add(resolve(0, newDefer, isFunction(onRejected) ? onRejected : Thrower));\n }).promise();\n },\n // Get a promise for this deferred\n // If obj is provided, the promise aspect is added to the object\n promise: function(obj) {\n return obj != null ? jQuery.extend(obj, promise) : promise;\n }\n }, deferred = {};\n // Add list-specific methods\n jQuery.each(tuples, function(i, tuple) {\n var list = tuple[2], stateString = tuple[5];\n // promise.progress = list.add\n // promise.done = list.add\n // promise.fail = list.add\n promise[tuple[1]] = list.add;\n // Handle state\n if (stateString) list.add(function() {\n // state = \"resolved\" (i.e., fulfilled)\n // state = \"rejected\"\n state = stateString;\n }, // rejected_callbacks.disable\n // fulfilled_callbacks.disable\n tuples[3 - i][2].disable, // rejected_handlers.disable\n // fulfilled_handlers.disable\n tuples[3 - i][3].disable, // progress_callbacks.lock\n tuples[0][2].lock, // progress_handlers.lock\n tuples[0][3].lock);\n // progress_handlers.fire\n // fulfilled_handlers.fire\n // rejected_handlers.fire\n list.add(tuple[3].fire);\n // deferred.notify = function() { deferred.notifyWith(...) }\n // deferred.resolve = function() { deferred.resolveWith(...) }\n // deferred.reject = function() { deferred.rejectWith(...) }\n deferred[tuple[0]] = function() {\n deferred[tuple[0] + \"With\"](this === deferred ? undefined : this, arguments);\n return this;\n };\n // deferred.notifyWith = list.fireWith\n // deferred.resolveWith = list.fireWith\n // deferred.rejectWith = list.fireWith\n deferred[tuple[0] + \"With\"] = list.fireWith;\n });\n // Make the deferred a promise\n promise.promise(deferred);\n // Call given func if any\n if (func) func.call(deferred, deferred);\n // All done!\n return deferred;\n },\n // Deferred helper\n when: function(singleValue) {\n var // count of uncompleted subordinates\n remaining = arguments.length, // count of unprocessed arguments\n i = remaining, // subordinate fulfillment data\n resolveContexts = Array(i), resolveValues = slice.call(arguments), // the primary Deferred\n primary = jQuery.Deferred(), // subordinate callback factory\n updateFunc = function(i) {\n return function(value) {\n resolveContexts[i] = this;\n resolveValues[i] = arguments.length > 1 ? slice.call(arguments) : value;\n if (!--remaining) primary.resolveWith(resolveContexts, resolveValues);\n };\n };\n // Single- and empty arguments are adopted like Promise.resolve\n if (remaining <= 1) {\n adoptValue(singleValue, primary.done(updateFunc(i)).resolve, primary.reject, !remaining);\n // Use .then() to unwrap secondary thenables (cf. gh-3000)\n if (primary.state() === \"pending\" || isFunction(resolveValues[i] && resolveValues[i].then)) return primary.then();\n }\n // Multiple arguments are aggregated like Promise.all array elements\n while(i--)adoptValue(resolveValues[i], updateFunc(i), primary.reject);\n return primary.promise();\n }\n });\n // These usually indicate a programmer mistake during development,\n // warn about them ASAP rather than swallowing them by default.\n var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;\n // If `jQuery.Deferred.getErrorHook` is defined, `asyncError` is an error\n // captured before the async barrier to get the original error cause\n // which may otherwise be hidden.\n jQuery.Deferred.exceptionHook = function(error, asyncError) {\n // Support: IE 8 - 9 only\n // Console exists when dev tools are open, which can happen at any time\n if (window1.console && window1.console.warn && error && rerrorNames.test(error.name)) window1.console.warn(\"jQuery.Deferred exception: \" + error.message, error.stack, asyncError);\n };\n jQuery.readyException = function(error) {\n window1.setTimeout(function() {\n throw error;\n });\n };\n // The deferred used on DOM ready\n var readyList = jQuery.Deferred();\n jQuery.fn.ready = function(fn) {\n readyList.then(fn)// Wrap jQuery.readyException in a function so that the lookup\n // happens at the time of error handling instead of callback\n // registration.\n .catch(function(error) {\n jQuery.readyException(error);\n });\n return this;\n };\n jQuery.extend({\n // Is the DOM ready to be used? Set to true once it occurs.\n isReady: false,\n // A counter to track how many items to wait for before\n // the ready event fires. See trac-6781\n readyWait: 1,\n // Handle when the DOM is ready\n ready: function(wait) {\n // Abort if there are pending holds or we're already ready\n if (wait === true ? --jQuery.readyWait : jQuery.isReady) return;\n // Remember that the DOM is ready\n jQuery.isReady = true;\n // If a normal DOM Ready event fired, decrement, and wait if need be\n if (wait !== true && --jQuery.readyWait > 0) return;\n // If there are functions bound, to execute\n readyList.resolveWith(document, [\n jQuery\n ]);\n }\n });\n jQuery.ready.then = readyList.then;\n // The ready event handler and self cleanup method\n function completed() {\n document.removeEventListener(\"DOMContentLoaded\", completed);\n window1.removeEventListener(\"load\", completed);\n jQuery.ready();\n }\n // Catch cases where $(document).ready() is called\n // after the browser event has already occurred.\n // Support: IE <=9 - 10 only\n // Older IE sometimes signals \"interactive\" too soon\n if (document.readyState === \"complete\" || document.readyState !== \"loading\" && !document.documentElement.doScroll) // Handle it asynchronously to allow scripts the opportunity to delay ready\n window1.setTimeout(jQuery.ready);\n else {\n // Use the handy event callback\n document.addEventListener(\"DOMContentLoaded\", completed);\n // A fallback to window.onload, that will always work\n window1.addEventListener(\"load\", completed);\n }\n // Multifunctional method to get and set values of a collection\n // The value/s can optionally be executed if it's a function\n var access = function(elems, fn, key, value, chainable, emptyGet, raw) {\n var i = 0, len = elems.length, bulk = key == null;\n // Sets many values\n if (toType(key) === \"object\") {\n chainable = true;\n for(i in key)access(elems, fn, i, key[i], true, emptyGet, raw);\n // Sets one value\n } else if (value !== undefined) {\n chainable = true;\n if (!isFunction(value)) raw = true;\n if (bulk) {\n // Bulk operations run against the entire set\n if (raw) {\n fn.call(elems, value);\n fn = null;\n // ...except when executing function values\n } else {\n bulk = fn;\n fn = function(elem, _key, value) {\n return bulk.call(jQuery(elem), value);\n };\n }\n }\n if (fn) for(; i < len; i++)fn(elems[i], key, raw ? value : value.call(elems[i], i, fn(elems[i], key)));\n }\n if (chainable) return elems;\n // Gets\n if (bulk) return fn.call(elems);\n return len ? fn(elems[0], key) : emptyGet;\n };\n // Matches dashed string for camelizing\n var rmsPrefix = /^-ms-/, rdashAlpha = /-([a-z])/g;\n // Used by camelCase as callback to replace()\n function fcamelCase(_all, letter) {\n return letter.toUpperCase();\n }\n // Convert dashed to camelCase; used by the css and data modules\n // Support: IE <=9 - 11, Edge 12 - 15\n // Microsoft forgot to hump their vendor prefix (trac-9572)\n function camelCase(string) {\n return string.replace(rmsPrefix, \"ms-\").replace(rdashAlpha, fcamelCase);\n }\n var acceptData = function(owner) {\n // Accepts only:\n // - Node\n // - Node.ELEMENT_NODE\n // - Node.DOCUMENT_NODE\n // - Object\n // - Any\n return owner.nodeType === 1 || owner.nodeType === 9 || !+owner.nodeType;\n };\n function Data() {\n this.expando = jQuery.expando + Data.uid++;\n }\n Data.uid = 1;\n Data.prototype = {\n cache: function(owner) {\n // Check if the owner object already has a cache\n var value = owner[this.expando];\n // If not, create one\n if (!value) {\n value = {};\n // We can accept data for non-element nodes in modern browsers,\n // but we should not, see trac-8335.\n // Always return an empty object.\n if (acceptData(owner)) {\n // If it is a node unlikely to be stringify-ed or looped over\n // use plain assignment\n if (owner.nodeType) owner[this.expando] = value;\n else Object.defineProperty(owner, this.expando, {\n value: value,\n configurable: true\n });\n }\n }\n return value;\n },\n set: function(owner, data, value) {\n var prop, cache = this.cache(owner);\n // Handle: [ owner, key, value ] args\n // Always use camelCase key (gh-2257)\n if (typeof data === \"string\") cache[camelCase(data)] = value;\n else // Copy the properties one-by-one to the cache object\n for(prop in data)cache[camelCase(prop)] = data[prop];\n return cache;\n },\n get: function(owner, key) {\n return key === undefined ? this.cache(owner) : // Always use camelCase key (gh-2257)\n owner[this.expando] && owner[this.expando][camelCase(key)];\n },\n access: function(owner, key, value) {\n // In cases where either:\n //\n // 1. No key was specified\n // 2. A string key was specified, but no value provided\n //\n // Take the \"read\" path and allow the get method to determine\n // which value to return, respectively either:\n //\n // 1. The entire cache object\n // 2. The data stored at the key\n //\n if (key === undefined || key && typeof key === \"string\" && value === undefined) return this.get(owner, key);\n // When the key is not a string, or both a key and value\n // are specified, set or extend (existing objects) with either:\n //\n // 1. An object of properties\n // 2. A key and value\n //\n this.set(owner, key, value);\n // Since the \"set\" path can have two possible entry points\n // return the expected data based on which path was taken[*]\n return value !== undefined ? value : key;\n },\n remove: function(owner, key) {\n var i, cache = owner[this.expando];\n if (cache === undefined) return;\n if (key !== undefined) {\n // Support array or space separated string of keys\n if (Array.isArray(key)) // If key is an array of keys...\n // We always set camelCase keys, so remove that.\n key = key.map(camelCase);\n else {\n key = camelCase(key);\n // If a key with the spaces exists, use it.\n // Otherwise, create an array by matching non-whitespace\n key = key in cache ? [\n key\n ] : key.match(rnothtmlwhite) || [];\n }\n i = key.length;\n while(i--)delete cache[key[i]];\n }\n // Remove the expando if there's no more data\n if (key === undefined || jQuery.isEmptyObject(cache)) {\n // Support: Chrome <=35 - 45\n // Webkit & Blink performance suffers when deleting properties\n // from DOM nodes, so set to undefined instead\n // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted)\n if (owner.nodeType) owner[this.expando] = undefined;\n else delete owner[this.expando];\n }\n },\n hasData: function(owner) {\n var cache = owner[this.expando];\n return cache !== undefined && !jQuery.isEmptyObject(cache);\n }\n };\n var dataPriv = new Data();\n var dataUser = new Data();\n //\tImplementation Summary\n //\n //\t1. Enforce API surface and semantic compatibility with 1.9.x branch\n //\t2. Improve the module's maintainability by reducing the storage\n //\t\tpaths to a single mechanism.\n //\t3. Use the same single mechanism to support \"private\" and \"user\" data.\n //\t4. _Never_ expose \"private\" data to user code (TODO: Drop _data, _removeData)\n //\t5. Avoid exposing implementation details on user objects (eg. expando properties)\n //\t6. Provide a clear path for implementation upgrade to WeakMap in 2014\n var rbrace = /^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$/, rmultiDash = /[A-Z]/g;\n function getData(data) {\n if (data === \"true\") return true;\n if (data === \"false\") return false;\n if (data === \"null\") return null;\n // Only convert to a number if it doesn't change the string\n if (data === +data + \"\") return +data;\n if (rbrace.test(data)) return JSON.parse(data);\n return data;\n }\n function dataAttr(elem, key, data) {\n var name;\n // If nothing was found internally, try to fetch any\n // data from the HTML5 data-* attribute\n if (data === undefined && elem.nodeType === 1) {\n name = \"data-\" + key.replace(rmultiDash, \"-$&\").toLowerCase();\n data = elem.getAttribute(name);\n if (typeof data === \"string\") {\n try {\n data = getData(data);\n } catch (e) {}\n // Make sure we set the data so it isn't changed later\n dataUser.set(elem, key, data);\n } else data = undefined;\n }\n return data;\n }\n jQuery.extend({\n hasData: function(elem) {\n return dataUser.hasData(elem) || dataPriv.hasData(elem);\n },\n data: function(elem, name, data) {\n return dataUser.access(elem, name, data);\n },\n removeData: function(elem, name) {\n dataUser.remove(elem, name);\n },\n // TODO: Now that all calls to _data and _removeData have been replaced\n // with direct calls to dataPriv methods, these can be deprecated.\n _data: function(elem, name, data) {\n return dataPriv.access(elem, name, data);\n },\n _removeData: function(elem, name) {\n dataPriv.remove(elem, name);\n }\n });\n jQuery.fn.extend({\n data: function(key, value) {\n var i, name, data, elem = this[0], attrs = elem && elem.attributes;\n // Gets all values\n if (key === undefined) {\n if (this.length) {\n data = dataUser.get(elem);\n if (elem.nodeType === 1 && !dataPriv.get(elem, \"hasDataAttrs\")) {\n i = attrs.length;\n while(i--)// Support: IE 11 only\n // The attrs elements can be null (trac-14894)\n if (attrs[i]) {\n name = attrs[i].name;\n if (name.indexOf(\"data-\") === 0) {\n name = camelCase(name.slice(5));\n dataAttr(elem, name, data[name]);\n }\n }\n dataPriv.set(elem, \"hasDataAttrs\", true);\n }\n }\n return data;\n }\n // Sets multiple values\n if (typeof key === \"object\") return this.each(function() {\n dataUser.set(this, key);\n });\n return access(this, function(value) {\n var data;\n // The calling jQuery object (element matches) is not empty\n // (and therefore has an element appears at this[ 0 ]) and the\n // `value` parameter was not undefined. An empty jQuery object\n // will result in `undefined` for elem = this[ 0 ] which will\n // throw an exception if an attempt to read a data cache is made.\n if (elem && value === undefined) {\n // Attempt to get data from the cache\n // The key will always be camelCased in Data\n data = dataUser.get(elem, key);\n if (data !== undefined) return data;\n // Attempt to \"discover\" the data in\n // HTML5 custom data-* attrs\n data = dataAttr(elem, key);\n if (data !== undefined) return data;\n // We tried really hard, but the data doesn't exist.\n return;\n }\n // Set the data...\n this.each(function() {\n // We always store the camelCased key\n dataUser.set(this, key, value);\n });\n }, null, value, arguments.length > 1, null, true);\n },\n removeData: function(key) {\n return this.each(function() {\n dataUser.remove(this, key);\n });\n }\n });\n jQuery.extend({\n queue: function(elem, type, data) {\n var queue;\n if (elem) {\n type = (type || \"fx\") + \"queue\";\n queue = dataPriv.get(elem, type);\n // Speed up dequeue by getting out quickly if this is just a lookup\n if (data) {\n if (!queue || Array.isArray(data)) queue = dataPriv.access(elem, type, jQuery.makeArray(data));\n else queue.push(data);\n }\n return queue || [];\n }\n },\n dequeue: function(elem, type) {\n type = type || \"fx\";\n var queue = jQuery.queue(elem, type), startLength = queue.length, fn = queue.shift(), hooks = jQuery._queueHooks(elem, type), next = function() {\n jQuery.dequeue(elem, type);\n };\n // If the fx queue is dequeued, always remove the progress sentinel\n if (fn === \"inprogress\") {\n fn = queue.shift();\n startLength--;\n }\n if (fn) {\n // Add a progress sentinel to prevent the fx queue from being\n // automatically dequeued\n if (type === \"fx\") queue.unshift(\"inprogress\");\n // Clear up the last queue stop function\n delete hooks.stop;\n fn.call(elem, next, hooks);\n }\n if (!startLength && hooks) hooks.empty.fire();\n },\n // Not public - generate a queueHooks object, or return the current one\n _queueHooks: function(elem, type) {\n var key = type + \"queueHooks\";\n return dataPriv.get(elem, key) || dataPriv.access(elem, key, {\n empty: jQuery.Callbacks(\"once memory\").add(function() {\n dataPriv.remove(elem, [\n type + \"queue\",\n key\n ]);\n })\n });\n }\n });\n jQuery.fn.extend({\n queue: function(type, data) {\n var setter = 2;\n if (typeof type !== \"string\") {\n data = type;\n type = \"fx\";\n setter--;\n }\n if (arguments.length < setter) return jQuery.queue(this[0], type);\n return data === undefined ? this : this.each(function() {\n var queue = jQuery.queue(this, type, data);\n // Ensure a hooks for this queue\n jQuery._queueHooks(this, type);\n if (type === \"fx\" && queue[0] !== \"inprogress\") jQuery.dequeue(this, type);\n });\n },\n dequeue: function(type) {\n return this.each(function() {\n jQuery.dequeue(this, type);\n });\n },\n clearQueue: function(type) {\n return this.queue(type || \"fx\", []);\n },\n // Get a promise resolved when queues of a certain type\n // are emptied (fx is the type by default)\n promise: function(type, obj) {\n var tmp, count = 1, defer = jQuery.Deferred(), elements = this, i = this.length, resolve = function() {\n if (!--count) defer.resolveWith(elements, [\n elements\n ]);\n };\n if (typeof type !== \"string\") {\n obj = type;\n type = undefined;\n }\n type = type || \"fx\";\n while(i--){\n tmp = dataPriv.get(elements[i], type + \"queueHooks\");\n if (tmp && tmp.empty) {\n count++;\n tmp.empty.add(resolve);\n }\n }\n resolve();\n return defer.promise(obj);\n }\n });\n var pnum = /[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/.source;\n var rcssNum = new RegExp(\"^(?:([+-])=|)(\" + pnum + \")([a-z%]*)$\", \"i\");\n var cssExpand = [\n \"Top\",\n \"Right\",\n \"Bottom\",\n \"Left\"\n ];\n var documentElement = document.documentElement;\n var isAttached = function(elem) {\n return jQuery.contains(elem.ownerDocument, elem);\n }, composed = {\n composed: true\n };\n // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only\n // Check attachment across shadow DOM boundaries when possible (gh-3504)\n // Support: iOS 10.0-10.2 only\n // Early iOS 10 versions support `attachShadow` but not `getRootNode`,\n // leading to errors. We need to check for `getRootNode`.\n if (documentElement.getRootNode) isAttached = function(elem) {\n return jQuery.contains(elem.ownerDocument, elem) || elem.getRootNode(composed) === elem.ownerDocument;\n };\n var isHiddenWithinTree = function(elem, el) {\n // isHiddenWithinTree might be called from jQuery#filter function;\n // in that case, element will be second argument\n elem = el || elem;\n // Inline style trumps all\n return elem.style.display === \"none\" || elem.style.display === \"\" && // Otherwise, check computed style\n // Support: Firefox <=43 - 45\n // Disconnected elements can have computed display: none, so first confirm that elem is\n // in the document.\n isAttached(elem) && jQuery.css(elem, \"display\") === \"none\";\n };\n function adjustCSS(elem, prop, valueParts, tween) {\n var adjusted, scale, maxIterations = 20, currentValue = tween ? function() {\n return tween.cur();\n } : function() {\n return jQuery.css(elem, prop, \"\");\n }, initial = currentValue(), unit = valueParts && valueParts[3] || (jQuery.cssNumber[prop] ? \"\" : \"px\"), // Starting value computation is required for potential unit mismatches\n initialInUnit = elem.nodeType && (jQuery.cssNumber[prop] || unit !== \"px\" && +initial) && rcssNum.exec(jQuery.css(elem, prop));\n if (initialInUnit && initialInUnit[3] !== unit) {\n // Support: Firefox <=54\n // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144)\n initial = initial / 2;\n // Trust units reported by jQuery.css\n unit = unit || initialInUnit[3];\n // Iteratively approximate from a nonzero starting point\n initialInUnit = +initial || 1;\n while(maxIterations--){\n // Evaluate and update our best guess (doubling guesses that zero out).\n // Finish if the scale equals or crosses 1 (making the old*new product non-positive).\n jQuery.style(elem, prop, initialInUnit + unit);\n if ((1 - scale) * (1 - (scale = currentValue() / initial || 0.5)) <= 0) maxIterations = 0;\n initialInUnit = initialInUnit / scale;\n }\n initialInUnit = initialInUnit * 2;\n jQuery.style(elem, prop, initialInUnit + unit);\n // Make sure we update the tween properties later on\n valueParts = valueParts || [];\n }\n if (valueParts) {\n initialInUnit = +initialInUnit || +initial || 0;\n // Apply relative offset (+=/-=) if specified\n adjusted = valueParts[1] ? initialInUnit + (valueParts[1] + 1) * valueParts[2] : +valueParts[2];\n if (tween) {\n tween.unit = unit;\n tween.start = initialInUnit;\n tween.end = adjusted;\n }\n }\n return adjusted;\n }\n var defaultDisplayMap = {};\n function getDefaultDisplay(elem) {\n var temp, doc = elem.ownerDocument, nodeName = elem.nodeName, display = defaultDisplayMap[nodeName];\n if (display) return display;\n temp = doc.body.appendChild(doc.createElement(nodeName));\n display = jQuery.css(temp, \"display\");\n temp.parentNode.removeChild(temp);\n if (display === \"none\") display = \"block\";\n defaultDisplayMap[nodeName] = display;\n return display;\n }\n function showHide(elements, show) {\n var display, elem, values = [], index = 0, length = elements.length;\n // Determine new display value for elements that need to change\n for(; index < length; index++){\n elem = elements[index];\n if (!elem.style) continue;\n display = elem.style.display;\n if (show) {\n // Since we force visibility upon cascade-hidden elements, an immediate (and slow)\n // check is required in this first loop unless we have a nonempty display value (either\n // inline or about-to-be-restored)\n if (display === \"none\") {\n values[index] = dataPriv.get(elem, \"display\") || null;\n if (!values[index]) elem.style.display = \"\";\n }\n if (elem.style.display === \"\" && isHiddenWithinTree(elem)) values[index] = getDefaultDisplay(elem);\n } else if (display !== \"none\") {\n values[index] = \"none\";\n // Remember what we're overwriting\n dataPriv.set(elem, \"display\", display);\n }\n }\n // Set the display of the elements in a second loop to avoid constant reflow\n for(index = 0; index < length; index++)if (values[index] != null) elements[index].style.display = values[index];\n return elements;\n }\n jQuery.fn.extend({\n show: function() {\n return showHide(this, true);\n },\n hide: function() {\n return showHide(this);\n },\n toggle: function(state) {\n if (typeof state === \"boolean\") return state ? this.show() : this.hide();\n return this.each(function() {\n if (isHiddenWithinTree(this)) jQuery(this).show();\n else jQuery(this).hide();\n });\n }\n });\n var rcheckableType = /^(?:checkbox|radio)$/i;\n var rtagName = /<([a-z][^\\/\\0>\\x20\\t\\r\\n\\f]*)/i;\n var rscriptType = /^$|^module$|\\/(?:java|ecma)script/i;\n (function() {\n var fragment = document.createDocumentFragment(), div = fragment.appendChild(document.createElement(\"div\")), input = document.createElement(\"input\");\n // Support: Android 4.0 - 4.3 only\n // Check state lost if the name is set (trac-11217)\n // Support: Windows Web Apps (WWA)\n // `name` and `type` must use .setAttribute for WWA (trac-14901)\n input.setAttribute(\"type\", \"radio\");\n input.setAttribute(\"checked\", \"checked\");\n input.setAttribute(\"name\", \"t\");\n div.appendChild(input);\n // Support: Android <=4.1 only\n // Older WebKit doesn't clone checked state correctly in fragments\n support.checkClone = div.cloneNode(true).cloneNode(true).lastChild.checked;\n // Support: IE <=11 only\n // Make sure textarea (and checkbox) defaultValue is properly cloned\n div.innerHTML = \"\";\n support.noCloneChecked = !!div.cloneNode(true).lastChild.defaultValue;\n // Support: IE <=9 only\n // IE <=9 replaces \";\n support.option = !!div.lastChild;\n })();\n // We have to close these tags to support XHTML (trac-13200)\n var wrapMap = {\n // XHTML parsers do not magically insert elements in the\n // same way that tag soup parsers do. So we cannot shorten\n // this by omitting or other required elements.\n thead: [\n 1,\n \"\",\n \"
\"\n ],\n col: [\n 2,\n \"\",\n \"
\"\n ],\n tr: [\n 2,\n \"\",\n \"
\"\n ],\n td: [\n 3,\n \"\",\n \"
\"\n ],\n _default: [\n 0,\n \"\",\n \"\"\n ]\n };\n wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;\n wrapMap.th = wrapMap.td;\n // Support: IE <=9 only\n if (!support.option) wrapMap.optgroup = wrapMap.option = [\n 1,\n \"\"\n ];\n function getAll(context, tag) {\n // Support: IE <=9 - 11 only\n // Use typeof to avoid zero-argument method invocation on host objects (trac-15151)\n var ret;\n if (typeof context.getElementsByTagName !== \"undefined\") ret = context.getElementsByTagName(tag || \"*\");\n else if (typeof context.querySelectorAll !== \"undefined\") ret = context.querySelectorAll(tag || \"*\");\n else ret = [];\n if (tag === undefined || tag && nodeName(context, tag)) return jQuery.merge([\n context\n ], ret);\n return ret;\n }\n // Mark scripts as having already been evaluated\n function setGlobalEval(elems, refElements) {\n var i = 0, l = elems.length;\n for(; i < l; i++)dataPriv.set(elems[i], \"globalEval\", !refElements || dataPriv.get(refElements[i], \"globalEval\"));\n }\n var rhtml = /<|&#?\\w+;/;\n function buildFragment(elems, context, scripts, selection, ignored) {\n var elem, tmp, tag, wrap, attached, j, fragment = context.createDocumentFragment(), nodes = [], i = 0, l = elems.length;\n for(; i < l; i++){\n elem = elems[i];\n if (elem || elem === 0) {\n // Add nodes directly\n if (toType(elem) === \"object\") // Support: Android <=4.0 only, PhantomJS 1 only\n // push.apply(_, arraylike) throws on ancient WebKit\n jQuery.merge(nodes, elem.nodeType ? [\n elem\n ] : elem);\n else if (!rhtml.test(elem)) nodes.push(context.createTextNode(elem));\n else {\n tmp = tmp || fragment.appendChild(context.createElement(\"div\"));\n // Deserialize a standard representation\n tag = (rtagName.exec(elem) || [\n \"\",\n \"\"\n ])[1].toLowerCase();\n wrap = wrapMap[tag] || wrapMap._default;\n tmp.innerHTML = wrap[1] + jQuery.htmlPrefilter(elem) + wrap[2];\n // Descend through wrappers to the right content\n j = wrap[0];\n while(j--)tmp = tmp.lastChild;\n // Support: Android <=4.0 only, PhantomJS 1 only\n // push.apply(_, arraylike) throws on ancient WebKit\n jQuery.merge(nodes, tmp.childNodes);\n // Remember the top-level container\n tmp = fragment.firstChild;\n // Ensure the created nodes are orphaned (trac-12392)\n tmp.textContent = \"\";\n }\n }\n }\n // Remove wrapper from fragment\n fragment.textContent = \"\";\n i = 0;\n while(elem = nodes[i++]){\n // Skip elements already in the context collection (trac-4087)\n if (selection && jQuery.inArray(elem, selection) > -1) {\n if (ignored) ignored.push(elem);\n continue;\n }\n attached = isAttached(elem);\n // Append to fragment\n tmp = getAll(fragment.appendChild(elem), \"script\");\n // Preserve script evaluation history\n if (attached) setGlobalEval(tmp);\n // Capture executables\n if (scripts) {\n j = 0;\n while(elem = tmp[j++])if (rscriptType.test(elem.type || \"\")) scripts.push(elem);\n }\n }\n return fragment;\n }\n var rtypenamespace = /^([^.]*)(?:\\.(.+)|)/;\n function returnTrue() {\n return true;\n }\n function returnFalse() {\n return false;\n }\n function on(elem, types, selector, data, fn, one) {\n var origFn, type;\n // Types can be a map of types/handlers\n if (typeof types === \"object\") {\n // ( types-Object, selector, data )\n if (typeof selector !== \"string\") {\n // ( types-Object, data )\n data = data || selector;\n selector = undefined;\n }\n for(type in types)on(elem, type, selector, data, types[type], one);\n return elem;\n }\n if (data == null && fn == null) {\n // ( types, fn )\n fn = selector;\n data = selector = undefined;\n } else if (fn == null) {\n if (typeof selector === \"string\") {\n // ( types, selector, fn )\n fn = data;\n data = undefined;\n } else {\n // ( types, data, fn )\n fn = data;\n data = selector;\n selector = undefined;\n }\n }\n if (fn === false) fn = returnFalse;\n else if (!fn) return elem;\n if (one === 1) {\n origFn = fn;\n fn = function(event) {\n // Can use an empty set, since event contains the info\n jQuery().off(event);\n return origFn.apply(this, arguments);\n };\n // Use same guid so caller can remove using origFn\n fn.guid = origFn.guid || (origFn.guid = jQuery.guid++);\n }\n return elem.each(function() {\n jQuery.event.add(this, types, fn, data, selector);\n });\n }\n /*\n * Helper functions for managing events -- not part of the public interface.\n * Props to Dean Edwards' addEvent library for many of the ideas.\n */ jQuery.event = {\n global: {},\n add: function(elem, types, handler, data, selector) {\n var handleObjIn, eventHandle, tmp, events, t, handleObj, special, handlers, type, namespaces, origType, elemData = dataPriv.get(elem);\n // Only attach events to objects that accept data\n if (!acceptData(elem)) return;\n // Caller can pass in an object of custom data in lieu of the handler\n if (handler.handler) {\n handleObjIn = handler;\n handler = handleObjIn.handler;\n selector = handleObjIn.selector;\n }\n // Ensure that invalid selectors throw exceptions at attach time\n // Evaluate against documentElement in case elem is a non-element node (e.g., document)\n if (selector) jQuery.find.matchesSelector(documentElement, selector);\n // Make sure that the handler has a unique ID, used to find/remove it later\n if (!handler.guid) handler.guid = jQuery.guid++;\n // Init the element's event structure and main handler, if this is the first\n if (!(events = elemData.events)) events = elemData.events = Object.create(null);\n if (!(eventHandle = elemData.handle)) eventHandle = elemData.handle = function(e) {\n // Discard the second event of a jQuery.event.trigger() and\n // when an event is called after a page has unloaded\n return typeof jQuery !== \"undefined\" && jQuery.event.triggered !== e.type ? jQuery.event.dispatch.apply(elem, arguments) : undefined;\n };\n // Handle multiple events separated by a space\n types = (types || \"\").match(rnothtmlwhite) || [\n \"\"\n ];\n t = types.length;\n while(t--){\n tmp = rtypenamespace.exec(types[t]) || [];\n type = origType = tmp[1];\n namespaces = (tmp[2] || \"\").split(\".\").sort();\n // There *must* be a type, no attaching namespace-only handlers\n if (!type) continue;\n // If event changes its type, use the special event handlers for the changed type\n special = jQuery.event.special[type] || {};\n // If selector defined, determine special event api type, otherwise given type\n type = (selector ? special.delegateType : special.bindType) || type;\n // Update special based on newly reset type\n special = jQuery.event.special[type] || {};\n // handleObj is passed to all event handlers\n handleObj = jQuery.extend({\n type: type,\n origType: origType,\n data: data,\n handler: handler,\n guid: handler.guid,\n selector: selector,\n needsContext: selector && jQuery.expr.match.needsContext.test(selector),\n namespace: namespaces.join(\".\")\n }, handleObjIn);\n // Init the event handler queue if we're the first\n if (!(handlers = events[type])) {\n handlers = events[type] = [];\n handlers.delegateCount = 0;\n // Only use addEventListener if the special events handler returns false\n if (!special.setup || special.setup.call(elem, data, namespaces, eventHandle) === false) {\n if (elem.addEventListener) elem.addEventListener(type, eventHandle);\n }\n }\n if (special.add) {\n special.add.call(elem, handleObj);\n if (!handleObj.handler.guid) handleObj.handler.guid = handler.guid;\n }\n // Add to the element's handler list, delegates in front\n if (selector) handlers.splice(handlers.delegateCount++, 0, handleObj);\n else handlers.push(handleObj);\n // Keep track of which events have ever been used, for event optimization\n jQuery.event.global[type] = true;\n }\n },\n // Detach an event or set of events from an element\n remove: function(elem, types, handler, selector, mappedTypes) {\n var j, origCount, tmp, events, t, handleObj, special, handlers, type, namespaces, origType, elemData = dataPriv.hasData(elem) && dataPriv.get(elem);\n if (!elemData || !(events = elemData.events)) return;\n // Once for each type.namespace in types; type may be omitted\n types = (types || \"\").match(rnothtmlwhite) || [\n \"\"\n ];\n t = types.length;\n while(t--){\n tmp = rtypenamespace.exec(types[t]) || [];\n type = origType = tmp[1];\n namespaces = (tmp[2] || \"\").split(\".\").sort();\n // Unbind all events (on this namespace, if provided) for the element\n if (!type) {\n for(type in events)jQuery.event.remove(elem, type + types[t], handler, selector, true);\n continue;\n }\n special = jQuery.event.special[type] || {};\n type = (selector ? special.delegateType : special.bindType) || type;\n handlers = events[type] || [];\n tmp = tmp[2] && new RegExp(\"(^|\\\\.)\" + namespaces.join(\"\\\\.(?:.*\\\\.|)\") + \"(\\\\.|$)\");\n // Remove matching events\n origCount = j = handlers.length;\n while(j--){\n handleObj = handlers[j];\n if ((mappedTypes || origType === handleObj.origType) && (!handler || handler.guid === handleObj.guid) && (!tmp || tmp.test(handleObj.namespace)) && (!selector || selector === handleObj.selector || selector === \"**\" && handleObj.selector)) {\n handlers.splice(j, 1);\n if (handleObj.selector) handlers.delegateCount--;\n if (special.remove) special.remove.call(elem, handleObj);\n }\n }\n // Remove generic event handler if we removed something and no more handlers exist\n // (avoids potential for endless recursion during removal of special event handlers)\n if (origCount && !handlers.length) {\n if (!special.teardown || special.teardown.call(elem, namespaces, elemData.handle) === false) jQuery.removeEvent(elem, type, elemData.handle);\n delete events[type];\n }\n }\n // Remove data and the expando if it's no longer used\n if (jQuery.isEmptyObject(events)) dataPriv.remove(elem, \"handle events\");\n },\n dispatch: function(nativeEvent) {\n var i, j, ret, matched, handleObj, handlerQueue, args = new Array(arguments.length), // Make a writable jQuery.Event from the native event object\n event = jQuery.event.fix(nativeEvent), handlers = (dataPriv.get(this, \"events\") || Object.create(null))[event.type] || [], special = jQuery.event.special[event.type] || {};\n // Use the fix-ed jQuery.Event rather than the (read-only) native event\n args[0] = event;\n for(i = 1; i < arguments.length; i++)args[i] = arguments[i];\n event.delegateTarget = this;\n // Call the preDispatch hook for the mapped type, and let it bail if desired\n if (special.preDispatch && special.preDispatch.call(this, event) === false) return;\n // Determine handlers\n handlerQueue = jQuery.event.handlers.call(this, event, handlers);\n // Run delegates first; they may want to stop propagation beneath us\n i = 0;\n while((matched = handlerQueue[i++]) && !event.isPropagationStopped()){\n event.currentTarget = matched.elem;\n j = 0;\n while((handleObj = matched.handlers[j++]) && !event.isImmediatePropagationStopped())// If the event is namespaced, then each handler is only invoked if it is\n // specially universal or its namespaces are a superset of the event's.\n if (!event.rnamespace || handleObj.namespace === false || event.rnamespace.test(handleObj.namespace)) {\n event.handleObj = handleObj;\n event.data = handleObj.data;\n ret = ((jQuery.event.special[handleObj.origType] || {}).handle || handleObj.handler).apply(matched.elem, args);\n if (ret !== undefined) {\n if ((event.result = ret) === false) {\n event.preventDefault();\n event.stopPropagation();\n }\n }\n }\n }\n // Call the postDispatch hook for the mapped type\n if (special.postDispatch) special.postDispatch.call(this, event);\n return event.result;\n },\n handlers: function(event, handlers) {\n var i, handleObj, sel, matchedHandlers, matchedSelectors, handlerQueue = [], delegateCount = handlers.delegateCount, cur = event.target;\n // Find delegate handlers\n if (delegateCount && // Support: IE <=9\n // Black-hole SVG instance trees (trac-13180)\n cur.nodeType && // Support: Firefox <=42\n // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861)\n // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click\n // Support: IE 11 only\n // ...but not arrow key \"clicks\" of radio inputs, which can have `button` -1 (gh-2343)\n !(event.type === \"click\" && event.button >= 1)) {\n for(; cur !== this; cur = cur.parentNode || this)// Don't check non-elements (trac-13208)\n // Don't process clicks on disabled elements (trac-6911, trac-8165, trac-11382, trac-11764)\n if (cur.nodeType === 1 && !(event.type === \"click\" && cur.disabled === true)) {\n matchedHandlers = [];\n matchedSelectors = {};\n for(i = 0; i < delegateCount; i++){\n handleObj = handlers[i];\n // Don't conflict with Object.prototype properties (trac-13203)\n sel = handleObj.selector + \" \";\n if (matchedSelectors[sel] === undefined) matchedSelectors[sel] = handleObj.needsContext ? jQuery(sel, this).index(cur) > -1 : jQuery.find(sel, this, null, [\n cur\n ]).length;\n if (matchedSelectors[sel]) matchedHandlers.push(handleObj);\n }\n if (matchedHandlers.length) handlerQueue.push({\n elem: cur,\n handlers: matchedHandlers\n });\n }\n }\n // Add the remaining (directly-bound) handlers\n cur = this;\n if (delegateCount < handlers.length) handlerQueue.push({\n elem: cur,\n handlers: handlers.slice(delegateCount)\n });\n return handlerQueue;\n },\n addProp: function(name, hook) {\n Object.defineProperty(jQuery.Event.prototype, name, {\n enumerable: true,\n configurable: true,\n get: isFunction(hook) ? function() {\n if (this.originalEvent) return hook(this.originalEvent);\n } : function() {\n if (this.originalEvent) return this.originalEvent[name];\n },\n set: function(value) {\n Object.defineProperty(this, name, {\n enumerable: true,\n configurable: true,\n writable: true,\n value: value\n });\n }\n });\n },\n fix: function(originalEvent) {\n return originalEvent[jQuery.expando] ? originalEvent : new jQuery.Event(originalEvent);\n },\n special: {\n load: {\n // Prevent triggered image.load events from bubbling to window.load\n noBubble: true\n },\n click: {\n // Utilize native event to ensure correct state for checkable inputs\n setup: function(data) {\n // For mutual compressibility with _default, replace `this` access with a local var.\n // `|| data` is dead code meant only to preserve the variable through minification.\n var el = this || data;\n // Claim the first handler\n if (rcheckableType.test(el.type) && el.click && nodeName(el, \"input\")) // dataPriv.set( el, \"click\", ... )\n leverageNative(el, \"click\", true);\n // Return false to allow normal processing in the caller\n return false;\n },\n trigger: function(data) {\n // For mutual compressibility with _default, replace `this` access with a local var.\n // `|| data` is dead code meant only to preserve the variable through minification.\n var el = this || data;\n // Force setup before triggering a click\n if (rcheckableType.test(el.type) && el.click && nodeName(el, \"input\")) leverageNative(el, \"click\");\n // Return non-false to allow normal event-path propagation\n return true;\n },\n // For cross-browser consistency, suppress native .click() on links\n // Also prevent it if we're currently inside a leveraged native-event stack\n _default: function(event) {\n var target = event.target;\n return rcheckableType.test(target.type) && target.click && nodeName(target, \"input\") && dataPriv.get(target, \"click\") || nodeName(target, \"a\");\n }\n },\n beforeunload: {\n postDispatch: function(event) {\n // Support: Firefox 20+\n // Firefox doesn't alert if the returnValue field is not set.\n if (event.result !== undefined && event.originalEvent) event.originalEvent.returnValue = event.result;\n }\n }\n }\n };\n // Ensure the presence of an event listener that handles manually-triggered\n // synthetic events by interrupting progress until reinvoked in response to\n // *native* events that it fires directly, ensuring that state changes have\n // already occurred before other listeners are invoked.\n function leverageNative(el, type, isSetup) {\n // Missing `isSetup` indicates a trigger call, which must force setup through jQuery.event.add\n if (!isSetup) {\n if (dataPriv.get(el, type) === undefined) jQuery.event.add(el, type, returnTrue);\n return;\n }\n // Register the controller as a special universal handler for all event namespaces\n dataPriv.set(el, type, false);\n jQuery.event.add(el, type, {\n namespace: false,\n handler: function(event) {\n var result, saved = dataPriv.get(this, type);\n if (event.isTrigger & 1 && this[type]) {\n // Interrupt processing of the outer synthetic .trigger()ed event\n if (!saved) {\n // Store arguments for use when handling the inner native event\n // There will always be at least one argument (an event object), so this array\n // will not be confused with a leftover capture object.\n saved = slice.call(arguments);\n dataPriv.set(this, type, saved);\n // Trigger the native event and capture its result\n this[type]();\n result = dataPriv.get(this, type);\n dataPriv.set(this, type, false);\n if (saved !== result) {\n // Cancel the outer synthetic event\n event.stopImmediatePropagation();\n event.preventDefault();\n return result;\n }\n // If this is an inner synthetic event for an event with a bubbling surrogate\n // (focus or blur), assume that the surrogate already propagated from triggering\n // the native event and prevent that from happening again here.\n // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the\n // bubbling surrogate propagates *after* the non-bubbling base), but that seems\n // less bad than duplication.\n } else if ((jQuery.event.special[type] || {}).delegateType) event.stopPropagation();\n // If this is a native event triggered above, everything is now in order\n // Fire an inner synthetic event with the original arguments\n } else if (saved) {\n // ...and capture the result\n dataPriv.set(this, type, jQuery.event.trigger(saved[0], saved.slice(1), this));\n // Abort handling of the native event by all jQuery handlers while allowing\n // native handlers on the same element to run. On target, this is achieved\n // by stopping immediate propagation just on the jQuery event. However,\n // the native event is re-wrapped by a jQuery one on each level of the\n // propagation so the only way to stop it for jQuery is to stop it for\n // everyone via native `stopPropagation()`. This is not a problem for\n // focus/blur which don't bubble, but it does also stop click on checkboxes\n // and radios. We accept this limitation.\n event.stopPropagation();\n event.isImmediatePropagationStopped = returnTrue;\n }\n }\n });\n }\n jQuery.removeEvent = function(elem, type, handle) {\n // This \"if\" is needed for plain objects\n if (elem.removeEventListener) elem.removeEventListener(type, handle);\n };\n jQuery.Event = function(src, props) {\n // Allow instantiation without the 'new' keyword\n if (!(this instanceof jQuery.Event)) return new jQuery.Event(src, props);\n // Event object\n if (src && src.type) {\n this.originalEvent = src;\n this.type = src.type;\n // Events bubbling up the document may have been marked as prevented\n // by a handler lower down the tree; reflect the correct value.\n this.isDefaultPrevented = src.defaultPrevented || src.defaultPrevented === undefined && // Support: Android <=2.3 only\n src.returnValue === false ? returnTrue : returnFalse;\n // Create target properties\n // Support: Safari <=6 - 7 only\n // Target should not be a text node (trac-504, trac-13143)\n this.target = src.target && src.target.nodeType === 3 ? src.target.parentNode : src.target;\n this.currentTarget = src.currentTarget;\n this.relatedTarget = src.relatedTarget;\n // Event type\n } else this.type = src;\n // Put explicitly provided properties onto the event object\n if (props) jQuery.extend(this, props);\n // Create a timestamp if incoming event doesn't have one\n this.timeStamp = src && src.timeStamp || Date.now();\n // Mark it as fixed\n this[jQuery.expando] = true;\n };\n // jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding\n // https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html\n jQuery.Event.prototype = {\n constructor: jQuery.Event,\n isDefaultPrevented: returnFalse,\n isPropagationStopped: returnFalse,\n isImmediatePropagationStopped: returnFalse,\n isSimulated: false,\n preventDefault: function() {\n var e = this.originalEvent;\n this.isDefaultPrevented = returnTrue;\n if (e && !this.isSimulated) e.preventDefault();\n },\n stopPropagation: function() {\n var e = this.originalEvent;\n this.isPropagationStopped = returnTrue;\n if (e && !this.isSimulated) e.stopPropagation();\n },\n stopImmediatePropagation: function() {\n var e = this.originalEvent;\n this.isImmediatePropagationStopped = returnTrue;\n if (e && !this.isSimulated) e.stopImmediatePropagation();\n this.stopPropagation();\n }\n };\n // Includes all common event props including KeyEvent and MouseEvent specific props\n jQuery.each({\n altKey: true,\n bubbles: true,\n cancelable: true,\n changedTouches: true,\n ctrlKey: true,\n detail: true,\n eventPhase: true,\n metaKey: true,\n pageX: true,\n pageY: true,\n shiftKey: true,\n view: true,\n \"char\": true,\n code: true,\n charCode: true,\n key: true,\n keyCode: true,\n button: true,\n buttons: true,\n clientX: true,\n clientY: true,\n offsetX: true,\n offsetY: true,\n pointerId: true,\n pointerType: true,\n screenX: true,\n screenY: true,\n targetTouches: true,\n toElement: true,\n touches: true,\n which: true\n }, jQuery.event.addProp);\n jQuery.each({\n focus: \"focusin\",\n blur: \"focusout\"\n }, function(type, delegateType) {\n function focusMappedHandler(nativeEvent) {\n if (document.documentMode) {\n // Support: IE 11+\n // Attach a single focusin/focusout handler on the document while someone wants\n // focus/blur. This is because the former are synchronous in IE while the latter\n // are async. In other browsers, all those handlers are invoked synchronously.\n // `handle` from private data would already wrap the event, but we need\n // to change the `type` here.\n var handle = dataPriv.get(this, \"handle\"), event = jQuery.event.fix(nativeEvent);\n event.type = nativeEvent.type === \"focusin\" ? \"focus\" : \"blur\";\n event.isSimulated = true;\n // First, handle focusin/focusout\n handle(nativeEvent);\n // ...then, handle focus/blur\n //\n // focus/blur don't bubble while focusin/focusout do; simulate the former by only\n // invoking the handler at the lower level.\n if (event.target === event.currentTarget) // The setup part calls `leverageNative`, which, in turn, calls\n // `jQuery.event.add`, so event handle will already have been set\n // by this point.\n handle(event);\n } else // For non-IE browsers, attach a single capturing handler on the document\n // while someone wants focusin/focusout.\n jQuery.event.simulate(delegateType, nativeEvent.target, jQuery.event.fix(nativeEvent));\n }\n jQuery.event.special[type] = {\n // Utilize native event if possible so blur/focus sequence is correct\n setup: function() {\n var attaches;\n // Claim the first handler\n // dataPriv.set( this, \"focus\", ... )\n // dataPriv.set( this, \"blur\", ... )\n leverageNative(this, type, true);\n if (document.documentMode) {\n // Support: IE 9 - 11+\n // We use the same native handler for focusin & focus (and focusout & blur)\n // so we need to coordinate setup & teardown parts between those events.\n // Use `delegateType` as the key as `type` is already used by `leverageNative`.\n attaches = dataPriv.get(this, delegateType);\n if (!attaches) this.addEventListener(delegateType, focusMappedHandler);\n dataPriv.set(this, delegateType, (attaches || 0) + 1);\n } else // Return false to allow normal processing in the caller\n return false;\n },\n trigger: function() {\n // Force setup before trigger\n leverageNative(this, type);\n // Return non-false to allow normal event-path propagation\n return true;\n },\n teardown: function() {\n var attaches;\n if (document.documentMode) {\n attaches = dataPriv.get(this, delegateType) - 1;\n if (!attaches) {\n this.removeEventListener(delegateType, focusMappedHandler);\n dataPriv.remove(this, delegateType);\n } else dataPriv.set(this, delegateType, attaches);\n } else // Return false to indicate standard teardown should be applied\n return false;\n },\n // Suppress native focus or blur if we're currently inside\n // a leveraged native-event stack\n _default: function(event) {\n return dataPriv.get(event.target, type);\n },\n delegateType: delegateType\n };\n // Support: Firefox <=44\n // Firefox doesn't have focus(in | out) events\n // Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787\n //\n // Support: Chrome <=48 - 49, Safari <=9.0 - 9.1\n // focus(in | out) events fire after focus & blur events,\n // which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order\n // Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857\n //\n // Support: IE 9 - 11+\n // To preserve relative focusin/focus & focusout/blur event order guaranteed on the 3.x branch,\n // attach a single handler for both events in IE.\n jQuery.event.special[delegateType] = {\n setup: function() {\n // Handle: regular nodes (via `this.ownerDocument`), window\n // (via `this.document`) & document (via `this`).\n var doc = this.ownerDocument || this.document || this, dataHolder = document.documentMode ? this : doc, attaches = dataPriv.get(dataHolder, delegateType);\n // Support: IE 9 - 11+\n // We use the same native handler for focusin & focus (and focusout & blur)\n // so we need to coordinate setup & teardown parts between those events.\n // Use `delegateType` as the key as `type` is already used by `leverageNative`.\n if (!attaches) {\n if (document.documentMode) this.addEventListener(delegateType, focusMappedHandler);\n else doc.addEventListener(type, focusMappedHandler, true);\n }\n dataPriv.set(dataHolder, delegateType, (attaches || 0) + 1);\n },\n teardown: function() {\n var doc = this.ownerDocument || this.document || this, dataHolder = document.documentMode ? this : doc, attaches = dataPriv.get(dataHolder, delegateType) - 1;\n if (!attaches) {\n if (document.documentMode) this.removeEventListener(delegateType, focusMappedHandler);\n else doc.removeEventListener(type, focusMappedHandler, true);\n dataPriv.remove(dataHolder, delegateType);\n } else dataPriv.set(dataHolder, delegateType, attaches);\n }\n };\n });\n // Create mouseenter/leave events using mouseover/out and event-time checks\n // so that event delegation works in jQuery.\n // Do the same for pointerenter/pointerleave and pointerover/pointerout\n //\n // Support: Safari 7 only\n // Safari sends mouseenter too often; see:\n // https://bugs.chromium.org/p/chromium/issues/detail?id=470258\n // for the description of the bug (it existed in older Chrome versions as well).\n jQuery.each({\n mouseenter: \"mouseover\",\n mouseleave: \"mouseout\",\n pointerenter: \"pointerover\",\n pointerleave: \"pointerout\"\n }, function(orig, fix) {\n jQuery.event.special[orig] = {\n delegateType: fix,\n bindType: fix,\n handle: function(event) {\n var ret, target = this, related = event.relatedTarget, handleObj = event.handleObj;\n // For mouseenter/leave call the handler if related is outside the target.\n // NB: No relatedTarget if the mouse left/entered the browser window\n if (!related || related !== target && !jQuery.contains(target, related)) {\n event.type = handleObj.origType;\n ret = handleObj.handler.apply(this, arguments);\n event.type = fix;\n }\n return ret;\n }\n };\n });\n jQuery.fn.extend({\n on: function(types, selector, data, fn) {\n return on(this, types, selector, data, fn);\n },\n one: function(types, selector, data, fn) {\n return on(this, types, selector, data, fn, 1);\n },\n off: function(types, selector, fn) {\n var handleObj, type;\n if (types && types.preventDefault && types.handleObj) {\n // ( event ) dispatched jQuery.Event\n handleObj = types.handleObj;\n jQuery(types.delegateTarget).off(handleObj.namespace ? handleObj.origType + \".\" + handleObj.namespace : handleObj.origType, handleObj.selector, handleObj.handler);\n return this;\n }\n if (typeof types === \"object\") {\n // ( types-object [, selector] )\n for(type in types)this.off(type, selector, types[type]);\n return this;\n }\n if (selector === false || typeof selector === \"function\") {\n // ( types [, fn] )\n fn = selector;\n selector = undefined;\n }\n if (fn === false) fn = returnFalse;\n return this.each(function() {\n jQuery.event.remove(this, types, fn, selector);\n });\n }\n });\n var // Support: IE <=10 - 11, Edge 12 - 13 only\n // In IE/Edge using regex groups here causes severe slowdowns.\n // See https://connect.microsoft.com/IE/feedback/details/1736512/\n rnoInnerhtml = /\\s*$/g;\n // Prefer a tbody over its parent table for containing new rows\n function manipulationTarget(elem, content) {\n if (nodeName(elem, \"table\") && nodeName(content.nodeType !== 11 ? content : content.firstChild, \"tr\")) return jQuery(elem).children(\"tbody\")[0] || elem;\n return elem;\n }\n // Replace/restore the type attribute of script elements for safe DOM manipulation\n function disableScript(elem) {\n elem.type = (elem.getAttribute(\"type\") !== null) + \"/\" + elem.type;\n return elem;\n }\n function restoreScript(elem) {\n if ((elem.type || \"\").slice(0, 5) === \"true/\") elem.type = elem.type.slice(5);\n else elem.removeAttribute(\"type\");\n return elem;\n }\n function cloneCopyEvent(src, dest) {\n var i, l, type, pdataOld, udataOld, udataCur, events;\n if (dest.nodeType !== 1) return;\n // 1. Copy private data: events, handlers, etc.\n if (dataPriv.hasData(src)) {\n pdataOld = dataPriv.get(src);\n events = pdataOld.events;\n if (events) {\n dataPriv.remove(dest, \"handle events\");\n for(type in events)for(i = 0, l = events[type].length; i < l; i++)jQuery.event.add(dest, type, events[type][i]);\n }\n }\n // 2. Copy user data\n if (dataUser.hasData(src)) {\n udataOld = dataUser.access(src);\n udataCur = jQuery.extend({}, udataOld);\n dataUser.set(dest, udataCur);\n }\n }\n // Fix IE bugs, see support tests\n function fixInput(src, dest) {\n var nodeName = dest.nodeName.toLowerCase();\n // Fails to persist the checked state of a cloned checkbox or radio button.\n if (nodeName === \"input\" && rcheckableType.test(src.type)) dest.checked = src.checked;\n else if (nodeName === \"input\" || nodeName === \"textarea\") dest.defaultValue = src.defaultValue;\n }\n function domManip(collection, args, callback, ignored) {\n // Flatten any nested arrays\n args = flat(args);\n var fragment, first, scripts, hasScripts, node, doc, i = 0, l = collection.length, iNoClone = l - 1, value = args[0], valueIsFunction = isFunction(value);\n // We can't cloneNode fragments that contain checked, in WebKit\n if (valueIsFunction || l > 1 && typeof value === \"string\" && !support.checkClone && rchecked.test(value)) return collection.each(function(index) {\n var self = collection.eq(index);\n if (valueIsFunction) args[0] = value.call(this, index, self.html());\n domManip(self, args, callback, ignored);\n });\n if (l) {\n fragment = buildFragment(args, collection[0].ownerDocument, false, collection, ignored);\n first = fragment.firstChild;\n if (fragment.childNodes.length === 1) fragment = first;\n // Require either new content or an interest in ignored elements to invoke the callback\n if (first || ignored) {\n scripts = jQuery.map(getAll(fragment, \"script\"), disableScript);\n hasScripts = scripts.length;\n // Use the original fragment for the last item\n // instead of the first because it can end up\n // being emptied incorrectly in certain situations (trac-8070).\n for(; i < l; i++){\n node = fragment;\n if (i !== iNoClone) {\n node = jQuery.clone(node, true, true);\n // Keep references to cloned scripts for later restoration\n if (hasScripts) // Support: Android <=4.0 only, PhantomJS 1 only\n // push.apply(_, arraylike) throws on ancient WebKit\n jQuery.merge(scripts, getAll(node, \"script\"));\n }\n callback.call(collection[i], node, i);\n }\n if (hasScripts) {\n doc = scripts[scripts.length - 1].ownerDocument;\n // Re-enable scripts\n jQuery.map(scripts, restoreScript);\n // Evaluate executable scripts on first document insertion\n for(i = 0; i < hasScripts; i++){\n node = scripts[i];\n if (rscriptType.test(node.type || \"\") && !dataPriv.access(node, \"globalEval\") && jQuery.contains(doc, node)) {\n if (node.src && (node.type || \"\").toLowerCase() !== \"module\") // Optional AJAX dependency, but won't run scripts if not present\n {\n if (jQuery._evalUrl && !node.noModule) jQuery._evalUrl(node.src, {\n nonce: node.nonce || node.getAttribute(\"nonce\")\n }, doc);\n } else // Unwrap a CDATA section containing script contents. This shouldn't be\n // needed as in XML documents they're already not visible when\n // inspecting element contents and in HTML documents they have no\n // meaning but we're preserving that logic for backwards compatibility.\n // This will be removed completely in 4.0. See gh-4904.\n DOMEval(node.textContent.replace(rcleanScript, \"\"), node, doc);\n }\n }\n }\n }\n }\n return collection;\n }\n function remove(elem, selector, keepData) {\n var node, nodes = selector ? jQuery.filter(selector, elem) : elem, i = 0;\n for(; (node = nodes[i]) != null; i++){\n if (!keepData && node.nodeType === 1) jQuery.cleanData(getAll(node));\n if (node.parentNode) {\n if (keepData && isAttached(node)) setGlobalEval(getAll(node, \"script\"));\n node.parentNode.removeChild(node);\n }\n }\n return elem;\n }\n jQuery.extend({\n htmlPrefilter: function(html) {\n return html;\n },\n clone: function(elem, dataAndEvents, deepDataAndEvents) {\n var i, l, srcElements, destElements, clone = elem.cloneNode(true), inPage = isAttached(elem);\n // Fix IE cloning issues\n if (!support.noCloneChecked && (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem)) {\n // We eschew jQuery#find here for performance reasons:\n // https://jsperf.com/getall-vs-sizzle/2\n destElements = getAll(clone);\n srcElements = getAll(elem);\n for(i = 0, l = srcElements.length; i < l; i++)fixInput(srcElements[i], destElements[i]);\n }\n // Copy the events from the original to the clone\n if (dataAndEvents) {\n if (deepDataAndEvents) {\n srcElements = srcElements || getAll(elem);\n destElements = destElements || getAll(clone);\n for(i = 0, l = srcElements.length; i < l; i++)cloneCopyEvent(srcElements[i], destElements[i]);\n } else cloneCopyEvent(elem, clone);\n }\n // Preserve script evaluation history\n destElements = getAll(clone, \"script\");\n if (destElements.length > 0) setGlobalEval(destElements, !inPage && getAll(elem, \"script\"));\n // Return the cloned set\n return clone;\n },\n cleanData: function(elems) {\n var data, elem, type, special = jQuery.event.special, i = 0;\n for(; (elem = elems[i]) !== undefined; i++)if (acceptData(elem)) {\n if (data = elem[dataPriv.expando]) {\n if (data.events) {\n for(type in data.events)if (special[type]) jQuery.event.remove(elem, type);\n else jQuery.removeEvent(elem, type, data.handle);\n }\n // Support: Chrome <=35 - 45+\n // Assign undefined instead of using delete, see Data#remove\n elem[dataPriv.expando] = undefined;\n }\n if (elem[dataUser.expando]) // Support: Chrome <=35 - 45+\n // Assign undefined instead of using delete, see Data#remove\n elem[dataUser.expando] = undefined;\n }\n }\n });\n jQuery.fn.extend({\n detach: function(selector) {\n return remove(this, selector, true);\n },\n remove: function(selector) {\n return remove(this, selector);\n },\n text: function(value) {\n return access(this, function(value) {\n return value === undefined ? jQuery.text(this) : this.empty().each(function() {\n if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) this.textContent = value;\n });\n }, null, value, arguments.length);\n },\n append: function() {\n return domManip(this, arguments, function(elem) {\n if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {\n var target = manipulationTarget(this, elem);\n target.appendChild(elem);\n }\n });\n },\n prepend: function() {\n return domManip(this, arguments, function(elem) {\n if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {\n var target = manipulationTarget(this, elem);\n target.insertBefore(elem, target.firstChild);\n }\n });\n },\n before: function() {\n return domManip(this, arguments, function(elem) {\n if (this.parentNode) this.parentNode.insertBefore(elem, this);\n });\n },\n after: function() {\n return domManip(this, arguments, function(elem) {\n if (this.parentNode) this.parentNode.insertBefore(elem, this.nextSibling);\n });\n },\n empty: function() {\n var elem, i = 0;\n for(; (elem = this[i]) != null; i++)if (elem.nodeType === 1) {\n // Prevent memory leaks\n jQuery.cleanData(getAll(elem, false));\n // Remove any remaining nodes\n elem.textContent = \"\";\n }\n return this;\n },\n clone: function(dataAndEvents, deepDataAndEvents) {\n dataAndEvents = dataAndEvents == null ? false : dataAndEvents;\n deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;\n return this.map(function() {\n return jQuery.clone(this, dataAndEvents, deepDataAndEvents);\n });\n },\n html: function(value) {\n return access(this, function(value) {\n var elem = this[0] || {}, i = 0, l = this.length;\n if (value === undefined && elem.nodeType === 1) return elem.innerHTML;\n // See if we can take a shortcut and just use innerHTML\n if (typeof value === \"string\" && !rnoInnerhtml.test(value) && !wrapMap[(rtagName.exec(value) || [\n \"\",\n \"\"\n ])[1].toLowerCase()]) {\n value = jQuery.htmlPrefilter(value);\n try {\n for(; i < l; i++){\n elem = this[i] || {};\n // Remove element nodes and prevent memory leaks\n if (elem.nodeType === 1) {\n jQuery.cleanData(getAll(elem, false));\n elem.innerHTML = value;\n }\n }\n elem = 0;\n // If using innerHTML throws an exception, use the fallback method\n } catch (e) {}\n }\n if (elem) this.empty().append(value);\n }, null, value, arguments.length);\n },\n replaceWith: function() {\n var ignored = [];\n // Make the changes, replacing each non-ignored context element with the new content\n return domManip(this, arguments, function(elem) {\n var parent = this.parentNode;\n if (jQuery.inArray(this, ignored) < 0) {\n jQuery.cleanData(getAll(this));\n if (parent) parent.replaceChild(elem, this);\n }\n // Force callback invocation\n }, ignored);\n }\n });\n jQuery.each({\n appendTo: \"append\",\n prependTo: \"prepend\",\n insertBefore: \"before\",\n insertAfter: \"after\",\n replaceAll: \"replaceWith\"\n }, function(name, original) {\n jQuery.fn[name] = function(selector) {\n var elems, ret = [], insert = jQuery(selector), last = insert.length - 1, i = 0;\n for(; i <= last; i++){\n elems = i === last ? this : this.clone(true);\n jQuery(insert[i])[original](elems);\n // Support: Android <=4.0 only, PhantomJS 1 only\n // .get() because push.apply(_, arraylike) throws on ancient WebKit\n push.apply(ret, elems.get());\n }\n return this.pushStack(ret);\n };\n });\n var rnumnonpx = new RegExp(\"^(\" + pnum + \")(?!px)[a-z%]+$\", \"i\");\n var rcustomProp = /^--/;\n var getStyles = function(elem) {\n // Support: IE <=11 only, Firefox <=30 (trac-15098, trac-14150)\n // IE throws on elements created in popups\n // FF meanwhile throws on frame elements through \"defaultView.getComputedStyle\"\n var view = elem.ownerDocument.defaultView;\n if (!view || !view.opener) view = window1;\n return view.getComputedStyle(elem);\n };\n var swap = function(elem, options, callback) {\n var ret, name, old = {};\n // Remember the old values, and insert the new ones\n for(name in options){\n old[name] = elem.style[name];\n elem.style[name] = options[name];\n }\n ret = callback.call(elem);\n // Revert the old values\n for(name in options)elem.style[name] = old[name];\n return ret;\n };\n var rboxStyle = new RegExp(cssExpand.join(\"|\"), \"i\");\n (function() {\n // Executing both pixelPosition & boxSizingReliable tests require only one layout\n // so they're executed at the same time to save the second computation.\n function computeStyleTests() {\n // This is a singleton, we need to execute it only once\n if (!div) return;\n container.style.cssText = \"position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0\";\n div.style.cssText = \"position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%\";\n documentElement.appendChild(container).appendChild(div);\n var divStyle = window1.getComputedStyle(div);\n pixelPositionVal = divStyle.top !== \"1%\";\n // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44\n reliableMarginLeftVal = roundPixelMeasures(divStyle.marginLeft) === 12;\n // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3\n // Some styles come back with percentage values, even though they shouldn't\n div.style.right = \"60%\";\n pixelBoxStylesVal = roundPixelMeasures(divStyle.right) === 36;\n // Support: IE 9 - 11 only\n // Detect misreporting of content dimensions for box-sizing:border-box elements\n boxSizingReliableVal = roundPixelMeasures(divStyle.width) === 36;\n // Support: IE 9 only\n // Detect overflow:scroll screwiness (gh-3699)\n // Support: Chrome <=64\n // Don't get tricked when zoom affects offsetWidth (gh-4029)\n div.style.position = \"absolute\";\n scrollboxSizeVal = roundPixelMeasures(div.offsetWidth / 3) === 12;\n documentElement.removeChild(container);\n // Nullify the div so it wouldn't be stored in the memory and\n // it will also be a sign that checks already performed\n div = null;\n }\n function roundPixelMeasures(measure) {\n return Math.round(parseFloat(measure));\n }\n var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, reliableTrDimensionsVal, reliableMarginLeftVal, container = document.createElement(\"div\"), div = document.createElement(\"div\");\n // Finish early in limited (non-browser) environments\n if (!div.style) return;\n // Support: IE <=9 - 11 only\n // Style of cloned element affects source element cloned (trac-8908)\n div.style.backgroundClip = \"content-box\";\n div.cloneNode(true).style.backgroundClip = \"\";\n support.clearCloneStyle = div.style.backgroundClip === \"content-box\";\n jQuery.extend(support, {\n boxSizingReliable: function() {\n computeStyleTests();\n return boxSizingReliableVal;\n },\n pixelBoxStyles: function() {\n computeStyleTests();\n return pixelBoxStylesVal;\n },\n pixelPosition: function() {\n computeStyleTests();\n return pixelPositionVal;\n },\n reliableMarginLeft: function() {\n computeStyleTests();\n return reliableMarginLeftVal;\n },\n scrollboxSize: function() {\n computeStyleTests();\n return scrollboxSizeVal;\n },\n // Support: IE 9 - 11+, Edge 15 - 18+\n // IE/Edge misreport `getComputedStyle` of table rows with width/height\n // set in CSS while `offset*` properties report correct values.\n // Behavior in IE 9 is more subtle than in newer versions & it passes\n // some versions of this test; make sure not to make it pass there!\n //\n // Support: Firefox 70+\n // Only Firefox includes border widths\n // in computed dimensions. (gh-4529)\n reliableTrDimensions: function() {\n var table, tr, trChild, trStyle;\n if (reliableTrDimensionsVal == null) {\n table = document.createElement(\"table\");\n tr = document.createElement(\"tr\");\n trChild = document.createElement(\"div\");\n table.style.cssText = \"position:absolute;left:-11111px;border-collapse:separate\";\n tr.style.cssText = \"box-sizing:content-box;border:1px solid\";\n // Support: Chrome 86+\n // Height set through cssText does not get applied.\n // Computed height then comes back as 0.\n tr.style.height = \"1px\";\n trChild.style.height = \"9px\";\n // Support: Android 8 Chrome 86+\n // In our bodyBackground.html iframe,\n // display for all div elements is set to \"inline\",\n // which causes a problem only in Android 8 Chrome 86.\n // Ensuring the div is `display: block`\n // gets around this issue.\n trChild.style.display = \"block\";\n documentElement.appendChild(table).appendChild(tr).appendChild(trChild);\n trStyle = window1.getComputedStyle(tr);\n reliableTrDimensionsVal = parseInt(trStyle.height, 10) + parseInt(trStyle.borderTopWidth, 10) + parseInt(trStyle.borderBottomWidth, 10) === tr.offsetHeight;\n documentElement.removeChild(table);\n }\n return reliableTrDimensionsVal;\n }\n });\n })();\n function curCSS(elem, name, computed) {\n var width, minWidth, maxWidth, ret, isCustomProp = rcustomProp.test(name), // Support: Firefox 51+\n // Retrieving style before computed somehow\n // fixes an issue with getting wrong values\n // on detached elements\n style = elem.style;\n computed = computed || getStyles(elem);\n // getPropertyValue is needed for:\n // .css('filter') (IE 9 only, trac-12537)\n // .css('--customProperty) (gh-3144)\n if (computed) {\n // Support: IE <=9 - 11+\n // IE only supports `\"float\"` in `getPropertyValue`; in computed styles\n // it's only available as `\"cssFloat\"`. We no longer modify properties\n // sent to `.css()` apart from camelCasing, so we need to check both.\n // Normally, this would create difference in behavior: if\n // `getPropertyValue` returns an empty string, the value returned\n // by `.css()` would be `undefined`. This is usually the case for\n // disconnected elements. However, in IE even disconnected elements\n // with no styles return `\"none\"` for `getPropertyValue( \"float\" )`\n ret = computed.getPropertyValue(name) || computed[name];\n if (isCustomProp && ret) // Support: Firefox 105+, Chrome <=105+\n // Spec requires trimming whitespace for custom properties (gh-4926).\n // Firefox only trims leading whitespace. Chrome just collapses\n // both leading & trailing whitespace to a single space.\n //\n // Fall back to `undefined` if empty string returned.\n // This collapses a missing definition with property defined\n // and set to an empty string but there's no standard API\n // allowing us to differentiate them without a performance penalty\n // and returning `undefined` aligns with older jQuery.\n //\n // rtrimCSS treats U+000D CARRIAGE RETURN and U+000C FORM FEED\n // as whitespace while CSS does not, but this is not a problem\n // because CSS preprocessing replaces them with U+000A LINE FEED\n // (which *is* CSS whitespace)\n // https://www.w3.org/TR/css-syntax-3/#input-preprocessing\n ret = ret.replace(rtrimCSS, \"$1\") || undefined;\n if (ret === \"\" && !isAttached(elem)) ret = jQuery.style(elem, name);\n // A tribute to the \"awesome hack by Dean Edwards\"\n // Android Browser returns percentage for some values,\n // but width seems to be reliably pixels.\n // This is against the CSSOM draft spec:\n // https://drafts.csswg.org/cssom/#resolved-values\n if (!support.pixelBoxStyles() && rnumnonpx.test(ret) && rboxStyle.test(name)) {\n // Remember the original values\n width = style.width;\n minWidth = style.minWidth;\n maxWidth = style.maxWidth;\n // Put in the new values to get a computed value out\n style.minWidth = style.maxWidth = style.width = ret;\n ret = computed.width;\n // Revert the changed values\n style.width = width;\n style.minWidth = minWidth;\n style.maxWidth = maxWidth;\n }\n }\n return ret !== undefined ? // Support: IE <=9 - 11 only\n // IE returns zIndex value as an integer.\n ret + \"\" : ret;\n }\n function addGetHookIf(conditionFn, hookFn) {\n // Define the hook, we'll check on the first run if it's really needed.\n return {\n get: function() {\n if (conditionFn()) {\n // Hook not needed (or it's not possible to use it due\n // to missing dependency), remove it.\n delete this.get;\n return;\n }\n // Hook needed; redefine it so that the support test is not executed again.\n return (this.get = hookFn).apply(this, arguments);\n }\n };\n }\n var cssPrefixes = [\n \"Webkit\",\n \"Moz\",\n \"ms\"\n ], emptyStyle = document.createElement(\"div\").style, vendorProps = {};\n // Return a vendor-prefixed property or undefined\n function vendorPropName(name) {\n // Check for vendor prefixed names\n var capName = name[0].toUpperCase() + name.slice(1), i = cssPrefixes.length;\n while(i--){\n name = cssPrefixes[i] + capName;\n if (name in emptyStyle) return name;\n }\n }\n // Return a potentially-mapped jQuery.cssProps or vendor prefixed property\n function finalPropName(name) {\n var final = jQuery.cssProps[name] || vendorProps[name];\n if (final) return final;\n if (name in emptyStyle) return name;\n return vendorProps[name] = vendorPropName(name) || name;\n }\n var // Swappable if display is none or starts with table\n // except \"table\", \"table-cell\", or \"table-caption\"\n // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display\n rdisplayswap = /^(none|table(?!-c[ea]).+)/, cssShow = {\n position: \"absolute\",\n visibility: \"hidden\",\n display: \"block\"\n }, cssNormalTransform = {\n letterSpacing: \"0\",\n fontWeight: \"400\"\n };\n function setPositiveNumber(_elem, value, subtract) {\n // Any relative (+/-) values have already been\n // normalized at this point\n var matches = rcssNum.exec(value);\n return matches ? // Guard against undefined \"subtract\", e.g., when used as in cssHooks\n Math.max(0, matches[2] - (subtract || 0)) + (matches[3] || \"px\") : value;\n }\n function boxModelAdjustment(elem, dimension, box, isBorderBox, styles, computedVal) {\n var i = dimension === \"width\" ? 1 : 0, extra = 0, delta = 0, marginDelta = 0;\n // Adjustment may not be necessary\n if (box === (isBorderBox ? \"border\" : \"content\")) return 0;\n for(; i < 4; i += 2){\n // Both box models exclude margin\n // Count margin delta separately to only add it after scroll gutter adjustment.\n // This is needed to make negative margins work with `outerHeight( true )` (gh-3982).\n if (box === \"margin\") marginDelta += jQuery.css(elem, box + cssExpand[i], true, styles);\n // If we get here with a content-box, we're seeking \"padding\" or \"border\" or \"margin\"\n if (!isBorderBox) {\n // Add padding\n delta += jQuery.css(elem, \"padding\" + cssExpand[i], true, styles);\n // For \"border\" or \"margin\", add border\n if (box !== \"padding\") delta += jQuery.css(elem, \"border\" + cssExpand[i] + \"Width\", true, styles);\n else extra += jQuery.css(elem, \"border\" + cssExpand[i] + \"Width\", true, styles);\n // If we get here with a border-box (content + padding + border), we're seeking \"content\" or\n // \"padding\" or \"margin\"\n } else {\n // For \"content\", subtract padding\n if (box === \"content\") delta -= jQuery.css(elem, \"padding\" + cssExpand[i], true, styles);\n // For \"content\" or \"padding\", subtract border\n if (box !== \"margin\") delta -= jQuery.css(elem, \"border\" + cssExpand[i] + \"Width\", true, styles);\n }\n }\n // Account for positive content-box scroll gutter when requested by providing computedVal\n if (!isBorderBox && computedVal >= 0) // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border\n // Assuming integer scroll gutter, subtract the rest and round down\n delta += Math.max(0, Math.ceil(elem[\"offset\" + dimension[0].toUpperCase() + dimension.slice(1)] - computedVal - delta - extra - 0.5)) || 0;\n return delta + marginDelta;\n }\n function getWidthOrHeight(elem, dimension, extra) {\n // Start with computed style\n var styles = getStyles(elem), // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322).\n // Fake content-box until we know it's needed to know the true value.\n boxSizingNeeded = !support.boxSizingReliable() || extra, isBorderBox = boxSizingNeeded && jQuery.css(elem, \"boxSizing\", false, styles) === \"border-box\", valueIsBorderBox = isBorderBox, val = curCSS(elem, dimension, styles), offsetProp = \"offset\" + dimension[0].toUpperCase() + dimension.slice(1);\n // Support: Firefox <=54\n // Return a confounding non-pixel value or feign ignorance, as appropriate.\n if (rnumnonpx.test(val)) {\n if (!extra) return val;\n val = \"auto\";\n }\n // Support: IE 9 - 11 only\n // Use offsetWidth/offsetHeight for when box sizing is unreliable.\n // In those cases, the computed value can be trusted to be border-box.\n if ((!support.boxSizingReliable() && isBorderBox || // Support: IE 10 - 11+, Edge 15 - 18+\n // IE/Edge misreport `getComputedStyle` of table rows with width/height\n // set in CSS while `offset*` properties report correct values.\n // Interestingly, in some cases IE 9 doesn't suffer from this issue.\n !support.reliableTrDimensions() && nodeName(elem, \"tr\") || // Fall back to offsetWidth/offsetHeight when value is \"auto\"\n // This happens for inline elements with no explicit setting (gh-3571)\n val === \"auto\" || // Support: Android <=4.1 - 4.3 only\n // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602)\n !parseFloat(val) && jQuery.css(elem, \"display\", false, styles) === \"inline\") && // Make sure the element is visible & connected\n elem.getClientRects().length) {\n isBorderBox = jQuery.css(elem, \"boxSizing\", false, styles) === \"border-box\";\n // Where available, offsetWidth/offsetHeight approximate border box dimensions.\n // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the\n // retrieved value as a content box dimension.\n valueIsBorderBox = offsetProp in elem;\n if (valueIsBorderBox) val = elem[offsetProp];\n }\n // Normalize \"\" and auto\n val = parseFloat(val) || 0;\n // Adjust for the element's box model\n return val + boxModelAdjustment(elem, dimension, extra || (isBorderBox ? \"border\" : \"content\"), valueIsBorderBox, styles, // Provide the current computed size to request scroll gutter calculation (gh-3589)\n val) + \"px\";\n }\n jQuery.extend({\n // Add in style property hooks for overriding the default\n // behavior of getting and setting a style property\n cssHooks: {\n opacity: {\n get: function(elem, computed) {\n if (computed) {\n // We should always get a number back from opacity\n var ret = curCSS(elem, \"opacity\");\n return ret === \"\" ? \"1\" : ret;\n }\n }\n }\n },\n // Don't automatically add \"px\" to these possibly-unitless properties\n cssNumber: {\n animationIterationCount: true,\n aspectRatio: true,\n borderImageSlice: true,\n columnCount: true,\n flexGrow: true,\n flexShrink: true,\n fontWeight: true,\n gridArea: true,\n gridColumn: true,\n gridColumnEnd: true,\n gridColumnStart: true,\n gridRow: true,\n gridRowEnd: true,\n gridRowStart: true,\n lineHeight: true,\n opacity: true,\n order: true,\n orphans: true,\n scale: true,\n widows: true,\n zIndex: true,\n zoom: true,\n // SVG-related\n fillOpacity: true,\n floodOpacity: true,\n stopOpacity: true,\n strokeMiterlimit: true,\n strokeOpacity: true\n },\n // Add in properties whose names you wish to fix before\n // setting or getting the value\n cssProps: {},\n // Get and set the style property on a DOM Node\n style: function(elem, name, value, extra) {\n // Don't set styles on text and comment nodes\n if (!elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style) return;\n // Make sure that we're working with the right name\n var ret, type, hooks, origName = camelCase(name), isCustomProp = rcustomProp.test(name), style = elem.style;\n // Make sure that we're working with the right name. We don't\n // want to query the value if it is a CSS custom property\n // since they are user-defined.\n if (!isCustomProp) name = finalPropName(origName);\n // Gets hook for the prefixed version, then unprefixed version\n hooks = jQuery.cssHooks[name] || jQuery.cssHooks[origName];\n // Check if we're setting a value\n if (value !== undefined) {\n type = typeof value;\n // Convert \"+=\" or \"-=\" to relative numbers (trac-7345)\n if (type === \"string\" && (ret = rcssNum.exec(value)) && ret[1]) {\n value = adjustCSS(elem, name, ret);\n // Fixes bug trac-9237\n type = \"number\";\n }\n // Make sure that null and NaN values aren't set (trac-7116)\n if (value == null || value !== value) return;\n // If a number was passed in, add the unit (except for certain CSS properties)\n // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append\n // \"px\" to a few hardcoded values.\n if (type === \"number\" && !isCustomProp) value += ret && ret[3] || (jQuery.cssNumber[origName] ? \"\" : \"px\");\n // background-* props affect original clone's values\n if (!support.clearCloneStyle && value === \"\" && name.indexOf(\"background\") === 0) style[name] = \"inherit\";\n // If a hook was provided, use that value, otherwise just set the specified value\n if (!hooks || !(\"set\" in hooks) || (value = hooks.set(elem, value, extra)) !== undefined) {\n if (isCustomProp) style.setProperty(name, value);\n else style[name] = value;\n }\n } else {\n // If a hook was provided get the non-computed value from there\n if (hooks && \"get\" in hooks && (ret = hooks.get(elem, false, extra)) !== undefined) return ret;\n // Otherwise just get the value from the style object\n return style[name];\n }\n },\n css: function(elem, name, extra, styles) {\n var val, num, hooks, origName = camelCase(name), isCustomProp = rcustomProp.test(name);\n // Make sure that we're working with the right name. We don't\n // want to modify the value if it is a CSS custom property\n // since they are user-defined.\n if (!isCustomProp) name = finalPropName(origName);\n // Try prefixed name followed by the unprefixed name\n hooks = jQuery.cssHooks[name] || jQuery.cssHooks[origName];\n // If a hook was provided get the computed value from there\n if (hooks && \"get\" in hooks) val = hooks.get(elem, true, extra);\n // Otherwise, if a way to get the computed value exists, use that\n if (val === undefined) val = curCSS(elem, name, styles);\n // Convert \"normal\" to computed value\n if (val === \"normal\" && name in cssNormalTransform) val = cssNormalTransform[name];\n // Make numeric if forced or a qualifier was provided and val looks numeric\n if (extra === \"\" || extra) {\n num = parseFloat(val);\n return extra === true || isFinite(num) ? num || 0 : val;\n }\n return val;\n }\n });\n jQuery.each([\n \"height\",\n \"width\"\n ], function(_i, dimension) {\n jQuery.cssHooks[dimension] = {\n get: function(elem, computed, extra) {\n if (computed) // Certain elements can have dimension info if we invisibly show them\n // but it must have a current display style that would benefit\n return rdisplayswap.test(jQuery.css(elem, \"display\")) && // Support: Safari 8+\n // Table columns in Safari have non-zero offsetWidth & zero\n // getBoundingClientRect().width unless display is changed.\n // Support: IE <=11 only\n // Running getBoundingClientRect on a disconnected node\n // in IE throws an error.\n (!elem.getClientRects().length || !elem.getBoundingClientRect().width) ? swap(elem, cssShow, function() {\n return getWidthOrHeight(elem, dimension, extra);\n }) : getWidthOrHeight(elem, dimension, extra);\n },\n set: function(elem, value, extra) {\n var matches, styles = getStyles(elem), // Only read styles.position if the test has a chance to fail\n // to avoid forcing a reflow.\n scrollboxSizeBuggy = !support.scrollboxSize() && styles.position === \"absolute\", // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991)\n boxSizingNeeded = scrollboxSizeBuggy || extra, isBorderBox = boxSizingNeeded && jQuery.css(elem, \"boxSizing\", false, styles) === \"border-box\", subtract = extra ? boxModelAdjustment(elem, dimension, extra, isBorderBox, styles) : 0;\n // Account for unreliable border-box dimensions by comparing offset* to computed and\n // faking a content-box to get border and padding (gh-3699)\n if (isBorderBox && scrollboxSizeBuggy) subtract -= Math.ceil(elem[\"offset\" + dimension[0].toUpperCase() + dimension.slice(1)] - parseFloat(styles[dimension]) - boxModelAdjustment(elem, dimension, \"border\", false, styles) - 0.5);\n // Convert to pixels if value adjustment is needed\n if (subtract && (matches = rcssNum.exec(value)) && (matches[3] || \"px\") !== \"px\") {\n elem.style[dimension] = value;\n value = jQuery.css(elem, dimension);\n }\n return setPositiveNumber(elem, value, subtract);\n }\n };\n });\n jQuery.cssHooks.marginLeft = addGetHookIf(support.reliableMarginLeft, function(elem, computed) {\n if (computed) return (parseFloat(curCSS(elem, \"marginLeft\")) || elem.getBoundingClientRect().left - swap(elem, {\n marginLeft: 0\n }, function() {\n return elem.getBoundingClientRect().left;\n })) + \"px\";\n });\n // These hooks are used by animate to expand properties\n jQuery.each({\n margin: \"\",\n padding: \"\",\n border: \"Width\"\n }, function(prefix, suffix) {\n jQuery.cssHooks[prefix + suffix] = {\n expand: function(value) {\n var i = 0, expanded = {}, // Assumes a single number if not a string\n parts = typeof value === \"string\" ? value.split(\" \") : [\n value\n ];\n for(; i < 4; i++)expanded[prefix + cssExpand[i] + suffix] = parts[i] || parts[i - 2] || parts[0];\n return expanded;\n }\n };\n if (prefix !== \"margin\") jQuery.cssHooks[prefix + suffix].set = setPositiveNumber;\n });\n jQuery.fn.extend({\n css: function(name, value) {\n return access(this, function(elem, name, value) {\n var styles, len, map = {}, i = 0;\n if (Array.isArray(name)) {\n styles = getStyles(elem);\n len = name.length;\n for(; i < len; i++)map[name[i]] = jQuery.css(elem, name[i], false, styles);\n return map;\n }\n return value !== undefined ? jQuery.style(elem, name, value) : jQuery.css(elem, name);\n }, name, value, arguments.length > 1);\n }\n });\n function Tween(elem, options, prop, end, easing) {\n return new Tween.prototype.init(elem, options, prop, end, easing);\n }\n jQuery.Tween = Tween;\n Tween.prototype = {\n constructor: Tween,\n init: function(elem, options, prop, end, easing, unit) {\n this.elem = elem;\n this.prop = prop;\n this.easing = easing || jQuery.easing._default;\n this.options = options;\n this.start = this.now = this.cur();\n this.end = end;\n this.unit = unit || (jQuery.cssNumber[prop] ? \"\" : \"px\");\n },\n cur: function() {\n var hooks = Tween.propHooks[this.prop];\n return hooks && hooks.get ? hooks.get(this) : Tween.propHooks._default.get(this);\n },\n run: function(percent) {\n var eased, hooks = Tween.propHooks[this.prop];\n if (this.options.duration) this.pos = eased = jQuery.easing[this.easing](percent, this.options.duration * percent, 0, 1, this.options.duration);\n else this.pos = eased = percent;\n this.now = (this.end - this.start) * eased + this.start;\n if (this.options.step) this.options.step.call(this.elem, this.now, this);\n if (hooks && hooks.set) hooks.set(this);\n else Tween.propHooks._default.set(this);\n return this;\n }\n };\n Tween.prototype.init.prototype = Tween.prototype;\n Tween.propHooks = {\n _default: {\n get: function(tween) {\n var result;\n // Use a property on the element directly when it is not a DOM element,\n // or when there is no matching style property that exists.\n if (tween.elem.nodeType !== 1 || tween.elem[tween.prop] != null && tween.elem.style[tween.prop] == null) return tween.elem[tween.prop];\n // Passing an empty string as a 3rd parameter to .css will automatically\n // attempt a parseFloat and fallback to a string if the parse fails.\n // Simple values such as \"10px\" are parsed to Float;\n // complex values such as \"rotate(1rad)\" are returned as-is.\n result = jQuery.css(tween.elem, tween.prop, \"\");\n // Empty strings, null, undefined and \"auto\" are converted to 0.\n return !result || result === \"auto\" ? 0 : result;\n },\n set: function(tween) {\n // Use step hook for back compat.\n // Use cssHook if its there.\n // Use .style if available and use plain properties where available.\n if (jQuery.fx.step[tween.prop]) jQuery.fx.step[tween.prop](tween);\n else if (tween.elem.nodeType === 1 && (jQuery.cssHooks[tween.prop] || tween.elem.style[finalPropName(tween.prop)] != null)) jQuery.style(tween.elem, tween.prop, tween.now + tween.unit);\n else tween.elem[tween.prop] = tween.now;\n }\n }\n };\n // Support: IE <=9 only\n // Panic based approach to setting things on disconnected nodes\n Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {\n set: function(tween) {\n if (tween.elem.nodeType && tween.elem.parentNode) tween.elem[tween.prop] = tween.now;\n }\n };\n jQuery.easing = {\n linear: function(p) {\n return p;\n },\n swing: function(p) {\n return 0.5 - Math.cos(p * Math.PI) / 2;\n },\n _default: \"swing\"\n };\n jQuery.fx = Tween.prototype.init;\n // Back compat <1.8 extension point\n jQuery.fx.step = {};\n var fxNow, inProgress, rfxtypes = /^(?:toggle|show|hide)$/, rrun = /queueHooks$/;\n function schedule() {\n if (inProgress) {\n if (document.hidden === false && window1.requestAnimationFrame) window1.requestAnimationFrame(schedule);\n else window1.setTimeout(schedule, jQuery.fx.interval);\n jQuery.fx.tick();\n }\n }\n // Animations created synchronously will run synchronously\n function createFxNow() {\n window1.setTimeout(function() {\n fxNow = undefined;\n });\n return fxNow = Date.now();\n }\n // Generate parameters to create a standard animation\n function genFx(type, includeWidth) {\n var which, i = 0, attrs = {\n height: type\n };\n // If we include width, step value is 1 to do all cssExpand values,\n // otherwise step value is 2 to skip over Left and Right\n includeWidth = includeWidth ? 1 : 0;\n for(; i < 4; i += 2 - includeWidth){\n which = cssExpand[i];\n attrs[\"margin\" + which] = attrs[\"padding\" + which] = type;\n }\n if (includeWidth) attrs.opacity = attrs.width = type;\n return attrs;\n }\n function createTween(value, prop, animation) {\n var tween, collection = (Animation.tweeners[prop] || []).concat(Animation.tweeners[\"*\"]), index = 0, length = collection.length;\n for(; index < length; index++){\n if (tween = collection[index].call(animation, prop, value)) // We're done with this property\n return tween;\n }\n }\n function defaultPrefilter(elem, props, opts) {\n var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, isBox = \"width\" in props || \"height\" in props, anim = this, orig = {}, style = elem.style, hidden = elem.nodeType && isHiddenWithinTree(elem), dataShow = dataPriv.get(elem, \"fxshow\");\n // Queue-skipping animations hijack the fx hooks\n if (!opts.queue) {\n hooks = jQuery._queueHooks(elem, \"fx\");\n if (hooks.unqueued == null) {\n hooks.unqueued = 0;\n oldfire = hooks.empty.fire;\n hooks.empty.fire = function() {\n if (!hooks.unqueued) oldfire();\n };\n }\n hooks.unqueued++;\n anim.always(function() {\n // Ensure the complete handler is called before this completes\n anim.always(function() {\n hooks.unqueued--;\n if (!jQuery.queue(elem, \"fx\").length) hooks.empty.fire();\n });\n });\n }\n // Detect show/hide animations\n for(prop in props){\n value = props[prop];\n if (rfxtypes.test(value)) {\n delete props[prop];\n toggle = toggle || value === \"toggle\";\n if (value === (hidden ? \"hide\" : \"show\")) {\n // Pretend to be hidden if this is a \"show\" and\n // there is still data from a stopped show/hide\n if (value === \"show\" && dataShow && dataShow[prop] !== undefined) hidden = true;\n else continue;\n }\n orig[prop] = dataShow && dataShow[prop] || jQuery.style(elem, prop);\n }\n }\n // Bail out if this is a no-op like .hide().hide()\n propTween = !jQuery.isEmptyObject(props);\n if (!propTween && jQuery.isEmptyObject(orig)) return;\n // Restrict \"overflow\" and \"display\" styles during box animations\n if (isBox && elem.nodeType === 1) {\n // Support: IE <=9 - 11, Edge 12 - 15\n // Record all 3 overflow attributes because IE does not infer the shorthand\n // from identically-valued overflowX and overflowY and Edge just mirrors\n // the overflowX value there.\n opts.overflow = [\n style.overflow,\n style.overflowX,\n style.overflowY\n ];\n // Identify a display type, preferring old show/hide data over the CSS cascade\n restoreDisplay = dataShow && dataShow.display;\n if (restoreDisplay == null) restoreDisplay = dataPriv.get(elem, \"display\");\n display = jQuery.css(elem, \"display\");\n if (display === \"none\") {\n if (restoreDisplay) display = restoreDisplay;\n else {\n // Get nonempty value(s) by temporarily forcing visibility\n showHide([\n elem\n ], true);\n restoreDisplay = elem.style.display || restoreDisplay;\n display = jQuery.css(elem, \"display\");\n showHide([\n elem\n ]);\n }\n }\n // Animate inline elements as inline-block\n if (display === \"inline\" || display === \"inline-block\" && restoreDisplay != null) {\n if (jQuery.css(elem, \"float\") === \"none\") {\n // Restore the original display value at the end of pure show/hide animations\n if (!propTween) {\n anim.done(function() {\n style.display = restoreDisplay;\n });\n if (restoreDisplay == null) {\n display = style.display;\n restoreDisplay = display === \"none\" ? \"\" : display;\n }\n }\n style.display = \"inline-block\";\n }\n }\n }\n if (opts.overflow) {\n style.overflow = \"hidden\";\n anim.always(function() {\n style.overflow = opts.overflow[0];\n style.overflowX = opts.overflow[1];\n style.overflowY = opts.overflow[2];\n });\n }\n // Implement show/hide animations\n propTween = false;\n for(prop in orig){\n // General show/hide setup for this element animation\n if (!propTween) {\n if (dataShow) {\n if (\"hidden\" in dataShow) hidden = dataShow.hidden;\n } else dataShow = dataPriv.access(elem, \"fxshow\", {\n display: restoreDisplay\n });\n // Store hidden/visible for toggle so `.stop().toggle()` \"reverses\"\n if (toggle) dataShow.hidden = !hidden;\n // Show elements before animating them\n if (hidden) showHide([\n elem\n ], true);\n /* eslint-disable no-loop-func */ anim.done(function() {\n /* eslint-enable no-loop-func */ // The final step of a \"hide\" animation is actually hiding the element\n if (!hidden) showHide([\n elem\n ]);\n dataPriv.remove(elem, \"fxshow\");\n for(prop in orig)jQuery.style(elem, prop, orig[prop]);\n });\n }\n // Per-property setup\n propTween = createTween(hidden ? dataShow[prop] : 0, prop, anim);\n if (!(prop in dataShow)) {\n dataShow[prop] = propTween.start;\n if (hidden) {\n propTween.end = propTween.start;\n propTween.start = 0;\n }\n }\n }\n }\n function propFilter(props, specialEasing) {\n var index, name, easing, value, hooks;\n // camelCase, specialEasing and expand cssHook pass\n for(index in props){\n name = camelCase(index);\n easing = specialEasing[name];\n value = props[index];\n if (Array.isArray(value)) {\n easing = value[1];\n value = props[index] = value[0];\n }\n if (index !== name) {\n props[name] = value;\n delete props[index];\n }\n hooks = jQuery.cssHooks[name];\n if (hooks && \"expand\" in hooks) {\n value = hooks.expand(value);\n delete props[name];\n // Not quite $.extend, this won't overwrite existing keys.\n // Reusing 'index' because we have the correct \"name\"\n for(index in value)if (!(index in props)) {\n props[index] = value[index];\n specialEasing[index] = easing;\n }\n } else specialEasing[name] = easing;\n }\n }\n function Animation(elem, properties, options) {\n var result, stopped, index = 0, length = Animation.prefilters.length, deferred = jQuery.Deferred().always(function() {\n // Don't match elem in the :animated selector\n delete tick.elem;\n }), tick = function() {\n if (stopped) return false;\n var currentTime = fxNow || createFxNow(), remaining = Math.max(0, animation.startTime + animation.duration - currentTime), // Support: Android 2.3 only\n // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (trac-12497)\n temp = remaining / animation.duration || 0, percent = 1 - temp, index = 0, length = animation.tweens.length;\n for(; index < length; index++)animation.tweens[index].run(percent);\n deferred.notifyWith(elem, [\n animation,\n percent,\n remaining\n ]);\n // If there's more to do, yield\n if (percent < 1 && length) return remaining;\n // If this was an empty animation, synthesize a final progress notification\n if (!length) deferred.notifyWith(elem, [\n animation,\n 1,\n 0\n ]);\n // Resolve the animation and report its conclusion\n deferred.resolveWith(elem, [\n animation\n ]);\n return false;\n }, animation = deferred.promise({\n elem: elem,\n props: jQuery.extend({}, properties),\n opts: jQuery.extend(true, {\n specialEasing: {},\n easing: jQuery.easing._default\n }, options),\n originalProperties: properties,\n originalOptions: options,\n startTime: fxNow || createFxNow(),\n duration: options.duration,\n tweens: [],\n createTween: function(prop, end) {\n var tween = jQuery.Tween(elem, animation.opts, prop, end, animation.opts.specialEasing[prop] || animation.opts.easing);\n animation.tweens.push(tween);\n return tween;\n },\n stop: function(gotoEnd) {\n var index = 0, // If we are going to the end, we want to run all the tweens\n // otherwise we skip this part\n length = gotoEnd ? animation.tweens.length : 0;\n if (stopped) return this;\n stopped = true;\n for(; index < length; index++)animation.tweens[index].run(1);\n // Resolve when we played the last frame; otherwise, reject\n if (gotoEnd) {\n deferred.notifyWith(elem, [\n animation,\n 1,\n 0\n ]);\n deferred.resolveWith(elem, [\n animation,\n gotoEnd\n ]);\n } else deferred.rejectWith(elem, [\n animation,\n gotoEnd\n ]);\n return this;\n }\n }), props = animation.props;\n propFilter(props, animation.opts.specialEasing);\n for(; index < length; index++){\n result = Animation.prefilters[index].call(animation, elem, props, animation.opts);\n if (result) {\n if (isFunction(result.stop)) jQuery._queueHooks(animation.elem, animation.opts.queue).stop = result.stop.bind(result);\n return result;\n }\n }\n jQuery.map(props, createTween, animation);\n if (isFunction(animation.opts.start)) animation.opts.start.call(elem, animation);\n // Attach callbacks from options\n animation.progress(animation.opts.progress).done(animation.opts.done, animation.opts.complete).fail(animation.opts.fail).always(animation.opts.always);\n jQuery.fx.timer(jQuery.extend(tick, {\n elem: elem,\n anim: animation,\n queue: animation.opts.queue\n }));\n return animation;\n }\n jQuery.Animation = jQuery.extend(Animation, {\n tweeners: {\n \"*\": [\n function(prop, value) {\n var tween = this.createTween(prop, value);\n adjustCSS(tween.elem, prop, rcssNum.exec(value), tween);\n return tween;\n }\n ]\n },\n tweener: function(props, callback) {\n if (isFunction(props)) {\n callback = props;\n props = [\n \"*\"\n ];\n } else props = props.match(rnothtmlwhite);\n var prop, index = 0, length = props.length;\n for(; index < length; index++){\n prop = props[index];\n Animation.tweeners[prop] = Animation.tweeners[prop] || [];\n Animation.tweeners[prop].unshift(callback);\n }\n },\n prefilters: [\n defaultPrefilter\n ],\n prefilter: function(callback, prepend) {\n if (prepend) Animation.prefilters.unshift(callback);\n else Animation.prefilters.push(callback);\n }\n });\n jQuery.speed = function(speed, easing, fn) {\n var opt = speed && typeof speed === \"object\" ? jQuery.extend({}, speed) : {\n complete: fn || !fn && easing || isFunction(speed) && speed,\n duration: speed,\n easing: fn && easing || easing && !isFunction(easing) && easing\n };\n // Go to the end state if fx are off\n if (jQuery.fx.off) opt.duration = 0;\n else if (typeof opt.duration !== \"number\") {\n if (opt.duration in jQuery.fx.speeds) opt.duration = jQuery.fx.speeds[opt.duration];\n else opt.duration = jQuery.fx.speeds._default;\n }\n // Normalize opt.queue - true/undefined/null -> \"fx\"\n if (opt.queue == null || opt.queue === true) opt.queue = \"fx\";\n // Queueing\n opt.old = opt.complete;\n opt.complete = function() {\n if (isFunction(opt.old)) opt.old.call(this);\n if (opt.queue) jQuery.dequeue(this, opt.queue);\n };\n return opt;\n };\n jQuery.fn.extend({\n fadeTo: function(speed, to, easing, callback) {\n // Show any hidden elements after setting opacity to 0\n return this.filter(isHiddenWithinTree).css(\"opacity\", 0).show()// Animate to the value specified\n .end().animate({\n opacity: to\n }, speed, easing, callback);\n },\n animate: function(prop, speed, easing, callback) {\n var empty = jQuery.isEmptyObject(prop), optall = jQuery.speed(speed, easing, callback), doAnimation = function() {\n // Operate on a copy of prop so per-property easing won't be lost\n var anim = Animation(this, jQuery.extend({}, prop), optall);\n // Empty animations, or finishing resolves immediately\n if (empty || dataPriv.get(this, \"finish\")) anim.stop(true);\n };\n doAnimation.finish = doAnimation;\n return empty || optall.queue === false ? this.each(doAnimation) : this.queue(optall.queue, doAnimation);\n },\n stop: function(type, clearQueue, gotoEnd) {\n var stopQueue = function(hooks) {\n var stop = hooks.stop;\n delete hooks.stop;\n stop(gotoEnd);\n };\n if (typeof type !== \"string\") {\n gotoEnd = clearQueue;\n clearQueue = type;\n type = undefined;\n }\n if (clearQueue) this.queue(type || \"fx\", []);\n return this.each(function() {\n var dequeue = true, index = type != null && type + \"queueHooks\", timers = jQuery.timers, data = dataPriv.get(this);\n if (index) {\n if (data[index] && data[index].stop) stopQueue(data[index]);\n } else {\n for(index in data)if (data[index] && data[index].stop && rrun.test(index)) stopQueue(data[index]);\n }\n for(index = timers.length; index--;)if (timers[index].elem === this && (type == null || timers[index].queue === type)) {\n timers[index].anim.stop(gotoEnd);\n dequeue = false;\n timers.splice(index, 1);\n }\n // Start the next in the queue if the last step wasn't forced.\n // Timers currently will call their complete callbacks, which\n // will dequeue but only if they were gotoEnd.\n if (dequeue || !gotoEnd) jQuery.dequeue(this, type);\n });\n },\n finish: function(type) {\n if (type !== false) type = type || \"fx\";\n return this.each(function() {\n var index, data = dataPriv.get(this), queue = data[type + \"queue\"], hooks = data[type + \"queueHooks\"], timers = jQuery.timers, length = queue ? queue.length : 0;\n // Enable finishing flag on private data\n data.finish = true;\n // Empty the queue first\n jQuery.queue(this, type, []);\n if (hooks && hooks.stop) hooks.stop.call(this, true);\n // Look for any active animations, and finish them\n for(index = timers.length; index--;)if (timers[index].elem === this && timers[index].queue === type) {\n timers[index].anim.stop(true);\n timers.splice(index, 1);\n }\n // Look for any animations in the old queue and finish them\n for(index = 0; index < length; index++)if (queue[index] && queue[index].finish) queue[index].finish.call(this);\n // Turn off finishing flag\n delete data.finish;\n });\n }\n });\n jQuery.each([\n \"toggle\",\n \"show\",\n \"hide\"\n ], function(_i, name) {\n var cssFn = jQuery.fn[name];\n jQuery.fn[name] = function(speed, easing, callback) {\n return speed == null || typeof speed === \"boolean\" ? cssFn.apply(this, arguments) : this.animate(genFx(name, true), speed, easing, callback);\n };\n });\n // Generate shortcuts for custom animations\n jQuery.each({\n slideDown: genFx(\"show\"),\n slideUp: genFx(\"hide\"),\n slideToggle: genFx(\"toggle\"),\n fadeIn: {\n opacity: \"show\"\n },\n fadeOut: {\n opacity: \"hide\"\n },\n fadeToggle: {\n opacity: \"toggle\"\n }\n }, function(name, props) {\n jQuery.fn[name] = function(speed, easing, callback) {\n return this.animate(props, speed, easing, callback);\n };\n });\n jQuery.timers = [];\n jQuery.fx.tick = function() {\n var timer, i = 0, timers = jQuery.timers;\n fxNow = Date.now();\n for(; i < timers.length; i++){\n timer = timers[i];\n // Run the timer and safely remove it when done (allowing for external removal)\n if (!timer() && timers[i] === timer) timers.splice(i--, 1);\n }\n if (!timers.length) jQuery.fx.stop();\n fxNow = undefined;\n };\n jQuery.fx.timer = function(timer) {\n jQuery.timers.push(timer);\n jQuery.fx.start();\n };\n jQuery.fx.interval = 13;\n jQuery.fx.start = function() {\n if (inProgress) return;\n inProgress = true;\n schedule();\n };\n jQuery.fx.stop = function() {\n inProgress = null;\n };\n jQuery.fx.speeds = {\n slow: 600,\n fast: 200,\n // Default speed\n _default: 400\n };\n // Based off of the plugin by Clint Helfers, with permission.\n jQuery.fn.delay = function(time, type) {\n time = jQuery.fx ? jQuery.fx.speeds[time] || time : time;\n type = type || \"fx\";\n return this.queue(type, function(next, hooks) {\n var timeout = window1.setTimeout(next, time);\n hooks.stop = function() {\n window1.clearTimeout(timeout);\n };\n });\n };\n (function() {\n var input = document.createElement(\"input\"), select = document.createElement(\"select\"), opt = select.appendChild(document.createElement(\"option\"));\n input.type = \"checkbox\";\n // Support: Android <=4.3 only\n // Default value for a checkbox should be \"on\"\n support.checkOn = input.value !== \"\";\n // Support: IE <=11 only\n // Must access selectedIndex to make default options select\n support.optSelected = opt.selected;\n // Support: IE <=11 only\n // An input loses its value after becoming a radio\n input = document.createElement(\"input\");\n input.value = \"t\";\n input.type = \"radio\";\n support.radioValue = input.value === \"t\";\n })();\n var boolHook, attrHandle = jQuery.expr.attrHandle;\n jQuery.fn.extend({\n attr: function(name, value) {\n return access(this, jQuery.attr, name, value, arguments.length > 1);\n },\n removeAttr: function(name) {\n return this.each(function() {\n jQuery.removeAttr(this, name);\n });\n }\n });\n jQuery.extend({\n attr: function(elem, name, value) {\n var ret, hooks, nType = elem.nodeType;\n // Don't get/set attributes on text, comment and attribute nodes\n if (nType === 3 || nType === 8 || nType === 2) return;\n // Fallback to prop when attributes are not supported\n if (typeof elem.getAttribute === \"undefined\") return jQuery.prop(elem, name, value);\n // Attribute hooks are determined by the lowercase version\n // Grab necessary hook if one is defined\n if (nType !== 1 || !jQuery.isXMLDoc(elem)) hooks = jQuery.attrHooks[name.toLowerCase()] || (jQuery.expr.match.bool.test(name) ? boolHook : undefined);\n if (value !== undefined) {\n if (value === null) {\n jQuery.removeAttr(elem, name);\n return;\n }\n if (hooks && \"set\" in hooks && (ret = hooks.set(elem, value, name)) !== undefined) return ret;\n elem.setAttribute(name, value + \"\");\n return value;\n }\n if (hooks && \"get\" in hooks && (ret = hooks.get(elem, name)) !== null) return ret;\n ret = jQuery.find.attr(elem, name);\n // Non-existent attributes return null, we normalize to undefined\n return ret == null ? undefined : ret;\n },\n attrHooks: {\n type: {\n set: function(elem, value) {\n if (!support.radioValue && value === \"radio\" && nodeName(elem, \"input\")) {\n var val = elem.value;\n elem.setAttribute(\"type\", value);\n if (val) elem.value = val;\n return value;\n }\n }\n }\n },\n removeAttr: function(elem, value) {\n var name, i = 0, // Attribute names can contain non-HTML whitespace characters\n // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n attrNames = value && value.match(rnothtmlwhite);\n if (attrNames && elem.nodeType === 1) while(name = attrNames[i++])elem.removeAttribute(name);\n }\n });\n // Hooks for boolean attributes\n boolHook = {\n set: function(elem, value, name) {\n if (value === false) // Remove boolean attributes when set to false\n jQuery.removeAttr(elem, name);\n else elem.setAttribute(name, name);\n return name;\n }\n };\n jQuery.each(jQuery.expr.match.bool.source.match(/\\w+/g), function(_i, name) {\n var getter = attrHandle[name] || jQuery.find.attr;\n attrHandle[name] = function(elem, name, isXML) {\n var ret, handle, lowercaseName = name.toLowerCase();\n if (!isXML) {\n // Avoid an infinite loop by temporarily removing this function from the getter\n handle = attrHandle[lowercaseName];\n attrHandle[lowercaseName] = ret;\n ret = getter(elem, name, isXML) != null ? lowercaseName : null;\n attrHandle[lowercaseName] = handle;\n }\n return ret;\n };\n });\n var rfocusable = /^(?:input|select|textarea|button)$/i, rclickable = /^(?:a|area)$/i;\n jQuery.fn.extend({\n prop: function(name, value) {\n return access(this, jQuery.prop, name, value, arguments.length > 1);\n },\n removeProp: function(name) {\n return this.each(function() {\n delete this[jQuery.propFix[name] || name];\n });\n }\n });\n jQuery.extend({\n prop: function(elem, name, value) {\n var ret, hooks, nType = elem.nodeType;\n // Don't get/set properties on text, comment and attribute nodes\n if (nType === 3 || nType === 8 || nType === 2) return;\n if (nType !== 1 || !jQuery.isXMLDoc(elem)) {\n // Fix name and attach hooks\n name = jQuery.propFix[name] || name;\n hooks = jQuery.propHooks[name];\n }\n if (value !== undefined) {\n if (hooks && \"set\" in hooks && (ret = hooks.set(elem, value, name)) !== undefined) return ret;\n return elem[name] = value;\n }\n if (hooks && \"get\" in hooks && (ret = hooks.get(elem, name)) !== null) return ret;\n return elem[name];\n },\n propHooks: {\n tabIndex: {\n get: function(elem) {\n // Support: IE <=9 - 11 only\n // elem.tabIndex doesn't always return the\n // correct value when it hasn't been explicitly set\n // Use proper attribute retrieval (trac-12072)\n var tabindex = jQuery.find.attr(elem, \"tabindex\");\n if (tabindex) return parseInt(tabindex, 10);\n if (rfocusable.test(elem.nodeName) || rclickable.test(elem.nodeName) && elem.href) return 0;\n return -1;\n }\n }\n },\n propFix: {\n \"for\": \"htmlFor\",\n \"class\": \"className\"\n }\n });\n // Support: IE <=11 only\n // Accessing the selectedIndex property\n // forces the browser to respect setting selected\n // on the option\n // The getter ensures a default option is selected\n // when in an optgroup\n // eslint rule \"no-unused-expressions\" is disabled for this code\n // since it considers such accessions noop\n if (!support.optSelected) jQuery.propHooks.selected = {\n get: function(elem) {\n /* eslint no-unused-expressions: \"off\" */ var parent = elem.parentNode;\n if (parent && parent.parentNode) parent.parentNode.selectedIndex;\n return null;\n },\n set: function(elem) {\n /* eslint no-unused-expressions: \"off\" */ var parent = elem.parentNode;\n if (parent) {\n parent.selectedIndex;\n if (parent.parentNode) parent.parentNode.selectedIndex;\n }\n }\n };\n jQuery.each([\n \"tabIndex\",\n \"readOnly\",\n \"maxLength\",\n \"cellSpacing\",\n \"cellPadding\",\n \"rowSpan\",\n \"colSpan\",\n \"useMap\",\n \"frameBorder\",\n \"contentEditable\"\n ], function() {\n jQuery.propFix[this.toLowerCase()] = this;\n });\n // Strip and collapse whitespace according to HTML spec\n // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace\n function stripAndCollapse(value) {\n var tokens = value.match(rnothtmlwhite) || [];\n return tokens.join(\" \");\n }\n function getClass(elem) {\n return elem.getAttribute && elem.getAttribute(\"class\") || \"\";\n }\n function classesToArray(value) {\n if (Array.isArray(value)) return value;\n if (typeof value === \"string\") return value.match(rnothtmlwhite) || [];\n return [];\n }\n jQuery.fn.extend({\n addClass: function(value) {\n var classNames, cur, curValue, className, i, finalValue;\n if (isFunction(value)) return this.each(function(j) {\n jQuery(this).addClass(value.call(this, j, getClass(this)));\n });\n classNames = classesToArray(value);\n if (classNames.length) return this.each(function() {\n curValue = getClass(this);\n cur = this.nodeType === 1 && \" \" + stripAndCollapse(curValue) + \" \";\n if (cur) {\n for(i = 0; i < classNames.length; i++){\n className = classNames[i];\n if (cur.indexOf(\" \" + className + \" \") < 0) cur += className + \" \";\n }\n // Only assign if different to avoid unneeded rendering.\n finalValue = stripAndCollapse(cur);\n if (curValue !== finalValue) this.setAttribute(\"class\", finalValue);\n }\n });\n return this;\n },\n removeClass: function(value) {\n var classNames, cur, curValue, className, i, finalValue;\n if (isFunction(value)) return this.each(function(j) {\n jQuery(this).removeClass(value.call(this, j, getClass(this)));\n });\n if (!arguments.length) return this.attr(\"class\", \"\");\n classNames = classesToArray(value);\n if (classNames.length) return this.each(function() {\n curValue = getClass(this);\n // This expression is here for better compressibility (see addClass)\n cur = this.nodeType === 1 && \" \" + stripAndCollapse(curValue) + \" \";\n if (cur) {\n for(i = 0; i < classNames.length; i++){\n className = classNames[i];\n // Remove *all* instances\n while(cur.indexOf(\" \" + className + \" \") > -1)cur = cur.replace(\" \" + className + \" \", \" \");\n }\n // Only assign if different to avoid unneeded rendering.\n finalValue = stripAndCollapse(cur);\n if (curValue !== finalValue) this.setAttribute(\"class\", finalValue);\n }\n });\n return this;\n },\n toggleClass: function(value, stateVal) {\n var classNames, className, i, self, type = typeof value, isValidValue = type === \"string\" || Array.isArray(value);\n if (isFunction(value)) return this.each(function(i) {\n jQuery(this).toggleClass(value.call(this, i, getClass(this), stateVal), stateVal);\n });\n if (typeof stateVal === \"boolean\" && isValidValue) return stateVal ? this.addClass(value) : this.removeClass(value);\n classNames = classesToArray(value);\n return this.each(function() {\n if (isValidValue) {\n // Toggle individual class names\n self = jQuery(this);\n for(i = 0; i < classNames.length; i++){\n className = classNames[i];\n // Check each className given, space separated list\n if (self.hasClass(className)) self.removeClass(className);\n else self.addClass(className);\n }\n // Toggle whole class name\n } else if (value === undefined || type === \"boolean\") {\n className = getClass(this);\n if (className) // Store className if set\n dataPriv.set(this, \"__className__\", className);\n // If the element has a class name or if we're passed `false`,\n // then remove the whole classname (if there was one, the above saved it).\n // Otherwise bring back whatever was previously saved (if anything),\n // falling back to the empty string if nothing was stored.\n if (this.setAttribute) this.setAttribute(\"class\", className || value === false ? \"\" : dataPriv.get(this, \"__className__\") || \"\");\n }\n });\n },\n hasClass: function(selector) {\n var className, elem, i = 0;\n className = \" \" + selector + \" \";\n while(elem = this[i++]){\n if (elem.nodeType === 1 && (\" \" + stripAndCollapse(getClass(elem)) + \" \").indexOf(className) > -1) return true;\n }\n return false;\n }\n });\n var rreturn = /\\r/g;\n jQuery.fn.extend({\n val: function(value) {\n var hooks, ret, valueIsFunction, elem = this[0];\n if (!arguments.length) {\n if (elem) {\n hooks = jQuery.valHooks[elem.type] || jQuery.valHooks[elem.nodeName.toLowerCase()];\n if (hooks && \"get\" in hooks && (ret = hooks.get(elem, \"value\")) !== undefined) return ret;\n ret = elem.value;\n // Handle most common string cases\n if (typeof ret === \"string\") return ret.replace(rreturn, \"\");\n // Handle cases where value is null/undef or number\n return ret == null ? \"\" : ret;\n }\n return;\n }\n valueIsFunction = isFunction(value);\n return this.each(function(i) {\n var val;\n if (this.nodeType !== 1) return;\n if (valueIsFunction) val = value.call(this, i, jQuery(this).val());\n else val = value;\n // Treat null/undefined as \"\"; convert numbers to string\n if (val == null) val = \"\";\n else if (typeof val === \"number\") val += \"\";\n else if (Array.isArray(val)) val = jQuery.map(val, function(value) {\n return value == null ? \"\" : value + \"\";\n });\n hooks = jQuery.valHooks[this.type] || jQuery.valHooks[this.nodeName.toLowerCase()];\n // If set returns undefined, fall back to normal setting\n if (!hooks || !(\"set\" in hooks) || hooks.set(this, val, \"value\") === undefined) this.value = val;\n });\n }\n });\n jQuery.extend({\n valHooks: {\n option: {\n get: function(elem) {\n var val = jQuery.find.attr(elem, \"value\");\n return val != null ? val : // Support: IE <=10 - 11 only\n // option.text throws exceptions (trac-14686, trac-14858)\n // Strip and collapse whitespace\n // https://html.spec.whatwg.org/#strip-and-collapse-whitespace\n stripAndCollapse(jQuery.text(elem));\n }\n },\n select: {\n get: function(elem) {\n var value, option, i, options = elem.options, index = elem.selectedIndex, one = elem.type === \"select-one\", values = one ? null : [], max = one ? index + 1 : options.length;\n if (index < 0) i = max;\n else i = one ? index : 0;\n // Loop through all the selected options\n for(; i < max; i++){\n option = options[i];\n // Support: IE <=9 only\n // IE8-9 doesn't update selected after form reset (trac-2551)\n if ((option.selected || i === index) && // Don't return options that are disabled or in a disabled optgroup\n !option.disabled && (!option.parentNode.disabled || !nodeName(option.parentNode, \"optgroup\"))) {\n // Get the specific value for the option\n value = jQuery(option).val();\n // We don't need an array for one selects\n if (one) return value;\n // Multi-Selects return an array\n values.push(value);\n }\n }\n return values;\n },\n set: function(elem, value) {\n var optionSet, option, options = elem.options, values = jQuery.makeArray(value), i = options.length;\n while(i--){\n option = options[i];\n /* eslint-disable no-cond-assign */ if (option.selected = jQuery.inArray(jQuery.valHooks.option.get(option), values) > -1) optionSet = true;\n /* eslint-enable no-cond-assign */ }\n // Force browsers to behave consistently when non-matching value is set\n if (!optionSet) elem.selectedIndex = -1;\n return values;\n }\n }\n }\n });\n // Radios and checkboxes getter/setter\n jQuery.each([\n \"radio\",\n \"checkbox\"\n ], function() {\n jQuery.valHooks[this] = {\n set: function(elem, value) {\n if (Array.isArray(value)) return elem.checked = jQuery.inArray(jQuery(elem).val(), value) > -1;\n }\n };\n if (!support.checkOn) jQuery.valHooks[this].get = function(elem) {\n return elem.getAttribute(\"value\") === null ? \"on\" : elem.value;\n };\n });\n // Return jQuery for attributes-only inclusion\n var location = window1.location;\n var nonce = {\n guid: Date.now()\n };\n var rquery = /\\?/;\n // Cross-browser xml parsing\n jQuery.parseXML = function(data) {\n var xml, parserErrorElem;\n if (!data || typeof data !== \"string\") return null;\n // Support: IE 9 - 11 only\n // IE throws on parseFromString with invalid input.\n try {\n xml = new window1.DOMParser().parseFromString(data, \"text/xml\");\n } catch (e) {}\n parserErrorElem = xml && xml.getElementsByTagName(\"parsererror\")[0];\n if (!xml || parserErrorElem) jQuery.error(\"Invalid XML: \" + (parserErrorElem ? jQuery.map(parserErrorElem.childNodes, function(el) {\n return el.textContent;\n }).join(\"\\n\") : data));\n return xml;\n };\n var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, stopPropagationCallback = function(e) {\n e.stopPropagation();\n };\n jQuery.extend(jQuery.event, {\n trigger: function(event, data, elem, onlyHandlers) {\n var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, eventPath = [\n elem || document\n ], type = hasOwn.call(event, \"type\") ? event.type : event, namespaces = hasOwn.call(event, \"namespace\") ? event.namespace.split(\".\") : [];\n cur = lastElement = tmp = elem = elem || document;\n // Don't do events on text and comment nodes\n if (elem.nodeType === 3 || elem.nodeType === 8) return;\n // focus/blur morphs to focusin/out; ensure we're not firing them right now\n if (rfocusMorph.test(type + jQuery.event.triggered)) return;\n if (type.indexOf(\".\") > -1) {\n // Namespaced trigger; create a regexp to match event type in handle()\n namespaces = type.split(\".\");\n type = namespaces.shift();\n namespaces.sort();\n }\n ontype = type.indexOf(\":\") < 0 && \"on\" + type;\n // Caller can pass in a jQuery.Event object, Object, or just an event type string\n event = event[jQuery.expando] ? event : new jQuery.Event(type, typeof event === \"object\" && event);\n // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)\n event.isTrigger = onlyHandlers ? 2 : 3;\n event.namespace = namespaces.join(\".\");\n event.rnamespace = event.namespace ? new RegExp(\"(^|\\\\.)\" + namespaces.join(\"\\\\.(?:.*\\\\.|)\") + \"(\\\\.|$)\") : null;\n // Clean up the event in case it is being reused\n event.result = undefined;\n if (!event.target) event.target = elem;\n // Clone any incoming data and prepend the event, creating the handler arg list\n data = data == null ? [\n event\n ] : jQuery.makeArray(data, [\n event\n ]);\n // Allow special events to draw outside the lines\n special = jQuery.event.special[type] || {};\n if (!onlyHandlers && special.trigger && special.trigger.apply(elem, data) === false) return;\n // Determine event propagation path in advance, per W3C events spec (trac-9951)\n // Bubble up to document, then to window; watch for a global ownerDocument var (trac-9724)\n if (!onlyHandlers && !special.noBubble && !isWindow(elem)) {\n bubbleType = special.delegateType || type;\n if (!rfocusMorph.test(bubbleType + type)) cur = cur.parentNode;\n for(; cur; cur = cur.parentNode){\n eventPath.push(cur);\n tmp = cur;\n }\n // Only add window if we got to document (e.g., not plain obj or detached DOM)\n if (tmp === (elem.ownerDocument || document)) eventPath.push(tmp.defaultView || tmp.parentWindow || window1);\n }\n // Fire handlers on the event path\n i = 0;\n while((cur = eventPath[i++]) && !event.isPropagationStopped()){\n lastElement = cur;\n event.type = i > 1 ? bubbleType : special.bindType || type;\n // jQuery handler\n handle = (dataPriv.get(cur, \"events\") || Object.create(null))[event.type] && dataPriv.get(cur, \"handle\");\n if (handle) handle.apply(cur, data);\n // Native handler\n handle = ontype && cur[ontype];\n if (handle && handle.apply && acceptData(cur)) {\n event.result = handle.apply(cur, data);\n if (event.result === false) event.preventDefault();\n }\n }\n event.type = type;\n // If nobody prevented the default action, do it now\n if (!onlyHandlers && !event.isDefaultPrevented()) {\n if ((!special._default || special._default.apply(eventPath.pop(), data) === false) && acceptData(elem)) // Call a native DOM method on the target with the same name as the event.\n // Don't do default actions on window, that's where global variables be (trac-6170)\n {\n if (ontype && isFunction(elem[type]) && !isWindow(elem)) {\n // Don't re-trigger an onFOO event when we call its FOO() method\n tmp = elem[ontype];\n if (tmp) elem[ontype] = null;\n // Prevent re-triggering of the same event, since we already bubbled it above\n jQuery.event.triggered = type;\n if (event.isPropagationStopped()) lastElement.addEventListener(type, stopPropagationCallback);\n elem[type]();\n if (event.isPropagationStopped()) lastElement.removeEventListener(type, stopPropagationCallback);\n jQuery.event.triggered = undefined;\n if (tmp) elem[ontype] = tmp;\n }\n }\n }\n return event.result;\n },\n // Piggyback on a donor event to simulate a different one\n // Used only for `focus(in | out)` events\n simulate: function(type, elem, event) {\n var e = jQuery.extend(new jQuery.Event(), event, {\n type: type,\n isSimulated: true\n });\n jQuery.event.trigger(e, null, elem);\n }\n });\n jQuery.fn.extend({\n trigger: function(type, data) {\n return this.each(function() {\n jQuery.event.trigger(type, data, this);\n });\n },\n triggerHandler: function(type, data) {\n var elem = this[0];\n if (elem) return jQuery.event.trigger(type, data, elem, true);\n }\n });\n var rbracket = /\\[\\]$/, rCRLF = /\\r?\\n/g, rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, rsubmittable = /^(?:input|select|textarea|keygen)/i;\n function buildParams(prefix, obj, traditional, add) {\n var name;\n if (Array.isArray(obj)) // Serialize array item.\n jQuery.each(obj, function(i, v) {\n if (traditional || rbracket.test(prefix)) // Treat each array item as a scalar.\n add(prefix, v);\n else // Item is non-scalar (array or object), encode its numeric index.\n buildParams(prefix + \"[\" + (typeof v === \"object\" && v != null ? i : \"\") + \"]\", v, traditional, add);\n });\n else if (!traditional && toType(obj) === \"object\") // Serialize object item.\n for(name in obj)buildParams(prefix + \"[\" + name + \"]\", obj[name], traditional, add);\n else // Serialize scalar item.\n add(prefix, obj);\n }\n // Serialize an array of form elements or a set of\n // key/values into a query string\n jQuery.param = function(a, traditional) {\n var prefix, s = [], add = function(key, valueOrFunction) {\n // If value is a function, invoke it and use its return value\n var value = isFunction(valueOrFunction) ? valueOrFunction() : valueOrFunction;\n s[s.length] = encodeURIComponent(key) + \"=\" + encodeURIComponent(value == null ? \"\" : value);\n };\n if (a == null) return \"\";\n // If an array was passed in, assume that it is an array of form elements.\n if (Array.isArray(a) || a.jquery && !jQuery.isPlainObject(a)) // Serialize the form elements\n jQuery.each(a, function() {\n add(this.name, this.value);\n });\n else // If traditional, encode the \"old\" way (the way 1.3.2 or older\n // did it), otherwise encode params recursively.\n for(prefix in a)buildParams(prefix, a[prefix], traditional, add);\n // Return the resulting serialization\n return s.join(\"&\");\n };\n jQuery.fn.extend({\n serialize: function() {\n return jQuery.param(this.serializeArray());\n },\n serializeArray: function() {\n return this.map(function() {\n // Can add propHook for \"elements\" to filter or add form elements\n var elements = jQuery.prop(this, \"elements\");\n return elements ? jQuery.makeArray(elements) : this;\n }).filter(function() {\n var type = this.type;\n // Use .is( \":disabled\" ) so that fieldset[disabled] works\n return this.name && !jQuery(this).is(\":disabled\") && rsubmittable.test(this.nodeName) && !rsubmitterTypes.test(type) && (this.checked || !rcheckableType.test(type));\n }).map(function(_i, elem) {\n var val = jQuery(this).val();\n if (val == null) return null;\n if (Array.isArray(val)) return jQuery.map(val, function(val) {\n return {\n name: elem.name,\n value: val.replace(rCRLF, \"\\r\\n\")\n };\n });\n return {\n name: elem.name,\n value: val.replace(rCRLF, \"\\r\\n\")\n };\n }).get();\n }\n });\n var r20 = /%20/g, rhash = /#.*$/, rantiCache = /([?&])_=[^&]*/, rheaders = /^(.*?):[ \\t]*([^\\r\\n]*)$/mg, // trac-7653, trac-8125, trac-8152: local protocol detection\n rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, rnoContent = /^(?:GET|HEAD)$/, rprotocol = /^\\/\\//, /* Prefilters\n\t * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)\n\t * 2) These are called:\n\t * - BEFORE asking for a transport\n\t * - AFTER param serialization (s.data is a string if s.processData is true)\n\t * 3) key is the dataType\n\t * 4) the catchall symbol \"*\" can be used\n\t * 5) execution will start with transport dataType and THEN continue down to \"*\" if needed\n\t */ prefilters = {}, /* Transports bindings\n\t * 1) key is the dataType\n\t * 2) the catchall symbol \"*\" can be used\n\t * 3) selection will start with transport dataType and THEN go to \"*\" if needed\n\t */ transports = {}, // Avoid comment-prolog char sequence (trac-10098); must appease lint and evade compression\n allTypes = \"*/\".concat(\"*\"), // Anchor tag for parsing the document origin\n originAnchor = document.createElement(\"a\");\n originAnchor.href = location.href;\n // Base \"constructor\" for jQuery.ajaxPrefilter and jQuery.ajaxTransport\n function addToPrefiltersOrTransports(structure) {\n // dataTypeExpression is optional and defaults to \"*\"\n return function(dataTypeExpression, func) {\n if (typeof dataTypeExpression !== \"string\") {\n func = dataTypeExpression;\n dataTypeExpression = \"*\";\n }\n var dataType, i = 0, dataTypes = dataTypeExpression.toLowerCase().match(rnothtmlwhite) || [];\n if (isFunction(func)) {\n // For each dataType in the dataTypeExpression\n while(dataType = dataTypes[i++])// Prepend if requested\n if (dataType[0] === \"+\") {\n dataType = dataType.slice(1) || \"*\";\n (structure[dataType] = structure[dataType] || []).unshift(func);\n // Otherwise append\n } else (structure[dataType] = structure[dataType] || []).push(func);\n }\n };\n }\n // Base inspection function for prefilters and transports\n function inspectPrefiltersOrTransports(structure, options, originalOptions, jqXHR) {\n var inspected = {}, seekingTransport = structure === transports;\n function inspect(dataType) {\n var selected;\n inspected[dataType] = true;\n jQuery.each(structure[dataType] || [], function(_, prefilterOrFactory) {\n var dataTypeOrTransport = prefilterOrFactory(options, originalOptions, jqXHR);\n if (typeof dataTypeOrTransport === \"string\" && !seekingTransport && !inspected[dataTypeOrTransport]) {\n options.dataTypes.unshift(dataTypeOrTransport);\n inspect(dataTypeOrTransport);\n return false;\n } else if (seekingTransport) return !(selected = dataTypeOrTransport);\n });\n return selected;\n }\n return inspect(options.dataTypes[0]) || !inspected[\"*\"] && inspect(\"*\");\n }\n // A special extend for ajax options\n // that takes \"flat\" options (not to be deep extended)\n // Fixes trac-9887\n function ajaxExtend(target, src) {\n var key, deep, flatOptions = jQuery.ajaxSettings.flatOptions || {};\n for(key in src)if (src[key] !== undefined) (flatOptions[key] ? target : deep || (deep = {}))[key] = src[key];\n if (deep) jQuery.extend(true, target, deep);\n return target;\n }\n /* Handles responses to an ajax request:\n * - finds the right dataType (mediates between content-type and expected dataType)\n * - returns the corresponding response\n */ function ajaxHandleResponses(s, jqXHR, responses) {\n var ct, type, finalDataType, firstDataType, contents = s.contents, dataTypes = s.dataTypes;\n // Remove auto dataType and get content-type in the process\n while(dataTypes[0] === \"*\"){\n dataTypes.shift();\n if (ct === undefined) ct = s.mimeType || jqXHR.getResponseHeader(\"Content-Type\");\n }\n // Check if we're dealing with a known content-type\n if (ct) {\n for(type in contents)if (contents[type] && contents[type].test(ct)) {\n dataTypes.unshift(type);\n break;\n }\n }\n // Check to see if we have a response for the expected dataType\n if (dataTypes[0] in responses) finalDataType = dataTypes[0];\n else {\n // Try convertible dataTypes\n for(type in responses){\n if (!dataTypes[0] || s.converters[type + \" \" + dataTypes[0]]) {\n finalDataType = type;\n break;\n }\n if (!firstDataType) firstDataType = type;\n }\n // Or just use first one\n finalDataType = finalDataType || firstDataType;\n }\n // If we found a dataType\n // We add the dataType to the list if needed\n // and return the corresponding response\n if (finalDataType) {\n if (finalDataType !== dataTypes[0]) dataTypes.unshift(finalDataType);\n return responses[finalDataType];\n }\n }\n /* Chain conversions given the request and the original response\n * Also sets the responseXXX fields on the jqXHR instance\n */ function ajaxConvert(s, response, jqXHR, isSuccess) {\n var conv2, current, conv, tmp, prev, converters = {}, // Work with a copy of dataTypes in case we need to modify it for conversion\n dataTypes = s.dataTypes.slice();\n // Create converters map with lowercased keys\n if (dataTypes[1]) for(conv in s.converters)converters[conv.toLowerCase()] = s.converters[conv];\n current = dataTypes.shift();\n // Convert to each sequential dataType\n while(current){\n if (s.responseFields[current]) jqXHR[s.responseFields[current]] = response;\n // Apply the dataFilter if provided\n if (!prev && isSuccess && s.dataFilter) response = s.dataFilter(response, s.dataType);\n prev = current;\n current = dataTypes.shift();\n if (current) {\n // There's only work to do if current dataType is non-auto\n if (current === \"*\") current = prev;\n else if (prev !== \"*\" && prev !== current) {\n // Seek a direct converter\n conv = converters[prev + \" \" + current] || converters[\"* \" + current];\n // If none found, seek a pair\n if (!conv) for(conv2 in converters){\n // If conv2 outputs current\n tmp = conv2.split(\" \");\n if (tmp[1] === current) {\n // If prev can be converted to accepted input\n conv = converters[prev + \" \" + tmp[0]] || converters[\"* \" + tmp[0]];\n if (conv) {\n // Condense equivalence converters\n if (conv === true) conv = converters[conv2];\n else if (converters[conv2] !== true) {\n current = tmp[0];\n dataTypes.unshift(tmp[1]);\n }\n break;\n }\n }\n }\n // Apply converter (if not an equivalence)\n if (conv !== true) {\n // Unless errors are allowed to bubble, catch and return them\n if (conv && s.throws) response = conv(response);\n else try {\n response = conv(response);\n } catch (e) {\n return {\n state: \"parsererror\",\n error: conv ? e : \"No conversion from \" + prev + \" to \" + current\n };\n }\n }\n }\n }\n }\n return {\n state: \"success\",\n data: response\n };\n }\n jQuery.extend({\n // Counter for holding the number of active queries\n active: 0,\n // Last-Modified header cache for next request\n lastModified: {},\n etag: {},\n ajaxSettings: {\n url: location.href,\n type: \"GET\",\n isLocal: rlocalProtocol.test(location.protocol),\n global: true,\n processData: true,\n async: true,\n contentType: \"application/x-www-form-urlencoded; charset=UTF-8\",\n /*\n\t\ttimeout: 0,\n\t\tdata: null,\n\t\tdataType: null,\n\t\tusername: null,\n\t\tpassword: null,\n\t\tcache: null,\n\t\tthrows: false,\n\t\ttraditional: false,\n\t\theaders: {},\n\t\t*/ accepts: {\n \"*\": allTypes,\n text: \"text/plain\",\n html: \"text/html\",\n xml: \"application/xml, text/xml\",\n json: \"application/json, text/javascript\"\n },\n contents: {\n xml: /\\bxml\\b/,\n html: /\\bhtml/,\n json: /\\bjson\\b/\n },\n responseFields: {\n xml: \"responseXML\",\n text: \"responseText\",\n json: \"responseJSON\"\n },\n // Data converters\n // Keys separate source (or catchall \"*\") and destination types with a single space\n converters: {\n // Convert anything to text\n \"* text\": String,\n // Text to html (true = no transformation)\n \"text html\": true,\n // Evaluate text as a json expression\n \"text json\": JSON.parse,\n // Parse text as xml\n \"text xml\": jQuery.parseXML\n },\n // For options that shouldn't be deep extended:\n // you can add your own custom options here if\n // and when you create one that shouldn't be\n // deep extended (see ajaxExtend)\n flatOptions: {\n url: true,\n context: true\n }\n },\n // Creates a full fledged settings object into target\n // with both ajaxSettings and settings fields.\n // If target is omitted, writes into ajaxSettings.\n ajaxSetup: function(target, settings) {\n return settings ? // Building a settings object\n ajaxExtend(ajaxExtend(target, jQuery.ajaxSettings), settings) : // Extending ajaxSettings\n ajaxExtend(jQuery.ajaxSettings, target);\n },\n ajaxPrefilter: addToPrefiltersOrTransports(prefilters),\n ajaxTransport: addToPrefiltersOrTransports(transports),\n // Main method\n ajax: function(url, options) {\n // If url is an object, simulate pre-1.5 signature\n if (typeof url === \"object\") {\n options = url;\n url = undefined;\n }\n // Force options to be an object\n options = options || {};\n var transport, // URL without anti-cache param\n cacheURL, // Response headers\n responseHeadersString, responseHeaders, // timeout handle\n timeoutTimer, // Url cleanup var\n urlAnchor, // Request state (becomes false upon send and true upon completion)\n completed, // To know if global events are to be dispatched\n fireGlobals, // Loop variable\n i, // uncached part of the url\n uncached, // Create the final options object\n s = jQuery.ajaxSetup({}, options), // Callbacks context\n callbackContext = s.context || s, // Context for global events is callbackContext if it is a DOM node or jQuery collection\n globalEventContext = s.context && (callbackContext.nodeType || callbackContext.jquery) ? jQuery(callbackContext) : jQuery.event, // Deferreds\n deferred = jQuery.Deferred(), completeDeferred = jQuery.Callbacks(\"once memory\"), // Status-dependent callbacks\n statusCode = s.statusCode || {}, // Headers (they are sent all at once)\n requestHeaders = {}, requestHeadersNames = {}, // Default abort message\n strAbort = \"canceled\", // Fake xhr\n jqXHR = {\n readyState: 0,\n // Builds headers hashtable if needed\n getResponseHeader: function(key) {\n var match;\n if (completed) {\n if (!responseHeaders) {\n responseHeaders = {};\n while(match = rheaders.exec(responseHeadersString))responseHeaders[match[1].toLowerCase() + \" \"] = (responseHeaders[match[1].toLowerCase() + \" \"] || []).concat(match[2]);\n }\n match = responseHeaders[key.toLowerCase() + \" \"];\n }\n return match == null ? null : match.join(\", \");\n },\n // Raw string\n getAllResponseHeaders: function() {\n return completed ? responseHeadersString : null;\n },\n // Caches the header\n setRequestHeader: function(name, value) {\n if (completed == null) {\n name = requestHeadersNames[name.toLowerCase()] = requestHeadersNames[name.toLowerCase()] || name;\n requestHeaders[name] = value;\n }\n return this;\n },\n // Overrides response content-type header\n overrideMimeType: function(type) {\n if (completed == null) s.mimeType = type;\n return this;\n },\n // Status-dependent callbacks\n statusCode: function(map) {\n var code;\n if (map) {\n if (completed) // Execute the appropriate callbacks\n jqXHR.always(map[jqXHR.status]);\n else // Lazy-add the new callbacks in a way that preserves old ones\n for(code in map)statusCode[code] = [\n statusCode[code],\n map[code]\n ];\n }\n return this;\n },\n // Cancel the request\n abort: function(statusText) {\n var finalText = statusText || strAbort;\n if (transport) transport.abort(finalText);\n done(0, finalText);\n return this;\n }\n };\n // Attach deferreds\n deferred.promise(jqXHR);\n // Add protocol if not provided (prefilters might expect it)\n // Handle falsy url in the settings object (trac-10093: consistency with old signature)\n // We also use the url parameter if available\n s.url = ((url || s.url || location.href) + \"\").replace(rprotocol, location.protocol + \"//\");\n // Alias method option to type as per ticket trac-12004\n s.type = options.method || options.type || s.method || s.type;\n // Extract dataTypes list\n s.dataTypes = (s.dataType || \"*\").toLowerCase().match(rnothtmlwhite) || [\n \"\"\n ];\n // A cross-domain request is in order when the origin doesn't match the current origin.\n if (s.crossDomain == null) {\n urlAnchor = document.createElement(\"a\");\n // Support: IE <=8 - 11, Edge 12 - 15\n // IE throws exception on accessing the href property if url is malformed,\n // e.g. http://example.com:80x/\n try {\n urlAnchor.href = s.url;\n // Support: IE <=8 - 11 only\n // Anchor's host property isn't correctly set when s.url is relative\n urlAnchor.href = urlAnchor.href;\n s.crossDomain = originAnchor.protocol + \"//\" + originAnchor.host !== urlAnchor.protocol + \"//\" + urlAnchor.host;\n } catch (e) {\n // If there is an error parsing the URL, assume it is crossDomain,\n // it can be rejected by the transport if it is invalid\n s.crossDomain = true;\n }\n }\n // Convert data if not already a string\n if (s.data && s.processData && typeof s.data !== \"string\") s.data = jQuery.param(s.data, s.traditional);\n // Apply prefilters\n inspectPrefiltersOrTransports(prefilters, s, options, jqXHR);\n // If request was aborted inside a prefilter, stop there\n if (completed) return jqXHR;\n // We can fire global events as of now if asked to\n // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (trac-15118)\n fireGlobals = jQuery.event && s.global;\n // Watch for a new set of requests\n if (fireGlobals && jQuery.active++ === 0) jQuery.event.trigger(\"ajaxStart\");\n // Uppercase the type\n s.type = s.type.toUpperCase();\n // Determine if request has content\n s.hasContent = !rnoContent.test(s.type);\n // Save the URL in case we're toying with the If-Modified-Since\n // and/or If-None-Match header later on\n // Remove hash to simplify url manipulation\n cacheURL = s.url.replace(rhash, \"\");\n // More options handling for requests with no content\n if (!s.hasContent) {\n // Remember the hash so we can put it back\n uncached = s.url.slice(cacheURL.length);\n // If data is available and should be processed, append data to url\n if (s.data && (s.processData || typeof s.data === \"string\")) {\n cacheURL += (rquery.test(cacheURL) ? \"&\" : \"?\") + s.data;\n // trac-9682: remove data so that it's not used in an eventual retry\n delete s.data;\n }\n // Add or update anti-cache param if needed\n if (s.cache === false) {\n cacheURL = cacheURL.replace(rantiCache, \"$1\");\n uncached = (rquery.test(cacheURL) ? \"&\" : \"?\") + \"_=\" + nonce.guid++ + uncached;\n }\n // Put hash and anti-cache on the URL that will be requested (gh-1732)\n s.url = cacheURL + uncached;\n // Change '%20' to '+' if this is encoded form body content (gh-2658)\n } else if (s.data && s.processData && (s.contentType || \"\").indexOf(\"application/x-www-form-urlencoded\") === 0) s.data = s.data.replace(r20, \"+\");\n // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n if (s.ifModified) {\n if (jQuery.lastModified[cacheURL]) jqXHR.setRequestHeader(\"If-Modified-Since\", jQuery.lastModified[cacheURL]);\n if (jQuery.etag[cacheURL]) jqXHR.setRequestHeader(\"If-None-Match\", jQuery.etag[cacheURL]);\n }\n // Set the correct header, if data is being sent\n if (s.data && s.hasContent && s.contentType !== false || options.contentType) jqXHR.setRequestHeader(\"Content-Type\", s.contentType);\n // Set the Accepts header for the server, depending on the dataType\n jqXHR.setRequestHeader(\"Accept\", s.dataTypes[0] && s.accepts[s.dataTypes[0]] ? s.accepts[s.dataTypes[0]] + (s.dataTypes[0] !== \"*\" ? \", \" + allTypes + \"; q=0.01\" : \"\") : s.accepts[\"*\"]);\n // Check for headers option\n for(i in s.headers)jqXHR.setRequestHeader(i, s.headers[i]);\n // Allow custom headers/mimetypes and early abort\n if (s.beforeSend && (s.beforeSend.call(callbackContext, jqXHR, s) === false || completed)) // Abort if not done already and return\n return jqXHR.abort();\n // Aborting is no longer a cancellation\n strAbort = \"abort\";\n // Install callbacks on deferreds\n completeDeferred.add(s.complete);\n jqXHR.done(s.success);\n jqXHR.fail(s.error);\n // Get transport\n transport = inspectPrefiltersOrTransports(transports, s, options, jqXHR);\n // If no transport, we auto-abort\n if (!transport) done(-1, \"No Transport\");\n else {\n jqXHR.readyState = 1;\n // Send global event\n if (fireGlobals) globalEventContext.trigger(\"ajaxSend\", [\n jqXHR,\n s\n ]);\n // If request was aborted inside ajaxSend, stop there\n if (completed) return jqXHR;\n // Timeout\n if (s.async && s.timeout > 0) timeoutTimer = window1.setTimeout(function() {\n jqXHR.abort(\"timeout\");\n }, s.timeout);\n try {\n completed = false;\n transport.send(requestHeaders, done);\n } catch (e) {\n // Rethrow post-completion exceptions\n if (completed) throw e;\n // Propagate others as results\n done(-1, e);\n }\n }\n // Callback for when everything is done\n function done(status, nativeStatusText, responses, headers) {\n var isSuccess, success, error, response, modified, statusText = nativeStatusText;\n // Ignore repeat invocations\n if (completed) return;\n completed = true;\n // Clear timeout if it exists\n if (timeoutTimer) window1.clearTimeout(timeoutTimer);\n // Dereference transport for early garbage collection\n // (no matter how long the jqXHR object will be used)\n transport = undefined;\n // Cache response headers\n responseHeadersString = headers || \"\";\n // Set readyState\n jqXHR.readyState = status > 0 ? 4 : 0;\n // Determine if successful\n isSuccess = status >= 200 && status < 300 || status === 304;\n // Get response data\n if (responses) response = ajaxHandleResponses(s, jqXHR, responses);\n // Use a noop converter for missing script but not if jsonp\n if (!isSuccess && jQuery.inArray(\"script\", s.dataTypes) > -1 && jQuery.inArray(\"json\", s.dataTypes) < 0) s.converters[\"text script\"] = function() {};\n // Convert no matter what (that way responseXXX fields are always set)\n response = ajaxConvert(s, response, jqXHR, isSuccess);\n // If successful, handle type chaining\n if (isSuccess) {\n // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n if (s.ifModified) {\n modified = jqXHR.getResponseHeader(\"Last-Modified\");\n if (modified) jQuery.lastModified[cacheURL] = modified;\n modified = jqXHR.getResponseHeader(\"etag\");\n if (modified) jQuery.etag[cacheURL] = modified;\n }\n // if no content\n if (status === 204 || s.type === \"HEAD\") statusText = \"nocontent\";\n else if (status === 304) statusText = \"notmodified\";\n else {\n statusText = response.state;\n success = response.data;\n error = response.error;\n isSuccess = !error;\n }\n } else {\n // Extract error from statusText and normalize for non-aborts\n error = statusText;\n if (status || !statusText) {\n statusText = \"error\";\n if (status < 0) status = 0;\n }\n }\n // Set data for the fake xhr object\n jqXHR.status = status;\n jqXHR.statusText = (nativeStatusText || statusText) + \"\";\n // Success/Error\n if (isSuccess) deferred.resolveWith(callbackContext, [\n success,\n statusText,\n jqXHR\n ]);\n else deferred.rejectWith(callbackContext, [\n jqXHR,\n statusText,\n error\n ]);\n // Status-dependent callbacks\n jqXHR.statusCode(statusCode);\n statusCode = undefined;\n if (fireGlobals) globalEventContext.trigger(isSuccess ? \"ajaxSuccess\" : \"ajaxError\", [\n jqXHR,\n s,\n isSuccess ? success : error\n ]);\n // Complete\n completeDeferred.fireWith(callbackContext, [\n jqXHR,\n statusText\n ]);\n if (fireGlobals) {\n globalEventContext.trigger(\"ajaxComplete\", [\n jqXHR,\n s\n ]);\n // Handle the global AJAX counter\n if (!--jQuery.active) jQuery.event.trigger(\"ajaxStop\");\n }\n }\n return jqXHR;\n },\n getJSON: function(url, data, callback) {\n return jQuery.get(url, data, callback, \"json\");\n },\n getScript: function(url, callback) {\n return jQuery.get(url, undefined, callback, \"script\");\n }\n });\n jQuery.each([\n \"get\",\n \"post\"\n ], function(_i, method) {\n jQuery[method] = function(url, data, callback, type) {\n // Shift arguments if data argument was omitted\n if (isFunction(data)) {\n type = type || callback;\n callback = data;\n data = undefined;\n }\n // The url can be an options object (which then must have .url)\n return jQuery.ajax(jQuery.extend({\n url: url,\n type: method,\n dataType: type,\n data: data,\n success: callback\n }, jQuery.isPlainObject(url) && url));\n };\n });\n jQuery.ajaxPrefilter(function(s) {\n var i;\n for(i in s.headers)if (i.toLowerCase() === \"content-type\") s.contentType = s.headers[i] || \"\";\n });\n jQuery._evalUrl = function(url, options, doc) {\n return jQuery.ajax({\n url: url,\n // Make this explicit, since user can override this through ajaxSetup (trac-11264)\n type: \"GET\",\n dataType: \"script\",\n cache: true,\n async: false,\n global: false,\n // Only evaluate the response if it is successful (gh-4126)\n // dataFilter is not invoked for failure responses, so using it instead\n // of the default converter is kludgy but it works.\n converters: {\n \"text script\": function() {}\n },\n dataFilter: function(response) {\n jQuery.globalEval(response, options, doc);\n }\n });\n };\n jQuery.fn.extend({\n wrapAll: function(html) {\n var wrap;\n if (this[0]) {\n if (isFunction(html)) html = html.call(this[0]);\n // The elements to wrap the target around\n wrap = jQuery(html, this[0].ownerDocument).eq(0).clone(true);\n if (this[0].parentNode) wrap.insertBefore(this[0]);\n wrap.map(function() {\n var elem = this;\n while(elem.firstElementChild)elem = elem.firstElementChild;\n return elem;\n }).append(this);\n }\n return this;\n },\n wrapInner: function(html) {\n if (isFunction(html)) return this.each(function(i) {\n jQuery(this).wrapInner(html.call(this, i));\n });\n return this.each(function() {\n var self = jQuery(this), contents = self.contents();\n if (contents.length) contents.wrapAll(html);\n else self.append(html);\n });\n },\n wrap: function(html) {\n var htmlIsFunction = isFunction(html);\n return this.each(function(i) {\n jQuery(this).wrapAll(htmlIsFunction ? html.call(this, i) : html);\n });\n },\n unwrap: function(selector) {\n this.parent(selector).not(\"body\").each(function() {\n jQuery(this).replaceWith(this.childNodes);\n });\n return this;\n }\n });\n jQuery.expr.pseudos.hidden = function(elem) {\n return !jQuery.expr.pseudos.visible(elem);\n };\n jQuery.expr.pseudos.visible = function(elem) {\n return !!(elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length);\n };\n jQuery.ajaxSettings.xhr = function() {\n try {\n return new window1.XMLHttpRequest();\n } catch (e) {}\n };\n var xhrSuccessStatus = {\n // File protocol always yields status code 0, assume 200\n 0: 200,\n // Support: IE <=9 only\n // trac-1450: sometimes IE returns 1223 when it should be 204\n 1223: 204\n }, xhrSupported = jQuery.ajaxSettings.xhr();\n support.cors = !!xhrSupported && \"withCredentials\" in xhrSupported;\n support.ajax = xhrSupported = !!xhrSupported;\n jQuery.ajaxTransport(function(options) {\n var callback, errorCallback;\n // Cross domain only allowed if supported through XMLHttpRequest\n if (support.cors || xhrSupported && !options.crossDomain) return {\n send: function(headers, complete) {\n var i, xhr = options.xhr();\n xhr.open(options.type, options.url, options.async, options.username, options.password);\n // Apply custom fields if provided\n if (options.xhrFields) for(i in options.xhrFields)xhr[i] = options.xhrFields[i];\n // Override mime type if needed\n if (options.mimeType && xhr.overrideMimeType) xhr.overrideMimeType(options.mimeType);\n // X-Requested-With header\n // For cross-domain requests, seeing as conditions for a preflight are\n // akin to a jigsaw puzzle, we simply never set it to be sure.\n // (it can always be set on a per-request basis or even using ajaxSetup)\n // For same-domain requests, won't change header if already provided.\n if (!options.crossDomain && !headers[\"X-Requested-With\"]) headers[\"X-Requested-With\"] = \"XMLHttpRequest\";\n // Set headers\n for(i in headers)xhr.setRequestHeader(i, headers[i]);\n // Callback\n callback = function(type) {\n return function() {\n if (callback) {\n callback = errorCallback = xhr.onload = xhr.onerror = xhr.onabort = xhr.ontimeout = xhr.onreadystatechange = null;\n if (type === \"abort\") xhr.abort();\n else if (type === \"error\") {\n // Support: IE <=9 only\n // On a manual native abort, IE9 throws\n // errors on any property access that is not readyState\n if (typeof xhr.status !== \"number\") complete(0, \"error\");\n else complete(// File: protocol always yields status 0; see trac-8605, trac-14207\n xhr.status, xhr.statusText);\n } else complete(xhrSuccessStatus[xhr.status] || xhr.status, xhr.statusText, // Support: IE <=9 only\n // IE9 has no XHR2 but throws on binary (trac-11426)\n // For XHR2 non-text, let the caller handle it (gh-2498)\n (xhr.responseType || \"text\") !== \"text\" || typeof xhr.responseText !== \"string\" ? {\n binary: xhr.response\n } : {\n text: xhr.responseText\n }, xhr.getAllResponseHeaders());\n }\n };\n };\n // Listen to events\n xhr.onload = callback();\n errorCallback = xhr.onerror = xhr.ontimeout = callback(\"error\");\n // Support: IE 9 only\n // Use onreadystatechange to replace onabort\n // to handle uncaught aborts\n if (xhr.onabort !== undefined) xhr.onabort = errorCallback;\n else xhr.onreadystatechange = function() {\n // Check readyState before timeout as it changes\n if (xhr.readyState === 4) // Allow onerror to be called first,\n // but that will not handle a native abort\n // Also, save errorCallback to a variable\n // as xhr.onerror cannot be accessed\n window1.setTimeout(function() {\n if (callback) errorCallback();\n });\n };\n // Create the abort callback\n callback = callback(\"abort\");\n try {\n // Do send the request (this may raise an exception)\n xhr.send(options.hasContent && options.data || null);\n } catch (e) {\n // trac-14683: Only rethrow if this hasn't been notified as an error yet\n if (callback) throw e;\n }\n },\n abort: function() {\n if (callback) callback();\n }\n };\n });\n // Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432)\n jQuery.ajaxPrefilter(function(s) {\n if (s.crossDomain) s.contents.script = false;\n });\n // Install script dataType\n jQuery.ajaxSetup({\n accepts: {\n script: \"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript\"\n },\n contents: {\n script: /\\b(?:java|ecma)script\\b/\n },\n converters: {\n \"text script\": function(text) {\n jQuery.globalEval(text);\n return text;\n }\n }\n });\n // Handle cache's special case and crossDomain\n jQuery.ajaxPrefilter(\"script\", function(s) {\n if (s.cache === undefined) s.cache = false;\n if (s.crossDomain) s.type = \"GET\";\n });\n // Bind script tag hack transport\n jQuery.ajaxTransport(\"script\", function(s) {\n // This transport only deals with cross domain or forced-by-attrs requests\n if (s.crossDomain || s.scriptAttrs) {\n var script, callback;\n return {\n send: function(_, complete) {\n script = jQuery(\"RingCentral WebPhone Demo

RingCentral WebPhone Demo

RingCentral WebPhone Demo

RingCentral WebPhone Demo

\ No newline at end of file + \ No newline at end of file diff --git a/docs/index.runtime.0ec7a71f.js b/docs/index.runtime.66609dc4.js similarity index 89% rename from docs/index.runtime.0ec7a71f.js rename to docs/index.runtime.66609dc4.js index acfeb85..6dccd8a 100644 --- a/docs/index.runtime.0ec7a71f.js +++ b/docs/index.runtime.66609dc4.js @@ -1,2 +1,2 @@ -function e(e,r,t,n){Object.defineProperty(e,r,{get:t,set:n,enumerable:!0,configurable:!0})}var r=globalThis,t={},n={},o=r.parcelRequire2073;null==o&&((o=function(e){if(e in t)return t[e].exports;if(e in n){var r=n[e];delete n[e];var o={id:e,exports:{}};return t[e]=o,r.call(o.exports,o,o.exports),o.exports}var i=Error("Cannot find module '"+e+"'");throw i.code="MODULE_NOT_FOUND",i}).register=function(e,r){n[e]=r},r.parcelRequire2073=o),(0,o.register)("27Lyk",function(r,t){e(r.exports,"register",()=>n,e=>n=e),e(r.exports,"resolve",()=>o,e=>o=e);var n,o,i=new Map;n=function(e,r){for(var t=0;tn,e=>n=e),e(r.exports,"resolve",()=>o,e=>o=e);var n,o,i=new Map;n=function(e,r){for(var t=0;t","node_modules/@parcel/runtime-js/lib/helpers/bundle-manifest.js","node_modules/@parcel/runtime-js/lib/runtime-971ffeb9dc515996.js"],"sourcesContent":["\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\n\n var $parcel$global = globalThis;\n \nvar $parcel$modules = {};\nvar $parcel$inits = {};\n\nvar parcelRequire = $parcel$global[\"parcelRequire2073\"];\n\nif (parcelRequire == null) {\n parcelRequire = function(id) {\n if (id in $parcel$modules) {\n return $parcel$modules[id].exports;\n }\n if (id in $parcel$inits) {\n var init = $parcel$inits[id];\n delete $parcel$inits[id];\n var module = {id: id, exports: {}};\n $parcel$modules[id] = module;\n init.call(module.exports, module, module.exports);\n return module.exports;\n }\n var err = new Error(\"Cannot find module '\" + id + \"'\");\n err.code = 'MODULE_NOT_FOUND';\n throw err;\n };\n\n parcelRequire.register = function register(id, init) {\n $parcel$inits[id] = init;\n };\n\n $parcel$global[\"parcelRequire2073\"] = parcelRequire;\n}\n\nvar parcelRegister = parcelRequire.register;\nparcelRegister(\"27Lyk\", function(module, exports) {\n\n$parcel$export(module.exports, \"register\", () => $18c11f3350a906ea$export$6503ec6e8aabbaf, (v) => $18c11f3350a906ea$export$6503ec6e8aabbaf = v);\n$parcel$export(module.exports, \"resolve\", () => $18c11f3350a906ea$export$f7ad0328861e2f03, (v) => $18c11f3350a906ea$export$f7ad0328861e2f03 = v);\nvar $18c11f3350a906ea$export$6503ec6e8aabbaf;\nvar $18c11f3350a906ea$export$f7ad0328861e2f03;\n\"use strict\";\nvar $18c11f3350a906ea$var$mapping = new Map();\nfunction $18c11f3350a906ea$var$register(baseUrl, manifest) {\n for(var i = 0; i < manifest.length - 1; i += 2)$18c11f3350a906ea$var$mapping.set(manifest[i], {\n baseUrl: baseUrl,\n path: manifest[i + 1]\n });\n}\nfunction $18c11f3350a906ea$var$resolve(id) {\n var resolved = $18c11f3350a906ea$var$mapping.get(id);\n if (resolved == null) throw new Error(\"Could not resolve bundle with id \" + id);\n return new URL(resolved.path, resolved.baseUrl).toString();\n}\n$18c11f3350a906ea$export$6503ec6e8aabbaf = $18c11f3350a906ea$var$register;\n$18c11f3350a906ea$export$f7ad0328861e2f03 = $18c11f3350a906ea$var$resolve;\n\n});\n\nvar $c292367b1bfefd0e$exports = {};\n\n(parcelRequire(\"27Lyk\")).register(new URL(\"\", import.meta.url).toString(), JSON.parse('[\"03wFJ\",\"index.eaffbaa8.js\",\"7tM2b\",\"incoming.4df5d2c2.ogg\",\"4weuN\",\"outgoing.32ff67a1.ogg\",\"ezIAn\",\"npm.9a40ac7c.js\",\"5mfQg\",\"index.ff75d985.js\",\"2hk2q\",\"index.f01e0bc4.css\"]'));\n\n\n//# sourceMappingURL=index.runtime.0ec7a71f.js.map\n","\"use strict\";\n\nvar mapping = new Map();\nfunction register(baseUrl, manifest) {\n for (var i = 0; i < manifest.length - 1; i += 2) {\n mapping.set(manifest[i], {\n baseUrl: baseUrl,\n path: manifest[i + 1]\n });\n }\n}\nfunction resolve(id) {\n var resolved = mapping.get(id);\n if (resolved == null) {\n throw new Error('Could not resolve bundle with id ' + id);\n }\n return new URL(resolved.path, resolved.baseUrl).toString();\n}\nmodule.exports.register = register;\nmodule.exports.resolve = resolve;","require('./helpers/bundle-manifest').register(new __parcel__URL__(\"\").toString(),JSON.parse(\"[\\\"03wFJ\\\",\\\"index.eaffbaa8.js\\\",\\\"7tM2b\\\",\\\"incoming.4df5d2c2.ogg\\\",\\\"4weuN\\\",\\\"outgoing.32ff67a1.ogg\\\",\\\"ezIAn\\\",\\\"npm.9a40ac7c.js\\\",\\\"5mfQg\\\",\\\"index.ff75d985.js\\\",\\\"2hk2q\\\",\\\"index.f01e0bc4.css\\\"]\"));"],"names":["$parcel$export","e","n","v","s","Object","defineProperty","get","set","enumerable","configurable","$parcel$global","globalThis","$parcel$modules","$parcel$inits","parcelRequire","id","exports","init","module","call","err","Error","code","register","parcelRegister","$18c11f3350a906ea$export$6503ec6e8aabbaf","$18c11f3350a906ea$export$f7ad0328861e2f03","$18c11f3350a906ea$var$mapping","Map","baseUrl","manifest","i","length","path","resolved","URL","toString","url","JSON","parse"],"version":3,"file":"index.runtime.0ec7a71f.js.map"} \ No newline at end of file +{"mappings":"A,S,E,C,C,C,C,C,C,C,E,O,c,C,E,E,C,I,E,I,E,W,C,E,a,C,C,E,C,I,E,W,E,C,E,E,C,E,E,E,iB,A,O,I,A,C,E,S,C,E,G,K,E,O,C,C,E,C,O,C,G,K,E,C,I,E,C,C,E,A,Q,C,C,E,C,I,E,C,G,E,Q,C,C,E,O,C,C,E,C,E,E,I,C,E,O,C,E,E,O,E,E,O,A,C,I,E,A,M,uB,E,I,O,E,I,C,mB,C,C,E,Q,C,S,C,C,C,E,C,C,E,C,C,E,E,iB,C,G,A,C,E,E,Q,A,E,Q,S,C,C,C,E,E,E,O,C,W,I,E,A,G,E,G,E,E,O,C,U,I,E,A,G,E,GCEA,IAgBA,EACA,EAjBI,EAAU,IAAI,IAgBlB,EAfA,SAAkB,CAAO,CAAE,CAAQ,EACjC,IAAK,IAAI,EAAI,EAAG,EAAI,EAAS,MAAM,CAAG,EAAG,GAAK,EAC5C,EAAQ,GAAG,CAAC,CAAQ,CAAC,EAAE,CAAE,CACvB,QAAS,EACT,KAAM,CAAQ,CAAC,EAAI,EAAE,AACvB,EAEJ,EASA,EARA,SAAiB,CAAE,EACjB,IAAI,EAAW,EAAQ,GAAG,CAAC,GAC3B,GAAI,AAAY,MAAZ,EACF,MAAM,AAAI,MAAM,oCAAsC,GAExD,OAAO,IAAI,IAAI,EAAS,IAAI,CAAE,EAAS,OAAO,EAAE,QAAQ,EAC1D,C,GCjBA,AAAA,EAAA,SAAA,QAAA,CAA8C,IAAA,IAAoB,GAAA,YAAA,GAAA,EAAI,QAAQ,GAAG,KAAK,KAAK,CAAC","sources":["","node_modules/@parcel/runtime-js/lib/helpers/bundle-manifest.js","node_modules/@parcel/runtime-js/lib/runtime-971ffeb9dc515996.js"],"sourcesContent":["\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\n\n var $parcel$global = globalThis;\n \nvar $parcel$modules = {};\nvar $parcel$inits = {};\n\nvar parcelRequire = $parcel$global[\"parcelRequire2073\"];\n\nif (parcelRequire == null) {\n parcelRequire = function(id) {\n if (id in $parcel$modules) {\n return $parcel$modules[id].exports;\n }\n if (id in $parcel$inits) {\n var init = $parcel$inits[id];\n delete $parcel$inits[id];\n var module = {id: id, exports: {}};\n $parcel$modules[id] = module;\n init.call(module.exports, module, module.exports);\n return module.exports;\n }\n var err = new Error(\"Cannot find module '\" + id + \"'\");\n err.code = 'MODULE_NOT_FOUND';\n throw err;\n };\n\n parcelRequire.register = function register(id, init) {\n $parcel$inits[id] = init;\n };\n\n $parcel$global[\"parcelRequire2073\"] = parcelRequire;\n}\n\nvar parcelRegister = parcelRequire.register;\nparcelRegister(\"27Lyk\", function(module, exports) {\n\n$parcel$export(module.exports, \"register\", () => $18c11f3350a906ea$export$6503ec6e8aabbaf, (v) => $18c11f3350a906ea$export$6503ec6e8aabbaf = v);\n$parcel$export(module.exports, \"resolve\", () => $18c11f3350a906ea$export$f7ad0328861e2f03, (v) => $18c11f3350a906ea$export$f7ad0328861e2f03 = v);\nvar $18c11f3350a906ea$export$6503ec6e8aabbaf;\nvar $18c11f3350a906ea$export$f7ad0328861e2f03;\n\"use strict\";\nvar $18c11f3350a906ea$var$mapping = new Map();\nfunction $18c11f3350a906ea$var$register(baseUrl, manifest) {\n for(var i = 0; i < manifest.length - 1; i += 2)$18c11f3350a906ea$var$mapping.set(manifest[i], {\n baseUrl: baseUrl,\n path: manifest[i + 1]\n });\n}\nfunction $18c11f3350a906ea$var$resolve(id) {\n var resolved = $18c11f3350a906ea$var$mapping.get(id);\n if (resolved == null) throw new Error(\"Could not resolve bundle with id \" + id);\n return new URL(resolved.path, resolved.baseUrl).toString();\n}\n$18c11f3350a906ea$export$6503ec6e8aabbaf = $18c11f3350a906ea$var$register;\n$18c11f3350a906ea$export$f7ad0328861e2f03 = $18c11f3350a906ea$var$resolve;\n\n});\n\nvar $c292367b1bfefd0e$exports = {};\n\n(parcelRequire(\"27Lyk\")).register(new URL(\"\", import.meta.url).toString(), JSON.parse('[\"03wFJ\",\"index.4e18dd33.js\",\"7tM2b\",\"incoming.4df5d2c2.ogg\",\"4weuN\",\"outgoing.32ff67a1.ogg\",\"ezIAn\",\"npm.9a40ac7c.js\",\"5mfQg\",\"index.ff75d985.js\",\"2hk2q\",\"index.f01e0bc4.css\"]'));\n\n\n//# sourceMappingURL=index.runtime.66609dc4.js.map\n","\"use strict\";\n\nvar mapping = new Map();\nfunction register(baseUrl, manifest) {\n for (var i = 0; i < manifest.length - 1; i += 2) {\n mapping.set(manifest[i], {\n baseUrl: baseUrl,\n path: manifest[i + 1]\n });\n }\n}\nfunction resolve(id) {\n var resolved = mapping.get(id);\n if (resolved == null) {\n throw new Error('Could not resolve bundle with id ' + id);\n }\n return new URL(resolved.path, resolved.baseUrl).toString();\n}\nmodule.exports.register = register;\nmodule.exports.resolve = resolve;","require('./helpers/bundle-manifest').register(new __parcel__URL__(\"\").toString(),JSON.parse(\"[\\\"03wFJ\\\",\\\"index.4e18dd33.js\\\",\\\"7tM2b\\\",\\\"incoming.4df5d2c2.ogg\\\",\\\"4weuN\\\",\\\"outgoing.32ff67a1.ogg\\\",\\\"ezIAn\\\",\\\"npm.9a40ac7c.js\\\",\\\"5mfQg\\\",\\\"index.ff75d985.js\\\",\\\"2hk2q\\\",\\\"index.f01e0bc4.css\\\"]\"));"],"names":["$parcel$export","e","n","v","s","Object","defineProperty","get","set","enumerable","configurable","$parcel$global","globalThis","$parcel$modules","$parcel$inits","parcelRequire","id","exports","init","module","call","err","Error","code","register","parcelRegister","$18c11f3350a906ea$export$6503ec6e8aabbaf","$18c11f3350a906ea$export$f7ad0328861e2f03","$18c11f3350a906ea$var$mapping","Map","baseUrl","manifest","i","length","path","resolved","URL","toString","url","JSON","parse"],"version":3,"file":"index.runtime.66609dc4.js.map"} \ No newline at end of file diff --git a/package.json b/package.json index 7f8f83e..db85611 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ringcentral-web-phone", - "version": "1.0.1", + "version": "1.0.2", "homepage": "https://github.com/ringcentral/ringcentral-web-phone", "bugs": { "url": "https://github.com/ringcentral/ringcentral-web-phone/issues" @@ -41,21 +41,21 @@ "lint": "eslint --fix '**/*.{ts,tsx,js,jsx}' && prettier --write . && sort-package-json", "serve": "rm -rf .parcel-cache && parcel demo/index.html demo/callback.html --dist-dir docs", "test": "jest src/mediaStreams.spec.ts", - "test:coverage": "cat .coverage/lcov.info | coveralls -v", - "test2": "NODE_OPTIONS=--require=dotenv-override-true/config playwright test test/index.spec.ts --workers=1" + "test2": "NODE_OPTIONS=--require=dotenv-override-true/config playwright test test/index.spec.ts --workers=1", + "test:coverage": "cat .coverage/lcov.info | coveralls -v" }, "dependencies": { "sip.js": "^0.21.2" }, "devDependencies": { "@faker-js/faker": "^8.4.1", - "@playwright/test": "^1.44.0", + "@playwright/test": "^1.44.1", "@rc-ex/core": "^1.3.15", "@ringcentral/sdk": "^5.0.1", "@types/jest": "^29.5.12", - "@types/node": "^20.12.11", - "@typescript-eslint/eslint-plugin": "^7.8.0", - "@typescript-eslint/parser": "^7.8.0", + "@types/node": "^20.14.2", + "@typescript-eslint/eslint-plugin": "^7.13.0", + "@typescript-eslint/parser": "^7.13.0", "bootstrap": "3.4.1", "buffer": "^6.0.3", "coveralls": "^3.1.1", @@ -64,21 +64,21 @@ "eslint": "8.57.0", "eslint-config-alloy": "^5.1.2", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-jest": "^28.5.0", + "eslint-plugin-jest": "^28.6.0", "eslint-plugin-prettier": "^5.1.3", "events": "^3.3.0", "http-server": "^14.1.1", "jest": "^29.7.0", "jquery": "^3.7.1", "parcel": "^2.12.0", - "prettier": "^3.2.5", + "prettier": "^3.3.1", "process": "^0.11.10", "querystring-es3": "^0.2.1", "sort-package-json": "^2.10.0", "stream-browserify": "^3.0.0", - "ts-jest": "^29.1.2", + "ts-jest": "^29.1.4", "ts-node": "^10.9.2", - "ttpt": "^0.8.9", + "ttpt": "^0.9.6", "typescript": "^5.4.5", "wait-for-async": "^0.6.1", "yarn-upgrade-all": "^0.7.2" diff --git a/src/audioHelper.ts b/src/audioHelper.ts index a658769..ea76bab 100644 --- a/src/audioHelper.ts +++ b/src/audioHelper.ts @@ -55,7 +55,7 @@ export class AudioHelper { * @returns */ public playIncoming(value: boolean): AudioHelper { - return this._playSound(this._incoming!, value, this.volume || 0.5); + return this._playSound(this._incoming!, value, this.volume ?? 0.5); } /** @@ -64,7 +64,7 @@ export class AudioHelper { * @returns */ public playOutgoing(value: boolean): AudioHelper { - return this._playSound(this._outgoing!, value, this.volume || 1); + return this._playSound(this._outgoing!, value, this.volume ?? 1); } private _playSound(url: string, val: boolean, volume: number): AudioHelper { diff --git a/yarn.lock b/yarn.lock index 40115bc..6e271be 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1351,12 +1351,12 @@ resolved "https://registry.yarnpkg.com/@pkgr/core/-/core-0.1.1.tgz#1ec17e2edbec25c8306d424ecfbf13c7de1aaa31" integrity sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA== -"@playwright/test@^1.44.0": - version "1.44.0" - resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.44.0.tgz#ac7a764b5ee6a80558bdc0fcbc525fcb81f83465" - integrity sha512-rNX5lbNidamSUorBhB4XZ9SQTjAqfe5M+p37Z8ic0jPFBMo5iCtQz1kRWkEMg+rYOKSlVycpQmpqjSFq7LXOfg== +"@playwright/test@^1.44.1": + version "1.44.1" + resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.44.1.tgz#cc874ec31342479ad99838040e99b5f604299bcb" + integrity sha512-1hZ4TNvD5z9VuhNJ/walIjvMVvYkZKf71axoF/uiAqpntQJXpG64dlXhoDXE3OczPuTuvjf/M5KWFg5VAVUS3Q== dependencies: - playwright "1.44.0" + playwright "1.44.1" "@rc-ex/core@^1.3.15": version "1.3.15" @@ -1588,10 +1588,10 @@ resolved "https://registry.npmjs.org/@types/node/-/node-20.2.3.tgz#b31eb300610c3835ac008d690de6f87e28f9b878" integrity sha512-pg9d0yC4rVNWQzX8U7xb4olIOFuuVL9za3bzMT2pu2SU0SNEi66i2qrvhE2qt0HvkhuCaWJu7pLNOt/Pj8BIrw== -"@types/node@^20.12.11": - version "20.12.11" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.12.11.tgz#c4ef00d3507000d17690643278a60dc55a9dc9be" - integrity sha512-vDg9PZ/zi+Nqp6boSOT7plNuthRugEKixDv5sFTIpkE89MmNtEArAShI4mxuX2+UrLEe9pxC1vm2cjm9YlWbJw== +"@types/node@^20.14.2": + version "20.14.2" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.14.2.tgz#a5f4d2bcb4b6a87bffcaa717718c5a0f208f4a18" + integrity sha512-xyu6WAMVwv6AKFLB+e/7ySZVr/0zLCzOa7rSpq6jNwpqOrUbcACDWC+53d4n2QHOnDou0fbIsg8wZu/sxrnI4Q== dependencies: undici-types "~5.26.4" @@ -1622,34 +1622,40 @@ dependencies: "@types/yargs-parser" "*" -"@typescript-eslint/eslint-plugin@^7.8.0": - version "7.8.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.8.0.tgz#c78e309fe967cb4de05b85cdc876fb95f8e01b6f" - integrity sha512-gFTT+ezJmkwutUPmB0skOj3GZJtlEGnlssems4AjkVweUPGj7jRwwqg0Hhg7++kPGJqKtTYx+R05Ftww372aIg== +"@typescript-eslint/eslint-plugin@^7.13.0": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.13.0.tgz#3cdeb5d44d051b21a9567535dd90702b2a42c6ff" + integrity sha512-FX1X6AF0w8MdVFLSdqwqN/me2hyhuQg4ykN6ZpVhh1ij/80pTvDKclX1sZB9iqex8SjQfVhwMKs3JtnnMLzG9w== dependencies: "@eslint-community/regexpp" "^4.10.0" - "@typescript-eslint/scope-manager" "7.8.0" - "@typescript-eslint/type-utils" "7.8.0" - "@typescript-eslint/utils" "7.8.0" - "@typescript-eslint/visitor-keys" "7.8.0" - debug "^4.3.4" + "@typescript-eslint/scope-manager" "7.13.0" + "@typescript-eslint/type-utils" "7.13.0" + "@typescript-eslint/utils" "7.13.0" + "@typescript-eslint/visitor-keys" "7.13.0" graphemer "^1.4.0" ignore "^5.3.1" natural-compare "^1.4.0" - semver "^7.6.0" ts-api-utils "^1.3.0" -"@typescript-eslint/parser@^7.8.0": - version "7.8.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-7.8.0.tgz#1e1db30c8ab832caffee5f37e677dbcb9357ddc8" - integrity sha512-KgKQly1pv0l4ltcftP59uQZCi4HUYswCLbTqVZEJu7uLX8CTLyswqMLqLN+2QFz4jCptqWVV4SB7vdxcH2+0kQ== +"@typescript-eslint/parser@^7.13.0": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-7.13.0.tgz#9489098d68d57ad392f507495f2b82ce8b8f0a6b" + integrity sha512-EjMfl69KOS9awXXe83iRN7oIEXy9yYdqWfqdrFAYAAr6syP8eLEFI7ZE4939antx2mNgPRW/o1ybm2SFYkbTVA== dependencies: - "@typescript-eslint/scope-manager" "7.8.0" - "@typescript-eslint/types" "7.8.0" - "@typescript-eslint/typescript-estree" "7.8.0" - "@typescript-eslint/visitor-keys" "7.8.0" + "@typescript-eslint/scope-manager" "7.13.0" + "@typescript-eslint/types" "7.13.0" + "@typescript-eslint/typescript-estree" "7.13.0" + "@typescript-eslint/visitor-keys" "7.13.0" debug "^4.3.4" +"@typescript-eslint/scope-manager@7.13.0": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-7.13.0.tgz#6927d6451537ce648c6af67a2327378d4cc18462" + integrity sha512-ZrMCe1R6a01T94ilV13egvcnvVJ1pxShkE0+NDjDzH4nvG1wXpwsVI5bZCvE7AEDH1mXEx5tJSVR68bLgG7Dng== + dependencies: + "@typescript-eslint/types" "7.13.0" + "@typescript-eslint/visitor-keys" "7.13.0" + "@typescript-eslint/scope-manager@7.8.0": version "7.8.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-7.8.0.tgz#bb19096d11ec6b87fb6640d921df19b813e02047" @@ -1658,21 +1664,40 @@ "@typescript-eslint/types" "7.8.0" "@typescript-eslint/visitor-keys" "7.8.0" -"@typescript-eslint/type-utils@7.8.0": - version "7.8.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-7.8.0.tgz#9de166f182a6e4d1c5da76e94880e91831e3e26f" - integrity sha512-H70R3AefQDQpz9mGv13Uhi121FNMh+WEaRqcXTX09YEDky21km4dV1ZXJIp8QjXc4ZaVkXVdohvWDzbnbHDS+A== +"@typescript-eslint/type-utils@7.13.0": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-7.13.0.tgz#4587282b5227a23753ea8b233805ecafc3924c76" + integrity sha512-xMEtMzxq9eRkZy48XuxlBFzpVMDurUAfDu5Rz16GouAtXm0TaAoTFzqWUFPPuQYXI/CDaH/Bgx/fk/84t/Bc9A== dependencies: - "@typescript-eslint/typescript-estree" "7.8.0" - "@typescript-eslint/utils" "7.8.0" + "@typescript-eslint/typescript-estree" "7.13.0" + "@typescript-eslint/utils" "7.13.0" debug "^4.3.4" ts-api-utils "^1.3.0" +"@typescript-eslint/types@7.13.0": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-7.13.0.tgz#0cca95edf1f1fdb0cfe1bb875e121b49617477c5" + integrity sha512-QWuwm9wcGMAuTsxP+qz6LBBd3Uq8I5Nv8xb0mk54jmNoCyDspnMvVsOxI6IsMmway5d1S9Su2+sCKv1st2l6eA== + "@typescript-eslint/types@7.8.0": version "7.8.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-7.8.0.tgz#1fd2577b3ad883b769546e2d1ef379f929a7091d" integrity sha512-wf0peJ+ZGlcH+2ZS23aJbOv+ztjeeP8uQ9GgwMJGVLx/Nj9CJt17GWgWWoSmoRVKAX2X+7fzEnAjxdvK2gqCLw== +"@typescript-eslint/typescript-estree@7.13.0": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-7.13.0.tgz#4cc24fc155088ebf3b3adbad62c7e60f72c6de1c" + integrity sha512-cAvBvUoobaoIcoqox1YatXOnSl3gx92rCZoMRPzMNisDiM12siGilSM4+dJAekuuHTibI2hVC2fYK79iSFvWjw== + dependencies: + "@typescript-eslint/types" "7.13.0" + "@typescript-eslint/visitor-keys" "7.13.0" + debug "^4.3.4" + globby "^11.1.0" + is-glob "^4.0.3" + minimatch "^9.0.4" + semver "^7.6.0" + ts-api-utils "^1.3.0" + "@typescript-eslint/typescript-estree@7.8.0": version "7.8.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-7.8.0.tgz#b028a9226860b66e623c1ee55cc2464b95d2987c" @@ -1687,7 +1712,17 @@ semver "^7.6.0" ts-api-utils "^1.3.0" -"@typescript-eslint/utils@7.8.0", "@typescript-eslint/utils@^6.0.0 || ^7.0.0": +"@typescript-eslint/utils@7.13.0": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-7.13.0.tgz#f84e7e8aeceae945a9a3f40d077fd95915308004" + integrity sha512-jceD8RgdKORVnB4Y6BqasfIkFhl4pajB1wVxrF4akxD2QPM8GNYjgGwEzYS+437ewlqqrg7Dw+6dhdpjMpeBFQ== + dependencies: + "@eslint-community/eslint-utils" "^4.4.0" + "@typescript-eslint/scope-manager" "7.13.0" + "@typescript-eslint/types" "7.13.0" + "@typescript-eslint/typescript-estree" "7.13.0" + +"@typescript-eslint/utils@^6.0.0 || ^7.0.0": version "7.8.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-7.8.0.tgz#57a79f9c0c0740ead2f622e444cfaeeb9fd047cd" integrity sha512-L0yFqOCflVqXxiZyXrDr80lnahQfSOfc9ELAAZ75sqicqp2i36kEZZGuUymHNFoYOqxRT05up760b4iGsl02nQ== @@ -1700,6 +1735,14 @@ "@typescript-eslint/typescript-estree" "7.8.0" semver "^7.6.0" +"@typescript-eslint/visitor-keys@7.13.0": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-7.13.0.tgz#2eb7ce8eb38c2b0d4a494d1fe1908e7071a1a353" + integrity sha512-nxn+dozQx+MK61nn/JP+M4eCkHDSxSLDpgE3WcQo0+fkjEolnaB5jswvIKC4K56By8MMgIho7f1PVxERHEo8rw== + dependencies: + "@typescript-eslint/types" "7.13.0" + eslint-visitor-keys "^3.4.3" + "@typescript-eslint/visitor-keys@7.8.0": version "7.8.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-7.8.0.tgz#7285aab991da8bee411a42edbd5db760d22fdd91" @@ -2663,10 +2706,10 @@ eslint-config-prettier@^9.1.0: resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz#31af3d94578645966c082fcb71a5846d3c94867f" integrity sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw== -eslint-plugin-jest@^28.5.0: - version "28.5.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-28.5.0.tgz#b497b795de37f671eaccd38bd83030186ff5dc8d" - integrity sha512-6np6DGdmNq/eBbA7HOUNV8fkfL86PYwBfwyb8n23FXgJNTR8+ot3smRHjza9LGsBBZRypK3qyF79vMjohIL8eQ== +eslint-plugin-jest@^28.6.0: + version "28.6.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-28.6.0.tgz#8410588d60bcafa68a91b6ec272e4a415502302a" + integrity sha512-YG28E1/MIKwnz+e2H7VwYPzHUYU4aMa19w0yGcwXnnmJH6EfgHahTJ2un3IyraUxNfnz/KUhJAFXNNwWPo12tg== dependencies: "@typescript-eslint/utils" "^6.0.0 || ^7.0.0" @@ -4565,17 +4608,17 @@ pkg-dir@^4.2.0: dependencies: find-up "^4.0.0" -playwright-core@1.44.0: - version "1.44.0" - resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.44.0.tgz#316c4f0bca0551ffb88b6eb1c97bc0d2d861b0d5" - integrity sha512-ZTbkNpFfYcGWohvTTl+xewITm7EOuqIqex0c7dNZ+aXsbrLj0qI8XlGKfPpipjm0Wny/4Lt4CJsWJk1stVS5qQ== +playwright-core@1.44.1: + version "1.44.1" + resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.44.1.tgz#53ec975503b763af6fc1a7aa995f34bc09ff447c" + integrity sha512-wh0JWtYTrhv1+OSsLPgFzGzt67Y7BE/ZS3jEqgGBlp2ppp1ZDj8c+9IARNW4dwf1poq5MgHreEM2KV/GuR4cFA== -playwright@1.44.0: - version "1.44.0" - resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.44.0.tgz#22894e9b69087f6beb639249323d80fe2b5087ff" - integrity sha512-F9b3GUCLQ3Nffrfb6dunPOkE5Mh68tR7zN32L4jCk4FjQamgesGay7/dAAe1WaMEGV04DkdJfcJzjoCKygUaRQ== +playwright@1.44.1: + version "1.44.1" + resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.44.1.tgz#5634369d777111c1eea9180430b7a184028e7892" + integrity sha512-qr/0UJ5CFAtloI3avF95Y0L1xQo6r3LQArLIg/z/PoGJ6xa+EwzrwO5lpNr/09STxdHuUoP2mvuELJS+hLdtgg== dependencies: - playwright-core "1.44.0" + playwright-core "1.44.1" optionalDependencies: fsevents "2.3.2" @@ -4634,10 +4677,10 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier@^3.2.5: - version "3.2.5" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.2.5.tgz#e52bc3090586e824964a8813b09aba6233b28368" - integrity sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A== +prettier@^3.3.1: + version "3.3.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.3.1.tgz#e68935518dd90bb7ec4821ba970e68f8de16e1ac" + integrity sha512-7CAwy5dRsxs8PHXT3twixW9/OEll8MLE0VRPCJyl7CkS6VHGPSlsVaWTiASPTyGyYRyApxlaWTzwUxVNrhcwDg== pretty-format@^29.0.0, pretty-format@^29.5.0: version "29.5.0" @@ -5218,10 +5261,10 @@ ts-api-utils@^1.3.0: resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.3.0.tgz#4b490e27129f1e8e686b45cc4ab63714dc60eea1" integrity sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ== -ts-jest@^29.1.2: - version "29.1.2" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.1.2.tgz#7613d8c81c43c8cb312c6904027257e814c40e09" - integrity sha512-br6GJoH/WUX4pu7FbZXuWGKGNDuU7b8Uj77g/Sp7puZV6EXzuByl6JrECvm0MzVzSTkSHWTihsXt+5XYER5b+g== +ts-jest@^29.1.4: + version "29.1.4" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.1.4.tgz#26f8a55ce31e4d2ef7a1fd47dc7fa127e92793ef" + integrity sha512-YiHwDhSvCiItoAgsKtoLFCuakDzDsJ1DLDnSouTaTmdOcOwIkSzbLXduaQ6M5DRVhuZC/NYaaZ/mtHbWMv/S6Q== dependencies: bs-logger "0.x" fast-json-stable-stringify "2.x" @@ -5261,10 +5304,10 @@ tslib@^2.6.2: resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== -ttpt@^0.8.9: - version "0.8.9" - resolved "https://registry.yarnpkg.com/ttpt/-/ttpt-0.8.9.tgz#55cce8ef599895b4ac68701341c0685a4f93085b" - integrity sha512-NQMenpbWbYTUhHzJGygRFDvWChKDdtuou5BcmNerJ9nJGy6o/jq1Z/UJ8g7oQRhx69gDD7kMEc/IuqgPDLLFgQ== +ttpt@^0.9.6: + version "0.9.6" + resolved "https://registry.yarnpkg.com/ttpt/-/ttpt-0.9.6.tgz#d77e132daff2eb1dfd18acfc758f5c1d9341104f" + integrity sha512-zWjQjQKjqLcIqIwur5tnJIA+Cb7Yx0F3PqM01TCHT5bupSSQskPo6jLqtsgqxkoUhjEQ9MVnue3dVwcNFDARLg== dependencies: lodash "^4.17.21" shell-commands "^0.3.1"