1"use strict";(self.webpackChunkfacetalk=self.webpackChunkfacetalk||[]).push([["6295"],{37191(e,t,r){r.d(t,{bJ:()=>o,Ay:()=>y});var n=r(331635);function o(e){return"object"==typeof e&&void 0!==e.message}function i(e){if(e){var t={};return Object.keys(e).forEach(function(r){"string"==typeof e[r]||"boolean"==typeof e[r]||"number"==typeof e[r]?t[r]=e[r]:t[r]=JSON.stringify(e[r])}),t}}var s=function(){function e(){}return e.serialize=function(){return{transport:this.transport(),origin:this.origin()}},e.origin=function(){var e=c();return e.location?e.location.origin||"".concat(e.location.protocol,"//").concat(e.location.hostname):""},e.transport=function(){var e=c();return a()&&"u"<typeof jest?"NodeHTTP":e.XDomainRequest?"XDomainRequest":e.XMLHttpRequest&&!e.fetch?"XMLHttpRequest":"fetch"},e.supportsPromises=function(){var e,t=c();return"Promise"in t&&"resolve"in t.Promise&&"reject"in t.Promise&&"all"in t.Promise&&"race"in t.Promise&&(new t.Promise(function(t){e=t}),"function"==typeof e)},e}();function a(){return"[object process]"===Object.prototype.toString.call("u">typeof process?process:0)}function c(){return a()?r.g:"u">typeof window?window:"u">typeof self?self:{}}var u=function(){function e(e){this.url=e}return e.prototype.send=function(e){var t=this;
1return new Promise(function(r,n){var o,i=new XDomainRequest,s=RegExp("^https?:");i.onload=function(){return r({})},i.open("POST",t.url.replace(s,null==(o=null==window?void 0:window.location)?void 0:o.protocol)),setTimeout(function(){try{i.send(e)}catch(e){n(e)}},0)})},e}(),l=function(){function e(e){this.url=e}return e.prototype.send=function(e){var t=this;return new Promise(function(r,n){try{var o=new XMLHttpRequest;o.onreadystatechange=function(){o.readyState===XMLHttpRequest.DONE&&r({})},o.open("POST",t.url),o.send(e)}catch(e){n(e)}})},e}(),d=function(){function e(e,t){this.url=e}return e.prototype.send=function(e){return(0,n.sH)(this,void 0,void 0,function(){var t,r;return(0,n.YH)(this,function(n){switch(n.label){case 0:return[4,fetch(this.url,{method:"POST",body:e})];case 1:return r=(t=n.sent()).statusText,[2,t.ok?Promise.resolve({}):Promise.reject({statusText:r})]}})})},e}(),p=function(){function e(e){this.url=e,this.https=r.e("6581").then(r.t.bind(r,989316,23))}return e.prototype.send=function(e){var t=this,r={method:"POST",headers:{"Content-Type":"application/json","Content-Length":e.length}};return new Promise(function(n,o){t.https.then(function(i){var s=i.request(t.url,r,function(){}).on("error",function(e){return o(e)});s.write(e),s.end(),n({})}).catch(function(e){console.warn("NodeTransport is being used, but the HTTPS module could not be imported. No data will be sent to AppSignal."),o(e)})})},e}(),h=function(){function e(e){this._uri=e.uri||"https://appsignal-endpoint.net/collect",this._apiKey=e.key,this._clientVersion=e.version,this._transport=this._createTransport(this._url())}return e.prototype.push=function(e){return(0,n.sH)(this,void 0,void 0,function(){return(0,n.YH)(this,function(t){switch(t.label){case 0:return[4,this._transport.send(e.toJSON())];case 1:return t.sent(),[2,e]}})})},e.prototype._createTransport=function(e){switch(s.transport()){case"XDomainRequest":return new u(e);case"XMLHttpRequest":return new l(e);case"NodeHTTP":return new p(e);default:return new d(e)}},e.prototype._url=function(){var e,t=this._authorization();return"".concat(this._uri,"?").concat(Object.keys(e=t).map(function(t){return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e[t]))}).join("&"))},e.prototype._authorization=function(){return{api_key:this._apiKey,version:this._clientVersion}},e}(),f=function(e){function t(t){return e.call(this,(0,n.Cl)({timestamp:Math.round(new Date().getTime()/1e3),namespace:"frontend",error:{name:"NullError",message:"No error has been set",backtrace:[]}},t))||this}return(0,n.C6)(t,e),t.prototype.setAction=function(e){return e&&"string"==typeof e&&(this._data.action=e),this},t.prototype.getAction=function(){return this._data.action},t.prototype.setNamespace=function(e){return e&&"string"==typeof e&&(this._data.namespace=e),this},t.prototype.getNamespace=function(){return this._data.namespace},t.prototype.setError=function(e){return e&&o(e)&&(this._data.error={name:e.name||"[unknown]",message:e.message,backtrace:function(e){if(void 0!==e.stacktrace||void 0!==e["opera#sourceloc"]){var t=e.stacktrace;return(void 0===t?"":t).split(` 2`).filter(function(e){return""!==e})}if(!e.stack)return["No stacktrace available"];var r=e.stack;return(void 0===r?"":r).split(` 3`).filter(function(e){return""!==e})}(e)}),this},t.prototype.getError=function(){return this._data.error},t.prototype.setTags=function(e){return this._data.tags=(0,n.Cl)((0,n.Cl)({},this._data.tags),function(e){if(e){var t={};return Object.keys(e).forEach(function(r){"object"==typeof e[r]?t[r]=JSON.stringify(e[r]):t[r]=String(e[r])}),t}}(e)),this},t.prototype.getTags=function(){var e;return null!=(e=this._data.tags)?e:{}},t.prototype.setParams=function(e){return this._data.params=(0,n.Cl)((0,n.Cl)({},this._data.params),e),this},t.prototype.getParams=function(){var e;return null!=(e=this._data.params)?e:{}},t.prototype.setBreadcrumbs=function(e){return this._data.breadcrumbs=e,this},t.prototype.getBreadcrumbs=function(){var e;return null!=(e=this._data.breadcrumbs)?e:[]},t.prototype.setEnvironment=function(e){return this._data.environment=(0,n.Cl)((0,n.Cl)({},this._data.environment),e),this},t.prototype.getEnvironment=function(){var e;return null!=(e=this._data.environment)?e:{}},t.prototype.cleanBacktracePath=function(e){if(0===e.length||!this._data.error||!this._data.error.backtrace)return this;var t=0;return this._data.error.backtrace=this._data.error.backtrace.map(function(r){var o,i,s,a,c,u,l,d=(o=r).match(/^\s*at\s/)?null!=(s=null==(i=o.match(/^\s*at(?:\s[^\(]+)?\s\((.*):\d+:\d+\)$/))?void 0:i[1])?s:null==(a=o.match(/^\s*at\s(.*):\d+:\d+$/))?void 0:a[1]:o.match(/^.*@/)?null==(c=o.match(/^.*@\s?(.*):\d+:\d+$/))?void 0:c[1]:void 0;if(!d)return r;try{for(var p=(0,n.Ju)(e),h=p.next();!h.done;h=p.next()){var f=(0,h.value)(d);if(f)return t++,r.replace(d,f)}}catch(e){u={error:e}}finally{try{h&&!h.done&&(l=p.return)&&l.call(p)}finally{if(u)throw u.error}}return r}),t>0&&this.setEnvironment({backtrace_paths_matched:t.toString()}),this},t}(function(){function e(e){this._data=e}return e.prototype.toJSON=function(){return JSON.stringify(this._data)},e.prototype.serialize=function(){return this._data},e}()),v=function(){function e(e){this._data=e||[]}return e.prototype.clear=function(){this._data=[]},e.prototype.values=function(){return this._data},e.prototype.push=function(e){var t;return Array.isArray(e)?(t=this._data).push.apply(t,(0,n.fX)([],(0,n.zs)(e),!1)):this._data.push(e)},e.prototype.drain=function(){return(0,n.YH)(this,function(e){switch(e.label){case 0:if(!(this._data.length>0))return[3,2];return[4,this._data.shift()];case 1:return e.sent(),[3,0];case 2:return[2]}})},e}(),m=function(){function e(e,t,r){this._retries=0,this._timerID=0,this._duration=0,this._api=t,this._queue=e,this.options=(0,n.Cl)({limit:5,initialDuration:1e3},r),this.reset()}return e.prototype.schedule=function(e){var t=this;return void 0===e&&(e=this._duration),c().setTimeout(function(){return(0,n.sH)(t,void 0,void 0,function(){var t,r,o,i,s,a;return(0,n.YH)(this,function(c){switch(c.label){case 0:c.trys.push([0,7,8,9]),r=(t=(0,n.Ju)(this._queue.drain())).next(),c.label=1;case 1:if(r.done)return[3,6];if(!(o=r.value))return[2];c.label=2;case 2:return c.trys.push([2,4,,5]),[4,this._api.push(o)];case 3:return c.sent(),[3,5];case 4:return c.sent(),i=Math.floor(Math.pow(e,1.3)),this._retries=this._retries-1,0===this._retries?this.reset():(this._queue.push(o),this._timerID=this.schedule(i)),[2];case 5:return r=t.next(),[3,1];case 6:return[3,9];case 7:return s={error:c.sent()},[3,9];case 8:try{r&&!r.done&&(a=t.return)&&a.call(t)}finally{if(s)throw s.error}
3return[7];case 9:return this.reset(),[2]}})})},e)},e.prototype.reset=function(){var e=this.options,t=e.limit,r=e.initialDuration;this._retries=t,this._duration=r},e}();let y=function(){function e(e){this.VERSION="1.6.0",this.ignored=[],this.backtraceMatchers=[],this._breadcrumbs=[],this._hooks={decorators:[],overrides:[]},this._env=s.serialize(),this._queue=new v([]);var t,r,o=e.key,i=void 0===o?"":o,a=e.uri,c=e.revision,u=e.ignoreErrors,l=e.matchBacktracePaths;if(c&&"string"!=typeof c&&(e.revision=String(c)),""===i&&console.info("[APPSIGNAL]: No API key provided. Started in development mode. No data will be sent."),this._api=new h({key:i,uri:a,version:this.VERSION}),u&&Array.isArray(u)&&(this.ignored=u.filter(function(e){return e instanceof RegExp}).map(g)),l){var d=void 0;d=Array.isArray(l)?l:[l];try{for(var p=(0,n.Ju)(d),f=p.next();!f.done;f=p.next()){var y=f.value;y instanceof RegExp?this.backtraceMatchers.push(function(e){return function(t){var r=t.match(e);if(r&&!(r.length<2))return r.slice(1).join("")}}(g(y))):"function"==typeof y&&this.backtraceMatchers.push(y)}}catch(e){t={error:e}}finally{try{f&&!f.done&&(r=p.return)&&r.call(p)}finally{if(t)throw t.error}}}this._dispatcher=new m(this._queue,this._api),this._options=e}return e.prototype.send=function(e,t,r){var o,a,c,u,l,d,p=this;if(!(e instanceof Error)&&!(e instanceof f)&&!(e&&e.error instanceof Error))return void console.error("[APPSIGNAL]: Can't send error, given error is not a valid type");var h=(d="error"in e?e.error:e)instanceof f?d:this._createSpanFromError(d);try{for(var v=(0,n.Ju)(this._hooks.decorators),m=v.next();!m.done;m=v.next()){var y=m.value,g=h;h=y(h),void 0===h&&(h=g)}}catch(e){o={error:e}}finally{try{m&&!m.done&&(a=v.return)&&a.call(v)}finally{if(o)throw o.error}}if(t)if("function"==typeof t)t(h);else{console.warn("[APPSIGNAL]: DEPRECATED: Calling the `send`/`sendError` function with a tags object is deprecated. Use the callback argument instead.");var w=i(t)||{};h.setTags(w)}r&&(console.warn("[APPSIGNAL]: DEPRECATED: Calling the `send`/`sendError` function with a namespace is deprecated. Use the callback argument instead."),h.setNamespace(r)),this._breadcrumbs.length>0&&h.setBreadcrumbs(this._breadcrumbs);try{for(var b=(0,n.Ju)(this._hooks.overrides),_=b.next();!_.done;_=b.next()){var E=_.value,g=h,A=E(h);if(!1===A)return void console.warn("[APPSIGNAL]: Ignored a span due to override.");h=null!=A?A:g}}catch(e){c={error:e}}finally{try{_&&!_.done&&(u=b.return)&&u.call(b)}finally{if(c)throw c.error}}var C=null==(l=h.getError())?void 0:l.message;return C&&this.ignored.some(function(e){return e.test(C)})?void console.warn("[APPSIGNAL]: Ignored a span: ".concat(C)):(h.cleanBacktracePath(this.backtraceMatchers),s.supportsPromises())?(this._breadcrumbs=[],this._options.key)?this._api.push(h).catch(function(){p._queue.push(h),setTimeout(function(){return p._dispatcher.schedule()},0)}):void console.warn("[APPSIGNAL]: Span not sent because we're in development mode:",h):void console.error("[APPSIGNAL]: Error not sent. A Promise polyfill is required.")},e.prototype.sendError=function(e,t,r){return this.send(e,t,r)},e.prototype.use=function(e){e.call(this)},e.prototype.createSpan=function(e){var t=this._options,r=t.revision,n=t.namespace,o=new f({environment:this._env,revision:void 0===r?"":r});return n&&o.setNamespace(n),e&&"function"==typeof e&&e(o),o},e.prototype.wrap=function(e,t,r){return(0,n.sH)(this,void 0,void 0,function(){var o;return(0,n.YH)(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,5]),[4,e()];case 1:return[2,n.sent()];case 2:if(!((o=n.sent())instanceof Error||o instanceof ErrorEvent))return[3,4];return[4,this.sendError(o,t,r)];case 3:n.sent(),n.label=4;case 4:return[2,Promise.reject(o)];case 5:return[2]}})})},e.prototype.addDecorator=function(e){this._hooks.decorators.push(e)},e.prototype.addOverride=function(e){this._hooks.overrides.push(e)},e.prototype.demo=function(){var e=this._createSpanFromError(Error("Hello world! This is an error used for demonstration purposes."));e.setAction("TestAction").setParams({path:"/hello",method:"GET"}).setTags({demo_sample:"true"}),this.send(e)},e.prototype.addBreadcrumb=function(e){var t=(0,n.Cl)((0,n.Cl)({timestamp:Math.round(new Date().getTime()/1e3)},e),{metadata:i(e.metadata)});t.category?t.action?(20===this._breadcrumbs.length&&this._breadcrumbs.pop(),this._breadcrumbs.unshift(t)):console.warn("[APPSIGNAL]: Breadcrumb not added. `action` is missing."):console.warn("[APPSIGNAL]: Breadcrumb not added. `category` is missing.")},e.prototype._createSpanFromError=function(e){var t=this.createSpan();return t.setError(e),t},e}();function g(e){return new RegExp(e.source,e.flags.replace("g",""))}},992609(e,t,r){r.d(t,{I:()=>i});var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o={xhrEnabled:!0,fetchEnabled:!0,ignoreUrls:[]},i=function(e){var t=n(n({},o),e),r=t.xhrEnabled,i=t.fetchEnabled,s=t.ignoreUrls,a=!!r&&"XMLHttpRequest"in window,c=!!i&&"fetch"in window;return function(){var e,t,r=this;a&&(e=XMLHttpRequest.prototype.open,XMLHttpRequest.prototype.open=function(t,n){var o={method:t,url:n};this.addEventListener("load",function(){s.some(function(e){return e.test(n)})||r.addBreadcrumb({action:this.status>=400?"Request failed with code ".concat(this.status):"Received a response with code ".concat(this.status),category:"XMLHttpRequest",metadata:o})}),this.addEventListener("error",function(){s.some(function(e){return e.test(n)})||r.addBreadcrumb({action:"Request failed",category:"XMLHttpRequest",metadata:o})}),e.apply(this,arguments)}),c&&(t=window.fetch,window.fetch=function(e,n){var o="string"==typeof e?e:e.url,i={method:"string"!=typeof e&&e.method||n&&n.method||"GET",url:o};return s.some(function(e){return e.test(o)})?t.apply(window,arguments):t.apply(window,arguments).then(function(e){var t=e.status;return r.addBreadcrumb({action:"Received a response with code ".concat(t),category:"Fetch",metadata:i}),e}).catch(function(e){throw r.addBreadcrumb({action:"Request failed",category:"Fetch",metadata:i}),e})})}}},950377(e,t,r){r.d(t,{I:()=>n});var n=function(e){return function(){this.addDecorator(function(e){return e.setTags({path:window.location.pathname})})}}},168140(e,t,r){r.d(t,{I:()=>i});var n=r(37191),o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=function(e){var t=window,r=o({onerror:!0,onunhandledrejection:!0}
3,e);return function(){var e=this,o={onError:t.onerror,unhandledRejection:t.onunhandledrejection};r.onerror&&(t.onerror=function(t,r,n,i,s){var a=e.createSpan();"string"==typeof t&&0===n&&/Script error\.?/.test(t)?console.warn("[APPSIGNAL]: Cross-domain or eval script error detected, error ignored"):(s?a.setError(s):a.setError({name:"Error",message:"string"==typeof t?t:'An HTML onerror="" handler failed to execute',stack:"at ".concat(r,":").concat(n).concat(i?":".concat(i):"")}),e.send(a)),"function"==typeof o.onError&&o.onError.apply(this,arguments)}),r.onunhandledrejection&&(t.onunhandledrejection=function(t){var r,i=e.createSpan();r=t&&t.reason&&(0,n.bJ)(t.reason)?t.reason:{name:"UnhandledPromiseRejectionError",message:function(e){if(!e||!e.reason)return"";if("string"==typeof e.reason)return e.reason;try{var t,r;return JSON.stringify(e.reason,(t=[],r=[],function(e,n){if("object"==typeof n&&null!==n){var o=t.indexOf(n);if(-1!==o)return"[cyclic value: ".concat(r[o]||"root object","]");t.push(n),r.push(e)}return n}))}catch(e){if(e&&"string"==typeof e.message)return"[could not stringify value: ".concat(e.message,"]");return"[could not stringify value]"}}(t)},i.setError(r),e.send(i),"function"==typeof o.unhandledRejection&&o.unhandledRejection.apply(this,arguments)})}}},751455(e,t,r){r.d(t,{A:()=>m});var n=r(42385),o=r(260854),i=r(292944),s=r(37191);let a=["log","debug","info","warn","error"],c=function(e={}){let t=a.filter(e=>"u">typeof console&&"function"==typeof console[e]);return function(){let e=this;t.forEach(t=>{let r=console[t];console[t]=function(...n){let o={action:n.length>1?"Console logged some values":"Console logged a value",category:`console.${t}`,metadata:{}};n.forEach((e,t)=>o.metadata[`argument${t}`]=function(e){switch(typeof e){case"string":return e;case"undefined":return"undefined";default:try{return JSON.stringify((function(e=3){let t=new WeakSet;return function r(n,o=0){if(null===n||"object"!=typeof n)return n;if(t.has(n))return"[Circular]";if(t.add(n),o>=e)return Array.isArray(n)?"[Array]":"[Object]";if(Array.isArray(n))return n.map(e=>r(e,o+1));let i={};for(let e in n)Object.prototype.hasOwnProperty.call(n,e)&&(i[e]=r(n[e],o+1));return i}})(3)(e))}catch(e){if(e&&"string"==typeof e.message)return`[could not stringify value: ${e.message}]`;return"[could not stringify value]"}}}(e)),e.addBreadcrumb(o),r.apply(console,n)}})}};var u=r(992609),l=r(950377),d=r(168140);let p=Object.freeze({production:"2616c974-5f54-4d06-a802-225a135611ab",production_ca:"b3595c38-95cb-4240-a91a-e6d7df47caea",staging:"bbfa06f7-7d5b-4f8c-be8f-dc98d6c8819c"}),h=p[window.rails_env]?new s.Ay({key:p[window.rails_env],revision:"v2.6.374.13",ignoreErrors:[/Blocked a frame with origin .*. Protocols, domains, and ports must match\./,/Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS./,/WebSocket is not defined/,/^Feature discovery error: null$/,/^Ping timeout$/,/^this.socket is null$/,/^Cannot read property 'send' of null$/,/evaluating 'this\.socket\.send'/,/Strophe: /,/Jingle error:/,/NetworkError when attempting to fetch resource./,/The network connection was lost./,/The Internet connection appears to be offline./,/ResizeObserver loop limit exceeded/,/^cancelled$/,/Software caused connection abort/,/^Object Not Found Matching Id:.*/,/^Branch SDK initialization failed.*/]}):null,f={},v={"TPC error":/^TPC.*/,"Focus error, retry":/^Focus error, retry after.*/,"LocalTrack[audio] already in TPC":/^LocalTrack\[.+?,audio\] is already in TPC.*/,"LocalTrack[video] already in TPC":/^LocalTrack\[.+?,video\] is already in TPC.*/,"Invalid participant":/^Invalid participant.*/,"Missing whiteboard dimensions":/^Missing whiteboard dimensions.*/},m=new class{set_new_in_call_page(){this.prefix="V2: ",this.set_cordova()}set_admin(){this.prefix="ADMIN: "}set_talkshoe_admin(){this.prefix="TALKSHOE ADMIN: "}set_talkshoe(){this.prefix="TALKSHOE: ",this.set_cordova()}set_livestream(){this.prefix="LIVESTREAM: "}set_cordova(){let e=()=>{this.tags.platform="cordova",i.A.getDevice()&&(this.environment.platform=i.A.getDevice().platform,this.environment.platform_version=i.A.getDevice().version),i.A.getAppVersion()&&(i.A.getAppVersion().getVersionNumber().then(e=>{this.tags.app_version=e}),i.A.getAppVersion().getPackageName().then(e=>{this.tags.app_id=e})),document.removeEventListener("deviceready",e)};document.addEventListener("deviceready",e)}set_account_id(e){this.environment.account_id=e}set_conference_call_id(e){this.environment.conference_call_id=e}set_participant_id(e){this.environment.participant_id=e}set_websocket_event(e){this.environment.last_websocket_event=JSON.stringify(e)}sendError(e,t,r){n.A.error("Sending error:",e,t,r),null==h||h.send(t,t=>{t.setAction(e).setTags(this.tags).setParams({_original_msg:r})})}reportSpinnerLongWait(e,t){this.sendError(`${e}#longWait`,Error(`Spinner long wait: ${t}`))}onComponentError(e,t,r){this.tags.component_stack=r.componentStack,this.sendError(`${e}#componentDidCatch`,t),delete this.tags.component_stack}install(){h&&(h.use((0,l.I)({})),h.use((0,d.I)({})),h.use(c({})),h.use((0,u.I)({}))),null==h||h.addOverride(this._override)}constructor(){!function(e,t,r){t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}(this,"_override",e=>{let t,r=e.getAction(),n=e.getError();if((0,o.oz)(n)||(0,o.R)(n,/^Not connected$/)||(0,o.R)(n,/^The operation was aborted\.$/)||(0,o.R)(n,/^A user gesture is required/))return!1;let s=((t=Object.entries(v).find(([e,t])=>(0,o.R)(n,t)))?t[0]:null)||("string"==typeof n?n:n.message),a=`${this.prefix}${n.name}: ${"RequestError"===n.name?`${r} ${n.status}`:s}`;if(f[a])return!1;let c=e.getParams()._original_msg,u=e.getTags();u.fullstory_url=function(){if(window.FS&&window.FS.getCurrentSessionURL)return window.FS.getCurrentSessionURL()}(),u.original_message="string"==typeof c?c.replace(/^!!/,""):c,u.original_message===c&&(f[a]=!0),Object.keys(u).forEach(e
3=>{void 0===u[e]&&delete u[e]});let l={};if(i.A.isCordova()&&window.apiUrl)try{l.domain=new URL(window.apiUrl).hostname}catch(e){l.domain=window.apiUrl}else l.domain=location.hostname;return e.setTags(u).setEnvironment({...this.environment,...l,path:i.A.isCordova()?location.hash:location.pathname,screen:`${screen.width} x ${screen.height}`})}),this.action="",this.prefix="",this.tags={git_tag:"v2.6.374.13"},this.environment={domain:window.location.hostname,agent:navigator.userAgent,platform:navigator.platform,vendor:navigator.vendor}}}},125560(e,t,r){r.d(t,{A:()=>f});var n=r(42385),o=r(751455),i=r(529633),s=r(842226);let a=e=>{n.A.debug(`CordovaCallkitHelpers: ${e}`)},c=(e,t)=>{e.message=`CordovaCallkitHelpers: ${e.message}`,o.A.sendError("CordovaCallkitHelpers",e,t),n.A.error(e.message,t)},u=()=>{var e,t;if(!i.A.isCordova())return{earlyReturn:Promise.resolve(null)};let{CordovaCall:r}=(null==(t=window)||null==(e=t.cordova)?void 0:e.plugins)||{};return r?{plugin:r}:(a("Missing CordovaCall Plugin"),{earlyReturn:Promise.resolve("Missing CordovaCall Plugin")})},l=e=>{let{plugin:t,earlyReturn:r}=u();return r||new Promise((r,n)=>e(t,r,n))},d=new s.A("CordovaCall"),p=3e3,h=(e,{timeoutMs:t=p,rejectOnTimeout:r=!1}={})=>{let{plugin:n,earlyReturn:o}=u();if(o)return o;let i=Error(`CordovaCall action timed out after ${t}ms`);return d.run(()=>{let o;return Promise.race([new Promise((t,r)=>e(n,t,r)),new Promise((e,n)=>{o=setTimeout(()=>{(c(i),r)?n(i):e()},t)})]).finally(()=>clearTimeout(o))})},f={setAppName:e=>h((t,r,n)=>t.setAppName(e,r,n)),setIcon:e=>h((t,r,n)=>t.setIcon(e,r,n)),setRingtone:async e=>{if(i.A.isIOSApp())return h((t,r,n)=>t.setRingtone(e,r,n))},setIncludeInRecents:async e=>{if(i.A.isIOSApp())return h((t,r,n)=>t.setIncludeInRecents(e,r,n))},setDTMFState:async e=>{if(i.A.isIOSApp())return h((t,r,n)=>t.setDTMFState(e,r,n))},receiveCall:(e,t,r)=>h((n,o,i)=>n.receiveCall(e,t,r,o,i)),getAudioRoute:()=>h((e,t,r)=>e.getAudioRoute(t,r)),speakerOn:()=>h((e,t,r)=>e.speakerOn(t,r)),speakerOff:()=>h((e,t,r)=>e.speakerOff(t,r)),callNumber:e=>h((t,r,n)=>t.callNumber(e,r,n)),mute:e=>h((t,r)=>t.mute(e,()=>{a("mute success"),r()},e=>{c(Error("mute"),e),r()})),unmute:e=>h((t,r)=>t.unmute(e,()=>{a("unmute success"),r()},e=>{c(Error("unmute"),e),r()})),setAllowUnmute:async(e,t)=>{if(i.A.isIOSApp())return h((r,n,o)=>r.setAllowUnmute(e,t,n,o))},hold:e=>h((t,r)=>t.hold(e,()=>{a("hold success"),r()},e=>{c(Error("hold"),e),r()})),unhold:e=>h((t,r)=>t.unhold(e,()=>{a("unhold success"),r()},e=>{c(Error("unhold"),e),r()}),{timeoutMs:1e4,rejectOnTimeout:!0}),group:(e,t)=>h((r,n)=>r.group(e,t,e=>{a(`group success: ${JSON.stringify(e)}`),n(e)},e=>{c(Error("group"),e),n()})),endCall:e=>h((t,r)=>t.endCall(e,()=>{a("endCall success"),r()},e=>{c(Error("endCall"),e),r()})),sendCall:(e,t="",r)=>h((n,o,i)=>n.sendCall(e,t,r,()=>{a("sendCall success"),o()},e=>{c(Error("sendCall"),e),i(e)}),{timeoutMs:1e4,rejectOnTimeout:!0}),connectCall:(e,t)=>h((r,n,o)=>r.connectCall(e,t,()=>{a("connectCall success"),n()},e=>{c(Error("connectCall"),e),o(e)})),setVideo:async e=>{if(i.A.isIOSApp())return h((t,r,n)=>t.setVideo(e,()=>{a("setVideo success"),r()},e=>{c(Error("setVideo"),e),n(e)}))},setupAudioSession:async()=>{if(i.A.isIOSApp())return h((e,t,r)=>e.setupAudioSession(e=>{a(`setupAudioSession success: ${e||""}`),t(e)},e=>{c(Error("setupAudioSession"),e),r(e)}),{timeoutMs:1e4,rejectOnTimeout:!0})},dismissRingingCall:async e=>{if(i.A.isIOSApp())return h((t,r)=>t.dismissRingingCall(e,()=>{a("dismissRingingCall success"),r()}))},log:async e=>{var t,r,n,o;return null==(o=window)||null==(n=o.cordova)||null==(r=n.plugins)||null==(t=r.CordovaCall)?void 0:t.log("CordovaCallJS: "+e)},keepAlive:async()=>{if(i.A.isIOSApp())return l((e,t)=>{e.keepAlive(),t()})},stopKeepAlive:async()=>{if(i.A.isIOSApp())return l((e,t)=>{e.stopKeepAlive(),t()})},keepAliveInBackground:async e=>{if(i.A.isIOSApp())return l((t,r)=>{t.keepAliveInBackground(e),r()})},stopKeepAliveInBackground:async()=>{if(i.A.isIOSApp())return l((e,t)=>{e.stopKeepAliveInBackground(),t()})},updateCallName:(e,t)=>h((r,n)=>r.updateCallName(e,t,()=>{a("updateCallName success"),n()},e=>{c(Error("updateCallName"),e),n()})),checkCallPermission:async()=>
3{if(i.A.isAndroidApp())return l((e,t)=>{e.checkCallPermission(e=>{c(Error("checkCallPermission"),e)}),t()})},canUseFullScreenIntent:async()=>!!i.A.isAndroidApp()&&l((e,t,r)=>e.canUseFullScreenIntent(e=>t(e),e=>{c(Error("canUseFullScreenIntent"),e),r(e)})),openFullScreenIntentSettings:async()=>{if(i.A.isAndroidApp())return l((e,t,r)=>{e.openFullScreenIntentSettings(()=>t(),e=>{c(Error("openFullScreenIntentSettings"),e),r(e)})})},wsConnect:(e,t,r,n)=>l((o,i)=>{o.wsConnect(e,t,r,n),i()}),wsClose:(e,t,r)=>l((n,o)=>{n.wsClose(e,t,r),o()}),wsSend:(e,t)=>l((r,n)=>{r.wsSend(e,t),n()})}},681786(e,t,r){r.d(t,{default:()=>E});var n=r(125560);function o(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function i(e,t){var r=o(e,t,"get");return r.get?r.get.call(e):r.value}function s(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}function a(e,t,r){var n=o(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let u=WebSocket;var l=new WeakMap,d=new WeakMap,p=new WeakMap,h=new WeakMap,f=new WeakMap,v=new WeakMap,m=new WeakMap,y=new WeakMap,g=new WeakMap,w=new WeakMap,b=new WeakMap;class _ extends EventTarget{get CONNECTING(){return u.CONNECTING}get OPEN(){return u.OPEN}get CLOSING(){return u.CLOSING}get CLOSED(){return u.CLOSED}get readyState(){return i(this,l)}get bufferedAmount(){return i(this,m)}get extensions(){return i(this,y)}get protocol(){return i(this,g)}get url(){return i(this,w)}get onclose(){return i(this,p)}set onclose(e){i(this,p)&&this.removeEventListener("close",i(this,p)),a(this,p,e),e&&this.addEventListener("close",e)}get onerror(){return i(this,h)}set onerror(e){i(this,h)&&this.removeEventListener("error",i(this,h)),a(this,h,e),e&&this.addEventListener("error",e)}get onmessage(){return i(this,f)}set onmessage(e){i(this,f)&&this.removeEventListener("message",i(this,f)),a(this,f,e),e&&this.addEventListener("message",e)}get onopen(){return i(this,v)}set onopen(e){i(this,v)&&this.removeEventListener("open",i(this,v)),a(this,v,e),e&&this.addEventListener("open",e)}send(e){if(i(this,l)===u.CONNECTING)throw new DOMException("WebSocket is in CONNECTING state","InvalidStateError");i(this,l)!==u.CLOSING&&i(this,l)!==u.CLOSED&&(e instanceof Blob?e.arrayBuffer().then(e=>{i(this,l)===u.OPEN&&n.A.wsSend(i(this,d),e)}):n.A.wsSend(i(this,d),ArrayBuffer.isView(e)?e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength):e))}close(e=1e3,t){if(1e3!==e&&!(e>=3e3&&e<=4999))throw new DOMException("The code must be either 1000, or between 3000 and 4999.","InvalidAccessError");if(void 0!==t&&new TextEncoder().encode(t).length>123)throw new DOMException("The message must not be greater than 123 bytes.","SyntaxError");if(i(this,l)===u.CLOSING||i(this,l)===u.CLOSED)return;let r=i(this,l)===u.CONNECTING;if(a(this,l,u.CLOSING),r){this._pendingCloseCode=e,this._pendingCloseReason=t,a(this,b,!0);return}n.A.wsClose(i(this,d),e,t)}constructor(e,t){super(),s(this,l,{writable:!0,value:u.CONNECTING}),s(this,d,{writable:!0,value:null}),s(this,p,{writable:!0,value:null}),s(this,h,{writable:!0,value:null}),s(this,f,{writable:!0,value:null}),s(this,v,{writable:!0,value:null}),s(this,m,{writable:!0,value:0}),s(this,y,{writable:!0,value:""}),s(this,g,{writable:!0,value:""}),s(this,w,{writable:!0,value:null}),s(this,b,{writable:!0,value:!1}),this.binaryType="blob",a(this,w,e);const r={"User-Agent":navigator.userAgent};(null==t?void 0:t.length)&&(r["Sec-WebSocket-Protocol"]=Array.isArray(t)?t[0]:t),n.A.wsConnect({url:e,timeout:5e3,pingInterval:1e4,acceptAllCerts:!1,headers:r},({callbackMethod:e,message:t,code:r,reason:n,exception:o})=>{switch(e){case"onMessage":i(this,l)===u.OPEN&&this.dispatchEvent(new MessageEvent("message",{data:t}));break;case"onClose":a(this,d,null),a(this,l,u.CLOSED),this.dispatchEvent(new CloseEvent("close",{code:r,reason:null!=n?n:o,wasClean:!o}));break;case"onFail":a(this,d,null),a(this,l,u.CLOSED),this.dispatchEvent(new Event("error")),this.dispatchEvent(new CloseEvent("close",{c
3ode:r,reason:o,wasClean:!1}))}},({webSocketId:e})=>{if(a(this,d,e),a(this,g,r["Sec-WebSocket-Protocol"]||""),i(this,b)){var t;n.A.wsClose(e,null!=(t=this._pendingCloseCode)?t:1e3,this._pendingCloseReason);return}a(this,l,u.OPEN),this.dispatchEvent(new Event("open"))},({code:e,reason:t})=>{a(this,d,null),a(this,l,u.CLOSED),this.dispatchEvent(new Event("error")),this.dispatchEvent(new CloseEvent("close",{code:e,reason:t,wasClean:!1}))})}}c(_,"CONNECTING",u.CONNECTING),c(_,"OPEN",u.OPEN),c(_,"CLOSING",u.CLOSING),c(_,"CLOSED",u.CLOSED);let E=_},260854(e,t,r){function n(e,t){var r,n;return null==e||null==(n=e.message)||null==(r=n.match)?void 0:r.call(n,t)}function o(e){return!!n(e,/Loading\b.+?\bchunk \d+ failed/)}function i(e){return!!o(e)&&(setTimeout(e=>window.location.reload(),1e3),!0)}r.d(t,{R:()=>n,oz:()=>o,p6:()=>i})},331635(e,t,r){r.d(t,{C6:()=>o,Cl:()=>i,Ju:()=>u,Tt:()=>s,YH:()=>c,fX:()=>d,sH:()=>a,zs:()=>l});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i=function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function s(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function a(e,t,r,n){return new(r||(r=Promise))(function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(s,a)}c((n=n.apply(e,t||[])).next())})}function c(e,t){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(c){var u=[a,c];if(r)throw TypeError("Generator is already executing.");for(;s&&(s=0,u[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&u[0]?n.return:u[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,u[1])).done)return o;switch(n=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,n=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],n=0}finally{r=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}function u(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function d(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}}}]); 4//# sourceMappingURL=6295-70c841fe913128f1.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.