PageSourceSearch

https://gamecode.ai/_next/static/chunks/3xnll11e0ntt7.js

js gamecode.ai collected 2026-10-05 12:02:28 UTC 45,832 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,439651,(e,t,n)=>{t.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.bind()).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 E={};!function(t,n){"use strict";"function"==typeof e&&e.amd?e("error-stack-parser",["stackframe"],n):"object"==typeof E?E=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 w=E,x=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 O(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 O(e)}}(t,h),n.concat(h))}}catch(e){}return s.pop(),g}(a,[])),t,n)};function O(e){return"[Throws: "+(e?e.message:"?")+"]"}function j(e,t,n,r){if("string"==typeof n){void 0===r?r=null:null!==r&&"string"!=typeof r&&(r=x(r));var a=t[n];if("number"==typeof a){e[a]={name:n,variant:r};return}e.push({name:n,variant:r}),t[n]=e.length-1}}var N=function(e,t,n){var r=t[n];"number"==typeof r&&(e[r]=null,delete t[n])},k=function(e,t,n){if(o(t)){for(var r=0;r<t.length;++r){var a=t[r];null!==a&&"object"==typeof a&&j(e,n,a.name,a.variant)}return e}},T=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},R=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){"string"!=typeof t||(n?"__proto__"!==t&&"constructor"!==t&&"prototype"!==t&&e[t]&&delete e[t][n]:delete e[t])},B=function(e,t,n,r){var a,o;return t?null===n?L(e,t):("object"==typeof n&&(o=n),"string"==typeof n&&((a={})[n]=r,o=a),o)?void("__proto__"!==t&&"constructor"!==t&&"prototype"!==t&&(!e[t]&&(e[t]={}),e[t]=h({},e[t],o))):void 0:void 0},q=function(e,t,n){if("string"==typeof t){if(!n)return e[t];if(e[t])return e[t][n]}},C={};!function(t,n){"use strict";"function"==typeof e&&e.amd?e("stack-generator",["stackframe"],n):"object"==typeof C?C=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=D()),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._featuresIndex={},this._user={},this._session=void 0,this.errors=[P(t,n,e.__type,r)]}var t=e.prototype;return t.addMetadata=function(e,t,n){return B(this._metadata,e,t,n)},t.getMetadata=function(e,t){return q(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),j(this._features,this._featuresIndex,e,t)},t.addFeatureFlags=function(e){k(this._features,e,this._featuresIndex)},t.getFeatureFlags=function(){return p(r(this._features,Boolean),function(e){var t=e.name,n=e.variant,r={featureFlag:t};return"string"==typeof n&&(r.variant=n),r})},t.clearFeatureFlag=function(e){N(this._features,this._featuresIndex,e)},t.clearFeatureFlags=function(){this._features=[],this._featuresIndex={}},t.getUser=function(){return this._user},t.setUser=function(e,t,n){this._user={id:e,email:t,name:n}},t.toJSON=function(){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:this.getFeatureFlags()}},e}(),A=function(e){var t={file:e.fileName,method:I(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},I=function(e){return/^global code$/i.test(e)?"global code":e},D=function(){return{unhandled:!1,severity:"warning",severityReason:{type:"handledException"}}},F=function(e){return"string"==typeof e?e:""};function P(e,t,r,a){return{errorClass:F(e),errorMessage:F(t),type:r,stacktrace:n(a,function(e,t){var n=A(t);try{if("{}"===JSON.stringify(n))return e;return e.concat(n)}catch(t){return e}},[])}}M.getStacktrace=function(e,t,n){if(T(e))return w.parse(e).slice(t);try{return r(C.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=H(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",V(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=R(e)&&T(e)?w.parse(e):[],n=H(e,!0,"error cause")[0];return"InvalidError"===n.name&&l.addMetadata("error cause",V(e)),P(n.name,n.message,M.__type,t)});(f=l.errors).push.apply(f,d)}return l};var V=function(e){return null===e?"null":void 0===e?"undefined":e},H=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;case"object":null!==e&&R(e)?a=e:null!==e&&$(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 R(e)?a=e:(a=i(typeof e),o+=2);if(!T(a))try{throw a}catch(e){T(e)&&(a=e,o=1)}return[a,o]};M.__type="browserjs";var $=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()},U=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)},X=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},J=function(e,t){var n="000000000"+e;return n.substr(n.length-t)},z="object"==typeof window?window:self,W=0;for(var G in z)Object.hasOwnProperty.call(z,G)&&W++;var Q=J(((navigator.mimeTypes?navigator.mimeTypes.length:0)+navigator.userAgent.length).toString(36)+W.toString(36),4),Y=function(){return Q},Z=0;function ee(){return J((1679616*Math.random()|0).toString(36),4)}function et(){return"c"+new Date().getTime().toString(36)+J((Z=Z<1679616?Z:0,++Z-1).toString(36),4)+Y()+(ee()+ee())}et.fingerprint=Y;var en=function(){function e(){this.id=et(),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}(),er=function(){},ea=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:er,sendEvent:er},this._logger={debug:er,info:er,warn:er,error:er},this._plugins={},this._breadcrumbs=[],this._session=null,this._metadata={},this._featuresIndex={},this._features=[],this._context=void 0,this._user={},this._cbs={e:[],s:[],sp:[],b:[]},this.Client=e,this.Event=M,this.Breadcrumb=_,this.Session=en,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 B(this._metadata,e,t,n)},o.getMetadata=function(e,t){return q(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),j(this._features,this._featuresIndex,e,t)},o.addFeatureFlags=function(e){k(this._features,e,this._featuresIndex)},o.clearFeatureFlag=function(e){N(this._features,this._featuresIndex,e)},o.clearFeatureFlags=function(){this._features=[],this._featuresIndex={}},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[
1n]);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._featuresIndex),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(eo(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 en;return(e.app.releaseStage=this._config.releaseStage,e.app.version=this._config.appVersion,e.app.type=this._config.appType,e._user=h({},this._user),X(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(X(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=er);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=er),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._user=h({},t._user,this._user),t.breadcrumbs=this._breadcrumbs.slice(),k(t._features,this._features,t._featuresIndex),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)};U([].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.unhandledOverridden=!0,t._handledState.unhandled=t.unhandled),o._session&&(o._session._track(t),t._session=o._session),o._delivery.sendEvent({apiKey:t.apiKey||o._c
1onfig.apiKey,notifier:o._notifier,events:[t]},function(e){return r(e,t)})})},e}(),eo=function(e,t){return Error("Invalid configuration\n"+p(u(e),function(n){return"  - "+n+" "+e[n]+", got "+ei(t[n])}).join("\n\n"))},ei=function(e){switch(typeof e){case"string":case"number":case"object":return JSON.stringify(e);default:return String(e)}},es={},eu=["events.[].metaData","events.[].breadcrumbs.[].metaData","events.[].request"];es.event=function(e,t){var n=x(e,null,null,{redactedPaths:eu,redactedKeys:t});return n.length>1e6&&(e.events[0]._metadata={notifier:"WARNING!\nSerialized payload was "+n.length/1e6+"MB (limit = 1MB)\nmetadata was removed"},n=x(e,null,null,{redactedPaths:eu,redactedKeys:t})),n},es.session=function(e,t){return x(e,null,null)};var ec={},el=function(e,t,n,r){var a=JSON.parse(JSON.stringify(new Date));return ef(e.endpoints[t],r.location.protocol)+"?apiKey="+encodeURIComponent(e.apiKey)+"&payloadVersion="+n+"&sentAt="+encodeURIComponent(a)},ef=(ec=function(e,t){return void 0===t&&(t=window),{sendEvent:function(n,r){void 0===r&&(r=function(){});var a=el(e._config,"notify","4",t),o=es.event(n,e._config.redactedKeys),i=new t.XDomainRequest;i.onload=function(){r(null)},i.onerror=function(){var t=Error("Event failed to send");e._logger.error("Event failed to send…",t),o.length>1e6&&e._logger.warn("Event oversized ("+(o.length/1e6).toFixed(2)+" MB)"),r(t)},i.open("POST",a),setTimeout(function(){try{i.send(o)}catch(t){e._logger.error(t),r(t)}},0)},sendSession:function(n,r){void 0===r&&(r=function(){});var a=el(e._config,"sessions","1",t),o=new t.XDomainRequest;o.onload=function(){r(null)},o.open("POST",a),setTimeout(function(){try{o.send(es.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},ed=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,i=es.event(n,e._config.redactedKeys);o.onreadystatechange=function(){if(o.readyState===t.XMLHttpRequest.DONE){var n=o.status;if(0===n||n>=400){var a=Error("Request failed with status "+n);e._logger.error("Event failed to send…",a),i.length>1e6&&e._logger.warn("Event oversized ("+(i.length/1e6).toFixed(2)+" MB)"),r(a)}else 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(i)}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(){if(o.readyState===t.XMLHttpRequest.DONE){var n=o.status;if(0===n||n>=400){var a=Error("Request failed with status "+n);e._logger.error("Session failed to send…",a),r(a)}else 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(es.session(n,e._config.redactedKeys))}catch(t){e._logger.error(t)}}}},eg=new Date,eh=function(){eg=new Date},ep={name:"appDuration",load:function(e){return e.addOnError(function(e){var t=new Date;e.app.duration=t-eg},!0),{reset:eh}}},ev=function(e,t){var n="000000000"+e;return n.substr(n.length-t)},em="object"==typeof window?window:self,ey=0;for(var eb in em)Object.hasOwnProperty.call(em,eb)&&ey++;var e_=ev(((navigator.mimeTypes?navigator.mimeTypes.length:0)+navigator.userAgent.length).toString(36)+ey.toString(36),4),eS=function(){return e_},eE=0;function ew(){return ev((1679616*Math.random()|0).toString(36),4)}function ex(){return"c"+new Date().getTime().toString(36)+ev((eE=eE<1679616?eE:0,++eE-1).toString(36),4)+eS()+(ew()+ew())}ex.fingerprint=eS;var eO="bugsnag-anonymous-id",ej=function(e){try{var t=e.localStorage,n=t.getItem(eO);if(n&&/^c[a-z0-9]{20,32}$/.test(n))return n;return n=ex(),t.setItem(eO,n),n}catch(e){}},eN=function(e){var t=e.getUser();t&&t.id||e.setUser(e.device.id)},ek={load:function(e){e._sessionDelegate=eT}},eT={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}},eR={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(eB,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 eB=r(["log","debug","info","warn","error"],function(e){return"u">typeof console&&"function"==typeof console[e]});function eq(e,t,n){var r=e[t];if(!r)return r;var a=n(r);return e[t]=a,r}function eC(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=/^\s*([^\s][\s\S]{0,139}[^\s])?\s*/,eA={};eA=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:eI(n.oldURL,e),to:eI(n.newURL,e),state:eP(e)}:{to:eI(e.location.href,e)};t.leaveBreadcrumb("Hash changed",r,"navigation")},!0),e.history.replaceState&&eF(t,e.history,"replaceState",e),e.history.pushState&&eF(t,e.history,"pushState",e)}}}};var eI=function(e,t){var n=t.document.createElement("A");return n.href=e,""+n.pathname+n.search+n.hash},eD=function(e,t,n,r){var a=eI(e.location.href,e);return{title:n,state:t,prevState:eP(e),to:r||a,from:a}},eF=function(e,t,n,r){var a=t[n];t[n]=function(o,i,s){e.leaveBreadcrumb("History "+n,eD(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:[]))}},eP=function(e){try{return e.history.state}catch(e){}},eV="request",eH={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)}}}},e$={},eK=(e$={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},eU=function(e,t,n,r){e[0]||e.push({});var a=e[0];a.file||"string"!=typeof t||(a.file=t),!a.lineNumber&&eX(n)&&(a.lineNumber=n),!a.columnNumber&&(eX(r)?a.columnNumber=r:window.event&&eX(window.event.errorCharacter)&&(a.columnNumber=window.event.errorCharacter))},eX=function(e){return"number"==typeof e&&"NaN"!==String.call(e)},eJ={},ez=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,y=new ea(e,ez,[ep,(void 0===t&&(t=navigator),void 0===o&&(o=window),{load:function(e){var n={locale:t.browserLanguage||t.systemLanguage||t.userLanguage||t.language,userAgent:t.userAgent};o&&o.screen&&o.screen.orientation&&o.screen.orientation.type?n.orientation=o.screen.orientation.type:o&&o.document&&(n.orientation=o.document.documentElement.clientWidth>o.document.documentElement.clientHeight?"landscape":"portrait"),e._config.generateAnonymousId&&(n.id=ej(o)),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)}}),eH,ek,eR,e$,(void 0===u&&(u=window),void 0===c&&(c="window onerror"),{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)eU((s=e.Event.create(i,!0,u,c,1)).errors[0].stacktrace,r,a,o);else if("object"!=typeof n||null===n||r&&"string"==typeof r||a||o||i)eU((s=e.Event.create(n,!0,u,c,1)).errors[0].stacktrace,r,a,o);else{var l=n.type?"Event: "+n.type:"Error",f=n.message||n.detail||"";(s=e.Event.create({name:l,message:f},!0,u,c,1)).originalError=n,s.addMetadata(c,{event:n,extraParameters:r})}e._notify(s)}"function"==typeof t&&t.apply(this,arguments)}}}}),(void 0===l&&(l=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(R(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 l?l.addEventListener("unhandledrejection",t):l.onunhandledrejection=function(e,n){t({detail
1:{reason:e,promise:n}})}}}}),eA(),(void 0===f&&(f=window),{load:function(e){"addEventListener"in f&&e._isBreadcrumbTypeEnabled("user")&&f.addEventListener("click",function(t){var n,r,a,o;try{(o=(a=t.target).textContent||a.innerText||"")||"submit"!==a.type&&"button"!==a.type||(o=a.value),n=(o=o.replace(eM,"$1")).length>140?o.slice(0,135)+"(...)":o,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,f)}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===d&&(d=[]),void 0===g&&(g=window),{load:function(e){if(e._isBreadcrumbTypeEnabled("request")){var t=[e._config.endpoints.notify,e._config.endpoints.sessions].concat(d);(function(){if("addEventListener"in g.XMLHttpRequest.prototype){var n=g.XMLHttpRequest.prototype.open;g.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,eV):e.leaveBreadcrumb("XMLHttpRequest succeeded",c,eV)}}),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},eV))}),n.apply(this,arguments)}}})(),function(){if("fetch"in g&&!g.fetch.polyfill){var e=g.fetch;g.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,eV):e.leaveBreadcrumb("fetch() succeeded",a,eV)},r=function(t,n){e.leaveBreadcrumb("fetch() error",{request:t+" "+n},eV)}}}}),eL,(void 0===v&&(v=document),void 0===m&&(m=window),{load:function(e){if(e._config.trackInlineScripts){var t=m.location.href,a="",o=v.attachEvent?"complete"===v.readyState:"loading"!==v.readyState,i=function(){return v.documentElement.outerHTML};a=i();var s=v.onreadystatechange;v.onreadystatechange=function(){"interactive"===v.readyState&&(a=i(),o=!0);try{s.apply(this,arguments)}catch(e){}};var u=null,c=function(e){u=e},l=function(){var e=v.currentScript||u;if(!e&&!o){var t=v.scripts||v.getElementsByTagName("script");e=t[t.length-1]}return e},f=function(e){o&&a||(a=i());var t=["<!-- DOC START -->"].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],a=function(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"")};if(!n||!n.file||a(n.file)===a(t)){var o=l();if(o){var i=o.innerHTML;e.addMetadata("script","content",i.length<=5e5?i:i.substr(0,5e5)),n&&n.lineNumber&&(n.code=f(n.lineNumber))}}},!0);var d=p(["setTimeout","setInterval","setImmediate","requestAnimationFrame"],function(e){return eq(m,e,function(e){return g(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){m[e]&&m[e].prototype&&Object.prototype.hasOwnProperty.call(m[e].prototype,"addEventListener")&&(eq(m[e].prototype,"addEventListener",function(e){return g(e,eC)}),eq(m[e].prototype,"removeEventListener",function(e){return g(e,eC,!0)}))})}function g(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.22.7",url:"https://github.com/bugsnag/bugsnag-js"});return y._setDelivery(window.XDomainRequest?ec:ed),y._logger.debug("Loaded!"),y.leaveBreadcrumb("Bugsnag loaded",{},"state"),y._config.autoTrackSessions?y.startSession():y},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(ea.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})}),(eJ=eW).Client=ea,eJ.Event=M,eJ.Session=en,eJ.Breadcrumb=_,eJ.default=eW,eJ}()},940840,(e,t,n)=>{t.exports=e.r(439651)},850761,564249,e=>{"use strict";var t=e.i(191788);let n=e=>e&&"error"in e&&"number"==typeof e.error?.statusCode&&"string"==typeof e.error?.message;e.s(["isApiErrorResponse",0,n],564249),e.s(["useApiError",0,()=>{let[e,r]=(0,t.useState)(null);return{error:e,onError:e=>{n(e)&&r(e.error)},onSuccess:()=>{null!=e&&r(null)}}}],850761)},776059,508260,e=>{"use strict";e.s([],776059),e.s(["logErrorToBugsnag",()=>a,"logger",()=>r],508260),e.i(350461);var t=e.i(940840);e.i(566828);var n=e.i(564249);let r={log:(...e)=>{},warn:(...e)=>{},error:(...e)=>{},debug:(...e)=>{},trace:(...e)=>{},render:(...e)=>{window.location.search.includes("log=render")&&console.debug((performance.now()/1e3).toFixed(2),"| rendering ->",...e)}},a=e=>{let r=e instanceof Error?e:(0,n.isApiErrorResponse)(e)?Error(`${e.error.error} ${e.error.message} ${e.error.statusCode}`):Error("string"==typeof e?e:"Unknown error.");t.default.notify(r)}},566828,597265,301176,855958,e=>{"use strict";e.s([],566828),e.i(576926),e.i(850761),e.s(["ErrorDisplay",()=>a],597265);var t=e.i(391398);e.i(164919);var n=e.i(604959);e.i(776059);var r=e.i(508260);let a=({error:e,logErrorWhenNot404:a=!0})=>404===e.statusCode?(0,t.jsx)("div",{className:"text-gray-200",children:(0,t.jsxs)("h2",{className:"text-lg font-semibold",children:[(0,n.humanizeKey)(e.message)," ",e.error," ",(0,t.jsx)("span",{className:"text-2xl",children:"👀"})]})}):(a&&(0,r.logErrorToBugsnag)(e),(0,t.jsxs)("div",{className:"text-red-500",children:[(0,t.jsxs)("h2",{className:"text-lg font-semibold",children:["Oops, something went wrong! ",(0,t.jsx)("span",{className:"text-2xl",children:"😳"})]}),(0,t.jsxs)("p",{className:"text-center p-2",children:["Our technical staff have been notified and will be looking into this.",(0,t.jsxs)("span",{className:"text-[8px]",children:["(",e.statusCode,")"]})]})]}));e.s(["ErrorPage",()=>u],855958);var o=e.i(272043);let i=({className:e,children:n,headerHeight:r=0})=>(0,t.jsx)("div",{className:(0,o.default)("bg-surface-background",r<=0&&"min-h-full",e),style:r>0?{"--header-height":`${r}px`,height:`calc(100% - ${r}px)`}:void 0,children:n}),s=e=>(0,t.jsx)(i,{...e,className:(0,o.default)("p-4 sm:p-5 wide:p-6",e.className)});e.s(["MainContent",0,s,"MainStage",0,i],301176);let u=({error:e})=>(0,t.jsx)(s,{children:(0,t.jsx)("div",{className:"w-full h-full flex items-center justify-center",children:(0,t.jsx)(a,{error:e})})})}]);

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.