1(self.rspackChunkcircle=self.rspackChunkcircle||[]).push([[43032],{500306(e){e.exports=function(){var e,t=["navigation","request","process","log","user","state","error","manual"],n=function(e,t,n){for(var r=n,a=0,o=e.length;a<o;a++)r=t(r,e[a],a,e);return r},r=function(e,t){return n(e,function(e,n,r,a){return t(n,r,a)?e.concat(n):e},[])},a=function(e,t){return n(e,function(e,n,r,a){return!0===e||n===t},!1)},o=function(e){return"[object Array]"===Object.prototype.toString.call(e)},i=!({toString:null}).propertyIsEnumerable("toString"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],u=function(e){var t,n=[];for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.push(t);if(!i)return n;for(var r=0,a=s.length;r<a;r++)Object.prototype.hasOwnProperty.call(e,s[r])&&n.push(s[r]);return n},c=function(e,t){return void 0===e&&(e=1),void 0===t&&(t=1/0),function(n){return"number"==typeof n&&parseInt(""+n,10)===n&&n>=e&&n<=t}},l=function(e){return"function"==typeof e||o(e)&&r(e,function(e){return"function"==typeof e}).length===e.length},f=function(e){return"string"==typeof e&&!!e.length},d={},g=function(){return{unhandledExceptions:!0,unhandledRejections:!0}};d.schema={apiKey:{defaultValue:function(){return null},message:"is required",validate:f},appVersion:{defaultValue:function(){},message:"should be a string",validate:function(e){return void 0===e||f(e)}},appType:{defaultValue:function(){},message:"should be a string",validate:function(e){return void 0===e||f(e)}},autoDetectErrors:{defaultValue:function(){return!0},message:"should be true|false",validate:function(e){return!0===e||!1===e}},enabledErrorTypes:{defaultValue:function(){return g()},message:"should be an object containing the flags { unhandledExceptions:true|false, unhandledRejections:true|false }",allowPartialObject:!0,validate:function(e){if("object"!=typeof e||!e)return!1;var t=u(e),n=u(g());return!(r(t,function(e){return a(n,e)}).length<t.length)&&!(r(u(e),function(t){return"boolean"!=typeof e[t]}).length>0)}},onError:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:l},onSession:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:l},onBreadcrumb:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:l},endpoints:{defaultValue:function(){return{notify:"https://notify.bugsnag.com",sessions:"https://sessions.bugsnag.com"}},message:"should be an object containing endpoint URLs { notify, sessions }",validate:function(e){return e&&"object"==typeof e&&f(e.notify)&&f(e.sessions)&&0===r(u(e),function(e){return!a(["notify","sessions"],e)}).length}},autoTrackSessions:{defaultValue:function(e){return!0},message:"should be true|false",validate:function(e){return!0===e||!1===e}},enabledReleaseStages:{defaultValue:function(){return null},message:"should be an array of strings",validate:function(e){return null===e||o(e)&&r(e,function(e){return"string"==typeof e}).length===e.length}},releaseStage:{defaultValue:function(){return"production"},message:"should be a string",validate:function(e){return"string"==typeof e&&e.length}},maxBreadcrumbs:{defaultValue:function(){return 25},message:"should be a number â¤100",validate:function(e){return c(0,100)(e)}},enabledBreadcrumbTypes:{defaultValue:function(){return t},message:"should be null or a list of available breadcrumb types ("+t.join(",")+")",validate:function(e){return null===e||o(e)&&n(e,function(e,n){return!1===e?e:a(t,n)},!0)}},context:{defaultValue:function(){},message:"should be a string",validate:function(e){return void 0===e||"string"==typeof e}},user:{defaultValue:function(){return{}},message:"should be an object with { id, email, name } properties",validate:function(e){return null===e||e&&n(u(e),function(e,t){return e&&a(["id","email","name"],t)},!0)}},metadata:{defaultValue:function(){return{}},message:"should be an object",validate:function(e){return"object"==typeof e&&null!==e}},logger:{defaultValue:function(){},message:"should be null or an object with methods { debug, info, warn, error }",validate:function(e){return!e||e&&n(["debug","info","warn","error"],function(t,n){return t&&"function"==typeof e[n]},!0)}},redactedKeys:{defaultValue:function(){return["password"]}
1,message:"should be an array of strings|regexes",validate:function(e){return o(e)&&e.length===r(e,function(e){return"string"==typeof e||e&&"function"==typeof e.test}).length}},plugins:{defaultValue:function(){return[]},message:"should be an array of plugin objects",validate:function(e){return o(e)&&e.length===r(e,function(e){return e&&"object"==typeof e&&"function"==typeof e.load}).length}},featureFlags:{defaultValue:function(){return[]},message:'should be an array of objects that have a "name" property',validate:function(e){return o(e)&&e.length===r(e,function(e){return e&&"object"==typeof e&&"string"==typeof e.name}).length}}};var h=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p=function(e,t){return n(e,function(e,n,r,a){return e.concat(t(n,r,a))},[])};function v(){return(v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var m=d.schema,y={releaseStage:h({},m.releaseStage,{defaultValue:function(){return/^localhost(:\d+)?$/.test(window.location.host)?"development":"production"}}),appType:v({},m.appType,{defaultValue:function(){return"browser"}}),logger:h({},m.logger,{defaultValue:function(){return"u">typeof console&&"function"==typeof console.debug?b():void 0}})},b=function(){var e={},t=console.log;return p(["debug","info","warn","error"],function(n){var r=console[n];e[n]="function"==typeof r?r.bind(console,"[bugsnag]"):t.bind(console,"[bugsnag]")}),e},_=function(){function e(e,t,n,r){void 0===r&&(r=new Date),this.type=n,this.message=e,this.metadata=t,this.timestamp=r}return e.prototype.toJSON=function(){return{type:this.type,name:this.message,timestamp:this.timestamp,metaData:this.metadata}},e}(),S={};!function(t,n){"use strict";"function"==typeof e&&e.amd?e("stackframe",[],n):"object"==typeof S?S=n():t.StackFrame=n()}(this,function(){"use strict";function e(e){return!isNaN(parseFloat(e))&&isFinite(e)}function t(e){return e.charAt(0).toUpperCase()+e.substring(1)}function n(e){return function(){return this[e]}}var r=["isConstructor","isEval","isNative","isToplevel"],a=["columnNumber","lineNumber"],o=["fileName","functionName","source"],i=r.concat(a,o,["args"]);function s(e){if(e instanceof Object)for(var n=0;n<i.length;n++)e.hasOwnProperty(i[n])&&void 0!==e[i[n]]&&this["set"+t(i[n])](e[i[n]])}s.prototype={getArgs:function(){return this.args},setArgs:function(e){if("[object Array]"!==Object.prototype.toString.call(e))throw TypeError("Args must be an Array");this.args=e},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(e){if(e instanceof s)this.evalOrigin=e;else if(e instanceof Object)this.evalOrigin=new s(e);else throw TypeError("Eval Origin must be an Object or StackFrame")},toString:function(){return(this.getFunctionName()||"{anonymous}")+("("+(this.getArgs()||[]).join(","))+")"+(this.getFileName()?"@"+this.getFileName():"")+(e(this.getLineNumber())?":"+this.getLineNumber():"")+(e(this.getColumnNumber())?":"+this.getColumnNumber():"")}};for(var u=0;u<r.length;u++)s.prototype["get"+t(r[u])]=n(r[u]),s.prototype["set"+t(r[u])]=function(e){return function(t){this[e]=!!t}}(r[u]);for(var c=0;c<a.length;c++)s.prototype["get"+t(a[c])]=n(a[c]),s.prototype["set"+t(a[c])]=function(t){return function(n){if(!e(n))throw TypeError(t+" must be a Number");this[t]=Number(n)}}(a[c]);for(var l=0;l<o.length;l++)s.prototype["get"+t(o[l])]=n(o[l]),s.prototype["set"+t(o[l])]=function(e){return function(t){this[e]=String(t)}}(o[l]);return s});var w={};!function(t,n){"use strict";"function"==typeof e&&e.amd?e("error-stack-parser",["stackframe"],n):"object"==typeof w?w=n(S):t.ErrorStackParser=n(t.StackFrame)}(this,function(e){"use strict";var t=/(^|@)\S+\:\d+/,n=/^\s*at .*(\S+\:\d+|\(native\))/m,r=/^(eval@)?(\[native code\])?$/;return{parse:function(e){if(void 0!==e.stacktrace||void 0!==e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(n))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw Error("Cannot parse given Error object")},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var t=/(.+?)(?:\:(\d+))?(?:\:(\d+))?$/.exec(e.replace(/[\(\)]/g,""));return[t[1],t[2]||void 0,t[3]||void 0]},parseV8OrIE:function(t){return t.stack.split("\n").filter(function(e){return!!e.match(n)},this).map(function(t){t.indexOf("(eval ")>-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^\()]*)|(\)\,.*$)/g,""));var n=t.replace(/^\s+/,"").replace(/\(eval code/g,"("),r=n.match(/ (\((.+):(\d+):(\d+)\)$)/),a=(n=r?n.replace(r[0],""):n).split(/\s+/).slice(1),o=this.extractLocation(r?r[1]:a.pop());return new e({functionName:a.join(" ")||void 0,fileName:["eval","<anonymous>"].indexOf(o[0])>-1?void 0:o[0],lineNumber:o[1],columnNumber:o[2],source:t})},this)},parseFFOrSafari:function(t){return t.stack.split("\n").filter(function(e){return!e.match(r)},this).map(function(t){if(t.indexOf(" > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),-1===t.indexOf("@")&&-1===t.indexOf(":"))return new e({functionName:t});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=t.match(n),a=r&&r[1]?r[1]:void 0,o=this.extractLocation(t.replace(n,""));return new e({functionName:a,fileName:o[0],lineNumber:o[1],columnNumber:o[2],source:t})},this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=t.message.split("\n"),a=[],o=2,i=r.length;o<i;o+=2){var s=n.exec(r[o]);s&&a.push(new e({fileName:s[2],lineNumber:s[1],source:r[o]}))}return a},parseOpera10:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=t.stacktrace.split("\n"),a=[],o=0,i=r.length;o<i;o+=2){var s=n.exec(r[o]);s&&a.push(new e({functionName:s[3]||void 0,fileName:s[2],lineNumber:s[1],source:r[o]}))}return a},parseOpera11:function(n){return n.stack.split("\n").filter(function(e){return!!e.match(t)&&!e.match(/^Error created at/)},this).map(function(t){var n,r=t.split("@"),a=this.extractLocation(r.pop()),o=r.shift()||"",i=o.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^\)]*\)/g,"")||void 0;return o.match(/\(([^\)]*)\)/)&&(n=o.replace(/^[^\(]+\(([^\)]*)\)$/,"$1")),new e({functionName:i,args:void 0===n||"[arguments not available]"===n?void 0:n.split(","),fileName:a[0],lineNumber:a[1],columnNumber:a[2],source:t})},this)}}});var E=w,O=function(e,t,n,r){var a,o,i,s,u;return JSON.stringify((a=e,o=r&&r.redactedKeys?r.redactedKeys:[],i=r&&r.redactedPaths?r.redactedPaths:[],s=[],u=0,function e(t,n){function r(){return n.length>8&&u>25e3}if(u++,n.length>20||r())return"...";if(null===t||"object"!=typeof t)return t;if(function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return!0;return!1}(s,t))return"[Circular]";if(s.push(t),"function"==typeof t.toJSON)try{u--;var a=e(t.toJSON(),n);return s.pop(),a}catch(e){return j(e)}if(t instanceof Error||/^\[object (Error|(Dom)?Exception)\]$/.test(Object.prototype.toString.call(t))){u--;var c=e({name:t.name,message:t.message},n);return s.pop(),c}if("[object Array]"===Object.prototype.toString.call(t)){for(var l=[],f=0,d=t.length;f<d;
1f++){if(r()){l.push("...");break}l.push(e(t[f],n.concat("[]")))}return s.pop(),l}var g={};try{for(var h in t)if(Object.prototype.hasOwnProperty.call(t,h)){if(function(e,t){for(var n=0,r=e.length;n<r;n++)if(0===t.indexOf(e[n]))return!0;return!1}(i,n.join("."))&&function(e,t){for(var n=0,r=e.length;n<r;n++)if("string"==typeof e[n]&&e[n].toLowerCase()===t.toLowerCase()||e[n]&&"function"==typeof e[n].test&&e[n].test(t))return!0;return!1}(o,h)){g[h]="[REDACTED]";continue}if(r()){g[h]="...";break}g[h]=e(function(e,t){try{return e[t]}catch(e){return j(e)}}(t,h),n.concat(h))}}catch(e){}return s.pop(),g}(a,[])),t,n)};function j(e){return"[Throws: "+(e?e.message:"?")+"]"}function N(e,t,n){"string"==typeof t&&(void 0===n?n=null:null!==n&&"string"!=typeof n&&(n=O(n)),e[t]=n)}var k=function(e,t){if(o(t))for(var n=0;n<t.length;++n){var r=t[n];null!==r&&"object"==typeof r&&N(e,r.name,r.variant)}},x=function(e){return!!e&&(!!e.stack||!!e.stacktrace||!!e["opera#sourceloc"])&&"string"==typeof(e.stack||e.stacktrace||e["opera#sourceloc"])&&e.stack!==e.name+": "+e.message},T=function(e){switch(Object.prototype.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return e instanceof Error}},L=function(e,t,n){if("string"==typeof t){if(!n)return void delete e[t];e[t]&&delete e[t][n]}},R=function(e,t,n,r){var a,o;if(t){if(null===n)return L(e,t);"object"==typeof n&&(o=n),"string"==typeof n&&((a={})[n]=r,o=a),o&&(e[t]||(e[t]={}),e[t]=h({},e[t],o))}},B=function(e,t,n){if("string"==typeof t){if(!n)return e[t];if(e[t])return e[t][n]}},q={};!function(t,n){"use strict";"function"==typeof e&&e.amd?e("stack-generator",["stackframe"],n):"object"==typeof q?q=n(S):t.StackGenerator=n(t.StackFrame)}(this,function(e){return{backtrace:function(t){var n=[],r=10;"object"==typeof t&&"number"==typeof t.maxStackSize&&(r=t.maxStackSize);for(var a=arguments.callee;a&&n.length<r&&a.arguments;){for(var o=Array(a.arguments.length),i=0;i<o.length;++i)o[i]=a.arguments[i];/function(?:\s+([\w$]+))+\s*\(/.test(a.toString())?n.push(new e({functionName:RegExp.$1||void 0,args:o})):n.push(new e({args:o}));try{a=a.caller}catch(e){break}}return n}}});var M=function(){function e(t,n,r,a,o){void 0===r&&(r=[]),void 0===a&&(a=A()),this.apiKey=void 0,this.context=void 0,this.groupingHash=void 0,this.originalError=o,this._handledState=a,this.severity=this._handledState.severity,this.unhandled=this._handledState.unhandled,this.app={},this.device={},this.request={},this.breadcrumbs=[],this.threads=[],this._metadata={},this._features={},this._user={},this._session=void 0,this.errors=[V(t,n,e.__type,r)]}var t=e.prototype;return t.addMetadata=function(e,t,n){return R(this._metadata,e,t,n)},t.getMetadata=function(e,t){return B(this._metadata,e,t)},t.clearMetadata=function(e,t){return L(this._metadata,e,t)},t.addFeatureFlag=function(e,t){void 0===t&&(t=null),N(this._features,e,t)},t.addFeatureFlags=function(e){k(this._features,e)},t.clearFeatureFlag=function(e){delete this._features[e]},t.clearFeatureFlags=function(){this._features={}},t.getUser=function(){return this._user},t.setUser=function(e,t,n){this._user={id:e,email:t,name:n}},t.toJSON=function(){var e;return{payloadVersion:"4",exceptions:p(this.errors,function(e){return h({},e,{message:e.errorMessage})}),severity:this.severity,unhandled:this._handledState.unhandled,severityReason:this._handledState.severityReason,app:this.app,device:this.device,request:this.request,breadcrumbs:this.breadcrumbs,context:this.context,groupingHash:this.groupingHash,metaData:this._metadata,user:this._user,session:this._session,featureFlags:p(u(e=this._features),function(t){var n={featureFlag:t};return"string"==typeof e[t]&&(n.variant=e[t]),n})}},e}(),C=function(e){var t={file:e.fileName,method:D(e.functionName),lineNumber:e.lineNumber,columnNumber:e.columnNumber,code:void 0,inProject:void 0};return!(t.lineNumber>-1)||t.file||t.method||(t.file="global code"),t},D=function(e){return/^global code$/i.test(e)?"global code":e},A=function(){return{unhandled:!1,severity:"warning",severityReason:{type:"handledException"}}},P=function(e){return"string"==typeof e?e:""};function V(e,t,r,a){return{errorClass:P(e),errorMessage:P(t),type:r,stacktrace:n(a,function(e,t){var n=C(t);try{if("{}"===JSON.stringify(n))return e;return e.concat(n)}catch(t){return e}},[])}}M.getStacktrace=function(e,t,n){if(x(e))return E.parse(e).slice(t);try{return r(q.backtrace(),function(e){return -1===(e.functionName||"").indexOf("StackGenerator$$")}).slice(1+n)}catch(e){return[]}},M.create=function(e,t,n,r,a,o){void 0===a&&(a=0);var i=F(e,t,r,o),s=i[0],u=i[1];try{var c=M.getStacktrace(s,u>0?1+u+a:0,1+a);l=new M(s.name,s.message,c,n,e)}catch(t){l=new M(s.name,s.message,[],n,e)}if("InvalidError"===s.name&&l.addMetadata(""+r,"non-error parameter",I(e)),s.cause){var l,f,d=p((function e(t){return t.cause?[t].concat(e(t.cause)):[t]})(s).slice(1),function(e){var t=T(e)&&x(e)?E.parse(e):[],n=F(e,!0,"error cause")[0];return"InvalidError"===n.name&&l.addMetadata("error cause",I(e)),V(n.name,n.message,M.__type,t)});(f=l.errors).push.apply(f,d)}return l};var I=function(e){return null===e?"null":void 0===e?"undefined":e},F=function(e,t,n,r){var a,o=0,i=function(e){var t="error cause"===n?"was":"received";r&&r.warn(n+" "+t+' a non-error: "'+e+'"');var a=Error(n+" "+t+' a non-error. See "'+n+'" tab for more detail.');return a.name="InvalidError",a};if(t)switch(typeof e){case"string":case"number":case"boolean":a=Error(String(e)),o+=1;break;case"function":a=i("function"),o+=2;break;
1case"object":null!==e&&T(e)?a=e:null!==e&&H(e)?((a=Error(e.message||e.errorMessage)).name=e.name||e.errorClass,o+=1):(a=i(null===e?"null":"unsupported object"),o+=2);break;default:a=i("nothing"),o+=2}else T(e)?a=e:(a=i(typeof e),o+=2);if(!x(a))try{throw a}catch(e){x(e)&&(a=e,o=1)}return[a,o]};M.__type="browserjs";var H=function(e){return("string"==typeof e.name||"string"==typeof e.errorClass)&&("string"==typeof e.message||"string"==typeof e.errorMessage)},K=function(e,t,n){var r=0,a=function(){if(r>=e.length)return n(null,!0);t(e[r],function(e,t){return e?n(e):!1===t?n(null,!1):void(r++,a())})};a()},$=function(e,t,n,r){K(e,function(e,r){if("function"!=typeof e)return r(null);try{if(2!==e.length){var a=e(t);if(a&&"function"==typeof a.then)return a.then(function(e){return setTimeout(function(){return r(null,e)})},function(e){setTimeout(function(){return n(e),r(null,!0)})});return r(null,a)}e(t,function(e,t){if(e)return n(e),r(null);r(null,t)})}catch(e){n(e),r(null)}},r)},U=function(e,t,n,r){for(var a=!1,o=e.slice();!a&&o.length;)try{a=!1===o.pop()(t)}catch(e){r.error("Error occurred in "+n+" callback, continuing anywayâ¦"),r.error(e)}return a},X=function(e,t){var n="000000000"+e;return n.substr(n.length-t)},J="object"==typeof window?window:self,W=0;for(var z in J)Object.hasOwnProperty.call(J,z)&&W++;var G=X(((navigator.mimeTypes?navigator.mimeTypes.length:0)+navigator.userAgent.length).toString(36)+W.toString(36),4),Q=function(){return G},Y=0;function Z(){return X((1679616*Math.random()|0).toString(36),4)}function ee(){return"c"+new Date().getTime().toString(36)+X((Y=Y<1679616?Y:0,++Y-1).toString(36),4)+Q()+(Z()+Z())}ee.fingerprint=Q;var et=function(){function e(){this.id=ee(),this.startedAt=new Date,this._handled=0,this._unhandled=0,this._user={},this.app={},this.device={}}var t=e.prototype;return t.getUser=function(){return this._user},t.setUser=function(e,t,n){this._user={id:e,email:t,name:n}},t.toJSON=function(){return{id:this.id,startedAt:this.startedAt,events:{handled:this._handled,unhandled:this._unhandled}}},t._track=function(e){this[e._handledState.unhandled?"_unhandled":"_handled"]+=1},e}(),en=function(){},er=function(){function e(t,n,r,a){var o=this;void 0===n&&(n=d.schema),void 0===r&&(r=[]),this._notifier=a,this._config={},this._schema=n,this._delivery={sendSession:en,sendEvent:en},this._logger={debug:en,info:en,warn:en,error:en},this._plugins={},this._breadcrumbs=[],this._session=null,this._metadata={},this._features={},this._context=void 0,this._user={},this._cbs={e:[],s:[],sp:[],b:[]},this.Client=e,this.Event=M,this.Breadcrumb=_,this.Session=et,this._config=this._configure(t,r),p(r.concat(this._config.plugins),function(e){e&&o._loadPlugin(e)}),this._depth=1;var i=this,s=this.notify;this.notify=function(){return s.apply(i,arguments)}}var o=e.prototype;return o.addMetadata=function(e,t,n){return R(this._metadata,e,t,n)},o.getMetadata=function(e,t){return B(this._metadata,e,t)},o.clearMetadata=function(e,t){return L(this._metadata,e,t)},o.addFeatureFlag=function(e,t){void 0===t&&(t=null),N(this._features,e,t)},o.addFeatureFlags=function(e){k(this._features,e)},o.clearFeatureFlag=function(e){delete this._features[e]},o.clearFeatureFlags=function(){this._features={}},o.getContext=function(){return this._context},o.setContext=function(e){this._context=e},o._configure=function(e,t){var r=n(t,function(e,t){return t&&t.configSchema?h({},e,t.configSchema):e},this._schema),a=n(u(r),function(t,n){var a=r[n].defaultValue(e[n]);return void 0!==e[n]?r[n].validate(e[n])?r[n].allowPartialObject?t.config[n]=h(a,e[n]):t.config[n]=e[n]:(t.errors[n]=r[n].message,t.config[n]=a):t.config[n]=a,t},{errors:{},config:{}}),o=a.errors,i=a.config;if(r.apiKey){if(!i.apiKey)throw Error("No Bugsnag API Key set");/^[0-9a-f]{32}$/i.test(i.apiKey)||(o.apiKey="should be a string of 32 hexadecimal characters")}return this._metadata=h({},i.metadata),k(this._features,i.featureFlags),this._user=h({},i.user),this._context=i.context,i.logger&&(this._logger=i.logger),i.onError&&(this._cbs.e=this._cbs.e.concat(i.onError)),i.onBreadcrumb&&(this._cbs.b=this._cbs.b.concat(i.onBreadcrumb)),i.onSession&&(this._cbs.s=this._cbs.s.concat(i.onSession)),u(o).length&&this._logger.warn(ea(o,e)),i},o.getUser=function(){return this._user},o.setUser=function(e,t,n){this._user={id:e,email:t,name:n}},o._loadPlugin=function(e){var t=e.load(this);return e.name&&(this._plugins["~"+e.name+"~"]=t),this},o.getPlugin=function(e){return this._plugins["~"+e+"~"]},o._setDelivery=function(e){this._delivery=e(this)},o.startSession=function(){var e=new et;return(e.app.releaseStage=this._config.releaseStage,e.app.version=this._config.appVersion,e.app.type=this._config.appType,e._user=h({},this._user),U(this._cbs.s,e,"onSession",this._logger))?(this._logger.debug("Session not started due to onSession callback"),this):this._sessionDelegate.startSession(this,e)},o.addOnError=function(e,t){void 0===t&&(t=!1),this._cbs.e[t?"unshift":"push"](e)},o.removeOnError=function(e){this._cbs.e=r(this._cbs.e,function(t){return t!==e})},o._addOnSessionPayload=function(e){this._cbs.sp.push(e)},o.addOnSession=function(e){this._cbs.s.push(e)},o.removeOnSession=function(e){this._cbs.s=r(this._cbs.s,function(t){return t!==e})},o.addOnBreadcrumb=function(e,t){void 0===t&&(t=!1),this._cbs.b[t?"unshift":"push"](e)},o.removeOnBreadcrumb=function(e){this._cbs.b=r(this._cbs.b,function(t){return t!==e})},o.pauseSession=function(){return this._sessionDelegate.pauseSession(this)},o.resumeSession=function(){return this._sessionDelegate.resumeSession(this)},o.leaveBreadcrumb=function(e,n,r){if(e="string"==typeof e?e:"",r="string"==typeof r&&a(t,r)?r:"manual",n="object"==typeof n&&null!==n?n:{},e){var o=new _(e,n,r);if(U(this._cbs.b,o,"onBreadcrumb",this._logger))return void this._logger.debug("Breadcrumb not attached due to onBreadcrumb callback");this._breadcrumbs.push(o),this._breadcrumbs.length>this._config.maxBreadcrumbs&&(this._breadcrumbs=this._breadcrumbs.slice(this._breadcrumbs.length-this._config.maxBreadcrumbs))}},o._isBreadcrumbTypeEnabled=function(e){var t=this._config.enabledBreadcrumbTypes;return null===t||a(t,e)},o.notify=function(e,t,n){void 0===n&&(n=en);var r=M.create(e,!0,void 0,"notify()",this._depth+1,this._logger);this._notify(r,t,n)},o._notify=function(t,n,r){var o=this;if(void 0===r&&(r=en),t.app=h({},t.app,{releaseStage:this._config.releaseStage,version:this._config.appVersion,type:this._config.appType}),t.context=t.context||this._context,t._metadata=h({},t._metadata,this._metadata),t._features=h({},t._features,this._features),t._user=h({},t._user,this._user),t.breadcrumbs=this._breadcrumbs.slice(),null!==this._config.enabledReleaseStages&&!a(this._config.enabledReleaseStages,this._config.releaseStage))return this._logger.warn("Event not sent due to releaseStage/enabledReleaseStages configuration"),r(null,t);var i=t.severity,s=function(e){o._logger.error("Error occurred in onError callback, continuing anywayâ¦"),o._logger.error(e)};$([].concat(this._cbs.e).concat(n),t,s,function(n,a){if(n&&s(n),!a)return o._logger.debug("Event not sent due to onError callback"),r(null,t);o._isBreadcrumbTypeEnabled("error")&&e.prototype.leaveBreadcrumb.call(o,t.errors[0].errorClass,{errorClass:t.errors[0].errorClass,errorMessage:t.errors[0].errorMessage,severity:t.severity},"error"),i!==t.severity&&(t._handledState.severityReason={type:"userCallbackSetSeverity"}),t.unhandled!==t._handledState.unhandled&&(t._handledState.severityReason.unhandledOverrid
1den=!0,t._handledState.unhandled=t.unhandled),o._session&&(o._session._track(t),t._session=o._session),o._delivery.sendEvent({apiKey:t.apiKey||o._config.apiKey,notifier:o._notifier,events:[t]},function(e){return r(e,t)})})},e}(),ea=function(e,t){return Error("Invalid configuration\n"+p(u(e),function(n){return" - "+n+" "+e[n]+", got "+eo(t[n])}).join("\n\n"))},eo=function(e){switch(typeof e){case"string":case"number":case"object":return JSON.stringify(e);default:return String(e)}},ei={},es=["events.[].metaData","events.[].breadcrumbs.[].metaData","events.[].request"];ei.event=function(e,t){var n=O(e,null,null,{redactedPaths:es,redactedKeys:t});if(n.length>1e6&&(e.events[0]._metadata={notifier:"WARNING!\nSerialized payload was "+n.length/1e6+"MB (limit = 1MB)\nmetadata was removed"},(n=O(e,null,null,{redactedPaths:es,redactedKeys:t})).length>1e6))throw Error("payload exceeded 1MB limit");return n},ei.session=function(e,t){var n=O(e,null,null);if(n.length>1e6)throw Error("payload exceeded 1MB limit");return n};var eu={},ec=function(e,t,n,r){var a=JSON.parse(JSON.stringify(new Date));return el(e.endpoints[t],r.location.protocol)+"?apiKey="+encodeURIComponent(e.apiKey)+"&payloadVersion="+n+"&sentAt="+encodeURIComponent(a)},el=(eu=function(e,t){return void 0===t&&(t=window),{sendEvent:function(n,r){void 0===r&&(r=function(){});var a=ec(e._config,"notify","4",t),o=new t.XDomainRequest;o.onload=function(){r(null)},o.open("POST",a),setTimeout(function(){try{o.send(ei.event(n,e._config.redactedKeys))}catch(t){e._logger.error(t),r(t)}},0)},sendSession:function(n,r){void 0===r&&(r=function(){});var a=ec(e._config,"sessions","1",t),o=new t.XDomainRequest;o.onload=function(){r(null)},o.open("POST",a),setTimeout(function(){try{o.send(ei.session(n,e._config.redactedKeys))}catch(t){e._logger.error(t),r(t)}},0)}}})._matchPageProtocol=function(e,t){return"http:"===t?e.replace(/^https:/,"http:"):e},ef=function(e,t){return void 0===t&&(t=window),{sendEvent:function(n,r){void 0===r&&(r=function(){});try{var a=e._config.endpoints.notify,o=new t.XMLHttpRequest;o.onreadystatechange=function(){o.readyState===t.XMLHttpRequest.DONE&&r(null)},o.open("POST",a),o.setRequestHeader("Content-Type","application/json"),o.setRequestHeader("Bugsnag-Api-Key",n.apiKey||e._config.apiKey),o.setRequestHeader("Bugsnag-Payload-Version","4"),o.setRequestHeader("Bugsnag-Sent-At",new Date().toISOString()),o.send(ei.event(n,e._config.redactedKeys))}catch(t){e._logger.error(t)}},sendSession:function(n,r){void 0===r&&(r=function(){});try{var a=e._config.endpoints.sessions,o=new t.XMLHttpRequest;o.onreadystatechange=function(){o.readyState===t.XMLHttpRequest.DONE&&r(null)},o.open("POST",a),o.setRequestHeader("Content-Type","application/json"),o.setRequestHeader("Bugsnag-Api-Key",e._config.apiKey),o.setRequestHeader("Bugsnag-Payload-Version","1"),o.setRequestHeader("Bugsnag-Sent-At",new Date().toISOString()),o.send(ei.session(n,e._config.redactedKeys))}catch(t){e._logger.error(t)}}}},ed=new Date,eg=function(){ed=new Date},eh={name:"appDuration",load:function(e){return e.addOnError(function(e){var t=new Date;e.app.duration=t-ed},!0),{reset:eg}}},ep=function(e,t){var n="000000000"+e;return n.substr(n.length-t)},ev="object"==typeof window?window:self,em=0;for(var ey in ev)Object.hasOwnProperty.call(ev,ey)&&em++;var eb=ep(((navigator.mimeTypes?navigator.mimeTypes.length:0)+navigator.userAgent.length).toString(36)+em.toString(36),4),e_=function(){return eb},eS=0;function ew(){return ep((1679616*Math.random()|0).toString(36),4)}function eE(){return"c"+new Date().getTime().toString(36)+ep((eS=eS<1679616?eS:0,++eS-1).toString(36),4)+e_()+(ew()+ew())}eE.fingerprint=e_;var eO="bugsnag-anonymous-id",ej=function(){try{var e=window.localStorage,t=e.getItem(eO);if(t&&/^c[a-z0-9]{20,32}$/.test(t))return t;return t=eE(),e.setItem(eO,t),t}catch(e){}},eN=function(e){var t=e.getUser();t&&t.id||e.setUser(e.device.id)},ek={load:function(e){e._sessionDelegate=ex}},ex={startSession:function(e,t){return(e._session=t,e._pausedSession=null,null===e._config.enabledReleaseStages||a(e._config.enabledReleaseStages,e._config.releaseStage))?e._delivery.sendSession({notifier:e._notifier,device:t.device,app:t.app,sessions:[{id:t.id,startedAt:t.startedAt,user:t._user}]}):e._logger.warn("Session not sent due to releaseStage/enabledReleaseStages configuration"),e},resumeSession:function(e){return e._session?e:e._pausedSession?(e._session=e._pausedSession,e._pausedSession=null,e):e.startSession()},pauseSession:function(e){e._pausedSession=e._session,e._session=null}},eT={load:function(e){e._config.collectUserIp||e.addOnError(function(e){e._user&&void 0===e._user.id&&delete e._user.id,e._user=h({id:"[REDACTED]"},e._user),e.request=h({clientIp:"[REDACTED]"},e.request)})},configSchema:{collectUserIp:{defaultValue:function(){return!0},message:"should be true|false",validate:function(e){return!0===e||!1===e}}}},eL={};
1eL.load=function(e){!/^(local-)?dev(elopment)?$/.test(e._config.releaseStage)&&e._isBreadcrumbTypeEnabled("log")&&p(eR,function(t){var r=console[t];console[t]=function(){for(var a=arguments.length,o=Array(a),i=0;i<a;i++)o[i]=arguments[i];e.leaveBreadcrumb("Console output",n(o,function(e,t,n){var r="[Unknown value]";try{r=String(t)}catch(e){}if("[object Object]"===r)try{r=JSON.stringify(t)}catch(e){}return e["["+n+"]"]=r,e},{severity:0===t.indexOf("group")?"log":t}),"log"),r.apply(console,o)},console[t]._restore=function(){console[t]=r}})};var eR=r(["log","debug","info","warn","error"],function(e){return"u">typeof console&&"function"==typeof console[e]});function eB(e,t,n){var r=e[t];if(!r)return r;var a=n(r);return e[t]=a,r}function eq(e){var t=!!e[1]&&"function"==typeof e[1].handleEvent;return{get:function(){return t?e[1].handleEvent:e[1]},replace:function(n){t?e[1].handleEvent=n:e[1]=n}}}var eM=function(e){var t,n,r=e.textContent||e.innerText||"";return r||"submit"!==e.type&&"button"!==e.type||(r=e.value),t=r=r.replace(/^\s+|\s+$/g,""),n="(...)",t&&t.length<=140?t:t.slice(0,140-n.length)+n},eC={};eC=function(e){return void 0===e&&(e=window),{load:function(t){if("addEventListener"in e&&t._isBreadcrumbTypeEnabled("navigation")){var n=function(e){return function(){return t.leaveBreadcrumb(e,{},"navigation")}};e.addEventListener("pagehide",n("Page hidden"),!0),e.addEventListener("pageshow",n("Page shown"),!0),e.addEventListener("load",n("Page loaded"),!0),e.document.addEventListener("DOMContentLoaded",n("DOMContentLoaded"),!0),e.addEventListener("load",function(){return e.addEventListener("popstate",n("Navigated back"),!0)}),e.addEventListener("hashchange",function(n){var r=n.oldURL?{from:eD(n.oldURL,e),to:eD(n.newURL,e),state:eV(e)}:{to:eD(e.location.href,e)};t.leaveBreadcrumb("Hash changed",r,"navigation")},!0),e.history.replaceState&&eP(t,e.history,"replaceState",e),e.history.pushState&&eP(t,e.history,"pushState",e)}}}};var eD=function(e,t){var n=t.document.createElement("A");return n.href=e,""+n.pathname+n.search+n.hash},eA=function(e,t,n,r){var a=eD(e.location.href,e);return{title:n,state:t,prevState:eV(e),to:r||a,from:a}},eP=function(e,t,n,r){var a=t[n];t[n]=function(o,i,s){e.leaveBreadcrumb("History "+n,eA(r,o,i,s),"navigation"),"function"==typeof e.resetEventCount&&e.resetEventCount(),e._config.autoTrackSessions&&e.startSession(),a.apply(t,[o,i].concat(void 0!==s?s:[]))}},eV=function(e){try{return e.history.state}catch(e){}},eI="request",eF={load:function(e){var t=0;e.addOnError(function(n){if(t>=e._config.maxEvents)return e._logger.warn("Cancelling event send due to maxEvents per session limit of "+e._config.maxEvents+" being reached"),!1;t++}),e.resetEventCount=function(){t=0}},configSchema:{maxEvents:{defaultValue:function(){return 10},message:"should be a positive integer â¤100",validate:function(e){return c(1,100)(e)}}}},eH={},eK=(eH={load:function(e){e.addOnError(function(e){p(n(e.errors,function(e,t){return e.concat(t.stacktrace)},[]),function(e){e.file=eK(e.file)})})}})._strip=function(e){return"string"==typeof e?e.replace(/\?.*$/,"").replace(/#.*$/,""):e},e$=function(e,t,n,r){e[0]||e.push({});var a=e[0];a.file||"string"!=typeof t||(a.file=t),!a.lineNumber&&eU(n)&&(a.lineNumber=n),!a.columnNumber&&(eU(r)?a.columnNumber=r:window.event&&eU(window.event.errorCharacter)&&(a.columnNumber=window.event.errorCharacter))},eU=function(e){return"number"==typeof e&&"NaN"!==String.call(e)},eX={},eJ=h({},d.schema,y),eW={_client:null,createClient:function(e){"string"==typeof e&&(e={apiKey:e}),e||(e={});var t,o,i,s,u,c,l,f,d,g,v,m=new er(e,eJ,[eh,(void 0===t&&(t=navigator),void 0===o&&(o=window.screen),{load:function(e){var n={locale:t.browserLanguage||t.systemLanguage||t.userLanguage||t.language,userAgent:t.userAgent};o&&o.orientation&&o.orientation.type?n.orientation=o.orientation.type:n.orientation=document.documentElement.clientWidth>document.documentElement.clientHeight?"landscape":"portrait",e._config.generateAnonymousId&&(n.id=ej()),e.addOnSession(function(t){t.device=h({},t.device,n),e._config.collectUserIp||eN(t)}),e.addOnError(function(t){t.device=h({},t.device,n,{time:new Date}),e._config.collectUserIp||eN(t)},!0)},configSchema:{generateAnonymousId:{validate:function(e){return!0===e||!1===e},defaultValue:function(){return!0},message:"should be true|false"}}}),(void 0===i&&(i=window),{load:function(e){e.addOnError(function(e){void 0===e.context&&(e.context=i.location.pathname)},!0)}}),(void 0===s&&(s=window),{load:function(e){e.addOnError(function(e){e.request&&e.request.url||(e.request=h({},e.request,{url:s.location.href}))},!0)}}),eF,ek,eT,eH,(void 0===u&&(u=window),{load:function(e){if(e._config.autoDetectErrors&&e._config.enabledErrorTypes.unhandledExceptions){var t=u.onerror;u.onerror=function(n,r,a,o,i){if(0===a&&/Script error\.?/.test(n))e._logger.warn("Ignoring cross-domain or eval script error. See docs: https://tinyurl.com/yy3rn63z");else{var s,u={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}};if(i)e$((s=e.Event.create(i,!0,u,"window onerror",1)).errors[0].stacktrace,r,a,o);else if("object"!=typeof n||null===n||r&&"string"==typeof r||a||o||i)e$((s=e.Event.create(n,!0,u,"window onerror",1)).errors[0].stacktrace,r,a,o);else{var c=n.type?"Event: "+n.type:"Error",l=n.message||n.detail||"";(s=e.Event.create({name:c,message:l},!0,u,"window onerror",1)).originalError=n,s.addMetadata("window onerror",{event:n,extraParameters:r})}e._notify(s)}"function"==typeof t&&t.apply(this,arguments)}}}}),(void 0===c&&(c=window),{load:function(e){if(e._config.autoDetectErrors&&e._config.enabledErrorTypes.unhandledRejections){var t=function(t){var n,r=t.reason,a=!1;try{t.detail&&t.detail.reason&&(r=t.detail.reason,a=!0)}catch(e){}var o=e.Event.create(r,!1,{severity:"error",unhandled:!0,severityReason:{type:"unhandledPromiseRejection"}},"unhandledrejection handler",1,e._logger);a&&p(o.errors[0].stacktrace,(n=r,function(e){e.file!==n.toString()&&e.method&&(e.method=e.method.replace(/^\s+/,""))})),e._notify(o,function(e){if(T(e.originalError)&&!e.originalError.stack){var t;e.addMetadata("unhandledRejection handler",((t={})[Object.prototype.toString.call(e.originalError)]={name:e.originalError.name,message:e.originalError.message,code:e.originalError.code},t))}})};"addEventListener"in c?c.addEventListener("unhandledrejection",t):c.onunhandledrejection=function(e,n){t({detail
1:{reason:e,promise:n}})}}}}),eC(),(void 0===l&&(l=window),{load:function(e){"addEventListener"in l&&e._isBreadcrumbTypeEnabled("user")&&l.addEventListener("click",function(t){var n,r;try{n=eM(t.target),r=function e(t,n){var r=[t.tagName];if(t.id&&r.push("#"+t.id),t.className&&t.className.length&&r.push("."+t.className.split(" ").join(".")),!n.document.querySelectorAll||!Array.prototype.indexOf)return r.join("");try{if(1===n.document.querySelectorAll(r.join("")).length)return r.join("")}catch(e){return r.join("")}if(t.parentNode.childNodes.length>1){var a=Array.prototype.indexOf.call(t.parentNode.childNodes,t)+1;r.push(":nth-child("+a+")")}return 1===n.document.querySelectorAll(r.join("")).length?r.join(""):t.parentNode?e(t.parentNode,n)+" > "+r.join(""):r.join("")}(t.target,l)}catch(t){n="[hidden]",r="[hidden]",e._logger.error("Cross domain error when tracking click event. See docs: https://tinyurl.com/yy3rn63z")}e.leaveBreadcrumb("UI click",{targetText:n,targetSelector:r},"user")},!0)}}),(void 0===f&&(f=[]),void 0===d&&(d=window),{load:function(e){if(e._isBreadcrumbTypeEnabled("request")){var t=[e._config.endpoints.notify,e._config.endpoints.sessions].concat(f);(function(){if("addEventListener"in d.XMLHttpRequest.prototype){var n=d.XMLHttpRequest.prototype.open;d.XMLHttpRequest.prototype.open=function(r,o){var i=this;this.addEventListener("load",function(){var n=r,s=o,u=i.status;if(void 0===s)return void e._logger.warn("The request URL is no longer present on this XMLHttpRequest. A breadcrumb cannot be left for this request.");if(!("string"==typeof s&&a(t,s.replace(/\?.*$/,"")))){var c={status:u,request:n+" "+s};u>=400?e.leaveBreadcrumb("XMLHttpRequest failed",c,eI):e.leaveBreadcrumb("XMLHttpRequest succeeded",c,eI)}}),this.addEventListener("error",function(){var n,i;return n=r,void(void 0===(i=o)?e._logger.warn("The request URL is no longer present on this XMLHttpRequest. A breadcrumb cannot be left for this request."):"string"==typeof i&&a(t,i.replace(/\?.*$/,""))||e.leaveBreadcrumb("XMLHttpRequest error",{request:n+" "+i},eI))}),n.apply(this,arguments)}}})(),function(){if("fetch"in d&&!d.fetch.polyfill){var e=d.fetch;d.fetch=function(){var t,a=arguments,o=arguments[0],i=arguments[1],s=null;return o&&"object"==typeof o?(s=o.url,i&&"method"in i?t=i.method:o&&"method"in o&&(t=o.method)):(s=o,i&&"method"in i&&(t=i.method)),void 0===t&&(t="GET"),new Promise(function(o,i){e.apply(void 0,a).then(function(e){n(e,t,s),o(e)}).catch(function(e){r(t,s),i(e)})})}}}();var n=function(t,n,r){var a={status:t.status,request:n+" "+r};t.status>=400?e.leaveBreadcrumb("fetch() failed",a,eI):e.leaveBreadcrumb("fetch() succeeded",a,eI)},r=function(t,n){e.leaveBreadcrumb("fetch() error",{request:t+" "+n},eI)}}}}),eL,(void 0===g&&(g=document),void 0===v&&(v=window),{load:function(e){if(e._config.trackInlineScripts){var t=v.location.href,a="",o=g.attachEvent?"complete"===g.readyState:"loading"!==g.readyState,i=function(){return g.documentElement.outerHTML};a=i();var s=g.onreadystatechange;g.onreadystatechange=function(){"interactive"===g.readyState&&(a=i(),o=!0);try{s.apply(this,arguments)}catch(e){}};var u=null,c=function(e){u=e},l=function(){var e=g.currentScript||u;if(!e&&!o){var t=g.scripts||g.getElementsByTagName("script");e=t[t.length-1]}return e},f=function(e){o&&a||(a=i());var t=["\x3c!-- DOC START --\x3e"].concat(a.split("\n")),r=e-1,s=Math.max(r-3,0),u=Math.min(r+3,t.length);return n(t.slice(s,u),function(e,t,n){return e[s+1+n]=t.length<=200?t:t.substr(0,200),e},{})};e.addOnError(function(e){e.errors[0].stacktrace=r(e.errors[0].stacktrace,function(e){return!/__trace__$/.test(e.method)});var n=e.errors[0].stacktrace[0];if(!n||!n.file||n.file.replace(/#.*$/,"")===t.replace(/#.*$/,"")){var a=l();if(a){var o=a.innerHTML;e.addMetadata("script","content",o.length<=5e5?o:o.substr(0,5e5)),n&&n.lineNumber&&(n.code=f(n.lineNumber))}}},!0);var d=p(["setTimeout","setInterval","setImmediate","requestAnimationFrame"],function(e){return eB(v,e,function(e){return h(e,function(e){return{get:function(){return e[0]},replace:function(t){e[0]=t}}})})})[0];p(["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],function(e){v[e]&&v[e].prototype&&Object.prototype.hasOwnProperty.call(v[e].prototype,"addEventListener")&&(eB(v[e].prototype,"addEventListener",function(e){return h(e,eq)}),eB(v[e].prototype,"removeEventListener",function(e){return h(e,eq,!0)}))})}function h(e,t,n){return void 0===n&&(n=!1),function(){var r=[].slice.call(arguments);try{var a=t(r),o=a.get();if(n&&e.apply(this,r),"function"!=typeof o)return e.apply(this,r);if(o.__trace__)a.replace(o.__trace__);else{var i=l();o.__trace__=function(){c(i),d(function(){c(null)},0);var e=o.apply(this,arguments);return c(null),e},o.__trace__.__trace__=o.__trace__,a.replace(o.__trace__)}}catch(e){}if(e.apply)return e.apply(this,r);switch(r.length){case 1:return e(r[0]);case 2:return e(r[0],r[1]);default:return e()}}}},configSchema:{trackInlineScripts:{validate:function(e){return!0===e||!1===e},defaultValue:function(){return!0},message:"should be true|false"}}})],{name:"Bugsnag JavaScript",version:"7.16.7",url:"https://github.com/bugsnag/bugsnag-js"});return m._setDelivery(window.XDomainRequest?eu:ef),m._logger.debug("Loaded!"),m.leaveBreadcrumb("Bugsnag loaded",{},"state"),m._config.autoTrackSessions?m.startSession():m},start:function(e){return eW._client?eW._client._logger.warn("Bugsnag.start() was called more than once. Ignoring."):eW._client=eW.createClient(e),eW._
1client},isStarted:function(){return null!=eW._client}};return p(["resetEventCount"].concat(u(er.prototype)),function(e){/^_/.test(e)||(eW[e]=function(){if(!eW._client)return console.log("Bugsnag."+e+"() was called before Bugsnag.start()");eW._client._depth+=1;var t=eW._client[e].apply(eW._client,arguments);return eW._client._depth-=1,t})}),(eX=eW).Client=er,eX.Event=M,eX.Session=et,eX.Breadcrumb=_,eX.default=eW,eX}()},272011(e,t,n){e.exports=n(500306)}}]); 2//# sourceMappingURL=/packs/js/43032-0eb8f2b9bf4fe11d.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.