(window.webpackJsonp=window.webpackJsonp||[]).push([[48],{117:function(t,e,n){"use strict";n.d(e,"a",(function(){return v}));var r=n(1),o=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,c=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,d=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,l=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,f=/\((\S*)(?::(\d+))(?::(\d+))\)/,h=/Minified React error #\d+;/i;function v(t){var e=null,n=0;t&&("number"==typeof t.framesToPop?n=t.framesToPop:h.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,c=n.split("\n"),d=[],line=0;line eval")>-1&&(e=l.exec(n[3]))?(n[1]=n[1]||"eval",n[3]=e[1],n[4]=e[2],n[5]=""):0!==i||n[5]||void 0===t.columnNumber||(r[0].column=t.columnNumber+1),element={url:n[3],func:n[1]||"?",args:n[2]?n[2].split(","):[],line:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}!element.func&&element.line&&(element.func="?"),r.push(element)}if(!r.length)return null;return{message:_(t),name:t.name,stack:r}}(t))return y(e,n)}catch(t){}return{message:_(t),name:t&&t.name,stack:[],failed:!0}}function y(t,e){try{return Object(r.a)(Object(r.a)({},t),{stack:t.stack.slice(e)})}catch(e){return t}}function _(t){var e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}},135:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var r="sentry.javascript.browser",o="5.30.0"},138:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return c}));var r=n(1);function o(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 c(t,e){var n=t.tags||{},o=n.__sentry_samplingMethod,c=n.__sentry_sampleRate,d=Object(r.d)(n,["__sentry_samplingMethod","__sentry_sampleRate"]);t.tags=d;var l="transaction"===t.type,f={body:JSON.stringify(t),type:t.type||"event",url:l?e.getEnvelopeEndpointWithUrlEncodedAuth():e.getStoreEndpointWithUrlEncodedAuth()};if(l){var h=JSON.stringify({event_id:t.event_id,sent_at:(new Date).toISOString()})+"\n"+JSON.stringify({type:t.type,sample_rates:[{id:o,rate:c}]})+"\n"+f.body;f.body=h}return f}},142:function(t,e,n){"use strict";n.d(e,"c",(function(){return d})),n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return f})),n.d(e,"d",(function(){return h}));var r=n(11),o=n(24),c=n(117);function d(t){var e=h(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 l(t,e,n){var d={exception:{values:[{type:Object(r.f)(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:"Non-Error "+(n?"promise rejection":"exception")+" captured with keys: "+Object(o.b)(t)}]},extra:{__serialized__:Object(o.e)(t)}};if(e){var l=h(Object(c.a)(e).stack);d.stacktrace={frames:l}}return d}function f(t){return{exception:{values:[d(t)]}}}function h(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()}},155:function(t,e,n){"use strict";n.d(e,"a",(function(){return v}));var r=n(1),o=n(229),c=n(345),d=n(734),l=n(77),f=n(29),h=n(12),v=function(){function t(t){this.options=t,this._buffer=new d.a(30),this._rateLimits={},this._api=new o.a(this.options.dsn),this.url=this._api.getStoreEndpointWithUrlEncodedAuth()}return t.prototype.sendEvent=function(t){throw new l.a("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,d=t.reject,l=c.a.fromHttpCode(n.status);this._handleRateLimit(r)&&f.a.warn("Too many requests, backing off until: "+this._disabledUntil(e)),l!==c.a.Success?d(n):o({status:l})},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,o,c,d=Date.now(),l=t["x-sentry-rate-limits"],f=t["retry-after"];if(l){try{for(var v=Object(r.f)(l.trim().split(",")),y=v.next();!y.done;y=v.next()){var _=y.value.split(":",2),m=parseInt(_[0],10),O=1e3*(isNaN(m)?60:m);try{for(var j=(o=void 0,Object(r.f)(_[1].split(";"))),E=j.next();!E.done;E=j.next()){var w=E.value;this._rateLimits[w||"all"]=new Date(d+O)}}catch(t){o={error:t}}finally{try{E&&!E.done&&(c=j.return)&&c.call(j)}finally{if(o)throw o.error}}}}catch(t){e={error:t}}finally{try{y&&!y.done&&(n=v.return)&&n.call(v)}finally{if(e)throw e.error}}return!0}return!!f&&(this._rateLimits.all=new Date(d+Object(h.g)(d,f)),!0)},t}()},219:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(345),o=n(62),c=function(){function t(){}return t.prototype.sendEvent=function(t){return o.a.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:r.a.Skipped})},t.prototype.close=function(t){return o.a.resolve(!0)},t}()},220:function(t,e,n){"use strict";n.r(e);var r=n(309);n.d(e,"GlobalHandlers",(function(){return r.a}));var o=n(307);n.d(e,"TryCatch",(function(){return o.a}));var c=n(308);n.d(e,"Breadcrumbs",(function(){return c.a}));var d=n(310);n.d(e,"LinkedErrors",(function(){return d.a}));var l=n(311);n.d(e,"UserAgent",(function(){return l.a}))},226:function(t,e,n){"use strict";n.d(e,"a",(function(){return w}));var r=n(1),o=n(443),c=n(12),d=n(29),l=n(411),f=n(197),h=n(189),v=n(94),y=n(409),_=n(410),m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.prototype.eventFromException=function(t,e){return Object(v.a)(this._options,t,e)},e.prototype.eventFromMessage=function(t,e,n){return void 0===e&&(e=f.a.Info),Object(v.b)(this._options,t,e,n)},e.prototype._setupTransport=function(){if(!this._options.dsn)return t.prototype._setupTransport.call(this);var e=Object(r.a)(Object(r.a)({},this._options.transportOptions),{dsn:this._options.dsn});return this._options.transport?new this._options.transport(e):Object(h.a)()?new y.a(e):new _.a(e)},e}(l.a),O=n(51),j=n(308),E=n(135),w=function(t){function e(e){return void 0===e&&(e={}),t.call(this,m,e)||this}return Object(r.b)(e,t),e.prototype.showReportDialog=function(t){void 0===t&&(t={}),Object(c.e)().document&&(this._isEnabled()?Object(O.a)(Object(r.a)(Object(r.a)({},t),{dsn:t.dsn||this.getDsn()})):d.a.error("Trying to call showReportDialog with Sentry Client disabled"))},e.prototype._prepareEvent=function(e,n,o){return e.platform=e.platform||"javascript",e.sdk=Object(r.a)(Object(r.a)({},e.sdk),{name:E.a,packages:Object(r.e)(e.sdk&&e.sdk.packages||[],[{name:"npm:@sentry/browser",version:E.b}]),version:E.b}),t.prototype._prepareEvent.call(this,e,n,o)},e.prototype._sendEvent=function(e){var n=this.getIntegration(j.a);n&&n.addSentryBreadcrumb(e),t.prototype._sendEvent.call(this,e)},e}(o.a)},229:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(733),o=n(24),c=function(){function t(t){this.dsn=t,this._dsnObject=new r.a(t)}return t.prototype.getDsn=function(){return this._dsnObject},t.prototype.getBaseApiEndpoint=function(){var t=this._dsnObject,e=t.protocol?t.protocol+":":"",n=t.port?":"+t.port:"";return e+"//"+t.host+n+(t.path?"/"+t.path:"")+"/api/"},t.prototype.getStoreEndpoint=function(){return this._getIngestEndpoint("store")},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return this.getStoreEndpoint()+"?"+this._encodedAuth()},t.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return this._getEnvelopeEndpoint()+"?"+this._encodedAuth()},t.prototype.getStoreEndpointPath=function(){var t=this._dsnObject;return(t.path?"/"+t.path:"")+"/api/"+t.projectId+"/store/"},t.prototype.getRequestHeaders=function(t,e){var n=this._dsnObject,header=["Sentry sentry_version=7"];return header.push("sentry_client="+t+"/"+e),header.push("sentry_key="+n.user),n.pass&&header.push("sentry_secret="+n.pass),{"Content-Type":"application/json","X-Sentry-Auth":header.join(", ")}},t.prototype.getReportDialogEndpoint=function(t){void 0===t&&(t={});var e=this._dsnObject,n=this.getBaseApiEndpoint()+"embed/error-page/",r=[];for(var o in r.push("dsn="+e.toString()),t)if("dsn"!==o)if("user"===o){if(!t.user)continue;t.user.name&&r.push("name="+encodeURIComponent(t.user.name)),t.user.email&&r.push("email="+encodeURIComponent(t.user.email))}else r.push(encodeURIComponent(o)+"="+encodeURIComponent(t[o]));return r.length?n+"?"+r.join("&"):n},t.prototype._getEnvelopeEndpoint=function(){return this._getIngestEndpoint("envelope")},t.prototype._getIngestEndpoint=function(t){return""+this.getBaseApiEndpoint()+this._dsnObject.projectId+"/"+t+"/"},t.prototype._encodedAuth=function(){var t={sentry_key:this._dsnObject.user,sentry_version:"7"};return Object(o.f)(t)},t}()},284:function(t,e,n){"use strict";n.r(e);var r=n(155);n.d(e,"BaseTransport",(function(){return r.a}));var o=n(409);n.d(e,"FetchTransport",(function(){return o.a}));var c=n(410);n.d(e,"XHRTransport",(function(){return c.a}))},306:function(t,e,n){"use strict";n.r(e),n.d(e,"Severity",(function(){return o.a})),n.d(e,"Status",(function(){return c.a})),n.d(e,"addGlobalEventProcessor",(function(){return d.b})),n.d(e,"addBreadcrumb",(function(){return l.a})),n.d(e,"captureException",(function(){return l.c})),n.d(e,"captureEvent",(function(){return l.b})),n.d(e,"captureMessage",(function(){return l.d})),n.d(e,"configureScope",(function(){return l.e})),n.d(e,"getHubFromCarrier",(function(){return f.c})),n.d(e,"getCurrentHub",(function(){return f.b})),n.d(e,"Hub",(function(){return f.a})),n.d(e,"makeMain",(function(){return f.d})),n.d(e,"Scope",(function(){return d.a})),n.d(e,"startTransaction",(function(){return l.l})),n.d(e,"setContext",(function(){return l.f})),n.d(e,"setExtra",(function(){return l.g})),n.d(e,"setExtras",(function(){return l.h})),n.d(e,"setTag",(function(){return l.i})),n.d(e,"setTags",(function(){return l.j})),n.d(e,"setUser",(function(){return l.k})),n.d(e,"withScope",(function(){return l.m})),n.d(e,"BrowserClient",(function(){return h.a})),n.d(e,"injectReportDialog",(function(){return v.a})),n.d(e,"eventFromException",(function(){return y.a})),n.d(e,"eventFromMessage",(function(){return y.b})),n.d(e,"defaultIntegrations",(function(){return _.b})),n.d(e,"forceLoad",(function(){return _.d})),n.d(e,"init",(function(){return _.e})),n.d(e,"lastEventId",(function(){return _.f})),n.d(e,"onLoad",(function(){return _.g})),n.d(e,"showReportDialog",(function(){return _.h})),n.d(e,"flush",(function(){return _.c})),n.d(e,"close",(function(){return _.a})),n.d(e,"wrap",(function(){return _.i})),n.d(e,"SDK_NAME",(function(){return m.a})),n.d(e,"SDK_VERSION",(function(){return m.b})),n.d(e,"Integrations",(function(){return k})),n.d(e,"Transports",(function(){return w}));var r=n(1),o=n(197),c=n(345),d=n(161),l=n(42),f=n(33),h=n(226),v=n(51),y=n(94),_=n(81),m=n(135),O=n(43),j=n(12),E=n(220),w=n(284),x={},S=Object(j.e)();S.Sentry&&S.Sentry.Integrations&&(x=S.Sentry.Integrations);var k=Object(r.a)(Object(r.a)(Object(r.a)({},x),O.a),E)},307:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(1),o=n(12),c=n(24),d=n(86),l=n(51),f=["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"],h=function(){function t(e){this.name=t.id,this._options=Object(r.a)({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e)}return t.prototype.setupOnce=function(){var t=Object(o.e)();(this._options.setTimeout&&Object(c.c)(t,"setTimeout",this._wrapTimeFunction.bind(this)),this._options.setInterval&&Object(c.c)(t,"setInterval",this._wrapTimeFunction.bind(this)),this._options.requestAnimationFrame&&Object(c.c)(t,"requestAnimationFrame",this._wrapRAF.bind(this)),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&Object(c.c)(XMLHttpRequest.prototype,"send",this._wrapXHR.bind(this)),this._options.eventTarget)&&(Array.isArray(this._options.eventTarget)?this._options.eventTarget:f).forEach(this._wrapEventTarget.bind(this))},t.prototype._wrapTimeFunction=function(t){return function(){for(var e=[],n=0;n"}0!==e.length&&Object(o.b)().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,c=e.status_code,body=e.body;Object(o.b)().addBreadcrumb({category:"xhr",data:{method:n,url:r,status_code:c},type:"http"},{xhr:t.xhr,input:body})}else;},t.prototype._fetchBreadcrumb=function(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?Object(o.b)().addBreadcrumb({category:"fetch",data:t.fetchData,level:c.a.Error,type:"http"},{data:t.error,input:t.args}):Object(o.b)().addBreadcrumb({category:"fetch",data:Object(r.a)(Object(r.a)({},t.fetchData),{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})))},t.prototype._historyBreadcrumb=function(t){var e=Object(d.e)(),n=t.from,r=t.to,c=Object(d.h)(e.location.href),l=Object(d.h)(n),f=Object(d.h)(r);l.path||(l=c),c.protocol===f.protocol&&c.host===f.host&&(r=f.relative),c.protocol===l.protocol&&c.host===l.host&&(n=l.relative),Object(o.b)().addBreadcrumb({category:"navigation",data:{from:n,to:r}})},t.id="Breadcrumbs",t}()},309:function(t,e,n){"use strict";n.d(e,"a",(function(){return _}));var r=n(1),o=n(33),c=n(197),d=n(29),l=n(147),f=n(11),h=n(12),v=n(94),y=n(51),_=function(){function t(e){this.name=t.id,this._onErrorHandlerInstalled=!1,this._onUnhandledRejectionHandlerInstalled=!1,this._options=Object(r.a)({onerror:!0,onunhandledrejection:!0},e)}return t.prototype.setupOnce=function(){Error.stackTraceLimit=50,this._options.onerror&&(d.a.log("Global Handler attached: onerror"),this._installGlobalOnErrorHandler()),this._options.onunhandledrejection&&(d.a.log("Global Handler attached: onunhandledrejection"),this._installGlobalOnUnhandledRejectionHandler())},t.prototype._installGlobalOnErrorHandler=function(){var e=this;this._onErrorHandlerInstalled||(Object(l.a)({callback:function(data){var n=data.error,r=Object(o.b)(),c=r.getIntegration(t),d=n&&!0===n.__sentry_own_request__;if(c&&!Object(y.b)()&&!d){var l=r.getClient(),_=Object(f.i)(n)?e._eventFromIncompleteOnError(data.msg,data.url,data.line,data.column):e._enhanceEventWithInitialFrame(Object(v.c)(n,void 0,{attachStacktrace:l&&l.getOptions().attachStacktrace,rejection:!1}),data.url,data.line,data.column);Object(h.a)(_,{handled:!1,type:"onerror"}),r.captureEvent(_,{originalException:n})}},type:"error"}),this._onErrorHandlerInstalled=!0)},t.prototype._installGlobalOnUnhandledRejectionHandler=function(){var e=this;this._onUnhandledRejectionHandlerInstalled||(Object(l.a)({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 d=Object(o.b)(),l=d.getIntegration(t),_=r&&!0===r.__sentry_own_request__;if(!l||Object(y.b)()||_)return!0;var m=d.getClient(),O=Object(f.i)(r)?e._eventFromRejectionWithPrimitive(r):Object(v.c)(r,void 0,{attachStacktrace:m&&m.getOptions().attachStacktrace,rejection:!0});O.level=c.a.Error,Object(h.a)(O,{handled:!1,type:"onunhandledrejection"}),d.captureEvent(O,{originalException:r})},type:"unhandledrejection"}),this._onUnhandledRejectionHandlerInstalled=!0)},t.prototype._eventFromIncompleteOnError=function(t,e,line,n){var r,o=Object(f.e)(t)?t.message:t;if(Object(f.k)(o)){var c=o.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);c&&(r=c[1],o=c[2])}var d={exception:{values:[{type:r||"Error",value:o}]}};return this._enhanceEventWithInitialFrame(d,e,line,n)},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,line,n){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 r=isNaN(parseInt(n,10))?void 0:n,o=isNaN(parseInt(line,10))?void 0:line,c=Object(f.k)(e)&&e.length>0?e:Object(h.f)();return 0===t.exception.values[0].stacktrace.frames.length&&t.exception.values[0].stacktrace.frames.push({colno:r,filename:c,function:"?",in_app:!0,lineno:o}),t},t.id="GlobalHandlers",t}()},310:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(1),o=n(161),c=n(33),d=n(11),l=n(142),f=n(117),h=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(){Object(o.b)((function(e,n){var r=Object(c.b)().getIntegration(t);return r?r._handler(e,n):e}))},t.prototype._handler=function(t,e){if(!(t.exception&&t.exception.values&&e&&Object(d.g)(e.originalException,Error)))return t;var n=this._walkErrorTree(e.originalException,this._key);return t.exception.values=Object(r.e)(n,t.exception.values),t},t.prototype._walkErrorTree=function(t,e,n){if(void 0===n&&(n=[]),!Object(d.g)(t[e],Error)||n.length+1>=this._limit)return n;var o=Object(f.a)(t[e]),c=Object(l.c)(o);return this._walkErrorTree(t[e],e,Object(r.e)([c],n))},t.id="LinkedErrors",t}()},311:function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(1),o=n(161),c=n(33),d=n(12),l=Object(d.e)(),f=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){Object(o.b)((function(e){var n,o,d;if(Object(c.b)().getIntegration(t)){if(!l.navigator&&!l.location&&!l.document)return e;var f=(null===(n=e.request)||void 0===n?void 0:n.url)||(null===(o=l.location)||void 0===o?void 0:o.href),h=(l.document||{}).referrer,v=(l.navigator||{}).userAgent,y=Object(r.a)(Object(r.a)(Object(r.a)({},null===(d=e.request)||void 0===d?void 0:d.headers),h&&{Referer:h}),v&&{"User-Agent":v}),_=Object(r.a)(Object(r.a)({},f&&{url:f}),{headers:y});return Object(r.a)(Object(r.a)({},e),{request:_})}return e}))},t.id="UserAgent",t}()},312:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(33),o=n(29);function c(t,e){!0===e.debug&&o.a.enable();var n=Object(r.b)(),c=new t(e);n.bindClient(c)}},409:function(t,e,n){"use strict";n.d(e,"a",(function(){return v}));var r=n(1),o=n(138),c=n(12),d=n(189),l=n(62),f=n(155),h=Object(c.e)(),v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.prototype.sendEvent=function(t){return this._sendRequest(Object(o.a)(t,this._api),t)},e.prototype.sendSession=function(t){return this._sendRequest(Object(o.b)(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:Object(d.d)()?"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 l.a((function(e,o){h.fetch(t.url,r).then((function(r){var c={"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:c,resolve:e,reject:o})})).catch(o)})))},e}(f.a)},410:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var r=n(1),o=n(138),c=n(62),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.prototype.sendEvent=function(t){return this._sendRequest(Object(o.a)(t,this._api),t)},e.prototype.sendSession=function(t){return this._sendRequest(Object(o.b)(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 c.a((function(e,r){var o=new XMLHttpRequest;for(var header in o.onreadystatechange=function(){if(4===o.readyState){var c={"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")};n._handleResponse({requestType:t.type,response:o,headers:c,resolve:e,reject:r})}},o.open("POST",t.url),n.options.headers)n.options.headers.hasOwnProperty(header)&&o.setRequestHeader(header,n.options.headers[header]);o.send(t.body)})))},e}(n(155).a)},411:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var r=n(29),o=n(77),c=n(219),d=function(){function t(t){this._options=t,this._options.dsn||r.a.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return t.prototype.eventFromException=function(t,e){throw new o.a("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,e,n){throw new o.a("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){this._transport.sendEvent(t).then(null,(function(t){r.a.error("Error while sending event: "+t)}))},t.prototype.sendSession=function(t){this._transport.sendSession?this._transport.sendSession(t).then(null,(function(t){r.a.error("Error while sending session: "+t)})):r.a.warn("Dropping session because custom transport doesn't implement sendSession")},t.prototype.getTransport=function(){return this._transport},t.prototype._setupTransport=function(){return new c.a},t}()},43:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r,o={};n.r(o),n.d(o,"FunctionToString",(function(){return c})),n.d(o,"InboundFilters",(function(){return m}));var c=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){r=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],e=0;e=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 c=this,d=this.getOptions().normalizeDepth,l=void 0===d?3:d,f=Object(r.a)(Object(r.a)({},t),{event_id:t.event_id||(n&&n.event_id?n.event_id:Object(v.i)()),timestamp:t.timestamp||Object(time.a)()});this._applyClientOptions(f),this._applyIntegrationsMetadata(f);var y=e;n&&n.captureContext&&(y=o.a.clone(y).update(n.captureContext));var _=h.a.resolve(f);return y&&(_=y.applyToEvent(f,n)),_.then((function(t){return"number"==typeof l&&l>0?c._normalizeEvent(t,l):t}))},t.prototype._normalizeEvent=function(t,e){if(!t)return null;var n=Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((function(b){return Object(r.a)(Object(r.a)({},b),b.data&&{data:Object(object.d)(b.data,e)})}))}),t.user&&{user:Object(object.d)(t.user,e)}),t.contexts&&{contexts:Object(object.d)(t.contexts,e)}),t.extra&&{extra:Object(object.d)(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,c=e.maxValueLength,d=void 0===c?250:c;"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=Object(y.d)(t.message,d));var l=t.exception&&t.exception.values&&t.exception.values[0];l&&l.value&&(l.value=Object(y.d)(l.value,d));var f=t.request;f&&f.url&&(f.url=Object(y.d)(f.url,d))},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){f.a.error(t)}))},t.prototype._processEvent=function(t,e,n){var r=this,o=this.getOptions(),c=o.beforeSend,d=o.sampleRate;if(!this._isEnabled())return h.a.reject(new _.a("SDK not enabled, will not send event."));var f="transaction"===t.type;return!f&&"number"==typeof d&&Math.random()>d?h.a.reject(new _.a("Discarding event because it's not included in the random sample (sampling rate = "+d+")")):this._prepareEvent(t,n,e).then((function(t){if(null===t)throw new _.a("An event processor returned null, will not send event.");if(e&&e.data&&!0===e.data.__sentry__||f||!c)return t;var n=c(t,e);if(void 0===n)throw new _.a("`beforeSend` method has to return `null` or a valid event.");return Object(l.m)(n)?n.then((function(t){return t}),(function(t){throw new _.a("beforeSend rejected with "+t)})):n})).then((function(t){if(null===t)throw new _.a("`beforeSend` returned `null`, will not send event.");var e=n&&n.getSession&&n.getSession();return!f&&e&&r._updateSessionFromEvent(e,t),r._sendEvent(t),t})).then(null,(function(t){if(t instanceof _.a)throw t;throw r.captureException(t,{data:{__sentry__:!0},originalException:t}),new _.a("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}()},51:function(t,e,n){"use strict";n.d(e,"b",(function(){return h})),n.d(e,"c",(function(){return y})),n.d(e,"a",(function(){return _}));var r=n(1),o=n(42),c=n(229),d=n(12),l=n(29),f=0;function h(){return f>0}function v(){f+=1,setTimeout((function(){f-=1}))}function y(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 c=function(){var c=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);var l=c.map((function(t){return y(t,e)}));return t.handleEvent?t.handleEvent.apply(this,l):t.apply(this,l)}catch(t){throw v(),Object(o.m)((function(n){n.addEventProcessor((function(t){var n=Object(r.a)({},t);return e.mechanism&&(Object(d.b)(n,void 0,void 0),Object(d.a)(n,e.mechanism)),n.extra=Object(r.a)(Object(r.a)({},n.extra),{arguments:c}),n})),Object(o.c)(t)})),t}};try{for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(c[l]=t[l])}catch(t){}t.prototype=t.prototype||{},c.prototype=t.prototype,Object.defineProperty(t,"__sentry_wrapped__",{enumerable:!1,value:c}),Object.defineProperties(c,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:t}});try{Object.getOwnPropertyDescriptor(c,"name").configurable&&Object.defineProperty(c,"name",{get:function(){return t.name}})}catch(t){}return c}function _(t){if(void 0===t&&(t={}),t.eventId)if(t.dsn){var script=document.createElement("script");script.async=!0,script.src=new c.a(t.dsn).getReportDialogEndpoint(t),t.onLoad&&(script.onload=t.onLoad),(document.head||document.body).appendChild(script)}else l.a.error("Missing dsn option in showReportDialog call");else l.a.error("Missing eventId option in showReportDialog call")}},81:function(t,e,n){"use strict";n.d(e,"b",(function(){return j})),n.d(e,"e",(function(){return E})),n.d(e,"h",(function(){return w})),n.d(e,"f",(function(){return x})),n.d(e,"d",(function(){return S})),n.d(e,"g",(function(){return k})),n.d(e,"c",(function(){return I})),n.d(e,"a",(function(){return R})),n.d(e,"i",(function(){return T}));var r=n(43),o=n(312),c=n(33),d=n(12),l=n(62),f=n(226),h=n(51),v=n(307),y=n(308),_=n(309),m=n(310),O=n(311),j=[new r.a.InboundFilters,new r.a.FunctionToString,new v.a,new y.a,new _.a,new m.a,new O.a];function E(t){if(void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=j),void 0===t.release){var e=Object(d.e)();e.SENTRY_RELEASE&&e.SENTRY_RELEASE.id&&(t.release=e.SENTRY_RELEASE.id)}void 0===t.autoSessionTracking&&(t.autoSessionTracking=!1),Object(o.a)(f.a,t),t.autoSessionTracking&&function(){var t=Object(d.e)(),e=Object(c.b)(),n="complete"===document.readyState,r=!1,o=function(){r&&n&&e.endSession()},l=function(){n=!0,o(),t.removeEventListener("load",l)};e.startSession(),n||t.addEventListener("load",l);try{var f=new PerformanceObserver((function(t,e){t.getEntries().forEach((function(t){"first-contentful-paint"===t.name&&t.startTime