/*! @sentry/browser 6.2.2 (547a01e) | https://github.com/getsentry/sentry-javascript */ var Sentry=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,s,c=function(){return(c=Object.assign||function(t){for(var n,r=1,i=arguments.length;r=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}}}function f(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 h(){for(var t=[],n=0;n ".length,u=void 0;n&&i++<5&&!("html"===(u=j(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""}}function j(t){var n,r,i,e,o,u=t,s=[];if(!u||!u.tagName)return"";if(s.push(u.tagName.toLowerCase()),u.id&&s.push("#"+u.id),(n=u.className)&&p(n))for(r=n.split(/\s+/),o=0;o=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={})),function(t){t.Explicit="explicitly_set",t.Sampler="client_sampler",t.Rate="client_rate",t.Inheritance="inheritance"}(s||(s={}));var k=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 S=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,k(i,r.prototype),i}return r(n,t),n}(Error),_=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/,O=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.publicKey+(t&&e?":"+e:"")+"@"+r+(o?":"+o:"")+"/"+(i?i+"/":i)+u},t.prototype.t=function(t){var n=_.exec(t);if(!n)throw new S("Invalid Dsn");var r=f(n.slice(1),6),i=r[0],e=r[1],o=r[2],u=void 0===o?"":o,s=r[3],c=r[4],a=void 0===c?"":c,h="",v=r[5],l=v.split("/");if(l.length>1&&(h=l.slice(0,-1).join("/"),v=l.pop()),v){var d=v.match(/^\d+/);d&&(v=d[0])}this.i({host:s,pass:u,path:h,projectId:v,port:a,protocol:i,publicKey:e})},t.prototype.i=function(t){"user"in t&&!("publicKey"in t)&&(t.publicKey=t.user),this.user=t.publicKey||"",this.protocol=t.protocol,this.publicKey=t.publicKey||"",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","publicKey","host","projectId"].forEach(function(n){if(!t[n])throw new S("Invalid Dsn: "+n+" missing")}),!this.projectId.match(/^\d+$/))throw new S("Invalid Dsn: Invalid projectId "+this.projectId);if("http"!==this.protocol&&"https"!==this.protocol)throw new S("Invalid Dsn: Invalid protocol "+this.protocol);if(this.port&&isNaN(parseInt(this.port,10)))throw new S("Invalid Dsn: Invalid port "+this.port)},t}();function D(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function T(t,n){return void 0===n&&(n=0),"string"!=typeof t||0===n?t:t.length<=n?t:t.substr(0,n)+"..."}function R(t,n){if(!Array.isArray(t))return"";for(var r=[],i=0;i"}return t.event_id||""}function L(t){var n=C();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 U(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 H(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 F=6e4;var P=C(),X="Sentry Logger ",B=function(){function t(){this.u=!1}return t.prototype.disable=function(){this.u=!1},t.prototype.enable=function(){this.u=!0},t.prototype.log=function(){for(var t=[],n=0;n";function G(t){try{return t&&"function"==typeof t&&t.name||$}catch(t){return $}}function z(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 K(t){if(v(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(b(t)){var e=t,o={};o.type=e.type;try{o.target=w(e.target)?x(e.target):Object.prototype.toString.call(e.target)}catch(t){o.target=""}try{o.currentTarget=w(e.currentTarget)?x(e.currentTarget):Object.prototype.toString.call(e.currentTarget)}catch(t){o.currentTarget=""}for(var i in"undefined"!=typeof CustomEvent&&E(t,CustomEvent)&&(o.detail=e.detail),e)Object.prototype.hasOwnProperty.call(e,i)&&(o[i]=e);return o}return t}function V(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=tt(t,n);return V(i)>r?Q(t,n-1,r):i}function Y(t,n){return"domain"===n&&t&&"object"==typeof t&&t.v?"[Domain]":"domainEmitter"===n?"[DomainEmitter]":"undefined"!=typeof global&&t===global?"[Global]":"undefined"!=typeof window&&t===window?"[Window]":"undefined"!=typeof document&&t===document?"[Document]":m(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: "+G(t)+"]":"symbol"==typeof t?"["+String(t)+"]":"bigint"==typeof t?"[BigInt: "+String(t)+"]":t;var r}function Z(t,n,r,i){if(void 0===r&&(r=1/0),void 0===i&&(i=new W),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=Y(t);return y(r)?r:n}(n);if(null!=n&&"function"==typeof n.toJSON)return n.toJSON();var e=Y(n,t);if(y(e))return e;var o=K(n),u=Array.isArray(n)?[]:{};if(i.memoize(n))return"[Circular ~]";for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(u[s]=Z(s,o[s],r-1,i));return i.unmemoize(n),u}function tt(t,n){try{return JSON.parse(JSON.stringify(t,function(t,r){return Z(t,r,n)}))}catch(t){return"**non-serializable**"}}function nt(t,n){void 0===n&&(n=40);var r=Object.keys(K(t));if(r.sort(),!r.length)return"[object has no keys]";if(r[0].length>=n)return T(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:T(e,n)}return""}function rt(t){var n,r;if(m(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]=rt(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(rt):t}function it(){if(!("fetch"in C()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function et(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function ot(){if(!it())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(t){return!1}}var ut,st=C(),ct={},at={};function ft(t){if(!at[t])switch(at[t]=!0,t){case"console":!function(){if(!("console"in st))return;["debug","info","warn","error","log","assert"].forEach(function(t){t in st.console&&z(st.console,t,function(n){return function(){for(var r=[],i=0;i2?n[2]:void 0;if(i){var e=ut,o=String(i);ut=o,vt("history",{from:e,to:o})}return t.apply(this,n)}}st.onpopstate=function(){for(var t=[],n=0;n0&&r(!1)},t);xt.all(n.D).then(function(){clearTimeout(i),r(!0)}).then(null,function(){r(!0)})})},t}(),kt={nowSeconds:function(){return Date.now()/1e3}};var St=D()?function(){try{return(t=module,n="perf_hooks",t.require(n)).performance}catch(t){return}var t,n}():function(){var t=C().performance;if(t&&t.now)return{now:function(){return t.now()},timeOrigin:Date.now()-t.now()}}(),_t=void 0===St?kt:{nowSeconds:function(){return(St.timeOrigin+St.now())/1e3}},Ot=kt.nowSeconds.bind(kt),Dt=(_t.nowSeconds.bind(_t),function(){var t=C().performance;if(t)t.timeOrigin?t.timeOrigin:t.timing&&t.timing.navigationStart||Date.now()}(),function(){function t(){this.T=!1,this.R=[],this.I=[],this.N=[],this.C={},this.A={},this.M={},this.q={}}return t.clone=function(n){var r=new t;return n&&(r.N=h(n.N),r.A=c({},n.A),r.M=c({},n.M),r.q=c({},n.q),r.C=n.C,r.L=n.L,r.U=n.U,r.H=n.H,r.F=n.F,r.P=n.P,r.I=h(n.I)),r},t.prototype.addScopeListener=function(t){this.R.push(t)},t.prototype.addEventProcessor=function(t){return this.I.push(t),this},t.prototype.setUser=function(t){return this.C=t||{},this.H&&this.H.update({user:t}),this.X(),this},t.prototype.getUser=function(){return this.C},t.prototype.setTags=function(t){return this.A=c(c({},this.A),t),this.X(),this},t.prototype.setTag=function(t,n){var r;return this.A=c(c({},this.A),((r={})[t]=n,r)),this.X(),this},t.prototype.setExtras=function(t){return this.M=c(c({},this.M),t),this.X(),this},t.prototype.setExtra=function(t,n){var r;return this.M=c(c({},this.M),((r={})[t]=n,r)),this.X(),this},t.prototype.setFingerprint=function(t){return this.P=t,this.X(),this},t.prototype.setLevel=function(t){return this.L=t,this.X(),this},t.prototype.setTransactionName=function(t){return this.F=t,this.X(),this},t.prototype.setTransaction=function(t){return this.setTransactionName(t)},t.prototype.setContext=function(t,n){var r;return null===n?delete this.q[t]:this.q=c(c({},this.q),((r={})[t]=n,r)),this.X(),this},t.prototype.setSpan=function(t){return this.U=t,this.X(),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.setSession=function(t){return t?this.H=t:delete this.H,this.X(),this},t.prototype.getSession=function(){return this.H},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=c(c({},this.A),n.A),this.M=c(c({},this.M),n.M),this.q=c(c({},this.q),n.q),n.C&&Object.keys(n.C).length&&(this.C=n.C),n.L&&(this.L=n.L),n.P&&(this.P=n.P)):m(n)&&(n=n,this.A=c(c({},this.A),n.tags),this.M=c(c({},this.M),n.extra),this.q=c(c({},this.q),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.M={},this.C={},this.q={},this.L=void 0,this.F=void 0,this.P=void 0,this.U=void 0,this.H=void 0,this.X(),this},t.prototype.addBreadcrumb=function(t,n){var r=c({timestamp:Ot()},t);return this.N=void 0!==n&&n>=0?h(this.N,[r]).slice(-n):h(this.N,[r]),this.X(),this},t.prototype.clearBreadcrumbs=function(){return this.N=[],this.X(),this},t.prototype.applyToEvent=function(t,n){var r;if(this.M&&Object.keys(this.M).length&&(t.extra=c(c({},this.M),t.extra)),this.A&&Object.keys(this.A).length&&(t.tags=c(c({},this.A),t.tags)),this.C&&Object.keys(this.C).length&&(t.user=c(c({},this.C),t.user)),this.q&&Object.keys(this.q).length&&(t.contexts=c(c({},this.q),t.contexts)),this.L&&(t.level=this.L),this.F&&(t.transaction=this.F),this.U){t.contexts=c({trace:this.U.getTraceContext()},t.contexts);var i=null===(r=this.U.transaction)||void 0===r?void 0:r.name;i&&(t.tags=c({transaction:i},t.tags))}return this.B(t),t.breadcrumbs=h(t.breadcrumbs||[],this.N),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,this.J(h(Tt(),this.I),t,n)},t.prototype.J=function(t,n,r,i){var e=this;return void 0===i&&(i=0),new xt(function(o,u){var s=t[i];if(null===n||"function"!=typeof s)o(n);else{var a=s(c({},n),r);g(a)?a.then(function(n){return e.J(t,n,r,i+1).then(o)}).then(null,u):e.J(t,a,r,i+1).then(o).then(null,u)}})},t.prototype.X=function(){var t=this;this.T||(this.T=!0,this.R.forEach(function(n){n(t)}),this.T=!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 Tt(){var t=C();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}function Rt(t){Tt().push(t)}var It=function(){function t(t){this.errors=0,this.sid=A(),this.timestamp=Date.now(),this.started=Date.now(),this.duration=0,this.status=e.Ok,this.init=!0,t&&this.update(t)}return t.prototype.update=function(t){void 0===t&&(t={}),t.user&&(t.user.ip_address&&(this.ipAddress=t.user.ip_address),t.did||(this.did=t.user.id||t.user.email||t.user.username)),this.timestamp=t.timestamp||Date.now(),t.sid&&(this.sid=32===t.sid.length?t.sid:A()),void 0!==t.init&&(this.init=t.init),t.did&&(this.did=""+t.did),"number"==typeof t.started&&(this.started=t.started),"number"==typeof t.duration?this.duration=t.duration:this.duration=this.timestamp-this.started,t.release&&(this.release=t.release),t.environment&&(this.environment=t.environment),t.ipAddress&&(this.ipAddress=t.ipAddress),t.userAgent&&(this.userAgent=t.userAgent),"number"==typeof t.errors&&(this.errors=t.errors),t.status&&(this.status=t.status)},t.prototype.close=function(t){t?this.update({status:t}):this.status===e.Ok?this.update({status:e.Exited}):this.update()},t.prototype.toJSON=function(){return rt({sid:""+this.sid,init:this.init,started:new Date(this.started).toISOString(),timestamp:new Date(this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"==typeof this.did||"string"==typeof this.did?""+this.did:void 0,duration:this.duration,attrs:rt({release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent})})},t}(),Nt=3,Ct=function(){function t(t,n,r){void 0===n&&(n=new Dt),void 0===r&&(r=Nt),this.W=r,this.$=[{}],this.getStackTop().scope=n,this.bindClient(t)}return t.prototype.isOlderThan=function(t){return this.W=t&&(clearInterval(e),r(!1)))},1)})},t.prototype.at=function(){return this.ot},t.prototype.lt=function(){return!1!==this.getOptions().enabled&&void 0!==this.st},t.prototype.pt=function(t,n,r){var i=this,e=this.getOptions().normalizeDepth,o=void 0===e?3:e,u=c(c({},t),{event_id:t.event_id||(r&&r.event_id?r.event_id:A()),timestamp:t.timestamp||Ot()});this.yt(u),this.bt(u);var s=n;r&&r.captureContext&&(s=Dt.clone(s).update(r.captureContext));var a=xt.resolve(u);return s&&(a=s.applyToEvent(u,r)),a.then(function(t){return"number"==typeof o&&o>0?i.wt(t,o):t})},t.prototype.wt=function(t,n){if(!t)return null;var r=c(c(c(c(c({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(function(t){return c(c({},t),t.data&&{data:tt(t.data,n)})})}),t.user&&{user:tt(t.user,n)}),t.contexts&&{contexts:tt(t.contexts,n)}),t.extra&&{extra:tt(t.extra,n)});return t.contexts&&t.contexts.trace&&(r.contexts.trace=t.contexts.trace),r},t.prototype.yt=function(t){var n=this.getOptions(),r=n.environment,i=n.release,e=n.dist,o=n.maxValueLength,u=void 0===o?250:o;"environment"in t||(t.environment="environment"in n?r:"production"),void 0===t.release&&void 0!==i&&(t.release=i),void 0===t.dist&&void 0!==e&&(t.dist=e),t.message&&(t.message=T(t.message,u));var s=t.exception&&t.exception.values&&t.exception.values[0];s&&s.value&&(s.value=T(s.value,u));var c=t.request;c&&c.url&&(c.url=T(c.url,u))},t.prototype.bt=function(t){var n=t.sdk,r=Object.keys(this.it);n&&r.length>0&&(n.integrations=r)},t.prototype.gt=function(t){this.at().sendEvent(t)},t.prototype.ft=function(t,n,r){return this.Et(t,n,r).then(function(t){return t.event_id},function(t){J.error(t)})},t.prototype.Et=function(t,n,r){var i=this,e=this.getOptions(),o=e.beforeSend,u=e.sampleRate;if(!this.lt())return xt.reject(new S("SDK not enabled, will not send event."));var s="transaction"===t.type;return!s&&"number"==typeof u&&Math.random()>u?xt.reject(new S("Discarding event because it's not included in the random sample (sampling rate = "+u+")")):this.pt(t,r,n).then(function(t){if(null===t)throw new S("An event processor returned null, will not send event.");if(n&&n.data&&!0===n.data.__sentry__||s||!o)return t;var r=o(t,n);if(void 0===r)throw new S("`beforeSend` method has to return `null` or a valid event.");return g(r)?r.then(function(t){return t},function(t){throw new S("beforeSend rejected with "+t)}):r}).then(function(t){if(null===t)throw new S("`beforeSend` returned `null`, will not send event.");var n=r&&r.getSession&&r.getSession();return!s&&n&&i.dt(n,t),i.gt(t),t}).then(null,function(t){if(t instanceof S)throw t;throw i.captureException(t,{data:{__sentry__:!0},originalException:t}),new S("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)})},t.prototype.ct=function(t){var n=this;this.et+=1,t.then(function(t){return n.et-=1,t},function(t){return n.et-=1,t})},t}(),$t=function(){function n(){}return n.prototype.sendEvent=function(n){return xt.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:t.Status.Skipped})},n.prototype.close=function(t){return xt.resolve(!0)},n}(),Gt=function(){function t(t){this.ut=t,this.ut.dsn||J.warn("No DSN provided, backend will not do anything."),this.xt=this.jt()}return t.prototype.eventFromException=function(t,n){throw new S("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,n,r){throw new S("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){this.xt.sendEvent(t).then(null,function(t){J.error("Error while sending event: "+t)})},t.prototype.sendSession=function(t){this.xt.sendSession?this.xt.sendSession(t).then(null,function(t){J.error("Error while sending session: "+t)}):J.warn("Dropping session because custom transport doesn't implement sendSession")},t.prototype.getTransport=function(){return this.xt},t.prototype.jt=function(){return new $t},t}();function zt(t){if(t.metadata&&t.metadata.sdk){var n=t.metadata.sdk;return{name:n.name,version:n.version}}}function Kt(t,n){return n?(t.sdk=t.sdk||{name:n.name,version:n.version},t.sdk.name=t.sdk.name||n.name,t.sdk.version=t.sdk.version||n.version,t.sdk.integrations=h(t.sdk.integrations||[],n.integrations||[]),t.sdk.packages=h(t.sdk.packages||[],n.packages||[]),t):t}function Vt(t,n){var r=zt(n);return{body:JSON.stringify(c({sent_at:(new Date).toISOString()},r&&{sdk:r}))+"\n"+JSON.stringify({type:"session"})+"\n"+JSON.stringify(t),type:"session",url:n.getEnvelopeEndpointWithUrlEncodedAuth()}}function Qt(t,n){var r=zt(n),i=t.type||"event",e="transaction"===i,o=t.debug_meta||{},u=o.transactionSampling,s=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|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,sn=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. \/=]+)(?::(\d+))?(?::(\d+))?\s*$/i,cn=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,an=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,fn=/\((\S*)(?::(\d+))(?::(\d+))\)/,hn=/Minified React error #\d+;/i;function vn(t){var n=null,r=0;t&&("number"==typeof t.framesToPop?r=t.framesToPop:hn.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 (?:]+)>|([^)]+))\((.*)\))? in (.*):\s*$/i,o=r.split("\n"),u=[],s=0;s eval")>-1&&(n=an.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]||on,args:r[2]?r[2].split(","):[],line:r[4]?+r[4]:null,column:r[5]?+r[5]:null}}!i.func&&i.line&&(i.func=on),e.push(i)}if(!e.length)return null;return{message:dn(t),name:t.name,stack:e}}(t))return ln(n,r)}catch(t){}return{message:dn(t),name:t&&t.name,stack:[],failed:!0}}function ln(t,n){try{return c(c({},t),{stack:t.stack.slice(n)})}catch(n){return t}}function dn(t){var n=t&&t.message;return n?n.error&&"string"==typeof n.error.message?n.error.message:n:"No error message"}var pn=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 mn(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,pn).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(n,r,i){var e=En(r,i&&i.syntheticException||void 0,{attachStacktrace:n.attachStacktrace});return H(e,{handled:!0,type:"generic"}),e.level=t.Severity.Error,i&&i.event_id&&(e.event_id=i.event_id),xt.resolve(e)}function gn(n,r,i,e){void 0===i&&(i=t.Severity.Info);var o=xn(r,e&&e.syntheticException||void 0,{attachStacktrace:n.attachStacktrace});return o.level=i,e&&e.event_id&&(o.event_id=e.event_id),xt.resolve(o)}function En(t,n,r){var i,e;if(void 0===r&&(r={}),l(t)&&t.error)return i=mn(vn(t=t.error));if(d(t)||(e=t,"[object DOMException]"===Object.prototype.toString.call(e))){var o=t,u=o.name||(d(o)?"DOMError":"DOMException"),s=o.message?u+": "+o.message:u;return U(i=xn(s,n,r),s),"code"in o&&(i.tags=c(c({},i.tags),{"DOMException.code":""+o.code})),i}return v(t)?i=mn(vn(t)):m(t)||b(t)?(H(i=function(t,n,r){var i={exception:{values:[{type:b(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:"Non-Error "+(r?"promise rejection":"exception")+" captured with keys: "+nt(t)}]},extra:{__serialized__:Q(t)}};if(n){var e=bn(vn(n).stack);i.stacktrace={frames:e}}return i}(t,n,r.rejection),{synthetic:!0}),i):(U(i=xn(t,n,r),""+t,void 0),H(i,{synthetic:!0}),i)}function xn(t,n,r){void 0===r&&(r={});var i={message:t};if(r.attachStacktrace&&n){var e=bn(vn(n).stack);i.stacktrace={frames:e}}return i}var jn=function(){function n(t){this.options=t,this.D=new jt(30),this.Nt={},this.Ct=new Xt(t.dsn,t.At),this.url=this.Ct.getStoreEndpointWithUrlEncodedAuth()}return n.prototype.sendEvent=function(t){throw new S("Transport Class has to implement `sendEvent` method")},n.prototype.close=function(t){return this.D.drain(t)},n.prototype.Mt=function(n){var r=n.requestType,i=n.response,e=n.headers,o=n.resolve,u=n.reject,s=t.Status.fromHttpCode(i.status);this.qt(e)&&J.warn("Too many requests, backing off until: "+this.Lt(r)),s!==t.Status.Success?u(i):o({status:s})},n.prototype.Lt=function(t){return this.Nt[t]||this.Nt.all},n.prototype.Ut=function(t){return this.Lt(t)>new Date(Date.now())},n.prototype.qt=function(t){var n,r,i,e,o=Date.now(),u=t["x-sentry-rate-limits"],s=t["retry-after"];if(u){try{for(var c=a(u.trim().split(",")),f=c.next();!f.done;f=c.next()){var h=f.value.split(":",2),v=parseInt(h[0],10),l=1e3*(isNaN(v)?60:v);try{for(var d=(i=void 0,a(h[1].split(";"))),p=d.next();!p.done;p=d.next()){var y=p.value;this.Nt[y||"all"]=new Date(o+l)}}catch(t){i={error:t}}finally{try{p&&!p.done&&(e=d.return)&&e.call(d)}finally{if(i)throw i.error}}}}catch(t){n={error:t}}finally{try{f&&!f.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}return!0}return!!s&&(this.Nt.all=new Date(o+function(t,n){if(!n)return F;var r=parseInt(""+n,10);if(!isNaN(r))return 1e3*r;var i=Date.parse(""+n);return isNaN(i)?F:i-t}(o,s)),!0)},n}();var kn=function(t){function n(n,r){void 0===r&&(r=function(){var t,n,r=C(),i=r.document;if("function"==typeof(null===(t=i)||void 0===t?void 0:t.createElement))try{var e=i.createElement("iframe");if(e.hidden=!0,i.head.appendChild(e),null===(n=e.contentWindow)||void 0===n?void 0:n.fetch)return e.contentWindow.fetch.bind(r);i.head.removeChild(e)}catch(t){J.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return r.fetch.bind(r)}());var i=t.call(this,n)||this;return i.Ht=r,i}return r(n,t),n.prototype.sendEvent=function(t){return this.Ft(Qt(t,this.Ct),t)},n.prototype.sendSession=function(t){return this.Ft(Vt(t,this.Ct),t)},n.prototype.Ft=function(t,n){var r=this;if(this.Ut(t.type))return Promise.reject({event:n,type:t.type,reason:"Transport locked till "+this.Lt(t.type)+" due to too many requests.",status:429});var i={body:t.body,method:"POST",referrerPolicy:ot()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(i,this.options.fetchParameters),void 0!==this.options.headers&&(i.headers=this.options.headers),this.D.add(new xt(function(n,e){r.Ht(t.url,i).then(function(i){var o={"x-sentry-rate-limits":i.headers.get("X-Sentry-Rate-Limits"),"retry-after":i.headers.get("Retry-After")};r.Mt({requestType:t.type,response:i,headers:o,resolve:n,reject:e})}).catch(e)}))},n}(jn),Sn=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.prototype.sendEvent=function(t){return this.Ft(Qt(t,this.Ct),t)},n.prototype.sendSession=function(t){return this.Ft(Vt(t,this.Ct),t)},n.prototype.Ft=function(t,n){var r=this;return this.Ut(t.type)?Promise.reject({event:n,type:t.type,reason:"Transport locked till "+this.Lt(t.type)+" due to too many requests.",status:429}):this.D.add(new xt(function(n,i){var e=new XMLHttpRequest;for(var o in e.onreadystatechange=function(){if(4===e.readyState){var o={"x-sentry-rate-limits":e.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":e.getResponseHeader("Retry-After")};r.Mt({requestType:t.type,response:e,headers:o,resolve:n,reject:i})}},e.open("POST",t.url),r.options.headers)r.options.headers.hasOwnProperty(o)&&e.setRequestHeader(o,r.options.headers[o]);e.send(t.body)}))},n}(jn),_n=Object.freeze({__proto__:null,BaseTransport:jn,FetchTransport:kn,XHRTransport:Sn}),On=function(n){function i(){return null!==n&&n.apply(this,arguments)||this}return r(i,n),i.prototype.eventFromException=function(t,n){return wn(this.ut,t,n)},i.prototype.eventFromMessage=function(n,r,i){return void 0===r&&(r=t.Severity.Info),gn(this.ut,n,r,i)},i.prototype.jt=function(){if(!this.ut.dsn)return n.prototype.jt.call(this);var t=c(c({},this.ut.transportOptions),{dsn:this.ut.dsn,At:this.ut.At});return this.ut.transport?new this.ut.transport(t):it()?new kn(t):new Sn(t)},i}(Gt),Dn=0;function Tn(){return Dn>0}function Rn(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 Rn(t,n)});return t.handleEvent?t.handleEvent.apply(this,e):t.apply(this,e)}catch(t){throw Dn+=1,setTimeout(function(){Dn-=1}),Pt(function(r){r.addEventProcessor(function(t){var r=c({},t);return n.mechanism&&(U(r,void 0,void 0),H(r,n.mechanism)),r.extra=c(c({},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 In(t){if(void 0===t&&(t={}),t.eventId)if(t.dsn){var n=document.createElement("script");n.async=!0,n.src=new Xt(t.dsn).getReportDialogEndpoint(t),t.onLoad&&(n.onload=t.onLoad),(document.head||document.body).appendChild(n)}else J.error("Missing dsn option in showReportDialog call");else J.error("Missing eventId option in showReportDialog call")}var Nn=function(){function n(t){this.name=n.id,this.Pt=!1,this.Xt=!1,this.ut=c({onerror:!0,onunhandledrejection:!0},t)}return n.prototype.setupOnce=function(){Error.stackTraceLimit=50,this.ut.onerror&&(J.log("Global Handler attached: onerror"),this.Bt()),this.ut.onunhandledrejection&&(J.log("Global Handler attached: onunhandledrejection"),this.Jt())},n.prototype.Bt=function(){var t=this;this.Pt||(ht({callback:function(r){var i=r.error,e=qt(),o=e.getIntegration(n),u=i&&!0===i.__sentry_own_request__;if(o&&!Tn()&&!u){var s=e.getClient(),c=y(i)?t.Wt(r.msg,r.url,r.line,r.column):t.$t(En(i,void 0,{attachStacktrace:s&&s.getOptions().attachStacktrace,rejection:!1}),r.url,r.line,r.column);H(c,{handled:!1,type:"onerror"}),e.captureEvent(c,{originalException:i})}},type:"error"}),this.Pt=!0)},n.prototype.Jt=function(){var r=this;this.Xt||(ht({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=qt(),u=o.getIntegration(n),s=e&&!0===e.__sentry_own_request__;if(!u||Tn()||s)return!0;var c=o.getClient(),a=y(e)?r.Gt(e):En(e,void 0,{attachStacktrace:c&&c.getOptions().attachStacktrace,rejection:!0});a.level=t.Severity.Error,H(a,{handled:!1,type:"onunhandledrejection"}),o.captureEvent(a,{originalException:e})},type:"unhandledrejection"}),this.Xt=!0)},n.prototype.Wt=function(t,n,r,i){var e,o=l(t)?t.message:t;if(p(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 s={exception:{values:[{type:e||"Error",value:o}]}};return this.$t(s,n,r,i)},n.prototype.Gt=function(t){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(t)}]}}},n.prototype.$t=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=p(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.ut=c({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},n)}return t.prototype.setupOnce=function(){var t=C();(this.ut.setTimeout&&z(t,"setTimeout",this.zt.bind(this)),this.ut.setInterval&&z(t,"setInterval",this.zt.bind(this)),this.ut.requestAnimationFrame&&z(t,"requestAnimationFrame",this.Kt.bind(this)),this.ut.XMLHttpRequest&&"XMLHttpRequest"in t&&z(XMLHttpRequest.prototype,"send",this.Vt.bind(this)),this.ut.eventTarget)&&(Array.isArray(this.ut.eventTarget)?this.ut.eventTarget:Cn).forEach(this.Qt.bind(this))},t.prototype.zt=function(t){return function(){for(var n=[],r=0;r"}0!==n.length&&qt().addBreadcrumb({category:"ui."+t.name,message:n},{event:t.event,name:t.name,global:t.global})},n.prototype.tn=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;qt().addBreadcrumb({category:"xhr",data:{method:r,url:i,status_code:e},type:"http"},{xhr:t.xhr,input:o})}else;},n.prototype.nn=function(n){n.endTimestamp&&(n.fetchData.url.match(/sentry_key/)&&"POST"===n.fetchData.method||(n.error?qt().addBreadcrumb({category:"fetch",data:n.fetchData,level:t.Severity.Error,type:"http"},{data:n.error,input:n.args}):qt().addBreadcrumb({category:"fetch",data:c(c({},n.fetchData),{status_code:n.response.status}),type:"http"},{input:n.args,response:n.response})))},n.prototype.rn=function(t){var n=C(),r=t.from,i=t.to,e=M(n.location.href),o=M(r),u=M(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),qt().addBreadcrumb({category:"navigation",data:{from:r,to:i}})},n.id="Breadcrumbs",n}(),qn="cause",Ln=5,Un=function(){function t(n){void 0===n&&(n={}),this.name=t.id,this.in=n.key||qn,this.O=n.limit||Ln}return t.prototype.setupOnce=function(){Rt(function(n,r){var i=qt().getIntegration(t);return i?i.en(n,r):n})},t.prototype.en=function(t,n){if(!(t.exception&&t.exception.values&&n&&E(n.originalException,Error)))return t;var r=this.on(n.originalException,this.in);return t.exception.values=h(r,t.exception.values),t},t.prototype.on=function(t,n,r){if(void 0===r&&(r=[]),!E(t[n],Error)||r.length+1>=this.O)return r;var i=yn(vn(t[n]));return this.on(t[n],n,h([i],r))},t.id="LinkedErrors",t}(),Hn=C(),Fn=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){Rt(function(n){var r,i,e;if(qt().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),u=(Hn.document||{}).referrer,s=(Hn.navigator||{}).userAgent,a=c(c(c({},null===(e=n.request)||void 0===e?void 0:e.headers),u&&{Referer:u}),s&&{"User-Agent":s}),f=c(c({},o&&{url:o}),{headers:a});return c(c({},n),{request:f})}return n})},t.id="UserAgent",t}(),Pn=Object.freeze({__proto__:null,GlobalHandlers:Nn,TryCatch:An,Breadcrumbs:Mn,LinkedErrors:Un,UserAgent:Fn}),Xn=function(t){function n(n){void 0===n&&(n={});return n.At=n.At||{},n.At.sdk=n.At.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:Zt}],version:Zt},t.call(this,On,n)||this}return r(n,t),n.prototype.showReportDialog=function(t){void 0===t&&(t={}),C().document&&(this.lt()?In(c(c({},t),{dsn:t.dsn||this.getDsn()})):J.error("Trying to call showReportDialog with Sentry Client disabled"))},n.prototype.pt=function(n,r,i){return n.platform=n.platform||"javascript",t.prototype.pt.call(this,n,r,i)},n.prototype.gt=function(n){var r=this.getIntegration(Mn);r&&r.addSentryBreadcrumb(n),t.prototype.gt.call(this,n)},n}(Wt),Bn=[new rn,new tn,new An,new Mn,new Nn,new Un,new Fn];var Jn={},Wn=C();Wn.Sentry&&Wn.Sentry.Integrations&&(Jn=Wn.Sentry.Integrations);var $n=c(c(c({},Jn),en),Pn);return t.BrowserClient=Xn,t.Hub=Ct,t.Integrations=$n,t.SDK_NAME="sentry.javascript.browser",t.SDK_VERSION=Zt,t.Scope=Dt,t.Transports=_n,t.addBreadcrumb=function(t){Ft("addBreadcrumb",t)},t.addGlobalEventProcessor=Rt,t.captureEvent=function(t){return Ft("captureEvent",t)},t.captureException=captureException,t.captureMessage=function(t,n){var r;try{throw new Error(t)}catch(t){r=t}return Ft("captureMessage",t,"string"==typeof n?n:void 0,c({originalException:t,syntheticException:r},"string"!=typeof n?{captureContext:n}:void 0))},t.close=function(t){var n=qt().getClient();return n?n.close(t):xt.reject(!1)},t.configureScope=function(t){Ft("configureScope",t)},t.defaultIntegrations=Bn,t.eventFromException=wn,t.eventFromMessage=gn,t.flush=function(t){var n=qt().getClient();return n?n.flush(t):xt.reject(!1)},t.forceLoad=function(){},t.getCurrentHub=qt,t.getHubFromCarrier=Ut,t.init=function(t){if(void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=Bn),void 0===t.release){var n=C();n.SENTRY_RELEASE&&n.SENTRY_RELEASE.id&&(t.release=n.SENTRY_RELEASE.id)}void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),function(t,n){!0===n.debug&&J.enable();var r=qt(),i=new t(n);r.bindClient(i)}(Xn,t),t.autoSessionTracking&&function(){if(void 0!==C().document){var t=qt();"startSession"in t&&(t.startSession(),t.captureSession(),ht({callback:function(){t.startSession(),t.captureSession()},type:"history"}))}else J.warn("Session tracking in non-browser environment with @sentry/browser is not supported.")}()},t.injectReportDialog=In,t.lastEventId=function(){return qt().lastEventId()},t.makeMain=Mt,t.onLoad=function(t){t()},t.setContext=function(t,n){Ft("setContext",t,n)},t.setExtra=function(t,n){Ft("setExtra",t,n)},t.setExtras=function(t){Ft("setExtras",t)},t.setTag=function(t,n){Ft("setTag",t,n)},t.setTags=function(t){Ft("setTags",t)},t.setUser=function(t){Ft("setUser",t)},t.showReportDialog=function(t){void 0===t&&(t={}),t.eventId||(t.eventId=qt().lastEventId());var n=qt().getClient();n&&n.showReportDialog(t)},t.startTransaction=function(t,n){return Ft("startTransaction",c({},t),n)},t.withScope=Pt,t.wrap=function(t){return Rn(t)()},t}({}); //# sourceMappingURL=bundle.min.js.map