@icanbwell/composite 1.816.0 → 1.816.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/288.index.js +1 -1
- package/288.index.js.map +1 -1
- package/{170.index.js → 572.index.js} +2 -2
- package/572.index.js.map +1 -0
- package/index.js +2 -2
- package/index.js.map +1 -1
- package/native.js +1 -1
- package/package.json +3 -3
- package/170.index.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_icanbwell_composite=globalThis.webpackChunk_icanbwell_composite||[]).push([[
|
|
1
|
+
"use strict";(globalThis.webpackChunk_icanbwell_composite=globalThis.webpackChunk_icanbwell_composite||[]).push([[572],{572:(ja,Dt,At)=>{At.r(Dt),At.d(Dt,{default:()=>La});var lr=10,fr=20,Pt=30,dr=40,$e=50,Mt=60,Fe={trace:10,debug:20,info:30,warn:40,error:50,fatal:60},Lt={};function Ua(e){return typeof e=="string"?Fe[e.toLowerCase()]:e}Object.keys(Fe).forEach(function(e){Lt[Fe[e]]=e});var jt={levels:{trace:"color: DeepPink",debug:"color: GoldenRod",info:"color: DarkTurquoise",warn:"color: Purple",error:"color: Crimson",fatal:"color: Black"},def:"color: DimGray",msg:"color: SteelBlue",src:"color: DimGray; font-style: italic; font-size: 0.9em"},pr=function(){function e(t){var n=t===void 0?{}:t,r=n.logByLevel,s=n.css,o=s===void 0?jt:s;this.logByLevel=r!==void 0&&r,this.css=o}return e.prototype.write=function(t){var n,r,s=this.css.def,o=this.css.msg,i=this.css.src,a=t.childName?t.name+"/"+t.childName:t.name,c=Lt[t.level],l=(Array(6-c.length).join(" ")+c).toUpperCase();this.logByLevel?(t.level===lr?c="debug":t.level===Mt&&(c="error"),r=typeof console[c]=="function"?console[c]:console.log):r=console.log,n=t.level<fr?this.css.levels.trace:t.level<Pt?this.css.levels.debug:t.level<dr?this.css.levels.info:t.level<$e?this.css.levels.warn:t.level<Mt?this.css.levels.error:this.css.levels.fatal;var f=function(d,h){return Array(h+1-(d+"").length).join("0")+d},u=[];u.push("[%s:%s:%s:%s] %c%s%c: %s: %c%s "+(t.src?"%c%s":"")),u.push(f(t.time.getHours(),2)),u.push(f(t.time.getMinutes(),2)),u.push(f(t.time.getSeconds(),2)),u.push(f(t.time.getMilliseconds(),4)),u.push(n),u.push(l),u.push(s),u.push(a),u.push(o),u.push(t.msg),t.src&&(u.push(i),u.push(t.src)),t.obj&&(u.push(`
|
|
2
2
|
`),u.push(t.obj)),t.err&&t.err.stack&&(u.push(`
|
|
3
3
|
`),u.push(t.err.stack)),r.apply(console,u)},e.getDefaultCss=function(){return jt},e}();const Be="production",$="8.46.0",m=globalThis;function me(e,t,n){const r=n||m,s=r.__SENTRY__=r.__SENTRY__||{},o=s[$]=s[$]||{};return o[e]||(o[e]=t())}function _e(){return He(m),m}function He(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||$,t[$]=t[$]||{}}const Ut=Object.prototype.toString;function Ge(e){switch(Ut.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return F(e,Error)}}function Q(e,t){return Ut.call(e)===`[object ${t}]`}function $t(e){return Q(e,"ErrorEvent")}function Ft(e){return Q(e,"DOMError")}function hr(e){return Q(e,"DOMException")}function C(e){return Q(e,"String")}function ze(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function We(e){return e===null||ze(e)||typeof e!="object"&&typeof e!="function"}function ee(e){return Q(e,"Object")}function ye(e){return typeof Event<"u"&&F(e,Event)}function gr(e){return typeof Element<"u"&&F(e,Element)}function mr(e){return Q(e,"RegExp")}function Ee(e){return Boolean(e&&e.then&&typeof e.then=="function")}function _r(e){return ee(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function F(e,t){try{return e instanceof t}catch{return!1}}function Bt(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}const te=m,yr=80;function Ht(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,s=[];let o=0,i=0;const a=" > ",c=a.length;let l;const f=Array.isArray(t)?t:t.keyAttrs,u=!Array.isArray(t)&&t.maxStringLength||yr;for(;n&&o++<r&&(l=Er(n,f),!(l==="html"||o>1&&i+s.length*c+l.length>=u));)s.push(l),i+=l.length,n=n.parentNode;return s.reverse().join(a)}catch{return"<unknown>"}}function Er(e,t){const n=e,r=[];if(!n||!n.tagName)return"";if(te.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const s=t&&t.length?t.filter(i=>n.getAttribute(i)).map(i=>[i,n.getAttribute(i)]):null;if(s&&s.length)s.forEach(i=>{r.push(`[${i[0]}="${i[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const i=n.className;if(i&&C(i)){const a=i.split(/\s+/);for(const c of a)r.push(`.${c}`)}}const o=["aria-label","type","name","title","alt"];for(const i of o){const a=n.getAttribute(i);a&&r.push(`[${i}="${a}"]`)}return r.join("")}function Sr(){try{return te.document.location.href}catch{return""}}function $a(e){return te.document&&te.document.querySelector?te.document.querySelector(e):null}function br(e){if(!te.HTMLElement)return null;let t=e;const n=5;for(let r=0;r<n;r++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}const B=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,vr="Sentry Logger ",qe=["debug","info","warn","error","log","assert","trace"],Se={};function H(e){if(!("console"in m))return e();const t=m.console,n={},r=Object.keys(Se);r.forEach(s=>{const o=Se[s];n[s]=t[s],t[s]=o});try{return e()}finally{r.forEach(s=>{t[s]=n[s]})}}function Tr(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return B?qe.forEach(n=>{t[n]=(...r)=>{e&&H(()=>{m.console[n](`${vr}[${n}]:`,...r)})}}):qe.forEach(n=>{t[n]=()=>{}}),t}const p=me("logger",Tr);function ne(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function Fa(e,t){let n=e;const r=n.length;if(r<=150)return n;t>r&&(t=r);let s=Math.max(t-60,0);s<5&&(s=0);let o=Math.min(s+140,r);return o>r-5&&(o=r),o===r&&(s=Math.max(o-140,0)),n=n.slice(s,o),s>0&&(n=`'{snip} ${n}`),o<r&&(n+=" {snip}"),n}function Gt(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const s=e[r];try{Bt(s)?n.push("[VueViewModel]"):n.push(String(s))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function Ir(e,t,n=!1){return C(e)?mr(t)?t.test(e):C(t)?n?e===t:e.includes(t):!1:!1}function be(e,t=[],n=!1){return t.some(r=>Ir(e,r,n))}function v(e,t,n){if(!(t in e))return;const r=e[t],s=n(r);typeof s=="function"&&zt(s,r);try{e[t]=s}catch{B&&p.log(`Failed to replace method "${t}" in object`,e)}}function G(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{B&&p.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function zt(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,G(e,"__sentry_original__",t)}catch{}}function Ye(e){return e.__sentry_original__}function Ba(e){return Object.entries(e).map(([t,n])=>`${encodeURIComponent(t)}=${encodeURIComponent(n)}`).join("&")}function Wt(e){if(Ge(e))return{message:e.message,name:e.name,stack:e.stack,...Yt(e)};if(ye(e)){const t={type:e.type,target:qt(e.target),currentTarget:qt(e.currentTarget),...Yt(e)};return typeof CustomEvent<"u"&&F(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function qt(e){try{return gr(e)?Ht(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function Yt(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function wr(e,t=40){const n=Object.keys(Wt(e));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return ne(r,t);for(let s=n.length;s>0;s--){const o=n.slice(0,s).join(", ");if(!(o.length>t))return s===n.length?o:ne(o,t)}return""}function I(e){return Je(e,new Map)}function Je(e,t){if(kr(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const s of Object.getOwnPropertyNames(e))typeof e[s]<"u"&&(r[s]=Je(e[s],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(s=>{r.push(Je(s,t))}),r}return e}function kr(e){if(!ee(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}function Ha(e){let t;switch(!0){case e==null:t=new String(e);break;case(typeof e=="symbol"||typeof e=="bigint"):t=Object(e);break;case isPrimitive(e):t=new e.constructor(e);break;default:t=e;break}return t}const Jt=1e3;function fe(){return Date.now()/Jt}function Or(){const{performance:e}=m;if(!e||!e.now)return fe;const t=Date.now()-e.now(),n=e.timeOrigin==null?t:e.timeOrigin;return()=>(n+e.now())/Jt}const D=Or();let ve;const Ga=(()=>{const{performance:e}=m;if(!e||!e.now){ve="none";return}const t=3600*1e3,n=e.now(),r=Date.now(),s=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,o=s<t,i=e.timing&&e.timing.navigationStart,c=typeof i=="number"?Math.abs(i+n-r):t,l=c<t;return o||l?s<=c?(ve="timeOrigin",e.timeOrigin):(ve="navigationStart",i):(ve="dateNow",r)})();function w(){const e=m,t=e.crypto||e.msCrypto;let n=()=>Math.random()*16;try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const r=new Uint8Array(1);return t.getRandomValues(r),r[0]})}catch{}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function Kt(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function M(e){const{message:t,event_id:n}=e;if(t)return t;const r=Kt(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function Ke(e,t,n){const r=e.exception=e.exception||{},s=r.values=r.values||[],o=s[0]=s[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function re(e,t){const n=Kt(e);if(!n)return;const r={type:"generic",handled:!0},s=n.mechanism;if(n.mechanism={...r,...s,...t},t&&"data"in t){const o={...s&&s.data,...t.data};n.mechanism.data=o}}const Nr=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;function Xe(e){return parseInt(e||"",10)}function za(e){const t=e.match(Nr)||[],n=Xe(t[1]),r=Xe(t[2]),s=Xe(t[3]);return{buildmetadata:t[5],major:isNaN(n)?void 0:n,minor:isNaN(r)?void 0:r,patch:isNaN(s)?void 0:s,prerelease:t[4]}}function Wa(e,t,n=5){if(t.lineno===void 0)return;const r=e.length,s=Math.max(Math.min(r-1,t.lineno-1),0);t.pre_context=e.slice(Math.max(0,s-n),s).map(i=>snipLine(i,0));const o=Math.min(r-1,s);t.context_line=snipLine(e[o],t.colno||0),t.post_context=e.slice(Math.min(s+1,r),s+1+n).map(i=>snipLine(i,0))}function Xt(e){if(Rr(e))return!0;try{G(e,"__sentry_captured__",!0)}catch{}return!1}function Rr(e){try{return e.__sentry_captured__}catch{}}function qa(e){return Array.isArray(e)?e:[e]}function xr(e){const t=D(),n={sid:w(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>Dr(n)};return e&&se(n,e),n}function se(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||D(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:w()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function Cr(e,t){let n={};t?n={status:t}:e.status==="ok"&&(n={status:"exited"}),se(e,n)}function Dr(e){return I({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}function Ya(){return{traceId:Ve(),spanId:Te()}}function Ve(){return w()}function Te(){return w().substring(16)}function Ie(e,t,n=2){if(!t||typeof t!="object"||n<=0)return t;if(e&&t&&Object.keys(t).length===0)return e;const r={...e};for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[s]=Ie(r[s],t[s],n-1));return r}const Ze="_sentrySpan";function Vt(e,t){t?G(e,Ze,t):delete e[Ze]}function Zt(e){return e[Ze]}const Ar=100;class Qe{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Ve(),spanId:Te()}}clone(){const t=new Qe;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,Vt(t,Zt(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&se(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const n=typeof t=="function"?t(this):t,[r,s]=n instanceof L?[n.getScopeData(),n.getRequestSession()]:ee(n)?[t,t.requestSession]:[],{tags:o,extra:i,user:a,contexts:c,level:l,fingerprint:f=[],propagationContext:u}=r||{};return this._tags={...this._tags,...o},this._extra={...this._extra,...i},this._contexts={...this._contexts,...c},a&&Object.keys(a).length&&(this._user=a),l&&(this._level=l),f.length&&(this._fingerprint=f),u&&(this._propagationContext=u),s&&(this._requestSession=s),this}clear(){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._session=void 0,Vt(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Ve()}),this._notifyScopeListeners(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:Ar;if(r<=0)return this;const s={timestamp:fe(),...t},o=this._breadcrumbs;return o.push(s),this._breadcrumbs=o.length>r?o.slice(-r):o,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Zt(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=Ie(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext={spanId:Te(),...t},this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=n&&n.event_id?n.event_id:w();if(!this._client)return p.warn("No client configured on scope - will not capture exception!"),r;const s=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:s,...n,event_id:r},this),r}captureMessage(t,n,r){const s=r&&r.event_id?r.event_id:w();if(!this._client)return p.warn("No client configured on scope - will not capture message!"),s;const o=new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:o,...r,event_id:s},this),s}captureEvent(t,n){const r=n&&n.event_id?n.event_id:w();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(p.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}const L=Qe;function Pr(){return me("defaultCurrentScope",()=>new L)}function Mr(){return me("defaultIsolationScope",()=>new L)}class Lr{constructor(t,n){let r;t?r=t:r=new L;let s;n?s=n:s=new L,this._stack=[{scope:r}],this._isolationScope=s}withScope(t){const n=this._pushScope();let r;try{r=t(n)}catch(s){throw this._popScope(),s}return Ee(r)?r.then(s=>(this._popScope(),s),s=>{throw this._popScope(),s}):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function oe(){const e=_e(),t=He(e);return t.stack=t.stack||new Lr(Pr(),Mr())}function jr(e){return oe().withScope(e)}function Ur(e,t){const n=oe();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function Qt(e){return oe().withScope(()=>e(oe().getIsolationScope()))}function $r(){return{withIsolationScope:Qt,withScope:jr,withSetScope:Ur,withSetIsolationScope:(e,t)=>Qt(t),getCurrentScope:()=>oe().getScope(),getIsolationScope:()=>oe().getIsolationScope()}}function Ja(e){const t=getMainCarrier(),n=getSentryCarrier(t);n.acs=e}function et(e){const t=He(e);return t.acs?t.acs:$r()}function N(){const e=_e();return et(e).getCurrentScope()}function de(){const e=_e();return et(e).getIsolationScope()}function en(){return me("globalScope",()=>new L)}function Fr(...e){const t=_e(),n=et(t);if(e.length===2){const[r,s]=e;return r?n.withSetScope(r,s):n.withScope(s)}return n.withScope(e[0])}function Ka(...e){const t=getMainCarrier(),n=getAsyncContextStrategy(t);if(e.length===2){const[r,s]=e;return r?n.withSetIsolationScope(r,s):n.withIsolationScope(s)}return n.withIsolationScope(e[0])}function E(){return N().getClient()}function Br(e){const t=e.getPropagationContext(),{traceId:n,spanId:r,parentSpanId:s}=t;return I({trace_id:n,span_id:r,parent_span_id:s})}const _=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;var A;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const r=2;e[e.REJECTED=r]="REJECTED"})(A||(A={}));function z(e){return new k(t=>{t(e)})}function we(e){return new k((t,n)=>{n(e)})}class k{constructor(t){k.prototype.__init.call(this),k.prototype.__init2.call(this),k.prototype.__init3.call(this),k.prototype.__init4.call(this),this._state=A.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new k((r,s)=>{this._handlers.push([!1,o=>{if(!t)r(o);else try{r(t(o))}catch(i){s(i)}},o=>{if(!n)s(o);else try{r(n(o))}catch(i){s(i)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new k((n,r)=>{let s,o;return this.then(i=>{o=!1,s=i,t&&t()},i=>{o=!0,s=i,t&&t()}).then(()=>{if(o){r(s);return}n(s)})})}__init(){this._resolve=t=>{this._setResult(A.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(A.REJECTED,t)}}__init3(){this._setResult=(t,n)=>{if(this._state===A.PENDING){if(Ee(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===A.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===A.RESOLVED&&n[1](this._value),this._state===A.REJECTED&&n[2](this._value),n[0]=!0)})}}}function tt(e,t,n,r=0){return new k((s,o)=>{const i=e[r];if(t===null||typeof i!="function")s(t);else{const a=i({...t},n);_&&i.id&&a===null&&p.log(`Event processor "${i.id}" dropped event`),Ee(a)?a.then(c=>tt(e,c,n,r+1).then(s)).then(null,o):tt(e,a,n,r+1).then(s).then(null,o)}})}let ke,tn,Oe;function nn(e){const t=m._sentryDebugIds;if(!t)return{};const n=Object.keys(t);return Oe&&n.length===tn||(tn=n.length,Oe=n.reduce((r,s)=>{ke||(ke={});const o=ke[s];if(o)r[o[0]]=o[1];else{const i=e(s);for(let a=i.length-1;a>=0;a--){const c=i[a],l=c&&c.filename,f=t[s];if(l&&f){r[l]=f,ke[s]=[l,f];break}}}return r},{})),Oe}function Xa(e,t){const n=nn(e);if(!n)return[];const r=[];for(const s of t)s&&n[s]&&r.push({type:"sourcemap",code_file:s,debug_id:n[s]});return r}function Hr(){const e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(s){if(e)return t.has(s)?!0:(t.add(s),!1);for(let o=0;o<t.length;o++)if(t[o]===s)return!0;return t.push(s),!1}function r(s){if(e)t.delete(s);else for(let o=0;o<t.length;o++)if(t[o]===s){t.splice(o,1);break}}return[n,r]}const rn=50,R="?",sn=/\(error: (.*)\)/,on=/captureMessage|captureException/;function an(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,s=0)=>{const o=[],i=n.split(`
|
|
4
4
|
`);for(let a=r;a<i.length;a++){const c=i[a];if(c.length>1024)continue;const l=sn.test(c)?c.replace(sn,"$1"):c;if(!l.match(/\S*Error: /)){for(const f of t){const u=f(l);if(u){o.push(u);break}}if(o.length>=rn+s)break}}return zr(o.slice(s))}}function Gr(e){return Array.isArray(e)?an(...e):e}function zr(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(Ne(t).function||"")&&t.pop(),t.reverse(),on.test(Ne(t).function||"")&&(t.pop(),on.test(Ne(t).function||"")&&t.pop()),t.slice(0,rn).map(n=>({...n,filename:n.filename||Ne(t).filename,function:n.function||R}))}function Ne(e){return e[e.length-1]||{}}const nt="<anonymous>";function j(e){try{return!e||typeof e!="function"?nt:e.name||nt}catch{return nt}}function cn(e){const t=e.exception;if(t){const n=[];try{return t.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}function P(e,t=100,n=1/0){try{return rt("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function un(e,t=3,n=100*1024){const r=P(e,t);return Jr(r)>n?un(e,t-1,n):r}function rt(e,t,n=1/0,r=1/0,s=Hr()){const[o,i]=s;if(t==null||["boolean","string"].includes(typeof t)||typeof t=="number"&&Number.isFinite(t))return t;const a=Wr(e,t);if(!a.startsWith("[object "))return a;if(t.__sentry_skip_normalization__)return t;const c=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:n;if(c===0)return a.replace("object ","");if(o(t))return"[Circular ~]";const l=t;if(l&&typeof l.toJSON=="function")try{const h=l.toJSON();return rt("",h,c-1,r,s)}catch{}const f=Array.isArray(t)?[]:{};let u=0;const d=Wt(t);for(const h in d){if(!Object.prototype.hasOwnProperty.call(d,h))continue;if(u>=r){f[h]="[MaxProperties ~]";break}const g=d[h];f[h]=rt(h,g,c-1,r,s),u++}return i(t),f}function Wr(e,t){try{if(e==="domain"&&t&&typeof t=="object"&&t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&t===global)return"[Global]";if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(Bt(t))return"[VueViewModel]";if(_r(t))return"[SyntheticEvent]";if(typeof t=="number"&&!Number.isFinite(t))return`[${t}]`;if(typeof t=="function")return`[Function: ${j(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=qr(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function qr(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}function Yr(e){return~-encodeURI(e).split(/%..|./).length}function Jr(e){return Yr(JSON.stringify(e))}function Va(e,t){const n=t.replace(/\\/g,"/").replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");let r=e;try{r=decodeURI(e)}catch{}return r.replace(/\\/g,"/").replace(/webpack:\/?/g,"").replace(new RegExp(`(file://)?/*${n}/*`,"ig"),"app:///")}const Kr="sentry.source",Xr="sentry.sample_rate",Vr="sentry.op",Zr="sentry.origin",Za="sentry.idle_span_finish_reason",Qa="sentry.measurement_unit",ec="sentry.measurement_value",tc="sentry.profile_id",nc="sentry.exclusive_time",rc="cache.hit",sc="cache.key",oc="cache.item_size",ic="http.request.method",ac="url.full",cc="baggage",ln="sentry-",Qr=/^sentry-/,es=8192;function ts(e){const t=ns(e);if(!t)return;const n=Object.entries(t).reduce((r,[s,o])=>{if(s.match(Qr)){const i=s.slice(ln.length);r[i]=o}return r},{});if(Object.keys(n).length>0)return n}function uc(e){if(!e)return;const t=Object.entries(e).reduce((n,[r,s])=>(s&&(n[`${ln}${r}`]=s),n),{});return rs(t)}function ns(e){if(!(!e||!C(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,n)=>{const r=fn(n);return Object.entries(r).forEach(([s,o])=>{t[s]=o}),t},{}):fn(e)}function fn(e){return e.split(",").map(t=>t.split("=").map(n=>decodeURIComponent(n.trim()))).reduce((t,[n,r])=>(n&&r&&(t[n]=r),t),{})}function rs(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,r],s)=>{const o=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,i=s===0?o:`${t},${o}`;return i.length>es?(DEBUG_BUILD&&logger.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):i},"")}function ss(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=E(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}const st="_sentryMetrics";function os(e){const t=e[st];if(!t)return;const n={};for(const[,[r,s]]of t)(n[r]||(n[r]=[])).push(I(s));return n}function lc(e,t,n,r,s,o,i){const c=e[st]||(e[st]=new Map),l=`${t}:${n}@${s}`,f=c.get(i);if(f){const[,u]=f;c.set(i,[l,{min:Math.min(u.min,r),max:Math.max(u.max,r),count:u.count+=1,sum:u.sum+=r,tags:u.tags}])}else c.set(i,[l,{min:r,max:r,count:1,sum:r,tags:o}])}const is=0,dn=1,T=2;function as(e){if(e<400&&e>=100)return{code:dn};if(e>=400&&e<500)switch(e){case 401:return{code:T,message:"unauthenticated"};case 403:return{code:T,message:"permission_denied"};case 404:return{code:T,message:"not_found"};case 409:return{code:T,message:"already_exists"};case 413:return{code:T,message:"failed_precondition"};case 429:return{code:T,message:"resource_exhausted"};case 499:return{code:T,message:"cancelled"};default:return{code:T,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:T,message:"unimplemented"};case 503:return{code:T,message:"unavailable"};case 504:return{code:T,message:"deadline_exceeded"};default:return{code:T,message:"internal_error"}}return{code:T,message:"unknown_error"}}function fc(e,t){e.setAttribute("http.response.status_code",t);const n=as(t);n.message!=="unknown_error"&&e.setStatus(n)}const dc=0,cs=1;let pn=!1;function pc(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:s,parent_span_id:o,status:i,origin:a}=Re(e);return dropUndefinedKeys({parent_span_id:o,span_id:t,trace_id:n,data:r,op:s,status:i,origin:a})}function us(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext(),s=r?t:Re(e).parent_span_id,o=r?Te():t;return I({parent_span_id:s,span_id:o,trace_id:n})}function hc(e){const{traceId:t,spanId:n}=e.spanContext(),r=ot(e);return generateSentryTraceHeader(t,n,r)}function hn(e){return typeof e=="number"?gn(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?gn(e.getTime()):D()}function gn(e){return e>9999999999?e/1e3:e}function Re(e){if(fs(e))return e.getSpanJSON();try{const{spanId:t,traceId:n}=e.spanContext();if(ls(e)){const{attributes:r,startTime:s,name:o,endTime:i,parentSpanId:a,status:c}=e;return I({span_id:t,trace_id:n,data:r,description:o,parent_span_id:a,start_timestamp:hn(s),timestamp:hn(i)||void 0,status:ds(c),op:r[Vr],origin:r[Zr],_metrics_summary:os(e)})}return{span_id:t,trace_id:n}}catch{return{}}}function ls(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function fs(e){return typeof e.getSpanJSON=="function"}function ot(e){const{traceFlags:t}=e.spanContext();return t===cs}function ds(e){if(!(!e||e.code===is))return e.code===dn?"ok":e.message||"unknown_error"}const W="_sentryChildSpans",it="_sentryRootSpan";function gc(e,t){const n=e[it]||e;addNonEnumerableProperty(t,it,n),e[W]?e[W].add(t):addNonEnumerableProperty(e,W,new Set([t]))}function mc(e,t){e[W]&&e[W].delete(t)}function _c(e){const t=new Set;function n(r){if(!t.has(r)&&ot(r)){t.add(r);const s=r[W]?Array.from(r[W]):[];for(const o of s)n(o)}}return n(e),Array.from(t)}function mn(e){return e[it]||e}function ps(){const e=getMainCarrier(),t=getAsyncContextStrategy(e);return t.getActiveSpan?t.getActiveSpan():_getSpanForScope(getCurrentScope())}function yc(e,t,n,r,s,o){const i=ps();i&&updateMetricSummaryOnSpan(i,e,t,n,r,s,o)}function hs(){pn||(H(()=>{console.warn("[Sentry] Deprecation warning: Returning null from `beforeSendSpan` will be disallowed from SDK version 9.0.0 onwards. The callback will only support mutating spans. To drop certain spans, configure the respective integrations directly.")}),pn=!0)}const _n="_frozenDsc";function Ec(e,t){const n=e;addNonEnumerableProperty(n,_n,t)}function yn(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},s=I({environment:n.environment||Be,release:n.release,public_key:r,trace_id:e});return t.emit("createDsc",s),s}function gs(e,t){const n=t.getPropagationContext();return n.dsc||yn(n.traceId,e)}function En(e){const t=E();if(!t)return{};const n=mn(e),r=n[_n];if(r)return r;const s=n.spanContext().traceState,o=s&&s.get("sentry.dsc"),i=o&&ts(o);if(i)return i;const a=yn(e.spanContext().traceId,t),c=Re(n),l=c.data||{},f=l[Xr];f!=null&&(a.sample_rate=`${f}`);const u=l[Kr],d=c.description;return u!=="url"&&d&&(a.transaction=d),ss()&&(a.sampled=String(ot(n))),t.emit("createDsc",a,n),a}function Sc(e){const t=En(e);return dynamicSamplingContextToSentryBaggageHeader(t)}function ms(e,t){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:o}=t;_s(e,t),r&&Ss(e,r),bs(e,n),ys(e,s),Es(e,o)}function Sn(e,t){const{extra:n,tags:r,user:s,contexts:o,level:i,sdkProcessingMetadata:a,breadcrumbs:c,fingerprint:l,eventProcessors:f,attachments:u,propagationContext:d,transactionName:h,span:g}=t;xe(e,"extra",n),xe(e,"tags",r),xe(e,"user",s),xe(e,"contexts",o),e.sdkProcessingMetadata=Ie(e.sdkProcessingMetadata,a,2),i&&(e.level=i),h&&(e.transactionName=h),g&&(e.span=g),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),l.length&&(e.fingerprint=[...e.fingerprint,...l]),f.length&&(e.eventProcessors=[...e.eventProcessors,...f]),u.length&&(e.attachments=[...e.attachments,...u]),e.propagationContext={...e.propagationContext,...d}}function xe(e,t,n){e[t]=Ie(e[t],n,1)}function _s(e,t){const{extra:n,tags:r,user:s,contexts:o,level:i,transactionName:a}=t,c=I(n);c&&Object.keys(c).length&&(e.extra={...c,...e.extra});const l=I(r);l&&Object.keys(l).length&&(e.tags={...l,...e.tags});const f=I(s);f&&Object.keys(f).length&&(e.user={...f,...e.user});const u=I(o);u&&Object.keys(u).length&&(e.contexts={...u,...e.contexts}),i&&(e.level=i),a&&e.type!=="transaction"&&(e.transaction=a)}function ys(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function Es(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function Ss(e,t){e.contexts={trace:us(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:En(t),...e.sdkProcessingMetadata};const n=mn(t),r=Re(n).description;r&&!e.transaction&&e.type==="transaction"&&(e.transaction=r)}function bs(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}function vs(e,t,n,r,s,o){const{normalizeDepth:i=3,normalizeMaxBreadth:a=1e3}=e,c={...t,event_id:t.event_id||n.event_id||w(),timestamp:t.timestamp||fe()},l=n.integrations||e.integrations.map(S=>S.name);Ts(c,e),ks(c,l),s&&s.emit("applyFrameMetadata",t),t.type===void 0&&Is(c,e.stackParser);const f=Ns(r,n.captureContext);n.mechanism&&re(c,n.mechanism);const u=s?s.getEventProcessors():[],d=en().getScopeData();if(o){const S=o.getScopeData();Sn(d,S)}if(f){const S=f.getScopeData();Sn(d,S)}const h=[...n.attachments||[],...d.attachments];h.length&&(n.attachments=h),ms(c,d);const g=[...u,...d.eventProcessors];return tt(g,c,n).then(S=>(S&&ws(S),typeof i=="number"&&i>0?Os(S,i,a):S))}function Ts(e,t){const{environment:n,release:r,dist:s,maxValueLength:o=250}=t;e.environment=e.environment||n||Be,!e.release&&r&&(e.release=r),!e.dist&&s&&(e.dist=s),e.message&&(e.message=ne(e.message,o));const i=e.exception&&e.exception.values&&e.exception.values[0];i&&i.value&&(i.value=ne(i.value,o));const a=e.request;a&&a.url&&(a.url=ne(a.url,o))}function Is(e,t){const n=nn(t);try{e.exception.values.forEach(r=>{r.stacktrace.frames.forEach(s=>{n&&s.filename&&(s.debug_id=n[s.filename])})})}catch{}}function ws(e){const t={};try{e.exception.values.forEach(r=>{r.stacktrace.frames.forEach(s=>{s.debug_id&&(s.abs_path?t[s.abs_path]=s.debug_id:s.filename&&(t[s.filename]=s.debug_id),delete s.debug_id)})})}catch{}if(Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach(([r,s])=>{n.push({type:"sourcemap",code_file:r,debug_id:s})})}function ks(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function Os(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(s=>({...s,...s.data&&{data:P(s.data,t,n)}}))},...e.user&&{user:P(e.user,t,n)},...e.contexts&&{contexts:P(e.contexts,t,n)},...e.extra&&{extra:P(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=P(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(s=>({...s,...s.data&&{data:P(s.data,t,n)}}))),e.contexts&&e.contexts.flags&&r.contexts&&(r.contexts.flags=P(e.contexts.flags,3,n)),r}function Ns(e,t){if(!t)return e;const n=e?e.clone():new L;return n.update(t),n}function Rs(e){if(!!e)return xs(e)?{captureContext:e}:Ds(e)?{captureContext:e}:e}function xs(e){return e instanceof L||typeof e=="function"}const Cs=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function Ds(e){return Object.keys(e).some(t=>Cs.includes(t))}function bn(e,t){return N().captureException(e,Rs(t))}function As(e,t){const n=typeof t=="string"?t:void 0,r=typeof t!="string"?{captureContext:t}:void 0;return N().captureMessage(e,n,r)}function vn(e,t){return N().captureEvent(e,t)}function bc(e,t){getIsolationScope().setContext(e,t)}function vc(e){getIsolationScope().setExtras(e)}function Tc(e,t){getIsolationScope().setExtra(e,t)}function Ic(e){getIsolationScope().setTags(e)}function wc(e,t){getIsolationScope().setTag(e,t)}function kc(e){getIsolationScope().setUser(e)}function Oc(){return getIsolationScope().lastEventId()}function Tn(e,t){const n=getCurrentScope(),r=getClient();if(!r)DEBUG_BUILD&&logger.warn("Cannot capture check-in. No client defined.");else if(!r.captureCheckIn)DEBUG_BUILD&&logger.warn("Cannot capture check-in. Client does not support sending check-ins.");else return r.captureCheckIn(e,t,n);return uuid4()}function Nc(e,t,n){const r=Tn({monitorSlug:e,status:"in_progress"},n),s=timestampInSeconds();function o(i){Tn({monitorSlug:e,status:i,checkInId:r,duration:timestampInSeconds()-s})}return withIsolationScope(()=>{let i;try{i=t()}catch(a){throw o("error"),a}return isThenable(i)?Promise.resolve(i).then(()=>{o("ok")},a=>{throw o("error"),a}):o("ok"),i})}async function Rc(e){const t=getClient();return t?t.flush(e):(DEBUG_BUILD&&logger.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function xc(e){const t=getClient();return t?t.close(e):(DEBUG_BUILD&&logger.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function Ps(){return!!E()}function Cc(){const e=getClient();return!!e&&e.getOptions().enabled!==!1&&!!e.getTransport()}function Dc(e){getIsolationScope().addEventProcessor(e)}function In(e){const t=E(),n=de(),r=N(),{release:s,environment:o=Be}=t&&t.getOptions()||{},{userAgent:i}=m.navigator||{},a=xr({release:s,environment:o,user:r.getUser()||n.getUser(),...i&&{userAgent:i},...e}),c=n.getSession();return c&&c.status==="ok"&&se(c,{status:"exited"}),wn(),n.setSession(a),r.setSession(a),a}function wn(){const e=de(),t=N(),n=t.getSession()||e.getSession();n&&Cr(n),kn(),e.setSession(),t.setSession()}function kn(){const e=de(),t=N(),n=E(),r=t.getSession()||e.getSession();r&&n&&n.captureSession(r)}function On(e=!1){if(e){wn();return}kn()}const Nn=[];function Ms(e){const t={};return e.forEach(n=>{const{name:r}=n,s=t[r];s&&!s.isDefaultInstance&&n.isDefaultInstance||(t[r]=n)}),Object.values(t)}function Ls(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(i=>{i.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n=="function"){const i=n(t);r=Array.isArray(i)?i:[i]}else r=t;const s=Ms(r),o=s.findIndex(i=>i.name==="Debug");if(o>-1){const[i]=s.splice(o,1);s.push(i)}return s}function js(e,t){const n={};return t.forEach(r=>{r&&xn(e,r,n)}),n}function Rn(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function xn(e,t,n){if(n[t.name]){_&&p.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,Nn.indexOf(t.name)===-1&&typeof t.setupOnce=="function"&&(t.setupOnce(),Nn.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),typeof t.preprocessEvent=="function"){const r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(s,o)=>r(s,o,e))}if(typeof t.processEvent=="function"){const r=t.processEvent.bind(t),s=Object.assign((o,i)=>r(o,i,e),{id:t.name});e.addEventProcessor(s)}_&&p.log(`Integration installed: ${t.name}`)}function Ac(e){const t=getClient();if(!t){DEBUG_BUILD&&logger.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`);return}t.addIntegration(e)}function Pc(e){return e}const Us=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",`can't redefine non-configurable property "solana"`,"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/],$s="InboundFilters",Fs=(e={})=>({name:$s,processEvent(t,n,r){const s=r.getOptions(),o=Bs(e,s);return Hs(t,o)?null:t}});function Bs(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:Us],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function Hs(e,t){return t.ignoreInternal&&Js(e)?(_&&p.warn(`Event dropped due to being internal Sentry Error.
|
|
@@ -26,4 +26,4 @@ Error:`,s)}}const b=m,Ko=1e3;let qn,mt,_t;function Xo(e){const t="dom";q(t,e),Y(
|
|
|
26
26
|
`,l.message)}if(r)return o;var a=n.level;for(s=0;s<this.streams.length;s++){var c=this.streams[s];c.level<=a&&c.stream.write(n)}return o},e}();function ue(e){return function(){var t=this;function n(i){var a;i[0]instanceof Error?(r={err:t.serializers&&t.serializers.err?t.serializers.err(i[0]):Pa.err(i[0])},a={err:!0},s=i.length===1?[r.err.message]:Array.prototype.slice.call(i,1)):typeof i[0]!="object"&&i[0]!==null||Array.isArray(i[0])?(r=null,s=Array.prototype.slice.call(i)):(r=i[0],s=i.length===1&&r.err&&r.err instanceof Error?[r.err.message]:Array.prototype.slice.call(i,1));var c=K(t.fields);c.level=e;var l=r?K(r):null;if(l&&(t.serializers&&t._applySerializers(l,a),Object.keys(l).forEach(function(u){c[u]=l[u]})),c.levelName=ar[e],c.msg=s.length?X.apply(t,s):"",c.time||(c.time=new Date),t.src&&!c.src)try{throw new Error("call-stack-error")}catch(u){var f=u.stack?xa(u.stack,2):"";f||Ca("src")||Ct("Unable to determine src line info","src"),c.src=f||""}return c.v=1,c}var r=null,s=arguments,o=null;if(arguments.length===0)return this._level<=e;this._level>e||(o=n(s),this._emit(o))}}function cr(e){var t=e.stack||e.toString();if(e.cause&&typeof e.cause=="function"){var n=e.cause();n&&(t+=`
|
|
27
27
|
Caused by: `+cr(n))}return t}V.prototype.trace=ue(10),V.prototype.debug=ue(20),V.prototype.info=ue(30),V.prototype.warn=ue(40),V.prototype.error=ue(50),V.prototype.fatal=ue(60);var Pa={err:function(e){return e&&e.stack?{message:e.message,name:e.name,stack:cr(e),code:e.code,signal:e.signal}:e}};function Ma(){return Nt(V,[].slice.call(arguments))}var ku={levels:{trace:"color: DeepPink",debug:"color: GoldenRod",info:"color: DarkTurquoise",warn:"color: Purple",error:"color: Crimson",fatal:"color: Black"},def:"color: DimGray",msg:"color: SteelBlue",src:"color: DimGray; font-style: italic; font-size: 0.9em"},Ou=null,Nu=null;function La({environment:e,clientSlug:t,url:n,telemetry:r,appVersion:s}={}){const{logging:o}=Object.assign({},r),i=[{level:Pt,stream:new pr({logByLevel:!0})}];return o&&i.push({level:$e,stream:new wa({dsn:"https://509e6f450227e178643e414fe50bd969@o4507853291716608.ingest.us.sentry.io/4508132363141120",environment:e,clientSlug:t,appVersion:s})}),n&&i.push({level:$e,stream:new Na({url:n,method:"POST",throttleInterval:5e3,flushOnClose:!0})}),Ma({name:"embeddable-logger",streams:i,environment:e,clientSlug:t})}}}]);
|
|
28
28
|
|
|
29
|
-
//# sourceMappingURL=
|
|
29
|
+
//# sourceMappingURL=572.index.js.map
|