PageSourceSearch

https://www.oioioi.ai/assets/entry.client-K--RNIdD.js

js oioioi.ai collected 2026-10-05 12:19:32 UTC 65,854 bytes, 18 lines download raw bytes

1import{j as ze}from"./jsx-runtime-BmEeptc3.js";import{m as Sn,s as wn,N as In,R as b,i as Tn,r as v,k as Pt,l as Rn,n as Dn,o as On,p as kn,q as Nn,t as xn,v as Ln,x as Cn,y as Mn,z as An,A as Fn,B as Pn,C as $n}from"./chunk-BV7QT456-AyAyWcaR.js";import{r as $t,D as h,d as m,g as N,G as y,i as ne,n as Bn,b as Hn,e as V,s as Y,f as Bt,h as Un,j as Le,k as jn,l as Ht,S as Ut,m as jt,o as qn,u as re,p as Ge,q as Ve,t as Wn,v as zn,w as Gn,x as Vn,y as ue,z as le,A as Yn,B as qt,C as fe,E as Ce,F as Ye,H as Xn,I as Qn,J as ae,K as Me,L as Xe,M as w,N as Ae,O as k,P as X,Q as D,T as Jn,U as S,V as Qe,W as Je,X as Kn,Y as Zn,Z as A,_ as z,$ as Wt,a0 as er,a1 as tr,a2 as be,a3 as F,a as nr,a4 as zt,a5 as Ke,a6 as rr,a7 as Fe,a8 as or,a9 as sr,aa as P,ab as ir,ac as $,ad as Ze,ae as et,af as he,ag as Gt,ah as ar,ai as cr,aj as Vt,ak as ur}from"./exports-DnLjQ1dR.js";[...In];new TextEncoder;(class extends b.Component{constructor(e){super(e),this.state={error:null,location:e.location}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location?{error:null,location:e.location}:{error:t.error,location:t.location}}render(){return this.state.error?b.createElement(lr,{error:this.state.error,renderAppShell:!0}):this.props.children}});function tt({renderAppShell:e,title:t,children:n}){return e?b.createElement("html",{lang:"en"},b.createElement("head",null,b.createElement("meta",{charSet:"utf-8"}),b.createElement("meta",{name:"viewport",content:"width=device-width,initial-scale=1,viewport-fit=cover"}),b.createElement("title",null,t)),b.createElement("body",null,b.createElement("main",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem"}},n))):n}function lr({error:e,renderAppShell:t}){console.error(e);let n=b.createElement("script",{dangerouslySetInnerHTML:{__html:`
2        console.log(
3          "💿 Hey developer 👋. You can provide a way better UX than this when your app throws errors. Check out https://reactrouter.com/how-to/error-boundary for more information."
4        );
5      `}});if(Tn(e))return b.createElement(tt,{renderAppShell:t,title:"Unhandled Thrown Response!"},b.createElement("h1",{style:{fontSize:"24px"}},e.status," ",e.statusText),n);let r;if(e instanceof Error)r=e;else{let o=e==null?"Unknown Error":typeof e=="object"&&"toString"in e?e.toString():JSON.stringify(e);r=new Error(o)}return b.createElement(tt,{renderAppShell:t,title:"Application Error!"},b.createElement("h1",{style:{fontSize:"24px"}},"Application Error"),b.createElement("pre",{style:{padding:"2rem",background:"hsla(10, 50%, 50%, 0.1)",color:"red",overflow:"auto"}},r.stack),n)}function fr({state:e,routes:t,getRouteInfo:n,location:r,basename:o,isSpaMode:s}){let i={...e,loaderData:{...e.loaderData}},c=Sn(t,r,o);if(c)for(let a of c){let u=a.route.id,l=n(u);wn(u,l.clientLoader,l.hasLoader,s)&&(l.hasHydrateFallback||!l.hasLoader)?delete i.loaderData[u]:l.hasLoader||(i.loaderData[u]=null)}return i}function dr(e){return v.createElement(kn,{flushSync:$t.flushSync,...e})}var f=null,j=null;function pr(){if(!f&&window.__reactRouterContext&&window.__reactRouterManifest&&window.__reactRouterRouteModules){if(window.__reactRouterManifest.sri===!0){const e=document.querySelector("script[rr-importmap]");if(e!=null&&e.textContent)try{window.__reactRouterManifest.sri=JSON.parse(e.textContent).integrity}catch(t){console.error("Failed to parse import map",t)}}f={context:window.__reactRouterContext,manifest:window.__reactRouterManifest,routeModules:window.__reactRouterRouteModules,stateDecodingPromise:void 0,router:void 0,routerInitialized:!1}}}function mr({getContext:e,instrumentations:t}){var i,c;if(pr(),!f)throw new Error("You must be using the SSR features of React Router in order to skip passing a `router` prop to `<RouterProvider>`");let n=f;if(!f.stateDecodingPromise){let a=f.context.stream;Pt(a,"No stream found for single fetch decoding"),f.context.stream=void 0,f.stateDecodingPromise=Nn(a,window).then(u=>{f.context.state=u.value,n.stateDecodingPromise.value=!0}).catch(u=>{n.stateDecodingPromise.error=u})}if(f.stateDecodingPromise.error)throw f.stateDecodingPromise.error;if(!f.stateDecodingPromise.value)throw f.stateDecodingPromise;let r=xn(f.manifest.routes,f.routeModules,f.context.state,f.context.ssr,f.context.
5isSpaMode),o;if(f.context.isSpaMode){let{loaderData:a}=f.context.state;(i=f.manifest.routes.root)!=null&&i.hasLoader&&a&&"root"in a&&(o={loaderData:{root:a.root}})}else o=fr({state:f.context.state,routes:r,getRouteInfo:a=>{var u,l,d;return{clientLoader:(u=f.routeModules[a])==null?void 0:u.clientLoader,hasLoader:((l=f.manifest.routes[a])==null?void 0:l.hasLoader)===!0,hasHydrateFallback:((d=f.routeModules[a])==null?void 0:d.HydrateFallback)!=null}},location:window.location,basename:(c=window.__reactRouterContext)==null?void 0:c.basename,isSpaMode:f.context.isSpaMode});window.history.state&&window.history.state.masked&&window.history.replaceState({...window.history.state,masked:void 0},"");let s=Ln({routes:r,history:An(),basename:f.context.basename,getContext:e,hydrationData:o,hydrationRouteProperties:$n,instrumentations:t,mapRouteProperties:Pn,future:{v8_passThroughRequests:f.context.future.v8_passThroughRequests},dataStrategy:Mn(()=>s,f.manifest,f.routeModules,f.context.ssr,f.context.basename,f.context.future.v8_trailingSlashAwareDataRequests),patchRoutesOnNavigation:Cn(()=>s,f.manifest,f.routeModules,f.context.ssr,f.context.routeDiscovery,f.context.isSpaMode,f.context.basename)});return f.router=s,s.state.initialized&&(f.routerInitialized=!0,s.initialize()),s.createRoutesForHMR=Fn,window.__reactRouterDataRouter=s,s}function hr(e){j||(j=mr({getContext:e.getContext,instrumentations:e.instrumentations}));let[t,n]=v.useState(void 0);v.useEffect(()=>{},[]),v.useEffect(()=>{},[t]);let[r,o]=v.useState(j.state.location);return v.useLayoutEffect(()=>{f&&f.router&&!f.routerInitialized&&(f.routerInitialized=!0,f.router.initialize())},[]),v.useLayoutEffect(()=>{if(f&&f.router)return f.router.subscribe(s=>{s.location!==r&&o(s.location)})},[r]),Pt(f,"ssrInfo unavailable for HydratedRouter"),Rn(j,f.manifest,f.routeModules,f.context.ssr,f.context.routeDiscovery,f.context.isSpaMode),v.createElement(v.Fragment,null,v.createElement(Dn.Provider,{value:{manifest:f.manifest,routeModules:f.routeModules,future:f.context.future,criticalCss:t,ssr:f.context.ssr,isSpaMode:f.context.isSpaMode,routeDiscovery:f.context.routeDiscovery}},v.createElement(On,{location:r},v.createElement(dr,{router:j,useTransitions:e.useTransitions,onError:e.onError}))),v.createElement(v.Fragment,null))}var Yt,nt=$t;nt.createRoot,Yt=nt.hydrateRoot;const q={},rt={};function L(e,t){return q[e]=q[e]||[],q[e].push(t),()=>{const n=q[e];if(n){const r=n.indexOf(t);r!==-1&&n.splice(r,1)}}}function C(e,t){if(!rt[e]){rt[e]=!0;try{t()}catch(n){h&&m.error(`Error while instrumenting ${e}`,n)}}}function I(e,t){const n=e&&q[e];if(n)for(const r of n)try{r(t)}catch(o){h&&m.error(`Error while triggering instrumentation handler.
6Type: ${e}
7Name: ${N(r)}
8Error:`,o)}}let ge=null;function gr(e){const t="error";L(t,e),C(t,_r)}function _r(){ge=y.onerror,y.onerror=function(e,t,n,r,o){return I("error",{column:r,error:o,line:n,msg:e,url:t}),ge?ge.apply(this,arguments):!1},y.onerror.__SENTRY_INSTRUMENTED__=!0}let _e=null;function yr(e){const t="unhandledrejection";L(t,e),C(t,Er)}function Er(){_e=y.onunhandledrejection,y.onunhandledrejection=function(e){return I("unhandledrejection",e),_e?_e.apply(this,arguments):!0},y.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function vr(e){if(typeof e=="boolean")return Number(e);const t=typeof e=="string"?parseFloat(e):e;if(!(typeof t!="number"||isNaN(t)||t<0||t>1))return t}function ot(e){m.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function st(e,t){if(!(t!=null&&t.length))return!1;for(const n of t){if(wr(n)){if(e.description&&ne(e.description,n))return h&&ot(e),!0;continue}const r=!!n.attributes&&Object.keys(n.attributes).length>0;if(!n.name&&!n.op&&!r)continue;const o=n.name?e.description&&ne(e.description,n.name):!0,s=n.op?e.op&&ne(e.op,n.op):!0,i=n.attributes?Object.entries(n.attributes).every(([c,a])=>{var u;return br((u=e.attributes)==null?void 0:u[c],a)}):!0;if(o&&s&&i)return h&&ot(e),!0}return!1}function br(e,t){return typeof e=="string"&&(typeof t=="string"||t instanceof RegExp)?ne(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e===t}function Sr(e,t){const n=t.parent_span_id,r=t.span_id;if(n)for(const o of e)o.parent_span_id===r&&(o.parent_span_id=n)}function wr(e){return typeof e=="string"||e instanceof RegExp}function Ir(e){return!!e&&typeof e=="function"&&"_streamed"in e&&!!e._streamed}function H(e,t=[]){return[e,t]}function it(e,t){const[n,r]=e;return[n,[...r,t]]}function Se(e,t){const n=e[1];for(const r of n){const o=r[0].type;if(t(r,o))return!0}return!1}function Tr(e,t){return Se(e,(n,r)=>t.includes(r))}function we(e){const t=Hn(y);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function Rr(e){const[t,n]=e;let r=JSON.stringify(t);function o(s){typeof r=="string"?r=typeof s=="string"?r+s:[we(r),s]:r.push(typeof s=="string"?we(s):s)}for(const s of n){const[i,c]=s;if(o(`
9${JSON.stringify(i)}
10`),typeof c=="string"||c instanceof Uint8Array)o(c);else{let a;try{a=JSON.stringify(c)}catch{a=JSON.stringify(Bn(c))}o(a)}}return typeof r=="string"?r:Dr(r)}function Dr(e){const t=e.reduce((o,s)=>o+s.length,0),n=new Uint8Array(t);let r=0;for(const o of e)n.set(o,r),r+=o.length;return n}
10function Or(e){const t=typeof e.data=="string"?we(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const Xt={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 kr(e){return e in Xt}function at(e){return kr(e)?Xt[e]:e}function Qt(e){if(!(e!=null&&e.sdk))return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function Nr(e,t,n,r){var s;const o=(s=e.sdkProcessingMetadata)==null?void 0:s.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date(Y()).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:V(r)},...o&&{trace:o}}}function xr(e,t){var r,o,s,i;if(!t)return e;const n=e.sdk||{};return e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...((r=e.sdk)==null?void 0:r.integrations)||[],...t.integrations||[]],packages:[...((o=e.sdk)==null?void 0:o.packages)||[],...t.packages||[]],settings:(s=e.sdk)!=null&&s.settings||t.settings?{...(i=e.sdk)==null?void 0:i.settings,...t.settings}:void 0},e}function Lr(e,t,n,r){const o=Qt(n),s={sent_at:new Date(Y()).toISOString(),...o&&{sdk:o},...!!r&&t&&{dsn:V(t)}},i="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return H(s,[i])}function Cr(e,t,n,r){const o=Qt(n),s=e.type&&e.type!=="replay_event"?e.type:"event";xr(e,n==null?void 0:n.sdk);const i=Nr(e,o,r,t);return delete e.sdkProcessingMetadata,H(i,[[{type:s},e]])}function Mr(e){return e.getOptions().traceLifecycle==="stream"}const Ar="url.full";function Jt(e,t){const n=e.attributes??(e.attributes={});Object.entries(t).forEach(([r,o])=>{o!=null&&!(r in n)&&(n[r]=o)})}function Kt(e){return typeof e=="object"&&typeof e.unref=="function"&&e.unref(),e}const Fr="7";function Pr(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function $r(e){return`${Pr(e)}${e.projectId}/envelope/`}function Br(e,t){const n={sentry_version:Fr};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}function Hr(e,t,n){return t||`${$r(e)}?${Br(e,n)}`}const ct=[];function Ur(e){const t={};return e.forEach(n=>{const{name:r}=n,o=t[r];o&&!o.isDefaultInstance&&n.isDefaultInstance||(t[r]=n)}),Object.values(t)}function jr(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(o=>{o.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n=="function"){const o=n(t);r=Array.isArray(o)?o:[o]}else r=t;return Ur(r)}function qr(e,t){const n={};return t.forEach(r=>{r!=null&&r.beforeSetup&&r.beforeSetup(e)}),t.forEach(r=>{r&&Zt(e,r,n)}),n}function ut(e,t){for(const n of t)n!=null&&n.afterAllSetup&&n.afterAllSetup(e)}function Zt(e,t,n){if(n[t.name]){h&&m.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,!ct.includes(t.name)&&typeof t.setupOnce=="function"&&(t.setupOnce(),ct.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),typeof t.preprocessEvent=="function"){const r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(o,s)=>r(o,s,e))}if(typeof t.processEvent=="function"){const r=t.processEvent.bind(t),o=Object.assign((s,i)=>r(s,i,e),{id:t.name});e.addEventProcessor(o)}["processSpan","processSegmentSpan"].forEach(r=>{const o=t[r];typeof o=="function"&&e.on(r,s=>o.call(t,s,e))}),h&&m.log(`Integration installed: ${t.name}`)}function Wr(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function zr(){/*! __SENTRY_SDK_SOURCE__ */return"npm"}function Gr(){return!Wr()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function Pe(){return typeof window<"u"&&(!Gr()||Vr())}function Vr(){const e=y.process;return(e==null?void 0:e.type)==="renderer"}function Yr(e,t){const n=t?"auto":"never";return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"}
10,{version:2,...Pe()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function Xr(e,t,n,r,o){const s={};return t!=null&&t.sdk&&(s.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(s.dsn=V(r)),H(s,[Yr(e,o)])}function Qr(e,t){const n=t??Jr(e)??[];if(n.length===0)return;const r=e.getOptions(),o=Xr(n,r._metadata,r.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);en().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(o)}function Jr(e){return en().get(e)}function en(){return Bt("clientToLogBufferMap",()=>new WeakMap)}function Kr(e,t){const n=t?"auto":"never";return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{version:2,...Pe()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function Zr(e,t,n,r,o){const s={};return t!=null&&t.sdk&&(s.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(s.dsn=V(r)),H(s,[Kr(e,o)])}function eo(e,t){const n=t??to(e)??[];if(n.length===0)return;const r=e.getOptions(),o=Zr(n,r._metadata,r.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);tn().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(o)}function to(e){return tn().get(e)}function tn(){return Bt("clientToMetricBufferMap",()=>new WeakMap)}function no(e){const t={trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,name:e.description||"",start_timestamp:e.start_timestamp,end_timestamp:e.timestamp||e.start_timestamp,status:!e.status||e.status==="ok"||e.status==="cancelled"?"ok":"error",is_segment:!1,attributes:{...e.data},links:e.links};return Un(t)}function ro(e,t){var s,i,c;if(e.type!=="transaction"||!((s=e.spans)!=null&&s.length)||!((i=e.sdkProcessingMetadata)!=null&&i.hasGenAiSpans)||t.getOptions().streamGenAiSpans===!1||Mr(t))return;const n=[],r=[];for(const a of e.spans)(c=a.op)!=null&&c.startsWith("gen_ai.")?n.push(no(a)):r.push(a);if(n.length===0)return;e.spans=r;const o=t.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:n.length,content_type:"application/vnd.sentry.items.span.v2+json"}
10,{version:2,...Pe()&&{ingest_settings:{infer_ip:o,infer_user_agent:o}},items:n}]}const $e=Symbol.for("SentryBufferFullError");function Be(e=100){const t=new Set;function n(){return t.size<e}function r(i){t.delete(i)}function o(i){if(!n())return jn($e);const c=i();return t.add(c),c.then(()=>r(c),()=>r(c)),c}function s(i){if(!t.size)return Le(!0);const c=Promise.allSettled(Array.from(t)).then(()=>!0);if(!i)return c;const a=[c,new Promise(u=>Kt(setTimeout(()=>u(!1),i)))];return Promise.race(a)}return{get $(){return Array.from(t)},add:o,drain:s}}const oo=60*1e3;function so(e,t=Y()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?oo:r-t}function io(e,t){return e[t]||e.all||0}function ao(e,t,n=Y()){return io(e,t)>n}function co(e,{statusCode:t,headers:n},r=Y()){const o={...e},s=n==null?void 0:n["x-sentry-rate-limits"],i=n==null?void 0:n["retry-after"];if(s)for(const c of s.trim().split(",")){const[a,u,,,l]=c.split(":",5),d=parseInt(a,10),g=(isNaN(d)?60:d)*1e3;if(!u)o.all=r+g;else for(const p of u.split(";"))p==="metric_bucket"?(!l||l.split(";").includes("custom"))&&(o[p]=r+g):o[p]=r+g}else i?o.all=r+so(i,r):t===429&&(o.all=r+60*1e3);return o}const nn=64;function uo(e,t,n=Be(e.bufferSize||nn)){let r={};const o=i=>n.drain(i);function s(i){const c=[];if(Se(i,(d,g)=>{const p=at(g);ao(r,p)?e.recordDroppedEvent("ratelimit_backoff",p):c.push(d)}),c.length===0)return Promise.resolve({});const a=H(i[0],c),u=d=>{if(Tr(a,["client_report"])){h&&m.warn(`Dropping client report. Will not send outcomes (reason: ${d}).`);return}Se(a,(g,p)=>{e.recordDroppedEvent(d,at(p))})},l=()=>t({body:Rr(a)}).then(d=>d.statusCode===413?(h&&m.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),u("send_error"),d):(h&&d.statusCode!==void 0&&(d.statusCode<200||d.statusCode>=300)&&m.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),r=co(r,d),d),d=>{throw u("network_error"),h&&m.error("Encountered error running transport request:",d),d});return n.add(l).then(d=>d,d=>{if(d===$e)return h&&m.error("Skipped sending event because buffer is full."),u("queue_overflow"),Promise.resolve({});throw d})}return{send:s,flush:o}}function lo(e,t,n){const r=[{type:"client_report"},{timestamp:Ht(),discarded_events:e}];return H(t?{dsn:t}:{},[r])}function rn(e){const t=[];e.message&&t.push(e.message);try{const n=e.exception.values[e.exception.values.length-1];n!=null&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}function fo(e){var a;const{trace_id:t,parent_span_id:n,span_id:r,status:o,origin:s,data:i,op:c}=((a=e.contexts)==null?void 0:a.trace)??{};return{data:i??{},description:e.transaction,op:c,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:o,timestamp:e.timestamp,trace_id:t??"",origin:s,profile_id:i==null?void 0:i[jt],exclusive_time:i==null?void 0:i[Ut],measurements:e.measurements,is_segment:!0}}function po(e){return{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[jt]:e.profile_id},...e.exclusive_time&&{[Ut]:e.exclusive_time}}}},measurements:e.measurements}}const K=["forwarded","-ip","remote-","via","-user"];function mo(e){return e===!0?{userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:7}:{userInfo:!1,cookies:{deny:K},httpHeaders:{request:{deny:K},response:{deny:K}},httpBodies:[],urlQueryParams:{deny:K},graphQL:{document:!0,variables:!0},genAI:{inputs:!1,outputs:!1},databaseQueryData:!1,stackFrameVariables:!0,frameContextLines:7}}const ho={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0}
10,databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:5};function go(e){var r,o,s,i,c,a;const t=e.dataCollection!=null?ho:mo(e.sendDefaultPii),n=e.dataCollection??{};return{userInfo:n.userInfo??t.userInfo,cookies:n.cookies??t.cookies,httpHeaders:{request:((r=n.httpHeaders)==null?void 0:r.request)??t.httpHeaders.request,response:((o=n.httpHeaders)==null?void 0:o.response)??t.httpHeaders.response},httpBodies:n.httpBodies??t.httpBodies,urlQueryParams:n.urlQueryParams??n.queryParams??t.urlQueryParams,graphQL:{document:((s=n.graphQL)==null?void 0:s.document)??t.graphQL.document,variables:((i=n.graphQL)==null?void 0:i.variables)??t.graphQL.variables},genAI:{inputs:((c=n.genAI)==null?void 0:c.inputs)??t.genAI.inputs,outputs:((a=n.genAI)==null?void 0:a.outputs)??t.genAI.outputs},databaseQueryData:n.databaseQueryData??t.databaseQueryData,stackFrameVariables:n.stackFrameVariables??t.stackFrameVariables,frameContextLines:n.frameContextLines??t.frameContextLines}}const lt="Not capturing exception because it's already been captured.",ft="Discarded session because of missing or non-string release",on=Symbol.for("SentryInternalError"),sn=Symbol.for("SentryDoNotSendEventError"),_o=5e3;function oe(e){return{message:e,[on]:!0}}function ye(e){return{message:e,[sn]:!0}}function dt(e){return Ce(e)&&on in e}function pt(e){return Ce(e)&&sn in e}function mt(e,t,n,r,o){let s=0,i,c=!1;e.on(n,()=>{s=0,clearTimeout(i),c=!1}),e.on(t,a=>{if(s+=r(a),s>=8e5)o(e);else if(!c){const u=e.getOptions()._flushInterval??_o;u>0&&(c=!0,i=Kt(setTimeout(()=>{o(e)},u)))}}),e.on("flush",()=>{o(e)})}class yo{constructor(t){var r,o,s;if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=Be(((r=t.transportOptions)==null?void 0:r.bufferSize)??nn),this._dataCollection=go(t),t.dsn?this._dsn=qn(t.dsn):h&&m.warn("No DSN provided, client will not send events."),this._dsn){const i=Hr(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:i})}this._options.enableLogs=this._options.enableLogs??((o=this._options._experiments)==null?void 0:o.enableLogs)??!0,this._options.enableLogs&&mt(this,"afterCaptureLog","flushLogs",So,Qr),(this._options.enableMetrics??((s=this._options._experiments)==null?void 0:s.enableMetrics)??!0)&&mt(this,"afterCaptureMetric","flushMetrics",bo,eo)}captureException(t,n,r){const o=re();if(Ge(t))return h&&m.log(lt),o;const s={event_id:o,...n};return this._process(()=>this.eventFromException(t,s).then(i=>this._captureEvent(i,s,r)).then(i=>i),"error"),s.event_id}captureMessage(t,n,r,o){const s={event_id:re(),...r},i=qt(t)?t:String(t),c=fe(t),a=c?this.eventFromMessage(i,n,s):this.eventFromException(t,s);return this._process(()=>a.then(u=>this._captureEvent(u,s,o)),c?"unknown":"error"),s.event_id}captureEvent(t,n,r){const o=re();if(n!=null&&n.originalException&&Ge(n.originalException))return h&&m.log(lt),o;const s={event_id:o,...n},i=t.sdkProcessingMetadata||{},c=i.capturedSpanScope,a=i.capturedSpanIsolationScope,u=ht(t.type);return this._process(()=>this._captureEvent(t,s,c||r,a),u),s.event_id}captureSession(t){this.sendSession(t),Ve(t,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(t){const n=this._transport;if(this.emit("flush"),!n)return!0;const r=await this._isClientDoneProcessing(t),o=await n.flush(t);return r&&o}async close(t){const n=await this.flush(t);return this.getOptions().enabled=!1,this.emit("close"),n}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=>t.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(t){const n=this._integrations[t.name];!n&&t.beforeSetup&&t.beforeSetup(this),Zt(this,t,this._integrations),n||ut(this,[t])}sendEvent(t,n={}
10){this.emit("beforeSendEvent",t,n);const r=ro(t,this);let o=Cr(t,this._dsn,this._options._metadata,this._options.tunnel);for(const s of n.attachments||[])o=it(o,Or(s));r&&(o=it(o,r)),this.sendEnvelope(o).then(s=>this.emit("afterSendEvent",t,s))}sendSession(t){const{release:n,environment:r=Wn}=this._options;if("aggregates"in t){const s=t.attrs||{};if(!s.release&&!n){h&&m.warn(ft);return}s.release=s.release||n,s.environment=s.environment||r,t.attrs=s}else{if(!t.release&&!n){h&&m.warn(ft);return}t.release=t.release||n,t.environment=t.environment||r}this.emit("beforeSendSession",t);const o=Lr(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(o)}recordDroppedEvent(t,n,r=1){if(this._options.sendClientReports){const o=`${t}:${n}`;h&&m.log(`Recording outcome: "${o}"${r>1?` (${r} times)`:""}`),this._outcomes[o]=(this._outcomes[o]||0)+r}}on(t,n){const r=this._hooks[t]=this._hooks[t]||new Set,o=(...s)=>n(...s);return r.add(o),()=>{r.delete(o)}}emit(t,...n){const r=this._hooks[t];r&&r.forEach(o=>o(...n))}async sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)try{return await this._transport.send(t)}catch(n){return h&&m.error("Error while sending envelope:",n),{}}return h&&m.error("Transport disabled"),{}}registerCleanup(t){}dispose(){}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=qr(this,t),ut(this,t)}_updateSessionFromEvent(t,n){var a,u;let r=n.level==="fatal",o=!1;const s=(a=n.exception)==null?void 0:a.values;if(s){o=!0,r=!1;for(const l of s)if(((u=l.mechanism)==null?void 0:u.handled)===!1){r=!0;break}}const i=t.status==="ok";(i&&t.errors===0||i&&r)&&(Ve(t,{...r&&{status:"crashed"},errors:t.errors||Number(o||r)}),this.captureSession(t))}async _isClientDoneProcessing(t){let n=0;for(;!t||n<t;){if(await new Promise(r=>setTimeout(r,1)),!this._numProcessing)return!0;n++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,n,r,o){const s=this.getOptions(),i=this.getIntegrationNames();return!n.integrations&&i.length&&(n.integrations=i),this.emit("preprocessEvent",t,n),t.type||o.setLastEventId(t.event_id||n.event_id),zn(s,t,n,r,this,o).then(c=>{var u;if(c===null)return c;this.emit("postprocessEvent",c,n),c.contexts={trace:{...(u=c.contexts)==null?void 0:u.trace,...Gn(r)},...c.contexts};const a=Vn(this,r);return c.sdkProcessingMetadata={dynamicSamplingContext:a,...c.sdkProcessingMetadata},c})}_captureEvent(t,n={},r=ue(),o=le()){return h&&Ie(t)&&m.log(`Captured error event \`${rn(t)[0]||"<unknown>"}\``),this._processEvent(t,n,r,o).then(s=>s.event_id,s=>{h&&(pt(s)?m.log(s.message):dt(s)?m.warn(s.message):m.warn(s))})}_processEvent(t,n,r,o){const s=this.getOptions(),{sampleRate:i}=s,c=an(t),a=Ie(t),l=`before send for type \`${t.type||"error"}\``,d=typeof i>"u"?void 0:vr(i),g=ht(t.type);return this._prepareEvent(t,n,r,o).then(p=>{var U;if(p===null)throw this.recordDroppedEvent("event_processor",g),ye("An event processor returned `null`, will not send event.");if(((U=n.data)==null?void 0:U.__sentry__)===!0)return p;const Q=vo(this,s,p,n);return Eo(Q,l)}).then(p=>{var U;if(p===null){if(this.recordDroppedEvent("before_send",g),c){const me=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",me)}throw ye(`${l} returned \`null\`, will not send event.`)}const T=r.getSession()||o.getSession();if(a&&T&&this._updateSessionFromEvent(T,p),a&&typeof d=="number"&&Yn()>d)throw this.recordDroppedEvent("sample_rate","error"),ye(`Discarding event because it's not included in the random sample (sampling rate = ${i})`);if(c){const J=((U=p.sdkProcessingMetadata)==null?void 0:U.spanCountBeforeProcessing)||0,me=p.spans?p.spans.length:0,We=J-me;We>0&&this.recordDroppedEvent("before_send","span",We)}const Q=p.transaction_info;if(c&&Q&&p.transaction!==t.transaction){const J="custom";p.transaction_info={...Q,source:J}}return this.sendEvent(p,n),p}).then(null,p=>{throw pt(p)||dt(p)?p:(this.captureException(p,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:p}),oe(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
11Reason: ${p}`))})}_process(t,n){this._numProcessing++,this._promiseBuffer.add(t).then(r=>(this._numProcessing--,r),r=>(this._numProcessing--,r===$e&&this.recordDroppedEvent("queue_overflow",n),r))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([n,r])=>{const[o,s]=n.split(":");return{reason:o,category:s,quantity:r}})}_flushOutcomes(){h&&m.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){h&&m.log("No outcomes to send");return}if(!this._dsn){h&&m.log("No dsn provided, will not send outcomes");return}h&&m.log("Sending outcomes:",t);const n=lo(t,this._options.tunnel&&V(this._dsn));this.sendEnvelope(n)}}function ht(e){return e==="replay_event"?"replay":e||"error"}function Eo(e,t){const n=`${t} must return \`null\` or a valid event.`;if(Qn(e))return e.then(r=>{if(!ae(r)&&r!==null)throw oe(n);return r},r=>{throw oe(`${t} rejected with ${r}`)});if(!ae(e)&&e!==null)throw oe(n);return e}function vo(e,t,n,r){const{beforeSend:o,beforeSendTransaction:s,ignoreSpans:i}=t,c=!Ir(t.beforeSendSpan)&&t.beforeSendSpan;let a=n;if(Ie(a)&&o)return o(a,r);if(an(a)){if(c||i){const u=fo(a);if(i!=null&&i.length&&st({description:u.description,op:u.op,attributes:u.data},i))return null;if(c){const l=c(u);l?a=Xn(n,po(l)):Ye()}if(a.spans){const l=[],d=a.spans;for(const p of d){if(i!=null&&i.length&&st({description:p.description,op:p.op,attributes:p.data},i)){Sr(d,p);continue}if(c){const T=c(p);T?l.push(T):(Ye(),l.push(p))}else l.push(p)}const g=a.spans.length-l.length;g&&e.recordDroppedEvent("before_send","span",g),a.spans=l}}if(s){if(a.spans){const u=a.spans.length;a.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:u}}return s(a,r)}}return a}function Ie(e){return e.type===void 0}function an(e){return e.type==="transaction"}function bo(e){let t=0;return e.name&&(t+=e.name.length*2),t+=8,t+cn(e.attributes)}function So(e){let t=0;return e.message&&(t+=e.message.length*2),t+cn(e.attributes)}function cn(e){if(!e)return 0;let t=0;return Object.values(e).forEach(n=>{Array.isArray(n)?t+=n.length*gt(n[0]):fe(n)?t+=gt(n):t+=100}),t}function gt(e){return typeof e=="string"?e.length*2:typeof e=="number"?8:typeof e=="boolean"?4:0}function wo(e,t){t.debug===!0&&(h?m.enable():Me(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),ue().update(t.initialScope);const r=new e(t);return Io(r),r.init(),r}function Io(e){ue().setClient(e)}function Ee(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function To(e,t=!0){if(e.startsWith("data:")){const n=e.match(/^data:([^;,]+)/),r=n?n[1]:"text/plain",o=e.includes(";base64,"),s=e.indexOf(",");let i="";if(t&&s!==-1){const c=e.slice(s+1);i=c.length>10?`${c.slice(0,10)}... [truncated]`:c}return`data:${r}${o?",base64":""}${i?`,${i}`:""}`}return e}function Ro(e){var t;"aggregates"in e?((t=e.attrs)==null?void 0:t.ip_address)===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):e.ipAddress===void 0&&(e.ipAddress="{{auto}}")}function un(e,t,n=[t],r="npm"){const o=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};o.name||(o.name=`sentry.javascript.${t}`,o.packages=n.map(s=>({name:`${r}:@sentry/${s}`,version:Xe})),o.version=Xe)}const Do=100;function x(e,t){const n=w(),r=le();if(!n)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:s=Do}=n.getOptions();if(s<=0)return;const c={timestamp:Ht(),...e},a=o?Me(()=>o(c,t)):c;a!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",a,t),r.addBreadcrumb(a,s))}const Oo="FunctionToString",_t=new WeakMap,ko=()=>({name:Oo,setupOnce(){const e=Function.prototype.toString;try{Function.prototype.toString=function(...t){const n=Ae(this);let r;try{_t.has(w())&&n!==void 0&&(r=n)}catch{}return e.apply(r??this,t)}}catch{}},setup(e){_t.set(e,!0)}}),No=ko,xo=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/^Java exception was raised during method invocation$/],Lo="EventFilters",Co=(e={})=>{let t;return{name:Lo,setup(n){const r=n.getOptions();t=yt(e,r)},processEvent(n,r,o){if(!t){const s=o.getOptions();t=yt(e,s)}return Ao(n,t)?null:n}}},Mo=(e={})=>({...Co(e),name:"InboundFilters"});function yt(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:xo],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function Ao(e,t){if(e.type){if(e.type==="transaction"&&Po(e,t.ignoreTransactions))return h&&m.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
12Event: ${k(e)}`),!0}else{if(Fo(e,t.ignoreErrors))return h&&m.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
13Event: ${k(e)}`),!0;if(Uo(e))return h&&m.warn(`Event dropped due to not having an error message, error type or stacktrace.
14Event: ${k(e)}`),!0;if($o(e,t.denyUrls))return h&&m.warn(`Event dropped due to being matched by \`denyUrls\` option.
15Event: ${k(e)}.
16Url: ${ce(e)}`),!0;if(!Bo(e,t.allowUrls))return h&&m.warn(`Event dropped due to not being matched by \`allowUrls\` option.
17Event: ${k(e)}.
18Url: ${ce(e)}`),!0}return!1}function Fo(e,t){return t!=null&&t.length?rn(e).some(n=>X(n,t)):!1}function Po(e,t){if(!(t!=null&&t.length))return!1;const n=e.transaction;return n?X(n,t):!1}function $o(e,t){if(!(t!=null&&t.length))return!1;const n=ce(e);return n?X(n,t):!1}function Bo(e,t){if(!(t!=null&&t.length))return!0;const n=ce(e);return n?X(n,t):!0}function Ho(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&n.filename!=="<anonymous>"&&n.filename!=="[native code]")return n.filename||null}return null}function ce(e){var t,n;try{const r=[...((t=e.exception)==null?void 0:t.values)??[]].reverse().find(s=>{var i,c,a;return((i=s.mechanism)==null?void 0:i.parent_id)===void 0&&((a=(c=s.stacktrace)==null?void 0:c.frames)==null?void 0:a.length)}),o=(n=r==null?void 0:r.stacktrace)==null?void 0:n.frames;return o?Ho(o):null}catch{return h&&m.error(`Cannot extract url for event ${k(e)}`),null}}function Uo(e){var t,n;return(n=(t=e.exception)==null?void 0:t.values)!=null&&n.length?!e.message&&!e.exception.values.some(r=>r.stacktrace||r.type&&r.type!=="Error"||r.value):!1}function jo(e,t,n,r,o,s){var c;if(!((c=o.exception)!=null&&c.values)||!s||!D(s.originalException))return;const i=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;i&&(o.exception.values=Te(e,t,r,s.originalException,n,o.exception.values,i,0
18))}function Te(e,t,n,r,o,s,i,c){if(s.length>=n+1)return s;let a=[...s];if(D(r[o])){Et(i,c,r);const u=e(t,r[o]),l=a.length;vt(u,o,l,c),a=Te(e,t,n,r[o],o,[u,...a],u,l)}return ln(r)&&r.errors.forEach((u,l)=>{if(D(u)){Et(i,c,r);const d=e(t,u),g=a.length;vt(d,`errors[${l}]`,g,c),a=Te(e,t,n,u,o,[d,...a],d,g)}}),a}function ln(e){return Array.isArray(e.errors)}function Et(e,t,n){e.mechanism={handled:!0,type:"auto.core.linked_errors",...ln(n)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function vt(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function qo(e){return D(e)&&"__sentry_fetch_url_host__"in e&&typeof e.__sentry_fetch_url_host__=="string"}function bt(e){return qo(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}const St=new Set([]);function Wo(e){const t="console",n=L(t,e);return C(t,zo),n}const wt=new Set;function zo(){"console"in y&&Jn.forEach(function(e){wt.has(e)||!(e in y.console)||(wt.add(e),S(y.console,e,function(t){return Qe[e]=t,function(...n){const r=n[0],o=Qe[e],s=St.size&&typeof r=="string"&&X(r,St);s||I("console",{args:n,level:e}),(!s||h&&m.isEnabled())&&(o==null||o.apply(y.console,n))}}))})}function Go(e){return e==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const Vo="Dedupe",Yo=()=>{let e;return{name:Vo,processEvent(t){if(t.type)return t;try{if(Qo(t,e))return h&&m.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}},Xo=Yo;function Qo(e,t){return t?!!(Jo(e,t)||Ko(e,t)):!1}function Jo(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!dn(e,t)||!fn(e,t))}function Ko(e,t){const n=It(t),r=It(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!dn(e,t)||!fn(e,t))}function fn(e,t){let n=Je(e),r=Je(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let o=0;o<r.length;o++){const s=r[o],i=n[o];if(s.filename!==i.filename||s.lineno!==i.lineno||s.colno!==i.colno||s.function!==i.function)return!1}return!0}function dn(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join("")===r.join("")}catch{return!1}}function It(e){var t,n;return(n=(t=e.exception)==null?void 0:t.values)==null?void 0:n[0]}const Zo="ConversationId",es=()=>({name:Zo,setup(e){e.on("spanStart",t=>{const n=ue().getScopeData(),r=le().getScopeData(),o=n.conversationId||r.conversationId;if(o){const{op:s,data:i,description:c}=Kn(t);if(!(s!=null&&s.startsWith("gen_ai."))&&!i["ai.operationId"]&&!(c!=null&&c.startsWith("ai.")))return;t.setAttribute(Zn,o)}})}}),ts=es;function pn(e){if(e!==void 0)return e>=400&&e<500?"warning":e>=500?"error":void 0}const G=y;function ns(){return"history"in G&&!!G.history}function rs(){if(!("fetch"in G))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function Re(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function os(){var n;if(typeof EdgeRuntime=="string")return!0;if(!rs())return!1;if(Re(G.fetch))return!0;let e=!1;const t=G.document;if(t&&typeof t.createElement=="function")try{const r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),(n=r.contentWindow)!=null&&n.fetch&&(e=Re(r.contentWindow.fetch)),t.head.removeChild(r)}catch(r){h&&m.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return e}function ss(e,t){const n="fetch",r=L(n,e);return C(n,()=>is(void 0,t)),r}function is(e,t=!1){t&&!os()||S(y,"fetch",function(n){return function(...r){const o=new Error,{method:s,url:i}=as(r),c={args:r,fetchData:{method:s,url:i},startTimestamp:A()*1e3,virtualError:o,headers:cs(r)};return I("fetch",{...c}),n.apply(y,r).then(async a=>(I("fetch",{...c,endTimestamp:A()*1e3,response:a}),a),a=>{I("fetch",{...c,endTimestamp:A()*1e3,error:a}),D(a)&&a.stack===void 0&&(a.stack=o.stack,z(a,"framesToPop",1));const u=w(),l=(u==null?void 0:u.getOptions().enhanceFetchErrorMessages)??"always";if(l!==!1&&D(a)&&a.name==="TypeError"&&(a.message==="Failed to fetch"||a.message==="Load failed"||a.message==="NetworkError when attempting to fetch resource."))try{const p=new URL(c.fetchData.url).host;l==="always"?a.message=`${a.message} (${p})`:z(a,"__sentry_fetch_url_host__",p)}catch{}throw a})}})}function se(e,t){return Ce(e)&&!!e[t]}function Tt(e){return typeof e=="string"?e:e?se(e,"url")?e.url:e.toString?e.toString():"":""}function as(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:Tt(n),method:se(r,"method")?String(r.method).toUpperCase():Wt(n)&&se(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:Tt(t),method:se(t,"method")?String(t.method).toUpperCase():"GET"}}function cs(e){const[t,n]=e;try{if(typeof n=="object"&&n!==null&&"headers"in n&&n.headers)return new Headers(n.headers);if(Wt(t))return new Headers(t.headers)}catch{}}const mn=y;function He(){try{return mn.document.location.href}catch{return""}}function us(e,t=5){if(!mn.HTMLElement)return null;let n=e;for(let r=0;r<t;r++){if(!n)return null;if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null}const _=y;let De=0;function hn(){return De>0}function ls(){De++,setTimeout(()=>{De--})}function B(e,t={}){function n(o){return typeof o=="function"}if(!n(e))return e;try{if(Object.prototype.hasOwnProperty.call(e,"__sentry_wrapped__")){const s=e.__sentry_wrapped__;return typeof s=="function"?s:e}if(Ae(e))return e}catch{return e}const r=function(...o){y._sentryWrappedDepth=(y._sentryWrappedDepth||0)+1;try{const s=o.map(i=>B(i,t));return e.apply(this,s)}catch(s){throw ls(),tr(i=>{i.addEventProcessor(c=>(t.mechanism&&(be(c,void 0),F(c,t.mechanism)),c.extra={...c.extra,arguments:o},c)),nr(s)}),s}finally{y._sentryWrappedDepth=(y._sentryWrappedDepth||0)-1}};try{for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o])}catch{}er(r,e),z(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function Rt(){const e=He(),{referrer:t}=_.document||{},{userAgent:n}=_.navigator||{},r={...t&&{Referer:t},...n&&{"User-Agent":n}};return{url:e,headers:r}}function Ue(e,t){const n=de(e,t),r={type:hs(t),value:gs(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function fs(e,t,n,r){const o=w(),s=o==null?void 0:o.getOptions().normalizeDepth,i=bs(t),
18c={__serialized__:or(t,s)};if(i)return{exception:{values:[Ue(e,i)]},extra:c};const a={exception:{values:[{type:Fe(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:Es(t,{isUnhandledRejection:r})}]},extra:c};if(n){const u=de(e,n);u.length&&(a.exception.values[0].stacktrace={frames:u})}return a}function ve(e,t){return{exception:{values:[Ue(e,t)]}}}function de(e,t){const n=t.stacktrace||t.stack||"",r=ps(t),o=ms(t);try{return e(n,r,o)}catch{}return[]}const ds=/Minified React error #\d+;/i;function ps(e){return e&&ds.test(e.message)?1:0}function ms(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function gn(e){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?e instanceof WebAssembly.Exception:!1}function hs(e){const t=e==null?void 0:e.name;return!t&&gn(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:"WebAssembly.Exception":t}function gs(e){const t=e==null?void 0:e.message;return gn(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:"wasm exception":t?t.error&&typeof t.error.message=="string"?bt(t.error):bt(e):"No error message"}function _s(e,t,n,r){const o=(n==null?void 0:n.syntheticException)||void 0,s=je(e,t,o,r);return F(s),s.level="error",n!=null&&n.event_id&&(s.event_id=n.event_id),Le(s)}function ys(e,t,n="info",r,o){const s=(r==null?void 0:r.syntheticException)||void 0,i=Oe(e,t,s,o);return i.level=n,r!=null&&r.event_id&&(i.event_id=r.event_id),Le(i)}function je(e,t,n,r,o){var i,c;let s;if(zt(t)&&t.error)return ve(e,t.error);if(Ke(t)||rr(t)){const a=t;if("stack"in t){s=ve(e,t);const u=(c=(i=s.exception)==null?void 0:i.values)==null?void 0:c[0];if(r&&n&&u&&!u.stacktrace){const l=de(e,n);l.length&&(u.stacktrace={frames:l},F(s,{synthetic:!0}))}}else{const u=a.name||(Ke(a)?"DOMError":"DOMException"),l=a.message?`${u}: ${a.message}`:u;s=Oe(e,l,n,r),be(s,l)}return"code"in a&&(s.tags={...s.tags,"DOMException.code":`${a.code}`}),s}return D(t)?ve(e,t):ae(t)||Fe(t)?(s=fs(e,t,n,o),F(s,{synthetic:!0}),s):(s=Oe(e,t,n,r),be(s,`${t}`),F(s,{synthetic:!0}),s)}function Oe(e,t,n,r){const o={};if(r&&n){const s=de(e,n);s.length&&(o.exception={values:[{value:t,stacktrace:{frames:s}}]}),F(o,{synthetic:!0})}if(qt(t)){const{__sentry_template_string__:s,__sentry_template_values__:i}=t;return o.logentry={message:s,params:i},o}return o.message=t,o}function Es(e,{isUnhandledRejection:t}){const n=sr(e),r=t?"promise rejection":"exception";return zt(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:Fe(e)?`Event \`${vs(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function vs(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function bs(e){return Object.values(e).find(D)}class Ss extends yo{constructor(t){var i;const n=ws(t),r=_.SENTRY_SDK_SOURCE||zr();un(n,"browser",["browser"],r),super(n);const{userInfo:o}=this.getDataCollectionOptions();(i=n._metadata)!=null&&i.sdk&&(n._metadata.sdk.settings={infer_ip:o?"auto":"never",...n._metadata.sdk.settings});const{sendClientReports:s}=this._options;_.document&&_.document.addEventListener("visibilitychange",()=>{_.document.visibilityState==="hidden"&&(s&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}),o&&this.on("beforeSendSession",Ro)}eventFromException(t,n){return _s(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return ys(this._options.stackParser,t,n,r,this._options.attachStacktrace)}_prepareEvent(t,n,r,o){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r,o)}}function ws(e){var t;return{release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:(t=_.SENTRY_RELEASE)==null?void 0:t.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}const Is=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,E=y;function Dt(e,t,n){E.document&&E.addEventListener(e,t,n)}function Ot(e,t,n){E.document&&E.removeEventListener(e,t,n)}const Ts=e=>{let t=!1;return()=>{t||(e(),t=!0)}},Rs=e=>{var n;const t=E.requestIdleCallback||E.setTimeout;((n=E.document)==null?void 0:n.visibilityState)==="hidden"?e():(e=Ts(e),Dt("visibilitychange",e,{once:!0,capture:!0}),Dt("pagehide",e,{once:!0,capture:!0}),t(()=>{e(),Ot("visibilitychange",e,{capture:!0}),Ot("pagehide",e,{capture:!0})}
18))},Ds=80,O={};try{typeof Node<"u"&&(O.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode").get),typeof Element<"u"&&(O.tagName=Object.getOwnPropertyDescriptor(Element.prototype,"tagName").get,O.id=Object.getOwnPropertyDescriptor(Element.prototype,"id").get,O.className=Object.getOwnPropertyDescriptor(Element.prototype,"className").get,O.getAttribute=Element.prototype.getAttribute),typeof HTMLElement<"u"&&(O.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get)}catch{}function R(e,t,n){const r=O[t];if(r)try{return r.call(e,n)}catch{}const o=e[t];return typeof o=="function"?o.call(e,n):o}function _n(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,o=[];let s=0,i=0;const c=" > ",a=c.length;let u;const l=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||Ds;for(;n&&s++<r&&(u=Os(n,l),!(u==="html"||s>1&&i+o.length*a+u.length>=d));)o.push(u),i+=u.length,n=R(n,"parentNode");return o.reverse().join(c)}catch{return"<unknown>"}}function Os(e,t){const n=[],r=R(e,"tagName");if(!r)return"";if(typeof HTMLElement<"u"&&e instanceof HTMLElement){const s=R(e,"dataset");if(s){if(s.sentryComponent)return s.sentryComponent;if(s.sentryElement)return s.sentryElement}}n.push(r.toLowerCase());const o=t!=null&&t.length?t.filter(s=>R(e,"getAttribute",s)).map(s=>[s,R(e,"getAttribute",s)]):null;if(o!=null&&o.length)o.forEach(s=>{n.push(`[${s[0]}="${s[1]}"]`)});else{const s=R(e,"id");s&&n.push(`#${s}`);const i=R(e,"className");if(i&&P(i)){const c=i.split(/\s+/);for(const a of c)n.push(`.${a}`)}}for(const s of["aria-label","type","name","title","alt"]){const i=R(e,"getAttribute",s);i&&n.push(`[${s}="${i}"]`)}return n.join("")}const ks=1e3;let kt,ke,Ne;function Ns(e){const t="dom";L(t,e),C(t,xs)}function xs(){if(!E.document)return;const e=I.bind(null,"dom"),t=Nt(e,!0);E.document.addEventListener("click",t,!1),E.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{var s,i;const o=(s=E[n])==null?void 0:s.prototype;(i=o==null?void 0:o.hasOwnProperty)!=null&&i.call(o,"addEventListener")&&(S(o,"addEventListener",function(c){return function(a,u,l){if(a==="click"||a=="keypress")try{const d=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},g=d[a]=d[a]||{refCount:0};if(!g.handler){const p=Nt(e);g.handler=p,c.call(this,a,p,l)}g.refCount++}catch{}return c.call(this,a,u,l)}}),S(o,"removeEventListener",function(c){return function(a,u,l){if(a==="click"||a=="keypress")try{const d=this.__sentry_instrumentation_handlers__||{},g=d[a];g&&(g.refCount--,g.refCount<=0&&(c.call(this,a,g.handler,l),g.handler=void 0,delete d[a]),Object.keys(d).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return c.call(this,a,u,l)}}))})}function Ls(e){if(e.type!==ke)return!1;try{if(!e.target||e.target._sentryId!==Ne)return!1}catch{}return!0}function Cs(e,t){return e!=="keypress"?!1:t!=null&&t.tagName?!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable):!0}function Nt(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=Ms(n);if(Cs(n.type,r))return;z(n,"_sentryCaptured",!0),r&&!r._sentryId&&z(r,"_sentryId",re());const o=n.type==="keypress"?"input":n.type;Ls(n)||(e({event:n,name:o,global:t}),ke=n.type,Ne=r?r._sentryId:void 0),clearTimeout(kt),kt=E.setTimeout(()=>{Ne=void 0,ke=void 0},ks)}}function Ms(e){try{return e.target}catch{return null}}let Z;function yn(e){const t="history";L(t,e),C(t,As)}function As(){if(E.addEventListener("popstate",()=>{const t=E.location.href,n=Z;if(Z=t,n===t)return;I("history",{from:n,to:t})}),!ns())return;function e(t){return function(...n){const r=n.length>2?n[2]:void 0;if(r){const o=Z,s=Fs(String(r));if(Z=s,o===s)return t.apply(this,n);I("history",{from:o,to:s})}return t.apply(this,n)}}S(E.history,"pushState",e),S(E.history,"replaceState",e)}function Fs(e){try{return new URL(e,E.location.origin).toString()}catch{return e}}const ie={};function Ps(e){const t=ie[e];if(t)return t;let n=E[e];if(Re(n))return ie[e]=n.bind(E);const r=E.document;if(r&&typeof r.createElement=="function")try{const o=r.createElement("iframe");o.hidden=!0,r.head.appendChild(o);const s=o.contentWindow;s!=null&&s[e]&&(n=s[e]),r.head.removeChild(o)}catch(o){Is&&m.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,o)}return n&&(ie[e]=n.bind(E))}function $s(e){ie[e]=void 0}const W="__sentry_xhr_v3__";function Bs(e){const t="xhr";L(t,e),C(t,Hs)}function Hs(){if(!E.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,n,r){const o=new Error,s=A()*1e3,i=P(r[0])?r[0].toUpperCase():void 0,c=Us(r[1]);if(!i||!c)return t.apply(n,r);
18n[W]={method:i,url:c,request_headers:{}},i==="POST"&&c.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const a=()=>{const u=n[W];if(u&&n.readyState===4){try{u.status_code=n.status}catch{}const l={endTimestamp:A()*1e3,startTimestamp:s,xhr:n,virtualError:o};I("xhr",l),n.removeEventListener("readystatechange",a)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(u,l,d){return a(),u.apply(l,d)}}):n.addEventListener("readystatechange",a),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(u,l,d){const[g,p]=d,T=l[W];return T&&P(g)&&P(p)&&(T.request_headers[g.toLowerCase()]=p),u.apply(l,d)}}),t.apply(n,r)}}),e.send=new Proxy(e.send,{apply(t,n,r){const o=n[W];if(!o)return t.apply(n,r);r[0]!==void 0&&(o.body=r[0]);const s={startTimestamp:A()*1e3,xhr:n};return I("xhr",s),t.apply(n,r)}})}function Us(e){if(P(e))return e;try{return e.toString()}catch{}}function js(e){if(typeof Element>"u")return!1;try{return e instanceof Element}catch{return!1}}const qs=40;function Ws(e,t=Ps("fetch")){let n=0,r=0;async function o(s){const i=s.body.length;n+=i,r++;const c={body:s.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{const a=await t(e.url,c);return{statusCode:a.status,headers:{"x-sentry-rate-limits":a.headers.get("X-Sentry-Rate-Limits"),"retry-after":a.headers.get("Retry-After")}}}catch(a){throw $s("fetch"),a}finally{n-=i,r--}}return uo(e,o,Be(e.bufferSize||qs))}const pe=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,zs=30,Gs=50;function xe(e,t,n,r){const o={filename:e,function:t==="<anonymous>"?$:t,in_app:!0};return n!==void 0&&(o.lineno=n),r!==void 0&&(o.colno=r),o}const Vs=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Ys=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Xs=/\((\S*)(?::(\d+))(?::(\d+))\)/,Qs=/at (.+?) ?\(data:(.+?),/,Js=e=>{var o;const t=e.match(Qs);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};const n=Vs.exec(e);if(n){const[,s,i,c]=n;return xe(s,$,+i,+c)}const r=Ys.exec(e);if(r){if(((o=r[2])==null?void 0:o.indexOf("eval"))===0){const a=Xs.exec(r[2]);a&&(r[2]=a[1],r[3]=a[2],r[4]=a[3])}const[i,c]=En(r[1]||$,r[2]);return xe(c,i,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}},Ks=[zs,Js],Zs=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,ei=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,ti=e=>{const t=Zs.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const s=ei.exec(t[3]);s&&(t[1]=t[1]||"eval",t[3]=s[1],t[4]=s[2],t[5]="")}let r=t[3],o=t[1]||$;return[o,r]=En(o,r),xe(r,o,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},ni=[Gs,ti],ri=[Ks,ni],oi=ir(...ri),En=(e,t)=>{const n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:$,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},ee=1024,si="Breadcrumbs",ii=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:si,setup(n){t.console&&Wo(li(n)),t.dom&&Ns(ui(n,t.dom)),t.xhr&&Bs(fi(n)),t.fetch&&ss(di(n)),t.history&&yn(pi(n)),t.sentry&&n.on("beforeSendEvent",ci(n))}}},ai=ii;function ci(e){return function(n){w()===e&&x({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:k(n)},{event:n})}}function ui(e,t){return function(r){if(w()!==e)return;let o,s,i=typeof t=="object"?t.serializeAttribute:void 0,c=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;c&&c>ee&&(pe&&m.warn(`\`dom.maxStringLength\` cannot exceed ${ee}, but a value of ${c} was configured. Sentry will use ${ee} instead.`),c=ee),typeof i=="string"&&(i=[i]);try{const u=r.event,l=mi(u)?u.target:u;o=_n(l,{keyAttrs:i,maxStringLength:c}),s=us(l)}catch{o="<unknown>"}if(o.length===0)return;const a={category:`ui.${r.name}`,message:o};s&&(a.data={"ui.component_name":s}),x(a,{event:r.event,name:r.name,global:r.global})}}function li(e){return function(n){if(w()!==e)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:Go(n.level),message:Ze(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${Ze(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;x(r,{input:n.args,level:n.level})}}function fi(e){return function(n){if(w()!==e)return;const{startTimestamp:r,endTimestamp:o}=n,s=n.xhr[W];if(!r||!o||!s)return;const{method:i,url:c,status_code:a,body:u}=s,l={method:i,url:c,status_code:a},d={xhr:n.xhr,input:u,startTimestamp:r,endTimestamp:o},g={category:"xhr",data:l,type:"http",level:pn(a)};e.emit("beforeOutgoingRequestBreadcrumb",g,d),x(g,d)}}function di(e){return function(n){if(w()!==e)return;const{startTimestamp:r,endTimestamp:o}=n;
18if(o&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.error){const s={data:n.error,input:n.args,startTimestamp:r,endTimestamp:o},i={category:"fetch",data:n.fetchData,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",i,s),x(i,s)}else{const s=n.response,i={...n.fetchData,status_code:s==null?void 0:s.status},c={input:n.args,response:s,startTimestamp:r,endTimestamp:o},a={category:"fetch",data:i,type:"http",level:pn(i.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",a,c),x(a,c)}}}function pi(e){return function(n){if(w()!==e)return;let r=n.from,o=n.to;const s=Ee(_.location.href);let i=r?Ee(r):void 0;const c=Ee(o);i!=null&&i.path||(i=s),s.protocol===c.protocol&&s.host===c.host&&(o=c.relative),s.protocol===i.protocol&&s.host===i.host&&(r=i.relative),x({category:"navigation",data:{from:r,to:o}})}}function mi(e){return!!e&&!!e.target}const hi="EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(","),gi="BrowserApiErrors",_i=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:gi,setupOnce(){t.setTimeout&&S(_,"setTimeout",xt),t.setInterval&&S(_,"setInterval",xt),t.requestAnimationFrame&&S(_,"requestAnimationFrame",Ei),t.XMLHttpRequest&&"XMLHttpRequest"in _&&S(XMLHttpRequest.prototype,"send",vi);const n=t.eventTarget;n&&(Array.isArray(n)?n:hi).forEach(o=>bi(o,t))}}},yi=_i;function xt(e){return function(...t){const n=t[0];return t[0]=B(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${N(e)}`}}),e.apply(this,t)}}function Ei(e){return function(t){return e.apply(this,[B(t,{mechanism:{data:{handler:N(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function vi(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(o=>{o in n&&typeof n[o]=="function"&&S(n,o,function(s){const i={mechanism:{data:{handler:N(s)},handled:!1,type:`auto.browser.browserapierrors.xhr.${o}`}},c=Ae(s);return c&&(i.mechanism.data.handler=N(c)),B(s,i)})}),e.apply(this,t)}}function bi(e,t){var o,s;const r=(o=_[e])==null?void 0:o.prototype;(s=r==null?void 0:r.hasOwnProperty)!=null&&s.call(r,"addEventListener")&&(S(r,"addEventListener",function(i){return function(c,a,u){try{Si(a)&&(a.handleEvent=B(a.handleEvent,{mechanism:{data:{handler:N(a),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&wi(this,c,a),i.apply(this,[c,B(a,{mechanism:{data:{handler:N(a),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),u])}}),S(r,"removeEventListener",function(i){return function(c,a,u){try{if(Object.prototype.hasOwnProperty.call(a,"__sentry_wrapped__")){const l=a.__sentry_wrapped__;l&&i.call(this,c,l,u)}}catch{}return i.call(this,c,a,u)}}))}function Si(e){return typeof e.handleEvent=="function"}function wi(e,t,n){e&&typeof e=="object"&&"removeEventListener"in e&&typeof e.removeEventListener=="function"&&e.removeEventListener(t,n)}const Ii=(e={})=>{const t=e.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(typeof _.document>"u"){pe&&m.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}et({ignoreDuration:!0});let n=!1;Rs(()=>{n||(he(),n=!0)});const r=le();let o=r.getUser();r.addScopeListener(s=>{const i=s.getUser();((o==null?void 0:o.id)!==(i==null?void 0:i.id)||(o==null?void 0:o.ip_address)!==(i==null?void 0:i.ip_address))&&(o=i,n&&he())}),t==="route"&&yn(({from:s,to:i})=>{s!==i&&(et({ignoreDuration:!0}),he(),n=!0)})}}},Ti="CultureContext",Ri=()=>({name:Ti,preprocessEvent(e){var n;const t=Lt();t&&(e.contexts={...e.contexts,culture:{...t,...(n=e.contexts)==null?void 0:n.culture}})},processSegmentSpan(e){const t=Lt();t&&Jt(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}}),Di=Ri;function Lt(){try{const e=_.Intl;if(!e)return;const t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}const Oi="GlobalHandlers",ki=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:Oi,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(xi(n),Ct("onerror")),t.onunhandledrejection&&(Li(n),Ct("onunhandledrejection"))}}},Ni=ki;function xi(e){gr(t=>{const{stackParser:n,attachStacktrace:r}=vn();if(w()!==e||hn())return;const{msg:o,url:s,line:i,column:c,error:a}=t,u=Ai(je(n,a||o,void 0,r,!1),s,i,c);u.level="error",Gt(u,{originalException:a,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function Li(e){yr(t=>{const{stackParser:n,attachStacktrace:r}=vn();if(w()!==e||hn())return;const o=Ci(t),s=fe(o)?Mi(o):je(n,o,void 0,r,!0);s.level="error",Gt(s,{originalException:o,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function Ci(e){if(fe(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}function Mi(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function Ai(e,t,n,r){const o=e.exception=e.exception||{},s=o.values=o.values||[],i=s[0]=s[0]||{},c=i.stacktrace=i.stacktrace||{},a=c.frames=c.frames||[];return a.length===0&&a.push({colno:r,lineno:n,filename:Fi(t)??He(),function:$,in_a
18pp:!0}),e}function Ct(e){pe&&m.log(`Global Handler attached: ${e}`)}function vn(){const e=w();return(e==null?void 0:e.getOptions())||{stackParser:()=>[],attachStacktrace:!1}}function Fi(e){if(!(!P(e)||e.length===0))return e.startsWith("data:")?`<${To(e,!1)}>`:e}const Pi=()=>({name:"HttpContext",preprocessEvent(e){var r;if(!_.navigator&&!_.location&&!_.document)return;const t=Rt(),n={...t.headers,...(r=e.request)==null?void 0:r.headers};e.request={...t,...e.request,headers:n}},processSegmentSpan(e){var r;const t=(r=e.attributes)==null?void 0:r[ar];if(!_.navigator&&!_.location&&!_.document)return;const n=Rt();Jt(e,{[Ar]:t!=="http.client"?n.url:void 0,"http.request.header.user_agent":n.headers["User-Agent"],"http.request.header.referer":n.headers.Referer})}}),$i="cause",Bi=5,Hi="LinkedErrors",Ui=(e={})=>{const t=e.limit||Bi,n=e.key||$i;return{name:Hi,preprocessEvent(r,o,s){const i=s.getOptions();jo(Ue,i.stackParser,n,t,r,o)}}},ji=Ui,qi=/^HTML(\w*)Element$/;function bn(e){if(typeof window<"u"&&e===window)return"[Window]";if(typeof document<"u"&&e===document)return"[Document]";if(js(e)){const t=Wi(e);if(qi.test(t))return`[HTMLElement: ${_n(e)}]`}}function Wi(e){const t=Object.getPrototypeOf(e);return t!=null&&t.constructor?t.constructor.name:"null prototype"}function zi(){return Gi()?(pe&&Me(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0):!1}function Gi(){var o;if(typeof _.window>"u")return!1;const e=_;if(e.nw)return!1;const t=e.chrome||e.browser;if(!((o=t==null?void 0:t.runtime)!=null&&o.id))return!1;const n=He();return!(_===_.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(n))}function Vi(e){return[Mo(),No(),ts(),yi(),ai(),Ni(),ji(),Xo(),Pi(),Di(),Ii()]}function Yi(e={}){const t=!e.skipBrowserExtensionCheck&&zi();let n=e.defaultIntegrations==null?Vi():e.defaultIntegrations;const r={...e,enabled:t?!1:e.enabled,stackParser:cr(e.stackParser||oi),integrations:jr({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||Ws};return Vt(bn),wo(Ss,r)}function Xi(e){return ae(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function Qi(e){const t={...e};un(t,"react"),ur("react",{version:v.version});const n=Yi(t);return Vt(Ji),n}function Ji(e){return Xi(e)?"[SyntheticEvent]":bn(e)}function te(e){const t=e==null?void 0:e.trim().toLowerCase();return t||null}function qe(e,t="local"){return te(e.STAGE)??te(e.VITE_STAGE)??te(e.NODE_ENV)??te(e.MODE)??t}function Mt(e){return qe(e)==="production"}function At(e){return e.DEBUG==="true"||e.VITE_DEBUG==="true"}function Ki(e){const t=qe(e);return t==="production"||t==="staging"}const M={MODE:"production",VITE_DEBUG:"undefined",VITE_STAGE:"production"},Zi=["aborterror","aborted","networkerror","load failed","failed to fetch","fetch failed","the operation was aborted","body stream buffer was aborted","resizeobserver","401","unauthorized","404","not found","no route matches url","script error.","non-error promise rejection captured"];let Ft=!1;const ea="https://f44fe3b6a1b1f74864f70b2f33bdb338@o4511130178355200.ingest.us.sentry.io/4511186210258944";function ta(e,t){var r,o;const n=[e.message,...((o=(r=e.exception)==null?void 0:r.values)==null?void 0:o.flatMap(s=>[s.type,s.value]))??[]];return t instanceof Error?n.push(t.name,t.message):typeof t=="string"&&n.push(t),n.filter(s=>typeof s=="string").map(s=>s.trim().toLowerCase()).filter(Boolean)}function na(e,t){return ta(e,t).some(r=>Zi.some(o=>r.includes(o)))}function ra(){if(Ft||!Ki(M)&&!At(M))return;const e="https://f44fe3b6a1b1f74864f70b2f33bdb338@o4511130178355200.ingest.us.sentry.io/4511186210258944".trim()||void 0||ea,t=qe(M);Qi({dsn:e,sendDefaultPii:!0,environment:t,tracesSampleRate:Mt(M)?.05:1,tracePropagationTargets:[/^\//,/^https:\/\/[^/]*\.oi\.com/],release:"6188f34cf60046577b4ec88e3c01321ef696c261",beforeSend(n,r){const o=r==null?void 0:r.originalException;return na(n,o)?null:n},debug:At(M),maxBreadcrumbs:Mt(M)?50:100,attachStacktrace:!0,initialScope:{tags:{component:"website",environment:t}}}),Ft=!0}ra();v.startTransition(()=>{Yt(document,ze.jsx(v.StrictMode,{children:ze.jsx(hr,{})}))});

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.