File manager - Edit - /opt/flussonic/wwwroot/flu/player/sentry.ba6d63bf3213ba56553b.js
Back
(this.webpackJsonpLivePlayer=this.webpackJsonpLivePlayer||[]).push([[5],{13:function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"e",(function(){return s})),n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return c})),n.d(e,"l",(function(){return u})),n.d(e,"j",(function(){return f})),n.d(e,"i",(function(){return p})),n.d(e,"f",(function(){return d})),n.d(e,"c",(function(){return l})),n.d(e,"k",(function(){return h})),n.d(e,"n",(function(){return v})),n.d(e,"m",(function(){return b})),n.d(e,"h",(function(){return _})),n.d(e,"g",(function(){return y}));var r=Object.prototype.toString;function i(t){switch(r.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return y(t,Error)}}function o(t,e){return r.call(t)==="[object "+e+"]"}function s(t){return o(t,"ErrorEvent")}function a(t){return o(t,"DOMError")}function c(t){return o(t,"DOMException")}function u(t){return o(t,"String")}function f(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function p(t){return o(t,"Object")}function d(t){return"undefined"!=typeof Event&&y(t,Event)}function l(t){return"undefined"!=typeof Element&&y(t,Element)}function h(t){return o(t,"RegExp")}function v(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function b(t){return p(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function _(t){return"number"==typeof t&&t!=t}function y(t,e){try{return t instanceof e}catch(t){return!1}}},199:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return a}));var r=n(20),i=n(13);function o(t,e){try{for(var n=t,r=[],i=0,o=0,a=void 0;n&&i++<5&&!("html"===(a=s(n,e))||i>1&&o+3*r.length+a.length>=80);)r.push(a),o+=a.length,n=n.parentNode;return r.reverse().join(" > ")}catch(t){return"<unknown>"}}function s(t,e){var n,r,o,s,a,c=t,u=[];if(!c||!c.tagName)return"";u.push(c.tagName.toLowerCase());var f=e&&e.length?e.filter((function(t){return c.getAttribute(t)})).map((function(t){return[t,c.getAttribute(t)]})):null;if(f&&f.length)f.forEach((function(t){u.push("["+t[0]+'="'+t[1]+'"]')}));else if(c.id&&u.push("#"+c.id),(n=c.className)&&Object(i.l)(n))for(r=n.split(/\s+/),a=0;a<r.length;a++)u.push("."+r[a]);var p=["type","name","title","alt"];for(a=0;a<p.length;a++)o=p[a],(s=c.getAttribute(o))&&u.push("["+o+'="'+s+'"]');return u.join("")}function a(){var t=Object(r.a)();try{return t.document.location.href}catch(t){return""}}},20:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return s}));var r=n(71),i={};function o(){return Object(r.b)()?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:i}function s(t,e,n){var r=n||o(),i=r.__SENTRY__=r.__SENTRY__||{};return i[t]||(i[t]=e())}}).call(this,n(31))},200:function(t,e,n){"use strict";function r(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}n.d(e,"a",(function(){return r}))},201:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(203),i=n(72),o=n(23),s=function(){function t(t){this.errors=0,this.sid=Object(r.f)(),this.duration=0,this.status="ok",this.init=!0,this.ignoreDuration=!1;var e=Object(i.b)();this.timestamp=e,this.started=e,t&&this.update(t)}return t.prototype.update=function(t){if(void 0===t&&(t={}),t.user&&(!this.ipAddress&&t.user.ip_address&&(this.ipAddress=t.user.ip_address),this.did||t.did||(this.did=t.user.id||t.user.email||t.user.username)),this.timestamp=t.timestamp||Object(i.b)(),t.ignoreDuration&&(this.ignoreDuration=t.ignoreDuration),t.sid&&(this.sid=32===t.sid.length?t.sid:Object(r.f)()),void 0!==t.init&&(this.init=t.init),!this.did&&t.did&&(this.did=""+t.did),"number"==typeof t.started&&(this.started=t.started),this.ignoreDuration)this.duration=void 0;else if("number"==typeof t.duration)this.duration=t.duration;else{var e=this.timestamp-this.started;this.duration=e>=0?e:0}t.release&&(this.release=t.release),t.environment&&(this.environment=t.environment),!this.ipAddress&&t.ipAddress&&(this.ipAddress=t.ipAddress),!this.userAgent&&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}):"ok"===this.status?this.update({status:"exited"}):this.update()},t.prototype.toJSON=function(){return Object(o.c)({sid:""+this.sid,init:this.init,started:new Date(1e3*this.started).toISOString(),timestamp:new Date(1e3*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:{release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent}})},t}()},202:function(t,e,n){"use strict";function r(){var t="function"==typeof WeakSet,e=t?new WeakSet:[];return[function(n){if(t)return!!e.has(n)||(e.add(n),!1);for(var r=0;r<e.length;r++){if(e[r]===n)return!0}return e.push(n),!1},function(n){if(t)e.delete(n);else for(var r=0;r<e.length;r++)if(e[r]===n){e.splice(r,1);break}}]}n.d(e,"a",(function(){return r}))},203:function(t,e,n){"use strict";n.d(e,"f",(function(){return s})),n.d(e,"e",(function(){return a})),n.d(e,"d",(function(){return u})),n.d(e,"b",(function(){return f})),n.d(e,"a",(function(){return p})),n.d(e,"c",(function(){return d}));var r=n(0),i=n(20),o=n(23);n(54);function s(){var t=Object(i.a)(),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 a(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 c(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function u(t){var e=t.message,n=t.event_id;if(e)return e;var r=c(t);return r?r.type&&r.value?r.type+": "+r.value:r.type||r.value||n||"<unknown>":n||"<unknown>"}function f(t,e,n){var r=t.exception=t.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=e||""),o.type||(o.type=n||"Error")}function p(t,e){var n=c(t);if(n){var i=n.mechanism;if(n.mechanism=Object(r.a)(Object(r.a)(Object(r.a)({},{type:"generic",handled:!0}),i),e),e&&"data"in e){var o=Object(r.a)(Object(r.a)({},i&&i.data),e.data);n.mechanism.data=o}}}function d(t){if(t&&t.__sentry_captured__)return!0;try{Object(o.a)(t,"__sentry_captured__",!0)}catch(t){}return!1}},22:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return a}));var r=n(0),i=n(409);function o(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var o=Object(i.a)();if(o&&o[t])return o[t].apply(o,Object(r.d)(e));throw new Error("No hub defined or "+t+" was not found on the hub, please open a bug report.")}function s(t,e){return o("captureException",t,{captureContext:e,originalException:t,syntheticException:new Error("Sentry syntheticException")})}function a(t){o("withScope",t)}},23:function(t,e,n){"use strict";n.d(e,"e",(function(){return a})),n.d(e,"a",(function(){return c})),n.d(e,"g",(function(){return u})),n.d(e,"f",(function(){return f})),n.d(e,"h",(function(){return p})),n.d(e,"b",(function(){return d})),n.d(e,"d",(function(){return v})),n.d(e,"c",(function(){return b}));var r=n(0),i=n(199),o=n(13),s=n(54);function a(t,e,n){if(e in t){var r=t[e],i=n(r);if("function"==typeof i)try{u(i,r)}catch(t){}t[e]=i}}function c(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}function u(t,e){var n=e.prototype||{};t.prototype=e.prototype=n,c(t,"__sentry_original__",e)}function f(t){return t.__sentry_original__}function p(t){return Object.keys(t).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])})).join("&")}function d(t){var e=t;if(Object(o.d)(t))e=Object(r.a)({message:t.message,name:t.name,stack:t.stack},h(t));else if(Object(o.f)(t)){var n=t;e=Object(r.a)({type:n.type,target:l(n.target),currentTarget:l(n.currentTarget)},h(n)),"undefined"!=typeof CustomEvent&&Object(o.g)(t,CustomEvent)&&(e.detail=n.detail)}return e}function l(t){try{return Object(o.c)(t)?Object(i.b)(t):Object.prototype.toString.call(t)}catch(t){return"<unknown>"}}function h(t){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function v(t,e){void 0===e&&(e=40);var n=Object.keys(d(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return Object(s.d)(n[0],e);for(var r=n.length;r>0;r--){var i=n.slice(0,r).join(", ");if(!(i.length>e))return r===n.length?i:Object(s.d)(i,e)}return""}function b(t){var e,n;if(Object(o.i)(t)){var i={};try{for(var s=Object(r.e)(Object.keys(t)),a=s.next();!a.done;a=s.next()){var c=a.value;void 0!==t[c]&&(i[c]=b(t[c]))}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}return i}return Array.isArray(t)?t.map(b):t}},36:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},408:function(t,e,n){"use strict";n.d(e,"a",(function(){return Ae}));var r={};n.r(r),n.d(r,"FunctionToString",(function(){return a})),n.d(r,"InboundFilters",(function(){return l}));var i,o=n(0),s=n(23),a=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){i=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Object(s.f)(this)||this;return i.apply(n,t)}},t.id="FunctionToString",t}(),c=n(64),u=n(203),f=n(54),p="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,d=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],l=function(){function t(e){void 0===e&&(e={}),this._options=e,this.name=t.id}return t.prototype.setupOnce=function(e,n){e((function(e){var r=n();if(r){var i=r.getIntegration(t);if(i){var s=r.getClient(),a=s?s.getOptions():{},l=function(t,e){void 0===t&&(t={});void 0===e&&(e={});return{allowUrls:Object(o.d)(t.whitelistUrls||[],t.allowUrls||[],e.whitelistUrls||[],e.allowUrls||[]),denyUrls:Object(o.d)(t.blacklistUrls||[],t.denyUrls||[],e.blacklistUrls||[],e.denyUrls||[]),ignoreErrors:Object(o.d)(t.ignoreErrors||[],e.ignoreErrors||[],d),ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(i._options,a);return function(t,e){if(e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t))return p&&c.c.warn("Event dropped due to being internal Sentry Error.\nEvent: "+Object(u.d)(t)),!0;if(function(t,e){if(!e||!e.length)return!1;return function(t){if(t.message)return[t.message];if(t.exception)try{var e=t.exception.values&&t.exception.values[0]||{},n=e.type,r=void 0===n?"":n,i=e.value,o=void 0===i?"":i;return[""+o,r+": "+o]}catch(e){return p&&c.c.error("Cannot extract message for event "+Object(u.d)(t)),[]}return[]}(t).some((function(t){return e.some((function(e){return Object(f.a)(t,e)}))}))}(t,e.ignoreErrors))return p&&c.c.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+Object(u.d)(t)),!0;if(function(t,e){if(!e||!e.length)return!1;var n=v(t);return!!n&&e.some((function(t){return Object(f.a)(n,t)}))}(t,e.denyUrls))return p&&c.c.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+Object(u.d)(t)+".\nUrl: "+v(t)),!0;if(!function(t,e){if(!e||!e.length)return!0;var n=v(t);return!n||e.some((function(t){return Object(f.a)(n,t)}))}(t,e.allowUrls))return p&&c.c.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+Object(u.d)(t)+".\nUrl: "+v(t)),!0;return!1}(e,l)?null:e}}return e}))},t.id="InboundFilters",t}();function h(t){void 0===t&&(t=[]);for(var e=t.length-1;e>=0;e--){var n=t[e];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}function v(t){try{if(t.stacktrace)return h(t.stacktrace.frames);var e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?h(e):null}catch(e){return p&&c.c.error("Cannot extract url for event "+Object(u.d)(t)),null}}var b=n(409);var _=n(20),y=n(73),g=n(36),m=n(13),O=n(92);function j(){if(!("fetch"in Object(_.a)()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function x(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function E(){if(!j())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(t){return!1}}var S,w=Object(_.a)(),k={},T={};function R(t){if(!T[t])switch(T[t]=!0,t){case"console":!function(){if(!("console"in w))return;c.a.forEach((function(t){t in w.console&&Object(s.e)(w.console,t,(function(e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];D("console",{args:n,level:t}),e&&e.apply(w.console,n)}}))}))}();break;case"dom":!function(){if(!("document"in w))return;var t=D.bind(null,"dom"),e=q(t,!0);w.document.addEventListener("click",e,!1),w.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach((function(e){var n=w[e]&&w[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Object(s.e)(n,"addEventListener",(function(e){return function(n,r,i){if("click"===n||"keypress"==n)try{var o=this,s=o.__sentry_instrumentation_handlers__=o.__sentry_instrumentation_handlers__||{},a=s[n]=s[n]||{refCount:0};if(!a.handler){var c=q(t);a.handler=c,e.call(this,n,c,i)}a.refCount+=1}catch(t){}return e.call(this,n,r,i)}})),Object(s.e)(n,"removeEventListener",(function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{var i=this,o=i.__sentry_instrumentation_handlers__||{},s=o[e];s&&(s.refCount-=1,s.refCount<=0&&(t.call(this,e,s.handler,r),s.handler=void 0,delete o[e]),0===Object.keys(o).length&&delete i.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,n,r)}})))}))}();break;case"xhr":!function(){if(!("XMLHttpRequest"in w))return;var t=XMLHttpRequest.prototype;Object(s.e)(t,"open",(function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=this,i=e[1],o=r.__sentry_xhr__={method:Object(m.l)(e[0])?e[0].toUpperCase():e[0],url:e[1]};Object(m.l)(i)&&"POST"===o.method&&i.match(/sentry_key/)&&(r.__sentry_own_request__=!0);var a=function(){if(4===r.readyState){try{o.status_code=r.status}catch(t){}D("xhr",{args:e,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:r})}};return"onreadystatechange"in r&&"function"==typeof r.onreadystatechange?Object(s.e)(r,"onreadystatechange",(function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return a(),t.apply(r,e)}})):r.addEventListener("readystatechange",a),t.apply(r,e)}})),Object(s.e)(t,"send",(function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return this.__sentry_xhr__&&void 0!==e[0]&&(this.__sentry_xhr__.body=e[0]),D("xhr",{args:e,startTimestamp:Date.now(),xhr:this}),t.apply(this,e)}}))}();break;case"fetch":!function(){if(!function(){if(!j())return!1;var t=Object(_.a)();if(x(t.fetch))return!0;var e=!1,n=t.document;if(n&&"function"==typeof n.createElement)try{var r=n.createElement("iframe");r.hidden=!0,n.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(e=x(r.contentWindow.fetch)),n.head.removeChild(r)}catch(t){g.a&&c.c.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return e}())return;Object(s.e)(w,"fetch",(function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r={args:e,fetchData:{method:L(e),url:I(e)},startTimestamp:Date.now()};return D("fetch",Object(o.a)({},r)),t.apply(w,e).then((function(t){return D("fetch",Object(o.a)(Object(o.a)({},r),{endTimestamp:Date.now(),response:t})),t}),(function(t){throw D("fetch",Object(o.a)(Object(o.a)({},r),{endTimestamp:Date.now(),error:t})),t}))}}))}();break;case"history":!function(){if(t=Object(_.a)(),e=t.chrome,n=e&&e.app&&e.app.runtime,r="history"in t&&!!t.history.pushState&&!!t.history.replaceState,n||!r)return;var t,e,n,r;var i=w.onpopstate;function o(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e.length>2?e[2]:void 0;if(r){var i=S,o=String(r);S=o,D("history",{from:i,to:o})}return t.apply(this,e)}}w.onpopstate=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=w.location.href,r=S;if(S=n,D("history",{from:r,to:n}),i)try{return i.apply(this,t)}catch(t){}},Object(s.e)(w.history,"pushState",o),Object(s.e)(w.history,"replaceState",o)}();break;case"error":U=w.onerror,w.onerror=function(t,e,n,r,i){return D("error",{column:r,error:i,line:n,msg:t,url:e}),!!U&&U.apply(this,arguments)};break;case"unhandledrejection":A=w.onunhandledrejection,w.onunhandledrejection=function(t){return D("unhandledrejection",t),!A||A.apply(this,arguments)};break;default:return void(g.a&&c.c.warn("unknown instrumentation type:",t))}}function N(t,e){k[t]=k[t]||[],k[t].push(e),R(t)}function D(t,e){var n,r;if(t&&k[t])try{for(var i=Object(o.e)(k[t]||[]),s=i.next();!s.done;s=i.next()){var a=s.value;try{a(e)}catch(e){g.a&&c.c.error("Error while triggering instrumentation handler.\nType: "+t+"\nName: "+Object(O.b)(a)+"\nError:",e)}}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}function L(t){return void 0===t&&(t=[]),"Request"in w&&Object(m.g)(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():"GET"}function I(t){return void 0===t&&(t=[]),"string"==typeof t[0]?t[0]:"Request"in w&&Object(m.g)(t[0],Request)?t[0].url:String(t[0])}var P,C,M=1e3;function q(t,e){return void 0===e&&(e=!1),function(n){if(n&&C!==n&&!function(t){if("keypress"!==t.type)return!1;try{var e=t.target;if(!e||!e.tagName)return!0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return!1}catch(t){}return!0}(n)){var r="keypress"===n.type?"input":n.type;(void 0===P||function(t,e){if(!t)return!0;if(t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch(t){}return!1}(C,n))&&(t({event:n,name:r,global:e}),C=n),clearTimeout(P),P=w.setTimeout((function(){P=void 0}),M)}}}var U=null;var A=null;var B="6.19.7",F=n(94),z=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){return t.__proto__=e,t}:function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n]);return t});var H=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,z(r,n.prototype),r}return Object(o.b)(e,t),e}(Error),Y=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function W(t,e){void 0===e&&(e=!1);var n=t.host,r=t.path,i=t.pass,o=t.port,s=t.projectId;return t.protocol+"://"+t.publicKey+(e&&i?":"+i:"")+"@"+n+(o?":"+o:"")+"/"+(r?r+"/":r)+s}function J(t){return"user"in t&&!("publicKey"in t)&&(t.publicKey=t.user),{user:t.publicKey||"",protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function X(t){var e="string"==typeof t?function(t){var e=Y.exec(t);if(!e)throw new H("Invalid Sentry Dsn: "+t);var n=Object(o.c)(e.slice(1),6),r=n[0],i=n[1],s=n[2],a=void 0===s?"":s,c=n[3],u=n[4],f=void 0===u?"":u,p="",d=n[5],l=d.split("/");if(l.length>1&&(p=l.slice(0,-1).join("/"),d=l.pop()),d){var h=d.match(/^\d+/);h&&(d=h[0])}return J({host:c,pass:a,path:p,projectId:d,port:f,protocol:r,publicKey:i})}(t):J(t);return function(t){if(g.a){var e=t.port,n=t.projectId,r=t.protocol;if(["protocol","publicKey","host","projectId"].forEach((function(e){if(!t[e])throw new H("Invalid Sentry Dsn: "+e+" missing")})),!n.match(/^\d+$/))throw new H("Invalid Sentry Dsn: Invalid projectId "+n);if(!function(t){return"http"===t||"https"===t}(r))throw new H("Invalid Sentry Dsn: Invalid protocol "+r);if(e&&isNaN(parseInt(e,10)))throw new H("Invalid Sentry Dsn: Invalid port "+e)}}(e),e}var K=n(72),G=n(412),$=[];function V(t){return t.reduce((function(t,e){return t.every((function(t){return e.name!==t.name}))&&t.push(e),t}),[])}function Q(t){var e={};return function(t){var e=t.defaultIntegrations&&Object(o.d)(t.defaultIntegrations)||[],n=t.integrations,r=Object(o.d)(V(e));Array.isArray(n)?r=Object(o.d)(r.filter((function(t){return n.every((function(e){return e.name!==t.name}))})),V(n)):"function"==typeof n&&(r=n(r),r=Array.isArray(r)?r:[r]);var i=r.map((function(t){return t.name})),s="Debug";return-1!==i.indexOf(s)&&r.push.apply(r,Object(o.d)(r.splice(i.indexOf(s),1))),r}(t).forEach((function(t){e[t.name]=t,function(t){-1===$.indexOf(t.name)&&(t.setupOnce(F.b,b.a),$.push(t.name),p&&c.c.log("Integration installed: "+t.name))}(t)})),Object(s.a)(e,"initialized",!0),e}var Z="Not capturing exception because it's already been captured.",tt=function(){function t(t,e){this._integrations={},this._numProcessing=0,this._backend=new t(e),this._options=e,e.dsn&&(this._dsn=X(e.dsn))}return t.prototype.captureException=function(t,e,n){var r=this;if(!Object(u.c)(t)){var i=e&&e.event_id;return this._process(this._getBackend().eventFromException(t,e).then((function(t){return r._captureEvent(t,e,n)})).then((function(t){i=t}))),i}p&&c.c.log(Z)},t.prototype.captureMessage=function(t,e,n,r){var i=this,o=n&&n.event_id,s=Object(m.j)(t)?this._getBackend().eventFromMessage(String(t),e,n):this._getBackend().eventFromException(t,n);return this._process(s.then((function(t){return i._captureEvent(t,n,r)})).then((function(t){o=t}))),o},t.prototype.captureEvent=function(t,e,n){if(!(e&&e.originalException&&Object(u.c)(e.originalException))){var r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then((function(t){r=t}))),r}p&&c.c.log(Z)},t.prototype.captureSession=function(t){this._isEnabled()?"string"!=typeof t.release?p&&c.c.warn("Discarded session because of missing or non-string release"):(this._sendSession(t),t.update({init:!1})):p&&c.c.warn("SDK not enabled, will not capture session.")},t.prototype.getDsn=function(){return this._dsn},t.prototype.getOptions=function(){return this._options},t.prototype.getTransport=function(){return this._getBackend().getTransport()},t.prototype.flush=function(t){var e=this;return this._isClientDoneProcessing(t).then((function(n){return e.getTransport().close(t).then((function(t){return n&&t}))}))},t.prototype.close=function(t){var e=this;return this.flush(t).then((function(t){return e.getOptions().enabled=!1,t}))},t.prototype.setupIntegrations=function(){this._isEnabled()&&!this._integrations.initialized&&(this._integrations=Q(this._options))},t.prototype.getIntegration=function(t){try{return this._integrations[t.id]||null}catch(e){return p&&c.c.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t.prototype._updateSessionFromEvent=function(t,e){var n,r,i=!1,s=!1,a=e.exception&&e.exception.values;if(a){s=!0;try{for(var c=Object(o.e)(a),u=c.next();!u.done;u=c.next()){var f=u.value.mechanism;if(f&&!1===f.handled){i=!0;break}}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}var p="ok"===t.status;(p&&0===t.errors||p&&i)&&(t.update(Object(o.a)(Object(o.a)({},i&&{status:"crashed"}),{errors:t.errors||Number(s||i)})),this.captureSession(t))},t.prototype._sendSession=function(t){this._getBackend().sendSession(t)},t.prototype._isClientDoneProcessing=function(t){var e=this;return new y.a((function(n){var r=0,i=setInterval((function(){0==e._numProcessing?(clearInterval(i),n(!0)):(r+=1,t&&r>=t&&(clearInterval(i),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,i=this.getOptions(),s=i.normalizeDepth,a=void 0===s?3:s,c=i.normalizeMaxBreadth,f=void 0===c?1e3:c,p=Object(o.a)(Object(o.a)({},t),{event_id:t.event_id||(n&&n.event_id?n.event_id:Object(u.f)()),timestamp:t.timestamp||Object(K.a)()});this._applyClientOptions(p),this._applyIntegrationsMetadata(p);var d=e;n&&n.captureContext&&(d=F.a.clone(d).update(n.captureContext));var l=Object(y.c)(p);return d&&(l=d.applyToEvent(p,n)),l.then((function(t){return t&&(t.sdkProcessingMetadata=Object(o.a)(Object(o.a)({},t.sdkProcessingMetadata),{normalizeDepth:Object(G.a)(a)+" ("+typeof a+")"})),"number"==typeof a&&a>0?r._normalizeEvent(t,a,f):t}))},t.prototype._normalizeEvent=function(t,e,n){if(!t)return null;var r=Object(o.a)(Object(o.a)(Object(o.a)(Object(o.a)(Object(o.a)({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((function(t){return Object(o.a)(Object(o.a)({},t),t.data&&{data:Object(G.a)(t.data,e,n)})}))}),t.user&&{user:Object(G.a)(t.user,e,n)}),t.contexts&&{contexts:Object(G.a)(t.contexts,e,n)}),t.extra&&{extra:Object(G.a)(t.extra,e,n)});return t.contexts&&t.contexts.trace&&(r.contexts.trace=t.contexts.trace),r.sdkProcessingMetadata=Object(o.a)(Object(o.a)({},r.sdkProcessingMetadata),{baseClientNormalized:!0}),r},t.prototype._applyClientOptions=function(t){var e=this.getOptions(),n=e.environment,r=e.release,i=e.dist,o=e.maxValueLength,s=void 0===o?250:o;"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!==i&&(t.dist=i),t.message&&(t.message=Object(f.d)(t.message,s));var a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=Object(f.d)(a.value,s));var c=t.request;c&&c.url&&(c.url=Object(f.d)(c.url,s))},t.prototype._applyIntegrationsMetadata=function(t){var e=Object.keys(this._integrations);e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=Object(o.d)(t.sdk.integrations||[],e))},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){p&&c.c.error(t)}))},t.prototype._processEvent=function(t,e,n){var r=this,i=this.getOptions(),o=i.beforeSend,s=i.sampleRate,a=this.getTransport();function c(t,e){a.recordLostEvent&&a.recordLostEvent(t,e)}if(!this._isEnabled())return Object(y.b)(new H("SDK not enabled, will not capture event."));var u="transaction"===t.type;return!u&&"number"==typeof s&&Math.random()>s?(c("sample_rate","event"),Object(y.b)(new H("Discarding event because it's not included in the random sample (sampling rate = "+s+")"))):this._prepareEvent(t,n,e).then((function(n){if(null===n)throw c("event_processor",t.type||"event"),new H("An event processor returned null, will not send event.");return e&&e.data&&!0===e.data.__sentry__||u||!o?n:function(t){var e="`beforeSend` method has to return `null` or a valid event.";if(Object(m.n)(t))return t.then((function(t){if(!Object(m.i)(t)&&null!==t)throw new H(e);return t}),(function(t){throw new H("beforeSend rejected with "+t)}));if(!Object(m.i)(t)&&null!==t)throw new H(e);return t}(o(n,e))})).then((function(e){if(null===e)throw c("before_send",t.type||"event"),new H("`beforeSend` returned `null`, will not send event.");var i=n&&n.getSession&&n.getSession();return!u&&i&&r._updateSessionFromEvent(i,e),r._sendEvent(e),e})).then(null,(function(t){if(t instanceof H)throw t;throw r.captureException(t,{data:{__sentry__:!0},originalException:t}),new H("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._numProcessing+=1,t.then((function(t){return e._numProcessing-=1,t}),(function(t){return e._numProcessing-=1,t}))},t}();!function(){function t(t,e,n){void 0===e&&(e={}),this.dsn=t,this._dsnObject=X(t),this.metadata=e,this._tunnel=n}t.prototype.getDsn=function(){return this._dsnObject},t.prototype.forceEnvelope=function(){return!!this._tunnel},t.prototype.getBaseApiEndpoint=function(){return nt(this._dsnObject)},t.prototype.getStoreEndpoint=function(){return ot(this._dsnObject)},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return st(this._dsnObject)},t.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return at(this._dsnObject,this._tunnel)}}();function et(t,e,n){return{initDsn:t,metadata:e||{},dsn:X(t),tunnel:n}}function nt(t){var e=t.protocol?t.protocol+":":"",n=t.port?":"+t.port:"";return e+"//"+t.host+n+(t.path?"/"+t.path:"")+"/api/"}function rt(t,e){return""+nt(t)+t.projectId+"/"+e+"/"}function it(t){return Object(s.h)({sentry_key:t.publicKey,sentry_version:"7"})}function ot(t){return rt(t,"store")}function st(t){return ot(t)+"?"+it(t)}function at(t,e){return e||function(t){return rt(t,"envelope")}(t)+"?"+it(t)}function ct(t,e){return void 0===e&&(e=[]),[t,e]}function ut(t){var e=Object(o.c)(t,2),n=e[0],r=e[1],i=JSON.stringify(n);return r.reduce((function(t,e){var n=Object(o.c)(e,2),r=n[0],i=n[1],s=Object(m.j)(i)?String(i):JSON.stringify(i);return t+"\n"+JSON.stringify(r)+"\n"+s}),i)}function ft(t){if(t.metadata&&t.metadata.sdk){var e=t.metadata.sdk;return{name:e.name,version:e.version}}}function pt(t,e){return e?(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=Object(o.d)(t.sdk.integrations||[],e.integrations||[]),t.sdk.packages=Object(o.d)(t.sdk.packages||[],e.packages||[]),t):t}function dt(t,e){var n=ft(e),r="aggregates"in t?"sessions":"session";return[ct(Object(o.a)(Object(o.a)({sent_at:(new Date).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:W(e.dsn)}),[[{type:r},t]]),r]}var lt,ht=function(){function t(){}return t.prototype.sendEvent=function(t){return Object(y.c)({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:"skipped"})},t.prototype.close=function(t){return Object(y.c)(!0)},t}(),vt=function(){function t(t){this._options=t,this._options.dsn||p&&c.c.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return t.prototype.eventFromException=function(t,e){throw new H("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,e,n){throw new H("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){var e=function(t,e){var n=ft(e),r=t.type||"event",i=(t.sdkProcessingMetadata||{}).transactionSampling||{},s=i.method,a=i.rate;return pt(t,e.metadata.sdk),t.tags=t.tags||{},t.extra=t.extra||{},t.sdkProcessingMetadata&&t.sdkProcessingMetadata.baseClientNormalized||(t.tags.skippedNormalization=!0,t.extra.normalizeDepth=t.sdkProcessingMetadata?t.sdkProcessingMetadata.normalizeDepth:"unset"),delete t.sdkProcessingMetadata,ct(Object(o.a)(Object(o.a)({event_id:t.event_id,sent_at:(new Date).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:W(e.dsn)}),[[{type:r,sample_rates:[{id:s,rate:a}]},t]])}(t,et(this._options.dsn,this._options._metadata,this._options.tunnel));this._newTransport.send(e).then(null,(function(t){p&&c.c.error("Error while sending event:",t)}))}else this._transport.sendEvent(t).then(null,(function(t){p&&c.c.error("Error while sending event:",t)}))},t.prototype.sendSession=function(t){if(this._transport.sendSession)if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){var e=et(this._options.dsn,this._options._metadata,this._options.tunnel),n=Object(o.c)(dt(t,e),1)[0];this._newTransport.send(n).then(null,(function(t){p&&c.c.error("Error while sending session:",t)}))}else this._transport.sendSession(t).then(null,(function(t){p&&c.c.error("Error while sending session:",t)}));else p&&c.c.warn("Dropping session because custom transport doesn't implement sendSession")},t.prototype.getTransport=function(){return this._transport},t.prototype._setupTransport=function(){return new ht},t}();!function(t){t.Fatal="fatal",t.Error="error",t.Warning="warning",t.Log="log",t.Info="info",t.Debug="debug",t.Critical="critical"}(lt||(lt={}));var bt="?";function _t(t,e,n,r){var i={filename:t,function:e,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}var yt=/^\s*at (?:(.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,gt=/\((\S*)(?::(\d+))(?::(\d+))\)/,mt=[30,function(t){var e=yt.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){var n=gt.exec(e[2]);n&&(e[2]=n[1],e[3]=n[2],e[4]=n[3])}var r=Object(o.c)(Nt(e[1]||bt,e[2]),2),i=r[0];return _t(r[1],i,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],Ot=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,jt=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,xt=[50,function(t){var e,n=Ot.exec(t);if(n){if(n[3]&&n[3].indexOf(" > eval")>-1){var r=jt.exec(n[3]);r&&(n[1]=n[1]||"eval",n[3]=r[1],n[4]=r[2],n[5]="")}var i=n[3],s=n[1]||bt;return s=(e=Object(o.c)(Nt(s,i),2))[0],_t(i=e[1],s,n[4]?+n[4]:void 0,n[5]?+n[5]:void 0)}}],Et=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,St=[40,function(t){var e=Et.exec(t);return e?_t(e[2],e[1]||bt,+e[3],e[4]?+e[4]:void 0):void 0}],wt=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,kt=[10,function(t){var e=wt.exec(t);return e?_t(e[2],e[3]||bt,+e[1]):void 0}],Tt=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,Rt=[20,function(t){var e=Tt.exec(t);return e?_t(e[5],e[3]||e[4]||bt,+e[1],+e[2]):void 0}],Nt=function(t,e){var n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:bt,n?"safari-extension:"+e:"safari-web-extension:"+e]:[t,e]};function Dt(t){var e=It(t),n={type:t&&t.name,value:Ct(t)};return e.length&&(n.stacktrace={frames:e}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function Lt(t){return{exception:{values:[Dt(t)]}}}function It(t){var e=t.stacktrace||t.stack||"",n=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(Pt.test(t.message))return 1}return 0}(t);try{return Object(O.a)(kt,Rt,mt,St,xt)(e,n)}catch(t){}return[]}var Pt=/Minified React error #\d+;/i;function Ct(t){var e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function Mt(t,e,n,r){var i;if(Object(m.e)(t)&&t.error)return Lt(t.error);if(Object(m.a)(t)||Object(m.b)(t)){var a=t;if("stack"in t)i=Lt(t);else{var c=a.name||(Object(m.a)(a)?"DOMError":"DOMException"),f=a.message?c+": "+a.message:c;i=qt(f,e,n),Object(u.b)(i,f)}return"code"in a&&(i.tags=Object(o.a)(Object(o.a)({},i.tags),{"DOMException.code":""+a.code})),i}return Object(m.d)(t)?Lt(t):Object(m.i)(t)||Object(m.f)(t)?(i=function(t,e,n){var r={exception:{values:[{type:Object(m.f)(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:"Non-Error "+(n?"promise rejection":"exception")+" captured with keys: "+Object(s.d)(t)}]},extra:{__serialized__:Object(G.b)(t)}};if(e){var i=It(e);i.length&&(r.stacktrace={frames:i})}return r}(t,e,r),Object(u.a)(i,{synthetic:!0}),i):(i=qt(t,e,n),Object(u.b)(i,""+t,void 0),Object(u.a)(i,{synthetic:!0}),i)}function qt(t,e,n){var r={message:t};if(n&&e){var i=It(e);i.length&&(r.stacktrace={frames:i})}return r}function Ut(t){var e=[];function n(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(r){if(!(void 0===t||e.length<t))return Object(y.b)(new H("Not adding Promise due to buffer limit reached."));var i=r();return-1===e.indexOf(i)&&e.push(i),i.then((function(){return n(i)})).then(null,(function(){return n(i).then(null,(function(){}))})),i},drain:function(t){return new y.a((function(n,r){var i=e.length;if(!i)return n(!0);var o=setTimeout((function(){t&&t>0&&n(!1)}),t);e.forEach((function(t){Object(y.c)(t).then((function(){--i||(clearTimeout(o),n(!0))}),r)}))}))}}}function At(t,e){return t[e]||t.all||0}function Bt(t,e,n){return void 0===n&&(n=Date.now()),At(t,e)>n}function Ft(t,e,n){var r,i,s,a;void 0===n&&(n=Date.now());var c=Object(o.a)({},t),u=e["x-sentry-rate-limits"],f=e["retry-after"];if(u)try{for(var p=Object(o.e)(u.trim().split(",")),d=p.next();!d.done;d=p.next()){var l=d.value.split(":",2),h=parseInt(l[0],10),v=1e3*(isNaN(h)?60:h);if(l[1])try{for(var b=(s=void 0,Object(o.e)(l[1].split(";"))),_=b.next();!_.done;_=b.next()){c[_.value]=n+v}}catch(t){s={error:t}}finally{try{_&&!_.done&&(a=b.return)&&a.call(b)}finally{if(s)throw s.error}}else c.all=n+v}}catch(t){r={error:t}}finally{try{d&&!d.done&&(i=p.return)&&i.call(p)}finally{if(r)throw r.error}}else f&&(c.all=n+function(t,e){void 0===e&&(e=Date.now());var n=parseInt(""+t,10);if(!isNaN(n))return 1e3*n;var r=Date.parse(""+t);return isNaN(r)?6e4:r-e}(f,n));return c}function zt(t){return t>=200&&t<300?"success":429===t?"rate_limit":t>=400&&t<500?"invalid":t>=500?"failed":"unknown"}function Ht(t,e,n){void 0===n&&(n=Ut(t.bufferSize||30));var r={};return{send:function(t){var i=function(t){var e=Object(o.c)(t,2),n=Object(o.c)(e[1],1);return Object(o.c)(n[0],1)[0].type}(t),s="event"===i?"error":i,a={category:s,body:ut(t)};return Bt(r,s)?Object(y.b)({status:"rate_limit",reason:Yt(r,s)}):n.add((function(){return e(a).then((function(t){var e=t.body,n=t.headers,i=t.reason,o=zt(t.statusCode);return n&&(r=Ft(r,n)),"success"===o?Object(y.c)({status:o,reason:i}):Object(y.b)({status:o,reason:i||e||("rate_limit"===o?Yt(r,s):"Unknown transport error")})}))}))},flush:function(t){return n.drain(t)}}}function Yt(t,e){return"Too many "+e+" requests, backing off until: "+new Date(At(t,e)).toISOString()}var Wt,Jt="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,Xt=Object(_.a)();function Kt(){if(Wt)return Wt;if(x(Xt.fetch))return Wt=Xt.fetch.bind(Xt);var t=Xt.document,e=Xt.fetch;if(t&&"function"==typeof t.createElement)try{var n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);var r=n.contentWindow;r&&r.fetch&&(e=r.fetch),t.head.removeChild(n)}catch(t){Jt&&c.c.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return Wt=e.bind(Xt)}function Gt(t,e){if("[object Navigator]"===Object.prototype.toString.call(Xt&&Xt.navigator)&&"function"==typeof Xt.navigator.sendBeacon)return Xt.navigator.sendBeacon.bind(Xt.navigator)(t,e);if(j()){var n=Kt();n(t,{body:e,method:"POST",credentials:"omit",keepalive:!0}).then(null,(function(t){console.error(t)}))}else;}function $t(t){return"event"===t?"error":t}var Vt=Object(_.a)(),Qt=function(){function t(t){var e=this;this.options=t,this._buffer=Ut(30),this._rateLimits={},this._outcomes={},this._api=et(t.dsn,t._metadata,t.tunnel),this.url=st(this._api.dsn),this.options.sendClientReports&&Vt.document&&Vt.document.addEventListener("visibilitychange",(function(){"hidden"===Vt.document.visibilityState&&e._flushOutcomes()}))}return t.prototype.sendEvent=function(t){return this._sendRequest(function(t,e){var n,r=ft(e),i=t.type||"event",s="transaction"===i||!!e.tunnel,a=(t.sdkProcessingMetadata||{}).transactionSampling||{},c=a.method,u=a.rate;pt(t,e.metadata.sdk),t.tags=t.tags||{},t.extra=t.extra||{},t.sdkProcessingMetadata&&t.sdkProcessingMetadata.baseClientNormalized||(t.tags.skippedNormalization=!0,t.extra.normalizeDepth=t.sdkProcessingMetadata?t.sdkProcessingMetadata.normalizeDepth:"unset"),delete t.sdkProcessingMetadata;try{n=JSON.stringify(t)}catch(e){t.tags.JSONStringifyError=!0,t.extra.JSONStringifyError=e;try{n=JSON.stringify(Object(G.a)(t))}catch(t){var f=t;n=JSON.stringify({message:"JSON.stringify error after renormalization",extra:{message:f.message,stack:f.stack}})}}var p={body:n,type:i,url:s?at(e.dsn,e.tunnel):st(e.dsn)};if(s){var d=ct(Object(o.a)(Object(o.a)({event_id:t.event_id,sent_at:(new Date).toISOString()},r&&{sdk:r}),!!e.tunnel&&{dsn:W(e.dsn)}),[[{type:i,sample_rates:[{id:c,rate:u}]},p.body]]);p.body=ut(d)}return p}(t,this._api),t)},t.prototype.sendSession=function(t){return this._sendRequest(function(t,e){var n=Object(o.c)(dt(t,e),2),r=n[0],i=n[1];return{body:ut(r),type:i,url:at(e.dsn,e.tunnel)}}(t,this._api),t)},t.prototype.close=function(t){return this._buffer.drain(t)},t.prototype.recordLostEvent=function(t,e){var n;if(this.options.sendClientReports){var r=$t(e)+":"+t;Jt&&c.c.log("Adding outcome: "+r),this._outcomes[r]=(null!=(n=this._outcomes[r])?n:0)+1}},t.prototype._flushOutcomes=function(){if(this.options.sendClientReports){var t=this._outcomes;if(this._outcomes={},Object.keys(t).length){Jt&&c.c.log("Flushing outcomes:\n"+JSON.stringify(t,null,2));var e,n,r,i=at(this._api.dsn,this._api.tunnel),s=Object.keys(t).map((function(e){var n=Object(o.c)(e.split(":"),2),r=n[0];return{reason:n[1],category:r,quantity:t[e]}})),a=(e=s,ct((n=this._api.tunnel&&W(this._api.dsn))?{dsn:n}:{},[[{type:"client_report"},{timestamp:r||Object(K.a)(),discarded_events:e}]]));try{Gt(i,ut(a))}catch(t){Jt&&c.c.error(t)}}else Jt&&c.c.log("No outcomes to flush")}},t.prototype._handleResponse=function(t){var e=t.requestType,n=t.response,r=t.headers,i=t.resolve,o=t.reject,s=zt(n.status);this._rateLimits=Ft(this._rateLimits,r),this._isRateLimited(e)&&Jt&&c.c.warn("Too many "+e+" requests, backing off until: "+this._disabledUntil(e)),"success"!==s?o(n):i({status:s})},t.prototype._disabledUntil=function(t){var e=$t(t);return new Date(At(this._rateLimits,e))},t.prototype._isRateLimited=function(t){var e=$t(t);return Bt(this._rateLimits,e)},t}(),Zt=function(t){function e(e,n){void 0===n&&(n=Kt());var r=t.call(this,e)||this;return r._fetch=n,r}return Object(o.b)(e,t),e.prototype._sendRequest=function(t,e){var n=this;if(this._isRateLimited(t.type))return this.recordLostEvent("ratelimit_backoff",t.type),Promise.reject({event:e,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429});var r={body:t.body,method:"POST",referrerPolicy:E()?"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((function(){return new y.a((function(e,i){n._fetch(t.url,r).then((function(r){var o={"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:o,resolve:e,reject:i})})).catch(i)}))})).then(void 0,(function(e){throw e instanceof H?n.recordLostEvent("queue_overflow",t.type):n.recordLostEvent("network_error",t.type),e}))},e}(Qt);var te=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.b)(e,t),e.prototype._sendRequest=function(t,e){var n=this;return this._isRateLimited(t.type)?(this.recordLostEvent("ratelimit_backoff",t.type),Promise.reject({event:e,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429})):this._buffer.add((function(){return new y.a((function(e,r){var i=new XMLHttpRequest;for(var o in i.onreadystatechange=function(){if(4===i.readyState){var o={"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")};n._handleResponse({requestType:t.type,response:i,headers:o,resolve:e,reject:r})}},i.open("POST",t.url),n.options.headers)Object.prototype.hasOwnProperty.call(n.options.headers,o)&&i.setRequestHeader(o,n.options.headers[o]);i.send(t.body)}))})).then(void 0,(function(e){throw e instanceof H?n.recordLostEvent("queue_overflow",t.type):n.recordLostEvent("network_error",t.type),e}))},e}(Qt),ee=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.b)(e,t),e.prototype.eventFromException=function(t,e){return function(t,e,n){var r=Mt(t,e&&e.syntheticException||void 0,n);return Object(u.a)(r),r.level=lt.Error,e&&e.event_id&&(r.event_id=e.event_id),Object(y.c)(r)}(t,e,this._options.attachStacktrace)},e.prototype.eventFromMessage=function(t,e,n){return void 0===e&&(e=lt.Info),function(t,e,n,r){void 0===e&&(e=lt.Info);var i=qt(t,n&&n.syntheticException||void 0,r);return i.level=e,n&&n.event_id&&(i.event_id=n.event_id),Object(y.c)(i)}(t,e,n,this._options.attachStacktrace)},e.prototype._setupTransport=function(){if(!this._options.dsn)return t.prototype._setupTransport.call(this);var e,n,r=Object(o.a)(Object(o.a)({},this._options.transportOptions),{dsn:this._options.dsn,tunnel:this._options.tunnel,sendClientReports:this._options.sendClientReports,_metadata:this._options._metadata}),i=et(r.dsn,r._metadata,r.tunnel),s=at(i.dsn,i.tunnel);if(this._options.transport)return new this._options.transport(r);if(j()){var a=Object(o.a)({},r.fetchParameters);return this._newTransport=(e={requestOptions:a,url:s},void 0===n&&(n=Kt()),Ht({bufferSize:e.bufferSize},(function(t){var r=Object(o.a)({body:t.body,method:"POST",referrerPolicy:"origin"},e.requestOptions);return n(e.url,r).then((function(t){return t.text().then((function(e){return{body:e,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")},reason:t.statusText,statusCode:t.status}}))}))}))),new Zt(r)}return this._newTransport=function(t){return Ht({bufferSize:t.bufferSize},(function(e){return new y.a((function(n,r){var i=new XMLHttpRequest;for(var o in i.onreadystatechange=function(){if(4===i.readyState){var t={body:i.response,headers:{"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")},reason:i.statusText,statusCode:i.status};n(t)}},i.open("POST",t.url),t.headers)Object.prototype.hasOwnProperty.call(t.headers,o)&&i.setRequestHeader(o,t.headers[o]);i.send(e.body)}))}))}({url:s,headers:r.headers}),new te(r)},e}(vt),ne=n(22),re=Object(_.a)(),ie=0;function oe(){return ie>0}function se(t,e,n){if(void 0===e&&(e={}),"function"!=typeof t)return t;try{var r=t.__sentry_wrapped__;if(r)return r;if(Object(s.f)(t))return t}catch(e){return t}var i=function(){var r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);var i=r.map((function(t){return se(t,e)}));return t.apply(this,i)}catch(t){throw ie+=1,setTimeout((function(){ie-=1})),Object(ne.b)((function(n){n.addEventProcessor((function(t){return e.mechanism&&(Object(u.b)(t,void 0,void 0),Object(u.a)(t,e.mechanism)),t.extra=Object(o.a)(Object(o.a)({},t.extra),{arguments:r}),t})),Object(ne.a)(t)})),t}};try{for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(i[a]=t[a])}catch(t){}Object(s.g)(i,t),Object(s.a)(t,"__sentry_wrapped__",i);try{Object.getOwnPropertyDescriptor(i,"name").configurable&&Object.defineProperty(i,"name",{get:function(){return t.name}})}catch(t){}return i}function ae(t){if(void 0===t&&(t={}),re.document)if(t.eventId)if(t.dsn){var e=re.document.createElement("script");e.async=!0,e.src=function(t,e){var n=X(t),r=nt(n)+"embed/error-page/",i="dsn="+W(n);for(var o in e)if("dsn"!==o)if("user"===o){if(!e.user)continue;e.user.name&&(i+="&name="+encodeURIComponent(e.user.name)),e.user.email&&(i+="&email="+encodeURIComponent(e.user.email))}else i+="&"+encodeURIComponent(o)+"="+encodeURIComponent(e[o]);return r+"?"+i}(t.dsn,t),t.onLoad&&(e.onload=t.onLoad);var n=re.document.head||re.document.body;n&&n.appendChild(e)}else Jt&&c.c.error("Missing dsn option in showReportDialog call");else Jt&&c.c.error("Missing eventId option in showReportDialog call")}var ce=n(199),ue=["fatal","error","warning","log","info","debug","critical"];function fe(t){return"warn"===t?lt.Warning:function(t){return-1!==ue.indexOf(t)}(t)?t:lt.Log}var pe=function(){function t(e){this.name=t.id,this._options=Object(o.a)({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},e)}return t.prototype.addSentryBreadcrumb=function(t){this._options.sentry&&Object(b.a)().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:Object(u.d)(t)},{event:t})},t.prototype.setupOnce=function(){this._options.console&&N("console",de),this._options.dom&&N("dom",function(t){function e(e){var n,r="object"==typeof t?t.serializeAttribute:void 0;"string"==typeof r&&(r=[r]);try{n=e.event.target?Object(ce.b)(e.event.target,r):Object(ce.b)(e.event,r)}catch(t){n="<unknown>"}0!==n.length&&Object(b.a)().addBreadcrumb({category:"ui."+e.name,message:n},{event:e.event,name:e.name,global:e.global})}return e}(this._options.dom)),this._options.xhr&&N("xhr",le),this._options.fetch&&N("fetch",he),this._options.history&&N("history",ve)},t.id="Breadcrumbs",t}();function de(t){var e={category:"console",data:{arguments:t.args,logger:"console"},level:fe(t.level),message:Object(f.b)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;e.message="Assertion failed: "+(Object(f.b)(t.args.slice(1)," ")||"console.assert"),e.data.arguments=t.args.slice(1)}Object(b.a)().addBreadcrumb(e,{input:t.args,level:t.level})}function le(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;var e=t.xhr.__sentry_xhr__||{},n=e.method,r=e.url,i=e.status_code,o=e.body;Object(b.a)().addBreadcrumb({category:"xhr",data:{method:n,url:r,status_code:i},type:"http"},{xhr:t.xhr,input:o})}else;}function he(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?Object(b.a)().addBreadcrumb({category:"fetch",data:t.fetchData,level:lt.Error,type:"http"},{data:t.error,input:t.args}):Object(b.a)().addBreadcrumb({category:"fetch",data:Object(o.a)(Object(o.a)({},t.fetchData),{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})))}function ve(t){var e=Object(_.a)(),n=t.from,r=t.to,i=Object(u.e)(e.location.href),o=Object(u.e)(n),s=Object(u.e)(r);o.path||(o=i),i.protocol===s.protocol&&i.host===s.host&&(r=s.relative),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),Object(b.a)().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}var be=function(t){function e(e){void 0===e&&(e={});return e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:B}],version:B},t.call(this,ee,e)||this}return Object(o.b)(e,t),e.prototype.showReportDialog=function(t){void 0===t&&(t={}),Object(_.a)().document&&(this._isEnabled()?ae(Object(o.a)(Object(o.a)({},t),{dsn:t.dsn||this.getDsn()})):Jt&&c.c.error("Trying to call showReportDialog with Sentry Client disabled"))},e.prototype._prepareEvent=function(e,n,r){return e.platform=e.platform||"javascript",t.prototype._prepareEvent.call(this,e,n,r)},e.prototype._sendEvent=function(e){var n=this.getIntegration(pe);n&&n.addSentryBreadcrumb(e),t.prototype._sendEvent.call(this,e)},e}(tt),_e=["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"],ye=function(){function t(e){this.name=t.id,this._options=Object(o.a)({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e)}return t.prototype.setupOnce=function(){var t=Object(_.a)();this._options.setTimeout&&Object(s.e)(t,"setTimeout",ge),this._options.setInterval&&Object(s.e)(t,"setInterval",ge),this._options.requestAnimationFrame&&Object(s.e)(t,"requestAnimationFrame",me),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&Object(s.e)(XMLHttpRequest.prototype,"send",Oe);var e=this._options.eventTarget;e&&(Array.isArray(e)?e:_e).forEach(je)},t.id="TryCatch",t}();function ge(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e[0];return e[0]=se(r,{mechanism:{data:{function:Object(O.b)(t)},handled:!0,type:"instrument"}}),t.apply(this,e)}}function me(t){return function(e){return t.apply(this,[se(e,{mechanism:{data:{function:"requestAnimationFrame",handler:Object(O.b)(t)},handled:!0,type:"instrument"}})])}}function Oe(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((function(t){t in r&&"function"==typeof r[t]&&Object(s.e)(r,t,(function(e){var n={mechanism:{data:{function:t,handler:Object(O.b)(e)},handled:!0,type:"instrument"}},r=Object(s.f)(e);return r&&(n.mechanism.data.handler=Object(O.b)(r)),se(e,n)}))})),t.apply(this,e)}}function je(t){var e=Object(_.a)(),n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Object(s.e)(n,"addEventListener",(function(e){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=se(r.handleEvent.bind(r),{mechanism:{data:{function:"handleEvent",handler:Object(O.b)(r),target:t},handled:!0,type:"instrument"}}))}catch(t){}return e.apply(this,[n,se(r,{mechanism:{data:{function:"addEventListener",handler:Object(O.b)(r),target:t},handled:!0,type:"instrument"}}),i])}})),Object(s.e)(n,"removeEventListener",(function(t){return function(e,n,r){var i=n;try{var o=i&&i.__sentry_wrapped__;o&&t.call(this,e,o,r)}catch(t){}return t.call(this,e,i,r)}})))}var xe=function(){function t(e){this.name=t.id,this._installFunc={onerror:Ee,onunhandledrejection:Se},this._options=Object(o.a)({onerror:!0,onunhandledrejection:!0},e)}return t.prototype.setupOnce=function(){Error.stackTraceLimit=50;var t,e=this._options;for(var n in e){var r=this._installFunc[n];r&&e[n]&&(t=n,Jt&&c.c.log("Global Handler attached: "+t),r(),this._installFunc[n]=void 0)}},t.id="GlobalHandlers",t}();function Ee(){N("error",(function(t){var e=Object(o.c)(Te(),2),n=e[0],r=e[1];if(n.getIntegration(xe)){var i=t.msg,s=t.url,a=t.line,c=t.column,u=t.error;if(!(oe()||u&&u.__sentry_own_request__)){var f=void 0===u&&Object(m.l)(i)?function(t,e,n,r){var i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i,o=Object(m.e)(t)?t.message:t,s="Error",a=o.match(i);a&&(s=a[1],o=a[2]);var c={exception:{values:[{type:s,value:o}]}};return we(c,e,n,r)}(i,s,a,c):we(Mt(u||i,void 0,r,!1),s,a,c);f.level=lt.Error,ke(n,u,f,"onerror")}}}))}function Se(){N("unhandledrejection",(function(t){var e=Object(o.c)(Te(),2),n=e[0],r=e[1];if(n.getIntegration(xe)){var i=t;try{"reason"in t?i=t.reason:"detail"in t&&"reason"in t.detail&&(i=t.detail.reason)}catch(t){}if(oe()||i&&i.__sentry_own_request__)return!0;var s=Object(m.j)(i)?{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(i)}]}}:Mt(i,void 0,r,!0);s.level=lt.Error,ke(n,i,s,"onunhandledrejection")}}))}function we(t,e,n,r){var i=t.exception=t.exception||{},o=i.values=i.values||[],s=o[0]=o[0]||{},a=s.stacktrace=s.stacktrace||{},c=a.frames=a.frames||[],u=isNaN(parseInt(r,10))?void 0:r,f=isNaN(parseInt(n,10))?void 0:n,p=Object(m.l)(e)&&e.length>0?e:Object(ce.a)();return 0===c.length&&c.push({colno:u,filename:p,function:"?",in_app:!0,lineno:f}),t}function ke(t,e,n,r){Object(u.a)(n,{handled:!1,type:r}),t.captureEvent(n,{originalException:e})}function Te(){var t=Object(b.a)(),e=t.getClient();return[t,e&&e.getOptions().attachStacktrace]}var Re=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(F.b)((function(e,n){var r=Object(b.a)().getIntegration(t);return r?function(t,e,n,r){if(!(n.exception&&n.exception.values&&r&&Object(m.g)(r.originalException,Error)))return n;var i=Ne(e,r.originalException,t);return n.exception.values=Object(o.d)(i,n.exception.values),n}(r._key,r._limit,e,n):e}))},t.id="LinkedErrors",t}();function Ne(t,e,n,r){if(void 0===r&&(r=[]),!Object(m.g)(e[n],Error)||r.length+1>=t)return r;var i=Dt(e[n]);return Ne(t,e[n],n,Object(o.d)([i],r))}var De=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(e,n){e((function(e){var r=n().getIntegration(t);if(r){try{if(function(t,e){if(!e)return!1;if(function(t,e){var n=t.message,r=e.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!Ie(t,e))return!1;if(!Le(t,e))return!1;return!0}(t,e))return!0;if(function(t,e){var n=Pe(e),r=Pe(t);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!Ie(t,e))return!1;if(!Le(t,e))return!1;return!0}(t,e))return!0;return!1}(e,r._previousEvent))return Jt&&c.c.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){return r._previousEvent=e}return r._previousEvent=e}return e}))},t.id="Dedupe",t}();function Le(t,e){var n=Ce(t),r=Ce(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(var i=0;i<r.length;i++){var o=r[i],s=n[i];if(o.filename!==s.filename||o.lineno!==s.lineno||o.colno!==s.colno||o.function!==s.function)return!1}return!0}function Ie(t,e){var n=t.fingerprint,r=e.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(t){return!1}}function Pe(t){return t.exception&&t.exception.values&&t.exception.values[0]}function Ce(t){var e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch(t){return}else if(t.stacktrace)return t.stacktrace.frames}var Me=Object(_.a)(),qe=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){Object(F.b)((function(e){if(Object(b.a)().getIntegration(t)){if(!Me.navigator&&!Me.location&&!Me.document)return e;var n=e.request&&e.request.url||Me.location&&Me.location.href,r=(Me.document||{}).referrer,i=(Me.navigator||{}).userAgent,s=Object(o.a)(Object(o.a)(Object(o.a)({},e.request&&e.request.headers),r&&{Referer:r}),i&&{"User-Agent":i}),a=Object(o.a)(Object(o.a)({},n&&{url:n}),{headers:s});return Object(o.a)(Object(o.a)({},e),{request:a})}return e}))},t.id="UserAgent",t}(),Ue=[new r.InboundFilters,new r.FunctionToString,new ye,new pe,new xe,new Re,new De,new qe];function Ae(t){if(void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=Ue),void 0===t.release){var e=Object(_.a)();e.SENTRY_RELEASE&&e.SENTRY_RELEASE.id&&(t.release=e.SENTRY_RELEASE.id)}void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),void 0===t.sendClientReports&&(t.sendClientReports=!0),function(t,e){!0===e.debug&&(p?c.c.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var n=Object(b.a)(),r=n.getScope();r&&r.update(e.initialScope);var i=new t(e);n.bindClient(i)}(be,t),t.autoSessionTracking&&function(){if(void 0===Object(_.a)().document)return void(Jt&&c.c.warn("Session tracking in non-browser environment with @sentry/browser is not supported."));var t=Object(b.a)();if(!t.captureSession)return;Be(t),N("history",(function(t){var e=t.from,n=t.to;void 0!==e&&e!==n&&Be(Object(b.a)())}))}()}function Be(t){t.startSession({ignoreDuration:!0}),t.captureSession()}},409:function(t,e,n){"use strict";n.d(e,"a",(function(){return b}));var r=n(0),i=n(203),o=n(72),s=n(64),a=n(20),c=n(71),u="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,f=n(94),p=n(201),d=4,l=function(){function t(t,e,n){void 0===e&&(e=new f.a),void 0===n&&(n=d),this._version=n,this._stack=[{}],this.getStackTop().scope=e,t&&this.bindClient(t)}return t.prototype.isOlderThan=function(t){return this._version<t},t.prototype.bindClient=function(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()},t.prototype.pushScope=function(){var t=f.a.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t},t.prototype.popScope=function(){return!(this.getStack().length<=1)&&!!this.getStack().pop()},t.prototype.withScope=function(t){var e=this.pushScope();try{t(e)}finally{this.popScope()}},t.prototype.getClient=function(){return this.getStackTop().client},t.prototype.getScope=function(){return this.getStackTop().scope},t.prototype.getStack=function(){return this._stack},t.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},t.prototype.captureException=function(t,e){var n=this._lastEventId=e&&e.event_id?e.event_id:Object(i.f)(),o=e;if(!e){var s=void 0;try{throw new Error("Sentry syntheticException")}catch(t){s=t}o={originalException:t,syntheticException:s}}return this._invokeClient("captureException",t,Object(r.a)(Object(r.a)({},o),{event_id:n})),n},t.prototype.captureMessage=function(t,e,n){var o=this._lastEventId=n&&n.event_id?n.event_id:Object(i.f)(),s=n;if(!n){var a=void 0;try{throw new Error(t)}catch(t){a=t}s={originalException:t,syntheticException:a}}return this._invokeClient("captureMessage",t,e,Object(r.a)(Object(r.a)({},s),{event_id:o})),o},t.prototype.captureEvent=function(t,e){var n=e&&e.event_id?e.event_id:Object(i.f)();return"transaction"!==t.type&&(this._lastEventId=n),this._invokeClient("captureEvent",t,Object(r.a)(Object(r.a)({},e),{event_id:n})),n},t.prototype.lastEventId=function(){return this._lastEventId},t.prototype.addBreadcrumb=function(t,e){var n=this.getStackTop(),i=n.scope,a=n.client;if(i&&a){var c=a.getOptions&&a.getOptions()||{},u=c.beforeBreadcrumb,f=void 0===u?null:u,p=c.maxBreadcrumbs,d=void 0===p?100:p;if(!(d<=0)){var l=Object(o.a)(),h=Object(r.a)({timestamp:l},t),v=f?Object(s.b)((function(){return f(h,e)})):h;null!==v&&i.addBreadcrumb(v,d)}}},t.prototype.setUser=function(t){var e=this.getScope();e&&e.setUser(t)},t.prototype.setTags=function(t){var e=this.getScope();e&&e.setTags(t)},t.prototype.setExtras=function(t){var e=this.getScope();e&&e.setExtras(t)},t.prototype.setTag=function(t,e){var n=this.getScope();n&&n.setTag(t,e)},t.prototype.setExtra=function(t,e){var n=this.getScope();n&&n.setExtra(t,e)},t.prototype.setContext=function(t,e){var n=this.getScope();n&&n.setContext(t,e)},t.prototype.configureScope=function(t){var e=this.getStackTop(),n=e.scope,r=e.client;n&&r&&t(n)},t.prototype.run=function(t){var e=v(this);try{t(this)}finally{v(e)}},t.prototype.getIntegration=function(t){var e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return u&&s.c.warn("Cannot retrieve integration "+t.id+" from the current Hub"),null}},t.prototype.startSpan=function(t){return this._callExtensionMethod("startSpan",t)},t.prototype.startTransaction=function(t,e){return this._callExtensionMethod("startTransaction",t,e)},t.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},t.prototype.captureSession=function(t){if(void 0===t&&(t=!1),t)return this.endSession();this._sendSessionUpdate()},t.prototype.endSession=function(){var t=this.getStackTop(),e=t&&t.scope,n=e&&e.getSession();n&&n.close(),this._sendSessionUpdate(),e&&e.setSession()},t.prototype.startSession=function(t){var e=this.getStackTop(),n=e.scope,i=e.client,o=i&&i.getOptions()||{},s=o.release,c=o.environment,u=(Object(a.a)().navigator||{}).userAgent,f=new p.a(Object(r.a)(Object(r.a)(Object(r.a)({release:s,environment:c},n&&{user:n.getUser()}),u&&{userAgent:u}),t));if(n){var d=n.getSession&&n.getSession();d&&"ok"===d.status&&d.update({status:"exited"}),this.endSession(),n.setSession(f)}return f},t.prototype._sendSessionUpdate=function(){var t=this.getStackTop(),e=t.scope,n=t.client;if(e){var r=e.getSession&&e.getSession();r&&n&&n.captureSession&&n.captureSession(r)}},t.prototype._invokeClient=function(t){for(var e,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var o=this.getStackTop(),s=o.scope,a=o.client;a&&a[t]&&(e=a)[t].apply(e,Object(r.d)(n,[s]))},t.prototype._callExtensionMethod=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=h().__SENTRY__;if(r&&r.extensions&&"function"==typeof r.extensions[t])return r.extensions[t].apply(this,e);u&&s.c.warn("Extension method "+t+" couldn't be found, doing nothing.")},t}();function h(){var t=Object(a.a)();return t.__SENTRY__=t.__SENTRY__||{extensions:{},hub:void 0},t}function v(t){var e=h(),n=y(e);return g(e,t),n}function b(){var t=h();return _(t)&&!y(t).isOlderThan(d)||g(t,new l),Object(c.b)()?function(t){try{var e=h().__SENTRY__,n=e&&e.extensions&&e.extensions.domain&&e.extensions.domain.active;if(!n)return y(t);if(!_(n)||y(n).isOlderThan(d)){var r=y(t).getStackTop();g(n,new l(r.client,f.a.clone(r.scope)))}return y(n)}catch(e){return y(t)}}(t):y(t)}function _(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function y(t){return Object(a.b)("hub",(function(){return new l}),t)}function g(t,e){return!!t&&((t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0)}},412:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return u}));var r=n(0),i=n(13),o=n(202),s=n(23),a=n(92);function c(t,e,n){void 0===e&&(e=1/0),void 0===n&&(n=1/0);try{return f("",t,e,n)}catch(t){return{ERROR:"**non-serializable** ("+t+")"}}}function u(t,e,n){void 0===e&&(e=3),void 0===n&&(n=102400);var r,i=c(t,e);return r=i,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(r))>n?u(t,e-1,n):i}function f(e,n,c,u,p){void 0===c&&(c=1/0),void 0===u&&(u=1/0),void 0===p&&(p=Object(o.a)());var d=Object(r.c)(p,2),l=d[0],h=d[1],v=n;if(v&&"function"==typeof v.toJSON)try{return v.toJSON()}catch(t){}if(null===n||["number","boolean","string"].includes(typeof n)&&!Object(i.h)(n))return n;var b=function(e,n){try{return"domain"===e&&n&&"object"==typeof n&&n._events?"[Domain]":"domainEmitter"===e?"[DomainEmitter]":void 0!==t&&n===t?"[Global]":"undefined"!=typeof window&&n===window?"[Window]":"undefined"!=typeof document&&n===document?"[Document]":Object(i.m)(n)?"[SyntheticEvent]":"number"==typeof n&&n!=n?"[NaN]":void 0===n?"[undefined]":"function"==typeof n?"[Function: "+Object(a.b)(n)+"]":"symbol"==typeof n?"["+String(n)+"]":"bigint"==typeof n?"[BigInt: "+String(n)+"]":"[object "+Object.getPrototypeOf(n).constructor.name+"]"}catch(t){return"**non-serializable** ("+t+")"}}(e,n);if(!b.startsWith("[object "))return b;if(0===c)return b.replace("object ","");if(l(n))return"[Circular ~]";var _=Array.isArray(n)?[]:{},y=0,g=Object(i.d)(n)||Object(i.f)(n)?Object(s.b)(n):n;for(var m in g)if(Object.prototype.hasOwnProperty.call(g,m)){if(y>=u){_[m]="[MaxProperties ~]";break}var O=g[m];_[m]=f(m,O,c-1,u,p),y+=1}return h(n),_}}).call(this,n(31))},54:function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return a}));var r=n(13);function i(t,e){return void 0===e&&(e=0),"string"!=typeof t||0===e||t.length<=e?t:t.substr(0,e)+"..."}function o(t,e){var n=t,r=n.length;if(r<=150)return n;e>r&&(e=r);var i=Math.max(e-60,0);i<5&&(i=0);var o=Math.min(i+140,r);return o>r-5&&(o=r),o===r&&(i=Math.max(o-140,0)),n=n.slice(i,o),i>0&&(n="'{snip} "+n),o<r&&(n+=" {snip}"),n}function s(t,e){if(!Array.isArray(t))return"";for(var n=[],r=0;r<t.length;r++){var i=t[r];try{n.push(String(i))}catch(t){n.push("[value cannot be serialized]")}}return n.join(e)}function a(t,e){return!!Object(r.l)(t)&&(Object(r.k)(e)?e.test(t):"string"==typeof e&&-1!==t.indexOf(e))}},64:function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return r}));var r,i=n(0),o=n(36),s=n(20),a=Object(s.a)(),c=["debug","info","warn","error","log","assert"];function u(t){var e=Object(s.a)();if(!("console"in e))return t();var n=e.console,r={};c.forEach((function(t){var i=n[t]&&n[t].__sentry_original__;t in e.console&&i&&(r[t]=n[t],n[t]=i)}));try{return t()}finally{Object.keys(r).forEach((function(t){n[t]=r[t]}))}}function f(){var t=!1,e={enable:function(){t=!0},disable:function(){t=!1}};return o.a?c.forEach((function(n){e[n]=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];t&&u((function(){var t;(t=a.console)[n].apply(t,Object(i.d)(["Sentry Logger ["+n+"]:"],e))}))}})):c.forEach((function(t){e[t]=function(){}})),e}r=o.a?Object(s.b)("logger",f):f()},71:function(t,e,n){"use strict";(function(t,r){n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return s}));var i=n(200);function o(){return!Object(i.a)()&&"[object process]"===Object.prototype.toString.call(void 0!==t?t:0)}function s(t,e){return t.require(e)}}).call(this,n(76),n(162)(t))},72:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return u}));var r=n(20),i=n(71),o={nowSeconds:function(){return Date.now()/1e3}};var s=Object(i.b)()?function(){try{return Object(i.a)(t,"perf_hooks").performance}catch(t){return}}():function(){var t=Object(r.a)().performance;if(t&&t.now)return{now:function(){return t.now()},timeOrigin:Date.now()-t.now()}}(),a=void 0===s?o:{nowSeconds:function(){return(s.timeOrigin+s.now())/1e3}},c=o.nowSeconds.bind(o),u=a.nowSeconds.bind(a);!function(){var t=Object(r.a)().performance;if(t&&t.now){var e=36e5,n=t.now(),i=Date.now(),o=t.timeOrigin?Math.abs(t.timeOrigin+n-i):e,s=o<e,a=t.timing&&t.timing.navigationStart,c="number"==typeof a?Math.abs(a+n-i):e;return s||c<e?o<=c?t.timeOrigin:a:i}0}()}).call(this,n(162)(t))},73:function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return s}));var r=n(13);function i(t){return new s((function(e){e(t)}))}function o(t){return new s((function(e,n){n(t)}))}var s=function(){function t(t){var e=this;this._state=0,this._handlers=[],this._resolve=function(t){e._setResult(1,t)},this._reject=function(t){e._setResult(2,t)},this._setResult=function(t,n){0===e._state&&(Object(r.n)(n)?n.then(e._resolve,e._reject):(e._state=t,e._value=n,e._executeHandlers()))},this._executeHandlers=function(){if(0!==e._state){var t=e._handlers.slice();e._handlers=[],t.forEach((function(t){t[0]||(1===e._state&&t[1](e._value),2===e._state&&t[2](e._value),t[0]=!0)}))}};try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}return t.prototype.then=function(e,n){var r=this;return new t((function(t,i){r._handlers.push([!1,function(n){if(e)try{t(e(n))}catch(t){i(t)}else t(n)},function(e){if(n)try{t(n(e))}catch(t){i(t)}else i(e)}]),r._executeHandlers()}))},t.prototype.catch=function(t){return this.then((function(t){return t}),t)},t.prototype.finally=function(e){var n=this;return new t((function(t,r){var i,o;return n.then((function(t){o=!1,i=t,e&&e()}),(function(t){o=!0,i=t,e&&e()})).then((function(){o?r(i):t(i)}))}))},t}()},92:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));var r=n(0),i=50;function o(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t.sort((function(t,e){return t[0]-e[0]})).map((function(t){return t[1]}));return function(t,e){var o,s,a,c;void 0===e&&(e=0);var u=[];try{for(var f=Object(r.e)(t.split("\n").slice(e)),p=f.next();!p.done;p=f.next()){var d=p.value;try{for(var l=(a=void 0,Object(r.e)(n)),h=l.next();!h.done;h=l.next()){var v=(0,h.value)(d);if(v){u.push(v);break}}}catch(t){a={error:t}}finally{try{h&&!h.done&&(c=l.return)&&c.call(l)}finally{if(a)throw a.error}}}}catch(t){o={error:t}}finally{try{p&&!p.done&&(s=f.return)&&s.call(f)}finally{if(o)throw o.error}}return function(t){if(!t.length)return[];var e=t,n=e[0].function||"",o=e[e.length-1].function||"";-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(e=e.slice(1));-1!==o.indexOf("sentryWrapped")&&(e=e.slice(0,-1));return e.slice(0,i).map((function(t){return Object(r.a)(Object(r.a)({},t),{filename:t.filename||e[0].filename,function:t.function||"?"})})).reverse()}(u)}}var s="<anonymous>";function a(t){try{return t&&"function"==typeof t&&t.name||s}catch(t){return s}}},94:function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return f}));var r=n(0),i=n(13),o=n(72),s=n(73),a=n(20),c=function(){function t(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}return t.clone=function(e){var n=new t;return e&&(n._breadcrumbs=Object(r.d)(e._breadcrumbs),n._tags=Object(r.a)({},e._tags),n._extra=Object(r.a)({},e._extra),n._contexts=Object(r.a)({},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(r.d)(e._eventProcessors),n._requestSession=e._requestSession),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.getRequestSession=function(){return this._requestSession},t.prototype.setRequestSession=function(t){return this._requestSession=t,this},t.prototype.setTags=function(t){return this._tags=Object(r.a)(Object(r.a)({},this._tags),t),this._notifyScopeListeners(),this},t.prototype.setTag=function(t,e){var n;return this._tags=Object(r.a)(Object(r.a)({},this._tags),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setExtras=function(t){return this._extra=Object(r.a)(Object(r.a)({},this._extra),t),this._notifyScopeListeners(),this},t.prototype.setExtra=function(t,e){var n;return this._extra=Object(r.a)(Object(r.a)({},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(r.a)(Object(r.a)({},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=this.getSpan();return t&&t.transaction},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(r.a)(Object(r.a)({},this._tags),e._tags),this._extra=Object(r.a)(Object(r.a)({},this._extra),e._extra),this._contexts=Object(r.a)(Object(r.a)({},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._requestSession&&(this._requestSession=e._requestSession)):Object(i.i)(e)&&(this._tags=Object(r.a)(Object(r.a)({},this._tags),e.tags),this._extra=Object(r.a)(Object(r.a)({},this._extra),e.extra),this._contexts=Object(r.a)(Object(r.a)({},this._contexts),e.contexts),e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession)),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._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this},t.prototype.addBreadcrumb=function(t,e){var n="number"==typeof e?Math.min(e,100):100;if(n<=0)return this;var i=Object(r.a)({timestamp:Object(o.a)()},t);return this._breadcrumbs=Object(r.d)(this._breadcrumbs,[i]).slice(-n),this._notifyScopeListeners(),this},t.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},t.prototype.applyToEvent=function(t,e){if(this._extra&&Object.keys(this._extra).length&&(t.extra=Object(r.a)(Object(r.a)({},this._extra),t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=Object(r.a)(Object(r.a)({},this._tags),t.tags)),this._user&&Object.keys(this._user).length&&(t.user=Object(r.a)(Object(r.a)({},this._user),t.user)),this._contexts&&Object.keys(this._contexts).length&&(t.contexts=Object(r.a)(Object(r.a)({},this._contexts),t.contexts)),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts=Object(r.a)({trace:this._span.getTraceContext()},t.contexts);var n=this._span.transaction&&this._span.transaction.name;n&&(t.tags=Object(r.a)({transaction:n},t.tags))}return this._applyFingerprint(t),t.breadcrumbs=Object(r.d)(t.breadcrumbs||[],this._breadcrumbs),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata=this._sdkProcessingMetadata,this._notifyEventProcessors(Object(r.d)(u(),this._eventProcessors),t,e)},t.prototype.setSDKProcessingMetadata=function(t){return this._sdkProcessingMetadata=Object(r.a)(Object(r.a)({},this._sdkProcessingMetadata),t),this},t.prototype._notifyEventProcessors=function(t,e,n,o){var a=this;return void 0===o&&(o=0),new s.a((function(s,c){var u=t[o];if(null===e||"function"!=typeof u)s(e);else{var f=u(Object(r.a)({},e),n);Object(i.n)(f)?f.then((function(e){return a._notifyEventProcessors(t,e,n,o+1).then(s)})).then(null,c):a._notifyEventProcessors(t,f,n,o+1).then(s).then(null,c)}}))},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 u(){return Object(a.b)("globalEventProcessors",(function(){return[]}))}function f(t){u().push(t)}}}]);
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings