OwlCyberSecurity - MANAGER
Edit File: sentry.min.js
var ClSentry=function(t){var n=function(t,r){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var r in n)n.hasOwnProperty(r)&&(t[r]=n[r])})(t,r)};function r(t,r){function i(){this.constructor=t}n(t,r),t.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}var i,e,o,u=function(){return(u=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++)for(var e in n=arguments[r])Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e]);return t}).apply(this,arguments)};function a(t){var n="function"==typeof Symbol&&t[Symbol.iterator],r=0;return n?n.call(t):{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}}}function s(t,n){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var i,e,o=r.call(t),u=[];try{for(;(void 0===n||n-- >0)&&!(i=o.next()).done;)u.push(i.value)}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return u}function c(){for(var t=[],n=0;n<arguments.length;n++)t=t.concat(s(arguments[n]));return t}function f(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return b(t,Error)}}function h(t){return"[object ErrorEvent]"===Object.prototype.toString.call(t)}function v(t){return"[object DOMError]"===Object.prototype.toString.call(t)}function d(t){return"[object String]"===Object.prototype.toString.call(t)}function l(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function p(t){return"[object Object]"===Object.prototype.toString.call(t)}function m(t){return"undefined"!=typeof Event&&b(t,Event)}function y(t){return"undefined"!=typeof Element&&b(t,Element)}function g(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function b(t,n){try{return t instanceof n}catch(t){return!1}}function w(t){try{for(var n=t,r=[],i=0,e=0,o=" > ".length,u=void 0;n&&i++<5&&!("html"===(u=T(n))||i>1&&e+r.length*o+u.length>=80);)r.push(u),e+=u.length,n=n.parentNode;return r.reverse().join(" > ")}catch(t){return"<unknown>"}}function T(t){var n,r,i,e,o,u=t,a=[];if(!u||!u.tagName)return"";if(a.push(u.tagName.toLowerCase()),u.id&&a.push("#"+u.id),(n=u.className)&&d(n))for(r=n.split(/\s+/),o=0;o<r.length;o++)a.push("."+r[o]);var s=["type","name","title","alt"];for(o=0;o<s.length;o++)i=s[o],(e=u.getAttribute(i))&&a.push("["+i+'="'+e+'"]');return a.join("")}!function(t){t[t.None=0]="None",t[t.Error=1]="Error",t[t.Debug=2]="Debug",t[t.Verbose=3]="Verbose"}(i||(i={})),(e=t.Severity||(t.Severity={})).Fatal="fatal",e.Error="error",e.Warning="warning",e.Log="log",e.Info="info",e.Debug="debug",e.Critical="critical",function(t){t.fromString=function(n){switch(n){case"debug":return t.Debug;case"info":return t.Info;case"warn":case"warning":return t.Warning;case"error":return t.Error;case"fatal":return t.Fatal;case"critical":return t.Critical;case"log":default:return t.Log}}}(t.Severity||(t.Severity={})),(o=t.Status||(t.Status={})).Unknown="unknown",o.Skipped="skipped",o.Success="success",o.RateLimit="rate_limit",o.Invalid="invalid",o.Failed="failed",function(t){t.fromHttpCode=function(n){return n>=200&&n<300?t.Success:429===n?t.RateLimit:n>=400&&n<500?t.Invalid:n>=500?t.Failed:t.Unknown}}(t.Status||(t.Status={}));var E=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,n){return t.__proto__=n,t}:function(t,n){for(var r in n)t.hasOwnProperty(r)||(t[r]=n[r]);return t});var k=function(t){function n(n){var r=this.constructor,i=t.call(this,n)||this;return i.message=n,i.name=r.prototype.constructor.name,E(i,r.prototype),i}return r(n,t),n}(Error),x=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/,_=function(){function t(t){"string"==typeof t?this.t(t):this.i(t),this.o()}return t.prototype.toString=function(t){void 0===t&&(t=!1);var n=this,r=n.host,i=n.path,e=n.pass,o=n.port,u=n.projectId;return n.protocol+"://"+n.user+(t&&e?":"+e:"")+"@"+r+(o?":"+o:"")+"/"+(i?i+"/":i)+u},t.prototype.t=function(t){var n=x.exec(t);if(!n)throw new k("Invalid Dsn");var r=s(n.slice(1),6),i=r[0],e=r[1],o=r[2],u=void 0===o?"":o,a=r[3],c=r[4],f=void 0===c?"":c,h="",v=r[5],d=v.split("/");if(d.length>1&&(h=d.slice(0,-1).join("/"),v=d.pop()),v){var l=v.match(/^\d+/);l&&(v=l[0])}this.i({host:a,pass:u,path:h,projectId:v,port:f,protocol:i,user:e})},t.prototype.i=function(t){this.protocol=t.protocol,this.user=t.user,this.pass=t.pass||"",this.host=t.host,this.port=t.port||"",this.path=t.path||"",this.projectId=t.projectId},t.prototype.o=function(){var t=this;if(["protocol","user","host","projectId"].forEach(function(n){if(!t[n])throw new k("Invalid Dsn: "+n+" missing")}),!this.projectId.match(/^\d+$/))throw new k("Invalid Dsn: Invalid projectId "+this.projectId);if("http"!==this.protocol&&"https"!==this.protocol)throw new k("Invalid Dsn: Invalid protocol "+this.protocol);if(this.port&&isNaN(parseInt(this.port,10)))throw new k("Invalid Dsn: Invalid port "+this.port)},t}(),j=function(){function t(){this.u="function"==typeof WeakSet,this.s=this.u?new WeakSet:[]}return t.prototype.memoize=function(t){if(this.u)return!!this.s.has(t)||(this.s.add(t),!1);for(var n=0;n<this.s.length;n++){if(this.s[n]===t)return!0}return this.s.push(t),!1},t.prototype.unmemoize=function(t){if(this.u)this.s.delete(t);else for(var n=0;n<this.s.length;n++)if(this.s[n]===t){this.s.splice(n,1);break}},t}(),S="<anonymous>";function O(t){try{return t&&"function"==typeof t&&t.name||S}catch(t){return S}}function D(t,n){return void 0===n&&(n=0),"string"!=typeof t||0===n?t:t.length<=n?t:t.substr(0,n)+"..."}function I(t,n){if(!Array.isArray(t))return"";for(var r=[],i=0;i<t.length;i++){var e=t[i];try{r.push(String(e))}catch(t){r.push("[value cannot be serialized]")}}return r.join(n)}function R(t,n){return!!d(t)&&(r=n,"[object RegExp]"===Object.prototype.toString.call(r)?n.test(t):"string"==typeof n&&-1!==t.indexOf(n));var r}function N(t,n,r){if(n in t){var i=t[n],e=r(i);if("function"==typeof e)try{e.prototype=e.prototype||{},Object.defineProperties(e,{__sentry_original__:{enumerable:!1,value:i}})}catch(t){}t[n]=e}}function C(t){if(f(t)){var n=t,r={message:n.message,name:n.name,stack:n.stack};for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i]);return r}if(m(t)){var e=t,o={};o.type=e.type;try{o.target=y(e.target)?w(e.target):Object.prototype.toString.call(e.target)}catch(t){o.target="<unknown>"}try{o.currentTarget=y(e.currentTarget)?w(e.currentTarget):Object.prototype.toString.call(e.currentTarget)}catch(t){o.currentTarget="<unknown>"}for(var i in"undefined"!=typeof CustomEvent&&b(t,CustomEvent)&&(o.detail=e.detail),e)Object.prototype.hasOwnProperty.call(e,i)&&(o[i]=e);return o}return t}function A(t){return function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(t))}function q(t,n,r){void 0===n&&(n=3),void 0===r&&(r=102400);var i=U(t,n);return A(i)>r?q(t,n-1,r):i}function M(t,n){return"domain"===n&&t&&"object"==typeof t&&t.h?"[Domain]":"domainEmitter"===n?"[DomainEmitter]":"undefined"!=typeof global&&t===global?"[Global]":"undefined"!=typeof window&&t===window?"[Window]":"undefined"!=typeof document&&t===document?"[Document]":p(r=t)&&"nativeEvent"in r&&"preventDefault"in r&&"stopPropagation"in r?"[SyntheticEvent]":"number"==typeof t&&t!=t?"[NaN]":void 0===t?"[undefined]":"function"==typeof t?"[Function: "+O(t)+"]":t;var r}function L(t,n,r,i){if(void 0===r&&(r=1/0),void 0===i&&(i=new j),0===r)return function(t){var n=Object.prototype.toString.call(t);if("string"==typeof t)return t;if("[object Object]"===n)return"[Object]";if("[object Array]"===n)return"[Array]";var r=M(t);return l(r)?r:n}(n);if(null!=n&&"function"==typeof n.toJSON)return n.toJSON();var e=M(n,t);if(l(e))return e;var o=C(n),u=Array.isArray(n)?[]:{};if(i.memoize(n))return"[Circular ~]";for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(u[a]=L(a,o[a],r-1,i));return i.unmemoize(n),u}function U(t,n){try{return JSON.parse(JSON.stringify(t,function(t,r){return L(t,r,n)}))}catch(t){return"**non-serializable**"}}function H(t,n){void 0===n&&(n=40);var r=Object.keys(C(t));if(r.sort(),!r.length)return"[object has no keys]";if(r[0].length>=n)return D(r[0],n);for(var i=r.length;i>0;i--){var e=r.slice(0,i).join(", ");if(!(e.length>n))return i===r.length?e:D(e,n)}return""}function P(t){var n,r;if(p(t)){var i=t,e={};try{for(var o=a(Object.keys(i)),u=o.next();!u.done;u=o.next()){var s=u.value;void 0!==i[s]&&(e[s]=P(i[s]))}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return e}return Array.isArray(t)?t.map(P):t}function F(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function B(t,n){return t.require(n)}var G=["cookies","data","headers","method","query_string","url"];var X={};function J(){return F()?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:X}function W(){var t=J(),n=t.crypto||t.msCrypto;if(void 0!==n&&n.getRandomValues){var r=new Uint16Array(8);n.getRandomValues(r),r[3]=4095&r[3]|16384,r[4]=16383&r[4]|32768;var i=function(t){for(var n=t.toString(16);n.length<4;)n="0"+n;return n};return i(r[0])+i(r[1])+i(r[2])+i(r[3])+i(r[4])+i(r[5])+i(r[6])+i(r[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(t){var n=16*Math.random()|0;return("x"===t?n:3&n|8).toString(16)})}function $(t){if(!t)return{};var n=t.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!n)return{};var r=n[6]||"",i=n[8]||"";return{host:n[4],path:n[5],protocol:n[2],relative:n[5]+r+i}}function z(t){if(t.message)return t.message;if(t.exception&&t.exception.values&&t.exception.values[0]){var n=t.exception.values[0];return n.type&&n.value?n.type+": "+n.value:n.type||n.value||t.event_id||"<unknown>"}return t.event_id||"<unknown>"}function V(t){var n=J();if(!("console"in n))return t();var r=n.console,i={};["debug","info","warn","error","log","assert"].forEach(function(t){t in n.console&&r[t].__sentry_original__&&(i[t]=r[t],r[t]=r[t].__sentry_original__)});var e=t();return Object.keys(i).forEach(function(t){r[t]=i[t]}),e}function K(t,n,r){t.exception=t.exception||{},t.exception.values=t.exception.values||[],t.exception.values[0]=t.exception.values[0]||{},t.exception.values[0].value=t.exception.values[0].value||n||"",t.exception.values[0].type=t.exception.values[0].type||r||"Error"}function Y(t,n){void 0===n&&(n={});try{t.exception.values[0].mechanism=t.exception.values[0].mechanism||{},Object.keys(n).forEach(function(r){t.exception.values[0].mechanism[r]=n[r]})}catch(t){}}var Q=6e4;function Z(t,n){if(!n)return Q;var r=parseInt(""+n,10);if(!isNaN(r))return 1e3*r;var i=Date.parse(""+n);return isNaN(i)?Q:i-t}var tt=J(),nt="Sentry Logger ",rt=function(){function t(){this.v=!1}return t.prototype.disable=function(){this.v=!1},t.prototype.enable=function(){this.v=!0},t.prototype.log=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this.v&&V(function(){tt.console.log(nt+"[Log]: "+t.join(" "))})},t.prototype.warn=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this.v&&V(function(){tt.console.warn(nt+"[Warn]: "+t.join(" "))})},t.prototype.error=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this.v&&V(function(){tt.console.error(nt+"[Error]: "+t.join(" "))})},t}();tt.__SENTRY__=tt.__SENTRY__||{};var it=tt.__SENTRY__.logger||(tt.__SENTRY__.logger=new rt);function et(){if(!("fetch"in J()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function ot(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function ut(){if(!et())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(t){return!1}}var at,st=J(),ct={},ft={};function ht(t){if(!ft[t])switch(ft[t]=!0,t){case"console":!function(){if(!("console"in st))return;["debug","info","warn","error","log","assert"].forEach(function(t){t in st.console&&N(st.console,t,function(n){return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];dt("console",{args:r,level:t}),n&&Function.prototype.apply.call(n,st.console,r)}})})}();break;case"dom":!function(){if(!("document"in st))return;st.document.addEventListener("click",wt("click",dt.bind(null,"dom")),!1),st.document.addEventListener("keypress",Tt(dt.bind(null,"dom")),!1),["EventTarget","Node"].forEach(function(t){var n=st[t]&&st[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(N(n,"addEventListener",function(t){return function(n,r,i){return r&&r.handleEvent?("click"===n&&N(r,"handleEvent",function(t){return function(n){return wt("click",dt.bind(null,"dom"))(n),t.call(this,n)}}),"keypress"===n&&N(r,"handleEvent",function(t){return function(n){return Tt(dt.bind(null,"dom"))(n),t.call(this,n)}})):("click"===n&&wt("click",dt.bind(null,"dom"),!0)(this),"keypress"===n&&Tt(dt.bind(null,"dom"))(this)),t.call(this,n,r,i)}}),N(n,"removeEventListener",function(t){return function(n,r,i){try{t.call(this,n,r.__sentry_wrapped__,i)}catch(t){}return t.call(this,n,r,i)}}))})}();break;case"xhr":!function(){if(!("XMLHttpRequest"in st))return;var t=[],n=[],r=XMLHttpRequest.prototype;N(r,"open",function(r){return function(){for(var i=[],e=0;e<arguments.length;e++)i[e]=arguments[e];var o=this,u=i[1];o.__sentry_xhr__={method:d(i[0])?i[0].toUpperCase():i[0],url:i[1]},d(u)&&"POST"===o.__sentry_xhr__.method&&u.match(/sentry_key/)&&(o.__sentry_own_request__=!0);var a=function(){if(4===o.readyState){try{o.__sentry_xhr__&&(o.__sentry_xhr__.status_code=o.status)}catch(t){}try{var r=t.indexOf(o);if(-1!==r){t.splice(r);var e=n.splice(r)[0];o.__sentry_xhr__&&void 0!==e[0]&&(o.__sentry_xhr__.body=e[0])}}catch(t){}dt("xhr",{args:i,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:o})}};return"onreadystatechange"in o&&"function"==typeof o.onreadystatechange?N(o,"onreadystatechange",function(t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return a(),t.apply(o,n)}}):o.addEventListener("readystatechange",a),r.apply(o,i)}}),N(r,"send",function(r){return function(){for(var i=[],e=0;e<arguments.length;e++)i[e]=arguments[e];return t.push(this),n.push(i),dt("xhr",{args:i,startTimestamp:Date.now(),xhr:this}),r.apply(this,i)}})}();break;case"fetch":!function(){if(!function(){if(!et())return!1;var t=J();if(ot(t.fetch))return!0;var n=!1,r=t.document;if(r&&"function"==typeof r.createElement)try{var i=r.createElement("iframe");i.hidden=!0,r.head.appendChild(i),i.contentWindow&&i.contentWindow.fetch&&(n=ot(i.contentWindow.fetch)),r.head.removeChild(i)}catch(t){it.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return n}())return;N(st,"fetch",function(t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i={args:n,fetchData:{method:lt(n),url:pt(n)},startTimestamp:Date.now()};return dt("fetch",u({},i)),t.apply(st,n).then(function(t){return dt("fetch",u(u({},i),{endTimestamp:Date.now(),response:t})),t},function(t){throw dt("fetch",u(u({},i),{endTimestamp:Date.now(),error:t})),t})}})}();break;case"history":!function(){if(t=J(),n=t.chrome,r=n&&n.app&&n.app.runtime,i="history"in t&&!!t.history.pushState&&!!t.history.replaceState,r||!i)return;var t,n,r,i;var e=st.onpopstate;function o(t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=n.length>2?n[2]:void 0;if(i){var e=at,o=String(i);at=o,dt("history",{from:e,to:o})}return t.apply(this,n)}}st.onpopstate=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=st.location.href,i=at;if(at=r,dt("history",{from:i,to:r}),e)return e.apply(this,t)},N(st.history,"pushState",o),N(st.history,"replaceState",o)}();break;case"error":Et=st.onerror,st.onerror=function(t,n,r,i,e){return dt("error",{column:i,error:e,line:r,msg:t,url:n}),!!Et&&Et.apply(this,arguments)};break;case"unhandledrejection":xt=st.onunhandledrejection,st.onunhandledrejection=function(t){return dt("unhandledrejection",t),!xt||xt.apply(this,arguments)};break;default:it.warn("unknown instrumentation type:",t)}}function vt(t){t&&"string"==typeof t.type&&"function"==typeof t.callback&&(ct[t.type]=ct[t.type]||[],ct[t.type].push(t.callback),ht(t.type))}function dt(t,n){var r,i;if(t&&ct[t])try{for(var e=a(ct[t]||[]),o=e.next();!o.done;o=e.next()){var u=o.value;try{u(n)}catch(n){it.error("Error while triggering instrumentation handler.\nType: "+t+"\nName: "+O(u)+"\nError: "+n)}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(i=e.return)&&i.call(e)}finally{if(r)throw r.error}}}function lt(t){return void 0===t&&(t=[]),"Request"in st&&b(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():"GET"}function pt(t){return void 0===t&&(t=[]),"string"==typeof t[0]?t[0]:"Request"in st&&b(t[0],Request)?t[0].url:String(t[0])}var mt,yt,gt=1e3,bt=0;function wt(t,n,r){return void 0===r&&(r=!1),function(i){mt=void 0,i&&yt!==i&&(yt=i,bt&&clearTimeout(bt),r?bt=setTimeout(function(){n({event:i,name:t})}):n({event:i,name:t}))}}function Tt(t){return function(n){var r;try{r=n.target}catch(t){return}var i=r&&r.tagName;i&&("INPUT"===i||"TEXTAREA"===i||r.isContentEditable)&&(mt||wt("input",t)(n),clearTimeout(mt),mt=setTimeout(function(){mt=void 0},gt))}}var Et=null;var kt,xt=null;!function(t){t.PENDING="PENDING",t.RESOLVED="RESOLVED",t.REJECTED="REJECTED"}(kt||(kt={}));var _t=function(){function t(t){var n=this;this.l=kt.PENDING,this.p=[],this.m=function(t){n.g(kt.RESOLVED,t)},this.T=function(t){n.g(kt.REJECTED,t)},this.g=function(t,r){n.l===kt.PENDING&&(g(r)?r.then(n.m,n.T):(n.l=t,n.k=r,n._()))},this.j=function(t){n.p=n.p.concat(t),n._()},this._=function(){if(n.l!==kt.PENDING){var t=n.p.slice();n.p=[],t.forEach(function(t){t.done||(n.l===kt.RESOLVED&&t.onfulfilled&&t.onfulfilled(n.k),n.l===kt.REJECTED&&t.onrejected&&t.onrejected(n.k),t.done=!0)})}};try{t(this.m,this.T)}catch(t){this.T(t)}}return t.resolve=function(n){return new t(function(t){t(n)})},t.reject=function(n){return new t(function(t,r){r(n)})},t.all=function(n){return new t(function(r,i){if(Array.isArray(n))if(0!==n.length){var e=n.length,o=[];n.forEach(function(n,u){t.resolve(n).then(function(t){o[u]=t,0===(e-=1)&&r(o)}).then(null,i)})}else r([]);else i(new TypeError("Promise.all requires an array as input."))})},t.prototype.then=function(n,r){var i=this;return new t(function(t,e){i.j({done:!1,onfulfilled:function(r){if(n)try{return void t(n(r))}catch(t){return void e(t)}else t(r)},onrejected:function(n){if(r)try{return void t(r(n))}catch(t){return void e(t)}else e(n)}})})},t.prototype.catch=function(t){return this.then(function(t){return t},t)},t.prototype.finally=function(n){var r=this;return new t(function(t,i){var e,o;return r.then(function(t){o=!1,e=t,n&&n()},function(t){o=!0,e=t,n&&n()}).then(function(){o?i(e):t(e)})})},t.prototype.toString=function(){return"[object SyncPromise]"},t}(),jt=function(){function t(t){this.S=t,this.O=[]}return t.prototype.isReady=function(){return void 0===this.S||this.length()<this.S},t.prototype.add=function(t){var n=this;return this.isReady()?(-1===this.O.indexOf(t)&&this.O.push(t),t.then(function(){return n.remove(t)}).then(null,function(){return n.remove(t).then(null,function(){})}),t):_t.reject(new k("Not adding Promise due to buffer limit reached."))},t.prototype.remove=function(t){return this.O.splice(this.O.indexOf(t),1)[0]},t.prototype.length=function(){return this.O.length},t.prototype.drain=function(t){var n=this;return new _t(function(r){var i=setTimeout(function(){t&&t>0&&r(!1)},t);_t.all(n.O).then(function(){clearTimeout(i),r(!0)}).then(null,function(){r(!0)})})},t}(),St={nowSeconds:function(){return Date.now()/1e3}};var Ot=F()?function(){try{return B(module,"perf_hooks").performance}catch(t){return}}():function(){var t=J().performance;if(t&&t.now)return{now:function(){return t.now()},timeOrigin:Date.now()-t.now()}}(),Dt=void 0===Ot?St:{nowSeconds:function(){return(Ot.timeOrigin+Ot.now())/1e3}},It=St.nowSeconds.bind(St),Rt=Dt.nowSeconds.bind(Dt),Nt=function(){var t=J().performance;if(t)return t.timeOrigin?t.timeOrigin:t.timing&&t.timing.navigationStart||Date.now()}(),Ct=function(){function t(){this.D=!1,this.I=[],this.R=[],this.N=[],this.C={},this.A={},this.q={},this.M={}}return t.clone=function(n){var r=new t;return n&&(r.N=c(n.N),r.A=u({},n.A),r.q=u({},n.q),r.M=u({},n.M),r.C=n.C,r.L=n.L,r.U=n.U,r.H=n.H,r.P=n.P,r.R=c(n.R)),r},t.prototype.addScopeListener=function(t){this.I.push(t)},t.prototype.addEventProcessor=function(t){return this.R.push(t),this},t.prototype.setUser=function(t){return this.C=t||{},this.F(),this},t.prototype.setTags=function(t){return this.A=u(u({},this.A),t),this.F(),this},t.prototype.setTag=function(t,n){var r;return this.A=u(u({},this.A),((r={})[t]=n,r)),this.F(),this},t.prototype.setExtras=function(t){return this.q=u(u({},this.q),t),this.F(),this},t.prototype.setExtra=function(t,n){var r;return this.q=u(u({},this.q),((r={})[t]=n,r)),this.F(),this},t.prototype.setFingerprint=function(t){return this.P=t,this.F(),this},t.prototype.setLevel=function(t){return this.L=t,this.F(),this},t.prototype.setTransactionName=function(t){return this.H=t,this.F(),this},t.prototype.setTransaction=function(t){return this.setTransactionName(t)},t.prototype.setContext=function(t,n){var r;return null===n?delete this.M[t]:this.M=u(u({},this.M),((r={})[t]=n,r)),this.F(),this},t.prototype.setSpan=function(t){return this.U=t,this.F(),this},t.prototype.getSpan=function(){return this.U},t.prototype.getTransaction=function(){var t,n,r,i,e=this.getSpan();return(null===(t=e)||void 0===t?void 0:t.transaction)?null===(n=e)||void 0===n?void 0:n.transaction:(null===(i=null===(r=e)||void 0===r?void 0:r.spanRecorder)||void 0===i?void 0:i.spans[0])?e.spanRecorder.spans[0]:void 0},t.prototype.update=function(n){if(!n)return this;if("function"==typeof n){var r=n(this);return r instanceof t?r:this}return n instanceof t?(this.A=u(u({},this.A),n.A),this.q=u(u({},this.q),n.q),this.M=u(u({},this.M),n.M),n.C&&(this.C=n.C),n.L&&(this.L=n.L),n.P&&(this.P=n.P)):p(n)&&(n=n,this.A=u(u({},this.A),n.tags),this.q=u(u({},this.q),n.extra),this.M=u(u({},this.M),n.contexts),n.user&&(this.C=n.user),n.level&&(this.L=n.level),n.fingerprint&&(this.P=n.fingerprint)),this},t.prototype.clear=function(){return this.N=[],this.A={},this.q={},this.C={},this.M={},this.L=void 0,this.H=void 0,this.P=void 0,this.U=void 0,this.F(),this},t.prototype.addBreadcrumb=function(t,n){var r=u({timestamp:It()},t);return this.N=void 0!==n&&n>=0?c(this.N,[r]).slice(-n):c(this.N,[r]),this.F(),this},t.prototype.clearBreadcrumbs=function(){return this.N=[],this.F(),this},t.prototype.applyToEvent=function(t,n){return this.q&&Object.keys(this.q).length&&(t.extra=u(u({},this.q),t.extra)),this.A&&Object.keys(this.A).length&&(t.tags=u(u({},this.A),t.tags)),this.C&&Object.keys(this.C).length&&(t.user=u(u({},this.C),t.user)),this.M&&Object.keys(this.M).length&&(t.contexts=u(u({},this.M),t.contexts)),this.L&&(t.level=this.L),this.H&&(t.transaction=this.H),this.U&&(t.contexts=u({trace:this.U.getTraceContext()},t.contexts)),this.B(t),t.breadcrumbs=c(t.breadcrumbs||[],this.N),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,this.G(c(At(),this.R),t,n)},t.prototype.G=function(t,n,r,i){var e=this;return void 0===i&&(i=0),new _t(function(o,a){var s=t[i];if(null===n||"function"!=typeof s)o(n);else{var c=s(u({},n),r);g(c)?c.then(function(n){return e.G(t,n,r,i+1).then(o)}).then(null,a):e.G(t,c,r,i+1).then(o).then(null,a)}})},t.prototype.F=function(){var t=this;this.D||(this.D=!0,setTimeout(function(){t.I.forEach(function(n){n(t)}),t.D=!1}))},t.prototype.B=function(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this.P&&(t.fingerprint=t.fingerprint.concat(this.P)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},t}();function At(){var t=J();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}function qt(t){At().push(t)}var Mt=3,Lt=function(){function t(t,n,r){void 0===n&&(n=new Ct),void 0===r&&(r=Mt),this.X=r,this.J=[],this.J.push({client:t,scope:n}),this.bindClient(t)}return t.prototype.isOlderThan=function(t){return this.X<t},t.prototype.bindClient=function(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()},t.prototype.pushScope=function(){var t=this.getStack(),n=t.length>0?t[t.length-1].scope:void 0,r=Ct.clone(n);return this.getStack().push({client:this.getClient(),scope:r}),r},t.prototype.popScope=function(){return void 0!==this.getStack().pop()},t.prototype.withScope=function(t){var n=this.pushScope();try{t(n)}finally{this.popScope()}},t.prototype.getClient=function(){return this.getStackTop().client},t.prototype.getScope=function(){return this.getStackTop().scope},t.prototype.getStack=function(){return this.J},t.prototype.getStackTop=function(){return this.J[this.J.length-1]},t.prototype.captureException=function(t,n){var r=this.W=W(),i=n;if(!n){var e=void 0;try{throw new Error("Sentry syntheticException")}catch(t){e=t}i={originalException:t,syntheticException:e}}return this.$("captureException",t,u(u({},i),{event_id:r})),r},t.prototype.captureMessage=function(t,n,r){var i=this.W=W(),e=r;if(!r){var o=void 0;try{throw new Error(t)}catch(t){o=t}e={originalException:t,syntheticException:o}}return this.$("captureMessage",t,n,u(u({},e),{event_id:i})),i},t.prototype.captureEvent=function(t,n){var r=this.W=W();return this.$("captureEvent",t,u(u({},n),{event_id:r})),r},t.prototype.lastEventId=function(){return this.W},t.prototype.addBreadcrumb=function(t,n){var r=this.getStackTop();if(r.scope&&r.client){var i=r.client.getOptions&&r.client.getOptions()||{},e=i.beforeBreadcrumb,o=void 0===e?null:e,a=i.maxBreadcrumbs,s=void 0===a?100:a;if(!(s<=0)){var c=It(),f=u({timestamp:c},t),h=o?V(function(){return o(f,n)}):f;null!==h&&r.scope.addBreadcrumb(h,Math.min(s,100))}}},t.prototype.setUser=function(t){var n=this.getStackTop();n.scope&&n.scope.setUser(t)},t.prototype.setTags=function(t){var n=this.getStackTop();n.scope&&n.scope.setTags(t)},t.prototype.setExtras=function(t){var n=this.getStackTop();n.scope&&n.scope.setExtras(t)},t.prototype.setTag=function(t,n){var r=this.getStackTop();r.scope&&r.scope.setTag(t,n)},t.prototype.setExtra=function(t,n){var r=this.getStackTop();r.scope&&r.scope.setExtra(t,n)},t.prototype.setContext=function(t,n){var r=this.getStackTop();r.scope&&r.scope.setContext(t,n)},t.prototype.configureScope=function(t){var n=this.getStackTop();n.scope&&n.client&&t(n.scope)},t.prototype.run=function(t){var n=Ht(this);try{t(this)}finally{Ht(n)}},t.prototype.getIntegration=function(t){var n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch(n){return it.warn("Cannot retrieve integration "+t.id+" from the current Hub"),null}},t.prototype.startSpan=function(t){return this.V("startSpan",t)},t.prototype.startTransaction=function(t,n){return this.V("startTransaction",t,n)},t.prototype.traceHeaders=function(){return this.V("traceHeaders")},t.prototype.$=function(t){for(var n,r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];var e=this.getStackTop();e&&e.client&&e.client[t]&&(n=e.client)[t].apply(n,c(r,[e.scope]))},t.prototype.V=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=Ut().__SENTRY__;if(i&&i.extensions&&"function"==typeof i.extensions[t])return i.extensions[t].apply(this,n);it.warn("Extension method "+t+" couldn't be found, doing nothing.")},t}();function Ut(){var t=J();return t.__SENTRY__=t.__SENTRY__||{extensions:{},hub:void 0},t}function Ht(t){var n=Ut(),r=Gt(n);return Xt(n,t),r}function Pt(){var t=Ut();return Bt(t)&&!Gt(t).isOlderThan(Mt)||Xt(t,new Lt),F()?function(t){try{var n=Ft();if(!n)return Gt(t);if(!Bt(n)||Gt(n).isOlderThan(Mt)){var r=Gt(t).getStackTop();Xt(n,new Lt(r.client,Ct.clone(r.scope)))}return Gt(n)}catch(n){return Gt(t)}}(t):Gt(t)}function Ft(){var t=Ut().__SENTRY__;return t&&t.extensions&&t.extensions.domain&&t.extensions.domain.active}function Bt(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function Gt(t){return t&&t.__SENTRY__&&t.__SENTRY__.hub?t.__SENTRY__.hub:(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=new Lt,t.__SENTRY__.hub)}function Xt(t,n){return!!t&&(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=n,!0)}function Jt(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=Pt();if(i&&i[t])return i[t].apply(i,c(n));throw new Error("No hub defined or "+t+" was not found on the hub, please open a bug report.")}function captureException(t,n){var r;try{throw new Error("Sentry syntheticException")}catch(t){r=t}return Jt("captureException",t,{captureContext:n,originalException:t,syntheticException:r})}function Wt(t){Jt("withScope",t)}var $t=function(){function t(t){this.dsn=t,this.K=new _(t)}return t.prototype.getDsn=function(){return this.K},t.prototype.getBaseApiEndpoint=function(){var t=this.K,n=t.protocol?t.protocol+":":"",r=t.port?":"+t.port:"";return n+"//"+t.host+r+(t.path?"/"+t.path:"")+"/api/"},t.prototype.getStoreEndpoint=function(){return this.Y("store")},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return this.getStoreEndpoint()+"?"+this.Z()},t.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return this.tt()+"?"+this.Z()},t.prototype.getStoreEndpointPath=function(){var t=this.K;return(t.path?"/"+t.path:"")+"/api/"+t.projectId+"/store/"},t.prototype.getRequestHeaders=function(t,n){var r=this.K,i=["Sentry sentry_version=7"];return i.push("sentry_client="+t+"/"+n),i.push("sentry_key="+r.user),r.pass&&i.push("sentry_secret="+r.pass),{"Content-Type":"application/json","X-Sentry-Auth":i.join(", ")}},t.prototype.getReportDialogEndpoint=function(t){void 0===t&&(t={});var n=this.K,r=this.getBaseApiEndpoint()+"embed/error-page/",i=[];for(var e in i.push("dsn="+n.toString()),t)if("user"===e){if(!t.user)continue;t.user.name&&i.push("name="+encodeURIComponent(t.user.name)),t.user.email&&i.push("email="+encodeURIComponent(t.user.email))}else i.push(encodeURIComponent(e)+"="+encodeURIComponent(t[e]));return i.length?r+"?"+i.join("&"):r},t.prototype.tt=function(){return this.Y("envelope")},t.prototype.Y=function(t){return""+this.getBaseApiEndpoint()+this.K.projectId+"/"+t+"/"},t.prototype.Z=function(){var t,n={sentry_key:this.K.user,sentry_version:"7"};return t=n,Object.keys(t).map(function(n){return encodeURIComponent(n)+"="+encodeURIComponent(t[n])}).join("&")},t}(),zt=[];function Vt(t){var n={};return function(t){var n=t.defaultIntegrations&&c(t.defaultIntegrations)||[],r=t.integrations,i=[];if(Array.isArray(r)){var e=r.map(function(t){return t.name}),o=[];n.forEach(function(t){-1===e.indexOf(t.name)&&-1===o.indexOf(t.name)&&(i.push(t),o.push(t.name))}),r.forEach(function(t){-1===o.indexOf(t.name)&&(i.push(t),o.push(t.name))})}else"function"==typeof r?(i=r(n),i=Array.isArray(i)?i:[i]):i=c(n);var u=i.map(function(t){return t.name});return-1!==u.indexOf("Debug")&&i.push.apply(i,c(i.splice(u.indexOf("Debug"),1))),i}(t).forEach(function(t){n[t.name]=t,function(t){-1===zt.indexOf(t.name)&&(t.setupOnce(qt,Pt),zt.push(t.name),it.log("Integration installed: "+t.name))}(t)}),n}var Kt,Yt=function(){function t(t,n){this.nt={},this.rt=!1,this.it=new t(n),this.et=n,n.dsn&&(this.ot=new _(n.dsn))}return t.prototype.captureException=function(t,n,r){var i=this,e=n&&n.event_id;return this.rt=!0,this.ut().eventFromException(t,n).then(function(t){e=i.captureEvent(t,n,r)}),e},t.prototype.captureMessage=function(t,n,r,i){var e=this,o=r&&r.event_id;return this.rt=!0,(l(t)?this.ut().eventFromMessage(""+t,n,r):this.ut().eventFromException(t,r)).then(function(t){o=e.captureEvent(t,r,i)}),o},t.prototype.captureEvent=function(t,n,r){var i=this,e=n&&n.event_id;return this.rt=!0,this.at(t,n,r).then(function(t){e=t&&t.event_id,i.rt=!1}).then(null,function(t){it.error(t),i.rt=!1}),e},t.prototype.getDsn=function(){return this.ot},t.prototype.getOptions=function(){return this.et},t.prototype.flush=function(t){var n=this;return this.st(t).then(function(r){return clearInterval(r.interval),n.ut().getTransport().close(t).then(function(t){return r.ready&&t})})},t.prototype.close=function(t){var n=this;return this.flush(t).then(function(t){return n.getOptions().enabled=!1,t})},t.prototype.setupIntegrations=function(){this.ct()&&(this.nt=Vt(this.et))},t.prototype.getIntegration=function(t){try{return this.nt[t.id]||null}catch(n){return it.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t.prototype.st=function(t){var n=this;return new _t(function(r){var i=0,e=0;clearInterval(e),e=setInterval(function(){n.rt?(i+=1,t&&i>=t&&r({interval:e,ready:!1})):r({interval:e,ready:!0})},1)})},t.prototype.ut=function(){return this.it},t.prototype.ct=function(){return!1!==this.getOptions().enabled&&void 0!==this.ot},t.prototype.ft=function(t,n,r){var i=this,e=this.getOptions().normalizeDepth,o=void 0===e?3:e,a=u(u({},t),{event_id:t.event_id||(r&&r.event_id?r.event_id:W()),timestamp:t.timestamp||It()});this.ht(a),this.vt(a);var s=n;r&&r.captureContext&&(s=Ct.clone(s).update(r.captureContext));var c=_t.resolve(a);return s&&(c=s.applyToEvent(a,r)),c.then(function(t){return"number"==typeof o&&o>0?i.dt(t,o):t})},t.prototype.dt=function(t,n){if(!t)return null;var r=u(u(u(u(u({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(function(t){return u(u({},t),t.data&&{data:U(t.data,n)})})}),t.user&&{user:U(t.user,n)}),t.contexts&&{contexts:U(t.contexts,n)}),t.extra&&{extra:U(t.extra,n)});return t.contexts&&t.contexts.trace&&(r.contexts.trace=t.contexts.trace),r},t.prototype.ht=function(t){var n=this.getOptions(),r=n.environment,i=n.release,e=n.dist,o=n.maxValueLength,u=void 0===o?250:o;void 0===t.environment&&void 0!==r&&(t.environment=r),void 0===t.release&&void 0!==i&&(t.release=i),void 0===t.dist&&void 0!==e&&(t.dist=e),t.message&&(t.message=D(t.message,u));var a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=D(a.value,u));var s=t.request;s&&s.url&&(s.url=D(s.url,u))},t.prototype.vt=function(t){var n=t.sdk,r=Object.keys(this.nt);n&&r.length>0&&(n.integrations=r)},t.prototype.lt=function(t){this.ut().sendEvent(t)},t.prototype.at=function(t,n,r){var i=this,e=this.getOptions(),o=e.beforeSend,u=e.sampleRate;if(!this.ct())return _t.reject("SDK not enabled, will not send event.");var a="transaction"===t.type;return!a&&"number"==typeof u&&Math.random()>u?_t.reject("This event has been sampled, will not send event."):new _t(function(e,u){i.ft(t,r,n).then(function(t){if(null!==t){var r=t;if(n&&n.data&&!0===n.data.__sentry__||!o||a)return i.lt(r),void e(r);var s=o(t,n);if(void 0===s)it.error("`beforeSend` method has to return `null` or a valid event.");else if(g(s))i.pt(s,e,u);else{if(null===(r=s))return it.log("`beforeSend` returned `null`, will not send event."),void e(null);i.lt(r),e(r)}}else u("An event processor returned null, will not send event.")}).then(null,function(t){i.captureException(t,{data:{__sentry__:!0},originalException:t}),u("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)})})},t.prototype.pt=function(t,n,r){var i=this;t.then(function(t){null!==t?(i.lt(t),n(t)):r("`beforeSend` returned `null`, will not send event.")}).then(null,function(t){r("beforeSend rejected with "+t)})},t}(),Qt=function(){function n(){}return n.prototype.sendEvent=function(n){return _t.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:t.Status.Skipped})},n.prototype.close=function(t){return _t.resolve(!0)},n}(),Zt=function(){function t(t){this.et=t,this.et.dsn||it.warn("No DSN provided, backend will not do anything."),this.yt=this.gt()}return t.prototype.eventFromException=function(t,n){throw new k("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,n,r){throw new k("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){this.yt.sendEvent(t).then(null,function(t){it.error("Error while sending event: "+t)})},t.prototype.getTransport=function(){return this.yt},t.prototype.gt=function(){return new Qt},t}();function tn(t,n){var r="transaction"===t.type,i={body:JSON.stringify(t),url:r?n.getEnvelopeEndpointWithUrlEncodedAuth():n.getStoreEndpointWithUrlEncodedAuth()};if(r){var e=JSON.stringify({event_id:t.event_id,sent_at:(new Date).toISOString()})+"\n"+JSON.stringify({type:t.type})+"\n"+i.body;i.body=e}return i}var nn=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){Kt=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=this.__sentry_original__||this;return Kt.apply(r,t)}},t.id="FunctionToString",t}(),rn=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],en=function(){function t(n){void 0===n&&(n={}),this.et=n,this.name=t.id}return t.prototype.setupOnce=function(){qt(function(n){var r=Pt();if(!r)return n;var i=r.getIntegration(t);if(i){var e=r.getClient(),o=e?e.getOptions():{},u=i.bt(o);if(i.wt(n,u))return null}return n})},t.prototype.wt=function(t,n){return this.Tt(t,n)?(it.warn("Event dropped due to being internal Sentry Error.\nEvent: "+z(t)),!0):this.Et(t,n)?(it.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+z(t)),!0):this.kt(t,n)?(it.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+z(t)+".\nUrl: "+this.xt(t)),!0):!this._t(t,n)&&(it.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+z(t)+".\nUrl: "+this.xt(t)),!0)},t.prototype.Tt=function(t,n){if(!n.ignoreInternal)return!1;try{return t&&t.exception&&t.exception.values&&t.exception.values[0]&&"SentryError"===t.exception.values[0].type||!1}catch(t){return!1}},t.prototype.Et=function(t,n){return!(!n.ignoreErrors||!n.ignoreErrors.length)&&this.jt(t).some(function(t){return n.ignoreErrors.some(function(n){return R(t,n)})})},t.prototype.kt=function(t,n){if(!n.denyUrls||!n.denyUrls.length)return!1;var r=this.xt(t);return!!r&&n.denyUrls.some(function(t){return R(r,t)})},t.prototype._t=function(t,n){if(!n.allowUrls||!n.allowUrls.length)return!0;var r=this.xt(t);return!r||n.allowUrls.some(function(t){return R(r,t)})},t.prototype.bt=function(t){return void 0===t&&(t={}),{allowUrls:c(this.et.whitelistUrls||[],this.et.allowUrls||[],t.whitelistUrls||[],t.allowUrls||[]),denyUrls:c(this.et.blacklistUrls||[],this.et.denyUrls||[],t.blacklistUrls||[],t.denyUrls||[]),ignoreErrors:c(this.et.ignoreErrors||[],t.ignoreErrors||[],rn),ignoreInternal:void 0===this.et.ignoreInternal||this.et.ignoreInternal}},t.prototype.jt=function(t){if(t.message)return[t.message];if(t.exception)try{var n=t.exception.values&&t.exception.values[0]||{},r=n.type,i=void 0===r?"":r,e=n.value,o=void 0===e?"":e;return[""+o,i+": "+o]}catch(n){return it.error("Cannot extract message for event "+z(t)),[]}return[]},t.prototype.xt=function(t){try{if(t.stacktrace){var n=t.stacktrace.frames;return n&&n[n.length-1].filename||null}if(t.exception){var r=t.exception.values&&t.exception.values[0].stacktrace&&t.exception.values[0].stacktrace.frames;return r&&r[r.length-1].filename||null}return null}catch(n){return it.error("Cannot extract url for event "+z(t)),null}},t.id="InboundFilters",t}(),on=Object.freeze({__proto__:null,FunctionToString:nn,InboundFilters:en}),un="?",an=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,sn=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,cn=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,fn=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,hn=/\((\S*)(?::(\d+))(?::(\d+))\)/,vn=/Minified React error #\d+;/i;function dn(t){var n=null,r=0;t&&("number"==typeof t.framesToPop?r=t.framesToPop:vn.test(t.message)&&(r=1));try{if(n=function(t){if(!t||!t.stacktrace)return null;for(var n,r=t.stacktrace,i=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,e=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\((.*)\))? in (.*):\s*$/i,o=r.split("\n"),u=[],a=0;a<o.length;a+=2){var s=null;(n=i.exec(o[a]))?s={url:n[2],func:n[3],args:[],line:+n[1],column:null}:(n=e.exec(o[a]))&&(s={url:n[6],func:n[3]||n[4],args:n[5]?n[5].split(","):[],line:+n[1],column:+n[2]}),s&&(!s.func&&s.line&&(s.func=un),u.push(s))}if(!u.length)return null;return{message:pn(t),name:t.name,stack:u}}(t))return ln(n,r)}catch(t){}try{if(n=function(t){if(!t||!t.stack)return null;for(var n,r,i,e=[],o=t.stack.split("\n"),u=0;u<o.length;++u){if(r=an.exec(o[u])){var a=r[2]&&0===r[2].indexOf("native");r[2]&&0===r[2].indexOf("eval")&&(n=hn.exec(r[2]))&&(r[2]=n[1],r[3]=n[2],r[4]=n[3]),i={url:r[2]&&0===r[2].indexOf("address at ")?r[2].substr("address at ".length):r[2],func:r[1]||un,args:a?[r[2]]:[],line:r[3]?+r[3]:null,column:r[4]?+r[4]:null}}else if(r=cn.exec(o[u]))i={url:r[2],func:r[1]||un,args:[],line:+r[3],column:r[4]?+r[4]:null};else{if(!(r=sn.exec(o[u])))continue;r[3]&&r[3].indexOf(" > eval")>-1&&(n=fn.exec(r[3]))?(r[1]=r[1]||"eval",r[3]=n[1],r[4]=n[2],r[5]=""):0!==u||r[5]||void 0===t.columnNumber||(e[0].column=t.columnNumber+1),i={url:r[3],func:r[1]||un,args:r[2]?r[2].split(","):[],line:r[4]?+r[4]:null,column:r[5]?+r[5]:null}}!i.func&&i.line&&(i.func=un),e.push(i)}if(!e.length)return null;return{message:pn(t),name:t.name,stack:e}}(t))return ln(n,r)}catch(t){}return{message:pn(t),name:t&&t.name,stack:[],failed:!0}}function ln(t,n){try{return u(u({},t),{stack:t.stack.slice(n)})}catch(n){return t}}function pn(t){var n=t&&t.message;return n?n.error&&"string"==typeof n.error.message?n.error.message:n:"No error message"}var mn=50;function yn(t){var n=bn(t.stack),r={type:t.name,value:t.message};return n&&n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function gn(t){return{exception:{values:[yn(t)]}}}function bn(t){if(!t||!t.length)return[];var n=t,r=n[0].func||"",i=n[n.length-1].func||"";return-1===r.indexOf("captureMessage")&&-1===r.indexOf("captureException")||(n=n.slice(1)),-1!==i.indexOf("sentryWrapped")&&(n=n.slice(0,-1)),n.slice(0,mn).map(function(t){return{colno:null===t.column?void 0:t.column,filename:t.url||n[0].url,function:t.func||"?",in_app:!0,lineno:null===t.line?void 0:t.line}}).reverse()}function wn(t,n,r){var i,e;if(void 0===r&&(r={}),h(t)&&t.error)return i=gn(dn(t=t.error));if(v(t)||(e=t,"[object DOMException]"===Object.prototype.toString.call(e))){var o=t,u=o.name||(v(o)?"DOMError":"DOMException"),a=o.message?u+": "+o.message:u;return K(i=Tn(a,n,r),a),i}return f(t)?i=gn(dn(t)):p(t)||m(t)?(Y(i=function(t,n,r){var i={exception:{values:[{type:m(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:"Non-Error "+(r?"promise rejection":"exception")+" captured with keys: "+H(t)}]},extra:{__serialized__:q(t)}};if(n){var e=bn(dn(n).stack);i.stacktrace={frames:e}}return i}(t,n,r.rejection),{synthetic:!0}),i):(K(i=Tn(t,n,r),""+t,void 0),Y(i,{synthetic:!0}),i)}function Tn(t,n,r){void 0===r&&(r={});var i={message:t};if(r.attachStacktrace&&n){var e=bn(dn(n).stack);i.stacktrace={frames:e}}return i}var En=function(){function t(t){this.options=t,this.O=new jt(30),this.St=new $t(this.options.dsn),this.url=this.St.getStoreEndpointWithUrlEncodedAuth()}return t.prototype.sendEvent=function(t){throw new k("Transport Class has to implement `sendEvent` method")},t.prototype.close=function(t){return this.O.drain(t)},t}(),kn=J(),xn=function(n){function i(){var t=null!==n&&n.apply(this,arguments)||this;return t.Ot=new Date(Date.now()),t}return r(i,n),i.prototype.sendEvent=function(n){var r=this;if(new Date(Date.now())<this.Ot)return Promise.reject({event:n,reason:"Transport locked till "+this.Ot+" due to too many requests.",status:429});var i=tn(n,this.St),e={body:i.body,method:"POST",referrerPolicy:ut()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(e,this.options.fetchParameters),void 0!==this.options.headers&&(e.headers=this.options.headers),this.O.add(new _t(function(n,o){kn.fetch(i.url,e).then(function(i){var e=t.Status.fromHttpCode(i.status);if(e!==t.Status.Success){if(e===t.Status.RateLimit){var u=Date.now(),a=i.headers.get("Retry-After");r.Ot=new Date(u+Z(u,a)),it.warn("Too many requests, backing off till: "+r.Ot)}o(i)}else n({status:e})}).catch(o)}))},i}(En),_n=function(n){function i(){var t=null!==n&&n.apply(this,arguments)||this;return t.Ot=new Date(Date.now()),t}return r(i,n),i.prototype.sendEvent=function(n){var r=this;if(new Date(Date.now())<this.Ot)return Promise.reject({event:n,reason:"Transport locked till "+this.Ot+" due to too many requests.",status:429});var i=tn(n,this.St);return this.O.add(new _t(function(n,e){var o=new XMLHttpRequest;for(var u in o.onreadystatechange=function(){if(4===o.readyState){var i=t.Status.fromHttpCode(o.status);if(i!==t.Status.Success){if(i===t.Status.RateLimit){var u=Date.now(),a=o.getResponseHeader("Retry-After");r.Ot=new Date(u+Z(u,a)),it.warn("Too many requests, backing off till: "+r.Ot)}e(o)}else n({status:i})}},o.open("POST",i.url),r.options.headers)r.options.headers.hasOwnProperty(u)&&o.setRequestHeader(u,r.options.headers[u]);o.send(i.body)}))},i}(En),jn=Object.freeze({__proto__:null,BaseTransport:En,FetchTransport:xn,XHRTransport:_n}),Sn=function(n){function i(){return null!==n&&n.apply(this,arguments)||this}return r(i,n),i.prototype.eventFromException=function(n,r){return function(n,r,i){var e=wn(r,i&&i.syntheticException||void 0,{attachStacktrace:n.attachStacktrace});return Y(e,{handled:!0,type:"generic"}),e.level=t.Severity.Error,i&&i.event_id&&(e.event_id=i.event_id),_t.resolve(e)}(this.et,n,r)},i.prototype.eventFromMessage=function(n,r,i){return void 0===r&&(r=t.Severity.Info),function(n,r,i,e){void 0===i&&(i=t.Severity.Info);var o=Tn(r,e&&e.syntheticException||void 0,{attachStacktrace:n.attachStacktrace});return o.level=i,e&&e.event_id&&(o.event_id=e.event_id),_t.resolve(o)}(this.et,n,r,i)},i.prototype.gt=function(){if(!this.et.dsn)return n.prototype.gt.call(this);var t=u(u({},this.et.transportOptions),{dsn:this.et.dsn});return this.et.transport?new this.et.transport(t):et()?new xn(t):new _n(t)},i}(Zt),On=0;function Dn(){return On>0}function In(t,n,r){if(void 0===n&&(n={}),"function"!=typeof t)return t;try{if(t.__sentry__)return t;if(t.__sentry_wrapped__)return t.__sentry_wrapped__}catch(n){return t}var sentryWrapped=function(){var i=Array.prototype.slice.call(arguments);try{r&&"function"==typeof r&&r.apply(this,arguments);var e=i.map(function(t){return In(t,n)});return t.handleEvent?t.handleEvent.apply(this,e):t.apply(this,e)}catch(t){throw On+=1,setTimeout(function(){On-=1}),Wt(function(r){r.addEventProcessor(function(t){var r=u({},t);return n.mechanism&&(K(r,void 0,void 0),Y(r,n.mechanism)),r.extra=u(u({},r.extra),{arguments:i}),r}),captureException(t)}),t}};try{for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(sentryWrapped[i]=t[i])}catch(t){}t.prototype=t.prototype||{},sentryWrapped.prototype=t.prototype,Object.defineProperty(t,"__sentry_wrapped__",{enumerable:!1,value:sentryWrapped}),Object.defineProperties(sentryWrapped,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:t}});try{Object.getOwnPropertyDescriptor(sentryWrapped,"name").configurable&&Object.defineProperty(sentryWrapped,"name",{get:function(){return t.name}})}catch(t){}return sentryWrapped}function Rn(t){if(void 0===t&&(t={}),t.eventId)if(t.dsn){var n=document.createElement("script");n.async=!0,n.src=new $t(t.dsn).getReportDialogEndpoint(t),t.onLoad&&(n.onload=t.onLoad),(document.head||document.body).appendChild(n)}else it.error("Missing dsn option in showReportDialog call");else it.error("Missing eventId option in showReportDialog call")}var Nn=function(){function n(t){this.name=n.id,this.Dt=!1,this.It=!1,this.et=u({onerror:!0,onunhandledrejection:!0},t)}return n.prototype.setupOnce=function(){Error.stackTraceLimit=50,this.et.onerror&&(it.log("Global Handler attached: onerror"),this.Rt()),this.et.onunhandledrejection&&(it.log("Global Handler attached: onunhandledrejection"),this.Nt())},n.prototype.Rt=function(){var t=this;this.Dt||(vt({callback:function(r){var i=r.error,e=Pt(),o=e.getIntegration(n),u=i&&!0===i.__sentry_own_request__;if(o&&!Dn()&&!u){var a=e.getClient(),s=l(i)?t.Ct(r.msg,r.url,r.line,r.column):t.At(wn(i,void 0,{attachStacktrace:a&&a.getOptions().attachStacktrace,rejection:!1}),r.url,r.line,r.column);Y(s,{handled:!1,type:"onerror"}),e.captureEvent(s,{originalException:i})}},type:"error"}),this.Dt=!0)},n.prototype.Nt=function(){var r=this;this.It||(vt({callback:function(i){var e=i;try{"reason"in i?e=i.reason:"detail"in i&&"reason"in i.detail&&(e=i.detail.reason)}catch(t){}var o=Pt(),u=o.getIntegration(n),a=e&&!0===e.__sentry_own_request__;if(!u||Dn()||a)return!0;var s=o.getClient(),c=l(e)?r.qt(e):wn(e,void 0,{attachStacktrace:s&&s.getOptions().attachStacktrace,rejection:!0});c.level=t.Severity.Error,Y(c,{handled:!1,type:"onunhandledrejection"}),o.captureEvent(c,{originalException:e})},type:"unhandledrejection"}),this.It=!0)},n.prototype.Ct=function(t,n,r,i){var e,o=h(t)?t.message:t;if(d(o)){var u=o.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);u&&(e=u[1],o=u[2])}var a={exception:{values:[{type:e||"Error",value:o}]}};return this.At(a,n,r,i)},n.prototype.qt=function(t){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+t}]}}},n.prototype.At=function(t,n,r,i){t.exception=t.exception||{},t.exception.values=t.exception.values||[],t.exception.values[0]=t.exception.values[0]||{},t.exception.values[0].stacktrace=t.exception.values[0].stacktrace||{},t.exception.values[0].stacktrace.frames=t.exception.values[0].stacktrace.frames||[];var e=isNaN(parseInt(i,10))?void 0:i,o=isNaN(parseInt(r,10))?void 0:r,u=d(n)&&n.length>0?n:function(){try{return document.location.href}catch(t){return""}}();return 0===t.exception.values[0].stacktrace.frames.length&&t.exception.values[0].stacktrace.frames.push({colno:e,filename:u,function:"?",in_app:!0,lineno:o}),t},n.id="GlobalHandlers",n}(),Cn=["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"],An=function(){function t(n){this.name=t.id,this.et=u({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},n)}return t.prototype.setupOnce=function(){var t=J();(this.et.setTimeout&&N(t,"setTimeout",this.Mt.bind(this)),this.et.setInterval&&N(t,"setInterval",this.Mt.bind(this)),this.et.requestAnimationFrame&&N(t,"requestAnimationFrame",this.Lt.bind(this)),this.et.XMLHttpRequest&&"XMLHttpRequest"in t&&N(XMLHttpRequest.prototype,"send",this.Ut.bind(this)),this.et.eventTarget)&&(Array.isArray(this.et.eventTarget)?this.et.eventTarget:Cn).forEach(this.Ht.bind(this))},t.prototype.Mt=function(t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=n[0];return n[0]=In(i,{mechanism:{data:{function:O(t)},handled:!0,type:"instrument"}}),t.apply(this,n)}},t.prototype.Lt=function(t){return function(n){return t.call(this,In(n,{mechanism:{data:{function:"requestAnimationFrame",handler:O(t)},handled:!0,type:"instrument"}}))}},t.prototype.Ht=function(t){var n=J(),r=n[t]&&n[t].prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&(N(r,"addEventListener",function(n){return function(r,i,e){try{"function"==typeof i.handleEvent&&(i.handleEvent=In(i.handleEvent.bind(i),{mechanism:{data:{function:"handleEvent",handler:O(i),target:t},handled:!0,type:"instrument"}}))}catch(t){}return n.call(this,r,In(i,{mechanism:{data:{function:"addEventListener",handler:O(i),target:t},handled:!0,type:"instrument"}}),e)}}),N(r,"removeEventListener",function(t){return function(n,r,i){try{t.call(this,n,r.__sentry_wrapped__,i)}catch(t){}return t.call(this,n,r,i)}}))},t.prototype.Ut=function(t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(function(t){t in i&&"function"==typeof i[t]&&N(i,t,function(n){var r={mechanism:{data:{function:t,handler:O(n)},handled:!0,type:"instrument"}};return n.__sentry_original__&&(r.mechanism.data.handler=O(n.__sentry_original__)),In(n,r)})}),t.apply(this,n)}},t.id="TryCatch",t}(),qn=function(){function n(t){this.name=n.id,this.et=u({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t)}return n.prototype.addSentryBreadcrumb=function(t){this.et.sentry&&Pt().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:z(t)},{event:t})},n.prototype.setupOnce=function(){var t=this;this.et.console&&vt({callback:function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];t.Pt.apply(t,c(n))},type:"console"}),this.et.dom&&vt({callback:function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];t.Ft.apply(t,c(n))},type:"dom"}),this.et.xhr&&vt({callback:function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];t.Bt.apply(t,c(n))},type:"xhr"}),this.et.fetch&&vt({callback:function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];t.Gt.apply(t,c(n))},type:"fetch"}),this.et.history&&vt({callback:function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];t.Xt.apply(t,c(n))},type:"history"})},n.prototype.Pt=function(n){var r={category:"console",data:{arguments:n.args,logger:"console"},level:t.Severity.fromString(n.level),message:I(n.args," ")};if("assert"===n.level){if(!1!==n.args[0])return;r.message="Assertion failed: "+(I(n.args.slice(1)," ")||"console.assert"),r.data.arguments=n.args.slice(1)}Pt().addBreadcrumb(r,{input:n.args,level:n.level})},n.prototype.Ft=function(t){var n;try{n=t.event.target?w(t.event.target):w(t.event)}catch(t){n="<unknown>"}0!==n.length&&Pt().addBreadcrumb({category:"ui."+t.name,message:n},{event:t.event,name:t.name})},n.prototype.Bt=function(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;var n=t.xhr.__sentry_xhr__||{},r=n.method,i=n.url,e=n.status_code,o=n.body;Pt().addBreadcrumb({category:"xhr",data:{method:r,url:i,status_code:e},type:"http"},{xhr:t.xhr,input:o})}else;},n.prototype.Gt=function(n){n.endTimestamp&&(n.fetchData.url.match(/sentry_key/)&&"POST"===n.fetchData.method||(n.error?Pt().addBreadcrumb({category:"fetch",data:n.fetchData,level:t.Severity.Error,type:"http"},{data:n.error,input:n.args}):Pt().addBreadcrumb({category:"fetch",data:u(u({},n.fetchData),{status_code:n.response.status}),type:"http"},{input:n.args,response:n.response})))},n.prototype.Xt=function(t){var n=J(),r=t.from,i=t.to,e=$(n.location.href),o=$(r),u=$(i);o.path||(o=e),e.protocol===u.protocol&&e.host===u.host&&(i=u.relative),e.protocol===o.protocol&&e.host===o.host&&(r=o.relative),Pt().addBreadcrumb({category:"navigation",data:{from:r,to:i}})},n.id="Breadcrumbs",n}(),Mn="cause",Ln=5,Un=function(){function t(n){void 0===n&&(n={}),this.name=t.id,this.Jt=n.key||Mn,this.S=n.limit||Ln}return t.prototype.setupOnce=function(){qt(function(n,r){var i=Pt().getIntegration(t);return i?i.Wt(n,r):n})},t.prototype.Wt=function(t,n){if(!(t.exception&&t.exception.values&&n&&b(n.originalException,Error)))return t;var r=this.$t(n.originalException,this.Jt);return t.exception.values=c(r,t.exception.values),t},t.prototype.$t=function(t,n,r){if(void 0===r&&(r=[]),!b(t[n],Error)||r.length+1>=this.S)return r;var i=yn(dn(t[n]));return this.$t(t[n],n,c([i],r))},t.id="LinkedErrors",t}(),Hn=J(),Pn=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){qt(function(n){var r,i,e;if(Pt().getIntegration(t)){if(!Hn.navigator&&!Hn.location&&!Hn.document)return n;var o=(null===(r=n.request)||void 0===r?void 0:r.url)||(null===(i=Hn.location)||void 0===i?void 0:i.href),a=(Hn.document||{}).referrer,s=(Hn.navigator||{}).userAgent,c=u(u(u({},null===(e=n.request)||void 0===e?void 0:e.headers),a&&{Referer:a}),s&&{"User-Agent":s}),f=u(u({},o&&{url:o}),{headers:c});return u(u({},n),{request:f})}return n})},t.id="UserAgent",t}(),Fn=Object.freeze({__proto__:null,GlobalHandlers:Nn,TryCatch:An,Breadcrumbs:qn,LinkedErrors:Un,UserAgent:Pn}),Bn="sentry.javascript.browser",Gn=function(t){function n(n){return void 0===n&&(n={}),t.call(this,Sn,n)||this}return r(n,t),n.prototype.showReportDialog=function(t){void 0===t&&(t={}),J().document&&(this.ct()?Rn(u(u({},t),{dsn:t.dsn||this.getDsn()})):it.error("Trying to call showReportDialog with Sentry Client disabled"))},n.prototype.ft=function(n,r,i){return n.platform=n.platform||"javascript",n.sdk=u(u({},n.sdk),{name:Bn,packages:c(n.sdk&&n.sdk.packages||[],[{name:"npm:@sentry/browser",version:"5.25.0"}]),version:"5.25.0"}),t.prototype.ft.call(this,n,r,i)},n.prototype.lt=function(n){var r=this.getIntegration(qn);r&&r.addSentryBreadcrumb(n),t.prototype.lt.call(this,n)},n}(Yt),Xn=[new en,new nn,new An,new qn,new Nn,new Un,new Pn];var Jn={},Wn=J();Wn.Sentry&&Wn.Sentry.Integrations&&(Jn=Wn.Sentry.Integrations);var $n,zn=u(u(u({},Jn),on),Fn);!function(t){t.Ok="ok",t.DeadlineExceeded="deadline_exceeded",t.Unauthenticated="unauthenticated",t.PermissionDenied="permission_denied",t.NotFound="not_found",t.ResourceExhausted="resource_exhausted",t.InvalidArgument="invalid_argument",t.Unimplemented="unimplemented",t.Unavailable="unavailable",t.InternalError="internal_error",t.UnknownError="unknown_error",t.Cancelled="cancelled",t.AlreadyExists="already_exists",t.FailedPrecondition="failed_precondition",t.Aborted="aborted",t.OutOfRange="out_of_range",t.DataLoss="data_loss"}($n||($n={})),function(t){t.fromHttpCode=function(n){if(n<400)return t.Ok;if(n>=400&&n<500)switch(n){case 401:return t.Unauthenticated;case 403:return t.PermissionDenied;case 404:return t.NotFound;case 409:return t.AlreadyExists;case 413:return t.FailedPrecondition;case 429:return t.ResourceExhausted;default:return t.InvalidArgument}if(n>=500&&n<600)switch(n){case 501:return t.Unimplemented;case 503:return t.Unavailable;case 504:return t.DeadlineExceeded;default:return t.InternalError}return t.UnknownError}}($n||($n={}));var Vn=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function Kn(t){return"tracesSampleRate"in t||"tracesSampler"in t}function Yn(t){var n,r;return void 0===t&&(t=Pt()),null===(r=null===(n=t)||void 0===n?void 0:n.getScope())||void 0===r?void 0:r.getTransaction()}function Qn(t){return t/1e3}function Zn(){var t=Yn();t&&(it.log("[Tracing] Transaction: "+$n.InternalError+" -> Global error occured"),t.setStatus($n.InternalError))}var tr=function(){function t(t){void 0===t&&(t=1e3),this.spans=[],this.zt=t}return t.prototype.add=function(t){this.spans.length>this.zt?t.spanRecorder=void 0:this.spans.push(t)},t}(),nr=function(){function t(t){if(this.traceId=W(),this.spanId=W().substring(16),this.startTimestamp=Rt(),this.tags={},this.data={},!t)return this;t.traceId&&(this.traceId=t.traceId),t.spanId&&(this.spanId=t.spanId),t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&(this.op=t.op),t.description&&(this.description=t.description),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp)}return t.prototype.child=function(t){return this.startChild(t)},t.prototype.startChild=function(n){var r=new t(u(u({},n),{parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId}));return r.spanRecorder=this.spanRecorder,r.spanRecorder&&r.spanRecorder.add(r),r.transaction=this.transaction,r},t.prototype.setTag=function(t,n){var r;return this.tags=u(u({},this.tags),((r={})[t]=n,r)),this},t.prototype.setData=function(t,n){var r;return this.data=u(u({},this.data),((r={})[t]=n,r)),this},t.prototype.setStatus=function(t){return this.status=t,this},t.prototype.setHttpStatus=function(t){this.setTag("http.status_code",String(t));var n=$n.fromHttpCode(t);return n!==$n.UnknownError&&this.setStatus(n),this},t.prototype.isSuccess=function(){return this.status===$n.Ok},t.prototype.finish=function(t){this.endTimestamp="number"==typeof t?t:Rt()},t.prototype.toTraceparent=function(){var t="";return void 0!==this.sampled&&(t=this.sampled?"-1":"-0"),this.traceId+"-"+this.spanId+t},t.prototype.getTraceContext=function(){return P({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})},t.prototype.toJSON=function(){return P({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})},t}(),rr=function(t){function n(n,r){var i=t.call(this,n)||this;return i.Vt=Pt(),b(r,Lt)&&(i.Vt=r),i.name=n.name?n.name:"",i.Kt=n.trimEnd,i.transaction=i,i}return r(n,t),n.prototype.setName=function(t){this.name=t},n.prototype.initSpanRecorder=function(t){void 0===t&&(t=1e3),this.spanRecorder||(this.spanRecorder=new tr(t)),this.spanRecorder.add(this)},n.prototype.finish=function(n){var r=this;if(void 0===this.endTimestamp){if(this.name||(it.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),t.prototype.finish.call(this,n),!0===this.sampled){var i=this.spanRecorder?this.spanRecorder.spans.filter(function(t){return t!==r&&t.endTimestamp}):[];return this.Kt&&i.length>0&&(this.endTimestamp=i.reduce(function(t,n){return t.endTimestamp&&n.endTimestamp?t.endTimestamp>n.endTimestamp?t:n:t}).endTimestamp),this.Vt.captureEvent({contexts:{trace:this.getTraceContext()},spans:i,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction"})}it.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled.")}},n}(nr),ir=1e3,er=function(t){function n(n,r,i,e){void 0===i&&(i="");var o=t.call(this,e)||this;return o.Yt=n,o.Qt=r,o.transactionSpanId=i,o}return r(n,t),n.prototype.add=function(n){var r=this;n.spanId!==this.transactionSpanId&&(n.finish=function(t){n.endTimestamp="number"==typeof t?t:Rt(),r.Qt(n.spanId)},void 0===n.endTimestamp&&this.Yt(n.spanId)),t.prototype.add.call(this,n)},n}(tr),or=function(t){function n(n,r,i,e){void 0===i&&(i=ir),void 0===e&&(e=!1);var o=t.call(this,n,r)||this;return o.Zt=r,o.tn=i,o.nn=e,o.activities={},o.rn=0,o.in=0,o.en=!1,o.on=[],r&&e&&(ur(r),it.log("Setting idle transaction on scope. Span ID: "+o.spanId),r.configureScope(function(t){return t.setSpan(o)})),o}return r(n,t),n.prototype.finish=function(n){var r,i,e=this;if(void 0===n&&(n=Rt()),this.en=!0,this.activities={},this.spanRecorder){it.log("[Tracing] finishing IdleTransaction",new Date(1e3*n).toISOString(),this.op);try{for(var o=a(this.on),u=o.next();!u.done;u=o.next()){(0,u.value)(this,n)}}catch(t){r={error:t}}finally{try{u&&!u.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}this.spanRecorder.spans=this.spanRecorder.spans.filter(function(t){if(t.spanId===e.spanId)return!0;t.endTimestamp||(t.endTimestamp=n,t.setStatus($n.Cancelled),it.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(t,void 0,2)));var r=t.startTimestamp<n;return r||it.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(t,void 0,2)),r}),this.nn&&ur(this.Zt),it.log("[Tracing] flushing IdleTransaction")}else it.log("[Tracing] No active IdleTransaction");return t.prototype.finish.call(this,n)},n.prototype.registerBeforeFinishCallback=function(t){this.on.push(t)},n.prototype.initSpanRecorder=function(t){var n=this;if(!this.spanRecorder){this.un=setTimeout(function(){n.en||n.finish()},this.tn);this.spanRecorder=new er(function(t){n.en||n.Yt(t)},function(t){n.en||n.Qt(t)},this.spanId,t),it.log("Starting heartbeat"),this.an()}this.spanRecorder.add(this)},n.prototype.Yt=function(t){this.un&&(clearTimeout(this.un),this.un=void 0),it.log("[Tracing] pushActivity: "+t),this.activities[t]=!0,it.log("[Tracing] new activities count",Object.keys(this.activities).length)},n.prototype.Qt=function(t){var n=this;if(this.activities[t]&&(it.log("[Tracing] popActivity "+t),delete this.activities[t],it.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){var r=this.tn,i=Rt()+r/1e3;setTimeout(function(){n.en||n.finish(i)},r)}},n.prototype.sn=function(){if(clearTimeout(this.rn),!this.en){var t=Object.keys(this.activities),n=t.length?t.reduce(function(t,n){return t+n}):"";n===this.cn?this.in+=1:this.in=1,this.cn=n,this.in>=3?(it.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus($n.DeadlineExceeded),this.setTag("heartbeat","failed"),this.finish()):this.an()}},n.prototype.an=function(){var t=this;it.log("pinging Heartbeat -> current counter: "+this.in),this.rn=setTimeout(function(){t.sn()},5e3)},n}(rr);function ur(t){if(t){var n=t.getScope();if(n)n.getTransaction()&&n.setSpan(void 0)}}function ar(){var t=this.getScope();if(t){var n=t.getSpan();if(n)return{"sentry-trace":n.toTraceparent()}}return{}}function sr(t,n,r){var i,e=t.getClient(),o=e&&e.getOptions()||{};if(!e||!Kn(o))return n.sampled=!1,n;if(void 0!==n.sampled)return n;var u,a,s="function"==typeof o.tracesSampler?o.tracesSampler(r):(u=r.parentSampled,a=o.tracesSampleRate,void 0!==u?u:a);return function(t){if(isNaN(t)||"number"!=typeof t&&"boolean"!=typeof t)return it.warn("[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got "+JSON.stringify(t)+" of type "+JSON.stringify(typeof t)+"."),!1;if(t<0||t>1)return it.warn("[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got "+t+"."),!1;return!0}(s)?s?(n.sampled=Math.random()<s,n.sampled?(n.initSpanRecorder(null===(i=o.fn)||void 0===i?void 0:i.maxSpans),it.log("[Tracing] starting "+n.op+" transaction - "+n.name),n):(it.log("[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = "+Number(s)+")"),n)):(it.log("[Tracing] Discarding transaction because "+("function"==typeof o.tracesSampler?"tracesSampler returned 0 or false":"tracesSampleRate is set to 0")),n.sampled=!1,n):(it.warn("[Tracing] Discarding transaction because of invalid sample rate."),n.sampled=!1,n)}function cr(t){var n={transactionContext:t,parentSampled:t.parentSampled};if(F()){var r=Ft();if(r){var i=B(module,"http").IncomingMessage,e=r.members.find(function(t){return b(t,i)});e&&(n.request=function(t,n){if(void 0===n&&(n=G),!F())throw new Error("Can't get node request data outside of a node environment");var r={},i=t.headers||t.header||{},e=t.method,o=t.hostname||t.host||i.host||"<no host>",u="https"===t.protocol||t.secure||(t.socket||{}).encrypted?"https":"http",a=t.originalUrl||t.url,s=u+"://"+o+a;return n.forEach(function(n){switch(n){case"headers":r.headers=i;break;case"method":r.method=e;break;case"url":r.url=s;break;case"cookies":r.cookies=B(module,"cookie").parse(i.cookie||"");break;case"query_string":r.query_string=B(module,"url").parse(a||"",!1).query;break;case"data":if("GET"===e||"HEAD"===e)break;void 0!==t.body&&(r.data=d(t.body)?t.body:JSON.stringify(U(t.body)));break;default:({}).hasOwnProperty.call(t,n)&&(r[n]=t[n])}}),r}(e))}}else{var o=J();"location"in o&&(n.location=u({},o.location))}return n}function fr(t,n){return sr(this,new rr(t,this),u(u({},cr(t)),n))}function hr(){var t;(t=Ut()).__SENTRY__&&(t.__SENTRY__.extensions=t.__SENTRY__.extensions||{},t.__SENTRY__.extensions.startTransaction||(t.__SENTRY__.extensions.startTransaction=fr),t.__SENTRY__.extensions.traceHeaders||(t.__SENTRY__.extensions.traceHeaders=ar)),vt({callback:Zn,type:"error"}),vt({callback:Zn,type:"unhandledrejection"})}var vr=J();var dr=J(),lr=function(){function t(){this.hn={},this.vn=0,this.dn=function(){},dr&&dr.performance&&(dr.performance.mark&&dr.performance.mark("sentry-tracing-init"),this.ln())}return t.prototype.addPerformanceEntries=function(t){if(dr&&dr.performance&&dr.performance.getEntries&&Nt){it.log("[Tracing] Adding & adjusting spans using Performance API"),"pageload"===t.op&&(this.dn(),this.hn&&t.setData("_sentry_web_vitals",{LCP:this.hn}));var n,r,i,e=Qn(Nt);if(dr.document)for(var o=0;o<document.scripts.length;o++)if("true"===document.scripts[o].dataset.entry){n=document.scripts[o].src;break}dr.performance.getEntries().slice(this.vn).forEach(function(o){var u=Qn(o.startTime),a=Qn(o.duration);if(!("navigation"===t.op&&e+u<t.startTimestamp))switch(o.entryType){case"navigation":!function(t,n,r){pr(t,n,"unloadEvent",r),pr(t,n,"domContentLoadedEvent",r),pr(t,n,"loadEvent",r),pr(t,n,"connect",r),pr(t,n,"domainLookup",r),function(t,n,r){mr(t,{description:"request",endTimestamp:r+Qn(n.responseEnd),op:"browser",startTimestamp:r+Qn(n.requestStart)}),mr(t,{description:"response",endTimestamp:r+Qn(n.responseEnd),op:"browser",startTimestamp:r+Qn(n.responseStart)})}(t,n,r)}(t,o,e);break;case"mark":case"paint":case"measure":var s=function(t,n,r,i,e){var o=e+r,u=o+i;return mr(t,{description:n.name,endTimestamp:u,op:n.entryType,startTimestamp:o}),o}(t,o,u,a,e);void 0===i&&"sentry-tracing-init"===o.name&&(i=s);break;case"resource":var c=o.name.replace(window.location.origin,""),f=function(t,n,r,i,e,o){if("xmlhttprequest"===n.initiatorType||"fetch"===n.initiatorType)return;var u={};"transferSize"in n&&(u["Transfer Size"]=n.transferSize);"encodedBodySize"in n&&(u["Encoded Body Size"]=n.encodedBodySize);"decodedBodySize"in n&&(u["Decoded Body Size"]=n.decodedBodySize);var a=o+i,s=a+e;return mr(t,{description:r,endTimestamp:s,op:n.initiatorType?"resource."+n.initiatorType:"resource",startTimestamp:a,data:u}),s}(t,o,c,u,a,e);void 0===r&&(n||"").indexOf(c)>-1&&(r=f)}}),void 0!==r&&void 0!==i&&mr(t,{description:"evaluation",endTimestamp:i,op:"script",startTimestamp:r}),this.vn=Math.max(performance.getEntries().length-1,0)}},t.prototype.ln=function(){var t=this;try{var n="hidden"===document.visibilityState?0:1/0;document.addEventListener("visibilitychange",function(t){n=Math.min(n,t.timeStamp)},{once:!0});var r=function(r){r.startTime<n&&(t.hn=u(u(u({},r.id&&{elementId:r.id}),r.size&&{elementSize:r.size}),{value:r.startTime}))},i=new PerformanceObserver(function(t){t.getEntries().forEach(r)});i.observe({buffered:!0,type:"largest-contentful-paint"}),this.dn=function(){i.takeRecords&&i.takeRecords().forEach(r)}}catch(t){}},t}();function pr(t,n,r,i){var e=n[r+"End"],o=n[r+"Start"];o&&e&&mr(t,{description:r,endTimestamp:i+Qn(e),op:"browser",startTimestamp:i+Qn(o)})}function mr(t,n){var r=n.startTimestamp,i=function(t,n){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&n.indexOf(i)<0&&(r[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var e=0;for(i=Object.getOwnPropertySymbols(t);e<i.length;e++)n.indexOf(i[e])<0&&(r[i[e]]=t[i[e]])}return r}(n,["startTimestamp"]);return r&&t.startTimestamp>r&&(t.startTimestamp=r),t.startChild(u({startTimestamp:r},i))}var yr={traceFetch:!0,traceXHR:!0,tracingOrigins:["localhost",/^\//]};function gr(t){var n=u(u({},yr),t),r=n.traceFetch,i=n.traceXHR,e=n.tracingOrigins,o=n.shouldCreateSpanForRequest,a={},s=function(t){if(a[t])return a[t];var n=e;return a[t]=n.some(function(n){return R(t,n)})&&!R(t,"sentry_key"),a[t]},f=s;"function"==typeof o&&(f=function(t){return s(t)&&o(t)});var h={};r&&vt({callback:function(t){!function(t,n,r){var i,e=null===(i=Pt().getClient())||void 0===i?void 0:i.getOptions();if(!(e&&Kn(e)&&t.fetchData&&n(t.fetchData.url)))return;if(t.endTimestamp&&t.fetchData.__span){var o=r[t.fetchData.__span];if(o){var a=t.response;a&&o.setHttpStatus(a.status),o.finish(),delete r[t.fetchData.__span]}return}var s=Yn();if(s){var o=s.startChild({data:u(u({},t.fetchData),{type:"fetch"}),description:t.fetchData.method+" "+t.fetchData.url,op:"http"});t.fetchData.__span=o.spanId,r[o.spanId]=o;var f=t.args[0]=t.args[0],h=t.args[1]=t.args[1]||{},v=h.headers;b(f,Request)&&(v=f.headers),v?"function"==typeof v.append?v.append("sentry-trace",o.toTraceparent()):v=Array.isArray(v)?c(v,[["sentry-trace",o.toTraceparent()]]):u(u({},v),{"sentry-trace":o.toTraceparent()}):v={"sentry-trace":o.toTraceparent()},h.headers=v}}(t,f,h)},type:"fetch"}),i&&vt({callback:function(t){!function(t,n,r){var i,e=null===(i=Pt().getClient())||void 0===i?void 0:i.getOptions();if(!e||!Kn(e)||!(t.xhr&&t.xhr.__sentry_xhr__&&n(t.xhr.__sentry_xhr__.url))||t.xhr.__sentry_own_request__)return;var o=t.xhr.__sentry_xhr__;if(t.endTimestamp&&t.xhr.__sentry_xhr_span_id__){var a=r[t.xhr.__sentry_xhr_span_id__];return void(a&&(a.setHttpStatus(o.status_code),a.finish(),delete r[t.xhr.__sentry_xhr_span_id__]))}var s=Yn();if(s){var a=s.startChild({data:u(u({},o.data),{type:"xhr",method:o.method,url:o.url}),description:o.method+" "+o.url,op:"http"});if(t.xhr.__sentry_xhr_span_id__=a.spanId,r[t.xhr.__sentry_xhr_span_id__]=a,t.xhr.setRequestHeader)try{t.xhr.setRequestHeader("sentry-trace",a.toTraceparent())}catch(t){}}}(t,f,h)},type:"xhr"})}var br=J();var wr=u({idleTimeout:ir,markBackgroundTransactions:!0,maxTransactionDuration:600,routingInstrumentation:function(t,n,r){if(void 0===n&&(n=!0),void 0===r&&(r=!0),br&&br.location){var i,e=br.location.href;n&&(i=t({name:br.location.pathname,op:"pageload"})),r&&vt({callback:function(n){var r=n.to,o=n.from;void 0===o&&e&&-1!==e.indexOf(r)?e=void 0:o!==r&&(e=void 0,i&&(it.log("[Tracing] Finishing current transaction with op: "+i.op),i.finish()),i=t({name:br.location.pathname,op:"navigation"}))},type:"history"})}else it.warn("Could not initialize routing instrumentation due to invalid location")},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0},yr),Tr=function(){function t(n){this.name=t.id,this.pn=new lr,this.mn=!1;var r=yr.tracingOrigins;n&&n.tracingOrigins&&Array.isArray(n.tracingOrigins)&&0!==n.tracingOrigins.length?r=n.tracingOrigins:this.mn=!0,this.options=u(u(u({},wr),n),{tracingOrigins:r})}return t.prototype.setupOnce=function(t,n){var r=this;this.yn=n,this.mn&&(it.warn("[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace."),it.warn("[Tracing] We added a reasonable default for you: "+yr.tracingOrigins));var i=this.options,e=i.routingInstrumentation,o=i.startTransactionOnLocationChange,u=i.startTransactionOnPageLoad,a=i.markBackgroundTransactions,s=i.traceFetch,c=i.traceXHR,f=i.tracingOrigins,h=i.shouldCreateSpanForRequest;e(function(t){return r.gn(t)},u,o),a&&(vr&&vr.document?vr.document.addEventListener("visibilitychange",function(){var t=Yn();vr.document.hidden&&t&&(it.log("[Tracing] Transaction: "+$n.Cancelled+" -> since tab moved to the background, op: "+t.op),t.status||t.setStatus($n.Cancelled),t.setTag("visibilitychange","document.hidden"),t.finish())}):it.warn("[Tracing] Could not set up background tab detection due to lack of global document")),gr({traceFetch:s,traceXHR:c,tracingOrigins:f,shouldCreateSpanForRequest:h})},t.prototype.gn=function(t){var n=this;if(this.yn){var r=this.options,i=r.beforeNavigate,e=r.idleTimeout,o=r.maxTransactionDuration,a="pageload"===t.op?function(){var t=(n="sentry-trace",r=document.querySelector("meta[name="+n+"]"),r?r.getAttribute("content"):null);var n,r;if(t)return function(t){var n=t.match(Vn);if(n){var r=void 0;return"1"===n[3]?r=!0:"0"===n[3]&&(r=!1),{traceId:n[1],parentSampled:r,parentSpanId:n[2]}}}(t);return}():void 0,s=u(u(u({},t),a),{trimEnd:!0}),c="function"==typeof i?i(s):s,f=void 0===c?u(u({},s),{sampled:!1}):c;!1===f.sampled&&it.log("[Tracing] Will not send "+f.op+" transaction because of beforeNavigate.");var h=function(t,n,r,i){return sr(t,new or(n,t,r,i),cr(n))}(this.yn(),f,e,!0);return it.log("[Tracing] Starting "+f.op+" transaction on scope"),h.registerBeforeFinishCallback(function(t,r){n.pn.addPerformanceEntries(t),function(t,n,r){var i=r-n.startTimestamp;r&&(i>t||i<0)&&(n.setStatus($n.DeadlineExceeded),n.setTag("maxTransactionDurationExceeded","true"))}(1e3*o,t,r)}),h}it.warn("[Tracing] Did not create "+t.op+" transaction because _getCurrentHub is invalid.")},t.id="BrowserTracing",t}();var Er={},kr=J();kr.Sentry&&kr.Sentry.Integrations&&(Er=kr.Sentry.Integrations);var xr=u(u(u({},Er),zn),{BrowserTracing:Tr});return hr(),t.BrowserClient=Gn,t.Hub=Lt,t.Integrations=xr,t.SDK_NAME=Bn,t.SDK_VERSION="5.25.0",t.Scope=Ct,t.Span=nr,t.Transports=jn,t.addBreadcrumb=function(t){Jt("addBreadcrumb",t)},t.addExtensionMethods=hr,t.addGlobalEventProcessor=qt,t.captureEvent=function(t){return Jt("captureEvent",t)},t.captureException=captureException,t.captureMessage=function(t,n){var r;try{throw new Error(t)}catch(t){r=t}return Jt("captureMessage",t,"string"==typeof n?n:void 0,u({originalException:t,syntheticException:r},"string"!=typeof n?{captureContext:n}:void 0))},t.close=function(t){var n=Pt().getClient();return n?n.close(t):_t.reject(!1)},t.configureScope=function(t){Jt("configureScope",t)},t.defaultIntegrations=Xn,t.flush=function(t){var n=Pt().getClient();return n?n.flush(t):_t.reject(!1)},t.forceLoad=function(){},t.getCurrentHub=Pt,t.getHubFromCarrier=Gt,t.init=function(t){if(void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=Xn),void 0===t.release){var n=J();n.SENTRY_RELEASE&&n.SENTRY_RELEASE.id&&(t.release=n.SENTRY_RELEASE.id)}!function(t,n){!0===n.debug&&it.enable();var r=Pt(),i=new t(n);r.bindClient(i)}(Gn,t)},t.lastEventId=function(){return Pt().lastEventId()},t.onLoad=function(t){t()},t.setContext=function(t,n){Jt("setContext",t,n)},t.setExtra=function(t,n){Jt("setExtra",t,n)},t.setExtras=function(t){Jt("setExtras",t)},t.setTag=function(t,n){Jt("setTag",t,n)},t.setTags=function(t){Jt("setTags",t)},t.setUser=function(t){Jt("setUser",t)},t.showReportDialog=function(t){void 0===t&&(t={}),t.eventId||(t.eventId=Pt().lastEventId());var n=Pt().getClient();n&&n.showReportDialog(t)},t.startTransaction=function(t,n){return Jt("startTransaction",u({},t),n)},t.withScope=Wt,t.wrap=function(t){return In(t)()},t}({});