PageSourceSearch

https://gwilymsw.com/_next/static/chunks/10-69h2xev3ek.js

js gwilymsw.com collected 2026-09-24 14:13:51 UTC 52,032 bytes, 7 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="8327bde3-dbb8-1b88-8c6b-46e69c3bef89")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,222057,512505,995763,191135,307150,397841,938099,682876,747753,188597,993390,361163,635797,748760,450081,730262,277065,658854,649878,11739,938672,960425,721525,572971,881207,77757,195585,210084,858827,607634,708775,397056,345246,617137,774628,745203,57793,464856,694002,602237,223815,t=>{"use strict";let e,n,r,i,s,a,o,c="10.46.0";t.s(["SDK_VERSION",0,c],512505);let u=globalThis;function l(){return p(u),u}function p(t){let e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||c,e[c]=e[c]||{}}function d(t,e,n=u){let r=n.__SENTRY__=n.__SENTRY__||{},i=r[c]=r[c]||{};return i[t]||(i[t]=e())}t.s(["GLOBAL_OBJ",0,u],995763),t.s(["getGlobalSingleton",0,d,"getMainCarrier",0,l,"getSentryCarrier",0,p],191135);let f="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;t.s(["DEBUG_BUILD",0,f],307150);let _=Object.prototype.toString;function h(t){switch(_.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return x(t,Error)}}function g(t,e){return _.call(t)===`[object ${e}]`}function m(t){return g(t,"String")}function S(t){return"object"==typeof t&&null!==t&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function y(t){return g(t,"Object")}function b(t){return"u">typeof Event&&x(t,Event)}function v(t){return"u">typeof Element&&x(t,Element)}function E(t){return g(t,"RegExp")}function T(t){return!!(t?.then&&"function"==typeof t.then)}function I(t){return y(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function x(t,e){try{return t instanceof e}catch{return!1}}function A(t){return!!("object"==typeof t&&null!==t&&(t.__isVue||t._isVue||t.__v_isVNode))}function k(t,e={}){if(!t)return"<unknown>";try{let n,r=t,i=[],s=0,a=0,o=Array.isArray(e)?e:e.keyAttrs,c=!Array.isArray(e)&&e.maxStringLength||80;for(;r&&s++<5&&(n=function(t,e){let n=[];if(!t?.tagName)return"";if(u.HTMLElement&&t instanceof HTMLElement&&t.dataset){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}n.push(t.tagName.toLowerCase());let r=e?.length?e.filter(e=>t.getAttribute(e)).map(e=>[e,t.getAttribute(e)]):null;if(r?.length)r.forEach(t=>{n.push(`[${t[0]}="${t[1]}"]`)});else{t.id&&n.push(`#${t.id}`);let e=t.className;if(e&&m(e))for(let t of e.split(/\s+/))n.push(`.${t}`)}for(let e of["aria-label","type","name","title","alt"]){let r=t.getAttribute(e);r&&n.push(`[${e}="${r}"]`)}return n.join("")}(r,o),"html"!==n&&(!(s>1)||!(a+3*i.length+n.length>=c)));)i.push(n),a+=n.length,r=r.parentNode;return i.reverse().join(" > ")}catch{return"<unknown>"}}t.s(["isDOMError",0,function(t){return g(t,"DOMError")},"isDOMException",0,function(t){return g(t,"DOMException")},"isElement",0,v,"isError",0,h,"isErrorEvent",0,function(t){return g(t,"ErrorEvent")},"isEvent",0,b,"isInstanceOf",0,x,"isParameterizedString",0,S,"isPlainObject",0,y,"isPrimitive",0,function(t){return null===t||S(t)||"object"!=typeof t&&"function"!=typeof t},"isRegExp",0,E,"isRequest",0,function(t){return"u">typeof Request&&x(t,Request)},"isString",0,m,"isSyntheticEvent",0,I,"isThenable",0,T,"isVueViewModel",0,A],397841),t.s(["getComponentName",0,function(t){if(!u.HTMLElement)return null;let e=t;for(let t=0;t<5&&e;t++){if(e instanceof HTMLElement){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}e=e.parentNode}return null},"getLocationHref",0,function(){try{return u.document.location.href}catch{return""}},"htmlTreeAsString",0,k],938099);let C={};function N(t){if(!("console"in u))return t();let e=u.console,n={},r=Object.keys(C);r.forEach(t=>{let r=C[t];n[t]=e[t],e[t]=r});try{return t()}finally{r.forEach(t=>{e[t]=n[t]})}}function w(){return R().enabled}function O(t,...e){f&&w()&&N(()=>{u.console[t](`Sentry Logger [${t}]:`,...e)})}function R(){return f?d("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let P={enable:function(){R().enabled=!0},disable:function(){R().enabled=!1},isEnabled:w,log:function(...t){O("log",...t)},warn:function(...t){O("warn",...t)},error:function(...t){O("error",...t)}};function $(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{f&&P.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function D(t,e){try{let n=e.prototype||{};t.prototype=e.prototype=n,$(t,"__sentry_original__",e)}catch{}}function M(t){if(h(t))return{message:t.message,name:t.name,stack:t.stack,...j(t)};if(!b(t))return t;{let e={type:t.type,target:L(t.target),currentTarget:L(t.currentTarget),...j(t)};return"u">typeof CustomEvent&&x(t,CustomEvent)&&(e.detail=t.detail),e}}function L(t){try{return v(t)?k(t):Object.prototype.toString.call(t)}catch{return"<unknown>"}}function j(t){return"object"==typeof t&&null!==t?Object.fromEntries(Object.entries(t)):{}}
2function U(t){if(void 0!==e)return e?e(t):t();let n=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__");return n in u&&"function"==typeof u[n]?(e=u[n])(t):(e=null,t())}function F(){return U(()=>Math.random())}function B(){return U(()=>Date.now())}t.s(["CONSOLE_LEVELS",0,["debug","info","warn","error","log","assert","trace"],"consoleSandbox",0,N,"debug",0,P,"originalConsoleMethods",0,C],682876),t.s(["addNonEnumerableProperty",0,$,"convertToPlainObject",0,M,"extractExceptionKeysForMessage",0,function(t){let e=Object.keys(M(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"},"fill",0,function(t,e,n){if(!(e in t))return;let r=t[e];if("function"!=typeof r)return;let i=n(r);"function"==typeof i&&D(i,r);try{t[e]=i}catch{f&&P.log(`Failed to replace method "${e}" in object`,t)}},"getOriginalFunction",0,function(t){return t.__sentry_original__},"markFunctionWrapped",0,D],747753),t.s(["safeDateNow",0,B,"safeMathRandom",0,F,"withRandomSafeContext",0,U],188597);let H=/\(error: (.*)\)/,Y=/captureMessage|captureException/;function V(...t){let e=t.sort((t,e)=>t[0]-e[0]).map(t=>t[1]);return(t,n=0,r=0)=>{let i=[],s=t.split("\n");for(let t=n;t<s.length;t++){let n=s[t];n.length>1024&&(n=n.slice(0,1024));let a=H.test(n)?n.replace(H,"$1"):n;if(!a.match(/\S*Error: /)){for(let t of e){let e=t(a);if(e){i.push(e);break}}if(i.length>=50+r)break}}var a=i.slice(r);if(!a.length)return[];let o=Array.from(a);return/sentryWrapped/.test(G(o).function||"")&&o.pop(),o.reverse(),Y.test(G(o).function||"")&&(o.pop(),Y.test(G(o).function||"")&&o.pop()),o.slice(0,50).map(t=>({...t,filename:t.filename||G(o).filename,function:t.function||"?"}))}}function G(t){return t[t.length-1]||{}}let J="<anonymous>";function z(t){try{if(!t||"function"!=typeof t)return J;return t.name||J}catch{return J}}function K(t){return"__v_isVNode"in t&&t.__v_isVNode?"[VueVNode]":"[VueViewModel]"}function W(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}function q(t,e,n=!1){return!!m(t)&&(E(e)?e.test(t):!!m(e)&&(n?t===e:t.includes(e)))}function X(t=u.crypto||u.msCrypto){try{if(t?.randomUUID)return U(()=>t.randomUUID()).replace(/-/g,"")}catch{}return n||(n="10000000100040008000100000000000"),n.replace(/[018]/g,t=>(t^(15&16*F())>>t/4).toString(16))}function Q(t){return t.exception?.values?.[0]}function Z(t,e){let n=Q(t);if(!n)return;let r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){let t={...r?.data,...e.data};n.mechanism.data=t}}function tt(){return B()/1e3}function te(){return(r??(r=function(){let{performance:t}=u;if(!t?.now||!t.timeOrigin)return tt;let e=t.timeOrigin;return()=>(e+U(()=>t.now()))/1e3}()))()}t.s(["UNKNOWN_FUNCTION",0,"?","createStackParser",0,V,"getFramesFromEvent",0,function(t){let e=t.exception;if(e){let t=[];try{return e.values.forEach(e=>{e.stacktrace.frames&&t.push(...e.stacktrace.frames)}),t}catch{}}},"getFunctionName",0,z,"getVueInternalName",0,K,"normalizeStackTracePath",0,function(t){let e=t?.startsWith("file://")?t.slice(7):t;return e?.match(/\/[A-Z]:/)&&(e=e.slice(1)),e},"stackParserFromStackParserOptions",0,function(t){return Array.isArray(t)?V(...t):t}],993390),t.s(["isMatchingPattern",0,q,"safeJoin",0,function(t,e){if(!Array.isArray(t))return"";let n=[];for(let e=0;e<t.length;e++){let r=t[e];try{A(r)?n.push(K(r)):n.push(String(r))}catch{n.push("[value cannot be serialized]")}}return n.join(e)},"snipLine",0,function(t,e){let n=t,r=n.length;if(r<=150)return n;e>r&&(e=r);let i=Math.max(e-60,0);i<5&&(i=0);let s=Math.min(i+140,r);return s>r-5&&(s=r),s===r&&(i=Math.max(s-140,0)),n=n.slice(i,s),i>0&&(n=`'{snip} ${n}`),s<r&&(n+=" {snip}"),n},"stringMatchesSomePattern",0,function(t,e=[],n=!1){return e.some(e=>q(t,e,n))},"truncate",0,W],361163),t.s(["addExceptionMechanism",0,Z,"addExceptionTypeValue",0,function(t,e,n){let r=t.exception=t.exception||{},i=r.values=r.values||[],s=i[0]=i[0]||{};s.value||(s.value=e||""),s.type||(s.type=n||"Error")},"checkOrSetAlreadyCaught",0,function(t){if(function(t){try{return t.__sentry_captured__}catch{}}(t))return!0;try{$(t,"__sentry_captured__",!0)}catch{}return!1},"getEventDescription",0,function(t){let{message:e,event_id:n}=t;if(e)return e;let r=Q(t);return r?r.type&&r.value?`${r.type}: ${r.value}
2`:r.type||r.value||n||"<unknown>":n||"<unknown>"},"uuid4",0,X],635797);let tn=null;function tr(t){let e=te(),n={sid:X(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var t;return t=n,{sid:`${t.sid}`,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}}}};return t&&ti(n,t),n}function ti(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||te(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:X()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{let e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function ts(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),ti(t,n)}function ta(t,e,n=2){if(!e||"object"!=typeof e||n<=0)return e;if(t&&0===Object.keys(e).length)return t;let r={...t};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=ta(r[t],e[t],n-1));return r}function to(){return X()}function tc(){return X().substring(16)}t.s(["browserPerformanceTimeOrigin",0,function(){return null===tn&&(tn=function(){let{performance:t}=u;if(!t?.now)return;let e=U(()=>t.now()),n=B(),r=t.timeOrigin;if("number"==typeof r&&3e5>Math.abs(r+e-n))return r;let i=t.timing?.navigationStart;return"number"==typeof i&&3e5>Math.abs(i+e-n)?i:n-e}()),tn},"dateTimestampInSeconds",0,tt,"timestampInSeconds",0,te],748760),t.s(["closeSession",0,ts,"makeSession",0,tr,"updateSession",0,ti],450081),t.s(["merge",0,ta],730262),t.s(["generateSpanId",0,tc,"generateTraceId",0,to],277065);let tu="_sentrySpan";function tl(t,e){e?$(t,tu,e):delete t[tu]}function tp(t){return t[tu]}t.s(["_getSpanForScope",0,tp,"_setSpanForScope",0,tl],658854);class td{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:to(),sampleRand:F()}}clone(){let t=new td;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},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._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,t._conversationId=this._conversationId,tl(t,tp(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&&ti(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(t){return this._conversationId=t||void 0,this._notifyScopeListeners(),this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this.setTags({[t]:e})}setAttributes(t){return this._attributes={...this._attributes,...t},this._notifyScopeListeners(),this}setAttribute(t,e){return this.setAttributes({[t]:e})}removeAttribute(t){return t in this._attributes&&(delete this._attributes[t],this._notifyScopeListeners()),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},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,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,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;let e="function"==typeof t?t(this):t,{tags:n,attributes:r,extra:i,user:s,contexts:a,level:o,fingerprint:c=[],propagationContext:u,conversationId:l}=(e instanceof td?e.getScopeData():y(e)?t:void 0)||{};return this._tags={...this._tags,...n},this._attributes={...this._attributes,...r},this._extra={...this._extra,...i},this._contexts={...this._contexts,...a},s&&Object.keys(s).length&&(this._user=s),o&&(this._level=o),c.length&&(this._fingerprint=c),u&&(this._propagationContext=u),l&&(this._conversationId=l),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,tl(this,void 0),this._attachments=[],this.setPropagationContext({traceId:to(),sampleRand:F()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){let n="number"==typeof e?e:100;if(n<=0)return this;let r={timestamp:tt(),...t,message:t.message?W(t.message,2048):t.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent("buffer_overflow","log_item")),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,attributes:this._attributes,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:tp(this),conversationId:this._conversationId}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=ta(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,e){let n=e?.event_id||X();if(!this._client)return f&&P.warn("No client configured on scope - will not capture exception!"),n;let r=Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:r,...e,event_id:n},this),n}captureMessage(t,e,n){let r=n?.event_id||X();if(!this._client)return f&&P.warn("No client configured on scope - will not capture message!"),r;let i=n?.syntheticException??Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:i,...n,event_id:r},this),r}captureEvent(t,e){let n=t.event_id||e?.event_id||X();return this._client?this._client.captureEvent(t,{...e,event_id:n},this):f&&P.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
2h(t=>{t(this)}),this._notifyingListeners=!1)}}let tf=t=>t instanceof Promise&&!t[t_],t_=Symbol("chained PromiseLike"),th=(t,e,n)=>{let r=t.then(t=>(e(t),t),t=>{throw n(t),t});return tf(r)&&tf(t)?r:tg(t,r)},tg=(t,e)=>{let n=!1;for(let r in t){if(r in e)continue;n=!0;let i=t[r];"function"==typeof i?Object.defineProperty(e,r,{value:(...e)=>i.apply(t,e),enumerable:!0,configurable:!0,writable:!0}):e[r]=i}return n&&Object.assign(e,{[t_]:!0}),e};class tm{constructor(t,e){let n,r;n=t||new td,r=e||new td,this._stack=[{scope:n}],this._isolationScope=r}withScope(t){let e,n=this._pushScope();try{e=t(n)}catch(t){throw this._popScope(),t}return T(e)?th(e,()=>this._popScope(),()=>this._popScope()):(this._popScope(),e)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function tS(){let t=p(l());return t.stack=t.stack||new tm(d("defaultCurrentScope",()=>new td),d("defaultIsolationScope",()=>new td))}function ty(t){return tS().withScope(t)}function tb(t,e){let n=tS();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function tv(t){return tS().withScope(()=>t(tS().getIsolationScope()))}function tE(t){let e=p(t);return e.acs?e.acs:{withIsolationScope:tv,withScope:ty,withSetScope:tb,withSetIsolationScope:(t,e)=>tv(e),getCurrentScope:()=>tS().getScope(),getIsolationScope:()=>tS().getIsolationScope()}}function tT(){return tE(l()).getCurrentScope()}function tI(){return tE(l()).getIsolationScope()}function tx(){return d("globalScope",()=>new td)}function tA(...t){let e=tE(l());if(2===t.length){let[n,r]=t;return n?e.withSetScope(n,r):e.withScope(r)}return e.withScope(t[0])}function tk(){return tT().getClient()}t.s(["getAsyncContextStrategy",0,tE],649878),t.s(["getClient",0,tk,"getCurrentScope",0,tT,"getGlobalScope",0,tx,"getIsolationScope",0,tI,"getTraceContextFromScope",0,function(t){let{traceId:e,parentSpanId:n,propagationSpanId:r}=t.getPropagationContext(),i={trace_id:e,span_id:r||tc()};return n&&(i.parent_span_id=n),i},"withIsolationScope",0,function(...t){let e=tE(l());if(2===t.length){let[n,r]=t;return n?e.withSetIsolationScope(n,r):e.withIsolationScope(r)}return e.withIsolationScope(t[0])},"withScope",0,tA],11739);let tC="sentry.source",tN="sentry.sample_rate",tw="sentry.previous_trace_sample_rate",tO="sentry.op",tR="sentry.origin",tP="sentry.measurement_unit",t$="sentry.measurement_value",tD="sentry.custom_span_name",tM="sentry.profile_id",tL="sentry.exclusive_time";t.s(["GEN_AI_CONVERSATION_ID_ATTRIBUTE",0,"gen_ai.conversation.id","SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME",0,tL,"SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD",0,"http.request.method","SEMANTIC_ATTRIBUTE_PROFILE_ID",0,tM,"SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME",0,tD,"SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON",0,"sentry.idle_span_finish_reason","SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT",0,tP,"SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE",0,t$,"SEMANTIC_ATTRIBUTE_SENTRY_OP",0,tO,"SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",0,tR,"SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE",0,tw,"SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",0,tN,"SEMANTIC_ATTRIBUTE_SENTRY_SOURCE",0,tC,"SEMANTIC_ATTRIBUTE_URL_FULL",0,"url.full","SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE",0,"sentry.link.type"],938672);let tj="sentry-";function tU(t){let e=function(t){if(t&&(m(t)||Array.isArray(t)))return Array.isArray(t)?t.reduce((t,e)=>(Object.entries(tF(e)).forEach(([e,n])=>{t[e]=n}),t),{}):tF(t)}(t);if(!e)return;let n=Object.entries(e).reduce((t,[e,n])=>(e.startsWith(tj)&&(t[e.slice(tj.length)]=n),t),{});return Object.keys(n).length>0?n:void 0}function tF(t){return t.split(",").map(t=>{let e=t.indexOf("=");return -1===e?[]:[t.slice(0,e),t.slice(e+1)].map(t=>{try{return decodeURIComponent(t.trim())}catch{return}})}).reduce((t,[e,n])=>(e&&n&&(t[e]=n),t),{})}function tB(t){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let e=t||tk()?.getOptions();return!!e&&(null!=e.tracesSampleRate||!!e.tracesSampler)}function tH(t){if("boolean"==typeof t)return Number(t);let e="string"==typeof t?parseFloat(t):t;if(!("number"!=typeof e||isNaN(e))&&!(e<0)&&!(e>1))return e}t.s(["SENTRY_BAGGAGE_KEY_PREFIX",0,tj,"baggageHeaderToDynamicSamplingContext",0,tU,"dynamicSamplingContextToSentryBaggageHeader",0,function(t){if(t){var e=Object.entries(t).reduce((t,[e,n])=>(n&&(t[`${tj}${e}`]=n),t),{});return 0!==Object.keys(e).length?Object.entries(e).reduce((t,[e,n],r)=>{let i=`${encodeURIComponent(e)}=${encodeURIComponent(n)}`,s=0===r?i:`${t},${i}`;return s.length>8192?(f&&P.warn(`Not adding key: ${e} with val: ${n} to baggage header due to exceeding baggage size limits.`),t):s},""):void 0}}],960425),t.s(["hasSpansEnabled",0,tB],721525),t.s(["parseSampleRate",0,tH],572971),t.s(["SPAN_STATUS_ERROR",0,2,"SPAN_STATUS_OK",0,1,"SPAN_STATUS_UNSET",0,0,"setHttpStatus",0,function(t,e){t.setAttribute("http.response.status_code",e);let n=function(t){if(t<400&&t>=100)return{code:1};if(t>=400&&t<500)switch(t){case 401:return{code:2,message:"unauthenticated"};case 403:return{code:2,message:"permission_denied"};case 404:return{code:2,message:"not_found"};case 409:return{code:2,message:"already_exists"};case 413:return{code:2,message:"failed_precondition"};case 429:return{code:2,message:"resource_exhausted"};case 499:return{code:2,message:"cancelled"};default:return{code:2,message:"invalid_argument"}}if(t>=500&&t<600)switch(t){case 501:return{code:2,message:"unimplemented"};case 503:return{code:2,message:"unavailable"};case 504:return{code:2,message:"deadline_exceeded"}}return{code:2,message:"internal_error"}}(e);"unknown_error"!==n.message&&t.setStatus(n)}],881207);let tY="_sentryScope",tV="_sentryIsolationScope";function tG(t){return{scope:t[tY],isolationScope:function(t){if(t){if("object"==typeof t&&"deref"in t&&"function"==typeof t.deref)try{return t.deref()}catch{return}return t}}(t[tV])}}let tJ=/^o(\d+)\./,tz=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function tK(t,e=!1){let{host:n,path:r,pass:i,port:s,projectId:a,protocol:o,publicKey:c}=t;return`${o}://${c}${e&&i?`:${i}`:""}@${n}${s?`:${s}`:""}/${r?`${r}/`:r}${a}`}function tW(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function tq(t){let e,n=t.getOptions(),{host:r}=t.getDsn()||{};if(n.orgId)e=String(n.orgId);else{let t;r&&(t=r.match(tJ),e=t?.[1])}return e}t.s(["dsnToString",0,tK,"extractOrgIdFromClient",0,tq,"makeDsn",0,function(t){let e="string"==typeof t?function(t){let e=tz.exec(t);if(!e)return void N(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});let[n,r,i="",s="",a="",o=""]=e.slice(1),c="",u=o,l=u.split("/");if(l.length>1&&(c=l.slice(0,-1).join("/"),u=l.pop()),u){let t=u.match(/^\d+/);t&&(u=t[0])}return tW({host:s,pass:i,path:c,projectId:u,port:a,protocol:n,publicKey:r})}(t):tW(t);if(e&&function(t){if(!f)return!0;let{port:e,projectId:n,protocol:r}=t;return!["protocol","publicKey","host","projectId"].find(e=>!t[e]&&(P.error(`Invalid Sentry Dsn: ${e} missing`),!0))&&(n.match(/^\d+$/)?"http"!==r&&"https"!==r?(P.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):!(e&&isNaN(parseInt(e,10)))||(P.error(`Invalid Sentry Dsn: Invalid port ${e}
2`),!1):(P.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(e))return e}],77757);let tX=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function tQ(t=to(),e=tc(),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${t}-${e}${r}`}function tZ(t=to(),e=tc(),n){return`00-${t}-${e}-${n?"01":"00"}`}t.s(["TRACEPARENT_REGEXP",0,tX,"generateSentryTraceHeader",0,tQ,"generateTraceparentHeader",0,tZ,"propagationContextFromHeaders",0,function(t,e){let n=function(t){let e;if(!t)return;let n=t.match(tX);if(n)return"1"===n[3]?e=!0:"0"===n[3]&&(e=!1),{traceId:n[1],parentSampled:e,parentSpanId:n[2]}}(t),r=tU(e);if(!n?.traceId)return{traceId:to(),sampleRand:F()};let i=function(t,e){let n=tH(e?.sample_rand);if(void 0!==n)return n;let r=tH(e?.sample_rate);return r&&t?.parentSampled!==void 0?t.parentSampled?F()*r:r+F()*(1-r):F()}(n,r);r&&(r.sample_rand=i.toString());let{traceId:s,parentSpanId:a,parentSampled:o}=n;return{traceId:s,parentSpanId:a,sampled:o,dsc:r||{},sampleRand:i}},"shouldContinueTrace",0,function(t,e){let n=tq(t);return e&&n&&e!==n?(P.log(`Won't continue trace because org IDs don't match (incoming baggage: ${e}, SDK options: ${n})`),!1):!t.getOptions().strictTraceContinuation||(!e||!!n)&&(!!e||!n)||(P.log(`Starting a new trace because strict trace continuation is enabled but one org ID is missing (incoming baggage: ${e}, Sentry client: ${n})`),!1)}],195585);let t0=!1;function t1(t){let{spanId:e,traceId:n}=t.spanContext(),{data:r,op:i,parent_span_id:s,status:a,origin:o,links:c}=t8(t);return{parent_span_id:s,span_id:e,trace_id:n,data:r,op:i,status:a,origin:o,links:c}}function t7(t){let{spanId:e,traceId:n,isRemote:r}=t.spanContext(),i=r?e:t8(t).parent_span_id,s=tG(t).scope;return{parent_span_id:i,span_id:r?s?.getPropagationContext().propagationSpanId||tc():e,trace_id:n}}function t2(t){return t&&t.length>0?t.map(({context:{spanId:t,traceId:e,traceFlags:n,...r},attributes:i})=>({span_id:t,trace_id:e,sampled:1===n,attributes:i,...r})):void 0}function t5(t){return"number"==typeof t?t3(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?t3(t.getTime()):te()}function t3(t){return t>0x2540be3ff?t/1e3:t}function t8(t){var e;if("function"==typeof t.getSpanJSON)return t.getSpanJSON();let{spanId:n,traceId:r}=t.spanContext();if((e=t).attributes&&e.startTime&&e.name&&e.endTime&&e.status){let{attributes:e,startTime:i,name:s,endTime:a,status:o,links:c}=t;return{span_id:n,trace_id:r,data:e,description:s,parent_span_id:"parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?t.parentSpanContext?.spanId:void 0,start_timestamp:t5(i),timestamp:t5(a)||void 0,status:t6(o),op:e[tO],origin:e[tR],links:t2(c)}}return{span_id:n,trace_id:r,start_timestamp:0,data:{}}}function t4(t){let{traceFlags:e}=t.spanContext();return 1===e}function t6(t){if(t&&0!==t.code)return 1===t.code?"ok":t.message||"internal_error"}let t9="_sentryChildSpans",et="_sentryRootSpan";function ee(t,e){let n=t[et]||t;$(e,et,n),t[t9]?t[t9].add(e):$(t,t9,new Set([e]))}function en(t){let e=new Set;return!function t(n){if(!e.has(n)&&t4(n))for(let r of(e.add(n),n[t9]?Array.from(n[t9]):[]))t(r)}(t),Array.from(e)}function er(t){return t[et]||t}function ei(){let t=tE(l());return t.getActiveSpan?t.getActiveSpan():tp(tT())}function es(){t0||(N(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),t0=!0)}t.s(["TRACE_FLAG_NONE",0,0,"TRACE_FLAG_SAMPLED",0,1,"addChildSpanToSpan",0,ee,"convertSpanLinksForEnvelope",0,t2,"getActiveSpan",0,ei,"getRootSpan",0,er,"getSpanDescendants",0,en,"getStatusMessage",0,t6,"removeChildSpanFromSpan",0,function(t,e){t[t9]&&t[t9].delete(e)},"showSpanDropWarning",0,es,"spanIsSampled",0,t4,"spanTimeInputToSeconds",0,t5,"spanToJSON",0,t8,"spanToTraceContext",0,t7,"spanToTraceHeader",0,function(t){let{traceId:e,spanId:n}=t.spanContext();return tQ(e,n,t4(t))},"spanToTraceparentHeader",0,function(t){let{traceId:e,spanId:n}=t.spanContext();return tZ(e,n,t4(t))},"spanToTransactionTraceContext",0,t1],210084);let ea="production";t.s(["DEFAULT_ENVIRONMENT",0,ea],858827);let eo="_frozenDsc";function ec(t,e){$(t,eo,e)}function eu(t,e){let n=e.getOptions(),{publicKey:r}=e.getDsn()||{},i={environment:n.environment||ea,release:n.release,public_key:r,trace_id:t,org_id:tq(e)};return e.emit("createDsc",i),i}function el(t){let e=tk();if(!e)return{};let n=er(t),r=t8(n),i=r.data,s=n.spanContext().traceState,a=s?.get("sentry.sample_rate")??i[tN]??i[tw];function o(t){return("number"==typeof a||"string"==typeof a)&&(t.sample_rate=`${a}`),t}let c=n[eo];if(c)return o(c);let u=s?.get("sentry.dsc"),l=u&&tU(u);if(l)return o(l);let p=eu(t.spanContext().traceId,e),d=i[tC],f=r.description;return"url"!==d&&f&&(p.transaction=f),tB()&&(p.sampled=String(t4(n)),p.sample_rand=s?.get("sentry.sample_rand")??tG(n).scope?.getPropagationContext().sampleRand.toString()),o(p),e.emit("createDsc",p,n),p}t.s(["freezeDscOnSpan",0,ec,"getDynamicSamplingContextFromScope",0,function(t,e){let n=e.getPropagationContext();return n.dsc||eu(n.traceId,t)},"getDynamicSamplingContextFromSpan",0,el],607634);class ep{constructor(t={}){this._traceId=t.traceId||to(),this._spanId=t.spanId||tc()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(t){}setAttribute(t,e){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}
2addEvent(t,e,n){return this}addLink(t){return this}addLinks(t){return this}recordException(t,e){}}function ed(e,n=100,r=Infinity){try{return function e(n,r,i=Infinity,s=Infinity,a=function(){let t=new WeakSet;return[function(e){return!!t.has(e)||(t.add(e),!1)},function(e){t.delete(e)}]}()){let[o,c]=a;if(null==r||["boolean","string"].includes(typeof r)||"number"==typeof r&&Number.isFinite(r))return r;let u=function(e,n){try{var r;let i;if("domain"===e&&n&&"object"==typeof n&&n._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if(n===t.g)return"[Global]";if("u">typeof window&&n===window)return"[Window]";if("u">typeof document&&n===document)return"[Document]";if(A(n))return K(n);if(I(n))return"[SyntheticEvent]";if("number"==typeof n&&!Number.isFinite(n))return`[${n}]`;if("function"==typeof n)return`[Function: ${z(n)}]`;if("symbol"==typeof n)return`[${String(n)}]`;if("bigint"==typeof n)return`[BigInt: ${String(n)}]`;let s=(r=n,i=Object.getPrototypeOf(r),i?.constructor?i.constructor.name:"null prototype");if(/^HTML(\w*)Element$/.test(s))return`[HTMLElement: ${s}]`;return`[object ${s}]`}catch(t){return`**non-serializable** (${t})`}}(n,r);if(!u.startsWith("[object "))return u;if(r.__sentry_skip_normalization__)return r;let l="number"==typeof r.__sentry_override_normalization_depth__?r.__sentry_override_normalization_depth__:i;if(0===l)return u.replace("object ","");if(o(r))return"[Circular ~]";if(r&&"function"==typeof r.toJSON)try{let t=r.toJSON();return e("",t,l-1,s,a)}catch{}let p=Array.isArray(r)?[]:{},d=0,f=M(r);for(let t in f){if(!Object.prototype.hasOwnProperty.call(f,t))continue;if(d>=s){p[t]="[MaxProperties ~]";break}let n=f[t];p[t]=e(t,n,l-1,s,a),d++}return c(r),p}("",e,n,r)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function ef(t,e=[]){return[t,e]}function e_(t,e){for(let n of t[1]){let t=n[0].type;if(e(n,t))return!0}return!1}function eh(t){let e=p(u);return e.encodePolyfill?e.encodePolyfill(t):new TextEncoder().encode(t)}function eg(t){return[{type:"span"},t]}t.s(["SentryNonRecordingSpan",0,ep],708775),t.s(["normalize",0,ed,"normalizeToSize",0,function t(e,n=3,r=102400){let i=ed(e,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?t(e,n-1,r):i}],397056);let em={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function eS(t){if(!t?.sdk)return;let{name:e,version:n}=t.sdk;return{name:e,version:n}}function ey(t,e,n,r){let i=t.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date().toISOString(),...e&&{sdk:e},...!!n&&r&&{dsn:tK(r)},...i&&{trace:i}}}function eb(t){P.log(`Ignoring span ${t.op} - ${t.description} because it matches \`ignoreSpans\`.`)}function ev(t,e){if(!e?.length||!t.description)return!1;for(let r of e){var n;if("string"==typeof(n=r)||n instanceof RegExp){if(q(t.description,r))return f&&eb(t),!0;continue}if(!r.name&&!r.op)continue;let e=!r.name||q(t.description,r.name),i=!r.op||t.op&&q(t.op,r.op);if(e&&i)return f&&eb(t),!0}return!1}function eE(t,e){let n=el(t[0]),r=e?.getDsn(),i=e?.getOptions().tunnel,s={sent_at:new Date().toISOString(),...!!n.trace_id&&!!n.public_key&&{trace:n},...!!i&&r&&{dsn:tK(r)}},{beforeSendSpan:a,ignoreSpans:o}=e?.getOptions()||{},c=o?.length?t.filter(t=>!ev(t8(t),o)):t,u=t.length-c.length;u&&e?.recordDroppedEvent("before_send","span",u);let l=a?t=>{let e=t8(t),n=a(e);return n||(es(),e)}:t8,p=[];for(let t of c){let e=l(t);e&&p.push(eg(e))}return ef(s,p)}function eT(t){if(!t||0===t.length)return;let e={};return t.forEach(t=>{let n=t.attributes||{},r=n[tP],i=n[t$];"string"==typeof r&&"number"==typeof i&&(e[t.name]={value:i,unit:r})}),e}t.s(["addItemToEnvelope",0,function(t,e){let[n,r]=t;return[n,[...r,e]]},"createAttachmentEnvelopeItem",0,function(t){let e="string"==typeof t.data?eh(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]},"createEnvelope",0,ef,"createEventEnvelopeHeaders",0,ey,"createSpanEnvelopeItem",0,eg,"envelopeContainsItemType",0,function(t,e){return e_(t,(t,n)=>e.includes(n))},"envelopeItemTypeToDataCategory",0,function(t){return t in em?em[t]:t},"forEachEnvelopeItem",0,e_,"getSdkMetadataForEnvelopeHeader",0,eS,"serializeEnvelope",0,function(t){let[e,n]=t,r=JSON.stringify(e);function i(t){"string"==typeof r?r="string"==typeof t?r+t:[eh(r),t]:r.push("string"==typeof t?eh(t):t)}for(let t of n){let[e,n]=t;if(i(`
3${JSON.stringify(e)}
4`),"string"==typeof n||n instanceof Uint8Array)i(n);else{let t;try{t=JSON.stringify(n)}catch{t=JSON.stringify(ed(n))}i(t)}}return"string"==typeof r?r:function(t){let e=new Uint8Array(t.reduce((t,e)=>t+e.length,0)),n=0;for(let r of t)e.set(r,n),n+=r.length;return e}(r)}],345246),t.s(["reparentChildSpans",0,function(t,e){let n=e.parent_span_id,r=e.span_id;if(n)for(let e of t)e.parent_span_id===r&&(e.parent_span_id=n)},"shouldIgnoreSpan",0,ev],617137),t.s(["createEventEnvelope",0,function(t,e,n,r){let i=eS(n),s=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){if(!e)return;let n=t.sdk||{};t.sdk={...n,name:n.name||e.name,version:n.version||e.version,integrations:[...t.sdk?.integrations||[],...e.integrations||[]],packages:[...t.sdk?.packages||[],...e.packages||[]],settings:t.sdk?.settings||e.settings?{...t.sdk?.settings,...e.settings}:void 0}}(t,n?.sdk);let a=ey(t,i,r,e);return delete t.sdkProcessingMetadata,ef(a,[[{type:s},t]])},"createSessionEnvelope",0,function(t,e,n,r){let i=eS(n);return ef({sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&e&&{dsn:tK(e)}},["aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()]])},"createSpanEnvelope",0,eE],774628),t.s(["setMeasurement",0,function(t,e,n,r=ei()){let i=r&&er(r);i&&(f&&P.log(`[Measurement] Setting measurement on root span: ${t} = ${e} ${n}`),i.addEvent(t,{[t$]:e,[tP]:n}))},"timedEventsToMeasurements",0,eT],745203);class eI{constructor(t={}){this._traceId=t.traceId||to(),this._spanId=t.spanId||tc(),this._startTime=t.startTimestamp||te(),this._links=t.links,this._attributes={},this.setAttributes({[tR]:"manual",[tO]:t.op,...t.attributes}),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}
4addLink(t){return this._links?this._links.push(t):this._links=[t],this}addLinks(t){return this._links?this._links.push(...t):this._links=t,this}recordException(t,e){}spanContext(){let{_spanId:t,_traceId:e,_sampled:n}=this;return{spanId:t,traceId:e,traceFlags:+!!n}}setAttribute(t,e){return void 0===e?delete this._attributes[t]:this._attributes[t]=e,this}setAttributes(t){return Object.keys(t).forEach(e=>this.setAttribute(e,t[e])),this}updateStartTime(t){this._startTime=t5(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this.setAttribute(tC,"custom"),this}end(t){this._endTime||(this._endTime=t5(t),function(t){if(!f)return;let{description:e="< unknown name >",op:n="< unknown op >"}=t8(t),{spanId:r}=t.spanContext(),i=er(t)===t,s=`[Tracing] Finishing "${n}" ${i?"root ":""}span "${e}" with ID ${r}`;P.log(s)}(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[tO],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:t6(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[tR],profile_id:this._attributes[tM],exclusive_time:this._attributes[tL],measurements:eT(this._events),is_segment:this._isStandaloneSpan&&er(this)===this||void 0,segment_id:this._isStandaloneSpan?er(this).spanContext().spanId:void 0,links:t2(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,e,n){f&&P.log("[Tracing] Adding an event to span:",t);let r=ex(e)?e:n||te(),i=ex(e)?{}:e||{},s={name:t,time:t5(r),attributes:i};return this._events.push(s),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let t=tk();if(t&&t.emit("spanEnd",this),!(this._isStandaloneSpan||this===er(this)))return;if(this._isStandaloneSpan)return void(this._sampled?function(t){let e=tk();if(!e)return;let n=t[1];n&&0!==n.length?e.sendEnvelope(t):e.recordDroppedEvent("before_send","span")}(eE([this],t)):(f&&P.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span")));let e=this._convertSpanToTransaction();e&&(tG(this).scope||tT()).captureEvent(e)}_convertSpanToTransaction(){if(!eA(t8(this)))return;this._name||(f&&P.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:t,isolationScope:e}=tG(this),n=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;let r=en(this).filter(t=>{var e;return t!==this&&!((e=t)instanceof eI&&e.isStandaloneSpan())}).map(t=>t8(t)).filter(eA),i=this._attributes[tC];delete this._attributes[tD],r.forEach(t=>{delete t.data[tD]});let s={contexts:{trace:t1(this)},spans:r.length>1e3?r.sort((t,e)=>t.start_timestamp-e.start_timestamp).slice(0,1e3):r,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:e,dynamicSamplingContext:el(this)},request:n,...i&&{transaction_info:{source:i}}},a=eT(this._events);return a&&Object.keys(a).length&&(f&&P.log("[Measurements] Adding measurements to transaction event",JSON.stringify(a,void 0,2)),s.measurements=a),s}}function ex(t){return t&&"number"==typeof t||t instanceof Date||Array.isArray(t)}function eA(t){return!!t.start_timestamp&&!!t.timestamp&&!!t.span_id&&!!t.trace_id}t.s(["SentrySpan",0,eI],57793);let ek="__SENTRY_SUPPRESS_TRACING__";function eC(t,e){let n=tE(l());return n.withActiveSpan?n.withActiveSpan(t,e):tA(n=>(tl(n,t||void 0),e(n)))}function eN({parentSpan:t,spanArguments:e,forceTransaction:n,scope:r}){var i;let s;if(!tB()){let r=new ep;if(n||!t){let t={sampled:"false",sample_rate:"0",transaction:e.name,...el(r)};ec(r,t)}return r}let a=tI();if(t&&!n)s=function(t,e,n){let{spanId:r,traceId:i}=t.spanContext(),s=!e.getScopeData().sdkProcessingMetadata[ek]&&t4(t),a=s?new eI({...n,parentSpanId:r,traceId:i,sampled:s}):new ep({traceId:i});ee(t,a);let o=tk();return o&&(o.emit("spanStart",a),n.endTimestamp&&o.emit("spanEnd",a)),a}(t,r,e),ee(t,s);else if(t){let n=el(t),{traceId:i,spanId:a}=t.spanContext(),o=t4(t);ec(s=eO({traceId:i,parentSpanId:a,...e},r,o),n)}else{let{traceId:t,dsc:n,parentSpanId:i,sampled:o}={...a.getPropagationContext(),...r.getPropagationContext()};s=eO({traceId:t,parentSpanId:i,...e},r,o),n&&ec(s,n)}return!function(t){if(!f)return;let{description:e="< unknown name >",op:n="< unknown op >",parent_span_id:r}=t8(t),{spanId:i}=t.spanContext(),s=t4(t),a=er(t),o=a===t,c=`[Tracing] Starting ${s?"sampled":"unsampled"} ${o?"root ":""}span`,u=[`op: ${n}`,`name: ${e}`,`ID: ${i}`];
4if(r&&u.push(`parent ID: ${r}`),!o){let{op:t,description:e}=t8(a);u.push(`root ID: ${a.spanContext().spanId}`),t&&u.push(`root op: ${t}`),e&&u.push(`root description: ${e}`)}P.log(`${c}
5  ${u.join("\n  ")}`)}(s),(i=s)&&($(i,tV,function(t){try{let e=u.WeakRef;if("function"==typeof e)return new e(t)}catch{}return t}(a)),$(i,tY,r)),s}function ew(t){let e={isStandalone:(t.experimental||{}).standalone,...t};if(t.startTime){let n={...e};return n.startTimestamp=t5(t.startTime),delete n.startTime,n}return e}function eO(t,e,n){let r=tk(),i=r?.getOptions()||{},{name:s=""}=t,a={spanAttributes:{...t.attributes},spanName:s,parentSampled:n};r?.emit("beforeSampling",a,{decision:!1});let o=a.parentSampled??n,c=a.spanAttributes,u=e.getPropagationContext(),[l,p,d]=e.getScopeData().sdkProcessingMetadata[ek]?[!1]:function(t,e,n){let r,i;if(!tB(t))return[!1];"function"==typeof t.tracesSampler?(r=t.tracesSampler({...e,inheritOrSampleWith:t=>"number"==typeof e.parentSampleRate?e.parentSampleRate:"boolean"==typeof e.parentSampled?Number(e.parentSampled):t}),i=!0):void 0!==e.parentSampled?r=e.parentSampled:void 0!==t.tracesSampleRate&&(r=t.tracesSampleRate,i=!0);let s=tH(r);if(void 0===s)return f&&P.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(r)} of type ${JSON.stringify(typeof r)}.`),[!1];if(!s)return f&&P.log(`[Tracing] Discarding transaction because ${"function"==typeof t.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,s,i];let a=n<s;return!a&&f&&P.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),[a,s,i]}(i,{name:s,parentSampled:o,attributes:c,parentSampleRate:tH(u.dsc?.sample_rate)},u.sampleRand),_=new eI({...t,attributes:{[tC]:"custom",[tN]:void 0!==p&&d?p:void 0,...c},sampled:l});return!l&&r&&(f&&P.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),r.recordDroppedEvent("sample_rate","transaction")),r&&r.emit("spanStart",_),_}function eR(t,e){if(e)return e;if(null===e)return;let n=tp(t);if(!n)return;let r=tk();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?er(n):n}function eP(t){return new eD(e=>{e(t)})}function e$(t){return new eD((e,n)=>{n(t)})}t.s(["startInactiveSpan",0,function(t){let e=tE(l());if(e.startInactiveSpan)return e.startInactiveSpan(t);let n=ew(t),{forceTransaction:r,parentSpan:i}=t;return(t.scope?e=>tA(t.scope,e):void 0!==i?t=>eC(i,t):t=>t())(()=>{let e=tT(),s=eR(e,i);return t.onlyIfParent&&!s?new ep:eN({parentSpan:s,spanArguments:n,forceTransaction:r,scope:e})})},"startNewTrace",0,function(t){return tA(e=>(e.setPropagationContext({traceId:to(),sampleRand:F()}),f&&P.log(`Starting a new trace with id ${e.getPropagationContext().traceId}`),eC(null,t)))},"startSpan",0,function(t,e){let n=tE(l());if(n.startSpan)return n.startSpan(t,e);let r=ew(t),{forceTransaction:i,parentSpan:s,scope:a}=t;return tA(a?.clone(),()=>{var n;return(void 0!==(n=s)?t=>eC(n,t):t=>t())(()=>{let n=tT(),a=eR(n,s),o=t.onlyIfParent&&!a?new ep:eN({parentSpan:a,spanArguments:r,forceTransaction:i,scope:n});return tl(n,o),function(t,e,n=()=>{},r=()=>{}){var i,s,a,o;let c;try{c=t()}catch(t){throw e(t),n(),t}return i=c,s=e,a=n,o=r,T(i)?th(i,t=>{a(),o(t)},t=>{s(t),a()}):(a(),o(i),i)}(()=>e(o),()=>{let{status:t}=t8(o);o.isRecording()&&(!t||"ok"===t)&&o.setStatus({code:2,message:"internal_error"})},()=>{o.end()})})})},"withActiveSpan",0,eC],464856);class eD{constructor(t){this._state=0,this._handlers=[],this._runExecutor(t)}then(t,e){return new eD((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(t){r(t)}else n(e)},t=>{if(e)try{n(e(t))}catch(t){r(t)}else r(t)}]),this._executeHandlers()})}catch(t){return this.then(t=>t,t)}finally(t){return new eD((e,n)=>{let r,i;return this.then(e=>{i=!1,r=e,t&&t()},e=>{i=!0,r=e,t&&t()}).then(()=>{i?n(r):e(r)})})}_executeHandlers(){if(0===this._state)return;let t=this._handlers.slice();this._handlers=[],t.forEach(t=>{t[0]||(1===this._state&&t[1](this._value),2===this._state&&t[2](this._value),t[0]=!0)})}_runExecutor(t){let e=(t,e)=>{if(0===this._state){if(T(e))return void e.then(n,r);this._state=t,this._value=e,this._executeHandlers()}},n=t=>{e(1,t)},r=t=>{e(2,t)};try{t(n,r)}catch(t){r(t)}}}function eM(t,e){var n,r,i,s,a,o,c,u;let l,p,{fingerprint:d,span:f,breadcrumbs:_,sdkProcessingMetadata:h}=e;(function(t,e){let{extra:n,tags:r,user:i,contexts:s,level:a,transactionName:o}=e;Object.keys(n).length&&(t.extra={...n,...t.extra}),Object.keys(r).length&&(t.tags={...r,...t.tags}),Object.keys(i).length&&(t.user={...i,...t.user}),Object.keys(s).length&&(t.contexts={...s,...t.contexts}),a&&(t.level=a),o&&"transaction"!==t.type&&(t.transaction=o)})(t,e),f&&((n=t).contexts={trace:t7(r=f),...n.contexts},n.sdkProcessingMetadata={dynamicSamplingContext:el(r),...n.sdkProcessingMetadata},(l=t8(er(r)).description)&&!n.transaction&&"transaction"===n.type&&(n.transaction=l)),i=t,s=d,i.fingerprint=i.fingerprint?Array.isArray(i.fingerprint)?i.fingerprint:[i.fingerprint]:[],s&&(i.fingerprint=i.fingerprint.concat(s)),i.fingerprint.length||delete i.fingerprint,a=t,o=_,p=[...a.breadcrumbs||[],...o],a.breadcrumbs=p.length?p:void 0,c=t,u=h,c.sdkProcessingMetadata={...c.sdkProcessingMetadata,...u}}function eL(t,e){let{extra:n,tags:r,attributes:i,user:s,contexts:a,level:o,sdkProcessingMetadata:c,breadcrumbs:u,fingerprint:l,eventProcessors:p,attachments:d,propagationContext:f,transactionName:_,span:h}=e;ej(t,"extra",n),ej(t,"tags",r),ej(t,"attributes",i),ej(t,"user",s),ej(t,"contexts",a),t.sdkProcessingMetadata=ta(t.sdkProcessingMetadata,c,2),o&&(t.level=o),_&&(t.transactionName=_),h&&(t.span=h),u.length&&(t.breadcrumbs=[...t.breadcrumbs,...u]),l.length&&(t.fingerprint=[...t.fingerprint,...l]),p.length&&(t.eventProcessors=[...t.eventProcessors,...p]),d.length&&(t.attachments=[...t.attachments,...d]),t.propagationContext={...t.propagationContext,...f}}function ej(t,e,n){t[e]=ta(t[e],n,1)}function eU(t,e){let n=tx().getScopeData();return t&&eL(n,t.getScopeData()),e&&eL(n,e.getScopeData()),n}function eF(t){if(t){var e;return(e=t)instanceof td||"function"==typeof e||Object.keys(t).some(t=>eB.includes(t))?{captureContext:t}:t}}t.s(["rejectedSyncPromise",0,e$,"resolvedSyncPromise",0,eP],694002),t.s(["applyScopeDataToEvent",0,eM,"getCombinedScopeData",0,eU],602237);let eB=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function eH(){let t=tI(),e=tT().getSession()||t.getSession();e&&ts(e),eY(),t.setSession()}function eY(){let t=tI(),e=tk(),n=t.getSession();n&&e&&e.captureSession(n)}t.s(["parseEventHintOrCaptureContext",0,eF,"prepareEvent",0,function(t,e,n,r,c,l){var p,d,_;let h,{normalizeDepth:g=3,normalizeMaxBreadth:m=1e3}=t,S={...e,event_id:e.event_id||n.event_id||X(),timestamp:e.timestamp||tt()},y=n.integrations||t.integrations.map(t=>t.name);(function(t,e){let{environment:n,release:r,dist:i,maxValueLength:s}=e;t.environment=t.environment||n||ea,!t.release&&r&&(t.release=r),!t.dist&&i&&(t.dist=i);let a=t.request;a?.url&&s&&(a.url=W(a.url,s)),s&&t.exception?.values?.forEach(t=>{t.value&&(t.value=W(t.value,s))})})(S,t),p=S,(d=y).length>0&&(p.sdk=p.sdk||{},p.sdk.integrations=[...p.sdk.integrations||[],...d]),c&&c.emit("applyFrameMetadata",e),void 0===e.type&&(_=S,h=function(t){let e=u._sentryDebugIds,n=u._debugIds;if(!e&&!n)return{};let r=e?Object.keys(e):[],c=n?Object.keys(n):[];if(o&&r.length===s&&c.length===a)return o;s=r.length,a=c.length,o={},i||(i={});
5let l=(e,n)=>{for(let r of e){let e=n[r],s=i?.[r];if(s&&o&&e)o[s[0]]=e,i&&(i[r]=[s[0],e]);else if(e){let n=t(r);for(let t=n.length-1;t>=0;t--){let s=n[t],a=s?.filename;if(a&&o&&i){o[a]=e,i[r]=[a,e];break}}}}};return e&&l(r,e),n&&l(c,n),o}(t.stackParser),_.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{t.filename&&(t.debug_id=h[t.filename])})}));let b=function(t,e){if(!e)return t;let n=t?t.clone():new td;return n.update(e),n}(r,n.captureContext);n.mechanism&&Z(S,n.mechanism);let v=c?c.getEventProcessors():[],E=eU(l,b),I=[...n.attachments||[],...E.attachments];I.length&&(n.attachments=I),eM(S,E);let x=[...v,...E.eventProcessors];return(n.data&&!0===n.data.__sentry__?eP(S):function(t,e,n,r=0){try{let i=function t(e,n,r,i){let s=r[i];if(!e||!s)return e;let a=s({...e},n);return(f&&null===a&&P.log(`Event processor "${s.id||"?"}" dropped event`),T(a))?a.then(e=>t(e,n,r,i+1)):t(a,n,r,i+1)}(e,n,t,r);return T(i)?i:eP(i)}catch(t){return e$(t)}}(x,S,n)).then(t=>(t&&function(t){let e={};if(t.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{t.debug_id&&(t.abs_path?e[t.abs_path]=t.debug_id:t.filename&&(e[t.filename]=t.debug_id),delete t.debug_id)})}),0===Object.keys(e).length)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];let n=t.debug_meta.images;Object.entries(e).forEach(([t,e])=>{n.push({type:"sourcemap",code_file:t,debug_id:e})})}(t),"number"==typeof g&&g>0)?function(t,e,n){if(!t)return null;let r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(t=>({...t,...t.data&&{data:ed(t.data,e,n)}}))},...t.user&&{user:ed(t.user,e,n)},...t.contexts&&{contexts:ed(t.contexts,e,n)},...t.extra&&{extra:ed(t.extra,e,n)}};return t.contexts?.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=ed(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(t=>({...t,...t.data&&{data:ed(t.data,e,n)}}))),t.contexts?.flags&&r.contexts&&(r.contexts.flags=ed(t.contexts.flags,3,n)),r}(t,g,m):t)}],223815),t.s(["addEventProcessor",0,function(t){tI().addEventProcessor(t)},"captureEvent",0,function(t,e){return tT().captureEvent(t,e)},"captureException",0,function(t,e){return tT().captureException(t,eF(e))},"captureSession",0,function(t=!1){t?eH():eY()},"isEnabled",0,function(){let t=tk();return t?.getOptions().enabled!==!1&&!!t?.getTransport()},"setContext",0,function(t,e){tI().setContext(t,e)},"startSession",0,function(t){let e=tI(),{user:n}=eU(e,tT()),{userAgent:r}=u.navigator||{},i=tr({user:n,...r&&{userAgent:r},...t}),s=e.getSession();return s?.status==="ok"&&ti(s,{status:"exited"}),eH(),e.setSession(i),i}],222057)}]);
6
7//# debugId=8327bde3-dbb8-1b88-8c6b-46e69c3bef89

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.