PageSourceSearch

https://www.fnp.sa/_next/static/chunks/a7dc8bbaac0de827.js

js fnp.sa collected 2026-09-24 09:28:08 UTC 43,233 bytes, 4 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]="bc622ca6-20ab-9d44-3ba2-38df5c823e62")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,662537,591401,225304,923288,901020,272598,453288,951497,111139,936032,45968,821593,682564,605394,341041,318746,373382,821061,450574,301263,250804,373250,580611,519988,602309,339435,10008,759075,776710,242222,170637,132584,304661,728469,473753,571993,213186,t=>{"use strict";let e,n,r,i,s,o,a,c,u,l="10.75.1";t.s(["SDK_VERSION",()=>l],591401);let p=globalThis;function d(){return f(p),p}function f(t){let e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||l,e[l]=e[l]||{}}function _(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p,r=n.__SENTRY__=n.__SENTRY__||{},i=r[l]=r[l]||{};return i[t]||(i[t]=e())}t.s(["GLOBAL_OBJ",()=>p],225304),t.s(["getGlobalSingleton",()=>_,"getMainCarrier",()=>d,"getSentryCarrier",()=>f],923288);let h="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;t.s(["DEBUG_BUILD",()=>h],901020);let g=["debug","info","warn","error","log","assert","trace"],m={};function S(t){if(!("console"in p))return t();let e=p.console,n={},r=Object.keys(m);r.forEach(t=>{let r=m[t];n[t]=e[t],e[t]=r});try{return t()}finally{r.forEach(t=>{e[t]=n[t]})}}function y(){return E().enabled}function b(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];h&&y()&&S(()=>{p.console[t](`Sentry Logger [${t}]:`,...n)})}function E(){return h?_("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let v={enable:function(){E().enabled=!0},disable:function(){E().enabled=!1},isEnabled:y,log:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];b("log",...e)},warn:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];b("warn",...e)},error:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];b("error",...e)}};t.s(["CONSOLE_LEVELS",()=>g,"consoleSandbox",()=>S,"debug",()=>v,"originalConsoleMethods",()=>m],272598);let T=Object.prototype.toString;function I(t){switch(T.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return U(t,Error)}}function x(t,e){return T.call(t)===`[object ${e}]`}function A(t){return x(t,"ErrorEvent")}function N(t){return x(t,"DOMError")}function R(t){return x(t,"DOMException")}function C(t){return x(t,"String")}function O(t){return"object"==typeof t&&null!==t&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function k(t){return null===t||O(t)||"object"!=typeof t&&"function"!=typeof t}function P(t){return x(t,"Object")}function M(t){return"object"==typeof t&&null!==t}function w(t){return"undefined"!=typeof Event&&U(t,Event)}function D(t){return x(t,"RegExp")}function j(t){return!!(t?.then&&"function"==typeof t.then)}function U(t,e){try{return t instanceof e}catch{return!1}}function $(t){return"undefined"!=typeof Request&&U(t,Request)}function L(t,e,n){if(!(e in t))return;let r=t[e];if("function"!=typeof r)return;let i=n(r);"function"==typeof i&&F(i,r);try{t[e]=i}catch{h&&v.log(`Failed to replace method "${e}" in object`,t)}}function B(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{h&&v.log(`Failed to add non-enumerable property "${String(e)}" to object`,t)}}function F(t,e){try{let n=e.prototype||{};t.prototype=e.prototype=n,B(t,"__sentry_original__",e)}catch{}}function Y(t){return t.__sentry_original__}function G(t){if(I(t))return{message:t.message,name:t.name,stack:t.stack,...H(t)};if(w(t)){let{type:e,target:n,currentTarget:r,detail:i}=t;return{type:e,target:n,currentTarget:r,...i?{detail:i}:{},...H(t)}}return t}function H(t){return M(t)?Object.fromEntries(Object.entries(t)):{}}function K(t){let e=Object.keys(G(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"}function z(t){if(void 0!==e)return e?e(t):t();let n=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__");return n in p&&"function"==typeof p[n]?(e=p[n])(t):(e=null,t())}function J(){return z(()=>Math.random())}function W(){return z(()=>Date.now())}t.s(["isDOMError",()=>N,"isDOMException",()=>R,"isError",()=>I,"isErrorEvent",()=>A,"isEvent",()=>w,"isInstanceOf",()=>U,"isObjectLike",()=>M,"isParameterizedString",()=>O,"isPlainObject",()=>P,"isPrimitive",()=>k,"isRegExp",()=>D,"isRequest",()=>$,"isString",()=>C,"isThenable",()=>j],453288),t.s(["addNonEnumerableProperty",()=>B,"convertToPlainObject",()=>G,"extractExceptionKeysForMessage",()=>K,"fill",()=>L,"getOriginalFunction",()=>Y,"markFunctionWrapped",()=>F],951497),t.s(["safeDateNow",()=>W,"safeMathRandom",()=>J,"withRandomSafeContext",()=>z],111139);let V=Symbol.for("sentry.skipNormalization"),q=Symbol.for("sentry.overrideNormalizationDepth"),X=/\(error: (.*)\)/,Q=/captureMessage|captureException/;function Z(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];let r=e.sort((t,e)=>t[0]-e[0]).map(t=>t[1]);return function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=[],s=t.split("\n");for(let t=e;t<s.length;t++){let e=s[t];e.length>1024&&(e=e.slice(0,1024));let o=X.test(e)?e.replace(X,"$1"):e;if(!o.includes("Error: ")){for(let t of r){let e=t(o);if(e){i.push(e);break}}if(i.length>=50+n)break}}var o=i.slice(n);if(!o.length)return[];let a=Array.from(o);return/sentryWrapped/.test(te(a).function||"")&&a.pop(),a.reverse(),Q.test(te(a).function||"")&&(a.pop(),Q.test(te(a).function||"")&&a.pop()),a.slice(0,50).map(t=>({...t,filename:t.filename||te(a).filename,function:t.function||"?"}))}}function tt(t){return Array.isArray(t)?Z(...t):t}function te(t){return t[t.length-1]||{}}let tn="<anonymous>";function tr(t){try{if(!t||"function"!=typeof t)return tn;return t.name||tn}catch{return tn}}function ti(t){let e=t.exception;if(e){let t=[];
2try{return e.values.forEach(e=>{e.stacktrace.frames&&t.push(...e.stacktrace.frames)}),t}catch{}}}function ts(t){let e=t?.startsWith("file://")?t.slice(7):t;return e?.match(/\/[A-Z]:/)&&(e=e.slice(1)),e}function to(t){n=t}function ta(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;try{return function t(e,n){let r,i,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1/0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:(r=new WeakSet,[function(t){return!!r.has(t)||(r.add(t),!1)},function(t){r.delete(t)}]),[c,u]=a;if(null==n||["boolean","string"].includes(typeof n)||"number"==typeof n&&Number.isFinite(n))return n;let l=tc(e,n);if(!l.startsWith("[object "))return l;if(n[V])return n;let p=(i=n[q],"number"==typeof i?i:void 0),d=void 0!==p?p:s;if(0===d)return l.replace("object ","");if(c(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let e=n.toJSON();return t("",e,d-1,o,a)}catch{}let f=Array.isArray(n)?[]:{},_=0,h=G(n);for(let e in h){if(!Object.prototype.hasOwnProperty.call(h,e))continue;if(_>=o){f[e]="[MaxProperties ~]";break}let n=h[e];f[e]=t(e,n,d-1,o,a),_++}return u(n),f}("",t,e,n)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function tc(e,r){try{var i;let e;if(n){let t=n(r);if(t)return t}if(r===t.g)return"[Global]";if("number"==typeof r&&!Number.isFinite(r))return`[${r}]`;if("function"==typeof r)return`[Function: ${tr(r)}]`;if("symbol"==typeof r)return`[${String(r)}]`;if("bigint"==typeof r)return`[BigInt: ${String(r)}]`;let s=(i=r,e=Object.getPrototypeOf(i),e?.constructor?e.constructor.name:"null prototype");return`[object ${s}]`}catch(t){return`**non-serializable** (${t})`}}function tu(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}function tl(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}function tp(t,e){if(!Array.isArray(t))return"";let n=[];for(let e=0;e<t.length;e++){let r=t[e];k(r)?n.push(String(r)):r instanceof Error?n.push(r.message?`${r.name}: ${r.message}`:r.name):n.push(tc(void 0,r))}return n.join(e)}function td(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!C(t)&&(D(e)?e.test(t):C(e)?n?t===e:t.includes(e):"function"==typeof e&&e(t))}function tf(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(let r of e)if(td(t,r,n))return!0;return!1}function t_(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p.crypto||p.msCrypto;try{if(t?.randomUUID)return z(()=>t.randomUUID()).replace(/-/g,"")}catch{}return r||(r="10000000100040008000100000000000"),r.replace(/[018]/g,t=>(t^(15&16*J())>>t/4).toString(16))}function th(t){return t.exception?.values?.[0]}function tg(t){let{message:e,event_id:n}=t;if(e)return e;let r=th(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function tm(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")}function tS(t,e){let n=th(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 ty(t){if(function(t){try{return t.__sentry_captured__}catch{}}(t))return!0;try{B(t,"__sentry_captured__",!0)}catch{}return!1}function tb(){return W()/1e3}function tE(){return(i??(i=function(){let{performance:t}=p;if(!t?.now||!t.timeOrigin)return tb;let e=t.timeOrigin;return()=>(e+z(()=>t.now()))/1e3}()))()}t.s(["UNKNOWN_FUNCTION",()=>"?","createStackParser",()=>Z,"getFramesFromEvent",()=>ti,"getFunctionName",()=>tr,"normalizeStackTracePath",()=>ts,"stackParserFromStackParserOptions",()=>tt],936032),t.s(["normalize",()=>ta,"normalizeToSize",()=>function t(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:102400,i=ta(e,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?t(e,n-1,r):i},"setNormalizeStringifier",()=>to,"stringifyValue",()=>tc],45968),t.s(["isMatchingPattern",()=>td,"safeJoin",()=>tp,"snipLine",()=>tl,"stringMatchesSomePattern",()=>tf,"truncate",()=>tu],821593),t.s(["addExceptionMechanism",()=>tS,"addExceptionTypeValue",()=>tm,"checkOrSetAlreadyCaught",()=>ty,"getEventDescription",()=>tg,"uuid4",()=>t_],682564);let tv=null;function tT(){return null===tv&&(tv=function(){let{performance:t}=p;if(!t?.now)return;let e=z(()=>t.now()),n=W(),r=t.timeOrigin;if("number"==typeof r&&3e5>
2Math.abs(r+e-n))return r;let i=t.timing?.navigationStart;return"number"==typeof i&&3e5>Math.abs(i+e-n)?i:n-e}()),tv}function tI(t){let e=tE(),n={sid:t_(),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&&tx(n,t),n}function tx(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};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:t_()),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 tA(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),tx(t,n)}function tN(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]: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]=tN(r[t],e[t],n-1));return r}function tR(){return t_()}function tC(){return t_().substring(16)}function tO(t){try{let e=p.WeakRef;if("function"==typeof e)return new e(t)}catch{}return t}function tk(t){if(t){if("object"==typeof t&&"deref"in t&&"function"==typeof t.deref)try{return t.deref()}catch{return}return t}}t.s(["browserPerformanceTimeOrigin",()=>tT,"dateTimestampInSeconds",()=>tb,"timestampInSeconds",()=>tE],605394),t.s(["closeSession",()=>tA,"makeSession",()=>tI,"updateSession",()=>tx],341041),t.s(["merge",()=>tN],318746),t.s(["generateSpanId",()=>tC,"generateTraceId",()=>tR],373382);let tP="_sentrySpan";function tM(t,e){e?B(t,tP,tO(e)):delete t[tP]}function tw(t){return tk(t[tP])}t.s(["_getSpanForScope",()=>tw,"_setSpanForScope",()=>tM],821061);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:tR(),sampleRand:J()}}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,tM(t,tw(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&&tx(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:o,level:a,fingerprint:c=[],propagationContext:u,conversationId:l}=(e instanceof tD?e.getScopeData():P(e)?t:void 0)||{};return this._tags={...this._tags,...n},this._attributes={...this._attributes,...r},this._extra={...this._extra,...i},this._contexts={...this._contexts,...o},s&&Object.keys(s).length&&(this._user=s),a&&(this._level=a),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,tM(this,void 0),this._attachments=[],this.setPropagationContext({traceId:tR(),sampleRand:J()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){let n="number"==typeof e?e:100;if(n<=0)return this;let r={timestamp:tb(),...t,message:t.message?tu(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:tw(this),conversationId:this._conversationId}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=tN(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,e){let n=e?.event_id||t_();if(!this._client)return h&&v.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||t_();if(!this._client)return h&&v.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||t_();return this._client?this._client.captureEvent(t,{...e,event_id:n},this):h&&v.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 tj=t=>t instanceof Promise&&!t[tU],tU=Symbol("chained PromiseLike"),t$=(t,e,n)=>{let r=t.then(t=>(e(t),t),t=>{throw n(t),t});return tj(r)&&tj(t)?r:tL(t,r)},tL=(t,e)=>{if(!e)return t;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:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return i.apply(t,n)},enumerable:!0,configurable:!0,writable:!0}):e[r]=i}return n&&Object.assign(e,{[tU]:!0}),e};t.s(["chainAndCopyPromiseLike",()=>t$],450574);class tB{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 j(e)?t$(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 tF(){let t=f(d());return t.stack=t.stack||new tB(_("defaultCurrentScope",()=>new tD),_("defaultIsolationScope",()=>new tD))}function tY(t){return tF().withScope(t)}function tG(t,e){let n=tF();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function tH(t){return tF().withScope(()=>t(tF().getIsolationScope()))}function tK(t){let e=f(t);return e.acs?e.acs:{withIsolationScope:tH,withScope:tY,withSetScope:tG,withSetIsolationScope:(t,e)=>tH(e),getCurrentScope:()=>tF().getScope(),getIsolationScope:()=>tF().getIsolationScope()}}function tz(){return void 0!==s}function tJ(){return tK(d()).getCurrentScope()}function tW(){return tK(d()).getIsolationScope()}function tV(){return _("globalScope",()=>new tD)}function tq(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];let r=tK(d());if(2===e.length){let[t,n]=e;return t?r.withSetScope(t,n):r.withScope(n)}return r.withScope(e[0])}function tX(){return tJ().getClient()}function tQ(t){let e=s?.();if(e)return{trace_id:e.traceId,span_id:e.spanId};let{traceId:n,parentSpanId:r,propagationSpanId:i}=t.getPropagationContext(),o={trace_id:n,span_id:i||tC()};return r&&(o.parent_span_id=r),o}t.s(["getAsyncContextStrategy",()=>tK],301263),t.s(["getClient",()=>tX,"getCurrentScope",()=>tJ,"getGlobalScope",()=>tV,"getIsolationScope",()=>tW,"getTraceContextFromScope",()=>tQ,"hasExternalPropagationContext",()=>tz,"withScope",()=>tq],250804);let tZ="production";function t0(t){return new t2(e=>{e(t)})}function t1(t){return new t2((e,n)=>{n(t)})}t.s(["DEFAULT_ENVIRONMENT",()=>tZ],373250);class t2{constructor(t){this._state=0,this._handlers=[],this._runExecutor(t)}then(t,e){return new t2((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 t2((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(j(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)}}}t.s(["rejectedSyncPromise",()=>t1,"resolvedSyncPromise",()=>t0],580611);let t3="sentry.source",t4="sentry.sample_rate",t5="sentry.previous_trace_sample_rate",t9="sentry.op",t6="sentry.origin",t8="sentry.status.message";t.s(["GEN_AI_CONVERSATION_ID_ATTRIBUTE",()=>"gen_ai.conversation.id","SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME",()=>"sentry.exclusive_time","SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD",()=>"http.request.method","SEMANTIC_ATTRIBUTE_PROFILE_ID",()=>"sentry.profile_id","SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME",()=>"sentry.custom_span_name","SEMANTIC_ATTRIBUTE_SENTRY_ENVIRONMENT",()=>"sentry.environment","SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON",()=>"sentry.idle_span_finish_reason","SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT",()=>"sentry.measurement_unit","SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE",()=>"sentry.measurement_value","SEMANTIC_ATTRIBUTE_SENTRY_OP",()=>t9,"SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",()=>t6,"SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE",()=>t5,"SEMANTIC_ATTRIBUTE_SENTRY_RELEASE",()=>"sentry.release","SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",()=>t4,"SEMANTIC_ATTRIBUTE_SENTRY_SDK_INTEGRATIONS",()=>"sentry.sdk.integrations","SEMANTIC_ATTRIBUTE_SENTRY_SOURCE",()=>t3,"SEMANTIC_ATTRIBUTE_SENTRY_STATUS_MESSAGE",()=>t8,"SEMANTIC_ATTRIBUTE_USER_EMAIL",()=>"user.email","SEMANTIC_ATTRIBUTE_USER_ID",()=>"user.id","SEMANTIC_ATTRIBUTE_USER_IP_ADDRESS",()=>"user.ip_address","SEMANTIC_ATTRIBUTE_USER_USERNAME",()=>
2"user.name","SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE",()=>"sentry.link.type"],519988);let t7="sentry-";function et(t){let e=en(t);if(!e)return;let n=Object.entries(e).reduce((t,e)=>{let[n,r]=e;return n.startsWith(t7)&&(t[n.slice(t7.length)]=r),t},{});return Object.keys(n).length>0?n:void 0}function ee(t){if(t){var e=Object.entries(t).reduce((t,e)=>{let[n,r]=e;return r&&(t[`${t7}${n}`]=r),t},{});return 0!==Object.keys(e).length?Object.entries(e).reduce((t,e,n)=>{let[r,i]=e,s=`${encodeURIComponent(r)}=${encodeURIComponent(i)}`,o=0===n?s:`${t},${s}`;return o.length>8192?(h&&v.warn(`Not adding key: ${r} with val: ${i} to baggage header due to exceeding baggage size limits.`),t):o},""):void 0}}function en(t){if(t&&(C(t)||Array.isArray(t)))return Array.isArray(t)?t.reduce((t,e)=>(Object.entries(er(e)).forEach(e=>{let[n,r]=e;t[n]=r}),t),{}):er(t)}function er(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)=>{let[n,r]=e;return n&&r&&(t[n]=r),t},{})}t.s(["SENTRY_BAGGAGE_KEY_PREFIX",()=>t7,"baggageHeaderToDynamicSamplingContext",()=>et,"dynamicSamplingContextToSentryBaggageHeader",()=>ee,"parseBaggageHeader",()=>en],602309);let ei=/^o(\d+)\./,es=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function eo(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{host:n,path:r,pass:i,port:s,projectId:o,protocol:a,publicKey:c}=t;return`${a}://${c}${e&&i?`:${i}`:""}@${n}${s?`:${s}`:""}/${r?`${r}/`:r}${o}`}function ea(t){let e=es.exec(t);if(!e)return void S(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});let[n,r,i="",s="",o="",a=""]=e.slice(1),c="",u=a,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 ec({host:s,pass:i,path:c,projectId:u,port:o,protocol:n,publicKey:r})}function ec(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function eu(t){let e,n=t.getOptions(),{host:r}=t.getDsn()||{};if(n.orgId)e=String(n.orgId);else{let t;r&&(t=r.match(ei),e=t?.[1])}return e}function el(t){let e="string"==typeof t?ea(t):ec(t);if(e&&function(t){if(!h)return!0;let{port:e,projectId:n,protocol:r}=t;return!["protocol","publicKey","host","projectId"].find(e=>!t[e]&&(v.error(`Invalid Sentry Dsn: ${e} missing`),!0))&&(n.match(/^\d+$/)?"http"!==r&&"https"!==r?(v.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):!(e&&isNaN(parseInt(e,10)))||(v.error(`Invalid Sentry Dsn: Invalid port ${e}`),!1):(v.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(e))return e}function ep(t){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let e=t||tX()?.getOptions();return!!e&&(null!=e.tracesSampleRate||!!e.tracesSampler)}function ed(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={};for(let[r,i]of Object.entries(t??{})){let t=function(t,e){let{value:n,unit:r}="object"==typeof t&&null!=t&&!Array.isArray(t)&&Object.keys(t).includes("value")?t:{value:t,unit:void 0},i=function(t){if(Array.isArray(t))return{value:t,type:"array"};let e="string"==typeof t?"string":"boolean"==typeof t?"boolean":"number"!=typeof t||Number.isNaN(t)?null:Number.isInteger(t)?"integer":"double";if(e)return{value:t,type:e}}(n),s=r&&"string"==typeof r?{unit:r}:{};if(i)return{...i,...s};if(!e||"skip-undefined"===e&&void 0===n)return;let o="";try{o=JSON.stringify(n)??""}catch{}return{value:o,type:"string",...s}}(i,e);t&&(n[r]=t)}return n}function ef(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)}
2t.s(["dsnFromString",()=>ea,"dsnToString",()=>eo,"extractOrgIdFromClient",()=>eu,"makeDsn",()=>el],339435),t.s(["hasSpansEnabled",()=>ep],10008),t.s(["serializeAttributes",()=>ed],759075),t.s(["SPAN_STATUS_ERROR",()=>2,"SPAN_STATUS_OK",()=>1,"SPAN_STATUS_UNSET",()=>0,"setHttpStatus",()=>ef],776710);let e_="_sentryScope",eh="_sentryIsolationScope",eg=Symbol.for("sentry.otelSourceInference"),em=Symbol.for("sentry.otelSourceExplicitlySet"),eS=Symbol.for("sentry.tracerProviderSpan");function ey(t,e,n){t&&(B(t,eh,tO(n)),B(t,e_,e))}function eb(t){return{scope:t[e_],isolationScope:tk(t[eh])}}function eE(t){return!0===t[eg]}function ev(t){B(t,em,!0)}function eT(t){return!0===t[eS]}function eI(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(["getCapturedScopesOnSpan",()=>eb,"markSpanSourceAsExplicit",()=>ev,"setCapturedScopesOnSpan",()=>ey,"spanIsTracerProviderSpan",()=>eT,"spanShouldInferOtelSource",()=>eE],242222),t.s(["parseSampleRate",()=>eI],170637);let ex=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function eA(t,e){let n=function(t){let e;if(!t)return;let n=t.match(ex);if(n)return"1"===n[3]?e=!0:"0"===n[3]&&(e=!1),{traceId:n[1],parentSampled:e,parentSpanId:n[2]}}(t),r=et(e);if(!n?.traceId)return{traceId:tR(),sampleRand:J()};let i=function(t,e){let n=eI(e?.sample_rand);if(void 0!==n)return n;let r=eI(e?.sample_rate);return r&&t?.parentSampled!==void 0?t.parentSampled?J()*r:r+J()*(1-r):J()}(n,r);r&&(r.sample_rand=i.toString());let{traceId:s,parentSpanId:o,parentSampled:a}=n;return{traceId:s,parentSpanId:o,sampled:a,dsc:r||{},sampleRand:i}}function eN(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tR(),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tC(),n=arguments.length>2?arguments[2]:void 0,r="";return void 0!==n&&(r=n?"-1":"-0"),`${t}-${e}${r}`}function eR(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tR(),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tC(),n=arguments.length>2?arguments[2]:void 0;return`00-${t}-${e}-${n?"01":"00"}`}function eC(t,e){let n=eu(t);return e&&n&&e!==n?(v.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)||(v.log(`Starting a new trace because strict trace continuation is enabled but one org ID is missing (incoming baggage: ${e}, Sentry client: ${n})`),!1)}t.s(["TRACEPARENT_REGEXP",()=>ex,"generateSentryTraceHeader",()=>eN,"generateTraceparentHeader",()=>eR,"propagationContextFromHeaders",()=>eA,"shouldContinueTrace",()=>eC],132584);let eO=!1;function ek(t){let{spanId:e,traceId:n}=t.spanContext(),{data:r,op:i,parent_span_id:s,status:o,origin:a,links:c}=eL(t);return{parent_span_id:s,span_id:e,trace_id:n,data:r,op:i,status:o,origin:a,links:c}}function eP(t){let{spanId:e,traceId:n,isRemote:r}=t.spanContext(),i=r?e:eL(t).parent_span_id,s=eb(t).scope;return{parent_span_id:i,span_id:r?s?.getPropagationContext().propagationSpanId||tC():e,trace_id:n}}function eM(t){let{traceId:e,spanId:n}=t.spanContext();return eN(e,n,eK(t))}function ew(t){let{traceId:e,spanId:n}=t.spanContext();return eR(e,n,eK(t))}function eD(t){return t&&t.length>0?t.map(t=>{let{context:{spanId:e,traceId:n,traceFlags:r,...i},attributes:s}=t;return{span_id:e,trace_id:n,sampled:1===r,attributes:s,...i}}):void 0}function ej(t){return t?.length?t.map(t=>{let{context:{spanId:e,traceId:n,traceFlags:r},attributes:i}=t;return{span_id:e,trace_id:n,sampled:1===r,attributes:i}}):void 0}function eU(t){return"number"==typeof t?e$(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?e$(t.getTime()):tE()}function e$(t){return t>0x2540be3ff?t/1e3:t}function eL(t){if(eH(t))return t.getSpanJSON();let{spanId:e,traceId:n}=t.spanContext();if(eG(t)){let{attributes:r,startTime:i,name:s,endTime:o,status:a,links:c}=t;return{span_id:e,trace_id:n,data:r,description:s,parent_span_id:eF(t),start_timestamp:eU(i),timestamp:eU(o)||void 0,status:ez(a),op:r[t9],origin:r[t6],links:eD(c)}}return{span_id:e,trace_id:n,start_timestamp:0,data:{}}}function eB(t){if(eH(t))return t.getStreamedSpanJSON();let{spanId:e,traceId:n}=t.spanContext();if(eG(t)){let{attributes:r,startTime:i,name:s,endTime:o,status:a,links:c}=t;return{name:s,span_id:e,trace_id:n,parent_span_id:eF(t),start_timestamp:eU(i),end_timestamp:eU(o),is_segment:t===e1(t),status:eJ(a),attributes:eW(r,a),links:ej(c)}}return{span_id:e,trace_id:n,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:t===e1(t)}}function eF(t){return"parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?t.parentSpanContext?.spanId:void 0}function eY(t){return{...t,attributes:ed(t.attributes),links:t.links?.map(t=>({...t,attributes:ed(t.attributes)}))}}function eG(t){return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function eH(t){return"function"==typeof t.getSpanJSON}function eK(t){let{traceFlags:e}=t.spanContext();return 1===e}function ez(t){if(t&&0!==t.code)return 1===t.code?"ok":t.message||"internal_error"}function eJ(t){return t&&1!==t.code&&0!==t.code&&"cancelled"!==t.message?"error":"ok"}function eW(t,e){let n="error"===eJ(e)?e?.message:void 0;return{...n&&{[t8]:n},...t}}let eV="_sentryChildSpans",eq="_sentryRootSpan";function eX(t,e){let n=t[eq]||t;B(e,eq,n),!eK(t)||(t.isRecording()||n.isRecording())&&(t[eV]?t[eV].add(e):B(t,eV,new Set([e])))}function eQ(t,e){t[eV]&&t[eV].delete(e)}function eZ(t){let e=new Set;return!function t(n){if(!e.has(n)&&eK(n))for(let r of(e.add(n),n[eV]?Array.from(n[eV]):[]))t(r)}(t),Array.from(e)}let e0=e1;function e1(t){return t[eq]||t}function e2(){let t=tK(d());return t.getActiveSpan?t.getActiveSpan():tw(tJ())}function e3(){eO||(S(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),eO=!0)}t.s(["INTERNAL_getSegmentSpan",()=>e1,"TRACE_FLAG_NONE",()=>0,"TRACE_FLAG_SAMPLED",()=>1,"addChildSpanToSpan",()=>eX,"addStatusMessageAttribute",()=>eW,"convertSpanLinksForEnvelope",()=>eD,"getActiveSpan",()=>e2,"getRootSpan",()=>e0,"getSimpleStatus",()=>eJ,"getSpanDescendants",()=>eZ,"getStatusMessage",()=>ez,"getStreamedSpanLinks",()=>ej,"removeChildSpanFromSpan",()=>eQ,"showSpanDropWarning",()=>e3,"spanIsSampled",()=>eK,"spanTimeInputToSeconds",()=>eU,"spanToJSON",()=>eL,"spanToStreamedSpanJSON",()=>eB,"spanToTraceContext",()=>eP,"spanToTraceHeader",()=>eM,"spanToTraceparentHeader",()=>ew,"spanToTransactionTraceContext",()=>ek,"streamedSpanJsonToSerializedSpan",()=>eY],304661);let e4=Symbol.for("sentry.nonRecordingSpan");class e5{constructor(t={}){this._traceId=t.traceId||tR(),this._spanId=t.spanId||tC(),this.dropReason=t.dropReason,B(this,e4,!0)}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 e9(t){return!!t&&!0===t[e4]}t.s(["SentryNonRecordingSpan",()=>e5,"spanIsNonRecordingSpan",()=>e9],728469);let e6="_frozenDsc";function e8(t,e){B(t,e6,e)}function e7(t,e){let n=e.getOptions(),{publicKey:r}=e.getDsn()||{},i={environment:n.environment||tZ,release:n.release,public_key:r,trace_id:t,org_id:eu(e)};return e.emit("createDsc",i),i}function nt(t,e){let n=e.getPropagationContext();return n.dsc||e7(n.traceId,t)}function ne(t){let e=tX();if(!e)return{};let n=e0(t),r=eL(n),i=r.data,s=n.spanContext().traceState,o=s?.get("sentry.sample_rate")??i[t4]??i[t5];function a(t){return("number"==typeof o||"string"==typeof o)&&(t.sample_rate=`${o}`),t}let c=n[e6];if(c)return a(c);let u=e9(n),l=u&&"ignored"===n.dropReason;if(u&&(!ep(e.getOptions())||l)){let t=eb(n).scope;if(t){let n={...nt(e,t)};return l&&(n.sampled="false"),a(n)}}let p=s?.get("sentry.dsc"),d=p&&et(p);if(d)return a(d);let f=e7(t.spanContext().traceId,e),_=i[t3]??i["sentry.segment.name.source"],h=r.description;return"url"!==_&&h&&(f.transaction=h),ep()&&(f.sampled=String(eK(n)),f.sample_rand=s?.get("sentry.sample_rand")??eb(n).scope?.getPropagationContext().sampleRand.toString()),a(f),e.emit("createDsc",f,n),f}function nn(t,e){var n,r,i,s,o,a,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:o,transactionName:a}=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}),o&&(t.level=o),a&&"transaction"!==t.type&&(t.transaction=a)})(t,e),f&&((n=t).contexts={trace:eP(r=f),...n.contexts},n.sdkProcessingMetadata={dynamicSamplingContext:ne(r),...n.sdkProcessingMetadata},(l=eL(e0(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,o=t,a=_,p=[...o.breadcrumbs||[],...a],o.breadcrumbs=p.length?p:void 0,c=t,u=h,c.sdkProcessingMetadata={...c.sdkProcessingMetadata,...u}}function nr(t,e){let{extra:n,tags:r,attributes:i,user:s,contexts:o,level:a,sdkProcessingMetadata:c,breadcrumbs:u,fingerprint:l,eventProcessors:p,attachments:d,propagationContext:f,transactionName:_,span:h}=e;ni(t,"extra",n),ni(t,"tags",r),ni(t,"attributes",i),ni(t,"user",s),ni(t,"contexts",o),t.sdkProcessingMetadata=tN(t.sdkProcessingMetadata,c,2),a&&(t.level=a),_&&(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 ni(t,e,n){t[e]=tN(t[e],n,1)}function ns(t,e){let n=tV().getScopeData();return t&&nr(n,t.getScopeData()),e&&nr(n,e.getScopeData()),n}function no(t,e,n,r,i,s){var l,d,f;let _,{normalizeDepth:g=3,normalizeMaxBreadth:m=1e3}=t,S={...e,event_id:e.event_id||n.event_id||t_(),timestamp:e.timestamp||tb()},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||tZ,!t.release&&r&&(t.release=r),!t.dist&&i&&(t.dist=i);let o=t.request;o?.url&&s&&(o.url=tu(o.url,s)),s&&t.exception?.values?.forEach(t=>{t.value&&(t.value=tu(t.value,s))})})(S,t),l=S,(d=y).length>0&&(l.sdk=l.sdk||{},l.sdk.integrations=[...l.sdk.integrations||[],...d]),i&&i.emit("applyFrameMetadata",e),void 0===e.type&&(f=S,_=function(t){let e=p._sentryDebugIds,n=p._debugIds;if(!e&&!n)return{};let r=e?Object.keys(e):[],i=n?Object.keys(n):[];if(u&&r.length===a&&i.length===c)return u;a=r.length,c=i.length,u={},o||(o={});let s=(e,n)=>{for(let r of e){let e=n[r],i=o?.[r];if(i&&u&&e)u[i[0]]=e,o&&(o[r]=[i[0],e]);else if(e){let n=t(r);for(let t=n.length-1;t>=0;t--){let i=n[t],s=i?.filename;if(s&&u&&o){u[s]=e,o[r]=[s,e];break}}}}};return e&&s(r,e),n&&s(i,n),u}(t.stackParser),f.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{t.filename&&(t.debug_id=_[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&&tS(S,n.mechanism);let E=i?i.getEventProcessors():[],T=ns(s,b),I=[...n.attachments||[],...T.attachments];I.length&&(n.attachments=I),nn(S,T);let x=[...E,...T.eventProcessors];return(n.data&&!0===n.data.__sentry__?t0(S):function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;try{let i=function t(e,n,r,i){let s=r[i];if(!e||!s)return e;let o=s({...e},n);
2return(h&&null===o&&v.log(`Event processor "${s.id||"?"}" dropped event`),j(o))?o.then(e=>t(e,n,r,i+1)):t(o,n,r,i+1)}(e,n,t,r);return j(i)?i:t0(i)}catch(t){return t1(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=>{let[e,r]=t;n.push({type:"sourcemap",code_file:e,debug_id:r})})}(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:ta(t.data,e,n)}}))},...t.user&&{user:ta(t.user,e,n)},...t.contexts&&{contexts:ta(t.contexts,e,n)},...t.extra&&{extra:ta(t.extra,e,n)}};return t.contexts?.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=ta(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(t=>({...t,...t.data&&{data:ta(t.data,e,n)}}))),t.contexts?.flags&&r.contexts&&(r.contexts.flags=ta(t.contexts.flags,3,n)),r}(t,g,m):t)}function na(t){if(t){var e;return(e=t)instanceof tD||"function"==typeof e||Object.keys(t).some(t=>nc.includes(t))?{captureContext:t}:t}}t.s(["freezeDscOnSpan",()=>e8,"getDynamicSamplingContextFromScope",()=>nt,"getDynamicSamplingContextFromSpan",()=>ne],473753),t.s(["applyScopeDataToEvent",()=>nn,"getCombinedScopeData",()=>ns],571993);let nc=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function nu(t,e){return tJ().captureException(t,na(e))}function nl(t,e){return tJ().captureEvent(t,e)}function np(t,e){tW().setContext(t,e)}function nd(){let t=tX();return t?.getOptions().enabled!==!1&&!!t?.getTransport()}function nf(t){tW().addEventProcessor(t)}function n_(t){let e=tW(),{user:n}=ns(e,tJ()),{userAgent:r}=p.navigator||{},i=tI({user:n,...r&&{userAgent:r},...t}),s=e.getSession();return s?.status==="ok"&&tx(s,{status:"exited"}),nh(),e.setSession(i),i}function nh(){let t=tW(),e=tJ().getSession()||t.getSession();e&&tA(e),ng(),t.setSession()}function ng(){let t=tW(),e=tX(),n=t.getSession();n&&e&&e.captureSession(n)}function nm(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t?nh():ng()}t.s(["parseEventHintOrCaptureContext",()=>na,"prepareEvent",()=>no],213186),t.s(["addEventProcessor",()=>nf,"captureEvent",()=>nl,"captureException",()=>nu,"captureSession",()=>nm,"isEnabled",()=>nd,"setContext",()=>np,"startSession",()=>n_],662537)}]);
3
4//# debugId=bc622ca6-20ab-9d44-3ba2-38df5c823e62

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.