(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{60:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return Bt})),n.d(e,"b",(function(){return Ht})),n.d(e,"c",(function(){return Fe})),n.d(e,"d",(function(){return Wt}));n(17),n(66),n(199),n(33),n(55),n(84),n(28),n(50),n(32),n(95),n(76),n(21),n(26),n(296),n(25),n(107),n(37),n(23),n(9),n(311),n(312),n(170),n(174),n(344),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(221),n(222),n(223),n(46),n(7),n(24),n(54),n(309),n(146),n(145),n(137),n(75),n(13),n(8),n(350),n(6),n(27),n(29);var r,o,i,s=n(3),a=(n(72),n(2)),c=n(59),u=n(68);n(20),n(30);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return b(t,Error)}}function d(t){return"[object ErrorEvent]"===Object.prototype.toString.call(t)}function h(t){return"[object DOMError]"===Object.prototype.toString.call(t)}function f(t){return"[object String]"===Object.prototype.toString.call(t)}function v(t){return null===t||"object"!==p(t)&&"function"!=typeof t}function _(t){return"[object Object]"===Object.prototype.toString.call(t)}function y(t){return"undefined"!=typeof Event&&b(t,Event)}function g(t){return"undefined"!=typeof Element&&b(t,Element)}function m(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function b(t,e){try{return t instanceof e}catch(t){return!1}}function E(t){try{for(var e=t,n=[],r=0,o=0,i=" > ".length,s=void 0;e&&r++<5&&!("html"===(s=O(e))||r>1&&o+n.length*i+s.length>=80);)n.push(s),o+=s.length,e=e.parentNode;return n.reverse().join(" > ")}catch(t){return""}}function O(t){var e,n,r,o,i,s=t,a=[];if(!s||!s.tagName)return"";if(a.push(s.tagName.toLowerCase()),s.id&&a.push("#"+s.id),(e=s.className)&&f(e))for(n=e.split(/\s+/),i=0;i=200&&e<300?t.Success:429===e?t.RateLimit:e>=400&&e<500?t.Invalid:e>=500?t.Failed:t.Unknown}}(i||(i={}));var S=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){return t.__proto__=e,t}:function(t,e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n]);return t});var x=function(t){function e(e){var n=this.constructor,r=t.call(this,e)||this;return r.message=e,r.name=n.prototype.constructor.name,S(r,n.prototype),r}return Object(s.a)(e,t),e}(Error),j=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/,w="Invalid Dsn",k=function(){function t(t){"string"==typeof t?this._fromString(t):this._fromComponents(t),this._validate()}return t.prototype.toString=function(t){void 0===t&&(t=!1);var e=this,n=e.host,r=e.path,o=e.pass,i=e.port,s=e.projectId;return e.protocol+"://"+e.user+(t&&o?":"+o:"")+"@"+n+(i?":"+i:"")+"/"+(r?r+"/":r)+s},t.prototype._fromString=function(t){var e=j.exec(t);if(!e)throw new x(w);var n=Object(s.b)(e.slice(1),6),r=n[0],o=n[1],i=n[2],a=void 0===i?"":i,c=n[3],u=n[4],p=void 0===u?"":u,l="",d=n[5],h=d.split("/");if(h.length>1&&(l=h.slice(0,-1).join("/"),d=h.pop()),d){var f=d.match(/^\d+/);f&&(d=f[0])}this._fromComponents({host:c,pass:a,path:l,projectId:d,port:p,protocol:r,user:o})},t.prototype._fromComponents=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._validate=function(){var t=this;if(["protocol","user","host","projectId"].forEach((function(e){if(!t[e])throw new x("Invalid Dsn: "+e+" missing")})),!this.projectId.match(/^\d+$/))throw new x("Invalid Dsn: Invalid projectId "+this.projectId);if("http"!==this.protocol&&"https"!==this.protocol)throw new x("Invalid Dsn: Invalid protocol "+this.protocol);if(this.port&&isNaN(parseInt(this.port,10)))throw new x("Invalid Dsn: Invalid port "+this.port)},t}(),T=function(){function t(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return t.prototype.memoize=function(t){if(this._hasWeakSet)return!!this._inner.has(t)||(this._inner.add(t),!1);for(var e=0;e";function I(t){try{return t&&"function"==typeof t&&t.name||R}catch(t){return R}}function N(t,e){return void 0===e&&(e=0),"string"!=typeof t||0===e||t.length<=e?t:t.substr(0,e)+"..."}function D(t,e){if(!Array.isArray(t))return"";for(var n=[],r=0;r"}try{i.currentTarget=g(o.currentTarget)?E(o.currentTarget):Object.prototype.toString.call(o.currentTarget)}catch(t){i.currentTarget=""}for(var r in"undefined"!=typeof CustomEvent&&b(t,CustomEvent)&&(i.detail=o.detail),o)Object.prototype.hasOwnProperty.call(o,r)&&(i[r]=o);return i}return t}function A(t){return function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(t))}function P(t,e,n){void 0===e&&(e=3),void 0===n&&(n=102400);var r=q(t,e);return A(r)>n?P(t,e-1,n):r}function M(t,e){return"domain"===e&&t&&"object"===p(t)&&t._events?"[Domain]":"domainEmitter"===e?"[DomainEmitter]":void 0!==c.a&&t===c.a?"[Global]":"undefined"!=typeof window&&t===window?"[Window]":"undefined"!=typeof document&&t===document?"[Document]":_(n=t)&&"nativeEvent"in n&&"preventDefault"in n&&"stopPropagation"in n?"[SyntheticEvent]":"number"==typeof t&&t!=t?"[NaN]":void 0===t?"[undefined]":"function"==typeof t?"[Function: "+I(t)+"]":"symbol"===p(t)?"["+String(t)+"]":"bigint"==typeof t?"[BigInt: "+String(t)+"]":t;var n}function F(t,e,n,r){if(void 0===n&&(n=1/0),void 0===r&&(r=new T),0===n)return function(t){var e=Object.prototype.toString.call(t);if("string"==typeof t)return t;if("[object Object]"===e)return"[Object]";if("[object Array]"===e)return"[Array]";var n=M(t);return v(n)?n:e}(e);if(null!=e&&"function"==typeof e.toJSON)return e.toJSON();var o=M(e,t);if(v(o))return o;var i=U(e),s=Array.isArray(e)?[]:{};if(r.memoize(e))return"[Circular ~]";for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(s[a]=F(a,i[a],n-1,r));return r.unmemoize(e),s}function q(t,e){try{return JSON.parse(JSON.stringify(t,(function(t,n){return F(t,n,e)})))}catch(t){return"**non-serializable**"}}function B(t,e){void 0===e&&(e=40);var n=Object.keys(U(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return N(n[0],e);for(var r=n.length;r>0;r--){var o=n.slice(0,r).join(", ");if(!(o.length>e))return r===n.length?o:N(o,e)}return""}function H(t){var e,n;if(_(t)){var r=t,o={};try{for(var i=Object(s.c)(Object.keys(r)),a=i.next();!a.done;a=i.next()){var c=a.value;void 0!==r[c]&&(o[c]=H(r[c]))}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return o}return Array.isArray(t)?t.map(H):t}function W(){return"[object process]"===Object.prototype.toString.call(void 0!==u.a?u.a:0)}var Y={};function J(){return W()?c.a:"undefined"!=typeof window?window:"undefined"!=typeof self?self:Y}function G(){var t=J(),e=t.crypto||t.msCrypto;if(void 0!==e&&e.getRandomValues){var n=new Uint16Array(8);e.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;var r=function(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e};return r(n[0])+r(n[1])+r(n[2])+r(n[3])+r(n[4])+r(n[5])+r(n[6])+r(n[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}function X(t){if(!t)return{};var e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};var n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+n+r}}function z(t){if(t.message)return t.message;if(t.exception&&t.exception.values&&t.exception.values[0]){var e=t.exception.values[0];return e.type&&e.value?e.type+": "+e.value:e.type||e.value||t.event_id||""}return t.event_id||""}function $(t){var e=J();if(!("console"in e))return t();var n=e.console,r={};["debug","info","warn","error","log","assert"].forEach((function(t){t in e.console&&n[t].__sentry_original__&&(r[t]=n[t],n[t]=n[t].__sentry_original__)}));var o=t();return Object.keys(r).forEach((function(t){n[t]=r[t]})),o}function V(t,e,n){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||e||"",t.exception.values[0].type=t.exception.values[0].type||n||"Error"}function K(t,e){void 0===e&&(e={});try{t.exception.values[0].mechanism=t.exception.values[0].mechanism||{},Object.keys(e).forEach((function(n){t.exception.values[0].mechanism[n]=e[n]}))}catch(t){}}var Q=J(),Z="Sentry Logger ",tt=function(){function t(){this._enabled=!1}return t.prototype.disable=function(){this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},t.prototype.log=function(){for(var t=[],e=0;e2?e[2]:void 0;if(r){var o=it,i=String(r);it=i,lt("history",{from:o,to:i})}return t.apply(this,e)}}st.onpopstate=function(){for(var e=[],n=0;n0&&n(!1)}),t);Ot.all(e._buffer).then((function(){clearTimeout(r),n(!0)})).then(null,(function(){n(!0)}))}))},t}(),xt={nowSeconds:function(){return Date.now()/1e3}};var jt=W()?function(){try{return(e="perf_hooks",t.require(e)).performance}catch(t){return}var e}():function(){var t=J().performance;if(t&&t.now)return{now:function(){return t.now()},timeOrigin:Date.now()-t.now()}}(),wt=void 0===jt?xt:{nowSeconds:function(){return(jt.timeOrigin+jt.now())/1e3}},kt=xt.nowSeconds.bind(xt),Tt=wt.nowSeconds.bind(wt),Rt=(function(){var t=J().performance;if(t)t.timeOrigin?t.timeOrigin:t.timing&&t.timing.navigationStart||Date.now()}(),function(){function t(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={}}return t.clone=function(e){var n=new t;return e&&(n._breadcrumbs=Object(s.e)(e._breadcrumbs),n._tags=Object(s.d)({},e._tags),n._extra=Object(s.d)({},e._extra),n._contexts=Object(s.d)({},e._contexts),n._user=e._user,n._level=e._level,n._span=e._span,n._session=e._session,n._transactionName=e._transactionName,n._fingerprint=e._fingerprint,n._eventProcessors=Object(s.e)(e._eventProcessors)),n},t.prototype.addScopeListener=function(t){this._scopeListeners.push(t)},t.prototype.addEventProcessor=function(t){return this._eventProcessors.push(t),this},t.prototype.setUser=function(t){return this._user=t||{},this._session&&this._session.update({user:t}),this._notifyScopeListeners(),this},t.prototype.getUser=function(){return this._user},t.prototype.setTags=function(t){return this._tags=Object(s.d)(Object(s.d)({},this._tags),t),this._notifyScopeListeners(),this},t.prototype.setTag=function(t,e){var n;return this._tags=Object(s.d)(Object(s.d)({},this._tags),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setExtras=function(t){return this._extra=Object(s.d)(Object(s.d)({},this._extra),t),this._notifyScopeListeners(),this},t.prototype.setExtra=function(t,e){var n;return this._extra=Object(s.d)(Object(s.d)({},this._extra),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setFingerprint=function(t){return this._fingerprint=t,this._notifyScopeListeners(),this},t.prototype.setLevel=function(t){return this._level=t,this._notifyScopeListeners(),this},t.prototype.setTransactionName=function(t){return this._transactionName=t,this._notifyScopeListeners(),this},t.prototype.setTransaction=function(t){return this.setTransactionName(t)},t.prototype.setContext=function(t,e){var n;return null===e?delete this._contexts[t]:this._contexts=Object(s.d)(Object(s.d)({},this._contexts),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setSpan=function(t){return this._span=t,this._notifyScopeListeners(),this},t.prototype.getSpan=function(){return this._span},t.prototype.getTransaction=function(){var t,e,n,r,o=this.getSpan();return(null===(t=o)||void 0===t?void 0:t.transaction)?null===(e=o)||void 0===e?void 0:e.transaction:(null===(r=null===(n=o)||void 0===n?void 0:n.spanRecorder)||void 0===r?void 0:r.spans[0])?o.spanRecorder.spans[0]:void 0},t.prototype.setSession=function(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this},t.prototype.getSession=function(){return this._session},t.prototype.update=function(e){if(!e)return this;if("function"==typeof e){var n=e(this);return n instanceof t?n:this}return e instanceof t?(this._tags=Object(s.d)(Object(s.d)({},this._tags),e._tags),this._extra=Object(s.d)(Object(s.d)({},this._extra),e._extra),this._contexts=Object(s.d)(Object(s.d)({},this._contexts),e._contexts),e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint)):_(e)&&(e=e,this._tags=Object(s.d)(Object(s.d)({},this._tags),e.tags),this._extra=Object(s.d)(Object(s.d)({},this._extra),e.extra),this._contexts=Object(s.d)(Object(s.d)({},this._contexts),e.contexts),e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint)),this},t.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this},t.prototype.addBreadcrumb=function(t,e){var n=Object(s.d)({timestamp:kt()},t);return this._breadcrumbs=void 0!==e&&e>=0?Object(s.e)(this._breadcrumbs,[n]).slice(-e):Object(s.e)(this._breadcrumbs,[n]),this._notifyScopeListeners(),this},t.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},t.prototype.applyToEvent=function(t,e){var n;if(this._extra&&Object.keys(this._extra).length&&(t.extra=Object(s.d)(Object(s.d)({},this._extra),t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=Object(s.d)(Object(s.d)({},this._tags),t.tags)),this._user&&Object.keys(this._user).length&&(t.user=Object(s.d)(Object(s.d)({},this._user),t.user)),this._contexts&&Object.keys(this._contexts).length&&(t.contexts=Object(s.d)(Object(s.d)({},this._contexts),t.contexts)),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts=Object(s.d)({trace:this._span.getTraceContext()},t.contexts);var r=null===(n=this._span.transaction)||void 0===n?void 0:n.name;r&&(t.tags=Object(s.d)({transaction:r},t.tags))}return this._applyFingerprint(t),t.breadcrumbs=Object(s.e)(t.breadcrumbs||[],this._breadcrumbs),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,this._notifyEventProcessors(Object(s.e)(It(),this._eventProcessors),t,e)},t.prototype._notifyEventProcessors=function(t,e,n,r){var o=this;return void 0===r&&(r=0),new Ot((function(i,a){var c=t[r];if(null===e||"function"!=typeof c)i(e);else{var u=c(Object(s.d)({},e),n);m(u)?u.then((function(e){return o._notifyEventProcessors(t,e,n,r+1).then(i)})).then(null,a):o._notifyEventProcessors(t,u,n,r+1).then(i).then(null,a)}}))},t.prototype._notifyScopeListeners=function(){var t=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((function(e){e(t)})),this._notifyingListeners=!1)},t.prototype._applyFingerprint=function(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},t}());function It(){var t=J();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}function Nt(t){It().push(t)}var Dt=function(){function t(t){this.errors=0,this.sid=G(),this.timestamp=Date.now(),this.started=Date.now(),this.duration=0,this.status=r.Ok,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:G()),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===r.Ok?this.update({status:r.Exited}):this.update()},t.prototype.toJSON=function(){return H({sid:""+this.sid,init:!0,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:H({release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent})})},t}(),Lt=function(){function t(t,e,n){void 0===e&&(e=new Rt),void 0===n&&(n=3),this._version=n,this._stack=[{}],this.getStackTop().scope=e,this.bindClient(t)}return t.prototype.isOlderThan=function(t){return this._version=t&&(clearInterval(o),n(!1)))}),1)}))},t.prototype._getBackend=function(){return this._backend},t.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},t.prototype._prepareEvent=function(t,e,n){var r=this,o=this.getOptions().normalizeDepth,i=void 0===o?3:o,a=Object(s.d)(Object(s.d)({},t),{event_id:t.event_id||(n&&n.event_id?n.event_id:G()),timestamp:t.timestamp||kt()});this._applyClientOptions(a),this._applyIntegrationsMetadata(a);var c=e;n&&n.captureContext&&(c=Rt.clone(c).update(n.captureContext));var u=Ot.resolve(a);return c&&(u=c.applyToEvent(a,n)),u.then((function(t){return"number"==typeof i&&i>0?r._normalizeEvent(t,i):t}))},t.prototype._normalizeEvent=function(t,e){if(!t)return null;var n=Object(s.d)(Object(s.d)(Object(s.d)(Object(s.d)(Object(s.d)({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((function(t){return Object(s.d)(Object(s.d)({},t),t.data&&{data:q(t.data,e)})}))}),t.user&&{user:q(t.user,e)}),t.contexts&&{contexts:q(t.contexts,e)}),t.extra&&{extra:q(t.extra,e)});return t.contexts&&t.contexts.trace&&(n.contexts.trace=t.contexts.trace),n},t.prototype._applyClientOptions=function(t){var e=this.getOptions(),n=e.environment,r=e.release,o=e.dist,i=e.maxValueLength,s=void 0===i?250:i;"environment"in t||(t.environment="environment"in e?n:"production"),void 0===t.release&&void 0!==r&&(t.release=r),void 0===t.dist&&void 0!==o&&(t.dist=o),t.message&&(t.message=N(t.message,s));var a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=N(a.value,s));var c=t.request;c&&c.url&&(c.url=N(c.url,s))},t.prototype._applyIntegrationsMetadata=function(t){var e=t.sdk,n=Object.keys(this._integrations);e&&n.length>0&&(e.integrations=n)},t.prototype._sendEvent=function(t){this._getBackend().sendEvent(t)},t.prototype._captureEvent=function(t,e,n){return this._processEvent(t,e,n).then((function(t){return t.event_id}),(function(t){et.error(t)}))},t.prototype._processEvent=function(t,e,n){var r=this,o=this.getOptions(),i=o.beforeSend,s=o.sampleRate;if(!this._isEnabled())return Ot.reject(new x("SDK not enabled, will not send event."));var a="transaction"===t.type;return!a&&"number"==typeof s&&Math.random()>s?Ot.reject(new x("Discarding event because it's not included in the random sample (sampling rate = "+s+")")):this._prepareEvent(t,n,e).then((function(t){if(null===t)throw new x("An event processor returned null, will not send event.");if(e&&e.data&&!0===e.data.__sentry__||a||!i)return t;var n=i(t,e);if(void 0===n)throw new x("`beforeSend` method has to return `null` or a valid event.");return m(n)?n.then((function(t){return t}),(function(t){throw new x("beforeSend rejected with "+t)})):n})).then((function(t){if(null===t)throw new x("`beforeSend` returned `null`, will not send event.");var e=n&&n.getSession&&n.getSession();return!a&&e&&r._updateSessionFromEvent(e,t),r._sendEvent(t),t})).then(null,(function(t){if(t instanceof x)throw t;throw r.captureException(t,{data:{__sentry__:!0},originalException:t}),new x("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)}))},t.prototype._process=function(t){var e=this;this._processing+=1,t.then((function(t){return e._processing-=1,t}),(function(t){return e._processing-=1,t}))},t}(),$t=function(){function t(){}return t.prototype.sendEvent=function(t){return Ot.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:i.Skipped})},t.prototype.close=function(t){return Ot.resolve(!0)},t}(),Vt=function(){function t(t){this._options=t,this._options.dsn||et.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return t.prototype.eventFromException=function(t,e){throw new x("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,e,n){throw new x("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){this._transport.sendEvent(t).then(null,(function(t){et.error("Error while sending event: "+t)}))},t.prototype.sendSession=function(t){this._transport.sendSession?this._transport.sendSession(t).then(null,(function(t){et.error("Error while sending session: "+t)})):et.warn("Dropping session because custom transport doesn't implement sendSession")},t.prototype.getTransport=function(){return this._transport},t.prototype._setupTransport=function(){return new $t},t}();function Kt(t,e){return{body:JSON.stringify({sent_at:(new Date).toISOString()})+"\n"+JSON.stringify({type:"session"})+"\n"+JSON.stringify(t),type:"session",url:e.getEnvelopeEndpointWithUrlEncodedAuth()}}function Qt(t,e){var n=t.tags||{},r=n.__sentry_samplingMethod,o=n.__sentry_sampleRate,i=Object(s.f)(n,["__sentry_samplingMethod","__sentry_sampleRate"]);t.tags=i;var a="transaction"===t.type,c={body:JSON.stringify(t),type:t.type||"event",url:a?e.getEnvelopeEndpointWithUrlEncodedAuth():e.getStoreEndpointWithUrlEncodedAuth()};if(a){var u=JSON.stringify({event_id:t.event_id,sent_at:(new Date).toISOString()})+"\n"+JSON.stringify({type:t.type,sample_rates:[{id:r,rate:o}]})+"\n"+c.body;c.body=u}return c}var Zt=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){Xt=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],e=0;e|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ie=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,se=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,ae=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,ce=/\((\S*)(?::(\d+))(?::(\d+))\)/,ue=/Minified React error #\d+;/i;function pe(t){var e=null,n=0;t&&("number"==typeof t.framesToPop?n=t.framesToPop:ue.test(t.message)&&(n=1));try{if(e=function(t){if(!t||!t.stacktrace)return null;for(var e,n=t.stacktrace,r=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,o=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^)]+))\((.*)\))? in (.*):\s*$/i,i=n.split("\n"),s=[],a=0;a eval")>-1&&(e=ae.exec(n[3]))?(n[1]=n[1]||"eval",n[3]=e[1],n[4]=e[2],n[5]=""):0!==s||n[5]||void 0===t.columnNumber||(o[0].column=t.columnNumber+1),r={url:n[3],func:n[1]||re,args:n[2]?n[2].split(","):[],line:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}!r.func&&r.line&&(r.func=re),o.push(r)}if(!o.length)return null;return{message:de(t),name:t.name,stack:o}}(t))return le(e,n)}catch(t){}return{message:de(t),name:t&&t.name,stack:[],failed:!0}}function le(t,e){try{return Object(s.d)(Object(s.d)({},t),{stack:t.stack.slice(e)})}catch(e){return t}}function de(t){var e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function he(t){var e=ve(t.stack),n={type:t.name,value:t.message};return e&&e.length&&(n.stacktrace={frames:e}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function fe(t){return{exception:{values:[he(t)]}}}function ve(t){if(!t||!t.length)return[];var e=t,n=e[0].func||"",r=e[e.length-1].func||"";return-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(e=e.slice(1)),-1!==r.indexOf("sentryWrapped")&&(e=e.slice(0,-1)),e.slice(0,50).map((function(t){return{colno:null===t.column?void 0:t.column,filename:t.url||e[0].url,function:t.func||"?",in_app:!0,lineno:null===t.line?void 0:t.line}})).reverse()}function _e(t,e,n){var r,o;if(void 0===n&&(n={}),d(t)&&t.error)return r=fe(pe(t=t.error));if(h(t)||(o=t,"[object DOMException]"===Object.prototype.toString.call(o))){var i=t,a=i.name||(h(i)?"DOMError":"DOMException"),c=i.message?a+": "+i.message:a;return V(r=ye(c,e,n),c),"code"in i&&(r.tags=Object(s.d)(Object(s.d)({},r.tags),{"DOMException.code":""+i.code})),r}return l(t)?r=fe(pe(t)):_(t)||y(t)?(K(r=function(t,e,n){var r={exception:{values:[{type:y(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:"Non-Error "+(n?"promise rejection":"exception")+" captured with keys: "+B(t)}]},extra:{__serialized__:P(t)}};if(e){var o=ve(pe(e).stack);r.stacktrace={frames:o}}return r}(t,e,n.rejection),{synthetic:!0}),r):(V(r=ye(t,e,n),""+t,void 0),K(r,{synthetic:!0}),r)}function ye(t,e,n){void 0===n&&(n={});var r={message:t};if(n.attachStacktrace&&e){var o=ve(pe(e).stack);r.stacktrace={frames:o}}return r}var ge=function(){function t(t){this.options=t,this._buffer=new St(30),this._rateLimits={},this._api=new Yt(this.options.dsn),this.url=this._api.getStoreEndpointWithUrlEncodedAuth()}return t.prototype.sendEvent=function(t){throw new x("Transport Class has to implement `sendEvent` method")},t.prototype.close=function(t){return this._buffer.drain(t)},t.prototype._handleResponse=function(t){var e=t.requestType,n=t.response,r=t.headers,o=t.resolve,s=t.reject,a=i.fromHttpCode(n.status);this._handleRateLimit(r)&&et.warn("Too many requests, backing off until: "+this._disabledUntil(e)),a!==i.Success?s(n):o({status:a})},t.prototype._disabledUntil=function(t){return this._rateLimits[t]||this._rateLimits.all},t.prototype._isRateLimited=function(t){return this._disabledUntil(t)>new Date(Date.now())},t.prototype._handleRateLimit=function(t){var e,n,r,o,i=Date.now(),a=t["x-sentry-rate-limits"],c=t["retry-after"];if(a){try{for(var u=Object(s.c)(a.trim().split(",")),p=u.next();!p.done;p=u.next()){var l=p.value.split(":",2),d=parseInt(l[0],10),h=1e3*(isNaN(d)?60:d);try{for(var f=(r=void 0,Object(s.c)(l[1].split(";"))),v=f.next();!v.done;v=f.next()){var _=v.value;this._rateLimits[_||"all"]=new Date(i+h)}}catch(t){r={error:t}}finally{try{v&&!v.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}}}catch(t){e={error:t}}finally{try{p&&!p.done&&(n=u.return)&&n.call(u)}finally{if(e)throw e.error}}return!0}return!!c&&(this._rateLimits.all=new Date(i+function(t,e){if(!e)return 6e4;var n=parseInt(""+e,10);if(!isNaN(n))return 1e3*n;var r=Date.parse(""+e);return isNaN(r)?6e4:r-t}(i,c)),!0)},t}(),me=J(),be=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(s.a)(e,t),e.prototype.sendEvent=function(t){return this._sendRequest(Qt(t,this._api),t)},e.prototype.sendSession=function(t){return this._sendRequest(Kt(t,this._api),t)},e.prototype._sendRequest=function(t,e){var n=this;if(this._isRateLimited(t.type))return Promise.reject({event:e,type:t.type,reason:"Transport locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429});var r={body:t.body,method:"POST",referrerPolicy:ot()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(r,this.options.fetchParameters),void 0!==this.options.headers&&(r.headers=this.options.headers),this._buffer.add(new Ot((function(e,o){me.fetch(t.url,r).then((function(r){var i={"x-sentry-rate-limits":r.headers.get("X-Sentry-Rate-Limits"),"retry-after":r.headers.get("Retry-After")};n._handleResponse({requestType:t.type,response:r,headers:i,resolve:e,reject:o})})).catch(o)})))},e}(ge),Ee=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(s.a)(e,t),e.prototype.sendEvent=function(t){return this._sendRequest(Qt(t,this._api),t)},e.prototype.sendSession=function(t){return this._sendRequest(Kt(t,this._api),t)},e.prototype._sendRequest=function(t,e){var n=this;return this._isRateLimited(t.type)?Promise.reject({event:e,type:t.type,reason:"Transport locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429}):this._buffer.add(new Ot((function(e,r){var o=new XMLHttpRequest;for(var i in o.onreadystatechange=function(){if(4===o.readyState){var i={"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")};n._handleResponse({requestType:t.type,response:o,headers:i,resolve:e,reject:r})}},o.open("POST",t.url),n.options.headers)n.options.headers.hasOwnProperty(i)&&o.setRequestHeader(i,n.options.headers[i]);o.send(t.body)})))},e}(ge),Oe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(s.a)(e,t),e.prototype.eventFromException=function(t,e){return function(t,e,n){var r=_e(e,n&&n.syntheticException||void 0,{attachStacktrace:t.attachStacktrace});return K(r,{handled:!0,type:"generic"}),r.level=o.Error,n&&n.event_id&&(r.event_id=n.event_id),Ot.resolve(r)}(this._options,t,e)},e.prototype.eventFromMessage=function(t,e,n){return void 0===e&&(e=o.Info),function(t,e,n,r){void 0===n&&(n=o.Info);var i=ye(e,r&&r.syntheticException||void 0,{attachStacktrace:t.attachStacktrace});return i.level=n,r&&r.event_id&&(i.event_id=r.event_id),Ot.resolve(i)}(this._options,t,e,n)},e.prototype._setupTransport=function(){if(!this._options.dsn)return t.prototype._setupTransport.call(this);var e=Object(s.d)(Object(s.d)({},this._options.transportOptions),{dsn:this._options.dsn});return this._options.transport?new this._options.transport(e):nt()?new be(e):new Ee(e)},e}(Vt),Se=0;function xe(){return Se>0}function je(){Se+=1,setTimeout((function(){Se-=1}))}function we(t,e,n){if(void 0===e&&(e={}),"function"!=typeof t)return t;try{if(t.__sentry__)return t;if(t.__sentry_wrapped__)return t.__sentry_wrapped__}catch(e){return t}var r=function(){var r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);var o=r.map((function(t){return we(t,e)}));return t.handleEvent?t.handleEvent.apply(this,o):t.apply(this,o)}catch(t){throw je(),Wt((function(n){n.addEventProcessor((function(t){var n=Object(s.d)({},t);return e.mechanism&&(V(n,void 0,void 0),K(n,e.mechanism)),n.extra=Object(s.d)(Object(s.d)({},n.extra),{arguments:r}),n})),Bt(t)})),t}};try{for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o])}catch(t){}t.prototype=t.prototype||{},r.prototype=t.prototype,Object.defineProperty(t,"__sentry_wrapped__",{enumerable:!1,value:r}),Object.defineProperties(r,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:t}});try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:function(){return t.name}})}catch(t){}return r}function ke(t){if(void 0===t&&(t={}),t.eventId)if(t.dsn){var e=document.createElement("script");e.async=!0,e.src=new Yt(t.dsn).getReportDialogEndpoint(t),t.onLoad&&(e.onload=t.onLoad),(document.head||document.body).appendChild(e)}else et.error("Missing dsn option in showReportDialog call");else et.error("Missing eventId option in showReportDialog call")}var Te=function(){function t(e){this.name=t.id,this._onErrorHandlerInstalled=!1,this._onUnhandledRejectionHandlerInstalled=!1,this._options=Object(s.d)({onerror:!0,onunhandledrejection:!0},e)}return t.prototype.setupOnce=function(){Error.stackTraceLimit=50,this._options.onerror&&(et.log("Global Handler attached: onerror"),this._installGlobalOnErrorHandler()),this._options.onunhandledrejection&&(et.log("Global Handler attached: onunhandledrejection"),this._installGlobalOnUnhandledRejectionHandler())},t.prototype._installGlobalOnErrorHandler=function(){var e=this;this._onErrorHandlerInstalled||(pt({callback:function(n){var r=n.error,o=At(),i=o.getIntegration(t),s=r&&!0===r.__sentry_own_request__;if(i&&!xe()&&!s){var a=o.getClient(),c=v(r)?e._eventFromIncompleteOnError(n.msg,n.url,n.line,n.column):e._enhanceEventWithInitialFrame(_e(r,void 0,{attachStacktrace:a&&a.getOptions().attachStacktrace,rejection:!1}),n.url,n.line,n.column);K(c,{handled:!1,type:"onerror"}),o.captureEvent(c,{originalException:r})}},type:"error"}),this._onErrorHandlerInstalled=!0)},t.prototype._installGlobalOnUnhandledRejectionHandler=function(){var e=this;this._onUnhandledRejectionHandlerInstalled||(pt({callback:function(n){var r=n;try{"reason"in n?r=n.reason:"detail"in n&&"reason"in n.detail&&(r=n.detail.reason)}catch(t){}var i=At(),s=i.getIntegration(t),a=r&&!0===r.__sentry_own_request__;if(!s||xe()||a)return!0;var c=i.getClient(),u=v(r)?e._eventFromRejectionWithPrimitive(r):_e(r,void 0,{attachStacktrace:c&&c.getOptions().attachStacktrace,rejection:!0});u.level=o.Error,K(u,{handled:!1,type:"onunhandledrejection"}),i.captureEvent(u,{originalException:r})},type:"unhandledrejection"}),this._onUnhandledRejectionHandlerInstalled=!0)},t.prototype._eventFromIncompleteOnError=function(t,e,n,r){var o,i=d(t)?t.message:t;if(f(i)){var s=i.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);s&&(o=s[1],i=s[2])}var a={exception:{values:[{type:o||"Error",value:i}]}};return this._enhanceEventWithInitialFrame(a,e,n,r)},t.prototype._eventFromRejectionWithPrimitive=function(t){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(t)}]}}},t.prototype._enhanceEventWithInitialFrame=function(t,e,n,r){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 o=isNaN(parseInt(r,10))?void 0:r,i=isNaN(parseInt(n,10))?void 0:n,s=f(e)&&e.length>0?e: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:o,filename:s,function:"?",in_app:!0,lineno:i}),t},t.id="GlobalHandlers",t}(),Re=["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"],Ie=function(){function t(e){this.name=t.id,this._options=Object(s.d)({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e)}return t.prototype.setupOnce=function(){var t=J();(this._options.setTimeout&&C(t,"setTimeout",this._wrapTimeFunction.bind(this)),this._options.setInterval&&C(t,"setInterval",this._wrapTimeFunction.bind(this)),this._options.requestAnimationFrame&&C(t,"requestAnimationFrame",this._wrapRAF.bind(this)),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&C(XMLHttpRequest.prototype,"send",this._wrapXHR.bind(this)),this._options.eventTarget)&&(Array.isArray(this._options.eventTarget)?this._options.eventTarget:Re).forEach(this._wrapEventTarget.bind(this))},t.prototype._wrapTimeFunction=function(t){return function(){for(var e=[],n=0;n"}0!==e.length&&At().addBreadcrumb({category:"ui."+t.name,message:e},{event:t.event,name:t.name})},t.prototype._xhrBreadcrumb=function(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;var e=t.xhr.__sentry_xhr__||{},n=e.method,r=e.url,o=e.status_code,i=e.body;At().addBreadcrumb({category:"xhr",data:{method:n,url:r,status_code:o},type:"http"},{xhr:t.xhr,input:i})}else;},t.prototype._fetchBreadcrumb=function(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?At().addBreadcrumb({category:"fetch",data:t.fetchData,level:o.Error,type:"http"},{data:t.error,input:t.args}):At().addBreadcrumb({category:"fetch",data:Object(s.d)(Object(s.d)({},t.fetchData),{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})))},t.prototype._historyBreadcrumb=function(t){var e=J(),n=t.from,r=t.to,o=X(e.location.href),i=X(n),s=X(r);i.path||(i=o),o.protocol===s.protocol&&o.host===s.host&&(r=s.relative),o.protocol===i.protocol&&o.host===i.host&&(n=i.relative),At().addBreadcrumb({category:"navigation",data:{from:n,to:r}})},t.id="Breadcrumbs",t}(),De=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._key=e.key||"cause",this._limit=e.limit||5}return t.prototype.setupOnce=function(){Nt((function(e,n){var r=At().getIntegration(t);return r?r._handler(e,n):e}))},t.prototype._handler=function(t,e){if(!(t.exception&&t.exception.values&&e&&b(e.originalException,Error)))return t;var n=this._walkErrorTree(e.originalException,this._key);return t.exception.values=Object(s.e)(n,t.exception.values),t},t.prototype._walkErrorTree=function(t,e,n){if(void 0===n&&(n=[]),!b(t[e],Error)||n.length+1>=this._limit)return n;var r=he(pe(t[e]));return this._walkErrorTree(t[e],e,Object(s.e)([r],n))},t.id="LinkedErrors",t}(),Le=J(),Ce=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){Nt((function(e){var n,r,o;if(At().getIntegration(t)){if(!Le.navigator&&!Le.location&&!Le.document)return e;var i=(null===(n=e.request)||void 0===n?void 0:n.url)||(null===(r=Le.location)||void 0===r?void 0:r.href),a=(Le.document||{}).referrer,c=(Le.navigator||{}).userAgent,u=Object(s.d)(Object(s.d)(Object(s.d)({},null===(o=e.request)||void 0===o?void 0:o.headers),a&&{Referer:a}),c&&{"User-Agent":c}),p=Object(s.d)(Object(s.d)({},i&&{url:i}),{headers:u});return Object(s.d)(Object(s.d)({},e),{request:p})}return e}))},t.id="UserAgent",t}(),Ue=Object.freeze({__proto__:null,GlobalHandlers:Te,TryCatch:Ie,Breadcrumbs:Ne,LinkedErrors:De,UserAgent:Ce}),Ae="5.30.0",Pe=function(t){function e(e){return void 0===e&&(e={}),t.call(this,Oe,e)||this}return Object(s.a)(e,t),e.prototype.showReportDialog=function(t){void 0===t&&(t={}),J().document&&(this._isEnabled()?ke(Object(s.d)(Object(s.d)({},t),{dsn:t.dsn||this.getDsn()})):et.error("Trying to call showReportDialog with Sentry Client disabled"))},e.prototype._prepareEvent=function(e,n,r){return e.platform=e.platform||"javascript",e.sdk=Object(s.d)(Object(s.d)({},e.sdk),{name:"sentry.javascript.browser",packages:Object(s.e)(e.sdk&&e.sdk.packages||[],[{name:"npm:@sentry/browser",version:Ae}]),version:Ae}),t.prototype._prepareEvent.call(this,e,n,r)},e.prototype._sendEvent=function(e){var n=this.getIntegration(Ne);n&&n.addSentryBreadcrumb(e),t.prototype._sendEvent.call(this,e)},e}(zt),Me=[new ee,new Zt,new Ie,new Ne,new Te,new De,new Ce];function Fe(t){if(void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=Me),void 0===t.release){var e=J();e.SENTRY_RELEASE&&e.SENTRY_RELEASE.id&&(t.release=e.SENTRY_RELEASE.id)}void 0===t.autoSessionTracking&&(t.autoSessionTracking=!1),function(t,e){!0===e.debug&&et.enable();var n=At(),r=new t(e);n.bindClient(r)}(Pe,t),t.autoSessionTracking&&function(){var t=J(),e=At(),n="complete"===document.readyState,r=!1,o=function(){r&&n&&e.endSession()},i=function e(){n=!0,o(),t.removeEventListener("load",e)};e.startSession(),n||t.addEventListener("load",i);try{var s=new PerformanceObserver((function(t,e){t.getEntries().forEach((function(t){"first-contentful-paint"===t.name&&t.startTime",op:"react."+e})}(o,"mount");else{var s=Ye();s&&(n._mountSpan=s.startChild({description:"<"+o+">",op:"react.mount"}))}return n}Object(s.a)(e,t),e.prototype.componentDidMount=function(){var t;this._mountSpan?this._mountSpan.finish():(this._mountSpan=function(t){if(null!==t&&null!==We)return We.constructor.getActivitySpan(t)}(this._mountActivity),null!==(t=this._mountActivity)&&null!==We&&We.constructor.popActivity(t),this._mountActivity=null)},e.prototype.componentDidUpdate=function(t){var e=this,n=t.updateProps,r=t.includeUpdates;if((void 0===r||r)&&this._mountSpan&&n!==this.props.updateProps){var o=Object.keys(n).filter((function(t){return n[t]!==e.props.updateProps[t]}));if(o.length>0){var i=Tt();this._mountSpan.startChild({data:{changedProps:o},description:"<"+this.props.name+">",endTimestamp:i,op:"react.update",startTimestamp:i})}}},e.prototype.componentWillUnmount=function(){var t=this.props,e=t.name,n=t.includeRender,r=void 0===n||n;this._mountSpan&&r&&this._mountSpan.startChild({description:"<"+e+">",endTimestamp:Tt(),op:"react.render",startTimestamp:this._mountSpan.endTimestamp})},e.prototype.render=function(){return this.props.children},e.defaultProps={disabled:!1,includeRender:!0,includeUpdates:!0}}(a.a.Component);function Ye(t){if(void 0===t&&(t=At()),t){var e=t.getScope();if(e)return e.getTransaction()}}var Je={componentStack:null,error:null,eventId:null};!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.state=Je,e.resetErrorBoundary=function(){var t=e.props.onReset,n=e.state,r=n.error,o=n.componentStack,i=n.eventId;t&&t(r,o,i),e.setState(Je)},e}Object(s.a)(e,t),e.prototype.componentDidCatch=function(t,e){var n=this,r=e.componentStack,o=this.props,i=o.beforeCapture,a=o.onError,c=o.showDialog,u=o.dialogOptions;Wt((function(e){i&&i(e,t,r);var o=Bt(t,{contexts:{react:{componentStack:r}}});a&&a(t,r,o),c&&function(t){void 0===t&&(t={}),t.eventId||(t.eventId=At().lastEventId());var e=At().getClient();e&&e.showReportDialog(t)}(Object(s.d)(Object(s.d)({},u),{eventId:o})),n.setState({error:t,componentStack:r,eventId:o})}))},e.prototype.componentDidMount=function(){var t=this.props.onMount;t&&t()},e.prototype.componentWillUnmount=function(){var t=this.state,e=t.error,n=t.componentStack,r=t.eventId,o=this.props.onUnmount;o&&o(e,n,r)},e.prototype.render=function(){var t=this.props.fallback,e=this.state,n=e.error,r=e.componentStack,o=e.eventId;return n?a.a.isValidElement(t)?t:"function"==typeof t?t({error:n,componentStack:r,resetError:this.resetErrorBoundary,eventId:o}):null:this.props.children}}(a.a.Component);J();J()}).call(this,n(266)(t))}}]);