import{d as Ft,e as Dt,f as qt,g as Mt,h as Ut,l as Ht,ma as Xt,n as Bt,p as Jt,q as Wt,s as $t,sa as Vt,t as Gt,u as zt,v as H,wa as Zt,x as K,xa as Kt}from"./chunk-357RQ4KF.js";import{Ac as Lt,B as dt,F as X,Fc as Rt,Ga as _t,Gc as Pt,H as V,Ha as xt,Nb as Ct,Pa as kt,Q as mt,Ra as Et,Sc as jt,U as gt,W as vt,Z as W,a as A,aa as Z,b as tt,ca as yt,d as pe,e as lt,ea as U,g as pt,ha as et,ja as q,jb as It,jd as At,ka as j,lb as St,ma as bt,nb as Tt,nc as Nt,p as ht,pb as Ot,qa as wt,r as G,s as z,x as ft}from"./chunk-HQ4HNXZQ.js";var it=pe(($,ot)=>{"use strict";(function(L,I){typeof $=="object"&&typeof ot=="object"?ot.exports=I():typeof define=="function"&&define.amd?define([],I):typeof $=="object"?$.rollbar=I():L.rollbar=I()})($,()=>{return L={276:function(){(function(E){"use strict";E.console||(E.console={});for(var w,f,a=E.console,n=function(){},s=["memory"],i="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");w=s.pop();)a[w]||(a[w]={});for(;f=i.pop();)a[f]||(a[f]=n)})(typeof window>"u"?this:window)},180:function(E,w,f){var a,n,s;(function(i,r){"use strict";n=[f(124)],(s=typeof(a=function(o){var p=/(^|@)\S+:\d+/,t=/^\s*at .*(\S+:\d+|\(native\))/m,u=/^(eval@)?(\[native code])?$/;return{parse:function(v){if(v.stacktrace!==void 0||v["opera#sourceloc"]!==void 0)return this.parseOpera(v);if(v.stack&&v.stack.match(t))return this.parseV8OrIE(v);if(v.stack)return this.parseFFOrSafari(v);throw new Error("Cannot parse given Error object")},extractLocation:function(v){if(v.indexOf(":")===-1)return[v];var e=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(v.replace(/[()]/g,""));return[e[1],e[2]||void 0,e[3]||void 0]},parseV8OrIE:function(v){return v.stack.split(`
`).filter(function(e){return!!e.match(t)},this).map(function(e){e.indexOf("(eval ")>-1&&(e=e.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var c=e.replace(/^\s+/,"").replace(/\(eval code/g,"("),l=c.match(/ (\((.+):(\d+):(\d+)\)$)/),g=(c=l?c.replace(l[0],""):c).split(/\s+/).slice(1),_=this.extractLocation(l?l[1]:g.pop()),y=g.join(" ")||void 0,m=["eval","<anonymous>"].indexOf(_[0])>-1?void 0:_[0];return new o({functionName:y,fileName:m,lineNumber:_[1],columnNumber:_[2],source:e})},this)},parseFFOrSafari:function(v){return v.stack.split(`
`).filter(function(e){return!e.match(u)},this).map(function(e){if(e.indexOf(" > eval")>-1&&(e=e.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),e.indexOf("@")===-1&&e.indexOf(":")===-1)return new o({functionName:e});var c=/((.*".+"[^@]*)?[^@]*)(?:@)/,l=e.match(c),g=l&&l[1]?l[1]:void 0,_=this.extractLocation(e.replace(c,""));return new o({functionName:g,fileName:_[0],lineNumber:_[1],columnNumber:_[2],source:e})},this)},parseOpera:function(v){return!v.stacktrace||v.message.indexOf(`
`)>-1&&v.message.split(`
`).length>v.stacktrace.split(`
`).length?this.parseOpera9(v):v.stack?this.parseOpera11(v):this.parseOpera10(v)},parseOpera9:function(v){for(var e=/Line (\d+).*script (?:in )?(\S+)/i,c=v.message.split(`
`),l=[],g=2,_=c.length;g<_;g+=2){var y=e.exec(c[g]);y&&l.push(new o({fileName:y[2],lineNumber:y[1],source:c[g]}))}return l},parseOpera10:function(v){for(var e=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,c=v.stacktrace.split(`
`),l=[],g=0,_=c.length;g<_;g+=2){var y=e.exec(c[g]);y&&l.push(new o({functionName:y[3]||void 0,fileName:y[2],lineNumber:y[1],source:c[g]}))}return l},parseOpera11:function(v){return v.stack.split(`
`).filter(function(e){return!!e.match(p)&&!e.match(/^Error created at/)},this).map(function(e){var c,l=e.split("@"),g=this.extractLocation(l.pop()),_=l.shift()||"",y=_.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;_.match(/\(([^)]*)\)/)&&(c=_.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var m=c===void 0||c==="[arguments not available]"?void 0:c.split(",");return new o({functionName:y,args:m,fileName:g[0],lineNumber:g[1],columnNumber:g[2],source:e})},this)}}})=="function"?a.apply(w,n):a)===void 0||(E.exports=s)})()},124:function(E,w){var f,a,n;(function(s,i){"use strict";a=[],(n=typeof(f=function(){function r(h){return!isNaN(parseFloat(h))&&isFinite(h)}function o(h){return h.charAt(0).toUpperCase()+h.substring(1)}function p(h){return function(){return this[h]}}var t=["isConstructor","isEval","isNative","isToplevel"],u=["columnNumber","lineNumber"],v=["fileName","functionName","source"],e=["args"],c=["evalOrigin"],l=t.concat(u,v,e,c);function g(h){if(h)for(var x=0;x<l.length;x++)h[l[x]]!==void 0&&this["set"+o(l[x])](h[l[x]])}g.prototype={getArgs:function(){return this.args},setArgs:function(h){if(Object.prototype.toString.call(h)!=="[object Array]")throw new TypeError("Args must be an Array");this.args=h},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(h){if(h instanceof g)this.evalOrigin=h;else{if(!(h instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new g(h)}},toString:function(){var h=this.getFileName()||"",x=this.getLineNumber()||"",k=this.getColumnNumber()||"",d=this.getFunctionName()||"";return this.getIsEval()?h?"[eval] ("+h+":"+x+":"+k+")":"[eval]:"+x+":"+k:d?d+" ("+h+":"+x+":"+k+")":h+":"+x+":"+k}},g.fromString=function(h){var x=h.indexOf("("),k=h.lastIndexOf(")"),d=h.substring(0,x),b=h.substring(x+1,k).split(","),T=h.substring(k+1);if(T.indexOf("@")===0)var S=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(T,""),C=S[1],O=S[2],N=S[3];return new g({functionName:d,args:b||void 0,fileName:C,lineNumber:O||void 0,columnNumber:N||void 0})};for(var _=0;_<t.length;_++)g.prototype["get"+o(t[_])]=p(t[_]),g.prototype["set"+o(t[_])]=function(h){return function(x){this[h]=!!x}}(t[_]);for(var y=0;y<u.length;y++)g.prototype["get"+o(u[y])]=p(u[y]),g.prototype["set"+o(u[y])]=function(h){return function(x){if(!r(x))throw new TypeError(h+" must be a Number");this[h]=Number(x)}}(u[y]);for(var m=0;m<v.length;m++)g.prototype["get"+o(v[m])]=p(v[m]),g.prototype["set"+o(v[m])]=function(h){return function(x){this[h]=String(x)}}(v[m]);return g})=="function"?f.apply(w,a):f)===void 0||(E.exports=n)})()},815:(E,w,f)=>{"use strict";var a=f(702),n=f(817),s={hostname:"api.rollbar.com",path:"/api/1/item/",search:null,version:"1",protocol:"https:",port:443};function i(o,p,t,u,v){this.options=o,this.transport=p,this.url=t,this.truncation=u,this.jsonBackup=v,this.accessToken=o.accessToken,this.transportOptions=r(o,t)}function r(o,p){return n.getTransportFromOptions(o,s,p)}i.prototype.postItem=function(o,p){var t=n.transportOptions(this.transportOptions,"POST"),u=n.buildPayload(this.accessToken,o,this.jsonBackup),v=this;setTimeout(function(){v.transport.post(v.accessToken,t,u,p)},0)},i.prototype.buildJsonPayload=function(o,p){var t,u=n.buildPayload(this.accessToken,o,this.jsonBackup);return(t=this.truncation?this.truncation.truncate(u):a.stringify(u)).error?(p&&p(t.error),null):t.value},i.prototype.postJsonPayload=function(o,p){var t=n.transportOptions(this.transportOptions,"POST");this.transport.postJsonPayload(this.accessToken,t,o,p)},i.prototype.configure=function(o){var p=this.oldOptions;return this.options=a.merge(p,o),this.transportOptions=r(this.options,this.url),this.options.accessToken!==void 0&&(this.accessToken=this.options.accessToken),this},E.exports=i},817:(E,w,f)=>{"use strict";var a=f(702);E.exports={buildPayload:function(n,s,i){if(!a.isType(s.context,"string")){var r=a.stringify(s.context,i);r.error?s.context="Error: could not serialize 'context'":s.context=r.value||"",s.context.length>255&&(s.context=s.context.substr(0,255))}return{access_token:n,data:s}},getTransportFromOptions:function(n,s,i){var r=s.hostname,o=s.protocol,p=s.port,t=s.path,u=s.search,v=n.timeout,e=function(g){var _=typeof window<"u"&&window||typeof self<"u"&&self,y=g.defaultTransport||"xhr";return _.fetch===void 0&&(y="xhr"),_.XMLHttpRequest===void 0&&(y="fetch"),y}(n),c=n.proxy;if(n.endpoint){var l=i.parse(n.endpoint);r=l.hostname,o=l.protocol,p=l.port,t=l.pathname,u=l.search}return{timeout:v,hostname:r,protocol:o,port:p,path:t,search:u,proxy:c,transport:e}},transportOptions:function(n,s){var i=n.protocol||"https:",r=n.port||(i==="http:"?80:i==="https:"?443:void 0),o=n.hostname,p=n.path,t=n.timeout,u=n.transport;return n.search&&(p+=n.search),n.proxy&&(p=i+"//"+o+p,o=n.proxy.host||n.proxy.hostname,r=n.proxy.port,i=n.proxy.protocol||i),{timeout:t,protocol:i,hostname:o,path:p,port:r,method:s,transport:u}},appendPathToPath:function(n,s){var i=/\/$/.test(n),r=/^\//.test(s);return i&&r?s=s.substring(1):i||r||(s="/"+s),n+s}}},409:(E,w,f)=>{"use strict";var a=f(343),n=typeof window<"u"&&window._rollbarConfig,s=n&&n.globalAlias||"Rollbar",i=typeof window<"u"&&window[s]&&typeof window[s].shimId=="function"&&window[s].shimId()!==void 0;if(typeof window>"u"||window._rollbarStartTime||(window._rollbarStartTime=new Date().getTime()),!i&&n){var r=new a(n);window[s]=r}else typeof window<"u"?(window.rollbar=a,window._rollbarDidLoad=!0):typeof self<"u"&&(self.rollbar=a,self._rollbarDidLoad=!0);E.exports=a},403:(E,w,f)=>{"use strict";var a=f(562),n=f(702),s=f(815),i=f(802),r=f(349),o=f(477),p=f(509),t=f(860),u=f(417),v=f(172),e=f(61),c=f(303);function l(d,b){this.options=n.handleOptions(k,d,null,i),this.options._configuredOptions=d;var T=this.components.telemeter,S=this.components.instrumenter,C=this.components.polyfillJSON;this.wrapGlobals=this.components.wrapGlobals,this.scrub=this.components.scrub;var O=this.components.truncation,N=new o(O),R=new s(this.options,N,p,O);T&&(this.telemeter=new T(this.options)),this.client=b||new a(this.options,R,i,this.telemeter,"browser");var P=m(),B=typeof document<"u"&&document;this.isChrome=P.chrome&&P.chrome.runtime,this.anonymousErrorsPending=0,function(Q,J,D){Q.addTransform(t.handleDomException).addTransform(t.handleItemWithError).addTransform(t.ensureItemHasSomethingToSay).addTransform(t.addBaseInfo).addTransform(t.addRequestInfo(D)).addTransform(t.addClientInfo(D)).addTransform(t.addPluginInfo(D)).addTransform(t.addBody).addTransform(u.addMessageWithError).addTransform(u.addTelemetryData).addTransform(u.addConfigToPayload).addTransform(t.addScrubber(J.scrub)).addTransform(u.addPayloadOptions).addTransform(u.userTransform(i)).addTransform(u.addConfiguredOptions).addTransform(u.addDiagnosticKeys).addTransform(u.itemToPayload)}(this.client.notifier,this,P),this.client.queue.addPredicate(e.checkLevel).addPredicate(v.checkIgnore).addPredicate(e.userCheckIgnore(i)).addPredicate(e.urlIsNotBlockListed(i)).addPredicate(e.urlIsSafeListed(i)).addPredicate(e.messageIsIgnored(i)),this.setupUnhandledCapture(),S&&(this.instrumenter=new S(this.options,this.client.telemeter,this,P,B),this.instrumenter.instrument()),n.setupJSON(C),this.rollbar=this}var g=null;function _(d){var b="Rollbar is not initialized";i.error(b),d&&d(new Error(b))}function y(d){for(var b=0,T=d.length;b<T;++b)if(n.isFunction(d[b]))return d[b]}function m(){return typeof window<"u"&&window||typeof self<"u"&&self}l.init=function(d,b){return g?g.global(d).configure(d):g=new l(d,b)},l.prototype.components={},l.setComponents=function(d){l.prototype.components=d},l.prototype.global=function(d){return this.client.global(d),this},l.global=function(d){if(g)return g.global(d);_()},l.prototype.configure=function(d,b){var T=this.options,S={};return b&&(S={payload:b}),this.options=n.handleOptions(T,d,S,i),this.options._configuredOptions=n.handleOptions(T._configuredOptions,d,S),this.client.configure(this.options,b),this.instrumenter&&this.instrumenter.configure(this.options),this.setupUnhandledCapture(),this},l.configure=function(d,b){if(g)return g.configure(d,b);_()},l.prototype.lastError=function(){return this.client.lastError},l.lastError=function(){if(g)return g.lastError();_()},l.prototype.log=function(){var d=this._createItem(arguments),b=d.uuid;return this.client.log(d),{uuid:b}},l.log=function(){if(g)return g.log.apply(g,arguments);_(y(arguments))},l.prototype.debug=function(){var d=this._createItem(arguments),b=d.uuid;return this.client.debug(d),{uuid:b}},l.debug=function(){if(g)return g.debug.apply(g,arguments);_(y(arguments))},l.prototype.info=function(){var d=this._createItem(arguments),b=d.uuid;return this.client.info(d),{uuid:b}},l.info=function(){if(g)return g.info.apply(g,arguments);_(y(arguments))},l.prototype.warn=function(){var d=this._createItem(arguments),b=d.uuid;return this.client.warn(d),{uuid:b}},l.warn=function(){if(g)return g.warn.apply(g,arguments);_(y(arguments))},l.prototype.warning=function(){var d=this._createItem(arguments),b=d.uuid;return this.client.warning(d),{uuid:b}},l.warning=function(){if(g)return g.warning.apply(g,arguments);_(y(arguments))},l.prototype.error=function(){var d=this._createItem(arguments),b=d.uuid;return this.client.error(d),{uuid:b}},l.error=function(){if(g)return g.error.apply(g,arguments);_(y(arguments))},l.prototype.critical=function(){var d=this._createItem(arguments),b=d.uuid;return this.client.critical(d),{uuid:b}},l.critical=function(){if(g)return g.critical.apply(g,arguments);_(y(arguments))},l.prototype.buildJsonPayload=function(d){return this.client.buildJsonPayload(d)},l.buildJsonPayload=function(){if(g)return g.buildJsonPayload.apply(g,arguments);_()},l.prototype.sendJsonPayload=function(d){return this.client.sendJsonPayload(d)},l.sendJsonPayload=function(){if(g)return g.sendJsonPayload.apply(g,arguments);_()},l.prototype.setupUnhandledCapture=function(){var d=m();this.unhandledExceptionsInitialized||(this.options.captureUncaught||this.options.handleUncaughtExceptions)&&(r.captureUncaughtExceptions(d,this),this.wrapGlobals&&this.options.wrapGlobalEventHandlers&&this.wrapGlobals(d,this),this.unhandledExceptionsInitialized=!0),this.unhandledRejectionsInitialized||(this.options.captureUnhandledRejections||this.options.handleUnhandledRejections)&&(r.captureUnhandledRejections(d,this),this.unhandledRejectionsInitialized=!0)},l.prototype.handleUncaughtException=function(d,b,T,S,C,O){if(this.options.captureUncaught||this.options.handleUncaughtExceptions){if(this.options.inspectAnonymousErrors&&this.isChrome&&C===null&&b==="")return"anonymous";var N,R=n.makeUnhandledStackInfo(d,b,T,S,C,"onerror","uncaught exception",c);n.isError(C)?(N=this._createItem([d,C,O]))._unhandledStackInfo=R:n.isError(b)?(N=this._createItem([d,b,O]))._unhandledStackInfo=R:(N=this._createItem([d,O])).stackInfo=R,N.level=this.options.uncaughtErrorLevel,N._isUncaught=!0,this.client.log(N)}},l.prototype.handleAnonymousErrors=function(){if(this.options.inspectAnonymousErrors&&this.isChrome){var d=this;try{Error.prepareStackTrace=function(b,T){if(d.options.inspectAnonymousErrors&&d.anonymousErrorsPending){if(d.anonymousErrorsPending-=1,!b)return;b._isAnonymous=!0,d.handleUncaughtException(b.message,null,null,null,b)}return b.stack}}catch(b){this.options.inspectAnonymousErrors=!1,this.error("anonymous error handler failed",b)}}},l.prototype.handleUnhandledRejection=function(d,b){if(this.options.captureUnhandledRejections||this.options.handleUnhandledRejections){var T="unhandled rejection was null or undefined!";if(d)if(d.message)T=d.message;else{var S=n.stringify(d);S.value&&(T=S.value)}var C,O=d&&d._rollbarContext||b&&b._rollbarContext;n.isError(d)?C=this._createItem([T,d,O]):(C=this._createItem([T,d,O])).stackInfo=n.makeUnhandledStackInfo(T,"",0,0,null,"unhandledrejection","",c),C.level=this.options.uncaughtErrorLevel,C._isUncaught=!0,C._originalArgs=C._originalArgs||[],C._originalArgs.push(b),this.client.log(C)}},l.prototype.wrap=function(d,b,T){try{var S;if(S=n.isFunction(b)?b:function(){return b||{}},!n.isFunction(d)||d._isWrap)return d;if(!d._rollbar_wrapped&&(d._rollbar_wrapped=function(){T&&n.isFunction(T)&&T.apply(this,arguments);try{return d.apply(this,arguments)}catch(N){var O=N;throw O&&window._rollbarWrappedError!==O&&(n.isType(O,"string")&&(O=new String(O)),O._rollbarContext=S()||{},O._rollbarContext._wrappedSource=d.toString(),window._rollbarWrappedError=O),O}},d._rollbar_wrapped._isWrap=!0,d.hasOwnProperty))for(var C in d)d.hasOwnProperty(C)&&C!=="_rollbar_wrapped"&&(d._rollbar_wrapped[C]=d[C]);return d._rollbar_wrapped}catch{return d}},l.wrap=function(d,b){if(g)return g.wrap(d,b);_()},l.prototype.captureEvent=function(){var d=n.createTelemetryEvent(arguments);return this.client.captureEvent(d.type,d.metadata,d.level)},l.captureEvent=function(){if(g)return g.captureEvent.apply(g,arguments);_()},l.prototype.captureDomContentLoaded=function(d,b){return b||(b=new Date),this.client.captureDomContentLoaded(b)},l.prototype.captureLoad=function(d,b){return b||(b=new Date),this.client.captureLoad(b)},l.prototype.loadFull=function(){i.info("Unexpected Rollbar.loadFull() called on a Notifier instance. This can happen when Rollbar is loaded multiple times.")},l.prototype._createItem=function(d){return n.createItem(d,i,this)};var h=f(948),x=f(677),k={version:h.version,scrubFields:x.scrubFields,logLevel:h.logLevel,reportLevel:h.reportLevel,uncaughtErrorLevel:h.uncaughtErrorLevel,endpoint:h.endpoint,verbose:!1,enabled:!0,transmit:!0,sendConfig:!1,includeItemsInTelemetry:!0,captureIp:!0,inspectAnonymousErrors:!0,ignoreDuplicateErrors:!0,wrapGlobalEventHandlers:!1};E.exports=l},677:E=>{"use strict";E.exports={scrubFields:["pw","pass","passwd","password","secret","confirm_password","confirmPassword","password_confirmation","passwordConfirmation","access_token","accessToken","X-Rollbar-Access-Token","secret_key","secretKey","secretToken","cc-number","card number","cardnumber","cardnum","ccnum","ccnumber","cc num","creditcardnumber","credit card number","newcreditcardnumber","new credit card","creditcardno","credit card no","card#","card #","cc-csc","cvc","cvc2","cvv2","ccv2","security code","card verification","name on credit card","name on card","nameoncard","cardholder","card holder","name des karteninhabers","ccname","card type","cardtype","cc type","cctype","payment type","expiration date","expirationdate","expdate","cc-exp","ccmonth","ccyear"]}},616:E=>{"use strict";var w={ieVersion:function(){var f;if(typeof document>"u")return f;for(var a=3,n=document.createElement("div"),s=n.getElementsByTagName("i");n.innerHTML="<!--[if gt IE "+ ++a+"]><i></i><![endif]-->",s[0];);return a>4?a:f}};E.exports=w},300:E=>{"use strict";function w(n){return(n.getAttribute("type")||"").toLowerCase()}function f(n){if(!n||!n.tagName)return"";var s=[n.tagName];n.id&&s.push("#"+n.id),n.classes&&s.push("."+n.classes.join("."));for(var i=0;i<n.attributes.length;i++)s.push("["+n.attributes[i].key+'="'+n.attributes[i].value+'"]');return s.join("")}function a(n){if(!n||!n.tagName)return null;var s,i,r,o,p={};p.tagName=n.tagName.toLowerCase(),n.id&&(p.id=n.id),(s=n.className)&&typeof s=="string"&&(p.classes=s.split(/\s+/));var t=["type","name","title","alt"];for(p.attributes=[],o=0;o<t.length;o++)i=t[o],(r=n.getAttribute(i))&&p.attributes.push({key:i,value:r});return p}E.exports={describeElement:a,descriptionToString:f,elementArrayToString:function(n){for(var s,i,r=[],o=0,p=n.length-1;p>=0;p--){if(s=f(n[p]),i=o+3*r.length+s.length,p<n.length-1&&i>=83){r.unshift("...");break}r.unshift(s),o+=s.length}return r.join(" > ")},treeToArray:function(n){for(var s,i=[],r=0;n&&r<5&&(s=a(n)).tagName!=="html";r++)i.unshift(s),n=n.parentNode;return i},getElementFromEvent:function(n,s){return n.target?n.target:s&&s.elementFromPoint?s.elementFromPoint(n.clientX,n.clientY):void 0},isDescribedElement:function(n,s,i){if(n.tagName.toLowerCase()!==s.toLowerCase())return!1;if(!i)return!0;n=w(n);for(var r=0;r<i.length;r++)if(i[r]===n)return!0;return!1},getElementType:w}},349:E=>{"use strict";E.exports={captureUncaughtExceptions:function(w,f,a){if(w){var n;if(typeof f._rollbarOldOnError=="function")n=f._rollbarOldOnError;else if(w.onerror){for(n=w.onerror;n._rollbarOldOnError;)n=n._rollbarOldOnError;f._rollbarOldOnError=n}f.handleAnonymousErrors();var s=function(){var i=Array.prototype.slice.call(arguments,0);(function(r,o,p,t){r._rollbarWrappedError&&(t[4]||(t[4]=r._rollbarWrappedError),t[5]||(t[5]=r._rollbarWrappedError._rollbarContext),r._rollbarWrappedError=null);var u=o.handleUncaughtException.apply(o,t);p&&p.apply(r,t),u==="anonymous"&&(o.anonymousErrorsPending+=1)})(w,f,n,i)};a&&(s._rollbarOldOnError=n),w.onerror=s}},captureUnhandledRejections:function(w,f,a){if(w){typeof w._rollbarURH=="function"&&w._rollbarURH.belongsToShim&&w.removeEventListener("unhandledrejection",w._rollbarURH);var n=function(s){var i,r,o;try{i=s.reason}catch{i=void 0}try{r=s.promise}catch{r="[unhandledrejection] error getting `promise` from event"}try{o=s.detail,!i&&o&&(i=o.reason,r=o.promise)}catch{}i||(i="[unhandledrejection] error getting `reason` from event"),f&&f.handleUnhandledRejection&&f.handleUnhandledRejection(i,r)};n.belongsToShim=a,w._rollbarURH=n,w.addEventListener("unhandledrejection",n)}}}},802:(E,w,f)=>{"use strict";f(276);var a=f(616),n=f(702);E.exports={error:function(){var s=Array.prototype.slice.call(arguments,0);s.unshift("Rollbar:"),a.ieVersion()<=8?console.error(n.formatArgsAsString(s)):console.error.apply(console,s)},info:function(){var s=Array.prototype.slice.call(arguments,0);s.unshift("Rollbar:"),a.ieVersion()<=8?console.info(n.formatArgsAsString(s)):console.info.apply(console,s)},log:function(){var s=Array.prototype.slice.call(arguments,0);s.unshift("Rollbar:"),a.ieVersion()<=8?console.log(n.formatArgsAsString(s)):console.log.apply(console,s)}}},172:(E,w,f)=>{"use strict";var a=f(702);E.exports={checkIgnore:function(n,s){return!a.get(s,"plugins.jquery.ignoreAjaxErrors")||!a.get(n,"body.message.extra.isAjax")}}},343:(E,w,f)=>{"use strict";var a=f(403),n=f(773),s=f(568),i=f(876),r=f(965),o=f(369),p=f(473);a.setComponents({telemeter:n,instrumenter:s,polyfillJSON:i,wrapGlobals:r,scrub:o,truncation:p}),E.exports=a},568:(E,w,f)=>{"use strict";var a=f(702),n=f(650),s=f(297),i=f(369),r=f(509),o=f(300),p={network:!0,networkResponseHeaders:!1,networkResponseBody:!1,networkRequestHeaders:!1,networkRequestBody:!1,networkErrorOnHttp5xx:!1,networkErrorOnHttp4xx:!1,networkErrorOnHttp0:!1,log:!0,dom:!0,navigation:!0,connectivity:!0,contentSecurityPolicy:!0,errorOnContentSecurityPolicy:!1};function t(e,c){for(var l;e[c].length;)(l=e[c].shift())[0][l[1]]=l[2]}function u(e,c,l,g,_){this.options=e;var y=e.autoInstrument;e.enabled===!1||y===!1?this.autoInstrument={}:(a.isType(y,"object")||(y=p),this.autoInstrument=a.merge(p,y)),this.scrubTelemetryInputs=!!e.scrubTelemetryInputs,this.telemetryScrubber=e.telemetryScrubber,this.defaultValueScrubber=function(m){for(var h=[],x=0;x<m.length;++x)h.push(new RegExp(m[x],"i"));return function(k){var d=function(T){if(!T||!T.attributes)return null;for(var S=T.attributes,C=0;C<S.length;++C)if(S[C].key==="name")return S[C].value;return null}(k);if(!d)return!1;for(var b=0;b<h.length;++b)if(h[b].test(d))return!0;return!1}}(e.scrubFields),this.telemeter=c,this.rollbar=l,this.diagnostic=l.client.notifier.diagnostic,this._window=g||{},this._document=_||{},this.replacements={network:[],log:[],navigation:[],connectivity:[]},this.eventRemovers={dom:[],connectivity:[],contentsecuritypolicy:[]},this._location=this._window.location,this._lastHref=this._location&&this._location.href}function v(e){return typeof URL<"u"&&e instanceof URL}u.prototype.configure=function(e){this.options=a.merge(this.options,e);var c=e.autoInstrument,l=a.merge(this.autoInstrument);e.enabled===!1||c===!1?this.autoInstrument={}:(a.isType(c,"object")||(c=p),this.autoInstrument=a.merge(p,c)),this.instrument(l),e.scrubTelemetryInputs!==void 0&&(this.scrubTelemetryInputs=!!e.scrubTelemetryInputs),e.telemetryScrubber!==void 0&&(this.telemetryScrubber=e.telemetryScrubber)},u.prototype.instrument=function(e){!this.autoInstrument.network||e&&e.network?!this.autoInstrument.network&&e&&e.network&&this.deinstrumentNetwork():this.instrumentNetwork(),!this.autoInstrument.log||e&&e.log?!this.autoInstrument.log&&e&&e.log&&this.deinstrumentConsole():this.instrumentConsole(),!this.autoInstrument.dom||e&&e.dom?!this.autoInstrument.dom&&e&&e.dom&&this.deinstrumentDom():this.instrumentDom(),!this.autoInstrument.navigation||e&&e.navigation?!this.autoInstrument.navigation&&e&&e.navigation&&this.deinstrumentNavigation():this.instrumentNavigation(),!this.autoInstrument.connectivity||e&&e.connectivity?!this.autoInstrument.connectivity&&e&&e.connectivity&&this.deinstrumentConnectivity():this.instrumentConnectivity(),!this.autoInstrument.contentSecurityPolicy||e&&e.contentSecurityPolicy?!this.autoInstrument.contentSecurityPolicy&&e&&e.contentSecurityPolicy&&this.deinstrumentContentSecurityPolicy():this.instrumentContentSecurityPolicy()},u.prototype.deinstrumentNetwork=function(){t(this.replacements,"network")},u.prototype.instrumentNetwork=function(){var e=this;function c(g,_){g in _&&a.isFunction(_[g])&&s(_,g,function(y){return e.rollbar.wrap(y)})}if("XMLHttpRequest"in this._window){var l=this._window.XMLHttpRequest.prototype;s(l,"open",function(g){return function(_,y){var m=v(y);return(a.isType(y,"string")||m)&&(y=m?y.toString():y,this.__rollbar_xhr?(this.__rollbar_xhr.method=_,this.__rollbar_xhr.url=y,this.__rollbar_xhr.status_code=null,this.__rollbar_xhr.start_time_ms=a.now(),this.__rollbar_xhr.end_time_ms=null):this.__rollbar_xhr={method:_,url:y,status_code:null,start_time_ms:a.now(),end_time_ms:null}),g.apply(this,arguments)}},this.replacements,"network"),s(l,"setRequestHeader",function(g){return function(_,y){return this.__rollbar_xhr||(this.__rollbar_xhr={}),a.isType(_,"string")&&a.isType(y,"string")&&(e.autoInstrument.networkRequestHeaders&&(this.__rollbar_xhr.request_headers||(this.__rollbar_xhr.request_headers={}),this.__rollbar_xhr.request_headers[_]=y),_.toLowerCase()==="content-type"&&(this.__rollbar_xhr.request_content_type=y)),g.apply(this,arguments)}},this.replacements,"network"),s(l,"send",function(g){return function(_){var y=this;function m(){if(y.__rollbar_xhr&&(y.__rollbar_xhr.status_code===null&&(y.__rollbar_xhr.status_code=0,e.autoInstrument.networkRequestBody&&(y.__rollbar_xhr.request=_),y.__rollbar_event=e.captureNetwork(y.__rollbar_xhr,"xhr",void 0)),y.readyState<2&&(y.__rollbar_xhr.start_time_ms=a.now()),y.readyState>3)){y.__rollbar_xhr.end_time_ms=a.now();var h=null;if(y.__rollbar_xhr.response_content_type=y.getResponseHeader("Content-Type"),e.autoInstrument.networkResponseHeaders){var x=e.autoInstrument.networkResponseHeaders;h={};try{var k,d;if(x===!0){var b=y.getAllResponseHeaders();if(b){var T,S,C=b.trim().split(/[\r\n]+/);for(d=0;d<C.length;d++)k=(T=C[d].split(": ")).shift(),S=T.join(": "),h[k]=S}}else for(d=0;d<x.length;d++)h[k=x[d]]=y.getResponseHeader(k)}catch{}}var O=null;if(e.autoInstrument.networkResponseBody)try{O=y.responseText}catch{}var N=null;(O||h)&&(N={},O&&(e.isJsonContentType(y.__rollbar_xhr.response_content_type)?N.body=e.scrubJson(O):N.body=O),h&&(N.headers=h)),N&&(y.__rollbar_xhr.response=N);try{var R=y.status;R=R===1223?204:R,y.__rollbar_xhr.status_code=R,y.__rollbar_event.level=e.telemeter.levelFromStatus(R),e.errorOnHttpStatus(y.__rollbar_xhr)}catch{}}}return c("onload",y),c("onerror",y),c("onprogress",y),"onreadystatechange"in y&&a.isFunction(y.onreadystatechange)?s(y,"onreadystatechange",function(h){return e.rollbar.wrap(h,void 0,m)}):y.onreadystatechange=m,y.__rollbar_xhr&&e.trackHttpErrors()&&(y.__rollbar_xhr.stack=new Error().stack),g.apply(this,arguments)}},this.replacements,"network")}"fetch"in this._window&&s(this._window,"fetch",function(g){return function(_,y){for(var m=new Array(arguments.length),h=0,x=m.length;h<x;h++)m[h]=arguments[h];var k,d=m[0],b="GET",T=v(d);a.isType(d,"string")||T?k=T?d.toString():d:d&&(k=d.url,d.method&&(b=d.method)),m[1]&&m[1].method&&(b=m[1].method);var S={method:b,url:k,status_code:null,start_time_ms:a.now(),end_time_ms:null};if(m[1]&&m[1].headers){var C=n(m[1].headers);S.request_content_type=C.get("Content-Type"),e.autoInstrument.networkRequestHeaders&&(S.request_headers=e.fetchHeaders(C,e.autoInstrument.networkRequestHeaders))}return e.autoInstrument.networkRequestBody&&(m[1]&&m[1].body?S.request=m[1].body:m[0]&&!a.isType(m[0],"string")&&m[0].body&&(S.request=m[0].body)),e.captureNetwork(S,"fetch",void 0),e.trackHttpErrors()&&(S.stack=new Error().stack),g.apply(this,m).then(function(O){S.end_time_ms=a.now(),S.status_code=O.status,S.response_content_type=O.headers.get("Content-Type");var N=null;e.autoInstrument.networkResponseHeaders&&(N=e.fetchHeaders(O.headers,e.autoInstrument.networkResponseHeaders));var R=null;return e.autoInstrument.networkResponseBody&&typeof O.text=="function"&&(R=O.clone().text()),(N||R)&&(S.response={},R&&(typeof R.then=="function"?R.then(function(P){P&&e.isJsonContentType(S.response_content_type)?S.response.body=e.scrubJson(P):S.response.body=P}):S.response.body=R),N&&(S.response.headers=N)),e.errorOnHttpStatus(S),O})}},this.replacements,"network")},u.prototype.captureNetwork=function(e,c,l){return e.request&&this.isJsonContentType(e.request_content_type)&&(e.request=this.scrubJson(e.request)),this.telemeter.captureNetwork(e,c,l)},u.prototype.isJsonContentType=function(e){return!!(e&&a.isType(e,"string")&&e.toLowerCase().includes("json"))},u.prototype.scrubJson=function(e){return JSON.stringify(i(JSON.parse(e),this.options.scrubFields))},u.prototype.fetchHeaders=function(e,c){var l={};try{var g;if(c===!0){if(typeof e.entries=="function")for(var _=e.entries(),y=_.next();!y.done;)l[y.value[0]]=y.value[1],y=_.next()}else for(g=0;g<c.length;g++){var m=c[g];l[m]=e.get(m)}}catch{}return l},u.prototype.trackHttpErrors=function(){return this.autoInstrument.networkErrorOnHttp5xx||this.autoInstrument.networkErrorOnHttp4xx||this.autoInstrument.networkErrorOnHttp0},u.prototype.errorOnHttpStatus=function(e){var c=e.status_code;if(c>=500&&this.autoInstrument.networkErrorOnHttp5xx||c>=400&&this.autoInstrument.networkErrorOnHttp4xx||c===0&&this.autoInstrument.networkErrorOnHttp0){var l=new Error("HTTP request failed with Status "+c);l.stack=e.stack,this.rollbar.error(l,{skipFrames:1})}},u.prototype.deinstrumentConsole=function(){if("console"in this._window&&this._window.console.log)for(var e;this.replacements.log.length;)e=this.replacements.log.shift(),this._window.console[e[0]]=e[1]},u.prototype.instrumentConsole=function(){if("console"in this._window&&this._window.console.log){var e=this,c=this._window.console,l=["debug","info","warn","error","log"];try{for(var g=0,_=l.length;g<_;g++)y(l[g])}catch(m){this.diagnostic.instrumentConsole={error:m.message}}}function y(m){var h=c[m],x=c,k=m==="warn"?"warning":m;c[m]=function(){var d=Array.prototype.slice.call(arguments),b=a.formatArgsAsString(d);e.telemeter.captureLog(b,k),h&&Function.prototype.apply.call(h,x,d)},e.replacements.log.push([m,h])}},u.prototype.deinstrumentDom=function(){("addEventListener"in this._window||"attachEvent"in this._window)&&this.removeListeners("dom")},u.prototype.instrumentDom=function(){if("addEventListener"in this._window||"attachEvent"in this._window){var e=this.handleClick.bind(this),c=this.handleBlur.bind(this);this.addListener("dom",this._window,"click","onclick",e,!0),this.addListener("dom",this._window,"blur","onfocusout",c,!0)}},u.prototype.handleClick=function(e){try{var c=o.getElementFromEvent(e,this._document),l=c&&c.tagName,g=o.isDescribedElement(c,"a")||o.isDescribedElement(c,"button");l&&(g||o.isDescribedElement(c,"input",["button","submit"]))?this.captureDomEvent("click",c):o.isDescribedElement(c,"input",["checkbox","radio"])&&this.captureDomEvent("input",c,c.value,c.checked)}catch{}},u.prototype.handleBlur=function(e){try{var c=o.getElementFromEvent(e,this._document);c&&c.tagName&&(o.isDescribedElement(c,"textarea")?this.captureDomEvent("input",c,c.value):o.isDescribedElement(c,"select")&&c.options&&c.options.length?this.handleSelectInputChanged(c):o.isDescribedElement(c,"input")&&!o.isDescribedElement(c,"input",["button","submit","hidden","checkbox","radio"])&&this.captureDomEvent("input",c,c.value))}catch{}},u.prototype.handleSelectInputChanged=function(e){if(e.multiple)for(var c=0;c<e.options.length;c++)e.options[c].selected&&this.captureDomEvent("input",e,e.options[c].value);else e.selectedIndex>=0&&e.options[e.selectedIndex]&&this.captureDomEvent("input",e,e.options[e.selectedIndex].value)},u.prototype.captureDomEvent=function(e,c,l,g){if(l!==void 0)if(this.scrubTelemetryInputs||o.getElementType(c)==="password")l="[scrubbed]";else{var _=o.describeElement(c);this.telemetryScrubber?this.telemetryScrubber(_)&&(l="[scrubbed]"):this.defaultValueScrubber(_)&&(l="[scrubbed]")}var y=o.elementArrayToString(o.treeToArray(c));this.telemeter.captureDom(e,y,l,g)},u.prototype.deinstrumentNavigation=function(){var e=this._window.chrome;!(e&&e.app&&e.app.runtime)&&this._window.history&&this._window.history.pushState&&t(this.replacements,"navigation")},u.prototype.instrumentNavigation=function(){var e=this._window.chrome;if(!(e&&e.app&&e.app.runtime)&&this._window.history&&this._window.history.pushState){var c=this;s(this._window,"onpopstate",function(l){return function(){var g=c._location.href;c.handleUrlChange(c._lastHref,g),l&&l.apply(this,arguments)}},this.replacements,"navigation"),s(this._window.history,"pushState",function(l){return function(){var g=arguments.length>2?arguments[2]:void 0;return g&&c.handleUrlChange(c._lastHref,g+""),l.apply(this,arguments)}},this.replacements,"navigation")}},u.prototype.handleUrlChange=function(e,c){var l=r.parse(this._location.href),g=r.parse(c),_=r.parse(e);this._lastHref=c,l.protocol===g.protocol&&l.host===g.host&&(c=g.path+(g.hash||"")),l.protocol===_.protocol&&l.host===_.host&&(e=_.path+(_.hash||"")),this.telemeter.captureNavigation(e,c)},u.prototype.deinstrumentConnectivity=function(){("addEventListener"in this._window||"body"in this._document)&&(this._window.addEventListener?this.removeListeners("connectivity"):t(this.replacements,"connectivity"))},u.prototype.instrumentConnectivity=function(){if("addEventListener"in this._window||"body"in this._document)if(this._window.addEventListener)this.addListener("connectivity",this._window,"online",void 0,(function(){this.telemeter.captureConnectivityChange("online")}).bind(this),!0),this.addListener("connectivity",this._window,"offline",void 0,(function(){this.telemeter.captureConnectivityChange("offline")}).bind(this),!0);else{var e=this;s(this._document.body,"ononline",function(c){return function(){e.telemeter.captureConnectivityChange("online"),c&&c.apply(this,arguments)}},this.replacements,"connectivity"),s(this._document.body,"onoffline",function(c){return function(){e.telemeter.captureConnectivityChange("offline"),c&&c.apply(this,arguments)}},this.replacements,"connectivity")}},u.prototype.handleCspEvent=function(e){var c="Security Policy Violation: blockedURI: "+e.blockedURI+", violatedDirective: "+e.violatedDirective+", effectiveDirective: "+e.effectiveDirective+", ";e.sourceFile&&(c+="location: "+e.sourceFile+", line: "+e.lineNumber+", col: "+e.columnNumber+", "),c+="originalPolicy: "+e.originalPolicy,this.telemeter.captureLog(c,"error"),this.handleCspError(c)},u.prototype.handleCspError=function(e){this.autoInstrument.errorOnContentSecurityPolicy&&this.rollbar.error(e)},u.prototype.deinstrumentContentSecurityPolicy=function(){"addEventListener"in this._document&&this.removeListeners("contentsecuritypolicy")},u.prototype.instrumentContentSecurityPolicy=function(){if("addEventListener"in this._document){var e=this.handleCspEvent.bind(this);this.addListener("contentsecuritypolicy",this._document,"securitypolicyviolation",null,e,!1)}},u.prototype.addListener=function(e,c,l,g,_,y){c.addEventListener?(c.addEventListener(l,_,y),this.eventRemovers[e].push(function(){c.removeEventListener(l,_,y)})):g&&(c.attachEvent(g,_),this.eventRemovers[e].push(function(){c.detachEvent(g,_)}))},u.prototype.removeListeners=function(e){for(;this.eventRemovers[e].length;)this.eventRemovers[e].shift()()},E.exports=u},860:(E,w,f)=>{"use strict";var a=f(702),n=f(303),s=f(802);function i(t,u,v){var e=t.message,c=t.custom;e||(e="Item sent with null or missing arguments.");var l={body:e};c&&(l.extra=a.merge(c)),a.set(t,"data.body",{message:l}),v(null,t)}function r(t){var u=t.stackInfo.stack;return u&&u.length===0&&t._unhandledStackInfo&&t._unhandledStackInfo.stack&&(u=t._unhandledStackInfo.stack),u}function o(t,u,v){var e=t&&t.data.description,c=t&&t.custom,l=r(t),g=n.guessErrorClass(u.message),_={exception:{class:p(u,g[0],v),message:g[1]}};if(e&&(_.exception.description=e),l){var y,m,h,x,k,d,b,T;for(l.length===0&&(_.exception.stack=u.rawStack,_.exception.raw=String(u.rawException)),_.frames=[],b=0;b<l.length;++b)m={filename:(y=l[b]).url?a.sanitizeUrl(y.url):"(unknown)",lineno:y.line||null,method:y.func&&y.func!=="?"?y.func:"[anonymous]",colno:y.column},v.sendFrameUrl&&(m.url=y.url),m.method&&m.method.endsWith&&m.method.endsWith("_rollbar_wrapped")||(h=x=k=null,(d=y.context?y.context.length:0)&&(T=Math.floor(d/2),x=y.context.slice(0,T),h=y.context[T],k=y.context.slice(T)),h&&(m.code=h),(x||k)&&(m.context={},x&&x.length&&(m.context.pre=x),k&&k.length&&(m.context.post=k)),y.args&&(m.args=y.args),_.frames.push(m));_.frames.reverse(),c&&(_.extra=a.merge(c))}return _}function p(t,u,v){return t.name?t.name:v.guessErrorClass?u:"(unknown)"}E.exports={handleDomException:function(t,u,v){if(t.err&&n.Stack(t.err).name==="DOMException"){var e=new Error;e.name=t.err.name,e.message=t.err.message,e.stack=t.err.stack,e.nested=t.err,t.err=e}v(null,t)},handleItemWithError:function(t,u,v){if(t.data=t.data||{},t.err)try{t.stackInfo=t.err._savedStackTrace||n.parse(t.err,t.skipFrames),u.addErrorContext&&function(e){var c=[],l=e.err;for(c.push(l);l.nested||l.cause;)l=l.nested||l.cause,c.push(l);a.addErrorContext(e,c)}(t)}catch(e){s.error("Error while parsing the error object.",e);try{t.message=t.err.message||t.err.description||t.message||String(t.err)}catch(c){t.message=String(t.err)||String(c)}delete t.err}v(null,t)},ensureItemHasSomethingToSay:function(t,u,v){t.message||t.stackInfo||t.custom||v(new Error("No message, stack info, or custom data"),null),v(null,t)},addBaseInfo:function(t,u,v){var e=u.payload&&u.payload.environment||u.environment;t.data=a.merge(t.data,{environment:e,level:t.level,endpoint:u.endpoint,platform:"browser",framework:"browser-js",language:"javascript",server:{},uuid:t.uuid,notifier:{name:"rollbar-browser-js",version:u.version},custom:t.custom}),v(null,t)},addRequestInfo:function(t){return function(u,v,e){var c={};t&&t.location&&(c.url=t.location.href,c.query_string=t.location.search);var l="$remote_ip";v.captureIp?v.captureIp!==!0&&(l+="_anonymize"):l=null,l&&(c.user_ip=l),Object.keys(c).length>0&&a.set(u,"data.request",c),e(null,u)}},addClientInfo:function(t){return function(u,v,e){if(!t)return e(null,u);var c=t.navigator||{},l=t.screen||{};a.set(u,"data.client",{runtime_ms:u.timestamp-t._rollbarStartTime,timestamp:Math.round(u.timestamp/1e3),javascript:{browser:c.userAgent,language:c.language,cookie_enabled:c.cookieEnabled,screen:{width:l.width,height:l.height}}}),e(null,u)}},addPluginInfo:function(t){return function(u,v,e){if(!t||!t.navigator)return e(null,u);for(var c,l=[],g=t.navigator.plugins||[],_=0,y=g.length;_<y;++_)c=g[_],l.push({name:c.name,description:c.description});a.set(u,"data.client.javascript.plugins",l),e(null,u)}},addBody:function(t,u,v){t.stackInfo?t.stackInfo.traceChain?function(e,c,l){for(var g=e.stackInfo.traceChain,_=[],y=g.length,m=0;m<y;m++){var h=o(e,g[m],c);_.push(h)}a.set(e,"data.body",{trace_chain:_}),l(null,e)}(t,u,v):function(e,c,l){var g=r(e);if(g){var _=o(e,e.stackInfo,c);a.set(e,"data.body",{trace:_}),l(null,e)}else{var y=e.stackInfo,m=n.guessErrorClass(y.message),h=p(y,m[0],c),x=m[1];e.message=h+": "+x,i(e,0,l)}}(t,u,v):i(t,0,v)},addScrubber:function(t){return function(u,v,e){if(t){var c=v.scrubFields||[],l=v.scrubPaths||[];u.data=t(u.data,c,l)}e(null,u)}}}},477:(E,w,f)=>{"use strict";var a=f(702),n=f(656),s=f(86);function i(r){this.truncation=r}i.prototype.get=function(r,o,p,t,u){t&&a.isFunction(t)||(t=function(){}),a.addParamsAndAccessTokenToPath(r,o,p);var v=a.formatUrl(o);this._makeZoneRequest(r,v,"GET",null,t,u,o.timeout,o.transport)},i.prototype.post=function(r,o,p,t,u){if(t&&a.isFunction(t)||(t=function(){}),!p)return t(new Error("Cannot send empty request"));var v;if((v=this.truncation?this.truncation.truncate(p):a.stringify(p)).error)return t(v.error);var e=v.value,c=a.formatUrl(o);this._makeZoneRequest(r,c,"POST",e,t,u,o.timeout,o.transport)},i.prototype.postJsonPayload=function(r,o,p,t,u){t&&a.isFunction(t)||(t=function(){});var v=a.formatUrl(o);this._makeZoneRequest(r,v,"POST",p,t,u,o.timeout,o.transport)},i.prototype._makeZoneRequest=function(){var r=typeof window<"u"&&window||u!==void 0&&u,o=r&&r.Zone&&r.Zone.current,p=Array.prototype.slice.call(arguments);if(o&&o._name==="angular"){var t=o._parent,u=this;t.run(function(){u._makeRequest.apply(void 0,p)})}else this._makeRequest.apply(void 0,p)},i.prototype._makeRequest=function(r,o,p,t,u,v,e,c){if(typeof RollbarProxy<"u")return function(l,g){new RollbarProxy().sendJsonPayload(l,function(_){},function(_){g(new Error(_))})}(t,u);c==="fetch"?n(r,o,p,t,u,e):s(r,o,p,t,u,v,e)},E.exports=i},656:(E,w,f)=>{"use strict";var a=f(802),n=f(702);E.exports=function(s,i,r,o,p,t){var u,v;n.isFiniteNumber(t)&&(u=new AbortController,v=setTimeout(function(){u.abort()},t)),fetch(i,{method:r,headers:{"Content-Type":"application/json","X-Rollbar-Access-Token":s,signal:u&&u.signal},body:o}).then(function(e){return v&&clearTimeout(v),e.json()}).then(function(e){p(null,e)}).catch(function(e){a.error(e.message),p(e)})}},86:(E,w,f)=>{"use strict";var a=f(702),n=f(802);function s(i,r){var o=new Error(i);return o.code=r||"ENOTFOUND",o}E.exports=function(i,r,o,p,t,u,v){var e;if(!(e=u?u():function(){var g,_,y=[function(){return new XMLHttpRequest},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Msxml3.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")}],m=y.length;for(_=0;_<m;_++)try{g=y[_]();break}catch{}return g}()))return t(new Error("No way to send a request"));try{try{var c=function(){try{if(c&&e.readyState===4){c=void 0;var g=a.jsonParse(e.responseText);if((m=e)&&m.status&&m.status===200)return void t(g.error,g.value);if(function(h){return h&&a.isType(h.status,"number")&&h.status>=400&&h.status<600}(e)){if(e.status===403){var _=g.value&&g.value.message;n.error(_)}t(new Error(String(e.status)))}else t(s("XHR response had no status code (likely connection failure)"))}}catch(h){var y;y=h&&h.stack?h:new Error(h),t(y)}var m};e.open(o,r,!0),e.setRequestHeader&&(e.setRequestHeader("Content-Type","application/json"),e.setRequestHeader("X-Rollbar-Access-Token",i)),a.isFiniteNumber(v)&&(e.timeout=v),e.onreadystatechange=c,e.send(p)}catch{if(typeof XDomainRequest<"u"){if(!window||!window.location)return t(new Error("No window available during request, unknown environment"));window.location.href.substring(0,5)==="http:"&&r.substring(0,5)==="https"&&(r="http"+r.substring(5));var l=new XDomainRequest;l.onprogress=function(){},l.ontimeout=function(){t(s("Request timed out","ETIMEDOUT"))},l.onerror=function(){t(new Error("Error during request"))},l.onload=function(){var _=a.jsonParse(l.responseText);t(_.error,_.value)},l.open(o,r,!0),l.send(p)}else t(new Error("Cannot find a method to transport a request"))}}catch(g){t(g)}}},509:E=>{"use strict";E.exports={parse:function(w){var f,a,n={protocol:null,auth:null,host:null,path:null,hash:null,href:w,hostname:null,port:null,pathname:null,search:null,query:null};if((f=w.indexOf("//"))!==-1?(n.protocol=w.substring(0,f),a=f+2):a=0,(f=w.indexOf("@",a))!==-1&&(n.auth=w.substring(a,f),a=f+1),(f=w.indexOf("/",a))===-1){if((f=w.indexOf("?",a))===-1)return(f=w.indexOf("#",a))===-1?n.host=w.substring(a):(n.host=w.substring(a,f),n.hash=w.substring(f)),n.hostname=n.host.split(":")[0],n.port=n.host.split(":")[1],n.port&&(n.port=parseInt(n.port,10)),n;n.host=w.substring(a,f),n.hostname=n.host.split(":")[0],n.port=n.host.split(":")[1],n.port&&(n.port=parseInt(n.port,10)),a=f}else n.host=w.substring(a,f),n.hostname=n.host.split(":")[0],n.port=n.host.split(":")[1],n.port&&(n.port=parseInt(n.port,10)),a=f;if((f=w.indexOf("#",a))===-1?n.path=w.substring(a):(n.path=w.substring(a,f),n.hash=w.substring(f)),n.path){var s=n.path.split("?");n.pathname=s[0],n.query=s[1],n.search=n.query?"?"+n.query:null}return n}}},965:E=>{"use strict";function w(f,a,n){if(a.hasOwnProperty&&a.hasOwnProperty("addEventListener")){for(var s=a.addEventListener;s._rollbarOldAdd&&s.belongsToShim;)s=s._rollbarOldAdd;var i=function(p,t,u){s.call(this,p,f.wrap(t),u)};i._rollbarOldAdd=s,i.belongsToShim=n,a.addEventListener=i;for(var r=a.removeEventListener;r._rollbarOldRemove&&r.belongsToShim;)r=r._rollbarOldRemove;var o=function(p,t,u){r.call(this,p,t&&t._rollbar_wrapped||t,u)};o._rollbarOldRemove=r,o.belongsToShim=n,a.removeEventListener=o}}E.exports=function(f,a,n){if(f){var s,i,r="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".split(",");for(s=0;s<r.length;++s)f[i=r[s]]&&f[i].prototype&&w(a,f[i].prototype,n)}}},948:E=>{"use strict";E.exports={version:"2.26.4",endpoint:"api.rollbar.com/api/1/item/",logLevel:"debug",reportLevel:"debug",uncaughtErrorLevel:"error",maxItems:0,itemsPerMin:60}},303:(E,w,f)=>{"use strict";var a=f(180),n=new RegExp("^(([a-zA-Z0-9-_$ ]*): *)?(Uncaught )?([a-zA-Z0-9-_$ ]*): ");function s(){return null}function i(o){var p={};return p._stackFrame=o,p.url=o.fileName,p.line=o.lineNumber,p.func=o.functionName,p.column=o.columnNumber,p.args=o.args,p.context=null,p}function r(o,p){return{stack:function(){var e=[];p=p||0;try{e=a.parse(o)}catch{e=[]}for(var c=[],l=p;l<e.length;l++)c.push(new i(e[l]));return c}(),message:o.message,name:(t=o,u=t.name&&t.name.length&&t.name,v=t.constructor.name&&t.constructor.name.length&&t.constructor.name,u&&v?u==="Error"?v:u:u||v),rawStack:o.stack,rawException:o};var t,u,v}E.exports={guessFunctionName:function(){return"?"},guessErrorClass:function(o){if(!o||!o.match)return["Unknown error. There was no error message to display.",""];var p=o.match(n),t="(unknown)";return p&&(t=p[p.length-1],o=(o=o.replace((p[p.length-2]||"")+t+":","")).replace(/(^[\s]+|[\s]+$)/g,"")),[t,o]},gatherContext:s,parse:function(o,p){var t=o;if(t.nested||t.cause){for(var u=[];t;)u.push(new r(t,p)),t=t.nested||t.cause,p=0;return u[0].traceChain=u,u[0]}return new r(t,p)},Stack:r,Frame:i}},420:E=>{"use strict";var w=Object.prototype.hasOwnProperty,f=Object.prototype.toString,a=function(n){if(!n||f.call(n)!=="[object Object]")return!1;var s,i=w.call(n,"constructor"),r=n.constructor&&n.constructor.prototype&&w.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!i&&!r)return!1;for(s in n);return s===void 0||w.call(n,s)};E.exports=function n(){var s,i,r,o,p,t={},u=null,v=arguments.length;for(s=0;s<v;s++)if((u=arguments[s])!=null)for(p in u)i=t[p],t!==(r=u[p])&&(r&&a(r)?(o=i&&a(i)?i:{},t[p]=n(o,r)):r!==void 0&&(t[p]=r));return t}},314:(E,w,f)=>{"use strict";var a=f(702);function n(s,i){this.queue=s,this.options=i,this.transforms=[],this.diagnostic={}}n.prototype.configure=function(s){this.queue&&this.queue.configure(s);var i=this.options;return this.options=a.merge(i,s),this},n.prototype.addTransform=function(s){return a.isFunction(s)&&this.transforms.push(s),this},n.prototype.log=function(s,i){if(i&&a.isFunction(i)||(i=function(){}),!this.options.enabled)return i(new Error("Rollbar is not enabled"));this.queue.addPendingItem(s);var r=s.err;this._applyTransforms(s,(function(o,p){if(o)return this.queue.removePendingItem(s),i(o,null);this.queue.addItem(p,i,r,s)}).bind(this))},n.prototype._applyTransforms=function(s,i){var r=-1,o=this.transforms.length,p=this.transforms,t=this.options,u=function(v,e){v?i(v,null):++r!==o?p[r](e,t,u):i(null,e)};u(null,s)},E.exports=n},61:(E,w,f)=>{"use strict";var a=f(702);function n(i,r,o){if(!i)return!o;var p,t,u=i.frames;if(!u||u.length===0)return!o;for(var v=r.length,e=u.length,c=0;c<e;c++){if(p=u[c].filename,!a.isType(p,"string"))return!o;for(var l=0;l<v;l++)if(t=r[l],new RegExp(t).test(p))return!0}return!1}function s(i,r,o,p){var t,u,v=!1;o==="blocklist"&&(v=!0);try{if(t=v?r.hostBlockList:r.hostSafeList,u=a.get(i,"body.trace_chain")||[a.get(i,"body.trace")],!t||t.length===0||u.length===0||!u[0])return!v;for(var e=u.length,c=0;c<e;c++)if(n(u[c],t,v))return!0}catch(g){v?r.hostBlockList=null:r.hostSafeList=null;var l=v?"hostBlockList":"hostSafeList";return p.error("Error while reading your configuration's "+l+" option. Removing custom "+l+".",g),!v}return!1}E.exports={checkLevel:function(i,r){var o=i.level,p=a.LEVELS[o]||0,t=r.reportLevel;return!(p<(a.LEVELS[t]||0))},userCheckIgnore:function(i){return function(r,o){var p=!!r._isUncaught;delete r._isUncaught;var t=r._originalArgs;delete r._originalArgs;try{a.isFunction(o.onSendCallback)&&o.onSendCallback(p,t,r)}catch(u){o.onSendCallback=null,i.error("Error while calling onSendCallback, removing",u)}try{if(a.isFunction(o.checkIgnore)&&o.checkIgnore(p,t,r))return!1}catch(u){o.checkIgnore=null,i.error("Error while calling custom checkIgnore(), removing",u)}return!0}},urlIsNotBlockListed:function(i){return function(r,o){return!s(r,o,"blocklist",i)}},urlIsSafeListed:function(i){return function(r,o){return s(r,o,"safelist",i)}},messageIsIgnored:function(i){return function(r,o){var p,t,u,v,e,c;try{if(!(u=o.ignoredMessages)||u.length===0||(c=function(l){var g=l.body,_=[];if(g.trace_chain)for(var y=g.trace_chain,m=0;m<y.length;m++){var h=y[m];_.push(a.get(h,"exception.message"))}return g.trace&&_.push(a.get(g,"trace.exception.message")),g.message&&_.push(a.get(g,"message.body")),_}(r),c.length===0))return!0;for(v=u.length,p=0;p<v;p++)for(e=new RegExp(u[p],"gi"),t=0;t<c.length;t++)if(e.test(c[t]))return!1}catch{o.ignoredMessages=null,i.error("Error while reading your configuration's ignoredMessages option. Removing custom ignoredMessages.")}return!0}}}},358:(E,w,f)=>{"use strict";var a=f(702);function n(i,r,o,p){this.rateLimiter=i,this.api=r,this.logger=o,this.options=p,this.predicates=[],this.pendingItems=[],this.pendingRequests=[],this.retryQueue=[],this.retryHandle=null,this.waitCallback=null,this.waitIntervalID=null}n.prototype.configure=function(i){this.api&&this.api.configure(i);var r=this.options;return this.options=a.merge(r,i),this},n.prototype.addPredicate=function(i){return a.isFunction(i)&&this.predicates.push(i),this},n.prototype.addPendingItem=function(i){this.pendingItems.push(i)},n.prototype.removePendingItem=function(i){var r=this.pendingItems.indexOf(i);r!==-1&&this.pendingItems.splice(r,1)},n.prototype.addItem=function(i,r,o,p){r&&a.isFunction(r)||(r=function(){});var t=this._applyPredicates(i);if(t.stop)return this.removePendingItem(p),void r(t.err);if(this._maybeLog(i,o),this.removePendingItem(p),this.options.transmit){this.pendingRequests.push(i);try{this._makeApiRequest(i,(function(u,v){this._dequeuePendingRequest(i),r(u,v)}).bind(this))}catch(u){this._dequeuePendingRequest(i),r(u)}}else r(new Error("Transmit disabled"))},n.prototype.wait=function(i){a.isFunction(i)&&(this.waitCallback=i,this._maybeCallWait()||(this.waitIntervalID&&(this.waitIntervalID=clearInterval(this.waitIntervalID)),this.waitIntervalID=setInterval((function(){this._maybeCallWait()}).bind(this),500)))},n.prototype._applyPredicates=function(i){for(var r=null,o=0,p=this.predicates.length;o<p;o++)if(!(r=this.predicates[o](i,this.options))||r.err!==void 0)return{stop:!0,err:r.err};return{stop:!1,err:null}},n.prototype._makeApiRequest=function(i,r){var o=this.rateLimiter.shouldSend(i);o.shouldSend?this.api.postItem(i,(function(p,t){p?this._maybeRetry(p,i,r):r(p,t)}).bind(this)):o.error?r(o.error):this.api.postItem(o.payload,r)};var s=["ECONNRESET","ENOTFOUND","ESOCKETTIMEDOUT","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH","EPIPE","EAI_AGAIN"];n.prototype._maybeRetry=function(i,r,o){var p=!1;if(this.options.retryInterval){for(var t=0,u=s.length;t<u;t++)if(i.code===s[t]){p=!0;break}p&&a.isFiniteNumber(this.options.maxRetries)&&(r.retries=r.retries?r.retries+1:1,r.retries>this.options.maxRetries&&(p=!1))}p?this._retryApiRequest(r,o):o(i)},n.prototype._retryApiRequest=function(i,r){this.retryQueue.push({item:i,callback:r}),this.retryHandle||(this.retryHandle=setInterval((function(){for(;this.retryQueue.length;){var o=this.retryQueue.shift();this._makeApiRequest(o.item,o.callback)}}).bind(this),this.options.retryInterval))},n.prototype._dequeuePendingRequest=function(i){var r=this.pendingRequests.indexOf(i);r!==-1&&(this.pendingRequests.splice(r,1),this._maybeCallWait())},n.prototype._maybeLog=function(i,r){if(this.logger&&this.options.verbose){var o=r;if(o=(o=o||a.get(i,"body.trace.exception.message"))||a.get(i,"body.trace_chain.0.exception.message"))return void this.logger.error(o);(o=a.get(i,"body.message.body"))&&this.logger.log(o)}},n.prototype._maybeCallWait=function(){return!(!a.isFunction(this.waitCallback)||this.pendingItems.length!==0||this.pendingRequests.length!==0||(this.waitIntervalID&&(this.waitIntervalID=clearInterval(this.waitIntervalID)),this.waitCallback(),0))},E.exports=n},790:(E,w,f)=>{"use strict";var a=f(702);function n(r){this.startTime=a.now(),this.counter=0,this.perMinCounter=0,this.platform=null,this.platformOptions={},this.configureGlobal(r)}function s(r,o,p){return!r.ignoreRateLimit&&o>=1&&p>o}function i(r,o,p,t,u,v,e){var c=null;return p&&(p=new Error(p)),p||t||(c=function(l,g,_,y,m){var h=g.environment||g.payload&&g.payload.environment,x={body:{message:{body:m?"item per minute limit reached, ignoring errors until timeout":"maxItems has been hit, ignoring errors until reset.",extra:{maxItems:_,itemsPerMinute:y}}},language:"javascript",environment:h,notifier:{version:g.notifier&&g.notifier.version||g.version}};return l==="browser"?(x.platform="browser",x.framework="browser-js",x.notifier.name="rollbar-browser-js"):l==="server"?(x.framework=g.framework||"node-js",x.notifier.name=g.notifier.name):l==="react-native"&&(x.framework=g.framework||"react-native",x.notifier.name=g.notifier.name),x}(r,o,u,v,e)),{error:p,shouldSend:t,payload:c}}n.globalSettings={startTime:a.now(),maxItems:void 0,itemsPerMinute:void 0},n.prototype.configureGlobal=function(r){r.startTime!==void 0&&(n.globalSettings.startTime=r.startTime),r.maxItems!==void 0&&(n.globalSettings.maxItems=r.maxItems),r.itemsPerMinute!==void 0&&(n.globalSettings.itemsPerMinute=r.itemsPerMinute)},n.prototype.shouldSend=function(r,o){var p=(o=o||a.now())-this.startTime;(p<0||p>=6e4)&&(this.startTime=o,this.perMinCounter=0);var t=n.globalSettings.maxItems,u=n.globalSettings.itemsPerMinute;if(s(r,t,this.counter))return i(this.platform,this.platformOptions,t+" max items reached",!1);if(s(r,u,this.perMinCounter))return i(this.platform,this.platformOptions,u+" items per minute reached",!1);this.counter++,this.perMinCounter++;var v=!s(r,t,this.counter),e=v;return v=v&&!s(r,u,this.perMinCounter),i(this.platform,this.platformOptions,null,v,t,u,e)},n.prototype.setPlatformOptions=function(r,o){this.platform=r,this.platformOptions=o},E.exports=n},562:(E,w,f)=>{"use strict";var a=f(790),n=f(358),s=f(314),i=f(702);function r(t,u,v,e,c){this.options=i.merge(t),this.logger=v,r.rateLimiter.configureGlobal(this.options),r.rateLimiter.setPlatformOptions(c,this.options),this.api=u,this.queue=new n(r.rateLimiter,u,v,this.options);var l=this.options.tracer||null;p(l)?(this.tracer=l,this.options.tracer="opentracing-tracer-enabled",this.options._configuredOptions.tracer="opentracing-tracer-enabled"):this.tracer=null,this.notifier=new s(this.queue,this.options),this.telemeter=e,o(t),this.lastError=null,this.lastErrorHash="none"}function o(t){t.stackTraceLimit&&(Error.stackTraceLimit=t.stackTraceLimit)}function p(t){if(!t||!t.scope||typeof t.scope!="function")return!1;var u=t.scope();return!(!u||!u.active||typeof u.active!="function")}r.rateLimiter=new a({maxItems:0,itemsPerMinute:60}),r.prototype.global=function(t){return r.rateLimiter.configureGlobal(t),this},r.prototype.configure=function(t,u){var v=this.options,e={};u&&(e={payload:u}),this.options=i.merge(v,t,e);var c=this.options.tracer||null;return p(c)?(this.tracer=c,this.options.tracer="opentracing-tracer-enabled",this.options._configuredOptions.tracer="opentracing-tracer-enabled"):this.tracer=null,this.notifier&&this.notifier.configure(this.options),this.telemeter&&this.telemeter.configure(this.options),o(t),this.global(this.options),p(t.tracer)&&(this.tracer=t.tracer),this},r.prototype.log=function(t){var u=this._defaultLogLevel();return this._log(u,t)},r.prototype.debug=function(t){this._log("debug",t)},r.prototype.info=function(t){this._log("info",t)},r.prototype.warn=function(t){this._log("warning",t)},r.prototype.warning=function(t){this._log("warning",t)},r.prototype.error=function(t){this._log("error",t)},r.prototype.critical=function(t){this._log("critical",t)},r.prototype.wait=function(t){this.queue.wait(t)},r.prototype.captureEvent=function(t,u,v){return this.telemeter&&this.telemeter.captureEvent(t,u,v)},r.prototype.captureDomContentLoaded=function(t){return this.telemeter&&this.telemeter.captureDomContentLoaded(t)},r.prototype.captureLoad=function(t){return this.telemeter&&this.telemeter.captureLoad(t)},r.prototype.buildJsonPayload=function(t){return this.api.buildJsonPayload(t)},r.prototype.sendJsonPayload=function(t){this.api.postJsonPayload(t)},r.prototype._log=function(t,u){var v;if(u.callback&&(v=u.callback,delete u.callback),this.options.ignoreDuplicateErrors&&this._sameAsLastError(u)){if(v){var e=new Error("ignored identical item");e.item=u,v(e)}}else try{this._addTracingInfo(u),u.level=u.level||t,this.telemeter&&this.telemeter._captureRollbarItem(u),u.telemetryEvents=this.telemeter&&this.telemeter.copyEvents()||[],this.notifier.log(u,v)}catch(c){v&&v(c),this.logger.error(c)}},r.prototype._defaultLogLevel=function(){return this.options.logLevel||"debug"},r.prototype._sameAsLastError=function(t){if(!t._isUncaught)return!1;var u=function(v){var e=v.message||"",c=(v.err||{}).stack||String(v.err);return e+"::"+c}(t);return this.lastErrorHash===u||(this.lastError=t.err,this.lastErrorHash=u,!1)},r.prototype._addTracingInfo=function(t){if(this.tracer){var u=this.tracer.scope().active();if(function(c){if(!c||!c.context||typeof c.context!="function")return!1;var l=c.context();return!!(l&&l.toSpanId&&l.toTraceId&&typeof l.toSpanId=="function"&&typeof l.toTraceId=="function")}(u)){u.setTag("rollbar.error_uuid",t.uuid),u.setTag("rollbar.has_error",!0),u.setTag("error",!0),u.setTag("rollbar.item_url",`https://rollbar.com/item/uuid/?uuid=${t.uuid}`),u.setTag("rollbar.occurrence_url",`https://rollbar.com/occurrence/uuid/?uuid=${t.uuid}`);var v=u.context().toSpanId(),e=u.context().toTraceId();t.custom?(t.custom.opentracing_span_id=v,t.custom.opentracing_trace_id=e):t.custom={opentracing_span_id:v,opentracing_trace_id:e}}}},E.exports=r},369:(E,w,f)=>{"use strict";var a=f(702),n=f(267);function s(i,r){var o=r.split("."),p=o.length-1;try{for(var t=0;t<=p;++t)t<p?i=i[o[t]]:i[o[t]]=a.redact()}catch{}}E.exports=function(i,r,o){if(r=r||[],o)for(var p=0;p<o.length;++p)s(i,o[p]);var t=function(e){for(var c,l=[],g=0;g<e.length;++g)c="^\\[?(%5[bB])?"+e[g]+"\\[?(%5[bB])?\\]?(%5[dD])?$",l.push(new RegExp(c,"i"));return l}(r),u=function(e){for(var c,l=[],g=0;g<e.length;++g)c="\\[?(%5[bB])?"+e[g]+"\\[?(%5[bB])?\\]?(%5[dD])?",l.push(new RegExp("("+c+"=)([^&\\n]+)","igm"));return l}(r);function v(e,c){return c+a.redact()}return n(i,function e(c,l,g){var _=function(y,m){var h;for(h=0;h<t.length;++h)if(t[h].test(y)){m=a.redact();break}return m}(c,l);return _===l?a.isType(l,"object")||a.isType(l,"array")?n(l,e,g):function(y){var m;if(a.isType(y,"string"))for(m=0;m<u.length;++m)y=y.replace(u[m],v);return y}(_):_})}},773:(E,w,f)=>{"use strict";var a=f(702),n=100;function s(r){this.queue=[],this.options=a.merge(r);var o=this.options.maxTelemetryEvents||n;this.maxQueueSize=Math.max(0,Math.min(o,n))}function i(r,o){return o||{error:"error",manual:"info"}[r]||"info"}s.prototype.configure=function(r){var o=this.options;this.options=a.merge(o,r);var p=this.options.maxTelemetryEvents||n,t=Math.max(0,Math.min(p,n)),u=0;this.queue.length>t&&(u=this.queue.length-t),this.maxQueueSize=t,this.queue.splice(0,u)},s.prototype.copyEvents=function(){var r=Array.prototype.slice.call(this.queue,0);if(a.isFunction(this.options.filterTelemetry))try{for(var o=r.length;o--;)this.options.filterTelemetry(r[o])&&r.splice(o,1)}catch{this.options.filterTelemetry=null}return r},s.prototype.capture=function(r,o,p,t,u){var v={level:i(r,p),type:r,timestamp_ms:u||a.now(),body:o,source:"client"};t&&(v.uuid=t);try{if(a.isFunction(this.options.filterTelemetry)&&this.options.filterTelemetry(v))return!1}catch{this.options.filterTelemetry=null}return this.push(v),v},s.prototype.captureEvent=function(r,o,p,t){return this.capture(r,o,p,t)},s.prototype.captureError=function(r,o,p,t){var u={message:r.message||String(r)};return r.stack&&(u.stack=r.stack),this.capture("error",u,o,p,t)},s.prototype.captureLog=function(r,o,p,t){return this.capture("log",{message:r},o,p,t)},s.prototype.captureNetwork=function(r,o,p,t){o=o||"xhr",r.subtype=r.subtype||o,t&&(r.request=t);var u=this.levelFromStatus(r.status_code);return this.capture("network",r,u,p)},s.prototype.levelFromStatus=function(r){return r>=200&&r<400?"info":r===0||r>=400?"error":"info"},s.prototype.captureDom=function(r,o,p,t,u){var v={subtype:r,element:o};return p!==void 0&&(v.value=p),t!==void 0&&(v.checked=t),this.capture("dom",v,"info",u)},s.prototype.captureNavigation=function(r,o,p){return this.capture("navigation",{from:r,to:o},"info",p)},s.prototype.captureDomContentLoaded=function(r){return this.capture("navigation",{subtype:"DOMContentLoaded"},"info",void 0,r&&r.getTime())},s.prototype.captureLoad=function(r){return this.capture("navigation",{subtype:"load"},"info",void 0,r&&r.getTime())},s.prototype.captureConnectivityChange=function(r,o){return this.captureNetwork({change:r},"connectivity",o)},s.prototype._captureRollbarItem=function(r){if(this.options.includeItemsInTelemetry)return r.err?this.captureError(r.err,r.level,r.uuid,r.timestamp):r.message?this.captureLog(r.message,r.level,r.uuid,r.timestamp):r.custom?this.capture("log",r.custom,r.level,r.uuid,r.timestamp):void 0},s.prototype.push=function(r){this.queue.push(r),this.queue.length>this.maxQueueSize&&this.queue.shift()},E.exports=s},417:(E,w,f)=>{"use strict";var a=f(702);function n(s,i){a.isFunction(s[i])&&(s[i]=s[i].toString())}E.exports={itemToPayload:function(s,i,r){var o=s.data;s._isUncaught&&(o._isUncaught=!0),s._originalArgs&&(o._originalArgs=s._originalArgs),r(null,o)},addPayloadOptions:function(s,i,r){var o=i.payload||{};o.body&&delete o.body,s.data=a.merge(s.data,o),r(null,s)},addTelemetryData:function(s,i,r){s.telemetryEvents&&a.set(s,"data.body.telemetry",s.telemetryEvents),r(null,s)},addMessageWithError:function(s,i,r){if(s.message){var o="data.body.trace_chain.0",p=a.get(s,o);if(p||(o="data.body.trace",p=a.get(s,o)),p){if(!p.exception||!p.exception.description)return a.set(s,o+".exception.description",s.message),void r(null,s);var t=a.get(s,o+".extra")||{},u=a.merge(t,{message:s.message});a.set(s,o+".extra",u)}r(null,s)}else r(null,s)},userTransform:function(s){return function(i,r,o){var p=a.merge(i),t=null;try{a.isFunction(r.transform)&&(t=r.transform(p.data,i))}catch(u){return r.transform=null,s.error("Error while calling custom transform() function. Removing custom transform().",u),void o(null,i)}a.isPromise(t)?t.then(function(u){u&&(p.data=u),o(null,p)},function(u){o(u,i)}):o(null,p)}},addConfigToPayload:function(s,i,r){if(!i.sendConfig)return r(null,s);var o=a.get(s,"data.custom")||{};o._rollbarConfig=i,s.data.custom=o,r(null,s)},addConfiguredOptions:function(s,i,r){var o=i._configuredOptions;n(o,"transform"),n(o,"checkIgnore"),n(o,"onSendCallback"),delete o.accessToken,s.data.notifier.configured_options=o,r(null,s)},addDiagnosticKeys:function(s,i,r){var o=a.merge(s.notifier.client.notifier.diagnostic,s.diagnostic);if(a.get(s,"err._isAnonymous")&&(o.is_anonymous=!0),s._isUncaught&&(o.is_uncaught=s._isUncaught),s.err)try{o.raw_error={message:s.err.message,name:s.err.name,constructor_name:s.err.constructor&&s.err.constructor.name,filename:s.err.fileName,line:s.err.lineNumber,column:s.err.columnNumber,stack:s.err.stack}}catch(p){o.raw_error={failed:String(p)}}s.data.notifier.diagnostic=a.merge(s.data.notifier.diagnostic,o),r(null,s)}}},473:(E,w,f)=>{"use strict";var a=f(702),n=f(267);function s(e,c){return[e,a.stringify(e,c)]}function i(e,c){var l=e.length;return l>2*c?e.slice(0,c).concat(e.slice(l-c)):e}function r(e,c,l){l=l===void 0?30:l;var g,_=e.data.body;if(_.trace_chain)for(var y=_.trace_chain,m=0;m<y.length;m++)g=i(g=y[m].frames,l),y[m].frames=g;else _.trace&&(g=i(g=_.trace.frames,l),_.trace.frames=g);return[e,a.stringify(e,c)]}function o(e,c){return c&&c.length>e?c.slice(0,e-3).concat("..."):c}function p(e,c,l){return c=n(c,function g(_,y,m){switch(a.typeName(y)){case"string":return o(e,y);case"object":case"array":return n(y,g,m);default:return y}}),[c,a.stringify(c,l)]}function t(e){return e.exception&&(delete e.exception.description,e.exception.message=o(255,e.exception.message)),e.frames=i(e.frames,1),e}function u(e,c){var l=e.data.body;if(l.trace_chain)for(var g=l.trace_chain,_=0;_<g.length;_++)g[_]=t(g[_]);else l.trace&&(l.trace=t(l.trace));return[e,a.stringify(e,c)]}function v(e,c){return a.maxByteSize(e)>c}E.exports={truncate:function(e,c,l){l=l===void 0?524288:l;for(var g,_,y,m=[s,r,p.bind(null,1024),p.bind(null,512),p.bind(null,256),u];g=m.shift();)if(e=(_=g(e,c))[0],(y=_[1]).error||!v(y.value,l))return y;return y},raw:s,truncateFrames:r,truncateStrings:p,maybeTruncateValue:o}},702:(E,w,f)=>{"use strict";var a=f(420),n={};function s(m,h){return h===i(m)}function i(m){var h=typeof m;return h!=="object"?h:m?m instanceof Error?"error":{}.toString.call(m).match(/\s([a-zA-Z]+)/)[1].toLowerCase():"null"}function r(m){return s(m,"function")}function o(m){var h=Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?"),x=RegExp("^"+h+"$");return p(m)&&x.test(m)}function p(m){var h=typeof m;return m!=null&&(h=="object"||h=="function")}function t(){var m=y();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(h){var x=(m+16*Math.random())%16|0;return m=Math.floor(m/16),(h==="x"?x:7&x|8).toString(16)})}var u={strictMode:!1,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}};function v(m,h){var x,k;try{x=n.stringify(m)}catch(d){if(h&&r(h))try{x=h(m)}catch(b){k=b}else k=d}return{error:k,value:x}}function e(m,h){return function(x,k){try{h(x,k)}catch(d){m.error(d)}}}function c(m){return function h(x,k){var d,b,T,S={};try{for(b in x)(d=x[b])&&(s(d,"object")||s(d,"array"))?k.includes(d)?S[b]="Removed circular reference: "+i(d):((T=k.slice()).push(d),S[b]=h(d,T)):S[b]=d}catch(C){S="Failed cloning custom data: "+C.message}return S}(m,[m])}var l=["log","network","dom","navigation","error","manual"],g=["critical","error","warning","info","debug"];function _(m,h){for(var x=0;x<m.length;++x)if(m[x]===h)return!0;return!1}function y(){return Date.now?+Date.now():+new Date}E.exports={addParamsAndAccessTokenToPath:function(m,h,x){(x=x||{}).access_token=m;var k,d=[];for(k in x)Object.prototype.hasOwnProperty.call(x,k)&&d.push([k,x[k]].join("="));var b="?"+d.sort().join("&");(h=h||{}).path=h.path||"";var T,S=h.path.indexOf("?"),C=h.path.indexOf("#");S!==-1&&(C===-1||C>S)?(T=h.path,h.path=T.substring(0,S)+b+"&"+T.substring(S+1)):C!==-1?(T=h.path,h.path=T.substring(0,C)+b+T.substring(C)):h.path=h.path+b},createItem:function(m,h,x,k,d){for(var b,T,S,C,O,N,R=[],P=[],B=0,Q=m.length;B<Q;++B){var J=i(N=m[B]);switch(P.push(J),J){case"undefined":break;case"string":b?R.push(N):b=N;break;case"function":C=e(h,N);break;case"date":R.push(N);break;case"error":case"domexception":case"exception":T?R.push(N):T=N;break;case"object":case"array":if(N instanceof Error||typeof DOMException<"u"&&N instanceof DOMException){T?R.push(N):T=N;break}if(k&&J==="object"&&!O){for(var D=0,le=k.length;D<le;++D)if(N[k[D]]!==void 0){O=N;break}if(O)break}S?R.push(N):S=N;break;default:if(N instanceof Error||typeof DOMException<"u"&&N instanceof DOMException){T?R.push(N):T=N;break}R.push(N)}}S&&(S=c(S)),R.length>0&&(S||(S=c({})),S.extraArgs=c(R));var M={message:b,err:T,custom:S,timestamp:y(),callback:C,notifier:x,diagnostic:{},uuid:t()};return function(ct,F){F&&F.level!==void 0&&(ct.level=F.level,delete F.level),F&&F.skipFrames!==void 0&&(ct.skipFrames=F.skipFrames,delete F.skipFrames)}(M,S),k&&O&&(M.request=O),d&&(M.lambdaContext=d),M._originalArgs=m,M.diagnostic.original_arg_types=P,M},addErrorContext:function(m,h){var x=m.data.custom||{},k=!1;try{for(var d=0;d<h.length;++d)h[d].hasOwnProperty("rollbarContext")&&(x=a(x,c(h[d].rollbarContext)),k=!0);k&&(m.data.custom=x)}catch(b){m.diagnostic.error_context="Failed: "+b.message}},createTelemetryEvent:function(m){for(var h,x,k,d,b=0,T=m.length;b<T;++b)switch(i(d=m[b])){case"string":!h&&_(l,d)?h=d:!k&&_(g,d)&&(k=d);break;case"object":x=d}return{type:h||"manual",metadata:x||{},level:k}},filterIp:function(m,h){if(m&&m.user_ip&&h!==!0){var x=m.user_ip;if(h)try{var k;if(x.indexOf(".")!==-1)(k=x.split(".")).pop(),k.push("0"),x=k.join(".");else if(x.indexOf(":")!==-1){if((k=x.split(":")).length>2){var d=k.slice(0,3),b=d[2].indexOf("/");b!==-1&&(d[2]=d[2].substring(0,b)),x=d.concat("0000:0000:0000:0000:0000").join(":")}}else x=null}catch{x=null}else x=null;m.user_ip=x}},formatArgsAsString:function(m){var h,x,k,d=[];for(h=0,x=m.length;h<x;++h){switch(i(k=m[h])){case"object":(k=(k=v(k)).error||k.value).length>500&&(k=k.substr(0,497)+"...");break;case"null":k="null";break;case"undefined":k="undefined";break;case"symbol":k=k.toString()}d.push(k)}return d.join(" ")},formatUrl:function(m,h){if(!(h=h||m.protocol)&&m.port&&(m.port===80?h="http:":m.port===443&&(h="https:")),h=h||"https:",!m.hostname)return null;var x=h+"//"+m.hostname;return m.port&&(x=x+":"+m.port),m.path&&(x+=m.path),x},get:function(m,h){if(m){var x=h.split("."),k=m;try{for(var d=0,b=x.length;d<b;++d)k=k[x[d]]}catch{k=void 0}return k}},handleOptions:function(m,h,x,k){var d=a(m,h,x);return d=function(b,T){return b.hostWhiteList&&!b.hostSafeList&&(b.hostSafeList=b.hostWhiteList,b.hostWhiteList=void 0,T&&T.log("hostWhiteList is deprecated. Use hostSafeList.")),b.hostBlackList&&!b.hostBlockList&&(b.hostBlockList=b.hostBlackList,b.hostBlackList=void 0,T&&T.log("hostBlackList is deprecated. Use hostBlockList.")),b}(d,k),!h||h.overwriteScrubFields||h.scrubFields&&(d.scrubFields=(m.scrubFields||[]).concat(h.scrubFields)),d},isError:function(m){return s(m,"error")||s(m,"exception")},isFiniteNumber:function(m){return Number.isFinite(m)},isFunction:r,isIterable:function(m){var h=i(m);return h==="object"||h==="array"},isNativeFunction:o,isObject:p,isString:function(m){return typeof m=="string"||m instanceof String},isType:s,isPromise:function(m){return p(m)&&s(m.then,"function")},jsonParse:function(m){var h,x;try{h=n.parse(m)}catch(k){x=k}return{error:x,value:h}},LEVELS:{debug:0,info:1,warning:2,error:3,critical:4},makeUnhandledStackInfo:function(m,h,x,k,d,b,T,S){var C={url:h||"",line:x,column:k};C.func=S.guessFunctionName(C.url,C.line),C.context=S.gatherContext(C.url,C.line);var O=typeof document<"u"&&document&&document.location&&document.location.href,N=typeof window<"u"&&window&&window.navigator&&window.navigator.userAgent;return{mode:b,message:d?String(d):m||T,url:O,stack:[C],useragent:N}},merge:a,now:y,redact:function(){return"********"},RollbarJSON:n,sanitizeUrl:function(m){var h=function(x){if(s(x,"string")){for(var k=u,d=k.parser[k.strictMode?"strict":"loose"].exec(x),b={},T=0,S=k.key.length;T<S;++T)b[k.key[T]]=d[T]||"";return b[k.q.name]={},b[k.key[12]].replace(k.q.parser,function(C,O,N){O&&(b[k.q.name][O]=N)}),b}}(m);return h?(h.anchor===""&&(h.source=h.source.replace("#","")),m=h.source.replace("?"+h.query,"")):"(unknown)"},set:function(m,h,x){if(m){var k=h.split("."),d=k.length;if(!(d<1))if(d!==1)try{for(var b=m[k[0]]||{},T=b,S=1;S<d-1;++S)b[k[S]]=b[k[S]]||{},b=b[k[S]];b[k[d-1]]=x,m[k[0]]=T}catch{return}else m[k[0]]=x}},setupJSON:function(m){r(n.stringify)&&r(n.parse)||(s(JSON,"undefined")||(m?(o(JSON.stringify)&&(n.stringify=JSON.stringify),o(JSON.parse)&&(n.parse=JSON.parse)):(r(JSON.stringify)&&(n.stringify=JSON.stringify),r(JSON.parse)&&(n.parse=JSON.parse))),r(n.stringify)&&r(n.parse)||m&&m(n))},stringify:v,maxByteSize:function(m){for(var h=0,x=m.length,k=0;k<x;k++){var d=m.charCodeAt(k);d<128?h+=1:d<2048?h+=2:d<65536&&(h+=3)}return h},typeName:i,uuid4:t}},650:E=>{"use strict";function w(a){return typeof a!="string"&&(a=String(a)),a.toLowerCase()}function f(a){this.map={},a instanceof f?a.forEach(function(n,s){this.append(s,n)},this):Array.isArray(a)?a.forEach(function(n){this.append(n[0],n[1])},this):a&&Object.getOwnPropertyNames(a).forEach(function(n){this.append(n,a[n])},this)}f.prototype.append=function(a,n){a=w(a),n=function(i){return typeof i!="string"&&(i=String(i)),i}(n);var s=this.map[a];this.map[a]=s?s+", "+n:n},f.prototype.get=function(a){return a=w(a),this.has(a)?this.map[a]:null},f.prototype.has=function(a){return this.map.hasOwnProperty(w(a))},f.prototype.forEach=function(a,n){for(var s in this.map)this.map.hasOwnProperty(s)&&a.call(n,this.map[s],s,this)},f.prototype.entries=function(){var a=[];return this.forEach(function(n,s){a.push([s,n])}),function(n){return{next:function(){var s=n.shift();return{done:s===void 0,value:s}}}}(a)},E.exports=function(a){return typeof Headers>"u"?new f(a):new Headers(a)}},876:(E,w,f)=>{"use strict";var a=f(708);E.exports=a},297:E=>{"use strict";E.exports=function(w,f,a,n,s){var i=w[f];w[f]=a(i),n&&n[s].push([w,f,i])}},267:(E,w,f)=>{"use strict";var a=f(702);E.exports=function(n,s,i){var r,o,p,t,u=a.isType(n,"object"),v=a.isType(n,"array"),e=[];if(i=i||{obj:[],mapped:[]},u){if(t=i.obj.indexOf(n),u&&t!==-1)return i.mapped[t]||i.obj[t];i.obj.push(n),t=i.obj.length-1}if(u)for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&e.push(r);else if(v)for(p=0;p<n.length;++p)e.push(p);var c=u?{}:[],l=!0;for(p=0;p<e.length;++p)o=n[r=e[p]],c[r]=s(r,o,i),l=l&&c[r]===n[r];return u&&!l&&(i.mapped[t]=c),l?n:c}},708:E=>{E.exports=function(w){var f,a,n,s,i,r,o,p,t,u,v,e,c,l=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function g(h){return h<10?"0"+h:h}function _(){return this.valueOf()}function y(h){return l.lastIndex=0,l.test(h)?'"'+h.replace(l,function(x){var k=n[x];return typeof k=="string"?k:"\\u"+("0000"+x.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+h+'"'}function m(h,x){var k,d,b,T,S,C=f,O=x[h];switch(O&&typeof O=="object"&&typeof O.toJSON=="function"&&(O=O.toJSON(h)),typeof s=="function"&&(O=s.call(x,h,O)),typeof O){case"string":return y(O);case"number":return isFinite(O)?String(O):"null";case"boolean":case"null":return String(O);case"object":if(!O)return"null";if(f+=a,S=[],Object.prototype.toString.apply(O)==="[object Array]"){for(T=O.length,k=0;k<T;k+=1)S[k]=m(k,O)||"null";return b=S.length===0?"[]":f?`[
`+f+S.join(`,
`+f)+`
`+C+"]":"["+S.join(",")+"]",f=C,b}if(s&&typeof s=="object")for(T=s.length,k=0;k<T;k+=1)typeof s[k]=="string"&&(b=m(d=s[k],O))&&S.push(y(d)+(f?": ":":")+b);else for(d in O)Object.prototype.hasOwnProperty.call(O,d)&&(b=m(d,O))&&S.push(y(d)+(f?": ":":")+b);return b=S.length===0?"{}":f?`{
`+f+S.join(`,
`+f)+`
`+C+"}":"{"+S.join(",")+"}",f=C,b}}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+g(this.getUTCMonth()+1)+"-"+g(this.getUTCDate())+"T"+g(this.getUTCHours())+":"+g(this.getUTCMinutes())+":"+g(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=_,Number.prototype.toJSON=_,String.prototype.toJSON=_),typeof w.stringify!="function"&&(n={"\b":"\\b","	":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},w.stringify=function(h,x,k){var d;if(f="",a="",typeof k=="number")for(d=0;d<k;d+=1)a+=" ";else typeof k=="string"&&(a=k);if(s=x,x&&typeof x!="function"&&(typeof x!="object"||typeof x.length!="number"))throw new Error("JSON.stringify");return m("",{"":h})}),typeof w.parse!="function"&&(w.parse=(u={"\\":"\\",'"':'"',"/":"/",t:"	",n:`
`,r:"\r",f:"\f",b:"\b"},v={go:function(){i="ok"},firstokey:function(){p=t,i="colon"},okey:function(){p=t,i="colon"},ovalue:function(){i="ocomma"},firstavalue:function(){i="acomma"},avalue:function(){i="acomma"}},e={go:function(){i="ok"},ovalue:function(){i="ocomma"},firstavalue:function(){i="acomma"},avalue:function(){i="acomma"}},c={"{":{go:function(){r.push({state:"ok"}),o={},i="firstokey"},ovalue:function(){r.push({container:o,state:"ocomma",key:p}),o={},i="firstokey"},firstavalue:function(){r.push({container:o,state:"acomma"}),o={},i="firstokey"},avalue:function(){r.push({container:o,state:"acomma"}),o={},i="firstokey"}},"}":{firstokey:function(){var h=r.pop();t=o,o=h.container,p=h.key,i=h.state},ocomma:function(){var h=r.pop();o[p]=t,t=o,o=h.container,p=h.key,i=h.state}},"[":{go:function(){r.push({state:"ok"}),o=[],i="firstavalue"},ovalue:function(){r.push({container:o,state:"ocomma",key:p}),o=[],i="firstavalue"},firstavalue:function(){r.push({container:o,state:"acomma"}),o=[],i="firstavalue"},avalue:function(){r.push({container:o,state:"acomma"}),o=[],i="firstavalue"}},"]":{firstavalue:function(){var h=r.pop();t=o,o=h.container,p=h.key,i=h.state},acomma:function(){var h=r.pop();o.push(t),t=o,o=h.container,p=h.key,i=h.state}},":":{colon:function(){if(Object.hasOwnProperty.call(o,p))throw new SyntaxError("Duplicate key '"+p+'"');i="ovalue"}},",":{ocomma:function(){o[p]=t,i="okey"},acomma:function(){o.push(t),i="avalue"}},true:{go:function(){t=!0,i="ok"},ovalue:function(){t=!0,i="ocomma"},firstavalue:function(){t=!0,i="acomma"},avalue:function(){t=!0,i="acomma"}},false:{go:function(){t=!1,i="ok"},ovalue:function(){t=!1,i="ocomma"},firstavalue:function(){t=!1,i="acomma"},avalue:function(){t=!1,i="acomma"}},null:{go:function(){t=null,i="ok"},ovalue:function(){t=null,i="ocomma"},firstavalue:function(){t=null,i="acomma"},avalue:function(){t=null,i="acomma"}}},function(h,x){var k,d,b=/^[\u0020\t\n\r]*(?:([,:\[\]{}]|true|false|null)|(-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)|"((?:[^\r\n\t\\\"]|\\(?:["\\\/trnfb]|u[0-9a-fA-F]{4}))*)")/;i="go",r=[];try{for(;k=b.exec(h);)k[1]?c[k[1]][i]():k[2]?(t=+k[2],e[i]()):(d=k[3],t=d.replace(/\\(?:u(.{4})|([^u]))/g,function(T,S,C){return S?String.fromCharCode(parseInt(S,16)):u[C]}),v[i]()),h=h.slice(k[0].length)}catch(T){i=T}if(i!=="ok"||/[^\u0020\t\n\r]/.test(h))throw i instanceof SyntaxError?i:new SyntaxError("JSON");return typeof x=="function"?function T(S,C){var O,N,R=S[C];if(R&&typeof R=="object")for(O in t)Object.prototype.hasOwnProperty.call(R,O)&&((N=T(R,O))!==void 0?R[O]=N:delete R[O]);return x.call(S,C,R)}({"":t},""):t}))}}},I={},function E(w){var f=I[w];if(f!==void 0)return f.exports;var a=I[w]={exports:{}};return L[w].call(a.exports,a,a.exports,E),a.exports}(409);var L,I})});var Yt=(()=>{let I=class I{constructor(){this.eventsSenderService=j(Kt),this.browserService=j(zt),this.router=j(Wt),this.viewportScroller=j(At),this.subscription=new pt,this.title="GOG Dreamlist"}ngOnInit(){this.browserService.isBrowser()&&this.eventsSenderService.initAll(),this.subscription.add(this.router.events.pipe(X(w=>w instanceof Bt),vt(1)).subscribe(w=>{let{position:f}=w;this.viewportScroller.scrollToPosition(f||[0,0])}))}ngOnDestroy(){this.eventsSenderService.unsubscribeAll(),this.subscription.unsubscribe()}};I.\u0275fac=function(f){return new(f||I)},I.\u0275cmp=bt({type:I,selectors:[["cw-root"]],standalone:!0,features:[Nt],decls:2,vars:0,consts:[[1,"routing-loader"]],template:function(f,a){f&1&&Ct(0,"gds-routing-loader",0)(1,"router-outlet")},dependencies:[Jt,Xt],styles:[".routing-loader[_ngcontent-%COMP%]{position:fixed;top:var(--menu-height-mobile);left:0;right:0;z-index:50}@media only screen and (min-width: 737px){.routing-loader[_ngcontent-%COMP%]{top:var(--menu-height)}}"],changeDetection:0});let L=I;return L})();var he="@",fe=(()=>{let I=class I{constructor(w,f,a,n,s){this.doc=w,this.delegate=f,this.zone=a,this.animationType=n,this.moduleImpl=s,this._rendererFactoryPromise=null,this.scheduler=j(St,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){return(this.moduleImpl??import("./chunk-JYG6NEYX.js").then(f=>f)).catch(f=>{throw new yt(5300,!1)}).then(({\u0275createEngine:f,\u0275AnimationRendererFactory:a})=>{this._engine=f(this.animationType,this.doc);let n=new a(this.delegate,this._engine,this.zone);return this.delegate=n,n})}createRenderer(w,f){let a=this.delegate.createRenderer(w,f);if(a.\u0275type===0)return a;typeof a.throwOnSyntheticProps=="boolean"&&(a.throwOnSyntheticProps=!1);let n=new nt(a);return f?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(s=>{let i=s.createRenderer(w,f);n.use(i),this.scheduler?.notify(9)}).catch(s=>{n.use(a)}),n}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}};I.\u0275fac=function(f){It()},I.\u0275prov=U({token:I,factory:I.\u0275fac});let L=I;return L})(),nt=class{constructor(I){this.delegate=I,this.replay=[],this.\u0275type=1}use(I){if(this.delegate=I,this.replay!==null){for(let E of this.replay)E(I);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(I,E){return this.delegate.createElement(I,E)}createComment(I){return this.delegate.createComment(I)}createText(I){return this.delegate.createText(I)}get destroyNode(){return this.delegate.destroyNode}appendChild(I,E){this.delegate.appendChild(I,E)}insertBefore(I,E,w,f){this.delegate.insertBefore(I,E,w,f)}removeChild(I,E,w){this.delegate.removeChild(I,E,w)}selectRootElement(I,E){return this.delegate.selectRootElement(I,E)}parentNode(I){return this.delegate.parentNode(I)}nextSibling(I){return this.delegate.nextSibling(I)}setAttribute(I,E,w,f){this.delegate.setAttribute(I,E,w,f)}removeAttribute(I,E,w){this.delegate.removeAttribute(I,E,w)}addClass(I,E){this.delegate.addClass(I,E)}removeClass(I,E){this.delegate.removeClass(I,E)}setStyle(I,E,w,f){this.delegate.setStyle(I,E,w,f)}removeStyle(I,E,w){this.delegate.removeStyle(I,E,w)}setProperty(I,E,w){this.shouldReplay(E)&&this.replay.push(f=>f.setProperty(I,E,w)),this.delegate.setProperty(I,E,w)}setValue(I,E){this.delegate.setValue(I,E)}listen(I,E,w){return this.shouldReplay(E)&&this.replay.push(f=>f.listen(I,E,w)),this.delegate.listen(I,E,w)}shouldReplay(I){return this.replay!==null&&I.startsWith(he)}};function Qt(L="animations"){return Ot("NgAsyncAnimations"),wt([{provide:Tt,useFactory:(I,E,w)=>new fe(I,E,w,L),deps:[jt,Mt,_t]},{provide:kt,useValue:L==="noop"?"NoopAnimations":"BrowserAnimations"}])}var De=lt(it(),1),st=new et("rollbar"),de=new et("logToConsole"),te=(()=>{let I=class I{constructor(w,f){this.rollbar=w,this.logErrorToConsole=f}handleError(w,f){let a=w.originalError||w;this.logErrorToConsole&&(f?console.error(f,a):console.error(a)),this.rollbar.error(a)}};I.\u0275fac=function(f){return new(f||I)(q(st),q(de,8))},I.\u0275prov=U({token:I,factory:I.\u0275fac});let L=I;return L})();var ee=lt(it(),1);var me={client:{javascript:{source_map_enabled:!0,guess_uncaught_frames:!0}}},at={payload:me,captureUncaught:!0,captureUnhandledRejections:!0},re=(L={})=>new ee.default(tt(A(A({},at),L),{payload:tt(A(A({},at.payload),L.payload),{client:{javascript:A(A({},at.payload?.client?.javascript??{}),L.payload?.client?.javascript??{})}})}));var Y={revision:"10c411af"};var ut=class{error(){return null}},ne=()=>new ut;function ge(L,I){return{environment:L.type,accessToken:L.rollbar.postClientToken,ignoredMessages:I?.ignoredMessages??[],hostSafeList:I?.hostSafeList??[],hostBlockList:I?.hostBlockList??[],payload:{client:{javascript:{code_version:Y.revision.trim()}}}}}var oe=(L,I)=>{let E=I?.settings.rollbarBrowserConfig??void 0;return L.type==="development"?ne():re(ge(L,E))};var ie=L=>()=>L.getAuthWindowGlobals$().pipe(W(I=>dt(()=>I!==null?G(I):L.accessTokenReady$)),Z(I=>L.setAuthData(I)),V(()=>(console.warn("Cannot authenticate!"),ht)));var se=(L,I)=>{let E=j(Pt),w=L.clone({headers:L.headers.set("Accept-Language",E)});return I(w)};var ae=(L,I)=>{let E=j(H),w=j(K),f="invalid_grant",a=n=>n?.status===401&&n?.error.error===f;return L.context.get(Vt)?w.authData$.pipe(mt(),ft(n=>n?.accessToken),W(n=>{let s=E.authGuard?n:E.accessToken;if(typeof s<"u"&&s.length>0){let i=L.headers.append("Authorization",`Bearer ${s}`),r=L.clone({headers:i});return I(r)}return I(L)}),V(n=>a(n)?w.getAuthWindowGlobals$().pipe(X(Boolean),Z(s=>w.setAuthData(s)),W(()=>z(()=>n))):z(()=>n)),gt({delay:n=>a(n)?G(n):z(()=>n),count:1})):I(L)};var ue=(()=>{let I=class I{constructor(w,f,a){this.transferState=w,this.CONSUL_CONFIG_KEY="consulConfig",this.settings={},f.type==="development"&&(this.settings={}),this.transferState.hasKey(this.CONSUL_CONFIG_KEY)?(this.settings=this.transferState.get(this.CONSUL_CONFIG_KEY,this.settings),this.transferState.remove(this.CONSUL_CONFIG_KEY)):(this.settings=A(A({},this.settings),a),this.transferState.set(this.CONSUL_CONFIG_KEY,this.settings))}};I.\u0275fac=function(f){return new(f||I)(q(Et),q(H),q("CONSUL",8))},I.\u0275prov=U({token:I,factory:I.\u0275fac,providedIn:"root"});let L=I;return L})();var ce={providers:[Rt({eventCoalescing:!0}),$t(Zt,Gt({scrollPositionRestoration:"disabled",anchorScrolling:"enabled"})),Ft(qt(),Dt([ae,se])),Ht(),Qt(),{provide:Lt,useFactory:ie,multi:!0,deps:[K]},{provide:st,useFactory:oe,deps:[H,ue]},{provide:xt,useClass:te}]};var ve=`
#####################
### GOG Dreamlist ###
### ver: ${Y.revision.trim()} ###
#####################
`;console.log(ve);Ut(Yt,ce).catch(L=>console.error(L));
/**i18n:f6146987b502864943cbf11cd68e31add13c5236bbf19385687caa690923d110*/
