PageSourceSearch

https://app.legend.trade/_next/static/immutable/chunks/15e4tkw3lo13w.js

js legend.trade collected 2026-10-04 07:44:55 UTC 23,314 bytes, 5 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]="189d34b0-f83c-89c3-5595-934f92938015")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,799458,243280,479285,915151,614380,729823,190060,501217,863491,846843,740347,e=>{"use strict";let t,n,a,s;var r=e.i(449499),i=e.i(963695),o=e.i(601917),p=e.i(851758),c=e.i(93949),d=e.i(883937);e.i(130062);var u=e.i(609202);e.i(433686);var l=e.i(909165),S=e.i(206875),g=e.i(969215);function _(e){u.debug.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function m(e,t){if(!t?.length)return!1;for(let a of t){var n;if("string"==typeof(n=a)||n instanceof RegExp){if(e.description&&(0,g.isMatchingPattern)(e.description,a))return i.DEBUG_BUILD&&_(e),!0;continue}let t=!!a.attributes&&Object.keys(a.attributes).length>0;if(!a.name&&!a.op&&!t)continue;let s=!a.name||e.description&&(0,g.isMatchingPattern)(e.description,a.name),r=!a.op||e.op&&(0,g.isMatchingPattern)(e.op,a.op),o=!a.attributes||Object.entries(a.attributes).every(([t,n])=>(function(e,t){return"string"==typeof e&&("string"==typeof t||t instanceof RegExp)?(0,g.isMatchingPattern)(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e===t})(e.attributes?.[t],n));if(s&&r&&o)return i.DEBUG_BUILD&&_(e),!0}return!1}function h(e){return"stream"===e.getOptions().traceLifecycle}e.s(["reparentChildSpans",0,function(e,t){let n=t.parent_span_id,a=t.span_id;if(n)for(let t of e)t.parent_span_id===a&&(t.parent_span_id=n)},"shouldIgnoreSpan",0,m],243280),e.s(["hasSpanStreamingEnabled",0,h],479285);var f=e.i(834140),T=e.i(854863),E=e.i(86065),I=e.i(766992),v=e.i(995218);e.i(398878);var b=e.i(651850),C=e.i(523378);function R(e){return!!e&&"function"==typeof e&&"_streamed"in e&&!!e._streamed}e.i(12512),e.s(["isStreamedBeforeSendSpanCallback",0,R],915151);var A=e.i(592584),N=e.i(784076);function y(e,t){let n=(0,b.getDynamicSamplingContextFromSpan)(e[0]),a=t?.getDsn(),s=t?.getOptions().tunnel,r={sent_at:new Date((0,E.safeDateNow)()).toISOString(),...!!n.trace_id&&!!n.public_key&&{trace:n},...!!s&&a&&{dsn:(0,A.dsnToString)(a)}},{beforeSendSpan:i,ignoreSpans:o}=t?.getOptions()||{},p=o?.length?e.filter(e=>{let t=(0,v.spanToJSON)(e);return!m({description:t.description,op:t.op,attributes:t.data},o)}):e,c=e.length-p.length;c&&t?.recordDroppedEvent("before_send","span",c);let d=i?e=>{let t=(0,v.spanToJSON)(e),n=R(i)?t:i(t);return n||((0,v.showSpanDropWarning)(),t)}:v.spanToJSON,u=[];for(let e of p){let t=d(e);t&&u.push((0,N.createSpanEnvelopeItem)(t))}return(0,N.createEnvelope)(r,u)}e.s(["createEventEnvelope",0,function(e,t,n,a){let s=(0,N.getSdkMetadataForEnvelopeHeader)(n),r=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){if(!t)return;let n=e.sdk||{};e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0}}(e,n?.sdk);let i=(0,N.createEventEnvelopeHeaders)(e,s,a,t);delete e.sdkProcessingMetadata;let o=[{type:r},e];return(0,N.createEnvelope)(i,[o])},"createSessionEnvelope",0,function(e,t,n,a){let s=(0,N.getSdkMetadataForEnvelopeHeader)(n),r={sent_at:new Date((0,E.safeDateNow)()).toISOString(),...s&&{sdk:s},...!!a&&t&&{dsn:(0,A.dsnToString)(t)}},i="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return(0,N.createEnvelope)(r,[i])},"createSpanEnvelope",0,y],614380);var D=e.i(735163);function U(e){if(!e||0===e.length)return;let t={};return e.forEach(e=>{let n=e.attributes||{},a=n[d.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT],s=n[d.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE];"string"==typeof a&&"number"==typeof s&&(t[e.name]={value:s,unit:a})}),t}function x(){return(0,c.getSentryCarrier)((0,c.getMainCarrier)()).segmentSpanCaptureStrategy}e.s(["setMeasurement",0,function(e,t,n,a=(0,v.getActiveSpan)()){let s=a&&(0,v.getRootSpan)(a);s&&(i.DEBUG_BUILD&&u.debug.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),s.addEvent(e,{[d.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:t,[d.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:n}))},"timedEventsToMeasurements",0,U],729823);var O=e.i(696365);class k{constructor(e={}){this._traceId=e.traceId||(0,T.generateTraceId)(),this._spanId=e.spanId||(0,T.generateSpanId)(),this._startTime=e.startTimestamp||(0,D.timestampInSeconds)(),this._links=e.links,this._attributes={},this.setAttributes({[d.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"manual",[d.SEMANTIC_ATTRIBUTE_SENTRY_OP]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}
2addLink(e){return this._frozen||(this._links?this._links.push(e):this._links=[e]),this}addLinks(e){return this._frozen||(this._links?this._links.push(...e):this._links=e),this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?v.TRACE_FLAG_SAMPLED:v.TRACE_FLAG_NONE}}setAttribute(e,t){return this._frozen||(void 0===t?delete this._attributes[e]:this._attributes[e]=t,e===d.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE&&void 0!==t&&(0,O.spanShouldInferOtelSource)(this)&&(0,O.markSpanSourceAsExplicit)(this)),this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._frozen||(this._startTime=(0,v.spanTimeInputToSeconds)(e))}setStatus(e){return this._frozen||(this._status=e),this}updateName(e){return this._frozen||(this._name=e,(0,O.spanShouldInferOtelSource)(this)||this.setAttribute(d.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,"custom")),this}end(e){if(this._endTime){this._frozen=(0,O.spanIsTracerProviderSpan)(this);return}this._endTime=(0,v.spanTimeInputToSeconds)(e),function(e){if(!i.DEBUG_BUILD)return;let{description:t="< unknown name >",op:n="< unknown op >"}=(0,v.spanToJSON)(e),{spanId:a}=e.spanContext(),s=(0,v.getRootSpan)(e)===e,r=`[Tracing] Finishing "${n}" ${s?"root ":""}span "${t}" with ID ${a}`;u.debug.log(r)}(this),this._onSpanEnded(),this._frozen=(0,O.spanIsTracerProviderSpan)(this)}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[d.SEMANTIC_ATTRIBUTE_SENTRY_OP],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,v.getStatusMessage)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[d.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],profile_id:this._attributes[d.SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:this._attributes[d.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],measurements:U(this._events),is_segment:this._isStandaloneSpan&&(0,v.getRootSpan)(this)===this||void 0,segment_id:this._isStandaloneSpan?(0,v.getRootSpan)(this).spanContext().spanId:void 0,links:(0,v.convertSpanLinksForEnvelope)(this._links)}}getStreamedSpanJSON(){return{name:this._name??"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===(0,v.getRootSpan)(this),status:(0,v.getSimpleStatus)(this._status),attributes:(0,v.addStatusMessageAttribute)(this._attributes,this._status),links:(0,v.getStreamedSpanLinks)(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){if(this._frozen)return this;i.DEBUG_BUILD&&u.debug.log("[Tracing] Adding an event to span:",e);let a=B(t)?t:n||(0,D.timestampInSeconds)(),s=B(t)?{}:t||{},r={name:e,time:(0,v.spanTimeInputToSeconds)(a),attributes:s};return this._events.push(r),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=(0,r.getClient)();e&&(e.emit("spanEnd",this),this._isStandaloneSpan||e.emit("afterSpanEnd",this));let t=(0,v.getRootSpan)(this),n=this._isStandaloneSpan||this===t;if(this._isStandaloneSpan)return void(this._sampled?function(e){let t=(0,r.getClient)();if(!t)return;let n=e[1];n&&0!==n.length?t.sendEnvelope(e):t.recordDroppedEvent("before_send","span")}(y([this],e)):(i.DEBUG_BUILD&&u.debug.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span")));if(!n){let e=x();if(e){let n=(0,O.getCapturedScopesOnSpan)(this).scope||(0,r.getCurrentScope)();e.onChildSpanEnded(this,t,e=>this._convertSpanToTransaction(e),n)}return}if(e&&h(e))return void e.emit("afterSegmentSpanEnd",this);let a=(0,O.getCapturedScopesOnSpan)(this).scope||(0,r.getCurrentScope)(),s=x();if(s)s.onSegmentSpanEnded(e=>this._convertSpanToTransaction(e),a);else{let e=this._convertSpanToTransaction();e&&a.captureEvent(e)}}_convertSpanToTransaction(e={}){if(!M((0,v.spanToJSON)(this)))return;this._name||(i.DEBUG_BUILD&&u.debug.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:t,isolationScope:n}=(0,O.getCapturedScopesOnSpan)(this),a=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;e.onSpanCaptured?.(this);let s=[];for(let t of(0,v.getSpanDescendants)(this)){var r;if(t===this||(r=t)instanceof k&&r.isStandaloneSpan()||e.isSpanAlreadyCaptured?.(t))continue;let n=(0,v.spanToJSON)(t);M(n)&&(e.onSpanCaptured?.(t),s.push(n))}let o=this._attributes[d.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];delete this._attributes[d.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME];let p=!1;
2s.forEach(e=>{delete e.data[d.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME],e.op?.startsWith("gen_ai.")&&(p=!0)});let c={contexts:{trace:(0,v.spanToTransactionTraceContext)(this)},spans:s.length>1e3?s.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):s,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,dynamicSamplingContext:(0,b.getDynamicSamplingContextFromSpan)(this),hasGenAiSpans:p},request:a,...o&&{transaction_info:{source:o}}},l=U(this._events);return l&&Object.keys(l).length&&(i.DEBUG_BUILD&&u.debug.log("[Measurements] Adding measurements to transaction event",JSON.stringify(l,void 0,2)),c.measurements=l),c}}function B(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function M(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function P(e,t){let n=L();return n.withActiveSpan?n.withActiveSpan(e,t):(0,r.withScope)(n=>((0,I._setSpanForScope)(n,e||void 0),t(n)))}function w(e=(0,r.getCurrentScope)()){let t=L();return t.isTracingSuppressed?t.isTracingSuppressed(e):!0===e.getScopeData().sdkProcessingMetadata.__SENTRY_SUPPRESS_TRACING__}function L(){let e=(0,c.getMainCarrier)();return(0,p.getAsyncContextStrategy)(e)}function $(e,t,n,a){let s=(0,r.getClient)(),o=s?.getOptions()||{},{name:p=""}=e,c={spanAttributes:{...e.attributes},spanName:p,parentSampled:a};s?.emit("beforeSampling",c,{decision:!1});let l=c.parentSampled??a,g=c.spanAttributes,_=t.getPropagationContext(),m=w(t),[T,E,I]=m?[!1]:function(e,t,n){let a,s;if(!(0,S.hasSpansEnabled)(e))return[!1];"function"==typeof e.tracesSampler?(a=e.tracesSampler({...t,inheritOrSampleWith:e=>"number"==typeof t.parentSampleRate?t.parentSampleRate:"boolean"==typeof t.parentSampled?Number(t.parentSampled):e}),s=!0):void 0!==t.parentSampled?a=t.parentSampled:void 0!==e.tracesSampleRate&&(a=e.tracesSampleRate,s=!0);let r=(0,f.parseSampleRate)(a);if(void 0===r)return i.DEBUG_BUILD&&u.debug.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(a)} of type ${JSON.stringify(typeof a)}.`),[!1];if(!r)return i.DEBUG_BUILD&&u.debug.log(`[Tracing] Discarding transaction because ${"function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,r,s];let o=n<r;return!o&&i.DEBUG_BUILD&&u.debug.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(a)})`),[o,r,s]}(o,{name:p,parentSampled:l,attributes:g,normalizedRequest:n.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:(0,f.parseSampleRate)(_.dsc?.sample_rate)},_.sampleRand),v=new k({...e,attributes:{[d.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"custom",[d.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]:void 0!==E&&I?E:void 0,...g},sampled:T});return T||!s||m||(i.DEBUG_BUILD&&u.debug.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),s.recordDroppedEvent("sample_rate",h(s)?"span":"transaction")),(0,O.setCapturedScopesOnSpan)(v,t,n),s&&s.emit("spanStart",v),v}e.s(["SentrySpan",0,k],190060),e.i(629217),e.s(["spanIsIgnored",0,function(e){return(0,C.spanIsNonRecordingSpan)(e)&&"ignored"===e.dropReason},"startInactiveSpan",0,function(e){let t=L();return t.startInactiveSpan?t.startInactiveSpan(e):function(e){let t=function(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let n={...t};return n.startTimestamp=(0,v.spanTimeInputToSeconds)(e.startTime),delete n.startTime,n}return t}(e),{forceTransaction:n,parentSpan:a}=e;return(e.scope?t=>(0,r.withScope)(e.scope,t):void 0!==a?e=>P(a,e):e=>e())(()=>{var s,o;let p,c=(0,r.getCurrentScope)(),l=function(e,t){if(t)return t;if(null===t)return;let n=(0,I._getSpanForScope)(e);if(!n)return;let a=(0,r.getClient)();return(a?a.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,v.getRootSpan)(n):n}(c,a),g=(0,r.getClient)();return e.onlyIfParent&&!l?(s=c,o=g,o?.recordDroppedEvent("no_parent_span","span"),p=new C.SentryNonRecordingSpan({traceId:s.getPropagationContext().traceId}),(0,O.setCapturedScopesOnSpan)(p,s,(0,r.getIsolationScope)()),p):function({parentSpan:e,spanArguments:t,forceTransaction:n,scope:a}){var s,o;let p,c,l=(0,r.getIsolationScope)();if(!(0,S.hasSpansEnabled)()){let t={...l.getPropagationContext(),...a.getPropagationContext()},s=e?e.spanContext().traceId:t.traceId,r=new C.SentryNonRecordingSpan({traceId:s});
2return e&&!n&&(0,v.addChildSpanToSpan)(e,r),(0,O.setCapturedScopesOnSpan)(r,a,l),r}let g=(0,r.getClient)();if(s=g,o=t,p=s?.getOptions().ignoreSpans,s&&h(s)&&p?.length&&m({description:o.name||"",op:o.attributes?.[d.SEMANTIC_ATTRIBUTE_SENTRY_OP]||o.op,attributes:o.attributes},p)){w(a)||g?.recordDroppedEvent("ignored","span");let t=new C.SentryNonRecordingSpan({dropReason:"ignored",traceId:e?.spanContext().traceId??a.getPropagationContext().traceId});return e&&!n&&(0,v.addChildSpanToSpan)(e,t),(0,O.setCapturedScopesOnSpan)(t,a,l),t}if(e&&!n)c=function(e,t,n,a){let{spanId:s,traceId:i}=e.spanContext(),o=w(t),p=!o&&(0,v.spanIsSampled)(e),c=p?new k({...n,parentSpanId:s,traceId:i,sampled:p}):new C.SentryNonRecordingSpan({traceId:i});(0,v.addChildSpanToSpan)(e,c),(0,O.setCapturedScopesOnSpan)(c,t,a);let d=(0,r.getClient)();return d&&(h(d)&&(0,C.spanIsNonRecordingSpan)(c)&&((0,C.spanIsNonRecordingSpan)(e)&&e.dropReason?(c.dropReason=e.dropReason,d.recordDroppedEvent(e.dropReason,"span")):o||(c.dropReason="sample_rate",d.recordDroppedEvent("sample_rate","span"))),d.emit("spanStart",c),n.endTimestamp&&(d.emit("spanEnd",c),d.emit("afterSpanEnd",c))),c}(e,a,t,l),(0,v.addChildSpanToSpan)(e,c);else if(e){let n=(0,b.getDynamicSamplingContextFromSpan)(e),{traceId:s,spanId:r}=e.spanContext(),i=(0,v.spanIsSampled)(e);c=$({traceId:s,parentSpanId:r,...t},a,l,i),(0,b.freezeDscOnSpan)(c,n)}else{let{traceId:e,dsc:n,parentSpanId:s,sampled:r}={...l.getPropagationContext(),...a.getPropagationContext()};c=$({traceId:e,parentSpanId:s,...t},a,l,r),n&&(0,b.freezeDscOnSpan)(c,n)}return!function(e){if(!i.DEBUG_BUILD)return;let{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:a}=(0,v.spanToJSON)(e),{spanId:s}=e.spanContext(),r=(0,v.spanIsSampled)(e),o=(0,v.getRootSpan)(e),p=o===e,c=`[Tracing] Starting ${r?"sampled":"unsampled"} ${p?"root ":""}span`,d=[`op: ${n}`,`name: ${t}`,`ID: ${s}`];if(a&&d.push(`parent ID: ${a}`),!p){let{op:e,description:t}=(0,v.spanToJSON)(o);d.push(`root ID: ${o.spanContext().spanId}`),e&&d.push(`root op: ${e}`),t&&d.push(`root description: ${t}`)}u.debug.log(`${c}
3  ${d.join("\n  ")}`)}(c),c}({parentSpan:l,spanArguments:t,forceTransaction:n,scope:c})})}(e)},"startNewTrace",0,function(e){let t=L();return t.startNewTrace?t.startNewTrace(e):(0,r.withScope)(t=>(t.setPropagationContext({traceId:(0,T.generateTraceId)(),sampleRand:(0,E.safeMathRandom)()}),i.DEBUG_BUILD&&u.debug.log(`Starting a new trace with id ${t.getPropagationContext().traceId}`),P(null,e)))},"withActiveSpan",0,P],501217);var G=e.i(645683),z=e.i(264072);function F(e){return new Y(t=>{t(e)})}function J(e){return new Y((t,n)=>{n(e)})}class Y{constructor(e){this._state=0,this._handlers=[],this._runExecutor(e)}then(e,t){return new Y((n,a)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){a(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){a(e)}else a(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new Y((t,n)=>{let a,s;return this.then(t=>{s=!1,a=t,e&&e()},t=>{s=!0,a=t,e&&e()}).then(()=>{s?n(a):t(a)})})}_executeHandlers(){if(0===this._state)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(1===this._state&&e[1](this._value),2===this._state&&e[2](this._value),e[0]=!0)})}_runExecutor(e){let t=(e,t)=>{if(0===this._state){if((0,l.isThenable)(t))return void t.then(n,a);this._state=e,this._value=t,this._executeHandlers()}},n=e=>{t(1,e)},a=e=>{t(2,e)};try{e(n,a)}catch(e){a(e)}}}e.s(["rejectedSyncPromise",0,J,"resolvedSyncPromise",0,F],863491);var j=e.i(932930),H=e.i(149863),q=e.i(527400);function V(e){let r=q.GLOBAL_OBJ._sentryDebugIds,i=q.GLOBAL_OBJ._debugIds;if(!r&&!i)return{};let o=r?Object.keys(r):[],p=i?Object.keys(i):[];if(s&&o.length===n&&p.length===a)return s;n=o.length,a=p.length,s={},t||(t={});let c=(n,a)=>{for(let r of n){let n=a[r],i=t?.[r];if(i&&s&&n)s[i[0]]=n,t&&(t[r]=[i[0],n]);else if(n){let a=e(r);for(let e=a.length-1;e>=0;e--){let i=a[e],o=i?.filename;if(o&&s&&t){s[o]=n,t[r]=[o,n];break}}}}};return r&&c(o,r),i&&c(p,i),s}e.s(["getDebugImagesForResources",0,function(e,t){let n=V(e);if(!n)return[];let a=[];for(let e of t){let t=(0,H.normalizeStackTracePath)(e);t&&n[t]&&a.push({type:"sourcemap",code_file:e,debug_id:n[t]})}return a},"getFilenameToDebugIdMap",0,V],846843);var W=e.i(166154),K=e.i(205375);function X(e){if(e){var t;return(t=e)instanceof j.Scope||"function"==typeof t||Object.keys(e).some(e=>Q.includes(e))?{captureContext:e}:e}}let Q=["user","level","extra","contexts","tags","fingerprint","propagationContext"];async function Z(e){let t=(0,r.getClient)();return t?t.flush(e):(i.DEBUG_BUILD&&u.debug.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}function ee(){let e=(0,r.getIsolationScope)(),t=(0,r.getCurrentScope)().getSession()||e.getSession();t&&(0,o.closeSession)(t),et(),e.setSession()}function et(){let e=(0,r.getIsolationScope)(),t=(0,r.getClient)(),n=e.getSession();n&&t&&t.captureSession(n)}e.s(["parseEventHintOrCaptureContext",0,X,"prepareEvent",0,function(e,t,n,a,s,r){var o,p,c;let d,{normalizeDepth:S=3,normalizeMaxBreadth:_=1e3}
3=e,m={...t,event_id:t.event_id||n.event_id||(0,G.uuid4)(),timestamp:t.timestamp||(0,D.dateTimestampInSeconds)()},h=n.integrations||e.integrations.map(e=>e.name);(function(e,t){let{environment:n,release:a,dist:s,maxValueLength:r}=t;e.environment=e.environment||n||z.DEFAULT_ENVIRONMENT,!e.release&&a&&(e.release=a),!e.dist&&s&&(e.dist=s);let i=e.request;i?.url&&r&&(i.url=(0,g.truncate)(i.url,r)),r&&e.exception?.values?.forEach(e=>{e.value&&(e.value=(0,g.truncate)(e.value,r))})})(m,e),o=m,(p=h).length>0&&(o.sdk=o.sdk||{},o.sdk.integrations=[...o.sdk.integrations||[],...p]),s&&s.emit("applyFrameMetadata",t),void 0===t.type&&(c=m,d=V(e.stackParser),c.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=d[e.filename])})}));let f=function(e,t){if(!t)return e;let n=e?e.clone():new j.Scope;return n.update(t),n}(a,n.captureContext);n.mechanism&&(0,G.addExceptionMechanism)(m,n.mechanism);let T=s?s.getEventProcessors():[],E=(0,K.getCombinedScopeData)(r,f),I=[...n.attachments||[],...E.attachments];I.length&&(n.attachments=I),(0,K.applyScopeDataToEvent)(m,E);let v=[...T,...E.eventProcessors];return(n.data&&!0===n.data.__sentry__?F(m):function(e,t,n,a=0){try{let s=function e(t,n,a,s){let r=a[s];if(!t||!r)return t;let o=r({...t},n);return(i.DEBUG_BUILD&&null===o&&u.debug.log(`Event processor "${r.id||"?"}" dropped event`),(0,l.isThenable)(o))?o.then(t=>e(t,n,a,s+1)):e(o,n,a,s+1)}(t,n,e,a);return(0,l.isThenable)(s)?s:F(s)}catch(e){return J(e)}}(v,m,n)).then(e=>(e&&function(e){let t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof S&&S>0)?function(e,t,n){if(!e)return null;let a={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:(0,W.normalize)(e.data,t,n)}}))},...e.user&&{user:(0,W.normalize)(e.user,t,n)},...e.contexts&&{contexts:(0,W.normalize)(e.contexts,t,n)},...e.extra&&{extra:(0,W.normalize)(e.extra,t,n)}};return e.contexts?.trace&&a.contexts&&(a.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(a.contexts.trace.data=(0,W.normalize)(e.contexts.trace.data,t,n))),e.spans&&(a.spans=e.spans.map(e=>({...e,...e.data&&{data:(0,W.normalize)(e.data,t,n)}}))),e.contexts?.flags&&a.contexts&&(a.contexts.flags=(0,W.normalize)(e.contexts.flags,3,n)),a}(e,S,_):e)}],740347),e.s(["addEventProcessor",0,function(e){(0,r.getIsolationScope)().addEventProcessor(e)},"captureEvent",0,function(e,t){return(0,r.getCurrentScope)().captureEvent(e,t)},"captureException",0,function(e,t){return(0,r.getCurrentScope)().captureException(e,X(t))},"captureMessage",0,function(e,t){let n="string"==typeof t?t:void 0,a="string"!=typeof t?{captureContext:t}:void 0;return(0,r.getCurrentScope)().captureMessage(e,n,a)},"captureSession",0,function(e=!1){e?ee():et()},"flush",0,Z,"isEnabled",0,function(){let e=(0,r.getClient)();return e?.getOptions().enabled!==!1&&!!e?.getTransport()},"lastEventId",0,function(){return(0,r.getIsolationScope)().lastEventId()},"setContext",0,function(e,t){(0,r.getIsolationScope)().setContext(e,t)},"setTag",0,function(e,t){(0,r.getIsolationScope)().setTag(e,t)},"setUser",0,function(e){(0,r.getIsolationScope)().setUser(e)},"startSession",0,function(e){let t=(0,r.getIsolationScope)(),{user:n}=(0,K.getCombinedScopeData)(t,(0,r.getCurrentScope)()),{userAgent:a}=q.GLOBAL_OBJ.navigator||{},s=(0,o.makeSession)({user:n,...a&&{userAgent:a},...e}),i=t.getSession();return i?.status==="ok"&&(0,o.updateSession)(i,{status:"exited"}),ee(),t.setSession(s),s}],799458)}]);
4
5//# debugId=189d34b0-f83c-89c3-5595-934f92938015

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.