@vellumai/web 0.11.4-dev.202608201611.db9392e → 0.11.4-dev.202608201710.fcf0423

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/assets/{acp-run-detail-panel-CUQU7NjK.js → acp-run-detail-panel-E2RexPAB.js} +1 -1
  2. package/dist/assets/{activity-steps-panel-BTcWQoQ-.js → activity-steps-panel-DXHTXX-f.js} +1 -1
  3. package/dist/assets/{app-card-DfdamUtX.js → app-card-DdvE9pHV.js} +1 -1
  4. package/dist/assets/{background-task-detail-panel-Bd1Tk3IL.js → background-task-detail-panel-CZEwLsW3.js} +1 -1
  5. package/dist/assets/{billing-page-zbU_zmrm.js → billing-page-CA_119dU.js} +1 -1
  6. package/dist/assets/{bookmarks-page-CcQNyZdO.js → bookmarks-page-C1UOHxsB.js} +1 -1
  7. package/dist/assets/{channels-page-route-Dk6C7UXE.js → channels-page-route-CLl_4GEp.js} +1 -1
  8. package/dist/assets/{chat-markdown-message-BC-UF8DZ.js → chat-markdown-message-BqsUmDKK.js} +1 -1
  9. package/dist/assets/{contacts-page-route-CfJPywfA.js → contacts-page-route-CoUEzTbJ.js} +1 -1
  10. package/dist/assets/{conversation-navigation-CmWIQkd1.js → conversation-navigation-NBlywOWx.js} +1 -1
  11. package/dist/assets/{debug-page-doiJO9si.js → debug-page-BntTlq9l.js} +1 -1
  12. package/dist/assets/{document-viewer-page-GtM69Wnz.js → document-viewer-page-CoRcOUo9.js} +1 -1
  13. package/dist/assets/{home-page-route-BHuMiBYL.js → home-page-route-D5Ggz3fY.js} +1 -1
  14. package/dist/assets/{index-l77_Jh7j.js → index-feWF8TOL.js} +1 -1
  15. package/dist/assets/{inspect-page-CsTxUDXL.js → inspect-page-C7bfQrlL.js} +1 -1
  16. package/dist/assets/{integrations-page-pr8clDU9.js → integrations-page-BytEItSq.js} +1 -1
  17. package/dist/assets/{library-detail-page-BKf3X-7-.js → library-detail-page-Bl9-HcUE.js} +1 -1
  18. package/dist/assets/{library-page-M_qt3jGu.js → library-page-DE_Ggs-z.js} +1 -1
  19. package/dist/assets/{logs-layout-BtnaSbVT.js → logs-layout-CLRGuw69.js} +1 -1
  20. package/dist/assets/{memory-page-route-DZGpmRK-.js → memory-page-route-BP7ZBeli.js} +1 -1
  21. package/dist/assets/{message-files-panel-VOy57YyP.js → message-files-panel-CuAKW4Vo.js} +1 -1
  22. package/dist/assets/{messages-BQum2VHA.js → messages-B_2WP5oY.js} +1 -1
  23. package/dist/assets/{open-workspace-file-CkAkrrW2.js → open-workspace-file-CWQnZJd1.js} +2 -2
  24. package/dist/assets/{routes-D24Ara4a.js → routes-B0vq_HZ6.js} +15 -15
  25. package/dist/assets/{schedules-page-Bz85UzMe.js → schedules-page-BgUImsEK.js} +1 -1
  26. package/dist/assets/{select-assistant-screen-BAS1nCAA.js → select-assistant-screen-CDjIq_i7.js} +1 -1
  27. package/dist/assets/{settings-layout-ByUQtD_a.js → settings-layout-CKljq_QL.js} +1 -1
  28. package/dist/assets/{sidebar-tree-C2abC5qW.js → sidebar-tree-8sz2LxWb.js} +1 -1
  29. package/dist/assets/{skill-detail-page-BnA3Y9HB.js → skill-detail-page-C91-M36T.js} +1 -1
  30. package/dist/assets/{subagent-detail-panel-BY7NGrNV.js → subagent-detail-panel-D6q3XUof.js} +1 -1
  31. package/dist/assets/{tool-detail-panel-BcIGIX3-.js → tool-detail-panel-DUHXkpz_.js} +1 -1
  32. package/dist/assets/{transcript-message-body-shared-DrK4B3Ph.js → transcript-message-body-shared-DS8JbCqr.js} +1 -1
  33. package/dist/assets/{use-edge-swipe-back-qAnPjuSy.js → use-edge-swipe-back-B_XK7-uB.js} +2 -2
  34. package/dist/assets/{use-edit-app-DnDI2D97.js → use-edit-app-BYWqI2wl.js} +1 -1
  35. package/dist/assets/{use-transcript-message-by-id-DBNERn9w.js → use-transcript-message-by-id-L8Jru_cK.js} +1 -1
  36. package/dist/assets/{use-transcript-messages-BGSaN-TP.js → use-transcript-messages-Bacn5zVC.js} +1 -1
  37. package/dist/assets/viewer-store-CtlZXr5r.js +1 -0
  38. package/dist/index.html +11 -11
  39. package/package.json +1 -1
  40. package/dist/assets/viewer-store-D2m1Yxpg.js +0 -1
@@ -1,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/build.umd-aDjU2tGv.js","assets/chunk-jRWAZmH_.js","assets/esm-Dpuw-Nu3.js","assets/preload-helper-Cv2QeVDK.js","assets/dist-BvgLnwN-.js"])))=>i.map(i=>d[i]);
2
- import{o as e,t}from"./chunk-jRWAZmH_.js";import{i as n,r,s as i}from"./device-settings-DZvv4pnY.js";import{$ as a,A as o,At as s,B as c,C as l,Ct as u,D as d,Dt as f,E as p,Et as m,F as h,Ft as g,G as _,H as v,I as y,It as b,J as x,K as ee,L as te,M as ne,Mt as re,N as ie,Nt as ae,O as oe,Ot as se,P as ce,Pt as le,Q as ue,R as S,S as C,St as de,T as fe,Tt as pe,U as me,V as he,X as w,Y as ge,Z as _e,_ as ve,_t as ye,a as be,at as xe,b as Se,bt as Ce,d as we,dt as Te,et as Ee,f as De,ft as Oe,g as ke,gt as Ae,h as je,ht as Me,i as Ne,it as Pe,j as Fe,jt as Ie,k as Le,kt as Re,l as ze,lt as Be,mt as Ve,nt as He,ot as Ue,p as We,pt as Ge,q as Ke,rt as qe,s as Je,st as Ye,t as Xe,tt as Ze,u as Qe,ut as $e,v as et,vt as tt,w as nt,wt as rt,x as it,xt as at,y as ot,yt as st,z as ct}from"./capture-error-u47kRfIQ.js";import{a as lt,c as ut,d as dt,l as ft,o as pt,r as mt,s as T,u as ht}from"./document-viewer-container-DRzniNxu.js";import{o as E}from"./doctor-handoff-store-De0xJuOF.js";import{t as gt}from"./react-BFJW0bSv.js";import{W as _t,r as vt}from"./button-VkxVX0DM.js";import{t as yt}from"./preload-helper-Cv2QeVDK.js";import{i as bt}from"./chunk-5KNZJZUH-BUqIilZr.js";import{A as xt,C as St,D as Ct,N as wt,S as Tt,_ as Et,b as Dt,c as Ot,g as kt,h as At,s as jt,t as Mt,u as Nt,x as Pt}from"./QueryClientProvider-EuRl-wrW.js";import{f as Ft}from"./useQuery-CTSuec5b.js";import{n as It}from"./useInfiniteQuery-C5Kg1-qX.js";import{n as Lt}from"./useMutation-D2YPyfEH.js";import{t as Rt}from"./jsx-runtime-BJ8jcmzB.js";import{a as zt,c as Bt,i as Vt,l as Ht,o as Ut,r as Wt,s as Gt,t as Kt,u as qt}from"./routes-D24Ara4a.js";import{T as Jt}from"./composer-settings-oXsQEnPx.js";import{n as Yt}from"./src-Ch3HTlFm.js";import{t as Xt}from"./toast-ZCXyBjoj.js";import{C as Zt,Q as Qt,S as $t,T as en,ct as tn,nt as nn,ot as rn,p as an,st as on,v as sn,x as cn}from"./local-mode-DzIUFjhf.js";import{t as ln}from"./is-electron-C9-jl_HE.js";import{r as un}from"./resolved-assistants-store-D57qRwKv.js";import{n as dn}from"./i18n-DRUiM4wH.js";import{a as fn,t as pn}from"./api-errors-DpVX2w7j.js";import{$ as mn,C as hn,Y as gn,_ as _n,a as vn,at as yn,b as bn,c as xn,ct as Sn,et as Cn,gt as wn,ht as Tn,it as En,n as D,nt as Dn,ot as On,t as kn,tt as An}from"./auth-store-CajhmgnD.js";import{t as jn}from"./client.gen-D1UKq9QZ.js";import{$r as Mn}from"./sdk.gen-D0GK8o-1.js";import{l as Nn}from"./api-DBKPiIrQ.js";import{n as Pn}from"./event-bus-CN0zipw2.js";import{o as Fn}from"./remote-gateway-session-BY1Q3p4S.js";import{t as In}from"./client-feature-flag-store-C05-UP3s.js";import{A as Ln,M as Rn,R as zn,d as Bn,j as Vn,l as Hn}from"./native-biometric-Brvijc3Q.js";import{i as Un,t as Wn}from"./dist-BvgLnwN-.js";import{d as Gn}from"./routes-CZi85r7Q.js";import{c as Kn,n as qn,r as Jn,s as Yn}from"./platform-detection-CAPqStSE.js";import{t as Xn}from"./onboarding-store-Yrz8EhPQ.js";import{n as Zn}from"./theme-preferences-5a8Mcv7B.js";import{a as Qn}from"./settings-navigation-WoDnX01C.js";import{r as $n}from"./prefs-DwBeXgmG.js";import{r as er}from"./ingest-C9WbmmW2.js";import{t as tr}from"./client-perf-Bwg855AQ.js";import{o as nr}from"./diagnostics-DFrHpy5_.js";import{t as rr}from"./hard-navigate-DIn5NJxc.js";import{E as ir}from"./sdk.gen-CtvxLTrj.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();function ar(e,t,n){if(!(typeof window>`u`))try{localStorage.getItem(e)===t&&localStorage.setItem(e,n)}catch{}}function or(e){if(!(typeof window>`u`))try{localStorage.removeItem(e)}catch{}}function O(e,t){if(!(typeof window>`u`))try{let n=localStorage.getItem(e);if(n===null)return;localStorage.getItem(t)===null&&localStorage.setItem(t,n),localStorage.getItem(t)!==null&&localStorage.removeItem(e)}catch{}}function sr(e,t){if(!(typeof window>`u`))try{let n=[];for(let r=0;r<localStorage.length;r++){let i=localStorage.key(r);if(i&&i.startsWith(e)){let r=i.slice(e.length);n.push([i,t+r])}}for(let[e,t]of n)O(e,t)}catch{}}function cr(){if(!(typeof window>`u`))try{if(!(localStorage.getItem(`vellum:gw:tokenSource`)??localStorage.getItem(`gw:tokenSource`))?.includes(`/__gateway-paired/`))return;for(let e of[`vellum:gw:token`,`vellum:gw:expiresAt`,`vellum:gw:tokenSource`,`gw:token`,`gw:expiresAt`,`gw:tokenSource`])localStorage.removeItem(e)}catch{}}function lr(e){let t=[];for(let n=0;n<localStorage.length;n++){let r=localStorage.key(n);r&&r.startsWith(e)&&t.push(r)}for(let e of t)localStorage.removeItem(e)}function ur(){if(typeof window>`u`)return;let e=`vellum:selectedAssistantId`,t=`vellum:local:selectedAssistantId`,n=`vellum:currentAssistantId:`;try{if(localStorage.getItem(e)===null){let r=localStorage.getItem(t);if(r===null&&(r=dr(n)),r===null){let e=null;for(let t=0;t<localStorage.length;t++){let r=localStorage.key(t);r&&r.startsWith(n)&&(e===null||r<e)&&(e=r)}e!==null&&(r=localStorage.getItem(e))}r&&localStorage.setItem(e,r)}localStorage.removeItem(t),lr(n)}catch{}}function dr(e){let t=null;try{t=sessionStorage.getItem(`vellum_active_organization_id`)}catch{return null}return t?localStorage.getItem(`${e}${t}`):null}function fr(){if(!(typeof window>`u`)){O(`assistantSidebarCollapsed`,`vellum:sidebar:collapsed`),O(`assistantSidebarWidth`,`vellum:sidebar:width`),O(`voice:permissionPrimerSeen`,`vellum:voice:permissionPrimerSeen`),O(`voice:ttsProvider`,`vellum:voice:ttsProvider`),O(`voice:sttProvider`,`vellum:voice:sttProvider`),O(`voice:activationKey`,`vellum:voice:activationKey`),O(`integrations.bannerDismissed`,`vellum:integrations:bannerDismissed`),O(`onboarding.tosAccepted`,`vellum:onboarding:tosAccepted`),O(`onboarding.aiDataConsent`,`vellum:onboarding:aiDataConsent`),or(`onboarding.completed`),or(`vellum:onboarding:completed`),O(`onboarding.selectedVersion`,`vellum:onboarding:selectedVersion`),O(`vellum:skillsTabTipDismissed`,`vellum:skills:tipDismissed`),O(`vellum_image_gen_mode`,`vellum:ai:imageGenMode`),O(`vellum_image_gen_model`,`vellum:ai:imageGenModel`);try{if(localStorage.getItem(`vellum:ai:imageGenProvider`)===null){let e=localStorage.getItem(`vellum:ai:imageGenMode`);e===`managed`?localStorage.setItem(`vellum:ai:imageGenProvider`,`vellum`):e===`your-own`&&localStorage.setItem(`vellum:ai:imageGenProvider`,`gemini`)}}catch{}O(`vellum_web_search_mode`,`vellum:ai:webSearchMode`),O(`vellum_web_search_provider`,`vellum:ai:webSearchProvider`),O(`vellum_email_mode`,`vellum:ai:emailMode`),O(`vellum_email_byo_provider`,`vellum:ai:emailByoProvider`),O(`vellum_gemini_key`,`vellum:ai:geminiKey`),O(`vellum_perplexity_key`,`vellum:ai:perplexityKey`),O(`vellum_brave_key`,`vellum:ai:braveKey`),O(`vellum_tavily_key`,`vellum:ai:tavilyKey`),O(`vellumDebug.flags.impersonateAssistantVersion`,`vellum:debug:impersonateAssistantVersion`),O(`gw:token`,`vellum:gw:token`),O(`gw:expiresAt`,`vellum:gw:expiresAt`),O(`gw:tokenSource`,`vellum:gw:tokenSource`),cr(),O(`local:lockfile`,`vellum:local:lockfile`),O(`local:selectedAssistantId`,`vellum:local:selectedAssistantId`),sr(`voice:ttsApiKey:`,`vellum:voice:ttsApiKey:`),sr(`voice:ttsVoiceId:`,`vellum:voice:ttsVoiceId:`),sr(`voice:sttApiKey:`,`vellum:voice:sttApiKey:`),sr(`ff:client:`,`vellum:ff:`),sr(`disk-pressure-warning-dismissed-`,`vellum:diskPressureDismissed:`),sr(`vellum_current_assistant_id__`,`vellum:currentAssistantId:`),ur(),ar(`vellum:skills:tipDismissed`,`1`,`true`),or(`app.githubNudge.starred`),or(`app.githubNudge.bannerDismissed`),or(`app.githubNudge.bannerDismissedAt`),or(`app.discordNudge.joined`),or(`app.discordNudge.bannerDismissed`),or(`app.discordNudge.firstSeenAt`),or(`app.nudgeLegacy.cleaned`)}}n(),fr();var pr={},mr={};function hr(e,t){return pr[e]=pr[e]||[],pr[e].push(t),()=>{let n=pr[e];if(n){let e=n.indexOf(t);e!==-1&&n.splice(e,1)}}}function gr(e,t){if(!mr[e]){mr[e]=!0;try{t()}catch(t){b&&s.error(`Error while instrumenting ${e}`,t)}}}function _r(e,t){let n=e&&pr[e];if(n)for(let r of n)try{r(t)}catch(t){b&&s.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${m(r)}\nError:`,t)}}var vr=null;function yr(e){let t=`error`;hr(t,e),gr(t,br)}function br(){vr=g.onerror,g.onerror=function(e,t,n,r,i){return _r(`error`,{column:r,error:i,line:n,msg:e,url:t}),vr?vr.apply(this,arguments):!1},g.onerror.__SENTRY_INSTRUMENTED__=!0}var xr=null;function Sr(e){let t=`unhandledrejection`;hr(t,e),gr(t,Cr)}function Cr(){xr=g.onunhandledrejection,g.onunhandledrejection=function(e){return _r(`unhandledrejection`,e),xr?xr.apply(this,arguments):!0},g.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function wr(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let 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 Tr(e,t=!0){if(e.startsWith(`data:`)){let n=e.match(/^data:([^;,]+)/),r=n?n[1]:`text/plain`,i=e.includes(`;base64,`),a=e.indexOf(`,`),o=``;if(t&&a!==-1){let t=e.slice(a+1);o=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${r}${i?`,base64`:``}${o?`,${o}`:``}`}return e}function Er(e,t){let n=e.attributes??={};Object.entries(t).forEach(([e,t])=>{t!=null&&!(e in n)&&(n[e]=t)})}var Dr=[];function Or(e){let t={};return e.forEach(e=>{let{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}function kr(e){let t=e.defaultIntegrations||[],n=e.integrations;t.forEach(e=>{e.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n==`function`){let e=n(t);r=Array.isArray(e)?e:[e]}else r=t;return Or(r)}function Ar(e,t){let n={};return t.forEach(t=>{t?.beforeSetup&&t.beforeSetup(e)}),t.forEach(t=>{t&&Mr(e,t,n)}),n}function jr(e,t){for(let n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function Mr(e,t,n){if(n[t.name]){b&&s.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,!Dr.includes(t.name)&&typeof t.setupOnce==`function`&&(t.setupOnce(),Dr.push(t.name)),t.setup&&typeof t.setup==`function`&&t.setup(e),typeof t.preprocessEvent==`function`){let n=t.preprocessEvent.bind(t);e.on(`preprocessEvent`,(t,r)=>n(t,r,e))}if(typeof t.processEvent==`function`){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}[`processSpan`,`processSegmentSpan`].forEach(n=>{let r=t[n];typeof r==`function`&&e.on(n,n=>r.call(t,n,e))}),b&&s.log(`Integration installed: ${t.name}`)}function Nr(e){return e}function Pr(){return typeof __SENTRY_BROWSER_BUNDLE__<`u`&&!!__SENTRY_BROWSER_BUNDLE__}function Fr(){return`npm`}function Ir(){return!Pr()&&Object.prototype.toString.call(typeof process<`u`?process:0)===`[object process]`}function Lr(){return typeof window<`u`&&(!Ir()||Rr())}function Rr(){return g.process?.type===`renderer`}function zr(e,t){let n=t?`auto`:`never`;return[{type:`log`,item_count:e.length,content_type:`application/vnd.sentry.items.log+json`},{version:2,...Lr()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function Br(e,t,n,r,i){let a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(a.dsn=ce(r)),ot(a,[zr(e,i)])}function Vr(e,t){let n=t??Hr(e)??[];if(n.length===0)return;let r=e.getOptions(),i=Br(n,r._metadata,r.tunnel,e.getDsn(),r.sendDefaultPii);Ur().set(e,[]),e.emit(`flushLogs`),e.sendEnvelope(i)}function Hr(e){return Ur().get(e)}function Ur(){return re(`clientToLogBufferMap`,()=>new WeakMap)}function Wr(e,t){let n=t?`auto`:`never`;return[{type:`trace_metric`,item_count:e.length,content_type:`application/vnd.sentry.items.trace-metric+json`},{version:2,...Lr()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function Gr(e,t,n,r,i){let a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(a.dsn=ce(r)),ot(a,[Wr(e,i)])}function Kr(e,t){let n=t??qr(e)??[];if(n.length===0)return;let r=e.getOptions(),i=Gr(n,r._metadata,r.tunnel,e.getDsn(),r.sendDefaultPii);Jr().set(e,[]),e.emit(`flushMetrics`),e.sendEnvelope(i)}function qr(e){return Jr().get(e)}function Jr(){return re(`clientToMetricBufferMap`,()=>new WeakMap)}function Yr(e){return typeof e==`object`&&typeof e.unref==`function`&&e.unref(),e}var Xr=Symbol.for(`SentryBufferFullError`);function Zr(e=100){let t=new Set;function n(){return t.size<e}function r(e){t.delete(e)}function i(e){if(!n())return De(Xr);let i=e();return t.add(i),i.then(()=>r(i),()=>r(i)),i}function a(e){if(!t.size)return We(!0);let n=Promise.allSettled(Array.from(t)).then(()=>!0);if(!e)return n;let r=[n,new Promise(t=>Yr(setTimeout(()=>t(!1),e)))];return Promise.race(r)}return{get $(){return Array.from(t)},add:i,drain:a}}var Qr=60*1e3;function $r(e,t=He()){let n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;let r=Date.parse(`${e}`);return isNaN(r)?Qr:r-t}function ei(e,t){return e[t]||e.all||0}function ti(e,t,n=He()){return ei(e,t)>n}function ni(e,{statusCode:t,headers:n},r=He()){let i={...e},a=n?.[`x-sentry-rate-limits`],o=n?.[`retry-after`];if(a)for(let e of a.trim().split(`,`)){let[t,n,,,a]=e.split(`:`,5),o=parseInt(t,10),s=(isNaN(o)?60:o)*1e3;if(!n)i.all=r+s;else for(let e of n.split(`;`))e===`metric_bucket`?(!a||a.split(`;`).includes(`custom`))&&(i[e]=r+s):i[e]=r+s}else o?i.all=r+$r(o,r):t===429&&(i.all=r+60*1e3);return i}function ri(e,t,n=Zr(e.bufferSize||64)){let r={},i=e=>n.drain(e);function a(i){let a=[];if(C(i,(t,n)=>{let i=it(n);ti(r,i)?e.recordDroppedEvent(`ratelimit_backoff`,i):a.push(t)}),a.length===0)return Promise.resolve({});let o=ot(i[0],a),c=t=>{if(Se(o,[`client_report`])){b&&s.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);return}C(o,(n,r)=>{e.recordDroppedEvent(t,it(r))})};return n.add(()=>t({body:l(o)}).then(e=>e.statusCode===413?(b&&s.error(`Sentry responded with status code 413. Envelope was discarded due to exceeding size limits.`),c(`send_error`),e):(b&&e.statusCode!==void 0&&(e.statusCode<200||e.statusCode>=300)&&s.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=ni(r,e),e),e=>{throw c(`network_error`),b&&s.error(`Encountered error running transport request:`,e),e})).then(e=>e,e=>{if(e===Xr)return b&&s.error(`Skipped sending event because buffer is full.`),c(`queue_overflow`),Promise.resolve({});throw e})}return{send:a,flush:i}}function ii(e,t,n){let r=[{type:`client_report`},{timestamp:n||Ke(),discarded_events:e}];return ot(t?{dsn:t}:{},[r])}function ai(e){let t=[];e.message&&t.push(e.message);try{let n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}function oi(e){let{trace_id:t,parent_span_id:n,span_id:r,status:i,origin:a,data:o,op:s}=e.contexts?.trace??{};return{data:o??{},description:e.transaction,op:s,parent_span_id:n,span_id:r??``,start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:t??``,origin:a,profile_id:o?.[S],exclusive_time:o?.[te],measurements:e.measurements,is_segment:!0}}function si(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&&{"sentry.profile_id":e.profile_id},...e.exclusive_time&&{"sentry.exclusive_time":e.exclusive_time}}}},measurements:e.measurements}}var ci=`Not capturing exception because it's already been captured.`,li=`Discarded session because of missing or non-string release`,ui=Symbol.for(`SentryInternalError`),di=Symbol.for(`SentryDoNotSendEventError`),fi=5e3;function pi(e){return{message:e,[ui]:!0}}function mi(e){return{message:e,[di]:!0}}function hi(e){return!!e&&typeof e==`object`&&ui in e}function gi(e){return!!e&&typeof e==`object`&&di in e}function _i(e,t,n,r,i){let a=0,o,s=!1;e.on(n,()=>{a=0,clearTimeout(o),s=!1}),e.on(t,t=>{a+=r(t),a>=8e5?i(e):s||(s=!0,o=Yr(setTimeout(()=>{i(e)},fi)))}),e.on(`flush`,()=>{i(e)})}var vi=class{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=Zr(e.transportOptions?.bufferSize??64),e.dsn?this._dsn=h(e.dsn):b&&s.warn(`No DSN provided, client will not send events.`),this._dsn){let t=dt(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&_i(this,`afterCaptureLog`,`flushLogs`,Ti,Vr),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&_i(this,`afterCaptureMetric`,`flushMetrics`,wi,Kr)}captureException(e,t,n){let r=a();if(_e(e))return b&&s.log(ci),r;let i={event_id:r,...t};return this._process(()=>this.eventFromException(e,i).then(e=>this._captureEvent(e,i,n)).then(e=>e),`error`),i.event_id}captureMessage(e,t,n,r){let i={event_id:a(),...n},o=tt(e)?e:String(e),s=Ce(e),c=s?this.eventFromMessage(o,t,i):this.eventFromException(e,i);return this._process(()=>c.then(e=>this._captureEvent(e,i,r)),s?`unknown`:`error`),i.event_id}captureEvent(e,t,n){let r=a();if(t?.originalException&&_e(t.originalException))return b&&s.log(ci),r;let i={event_id:r,...t},o=e.sdkProcessingMetadata||{},c=o.capturedSpanScope,l=o.capturedSpanIsolationScope,u=yi(e.type);return this._process(()=>this._captureEvent(e,i,c||n,l),u),i.event_id}captureSession(e){this.sendSession(e),ee(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let t=this._transport;if(this.emit(`flush`),!t)return!0;let n=await this._isClientDoneProcessing(e),r=await t.flush(e);return n&&r}async close(e){Vr(this);let t=await this.flush(e);return this.getOptions().enabled=!1,this.emit(`close`),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith(`Spotlight`)))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let t=this._integrations[e.name];!t&&e.beforeSetup&&e.beforeSetup(this),Mr(this,e,this._integrations),t||jr(this,[e])}sendEvent(e,t={}){this.emit(`beforeSendEvent`,e,t);let n=je(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])n=ve(n,et(e));this.sendEnvelope(n).then(t=>this.emit(`afterSendEvent`,e,t))}sendSession(e){let{release:t,environment:n=oe}=this._options;if(`aggregates`in e){let r=e.attrs||{};if(!r.release&&!t){b&&s.warn(li);return}r.release=r.release||t,r.environment=r.environment||n,e.attrs=r}else{if(!e.release&&!t){b&&s.warn(li);return}e.release=e.release||t,e.environment=e.environment||n}this.emit(`beforeSendSession`,e);let r=ke(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){let r=`${e}:${t}`;b&&s.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:``}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){let n=this._hooks[e]=this._hooks[e]||new Set,r=(...e)=>t(...e);return n.add(r),()=>{n.delete(r)}}emit(e,...t){let n=this._hooks[e];n&&n.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit(`beforeEnvelope`,e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return b&&s.error(`Error while sending envelope:`,e),{}}return b&&s.error(`Transport disabled`),{}}registerCleanup(e){}dispose(){}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=Ar(this,e),jr(this,e)}_updateSessionFromEvent(e,t){let n=t.level===`fatal`,r=!1,i=t.exception?.values;if(i){r=!0,n=!1;for(let e of i)if(e.mechanism?.handled===!1){n=!0;break}}let a=e.status===`ok`;(a&&e.errors===0||a&&n)&&(ee(e,{...n&&{status:`crashed`},errors:e.errors||Number(r||n)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(e,t,n,r){let i=this.getOptions(),a=Object.keys(this._integrations);return!t.integrations&&a?.length&&(t.integrations=a),this.emit(`preprocessEvent`,e,t),e.type||r.setLastEventId(e.event_id||t.event_id),we(i,e,t,n,this,r).then(e=>e===null?e:(this.emit(`postprocessEvent`,e,t),e.contexts={trace:{...e.contexts?.trace,...me(n)},...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:d(this,n),...e.sdkProcessingMetadata},e))}_captureEvent(e,t={},n=c(),r=v()){return b&&Si(e)&&s.log(`Captured error event \`${ai(e)[0]||`<unknown>`}\``),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{b&&(gi(e)?s.log(e.message):hi(e)?s.warn(e.message):s.warn(e))})}_processEvent(e,t,n,r){let i=this.getOptions(),{sampleRate:a}=i,o=Ci(e),s=Si(e),c=`before send for type \`${e.type||`error`}\``,l=a===void 0?void 0:ie(a);if(s&&typeof l==`number`&&qe()>l)return this.recordDroppedEvent(`sample_rate`,`error`),De(mi(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));let u=yi(e.type);return this._prepareEvent(e,t,n,r).then(e=>{if(e===null)throw this.recordDroppedEvent(`event_processor`,u),mi("An event processor returned `null`, will not send event.");return t.data?.__sentry__===!0?e:bi(xi(this,i,e,t),c)}).then(i=>{if(i===null){if(this.recordDroppedEvent(`before_send`,u),o){let t=1+(e.spans||[]).length;this.recordDroppedEvent(`before_send`,`span`,t)}throw mi(`${c} returned \`null\`, will not send event.`)}let a=n.getSession()||r.getSession();if(s&&a&&this._updateSessionFromEvent(a,i),o){let e=(i.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);e>0&&this.recordDroppedEvent(`before_send`,`span`,e)}let l=i.transaction_info;return o&&l&&i.transaction!==e.transaction&&(i.transaction_info={...l,source:`custom`}),this.sendEvent(i,t),i}).then(null,e=>{throw gi(e)||hi(e)?e:(this.captureException(e,{mechanism:{handled:!1,type:`internal`},data:{__sentry__:!0},originalException:e}),pi(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`))})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===Xr&&this.recordDroppedEvent(`queue_overflow`,t),e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[n,r]=e.split(`:`);return{reason:n,category:r,quantity:t}})}_flushOutcomes(){b&&s.log(`Flushing outcomes...`);let e=this._clearOutcomes();if(e.length===0){b&&s.log(`No outcomes to send`);return}if(!this._dsn){b&&s.log(`No dsn provided, will not send outcomes`);return}b&&s.log(`Sending outcomes:`,e);let t=ii(e,this._options.tunnel&&ce(this._dsn));this.sendEnvelope(t)}};function yi(e){return e===`replay_event`?`replay`:e||`error`}function bi(e,t){let n=`${t} must return \`null\` or a valid event.`;if(u(e))return e.then(e=>{if(!st(e)&&e!==null)throw pi(n);return e},e=>{throw pi(`${t} rejected with ${e}`)});if(!st(e)&&e!==null)throw pi(n);return e}function xi(e,t,n,r){let{beforeSend:i,beforeSendTransaction:a,ignoreSpans:s}=t,c=!p(t.beforeSendSpan)&&t.beforeSendSpan,l=n;if(Si(l)&&i)return i(l,r);if(Ci(l)){if(c||s){let t=oi(l);if(s?.length&&o({description:t.description,op:t.op,attributes:t.data},s))return null;if(c){let e=c(t);e?l=_(n,si(e)):Fe()}if(l.spans){let t=[],n=l.spans;for(let e of n){if(s?.length&&o({description:e.description,op:e.op,attributes:e.data},s)){Le(n,e);continue}if(c){let n=c(e);n?t.push(n):(Fe(),t.push(e))}else t.push(e)}let r=l.spans.length-t.length;r&&e.recordDroppedEvent(`before_send`,`span`,r),l.spans=t}}if(a){if(l.spans){let e=l.spans.length;l.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return a(l,r)}}return l}function Si(e){return e.type===void 0}function Ci(e){return e.type===`transaction`}function wi(e){let t=0;return e.name&&(t+=e.name.length*2),t+=8,t+Ei(e.attributes)}function Ti(e){let t=0;return e.message&&(t+=e.message.length*2),t+Ei(e.attributes)}function Ei(e){if(!e)return 0;let t=0;return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*Di(e[0]):Ce(e)?t+=Di(e):t+=100}),t}function Di(e){return typeof e==`string`?e.length*2:typeof e==`number`?8:typeof e==`boolean`?4:0}function Oi(e,t){return e(t.stack||``,1)}function ki(e){return Ve(e)&&`__sentry_fetch_url_host__`in e&&typeof e.__sentry_fetch_url_host__==`string`}function Ai(e){return ki(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}function ji(e,t){let n={type:t.name||t.constructor.name,value:Ai(t)},r=Oi(e,t);return r.length&&(n.stacktrace={frames:r}),n}function Mi(e,t){t.debug===!0&&(b?s.enable():Re(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),c().update(t.initialScope);let n=new e(t);return Ni(n),n.init(),n}function Ni(e){c().setClient(e)}function Pi(e){`aggregates`in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:`{{auto}}`}):e.ipAddress===void 0&&(e.ipAddress=`{{auto}}`)}function Fi(e,t,n=[t],r=`npm`){let i=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};i.name||(i.name=`sentry.javascript.${t}`,i.packages=n.map(e=>({name:`${r}:@sentry/${e}`,version:le})),i.version=le)}var Ii,Li=`FunctionToString`,Ri=new WeakMap,zi=Nr((()=>({name:Li,setupOnce(){Ii=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=Ye(this),n=Ri.has(ct())&&t!==void 0?t:this;return Ii.apply(n,e)}}catch{}},setup(e){Ri.set(e,!0)}}))),Bi=[/^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$/],Vi=`EventFilters`,Hi=Nr((e={})=>{let t;return{name:Vi,setup(n){t=A(e,n.getOptions())},processEvent(n,r,i){return t||=A(e,i.getOptions()),Ui(n,t)?null:n}}}),k=Nr(((e={})=>({...Hi(e),name:`InboundFilters`})));function A(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:Bi],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function Ui(e,t){if(!e.type){if(Wi(e,t.ignoreErrors))return b&&s.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${ue(e)}`),!0;if(Xi(e))return b&&s.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${ue(e)}`),!0;if(Ki(e,t.denyUrls))return b&&s.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${ue(e)}.\nUrl: ${Yi(e)}`),!0;if(!qi(e,t.allowUrls))return b&&s.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${ue(e)}.\nUrl: ${Yi(e)}`),!0}else if(e.type===`transaction`&&Gi(e,t.ignoreTransactions))return b&&s.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${ue(e)}`),!0;return!1}function Wi(e,t){return t?.length?ai(e).some(e=>Ze(e,t)):!1}function Gi(e,t){if(!t?.length)return!1;let n=e.transaction;return n?Ze(n,t):!1}function Ki(e,t){if(!t?.length)return!1;let n=Yi(e);return n?Ze(n,t):!1}function qi(e,t){if(!t?.length)return!0;let n=Yi(e);return n?Ze(n,t):!0}function Ji(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&n.filename!==`<anonymous>`&&n.filename!==`[native code]`)return n.filename||null}return null}function Yi(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length)?.stacktrace?.frames;return t?Ji(t):null}catch{return b&&s.error(`Cannot extract url for event ${ue(e)}`),null}}function Xi(e){return e.exception?.values?.length?!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&e.type!==`Error`||e.value):!1}function Zi(e,t,n,r,i,a){if(!i.exception?.values||!a||!ye(a.originalException,Error))return;let o=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;o&&(i.exception.values=Qi(e,t,r,a.originalException,n,i.exception.values,o,0))}function Qi(e,t,n,r,i,a,o,s){if(a.length>=n+1)return a;let c=[...a];if(ye(r[i],Error)){ea(o,s,r);let a=e(t,r[i]),l=c.length;ta(a,i,l,s),c=Qi(e,t,n,r[i],i,[a,...c],a,l)}return $i(r)&&r.errors.forEach((a,l)=>{if(ye(a,Error)){ea(o,s,r);let u=e(t,a),d=c.length;ta(u,`errors[${l}]`,d,s),c=Qi(e,t,n,a,i,[u,...c],u,d)}}),c}function $i(e){return Array.isArray(e.errors)}function ea(e,t,n){e.mechanism={handled:!0,type:`auto.core.linked_errors`,...$i(n)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function ta(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:`chained`,source:t,exception_id:n,parent_id:r}}var na=`cause`,ra=5,ia=`LinkedErrors`,aa=Nr(((e={})=>{let t=e.limit||ra,n=e.key||na;return{name:ia,preprocessEvent(e,r,i){Zi(ji,i.getOptions().stackParser,n,t,e,r)}}}));function oa(e){let t=`console`,n=hr(t,e);return gr(t,sa),n}function sa(){`console`in g&&se.forEach(function(e){e in g.console&&Ue(g.console,e,function(t){return Ie[e]=t,function(...t){_r(`console`,{args:t,level:e}),Ie[e]?.apply(g.console,t)}})})}function ca(e){return e===`warn`?`warning`:[`fatal`,`error`,`warning`,`log`,`info`,`debug`].includes(e)?e:`log`}var la=`Dedupe`,ua=Nr((()=>{let e;return{name:la,processEvent(t){if(t.type)return t;try{if(da(t,e))return b&&s.warn(`Event dropped due to being a duplicate of previously captured event.`),null}catch{}return e=t}}}));function da(e,t){return t?!!(fa(e,t)||pa(e,t)):!1}function fa(e,t){let n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!j(e,t)||!ma(e,t))}function pa(e,t){let n=ha(t),r=ha(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!j(e,t)||!ma(e,t))}function ma(e,t){let n=pe(e),r=pe(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function j(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 ha(e){return e.exception?.values?.[0]}function ga(e,t){let n=0;for(let t=e.length-1;t>=0;t--){let r=e[t];r===`.`?e.splice(t,1):r===`..`?(e.splice(t,1),n++):n&&(e.splice(t,1),n--)}if(t)for(;n--;)e.unshift(`..`);return e}var _a=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function va(e){let t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,n=_a.exec(t);return n?n.slice(1):[]}function ya(...e){let t=``,n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let i=r>=0?e[r]:`/`;i&&(t=`${i}/${t}`,n=i.charAt(0)===`/`)}return t=ga(t.split(`/`).filter(e=>!!e),!n).join(`/`),(n?`/`:``)+t||`.`}function ba(e){let t=0;for(;t<e.length&&e[t]===``;t++);let n=e.length-1;for(;n>=0&&e[n]===``;n--);return t>n?[]:e.slice(t,n-t+1)}function xa(e,t){e=ya(e).slice(1),t=ya(t).slice(1);let n=ba(e.split(`/`)),r=ba(t.split(`/`)),i=Math.min(n.length,r.length),a=i;for(let e=0;e<i;e++)if(n[e]!==r[e]){a=e;break}let o=[];for(let e=a;e<n.length;e++)o.push(`..`);return o=o.concat(r.slice(a)),o.join(`/`)}function Sa(e,t){let n=va(e)[2]||``;return t&&n.slice(t.length*-1)===t&&(n=n.slice(0,n.length-t.length)),n}var Ca=`RewriteFrames`,wa=Nr((e={})=>{let t=e.root,n=e.prefix||`app:///`,r=`window`in g&&!!g.window,i=e.iteratee||Ta({isBrowser:r,root:t,prefix:n});function a(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>({...e,...e.stacktrace&&{stacktrace:o(e.stacktrace)}}))}}}catch{return e}}function o(e){return{...e,frames:e?.frames?.map(e=>i(e))}}return{name:Ca,processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=a(t)),t}}});function Ta({isBrowser:e,root:t,prefix:n}){return r=>{if(!r.filename)return r;let i=/^[a-zA-Z]:\\/.test(r.filename)||r.filename.includes(`\\`)&&!r.filename.includes(`/`),a=/^\//.test(r.filename);if(e){if(t){let e=r.filename;e.indexOf(t)===0&&(r.filename=e.replace(t,n))}}else if(i||a){let e=i?r.filename.replace(/^[a-zA-Z]:/,``).replace(/\\/g,`/`):r.filename;r.filename=`${n}${t?xa(t,e):Sa(e)}`}return r}}var Ea=`ConversationId`,Da=Nr((()=>({name:Ea,setup(e){e.on(`spanStart`,e=>{let t=c().getScopeData(),n=v().getScopeData(),r=t.conversationId||n.conversationId;if(r){let{op:t,data:n,description:i}=ne(e);if(!t?.startsWith(`gen_ai.`)&&!n[`ai.operationId`]&&!i?.startsWith(`ai.`))return;e.setAttribute(y,r)}})}})));function Oa(e){if(e!==void 0){if(e>=400&&e<500)return`warning`;if(e>=500)return`error`}}var ka=g;function Aa(){return`history`in ka&&!!ka.history}function ja(){if(!(`fetch`in ka))return!1;try{return new Headers,new Request(`data:,`),new Response,!0}catch{return!1}}function Ma(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function Na(){if(typeof EdgeRuntime==`string`)return!0;if(!ja())return!1;if(Ma(ka.fetch))return!0;let e=!1,t=ka.document;if(t&&typeof t.createElement==`function`)try{let n=t.createElement(`iframe`);n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=Ma(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){b&&s.warn(`Could not create sandbox iframe for pure fetch check, bailing to window.fetch: `,e)}return e}function Pa(e,t){let n=`fetch`,r=hr(n,e);return gr(n,()=>Fa(void 0,t)),r}function Fa(e,t=!1){t&&!Na()||Ue(g,`fetch`,function(t){return function(...n){let r=Error(),{method:i,url:a}=Ra(n),o={args:n,fetchData:{method:i,url:a},startTimestamp:x()*1e3,virtualError:r,headers:za(n)};return e||_r(`fetch`,{...o}),t.apply(g,n).then(async t=>(e?e(t):_r(`fetch`,{...o,endTimestamp:x()*1e3,response:t}),t),e=>{_r(`fetch`,{...o,endTimestamp:x()*1e3,error:e}),Ve(e)&&e.stack===void 0&&(e.stack=r.stack,Pe(e,`framesToPop`,1));let t=ct()?.getOptions().enhanceFetchErrorMessages??`always`;if(t!==!1&&e instanceof TypeError&&(e.message===`Failed to fetch`||e.message===`Load failed`||e.message===`NetworkError when attempting to fetch resource.`))try{let n=new URL(o.fetchData.url).host;t===`always`?e.message=`${e.message} (${n})`:Pe(e,`__sentry_fetch_url_host__`,n)}catch{}throw e})}})}function Ia(e,t){return!!e&&typeof e==`object`&&!!e[t]}function La(e){return typeof e==`string`?e:e?Ia(e,`url`)?e.url:e.toString?e.toString():``:``}function Ra(e){if(e.length===0)return{method:`GET`,url:``};if(e.length===2){let[t,n]=e;return{url:La(t),method:Ia(n,`method`)?String(n.method).toUpperCase():at(t)&&Ia(t,`method`)?String(t.method).toUpperCase():`GET`}}let t=e[0];return{url:La(t),method:Ia(t,`method`)?String(t.method).toUpperCase():`GET`}}function za(e){let[t,n]=e;try{if(typeof n==`object`&&n&&`headers`in n&&n.headers)return new Headers(n.headers);if(at(t))return new Headers(t.headers)}catch{}}function Ba(e,t){let n=Ua(e,t),r={type:Ja(t),value:Ya(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===``&&(r.value=`Unrecoverable error caught`),r}function Va(e,t,n,r){let i=ct()?.getOptions().normalizeDepth,a=no(t),o={__serialized__:fe(t,i)};if(a)return{exception:{values:[Ba(e,a)]},extra:o};let s={exception:{values:[{type:Ae(t)?t.constructor.name:r?`UnhandledRejection`:`Error`,value:eo(t,{isUnhandledRejection:r})}]},extra:o};if(n){let t=Ua(e,n);t.length&&(s.exception.values[0].stacktrace={frames:t})}return s}function Ha(e,t){return{exception:{values:[Ba(e,t)]}}}function Ua(e,t){let n=t.stacktrace||t.stack||``,r=Ga(t),i=Ka(t);try{return e(n,r,i)}catch{}return[]}var Wa=/Minified React error #\d+;/i;function Ga(e){return e&&Wa.test(e.message)?1:0}function Ka(e){return typeof e.framesToPop==`number`?e.framesToPop:0}function qa(e){return typeof WebAssembly<`u`&&WebAssembly.Exception!==void 0?e instanceof WebAssembly.Exception:!1}function Ja(e){let t=e?.name;return!t&&qa(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:`WebAssembly.Exception`:t}function Ya(e){let t=e?.message;return qa(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:`wasm exception`:t?t.error&&typeof t.error.message==`string`?Ai(t.error):Ai(e):`No error message`}function Xa(e,t,n,r){let i=Qa(e,t,n?.syntheticException||void 0,r);return ge(i),i.level=`error`,n?.event_id&&(i.event_id=n.event_id),We(i)}function Za(e,t,n=`info`,r,i){let a=$a(e,t,r?.syntheticException||void 0,i);return a.level=n,r?.event_id&&(a.event_id=r.event_id),We(a)}function Qa(e,t,n,r,i){let a;if(Me(t)&&t.error)return Ha(e,t.error);if(Oe(t)||Ge(t)){let i=t;if(`stack`in t)a=Ha(e,t);else{let t=i.name||(Oe(i)?`DOMError`:`DOMException`),o=i.message?`${t}: ${i.message}`:t;a=$a(e,o,n,r),w(a,o)}return`code`in i&&(a.tags={...a.tags,"DOMException.code":`${i.code}`}),a}return Ve(t)?Ha(e,t):st(t)||Ae(t)?(a=Va(e,t,n,i),ge(a,{synthetic:!0}),a):(a=$a(e,t,n,r),w(a,`${t}`,void 0),ge(a,{synthetic:!0}),a)}function $a(e,t,n,r){let i={};if(r&&n){let r=Ua(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),ge(i,{synthetic:!0})}if(tt(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}function eo(e,{isUnhandledRejection:t}){let n=xe(e),r=t?`promise rejection`:`exception`;return Me(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:Ae(e)?`Event \`${to(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function to(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function no(e){return Object.values(e).find(e=>e instanceof Error)}var ro=class extends vi{constructor(e){let t=io(e);Fi(t,`browser`,[`browser`],T.SENTRY_SDK_SOURCE||Fr()),t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:t.sendDefaultPii?`auto`:`never`,...t._metadata.sdk.settings}),super(t);let{sendDefaultPii:n,sendClientReports:r,enableLogs:i,_experiments:a,enableMetrics:o}=this._options,s=o??a?.enableMetrics??!0;T.document&&(r||i||s)&&T.document.addEventListener(`visibilitychange`,()=>{T.document.visibilityState===`hidden`&&(r&&this._flushOutcomes(),i&&Vr(this),s&&Kr(this))}),n&&this.on(`beforeSendSession`,Pi)}eventFromException(e,t){return Xa(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t=`info`,n){return Za(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||`javascript`,super._prepareEvent(e,t,n,r)}};function io(e){return{release:typeof __SENTRY_RELEASE__==`string`?__SENTRY_RELEASE__:T.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}var ao=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,oo=g,so=1e3,co,lo,uo;function fo(e){hr(`dom`,e),gr(`dom`,po)}function po(){if(!oo.document)return;let e=_r.bind(null,`dom`),t=go(e,!0);oo.document.addEventListener(`click`,t,!1),oo.document.addEventListener(`keypress`,t,!1),[`EventTarget`,`Node`].forEach(t=>{let n=oo[t]?.prototype;n?.hasOwnProperty?.(`addEventListener`)&&(Ue(n,`addEventListener`,function(t){return function(n,r,i){if(n===`click`||n==`keypress`)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=r[n]=r[n]||{refCount:0};if(!a.handler){let r=go(e);a.handler=r,t.call(this,n,r,i)}a.refCount++}catch{}return t.call(this,n,r,i)}}),Ue(n,`removeEventListener`,function(e){return function(t,n,r){if(t===`click`||t==`keypress`)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),Object.keys(n).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function mo(e){if(e.type!==lo)return!1;try{if(!e.target||e.target._sentryId!==uo)return!1}catch{}return!0}function ho(e,t){return e===`keypress`?t?.tagName?!(t.tagName===`INPUT`||t.tagName===`TEXTAREA`||t.isContentEditable):!0:!1}function go(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;let r=_o(n);if(ho(n.type,r))return;Pe(n,`_sentryCaptured`,!0),r&&!r._sentryId&&Pe(r,`_sentryId`,a());let i=n.type===`keypress`?`input`:n.type;mo(n)||(e({event:n,name:i,global:t}),lo=n.type,uo=r?r._sentryId:void 0),clearTimeout(co),co=oo.setTimeout(()=>{uo=void 0,lo=void 0},so)}}function _o(e){try{return e.target}catch{return null}}var M;function vo(e){let t=`history`;hr(t,e),gr(t,yo)}function yo(){if(oo.addEventListener(`popstate`,()=>{let e=oo.location.href,t=M;M=e,t!==e&&_r(`history`,{from:t,to:e})}),!Aa())return;function e(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let r=M,i=N(String(n));if(M=i,r===i)return e.apply(this,t);_r(`history`,{from:r,to:i})}return e.apply(this,t)}}Ue(oo.history,`pushState`,e),Ue(oo.history,`replaceState`,e)}function N(e){try{return new URL(e,oo.location.origin).toString()}catch{return e}}var P={};function F(e){let t=P[e];if(t)return t;let n=oo[e];if(Ma(n))return P[e]=n.bind(oo);let r=oo.document;if(r&&typeof r.createElement==`function`)try{let t=r.createElement(`iframe`);t.hidden=!0,r.head.appendChild(t);let i=t.contentWindow;i?.[e]&&(n=i[e]),r.head.removeChild(t)}catch(t){ao&&s.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n&&(P[e]=n.bind(oo))}function bo(e){P[e]=void 0}var xo=`__sentry_xhr_v3__`;function So(e){hr(`xhr`,e),gr(`xhr`,Co)}function Co(){if(!oo.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),i=x()*1e3,a=de(n[0])?n[0].toUpperCase():void 0,o=wo(n[1]);if(!a||!o)return e.apply(t,n);t[xo]={method:a,url:o,request_headers:{}},a===`POST`&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let s=()=>{let e=t[xo];if(e&&t.readyState===4){try{e.status_code=t.status}catch{}_r(`xhr`,{endTimestamp:x()*1e3,startTimestamp:i,xhr:t,virtualError:r})}};return`onreadystatechange`in t&&typeof t.onreadystatechange==`function`?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply(e,t,n){return s(),e.apply(t,n)}}):t.addEventListener(`readystatechange`,s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,i]=n,a=t[xo];return a&&de(r)&&de(i)&&(a.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[xo];return r?(n[0]!==void 0&&(r.body=n[0]),_r(`xhr`,{startTimestamp:x()*1e3,xhr:t}),e.apply(t,n)):e.apply(t,n)}})}function wo(e){if(de(e))return e;try{return e.toString()}catch{}}var To=40;function Eo(e,t=F(`fetch`)){let n=0,r=0;async function i(i){let a=i.body.length;n+=a,r++;let o={body:i.body,method:`POST`,referrerPolicy:`strict-origin`,headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{let n=await t(e.url,o);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get(`X-Sentry-Rate-Limits`),"retry-after":n.headers.get(`Retry-After`)}}}catch(e){throw bo(`fetch`),e}finally{n-=a,r--}}return ri(e,i,Zr(e.bufferSize||To))}var I=30,Do=50;function Oo(e,t,n,r){let i={filename:e,function:t===`<anonymous>`?`?`:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}var ko=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Ao=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,jo=/\((\S*)(?::(\d+))(?::(\d+))\)/,Mo=/at (.+?) ?\(data:(.+?),/,No=[I,e=>{let t=e.match(Mo);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};let n=ko.exec(e);if(n){let[,e,t,r]=n;return Oo(e,`?`,+t,+r)}let r=Ao.exec(e);if(r){if(r[2]?.indexOf(`eval`)===0){let e=jo.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}let[e,t]=Io(r[1]||`?`,r[2]);return Oo(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],Po=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Fo=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,L=rt(No,[Do,e=>{let t=Po.exec(e);if(t){if(t[3]&&t[3].indexOf(` > eval`)>-1){let e=Fo.exec(t[3]);e&&(t[1]=t[1]||`eval`,t[3]=e[1],t[4]=e[2],t[5]=``)}let e=t[3],n=t[1]||`?`;return[n,e]=Io(n,e),Oo(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),Io=(e,t)=>{let 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]},Lo=1024,Ro=`Breadcrumbs`,zo=Nr(((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:Ro,setup(e){t.console&&oa(Ho(e)),t.dom&&fo(Vo(e,t.dom)),t.xhr&&So(Uo(e)),t.fetch&&Pa(Wo(e)),t.history&&vo(Go(e)),t.sentry&&e.on(`beforeSendEvent`,Bo(e))}}}));function Bo(e){return function(t){ct()===e&&E({category:`sentry.${t.type===`transaction`?`transaction`:`event`}`,event_id:t.event_id,level:t.level,message:ue(t)},{event:t})}}function Vo(e,t){return function(n){if(ct()!==e)return;let r,i,a=typeof t==`object`?t.serializeAttribute:void 0,o=typeof t==`object`&&typeof t.maxStringLength==`number`?t.maxStringLength:void 0;o&&o>Lo&&(pt&&s.warn(`\`dom.maxStringLength\` cannot exceed ${Lo}, but a value of ${o} was configured. Sentry will use ${Lo} instead.`),o=Lo),typeof a==`string`&&(a=[a]);try{let e=n.event,t=Ko(e)?e.target:e;r=Te(t,{keyAttrs:a,maxStringLength:o}),i=Be(t)}catch{r=`<unknown>`}if(r.length===0)return;let c={category:`ui.${n.name}`,message:r};i&&(c.data={"ui.component_name":i}),E(c,{event:n.event,name:n.name,global:n.global})}}function Ho(e){return function(t){if(ct()!==e)return;let n={category:`console`,data:{arguments:t.args,logger:`console`},level:ca(t.level),message:Ee(t.args,` `)};if(t.level===`assert`)if(t.args[0]===!1)n.message=`Assertion failed: ${Ee(t.args.slice(1),` `)||`console.assert`}`,n.data.arguments=t.args.slice(1);else return;E(n,{input:t.args,level:t.level})}}function Uo(e){return function(t){if(ct()!==e)return;let{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[xo];if(!n||!r||!i)return;let{method:a,url:o,status_code:s,body:c}=i,l={method:a,url:o,status_code:s},u={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r},d={category:`xhr`,data:l,type:`http`,level:Oa(s)};e.emit(`beforeOutgoingRequestBreadcrumb`,d,u),E(d,u)}}function Wo(e){return function(t){if(ct()!==e)return;let{startTimestamp:n,endTimestamp:r}=t;if(r&&!(t.fetchData.url.match(/sentry_key/)&&t.fetchData.method===`POST`))if(t.error){let i={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},a={category:`fetch`,data:t.fetchData,level:`error`,type:`http`};e.emit(`beforeOutgoingRequestBreadcrumb`,a,i),E(a,i)}else{let i=t.response,a={...t.fetchData,status_code:i?.status},o={input:t.args,response:i,startTimestamp:n,endTimestamp:r},s={category:`fetch`,data:a,type:`http`,level:Oa(a.status_code)};e.emit(`beforeOutgoingRequestBreadcrumb`,s,o),E(s,o)}}}function Go(e){return function(t){if(ct()!==e)return;let n=t.from,r=t.to,i=wr(T.location.href),a=n?wr(n):void 0,o=wr(r);a?.path||(a=i),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),E({category:`navigation`,data:{from:n,to:r}})}}function Ko(e){return!!e&&!!e.target}var qo=`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(`,`),Jo=`BrowserApiErrors`,Yo=Nr(((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:Jo,setupOnce(){t.setTimeout&&Ue(T,`setTimeout`,Xo),t.setInterval&&Ue(T,`setInterval`,Xo),t.requestAnimationFrame&&Ue(T,`requestAnimationFrame`,Zo),t.XMLHttpRequest&&`XMLHttpRequest`in T&&Ue(XMLHttpRequest.prototype,`send`,Qo);let e=t.eventTarget;e&&(Array.isArray(e)?e:qo).forEach(e=>$o(e,t))}}}));function Xo(e){return function(...t){let n=t[0];return t[0]=ht(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${m(e)}`}}),e.apply(this,t)}}function Zo(e){return function(t){return e.apply(this,[ht(t,{mechanism:{data:{handler:m(e)},handled:!1,type:`auto.browser.browserapierrors.requestAnimationFrame`}})])}}function Qo(e){return function(...t){let n=this;return[`onload`,`onerror`,`onprogress`,`onreadystatechange`].forEach(e=>{e in n&&typeof n[e]==`function`&&Ue(n,e,function(t){let n={mechanism:{data:{handler:m(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=Ye(t);return r&&(n.mechanism.data.handler=m(r)),ht(t,n)})}),e.apply(this,t)}}function $o(e,t){let n=T[e]?.prototype;n?.hasOwnProperty?.(`addEventListener`)&&(Ue(n,`addEventListener`,function(n){return function(r,i,a){try{es(i)&&(i.handleEvent=ht(i.handleEvent,{mechanism:{data:{handler:m(i),target:e},handled:!1,type:`auto.browser.browserapierrors.handleEvent`}}))}catch{}return t.unregisterOriginalCallbacks&&ts(this,r,i),n.apply(this,[r,ht(i,{mechanism:{data:{handler:m(i),target:e},handled:!1,type:`auto.browser.browserapierrors.addEventListener`}}),a])}}),Ue(n,`removeEventListener`,function(e){return function(t,n,r){try{let i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}catch{}return e.call(this,t,n,r)}}))}function es(e){return typeof e.handleEvent==`function`}function ts(e,t,n){e&&typeof e==`object`&&`removeEventListener`in e&&typeof e.removeEventListener==`function`&&e.removeEventListener(t,n)}var ns=Nr((e={})=>{let t=e.lifecycle??`route`;return{name:`BrowserSession`,setupOnce(){if(T.document===void 0){pt&&s.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}Qe({ignoreDuration:!0}),Je();let e=v(),n=e.getUser();e.addScopeListener(e=>{let t=e.getUser();(n?.id!==t?.id||n?.ip_address!==t?.ip_address)&&(Je(),n=t)}),t===`route`&&vo(({from:e,to:t})=>{e!==t&&(Qe({ignoreDuration:!0}),Je())})}}}),rs=`CultureContext`,is=Nr((()=>({name:rs,preprocessEvent(e){let t=as();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})},processSegmentSpan(e){let t=as();t&&Er(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}})));function as(){try{let e=T.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}var os=`GlobalHandlers`,ss=Nr(((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:os,setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(cs(e),ps(`onerror`)),t.onunhandledrejection&&(ls(e),ps(`onunhandledrejection`))}}}));function cs(e){yr(t=>{let{stackParser:n,attachStacktrace:r}=ms();if(ct()!==e||ft())return;let{msg:i,url:a,line:o,column:s,error:c}=t,l=fs(Qa(n,c||i,void 0,r,!1),a,o,s);l.level=`error`,Ne(l,{originalException:c,mechanism:{handled:!1,type:`auto.browser.global_handlers.onerror`}})})}function ls(e){Sr(t=>{let{stackParser:n,attachStacktrace:r}=ms();if(ct()!==e||ft())return;let i=us(t),a=Ce(i)?ds(i):Qa(n,i,void 0,r,!0);a.level=`error`,Ne(a,{originalException:i,mechanism:{handled:!1,type:`auto.browser.global_handlers.onunhandledrejection`}})})}function us(e){if(Ce(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 ds(e){return{exception:{values:[{type:`UnhandledRejection`,value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function fs(e,t,n,r){let i=e.exception=e.exception||{},a=i.values=i.values||[],o=a[0]=a[0]||{},s=o.stacktrace=o.stacktrace||{},c=s.frames=s.frames||[];return c.length===0&&c.push({colno:r,lineno:n,filename:hs(t)??$e(),function:`?`,in_app:!0}),e}function ps(e){pt&&s.log(`Global Handler attached: ${e}`)}function ms(){return ct()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function hs(e){if(!(!de(e)||e.length===0))return e.startsWith(`data:`)?`<${Tr(e,!1)}>`:e}var gs=Nr(()=>({name:`HttpContext`,preprocessEvent(e){if(!T.navigator&&!T.location&&!T.document)return;let t=ut(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}},processSegmentSpan(e){if(!T.navigator&&!T.location&&!T.document)return;let t=ut();Er(e,{"url.full":t.url||void 0,"http.request.header.user_agent":t.headers[`User-Agent`],"http.request.header.referer":t.headers.Referer})}})),_s=`cause`,vs=5,ys=`LinkedErrors`,bs=Nr(((e={})=>{let t=e.limit||vs,n=e.key||_s;return{name:ys,preprocessEvent(e,r,i){Zi(Ba,i.getOptions().stackParser,n,t,e,r)}}}));function xs(){return Ss()?(pt&&Re(()=>{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 Ss(){if(T.window===void 0)return!1;let e=T;if(e.nw||!(e.chrome||e.browser)?.runtime?.id)return!1;let t=$e();return!(T===T.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(t))}function Cs(e){return[k(),zi(),Da(),Yo(),zo(),ss(),bs(),ua(),gs(),is(),ns()]}function ws(e={}){let t=!e.skipBrowserExtensionCheck&&xs(),n=e.defaultIntegrations==null?Cs():e.defaultIntegrations;return Mi(ro,{...e,enabled:t?!1:e.enabled,stackParser:f(e.stackParser||L),integrations:kr({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||Eo})}var Ts=e(gt());function Es(e){let t={...e};return Fi(t,`react`),ze(`react`,{version:Ts.version}),ws(t)}var Ds=t((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,ee||(ee=!0,oe());else{var t=n(l);t!==null&&le(x,t.startTime-e)}}var ee=!1,te=-1,ne=5,re=-1;function ie(){return g?!0:!(e.unstable_now()-re<ne)}function ae(){if(g=!1,ee){var t=e.unstable_now();re=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(te),te=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&ie());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&le(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?oe():ee=!1}}}var oe;if(typeof y==`function`)oe=function(){y(ae)};else if(typeof MessageChannel<`u`){var se=new MessageChannel,ce=se.port2;se.port1.onmessage=ae,oe=function(){ce.postMessage(null)}}else oe=function(){_(ae,0)};function le(t,n){te=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):ne=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(te),te=-1):h=!0,le(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,ee||(ee=!0,oe()))),r},e.unstable_shouldYield=ie,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),Os=t(((e,t)=>{t.exports=Ds()})),ks=t((e=>{var t=Os(),n=gt(),r=_t();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function d(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=d(e),t!==null)return t;e=e.sibling}return null}var f=Object.assign,p=Symbol.for(`react.element`),m=Symbol.for(`react.transitional.element`),h=Symbol.for(`react.portal`),g=Symbol.for(`react.fragment`),_=Symbol.for(`react.strict_mode`),v=Symbol.for(`react.profiler`),y=Symbol.for(`react.consumer`),b=Symbol.for(`react.context`),x=Symbol.for(`react.forward_ref`),ee=Symbol.for(`react.suspense`),te=Symbol.for(`react.suspense_list`),ne=Symbol.for(`react.memo`),re=Symbol.for(`react.lazy`),ie=Symbol.for(`react.activity`),ae=Symbol.for(`react.memo_cache_sentinel`),oe=Symbol.iterator;function se(e){return typeof e!=`object`||!e?null:(e=oe&&e[oe]||e[`@@iterator`],typeof e==`function`?e:null)}var ce=Symbol.for(`react.client.reference`);function le(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===ce?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case g:return`Fragment`;case v:return`Profiler`;case _:return`StrictMode`;case ee:return`Suspense`;case te:return`SuspenseList`;case ie:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case h:return`Portal`;case b:return e.displayName||`Context`;case y:return(e._context.displayName||`Context`)+`.Consumer`;case x:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case ne:return t=e.displayName||null,t===null?le(e.type)||`Memo`:t;case re:t=e._payload,e=e._init;try{return le(e(t))}catch{}}return null}var ue=Array.isArray,S=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,de={pending:!1,data:null,method:null,action:null},fe=[],pe=-1;function me(e){return{current:e}}function he(e){0>pe||(e.current=fe[pe],fe[pe]=null,pe--)}function w(e,t){pe++,fe[pe]=e.current,e.current=t}var ge=me(null),_e=me(null),ve=me(null),ye=me(null);function be(e,t){switch(w(ve,t),w(_e,e),w(ge,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Vd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Vd(t),e=Hd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}he(ge),w(ge,e)}function xe(){he(ge),he(_e),he(ve)}function Se(e){e.memoizedState!==null&&w(ye,e);var t=ge.current,n=Hd(t,e.type);t!==n&&(w(_e,e),w(ge,n))}function Ce(e){_e.current===e&&(he(ge),he(_e)),ye.current===e&&(he(ye),Qf._currentValue=de)}var we,Te;function Ee(e){if(we===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);we=t&&t[1]||``,Te=-1<e.stack.indexOf(`
2
+ import{o as e,t}from"./chunk-jRWAZmH_.js";import{i as n,r,s as i}from"./device-settings-DZvv4pnY.js";import{$ as a,A as o,At as s,B as c,C as l,Ct as u,D as d,Dt as f,E as p,Et as m,F as h,Ft as g,G as _,H as v,I as y,It as b,J as x,K as ee,L as te,M as ne,Mt as re,N as ie,Nt as ae,O as oe,Ot as se,P as ce,Pt as le,Q as ue,R as S,S as C,St as de,T as fe,Tt as pe,U as me,V as he,X as w,Y as ge,Z as _e,_ as ve,_t as ye,a as be,at as xe,b as Se,bt as Ce,d as we,dt as Te,et as Ee,f as De,ft as Oe,g as ke,gt as Ae,h as je,ht as Me,i as Ne,it as Pe,j as Fe,jt as Ie,k as Le,kt as Re,l as ze,lt as Be,mt as Ve,nt as He,ot as Ue,p as We,pt as Ge,q as Ke,rt as qe,s as Je,st as Ye,t as Xe,tt as Ze,u as Qe,ut as $e,v as et,vt as tt,w as nt,wt as rt,x as it,xt as at,y as ot,yt as st,z as ct}from"./capture-error-u47kRfIQ.js";import{a as lt,c as ut,d as dt,l as ft,o as pt,r as mt,s as T,u as ht}from"./document-viewer-container-DRzniNxu.js";import{o as E}from"./doctor-handoff-store-De0xJuOF.js";import{t as gt}from"./react-BFJW0bSv.js";import{W as _t,r as vt}from"./button-VkxVX0DM.js";import{t as yt}from"./preload-helper-Cv2QeVDK.js";import{i as bt}from"./chunk-5KNZJZUH-BUqIilZr.js";import{A as xt,C as St,D as Ct,N as wt,S as Tt,_ as Et,b as Dt,c as Ot,g as kt,h as At,s as jt,t as Mt,u as Nt,x as Pt}from"./QueryClientProvider-EuRl-wrW.js";import{f as Ft}from"./useQuery-CTSuec5b.js";import{n as It}from"./useInfiniteQuery-C5Kg1-qX.js";import{n as Lt}from"./useMutation-D2YPyfEH.js";import{t as Rt}from"./jsx-runtime-BJ8jcmzB.js";import{a as zt,c as Bt,i as Vt,l as Ht,o as Ut,r as Wt,s as Gt,t as Kt,u as qt}from"./routes-B0vq_HZ6.js";import{T as Jt}from"./composer-settings-oXsQEnPx.js";import{n as Yt}from"./src-Ch3HTlFm.js";import{t as Xt}from"./toast-ZCXyBjoj.js";import{C as Zt,Q as Qt,S as $t,T as en,ct as tn,nt as nn,ot as rn,p as an,st as on,v as sn,x as cn}from"./local-mode-DzIUFjhf.js";import{t as ln}from"./is-electron-C9-jl_HE.js";import{r as un}from"./resolved-assistants-store-D57qRwKv.js";import{n as dn}from"./i18n-DRUiM4wH.js";import{a as fn,t as pn}from"./api-errors-DpVX2w7j.js";import{$ as mn,C as hn,Y as gn,_ as _n,a as vn,at as yn,b as bn,c as xn,ct as Sn,et as Cn,gt as wn,ht as Tn,it as En,n as D,nt as Dn,ot as On,t as kn,tt as An}from"./auth-store-CajhmgnD.js";import{t as jn}from"./client.gen-D1UKq9QZ.js";import{$r as Mn}from"./sdk.gen-D0GK8o-1.js";import{l as Nn}from"./api-DBKPiIrQ.js";import{n as Pn}from"./event-bus-CN0zipw2.js";import{o as Fn}from"./remote-gateway-session-BY1Q3p4S.js";import{t as In}from"./client-feature-flag-store-C05-UP3s.js";import{A as Ln,M as Rn,R as zn,d as Bn,j as Vn,l as Hn}from"./native-biometric-Brvijc3Q.js";import{i as Un,t as Wn}from"./dist-BvgLnwN-.js";import{d as Gn}from"./routes-CZi85r7Q.js";import{c as Kn,n as qn,r as Jn,s as Yn}from"./platform-detection-CAPqStSE.js";import{t as Xn}from"./onboarding-store-Yrz8EhPQ.js";import{n as Zn}from"./theme-preferences-5a8Mcv7B.js";import{a as Qn}from"./settings-navigation-WoDnX01C.js";import{r as $n}from"./prefs-DwBeXgmG.js";import{r as er}from"./ingest-C9WbmmW2.js";import{t as tr}from"./client-perf-Bwg855AQ.js";import{o as nr}from"./diagnostics-DFrHpy5_.js";import{t as rr}from"./hard-navigate-DIn5NJxc.js";import{E as ir}from"./sdk.gen-CtvxLTrj.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();function ar(e,t,n){if(!(typeof window>`u`))try{localStorage.getItem(e)===t&&localStorage.setItem(e,n)}catch{}}function or(e){if(!(typeof window>`u`))try{localStorage.removeItem(e)}catch{}}function O(e,t){if(!(typeof window>`u`))try{let n=localStorage.getItem(e);if(n===null)return;localStorage.getItem(t)===null&&localStorage.setItem(t,n),localStorage.getItem(t)!==null&&localStorage.removeItem(e)}catch{}}function sr(e,t){if(!(typeof window>`u`))try{let n=[];for(let r=0;r<localStorage.length;r++){let i=localStorage.key(r);if(i&&i.startsWith(e)){let r=i.slice(e.length);n.push([i,t+r])}}for(let[e,t]of n)O(e,t)}catch{}}function cr(){if(!(typeof window>`u`))try{if(!(localStorage.getItem(`vellum:gw:tokenSource`)??localStorage.getItem(`gw:tokenSource`))?.includes(`/__gateway-paired/`))return;for(let e of[`vellum:gw:token`,`vellum:gw:expiresAt`,`vellum:gw:tokenSource`,`gw:token`,`gw:expiresAt`,`gw:tokenSource`])localStorage.removeItem(e)}catch{}}function lr(e){let t=[];for(let n=0;n<localStorage.length;n++){let r=localStorage.key(n);r&&r.startsWith(e)&&t.push(r)}for(let e of t)localStorage.removeItem(e)}function ur(){if(typeof window>`u`)return;let e=`vellum:selectedAssistantId`,t=`vellum:local:selectedAssistantId`,n=`vellum:currentAssistantId:`;try{if(localStorage.getItem(e)===null){let r=localStorage.getItem(t);if(r===null&&(r=dr(n)),r===null){let e=null;for(let t=0;t<localStorage.length;t++){let r=localStorage.key(t);r&&r.startsWith(n)&&(e===null||r<e)&&(e=r)}e!==null&&(r=localStorage.getItem(e))}r&&localStorage.setItem(e,r)}localStorage.removeItem(t),lr(n)}catch{}}function dr(e){let t=null;try{t=sessionStorage.getItem(`vellum_active_organization_id`)}catch{return null}return t?localStorage.getItem(`${e}${t}`):null}function fr(){if(!(typeof window>`u`)){O(`assistantSidebarCollapsed`,`vellum:sidebar:collapsed`),O(`assistantSidebarWidth`,`vellum:sidebar:width`),O(`voice:permissionPrimerSeen`,`vellum:voice:permissionPrimerSeen`),O(`voice:ttsProvider`,`vellum:voice:ttsProvider`),O(`voice:sttProvider`,`vellum:voice:sttProvider`),O(`voice:activationKey`,`vellum:voice:activationKey`),O(`integrations.bannerDismissed`,`vellum:integrations:bannerDismissed`),O(`onboarding.tosAccepted`,`vellum:onboarding:tosAccepted`),O(`onboarding.aiDataConsent`,`vellum:onboarding:aiDataConsent`),or(`onboarding.completed`),or(`vellum:onboarding:completed`),O(`onboarding.selectedVersion`,`vellum:onboarding:selectedVersion`),O(`vellum:skillsTabTipDismissed`,`vellum:skills:tipDismissed`),O(`vellum_image_gen_mode`,`vellum:ai:imageGenMode`),O(`vellum_image_gen_model`,`vellum:ai:imageGenModel`);try{if(localStorage.getItem(`vellum:ai:imageGenProvider`)===null){let e=localStorage.getItem(`vellum:ai:imageGenMode`);e===`managed`?localStorage.setItem(`vellum:ai:imageGenProvider`,`vellum`):e===`your-own`&&localStorage.setItem(`vellum:ai:imageGenProvider`,`gemini`)}}catch{}O(`vellum_web_search_mode`,`vellum:ai:webSearchMode`),O(`vellum_web_search_provider`,`vellum:ai:webSearchProvider`),O(`vellum_email_mode`,`vellum:ai:emailMode`),O(`vellum_email_byo_provider`,`vellum:ai:emailByoProvider`),O(`vellum_gemini_key`,`vellum:ai:geminiKey`),O(`vellum_perplexity_key`,`vellum:ai:perplexityKey`),O(`vellum_brave_key`,`vellum:ai:braveKey`),O(`vellum_tavily_key`,`vellum:ai:tavilyKey`),O(`vellumDebug.flags.impersonateAssistantVersion`,`vellum:debug:impersonateAssistantVersion`),O(`gw:token`,`vellum:gw:token`),O(`gw:expiresAt`,`vellum:gw:expiresAt`),O(`gw:tokenSource`,`vellum:gw:tokenSource`),cr(),O(`local:lockfile`,`vellum:local:lockfile`),O(`local:selectedAssistantId`,`vellum:local:selectedAssistantId`),sr(`voice:ttsApiKey:`,`vellum:voice:ttsApiKey:`),sr(`voice:ttsVoiceId:`,`vellum:voice:ttsVoiceId:`),sr(`voice:sttApiKey:`,`vellum:voice:sttApiKey:`),sr(`ff:client:`,`vellum:ff:`),sr(`disk-pressure-warning-dismissed-`,`vellum:diskPressureDismissed:`),sr(`vellum_current_assistant_id__`,`vellum:currentAssistantId:`),ur(),ar(`vellum:skills:tipDismissed`,`1`,`true`),or(`app.githubNudge.starred`),or(`app.githubNudge.bannerDismissed`),or(`app.githubNudge.bannerDismissedAt`),or(`app.discordNudge.joined`),or(`app.discordNudge.bannerDismissed`),or(`app.discordNudge.firstSeenAt`),or(`app.nudgeLegacy.cleaned`)}}n(),fr();var pr={},mr={};function hr(e,t){return pr[e]=pr[e]||[],pr[e].push(t),()=>{let n=pr[e];if(n){let e=n.indexOf(t);e!==-1&&n.splice(e,1)}}}function gr(e,t){if(!mr[e]){mr[e]=!0;try{t()}catch(t){b&&s.error(`Error while instrumenting ${e}`,t)}}}function _r(e,t){let n=e&&pr[e];if(n)for(let r of n)try{r(t)}catch(t){b&&s.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${m(r)}\nError:`,t)}}var vr=null;function yr(e){let t=`error`;hr(t,e),gr(t,br)}function br(){vr=g.onerror,g.onerror=function(e,t,n,r,i){return _r(`error`,{column:r,error:i,line:n,msg:e,url:t}),vr?vr.apply(this,arguments):!1},g.onerror.__SENTRY_INSTRUMENTED__=!0}var xr=null;function Sr(e){let t=`unhandledrejection`;hr(t,e),gr(t,Cr)}function Cr(){xr=g.onunhandledrejection,g.onunhandledrejection=function(e){return _r(`unhandledrejection`,e),xr?xr.apply(this,arguments):!0},g.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function wr(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let 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 Tr(e,t=!0){if(e.startsWith(`data:`)){let n=e.match(/^data:([^;,]+)/),r=n?n[1]:`text/plain`,i=e.includes(`;base64,`),a=e.indexOf(`,`),o=``;if(t&&a!==-1){let t=e.slice(a+1);o=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${r}${i?`,base64`:``}${o?`,${o}`:``}`}return e}function Er(e,t){let n=e.attributes??={};Object.entries(t).forEach(([e,t])=>{t!=null&&!(e in n)&&(n[e]=t)})}var Dr=[];function Or(e){let t={};return e.forEach(e=>{let{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}function kr(e){let t=e.defaultIntegrations||[],n=e.integrations;t.forEach(e=>{e.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n==`function`){let e=n(t);r=Array.isArray(e)?e:[e]}else r=t;return Or(r)}function Ar(e,t){let n={};return t.forEach(t=>{t?.beforeSetup&&t.beforeSetup(e)}),t.forEach(t=>{t&&Mr(e,t,n)}),n}function jr(e,t){for(let n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function Mr(e,t,n){if(n[t.name]){b&&s.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,!Dr.includes(t.name)&&typeof t.setupOnce==`function`&&(t.setupOnce(),Dr.push(t.name)),t.setup&&typeof t.setup==`function`&&t.setup(e),typeof t.preprocessEvent==`function`){let n=t.preprocessEvent.bind(t);e.on(`preprocessEvent`,(t,r)=>n(t,r,e))}if(typeof t.processEvent==`function`){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}[`processSpan`,`processSegmentSpan`].forEach(n=>{let r=t[n];typeof r==`function`&&e.on(n,n=>r.call(t,n,e))}),b&&s.log(`Integration installed: ${t.name}`)}function Nr(e){return e}function Pr(){return typeof __SENTRY_BROWSER_BUNDLE__<`u`&&!!__SENTRY_BROWSER_BUNDLE__}function Fr(){return`npm`}function Ir(){return!Pr()&&Object.prototype.toString.call(typeof process<`u`?process:0)===`[object process]`}function Lr(){return typeof window<`u`&&(!Ir()||Rr())}function Rr(){return g.process?.type===`renderer`}function zr(e,t){let n=t?`auto`:`never`;return[{type:`log`,item_count:e.length,content_type:`application/vnd.sentry.items.log+json`},{version:2,...Lr()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function Br(e,t,n,r,i){let a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(a.dsn=ce(r)),ot(a,[zr(e,i)])}function Vr(e,t){let n=t??Hr(e)??[];if(n.length===0)return;let r=e.getOptions(),i=Br(n,r._metadata,r.tunnel,e.getDsn(),r.sendDefaultPii);Ur().set(e,[]),e.emit(`flushLogs`),e.sendEnvelope(i)}function Hr(e){return Ur().get(e)}function Ur(){return re(`clientToLogBufferMap`,()=>new WeakMap)}function Wr(e,t){let n=t?`auto`:`never`;return[{type:`trace_metric`,item_count:e.length,content_type:`application/vnd.sentry.items.trace-metric+json`},{version:2,...Lr()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function Gr(e,t,n,r,i){let a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(a.dsn=ce(r)),ot(a,[Wr(e,i)])}function Kr(e,t){let n=t??qr(e)??[];if(n.length===0)return;let r=e.getOptions(),i=Gr(n,r._metadata,r.tunnel,e.getDsn(),r.sendDefaultPii);Jr().set(e,[]),e.emit(`flushMetrics`),e.sendEnvelope(i)}function qr(e){return Jr().get(e)}function Jr(){return re(`clientToMetricBufferMap`,()=>new WeakMap)}function Yr(e){return typeof e==`object`&&typeof e.unref==`function`&&e.unref(),e}var Xr=Symbol.for(`SentryBufferFullError`);function Zr(e=100){let t=new Set;function n(){return t.size<e}function r(e){t.delete(e)}function i(e){if(!n())return De(Xr);let i=e();return t.add(i),i.then(()=>r(i),()=>r(i)),i}function a(e){if(!t.size)return We(!0);let n=Promise.allSettled(Array.from(t)).then(()=>!0);if(!e)return n;let r=[n,new Promise(t=>Yr(setTimeout(()=>t(!1),e)))];return Promise.race(r)}return{get $(){return Array.from(t)},add:i,drain:a}}var Qr=60*1e3;function $r(e,t=He()){let n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;let r=Date.parse(`${e}`);return isNaN(r)?Qr:r-t}function ei(e,t){return e[t]||e.all||0}function ti(e,t,n=He()){return ei(e,t)>n}function ni(e,{statusCode:t,headers:n},r=He()){let i={...e},a=n?.[`x-sentry-rate-limits`],o=n?.[`retry-after`];if(a)for(let e of a.trim().split(`,`)){let[t,n,,,a]=e.split(`:`,5),o=parseInt(t,10),s=(isNaN(o)?60:o)*1e3;if(!n)i.all=r+s;else for(let e of n.split(`;`))e===`metric_bucket`?(!a||a.split(`;`).includes(`custom`))&&(i[e]=r+s):i[e]=r+s}else o?i.all=r+$r(o,r):t===429&&(i.all=r+60*1e3);return i}function ri(e,t,n=Zr(e.bufferSize||64)){let r={},i=e=>n.drain(e);function a(i){let a=[];if(C(i,(t,n)=>{let i=it(n);ti(r,i)?e.recordDroppedEvent(`ratelimit_backoff`,i):a.push(t)}),a.length===0)return Promise.resolve({});let o=ot(i[0],a),c=t=>{if(Se(o,[`client_report`])){b&&s.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);return}C(o,(n,r)=>{e.recordDroppedEvent(t,it(r))})};return n.add(()=>t({body:l(o)}).then(e=>e.statusCode===413?(b&&s.error(`Sentry responded with status code 413. Envelope was discarded due to exceeding size limits.`),c(`send_error`),e):(b&&e.statusCode!==void 0&&(e.statusCode<200||e.statusCode>=300)&&s.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=ni(r,e),e),e=>{throw c(`network_error`),b&&s.error(`Encountered error running transport request:`,e),e})).then(e=>e,e=>{if(e===Xr)return b&&s.error(`Skipped sending event because buffer is full.`),c(`queue_overflow`),Promise.resolve({});throw e})}return{send:a,flush:i}}function ii(e,t,n){let r=[{type:`client_report`},{timestamp:n||Ke(),discarded_events:e}];return ot(t?{dsn:t}:{},[r])}function ai(e){let t=[];e.message&&t.push(e.message);try{let n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}function oi(e){let{trace_id:t,parent_span_id:n,span_id:r,status:i,origin:a,data:o,op:s}=e.contexts?.trace??{};return{data:o??{},description:e.transaction,op:s,parent_span_id:n,span_id:r??``,start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:t??``,origin:a,profile_id:o?.[S],exclusive_time:o?.[te],measurements:e.measurements,is_segment:!0}}function si(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&&{"sentry.profile_id":e.profile_id},...e.exclusive_time&&{"sentry.exclusive_time":e.exclusive_time}}}},measurements:e.measurements}}var ci=`Not capturing exception because it's already been captured.`,li=`Discarded session because of missing or non-string release`,ui=Symbol.for(`SentryInternalError`),di=Symbol.for(`SentryDoNotSendEventError`),fi=5e3;function pi(e){return{message:e,[ui]:!0}}function mi(e){return{message:e,[di]:!0}}function hi(e){return!!e&&typeof e==`object`&&ui in e}function gi(e){return!!e&&typeof e==`object`&&di in e}function _i(e,t,n,r,i){let a=0,o,s=!1;e.on(n,()=>{a=0,clearTimeout(o),s=!1}),e.on(t,t=>{a+=r(t),a>=8e5?i(e):s||(s=!0,o=Yr(setTimeout(()=>{i(e)},fi)))}),e.on(`flush`,()=>{i(e)})}var vi=class{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=Zr(e.transportOptions?.bufferSize??64),e.dsn?this._dsn=h(e.dsn):b&&s.warn(`No DSN provided, client will not send events.`),this._dsn){let t=dt(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&_i(this,`afterCaptureLog`,`flushLogs`,Ti,Vr),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&_i(this,`afterCaptureMetric`,`flushMetrics`,wi,Kr)}captureException(e,t,n){let r=a();if(_e(e))return b&&s.log(ci),r;let i={event_id:r,...t};return this._process(()=>this.eventFromException(e,i).then(e=>this._captureEvent(e,i,n)).then(e=>e),`error`),i.event_id}captureMessage(e,t,n,r){let i={event_id:a(),...n},o=tt(e)?e:String(e),s=Ce(e),c=s?this.eventFromMessage(o,t,i):this.eventFromException(e,i);return this._process(()=>c.then(e=>this._captureEvent(e,i,r)),s?`unknown`:`error`),i.event_id}captureEvent(e,t,n){let r=a();if(t?.originalException&&_e(t.originalException))return b&&s.log(ci),r;let i={event_id:r,...t},o=e.sdkProcessingMetadata||{},c=o.capturedSpanScope,l=o.capturedSpanIsolationScope,u=yi(e.type);return this._process(()=>this._captureEvent(e,i,c||n,l),u),i.event_id}captureSession(e){this.sendSession(e),ee(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let t=this._transport;if(this.emit(`flush`),!t)return!0;let n=await this._isClientDoneProcessing(e),r=await t.flush(e);return n&&r}async close(e){Vr(this);let t=await this.flush(e);return this.getOptions().enabled=!1,this.emit(`close`),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith(`Spotlight`)))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let t=this._integrations[e.name];!t&&e.beforeSetup&&e.beforeSetup(this),Mr(this,e,this._integrations),t||jr(this,[e])}sendEvent(e,t={}){this.emit(`beforeSendEvent`,e,t);let n=je(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])n=ve(n,et(e));this.sendEnvelope(n).then(t=>this.emit(`afterSendEvent`,e,t))}sendSession(e){let{release:t,environment:n=oe}=this._options;if(`aggregates`in e){let r=e.attrs||{};if(!r.release&&!t){b&&s.warn(li);return}r.release=r.release||t,r.environment=r.environment||n,e.attrs=r}else{if(!e.release&&!t){b&&s.warn(li);return}e.release=e.release||t,e.environment=e.environment||n}this.emit(`beforeSendSession`,e);let r=ke(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){let r=`${e}:${t}`;b&&s.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:``}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){let n=this._hooks[e]=this._hooks[e]||new Set,r=(...e)=>t(...e);return n.add(r),()=>{n.delete(r)}}emit(e,...t){let n=this._hooks[e];n&&n.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit(`beforeEnvelope`,e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return b&&s.error(`Error while sending envelope:`,e),{}}return b&&s.error(`Transport disabled`),{}}registerCleanup(e){}dispose(){}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=Ar(this,e),jr(this,e)}_updateSessionFromEvent(e,t){let n=t.level===`fatal`,r=!1,i=t.exception?.values;if(i){r=!0,n=!1;for(let e of i)if(e.mechanism?.handled===!1){n=!0;break}}let a=e.status===`ok`;(a&&e.errors===0||a&&n)&&(ee(e,{...n&&{status:`crashed`},errors:e.errors||Number(r||n)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(e,t,n,r){let i=this.getOptions(),a=Object.keys(this._integrations);return!t.integrations&&a?.length&&(t.integrations=a),this.emit(`preprocessEvent`,e,t),e.type||r.setLastEventId(e.event_id||t.event_id),we(i,e,t,n,this,r).then(e=>e===null?e:(this.emit(`postprocessEvent`,e,t),e.contexts={trace:{...e.contexts?.trace,...me(n)},...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:d(this,n),...e.sdkProcessingMetadata},e))}_captureEvent(e,t={},n=c(),r=v()){return b&&Si(e)&&s.log(`Captured error event \`${ai(e)[0]||`<unknown>`}\``),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{b&&(gi(e)?s.log(e.message):hi(e)?s.warn(e.message):s.warn(e))})}_processEvent(e,t,n,r){let i=this.getOptions(),{sampleRate:a}=i,o=Ci(e),s=Si(e),c=`before send for type \`${e.type||`error`}\``,l=a===void 0?void 0:ie(a);if(s&&typeof l==`number`&&qe()>l)return this.recordDroppedEvent(`sample_rate`,`error`),De(mi(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));let u=yi(e.type);return this._prepareEvent(e,t,n,r).then(e=>{if(e===null)throw this.recordDroppedEvent(`event_processor`,u),mi("An event processor returned `null`, will not send event.");return t.data?.__sentry__===!0?e:bi(xi(this,i,e,t),c)}).then(i=>{if(i===null){if(this.recordDroppedEvent(`before_send`,u),o){let t=1+(e.spans||[]).length;this.recordDroppedEvent(`before_send`,`span`,t)}throw mi(`${c} returned \`null\`, will not send event.`)}let a=n.getSession()||r.getSession();if(s&&a&&this._updateSessionFromEvent(a,i),o){let e=(i.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);e>0&&this.recordDroppedEvent(`before_send`,`span`,e)}let l=i.transaction_info;return o&&l&&i.transaction!==e.transaction&&(i.transaction_info={...l,source:`custom`}),this.sendEvent(i,t),i}).then(null,e=>{throw gi(e)||hi(e)?e:(this.captureException(e,{mechanism:{handled:!1,type:`internal`},data:{__sentry__:!0},originalException:e}),pi(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`))})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===Xr&&this.recordDroppedEvent(`queue_overflow`,t),e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[n,r]=e.split(`:`);return{reason:n,category:r,quantity:t}})}_flushOutcomes(){b&&s.log(`Flushing outcomes...`);let e=this._clearOutcomes();if(e.length===0){b&&s.log(`No outcomes to send`);return}if(!this._dsn){b&&s.log(`No dsn provided, will not send outcomes`);return}b&&s.log(`Sending outcomes:`,e);let t=ii(e,this._options.tunnel&&ce(this._dsn));this.sendEnvelope(t)}};function yi(e){return e===`replay_event`?`replay`:e||`error`}function bi(e,t){let n=`${t} must return \`null\` or a valid event.`;if(u(e))return e.then(e=>{if(!st(e)&&e!==null)throw pi(n);return e},e=>{throw pi(`${t} rejected with ${e}`)});if(!st(e)&&e!==null)throw pi(n);return e}function xi(e,t,n,r){let{beforeSend:i,beforeSendTransaction:a,ignoreSpans:s}=t,c=!p(t.beforeSendSpan)&&t.beforeSendSpan,l=n;if(Si(l)&&i)return i(l,r);if(Ci(l)){if(c||s){let t=oi(l);if(s?.length&&o({description:t.description,op:t.op,attributes:t.data},s))return null;if(c){let e=c(t);e?l=_(n,si(e)):Fe()}if(l.spans){let t=[],n=l.spans;for(let e of n){if(s?.length&&o({description:e.description,op:e.op,attributes:e.data},s)){Le(n,e);continue}if(c){let n=c(e);n?t.push(n):(Fe(),t.push(e))}else t.push(e)}let r=l.spans.length-t.length;r&&e.recordDroppedEvent(`before_send`,`span`,r),l.spans=t}}if(a){if(l.spans){let e=l.spans.length;l.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return a(l,r)}}return l}function Si(e){return e.type===void 0}function Ci(e){return e.type===`transaction`}function wi(e){let t=0;return e.name&&(t+=e.name.length*2),t+=8,t+Ei(e.attributes)}function Ti(e){let t=0;return e.message&&(t+=e.message.length*2),t+Ei(e.attributes)}function Ei(e){if(!e)return 0;let t=0;return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*Di(e[0]):Ce(e)?t+=Di(e):t+=100}),t}function Di(e){return typeof e==`string`?e.length*2:typeof e==`number`?8:typeof e==`boolean`?4:0}function Oi(e,t){return e(t.stack||``,1)}function ki(e){return Ve(e)&&`__sentry_fetch_url_host__`in e&&typeof e.__sentry_fetch_url_host__==`string`}function Ai(e){return ki(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}function ji(e,t){let n={type:t.name||t.constructor.name,value:Ai(t)},r=Oi(e,t);return r.length&&(n.stacktrace={frames:r}),n}function Mi(e,t){t.debug===!0&&(b?s.enable():Re(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),c().update(t.initialScope);let n=new e(t);return Ni(n),n.init(),n}function Ni(e){c().setClient(e)}function Pi(e){`aggregates`in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:`{{auto}}`}):e.ipAddress===void 0&&(e.ipAddress=`{{auto}}`)}function Fi(e,t,n=[t],r=`npm`){let i=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};i.name||(i.name=`sentry.javascript.${t}`,i.packages=n.map(e=>({name:`${r}:@sentry/${e}`,version:le})),i.version=le)}var Ii,Li=`FunctionToString`,Ri=new WeakMap,zi=Nr((()=>({name:Li,setupOnce(){Ii=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=Ye(this),n=Ri.has(ct())&&t!==void 0?t:this;return Ii.apply(n,e)}}catch{}},setup(e){Ri.set(e,!0)}}))),Bi=[/^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$/],Vi=`EventFilters`,Hi=Nr((e={})=>{let t;return{name:Vi,setup(n){t=A(e,n.getOptions())},processEvent(n,r,i){return t||=A(e,i.getOptions()),Ui(n,t)?null:n}}}),k=Nr(((e={})=>({...Hi(e),name:`InboundFilters`})));function A(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:Bi],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function Ui(e,t){if(!e.type){if(Wi(e,t.ignoreErrors))return b&&s.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${ue(e)}`),!0;if(Xi(e))return b&&s.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${ue(e)}`),!0;if(Ki(e,t.denyUrls))return b&&s.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${ue(e)}.\nUrl: ${Yi(e)}`),!0;if(!qi(e,t.allowUrls))return b&&s.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${ue(e)}.\nUrl: ${Yi(e)}`),!0}else if(e.type===`transaction`&&Gi(e,t.ignoreTransactions))return b&&s.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${ue(e)}`),!0;return!1}function Wi(e,t){return t?.length?ai(e).some(e=>Ze(e,t)):!1}function Gi(e,t){if(!t?.length)return!1;let n=e.transaction;return n?Ze(n,t):!1}function Ki(e,t){if(!t?.length)return!1;let n=Yi(e);return n?Ze(n,t):!1}function qi(e,t){if(!t?.length)return!0;let n=Yi(e);return n?Ze(n,t):!0}function Ji(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&n.filename!==`<anonymous>`&&n.filename!==`[native code]`)return n.filename||null}return null}function Yi(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length)?.stacktrace?.frames;return t?Ji(t):null}catch{return b&&s.error(`Cannot extract url for event ${ue(e)}`),null}}function Xi(e){return e.exception?.values?.length?!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&e.type!==`Error`||e.value):!1}function Zi(e,t,n,r,i,a){if(!i.exception?.values||!a||!ye(a.originalException,Error))return;let o=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;o&&(i.exception.values=Qi(e,t,r,a.originalException,n,i.exception.values,o,0))}function Qi(e,t,n,r,i,a,o,s){if(a.length>=n+1)return a;let c=[...a];if(ye(r[i],Error)){ea(o,s,r);let a=e(t,r[i]),l=c.length;ta(a,i,l,s),c=Qi(e,t,n,r[i],i,[a,...c],a,l)}return $i(r)&&r.errors.forEach((a,l)=>{if(ye(a,Error)){ea(o,s,r);let u=e(t,a),d=c.length;ta(u,`errors[${l}]`,d,s),c=Qi(e,t,n,a,i,[u,...c],u,d)}}),c}function $i(e){return Array.isArray(e.errors)}function ea(e,t,n){e.mechanism={handled:!0,type:`auto.core.linked_errors`,...$i(n)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function ta(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:`chained`,source:t,exception_id:n,parent_id:r}}var na=`cause`,ra=5,ia=`LinkedErrors`,aa=Nr(((e={})=>{let t=e.limit||ra,n=e.key||na;return{name:ia,preprocessEvent(e,r,i){Zi(ji,i.getOptions().stackParser,n,t,e,r)}}}));function oa(e){let t=`console`,n=hr(t,e);return gr(t,sa),n}function sa(){`console`in g&&se.forEach(function(e){e in g.console&&Ue(g.console,e,function(t){return Ie[e]=t,function(...t){_r(`console`,{args:t,level:e}),Ie[e]?.apply(g.console,t)}})})}function ca(e){return e===`warn`?`warning`:[`fatal`,`error`,`warning`,`log`,`info`,`debug`].includes(e)?e:`log`}var la=`Dedupe`,ua=Nr((()=>{let e;return{name:la,processEvent(t){if(t.type)return t;try{if(da(t,e))return b&&s.warn(`Event dropped due to being a duplicate of previously captured event.`),null}catch{}return e=t}}}));function da(e,t){return t?!!(fa(e,t)||pa(e,t)):!1}function fa(e,t){let n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!j(e,t)||!ma(e,t))}function pa(e,t){let n=ha(t),r=ha(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!j(e,t)||!ma(e,t))}function ma(e,t){let n=pe(e),r=pe(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function j(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 ha(e){return e.exception?.values?.[0]}function ga(e,t){let n=0;for(let t=e.length-1;t>=0;t--){let r=e[t];r===`.`?e.splice(t,1):r===`..`?(e.splice(t,1),n++):n&&(e.splice(t,1),n--)}if(t)for(;n--;)e.unshift(`..`);return e}var _a=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function va(e){let t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,n=_a.exec(t);return n?n.slice(1):[]}function ya(...e){let t=``,n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let i=r>=0?e[r]:`/`;i&&(t=`${i}/${t}`,n=i.charAt(0)===`/`)}return t=ga(t.split(`/`).filter(e=>!!e),!n).join(`/`),(n?`/`:``)+t||`.`}function ba(e){let t=0;for(;t<e.length&&e[t]===``;t++);let n=e.length-1;for(;n>=0&&e[n]===``;n--);return t>n?[]:e.slice(t,n-t+1)}function xa(e,t){e=ya(e).slice(1),t=ya(t).slice(1);let n=ba(e.split(`/`)),r=ba(t.split(`/`)),i=Math.min(n.length,r.length),a=i;for(let e=0;e<i;e++)if(n[e]!==r[e]){a=e;break}let o=[];for(let e=a;e<n.length;e++)o.push(`..`);return o=o.concat(r.slice(a)),o.join(`/`)}function Sa(e,t){let n=va(e)[2]||``;return t&&n.slice(t.length*-1)===t&&(n=n.slice(0,n.length-t.length)),n}var Ca=`RewriteFrames`,wa=Nr((e={})=>{let t=e.root,n=e.prefix||`app:///`,r=`window`in g&&!!g.window,i=e.iteratee||Ta({isBrowser:r,root:t,prefix:n});function a(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>({...e,...e.stacktrace&&{stacktrace:o(e.stacktrace)}}))}}}catch{return e}}function o(e){return{...e,frames:e?.frames?.map(e=>i(e))}}return{name:Ca,processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=a(t)),t}}});function Ta({isBrowser:e,root:t,prefix:n}){return r=>{if(!r.filename)return r;let i=/^[a-zA-Z]:\\/.test(r.filename)||r.filename.includes(`\\`)&&!r.filename.includes(`/`),a=/^\//.test(r.filename);if(e){if(t){let e=r.filename;e.indexOf(t)===0&&(r.filename=e.replace(t,n))}}else if(i||a){let e=i?r.filename.replace(/^[a-zA-Z]:/,``).replace(/\\/g,`/`):r.filename;r.filename=`${n}${t?xa(t,e):Sa(e)}`}return r}}var Ea=`ConversationId`,Da=Nr((()=>({name:Ea,setup(e){e.on(`spanStart`,e=>{let t=c().getScopeData(),n=v().getScopeData(),r=t.conversationId||n.conversationId;if(r){let{op:t,data:n,description:i}=ne(e);if(!t?.startsWith(`gen_ai.`)&&!n[`ai.operationId`]&&!i?.startsWith(`ai.`))return;e.setAttribute(y,r)}})}})));function Oa(e){if(e!==void 0){if(e>=400&&e<500)return`warning`;if(e>=500)return`error`}}var ka=g;function Aa(){return`history`in ka&&!!ka.history}function ja(){if(!(`fetch`in ka))return!1;try{return new Headers,new Request(`data:,`),new Response,!0}catch{return!1}}function Ma(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function Na(){if(typeof EdgeRuntime==`string`)return!0;if(!ja())return!1;if(Ma(ka.fetch))return!0;let e=!1,t=ka.document;if(t&&typeof t.createElement==`function`)try{let n=t.createElement(`iframe`);n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=Ma(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){b&&s.warn(`Could not create sandbox iframe for pure fetch check, bailing to window.fetch: `,e)}return e}function Pa(e,t){let n=`fetch`,r=hr(n,e);return gr(n,()=>Fa(void 0,t)),r}function Fa(e,t=!1){t&&!Na()||Ue(g,`fetch`,function(t){return function(...n){let r=Error(),{method:i,url:a}=Ra(n),o={args:n,fetchData:{method:i,url:a},startTimestamp:x()*1e3,virtualError:r,headers:za(n)};return e||_r(`fetch`,{...o}),t.apply(g,n).then(async t=>(e?e(t):_r(`fetch`,{...o,endTimestamp:x()*1e3,response:t}),t),e=>{_r(`fetch`,{...o,endTimestamp:x()*1e3,error:e}),Ve(e)&&e.stack===void 0&&(e.stack=r.stack,Pe(e,`framesToPop`,1));let t=ct()?.getOptions().enhanceFetchErrorMessages??`always`;if(t!==!1&&e instanceof TypeError&&(e.message===`Failed to fetch`||e.message===`Load failed`||e.message===`NetworkError when attempting to fetch resource.`))try{let n=new URL(o.fetchData.url).host;t===`always`?e.message=`${e.message} (${n})`:Pe(e,`__sentry_fetch_url_host__`,n)}catch{}throw e})}})}function Ia(e,t){return!!e&&typeof e==`object`&&!!e[t]}function La(e){return typeof e==`string`?e:e?Ia(e,`url`)?e.url:e.toString?e.toString():``:``}function Ra(e){if(e.length===0)return{method:`GET`,url:``};if(e.length===2){let[t,n]=e;return{url:La(t),method:Ia(n,`method`)?String(n.method).toUpperCase():at(t)&&Ia(t,`method`)?String(t.method).toUpperCase():`GET`}}let t=e[0];return{url:La(t),method:Ia(t,`method`)?String(t.method).toUpperCase():`GET`}}function za(e){let[t,n]=e;try{if(typeof n==`object`&&n&&`headers`in n&&n.headers)return new Headers(n.headers);if(at(t))return new Headers(t.headers)}catch{}}function Ba(e,t){let n=Ua(e,t),r={type:Ja(t),value:Ya(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===``&&(r.value=`Unrecoverable error caught`),r}function Va(e,t,n,r){let i=ct()?.getOptions().normalizeDepth,a=no(t),o={__serialized__:fe(t,i)};if(a)return{exception:{values:[Ba(e,a)]},extra:o};let s={exception:{values:[{type:Ae(t)?t.constructor.name:r?`UnhandledRejection`:`Error`,value:eo(t,{isUnhandledRejection:r})}]},extra:o};if(n){let t=Ua(e,n);t.length&&(s.exception.values[0].stacktrace={frames:t})}return s}function Ha(e,t){return{exception:{values:[Ba(e,t)]}}}function Ua(e,t){let n=t.stacktrace||t.stack||``,r=Ga(t),i=Ka(t);try{return e(n,r,i)}catch{}return[]}var Wa=/Minified React error #\d+;/i;function Ga(e){return e&&Wa.test(e.message)?1:0}function Ka(e){return typeof e.framesToPop==`number`?e.framesToPop:0}function qa(e){return typeof WebAssembly<`u`&&WebAssembly.Exception!==void 0?e instanceof WebAssembly.Exception:!1}function Ja(e){let t=e?.name;return!t&&qa(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:`WebAssembly.Exception`:t}function Ya(e){let t=e?.message;return qa(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:`wasm exception`:t?t.error&&typeof t.error.message==`string`?Ai(t.error):Ai(e):`No error message`}function Xa(e,t,n,r){let i=Qa(e,t,n?.syntheticException||void 0,r);return ge(i),i.level=`error`,n?.event_id&&(i.event_id=n.event_id),We(i)}function Za(e,t,n=`info`,r,i){let a=$a(e,t,r?.syntheticException||void 0,i);return a.level=n,r?.event_id&&(a.event_id=r.event_id),We(a)}function Qa(e,t,n,r,i){let a;if(Me(t)&&t.error)return Ha(e,t.error);if(Oe(t)||Ge(t)){let i=t;if(`stack`in t)a=Ha(e,t);else{let t=i.name||(Oe(i)?`DOMError`:`DOMException`),o=i.message?`${t}: ${i.message}`:t;a=$a(e,o,n,r),w(a,o)}return`code`in i&&(a.tags={...a.tags,"DOMException.code":`${i.code}`}),a}return Ve(t)?Ha(e,t):st(t)||Ae(t)?(a=Va(e,t,n,i),ge(a,{synthetic:!0}),a):(a=$a(e,t,n,r),w(a,`${t}`,void 0),ge(a,{synthetic:!0}),a)}function $a(e,t,n,r){let i={};if(r&&n){let r=Ua(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),ge(i,{synthetic:!0})}if(tt(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}function eo(e,{isUnhandledRejection:t}){let n=xe(e),r=t?`promise rejection`:`exception`;return Me(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:Ae(e)?`Event \`${to(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function to(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function no(e){return Object.values(e).find(e=>e instanceof Error)}var ro=class extends vi{constructor(e){let t=io(e);Fi(t,`browser`,[`browser`],T.SENTRY_SDK_SOURCE||Fr()),t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:t.sendDefaultPii?`auto`:`never`,...t._metadata.sdk.settings}),super(t);let{sendDefaultPii:n,sendClientReports:r,enableLogs:i,_experiments:a,enableMetrics:o}=this._options,s=o??a?.enableMetrics??!0;T.document&&(r||i||s)&&T.document.addEventListener(`visibilitychange`,()=>{T.document.visibilityState===`hidden`&&(r&&this._flushOutcomes(),i&&Vr(this),s&&Kr(this))}),n&&this.on(`beforeSendSession`,Pi)}eventFromException(e,t){return Xa(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t=`info`,n){return Za(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||`javascript`,super._prepareEvent(e,t,n,r)}};function io(e){return{release:typeof __SENTRY_RELEASE__==`string`?__SENTRY_RELEASE__:T.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}var ao=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,oo=g,so=1e3,co,lo,uo;function fo(e){hr(`dom`,e),gr(`dom`,po)}function po(){if(!oo.document)return;let e=_r.bind(null,`dom`),t=go(e,!0);oo.document.addEventListener(`click`,t,!1),oo.document.addEventListener(`keypress`,t,!1),[`EventTarget`,`Node`].forEach(t=>{let n=oo[t]?.prototype;n?.hasOwnProperty?.(`addEventListener`)&&(Ue(n,`addEventListener`,function(t){return function(n,r,i){if(n===`click`||n==`keypress`)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=r[n]=r[n]||{refCount:0};if(!a.handler){let r=go(e);a.handler=r,t.call(this,n,r,i)}a.refCount++}catch{}return t.call(this,n,r,i)}}),Ue(n,`removeEventListener`,function(e){return function(t,n,r){if(t===`click`||t==`keypress`)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),Object.keys(n).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function mo(e){if(e.type!==lo)return!1;try{if(!e.target||e.target._sentryId!==uo)return!1}catch{}return!0}function ho(e,t){return e===`keypress`?t?.tagName?!(t.tagName===`INPUT`||t.tagName===`TEXTAREA`||t.isContentEditable):!0:!1}function go(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;let r=_o(n);if(ho(n.type,r))return;Pe(n,`_sentryCaptured`,!0),r&&!r._sentryId&&Pe(r,`_sentryId`,a());let i=n.type===`keypress`?`input`:n.type;mo(n)||(e({event:n,name:i,global:t}),lo=n.type,uo=r?r._sentryId:void 0),clearTimeout(co),co=oo.setTimeout(()=>{uo=void 0,lo=void 0},so)}}function _o(e){try{return e.target}catch{return null}}var M;function vo(e){let t=`history`;hr(t,e),gr(t,yo)}function yo(){if(oo.addEventListener(`popstate`,()=>{let e=oo.location.href,t=M;M=e,t!==e&&_r(`history`,{from:t,to:e})}),!Aa())return;function e(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let r=M,i=N(String(n));if(M=i,r===i)return e.apply(this,t);_r(`history`,{from:r,to:i})}return e.apply(this,t)}}Ue(oo.history,`pushState`,e),Ue(oo.history,`replaceState`,e)}function N(e){try{return new URL(e,oo.location.origin).toString()}catch{return e}}var P={};function F(e){let t=P[e];if(t)return t;let n=oo[e];if(Ma(n))return P[e]=n.bind(oo);let r=oo.document;if(r&&typeof r.createElement==`function`)try{let t=r.createElement(`iframe`);t.hidden=!0,r.head.appendChild(t);let i=t.contentWindow;i?.[e]&&(n=i[e]),r.head.removeChild(t)}catch(t){ao&&s.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n&&(P[e]=n.bind(oo))}function bo(e){P[e]=void 0}var xo=`__sentry_xhr_v3__`;function So(e){hr(`xhr`,e),gr(`xhr`,Co)}function Co(){if(!oo.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),i=x()*1e3,a=de(n[0])?n[0].toUpperCase():void 0,o=wo(n[1]);if(!a||!o)return e.apply(t,n);t[xo]={method:a,url:o,request_headers:{}},a===`POST`&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let s=()=>{let e=t[xo];if(e&&t.readyState===4){try{e.status_code=t.status}catch{}_r(`xhr`,{endTimestamp:x()*1e3,startTimestamp:i,xhr:t,virtualError:r})}};return`onreadystatechange`in t&&typeof t.onreadystatechange==`function`?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply(e,t,n){return s(),e.apply(t,n)}}):t.addEventListener(`readystatechange`,s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,i]=n,a=t[xo];return a&&de(r)&&de(i)&&(a.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[xo];return r?(n[0]!==void 0&&(r.body=n[0]),_r(`xhr`,{startTimestamp:x()*1e3,xhr:t}),e.apply(t,n)):e.apply(t,n)}})}function wo(e){if(de(e))return e;try{return e.toString()}catch{}}var To=40;function Eo(e,t=F(`fetch`)){let n=0,r=0;async function i(i){let a=i.body.length;n+=a,r++;let o={body:i.body,method:`POST`,referrerPolicy:`strict-origin`,headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{let n=await t(e.url,o);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get(`X-Sentry-Rate-Limits`),"retry-after":n.headers.get(`Retry-After`)}}}catch(e){throw bo(`fetch`),e}finally{n-=a,r--}}return ri(e,i,Zr(e.bufferSize||To))}var I=30,Do=50;function Oo(e,t,n,r){let i={filename:e,function:t===`<anonymous>`?`?`:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}var ko=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Ao=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,jo=/\((\S*)(?::(\d+))(?::(\d+))\)/,Mo=/at (.+?) ?\(data:(.+?),/,No=[I,e=>{let t=e.match(Mo);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};let n=ko.exec(e);if(n){let[,e,t,r]=n;return Oo(e,`?`,+t,+r)}let r=Ao.exec(e);if(r){if(r[2]?.indexOf(`eval`)===0){let e=jo.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}let[e,t]=Io(r[1]||`?`,r[2]);return Oo(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],Po=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Fo=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,L=rt(No,[Do,e=>{let t=Po.exec(e);if(t){if(t[3]&&t[3].indexOf(` > eval`)>-1){let e=Fo.exec(t[3]);e&&(t[1]=t[1]||`eval`,t[3]=e[1],t[4]=e[2],t[5]=``)}let e=t[3],n=t[1]||`?`;return[n,e]=Io(n,e),Oo(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),Io=(e,t)=>{let 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]},Lo=1024,Ro=`Breadcrumbs`,zo=Nr(((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:Ro,setup(e){t.console&&oa(Ho(e)),t.dom&&fo(Vo(e,t.dom)),t.xhr&&So(Uo(e)),t.fetch&&Pa(Wo(e)),t.history&&vo(Go(e)),t.sentry&&e.on(`beforeSendEvent`,Bo(e))}}}));function Bo(e){return function(t){ct()===e&&E({category:`sentry.${t.type===`transaction`?`transaction`:`event`}`,event_id:t.event_id,level:t.level,message:ue(t)},{event:t})}}function Vo(e,t){return function(n){if(ct()!==e)return;let r,i,a=typeof t==`object`?t.serializeAttribute:void 0,o=typeof t==`object`&&typeof t.maxStringLength==`number`?t.maxStringLength:void 0;o&&o>Lo&&(pt&&s.warn(`\`dom.maxStringLength\` cannot exceed ${Lo}, but a value of ${o} was configured. Sentry will use ${Lo} instead.`),o=Lo),typeof a==`string`&&(a=[a]);try{let e=n.event,t=Ko(e)?e.target:e;r=Te(t,{keyAttrs:a,maxStringLength:o}),i=Be(t)}catch{r=`<unknown>`}if(r.length===0)return;let c={category:`ui.${n.name}`,message:r};i&&(c.data={"ui.component_name":i}),E(c,{event:n.event,name:n.name,global:n.global})}}function Ho(e){return function(t){if(ct()!==e)return;let n={category:`console`,data:{arguments:t.args,logger:`console`},level:ca(t.level),message:Ee(t.args,` `)};if(t.level===`assert`)if(t.args[0]===!1)n.message=`Assertion failed: ${Ee(t.args.slice(1),` `)||`console.assert`}`,n.data.arguments=t.args.slice(1);else return;E(n,{input:t.args,level:t.level})}}function Uo(e){return function(t){if(ct()!==e)return;let{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[xo];if(!n||!r||!i)return;let{method:a,url:o,status_code:s,body:c}=i,l={method:a,url:o,status_code:s},u={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r},d={category:`xhr`,data:l,type:`http`,level:Oa(s)};e.emit(`beforeOutgoingRequestBreadcrumb`,d,u),E(d,u)}}function Wo(e){return function(t){if(ct()!==e)return;let{startTimestamp:n,endTimestamp:r}=t;if(r&&!(t.fetchData.url.match(/sentry_key/)&&t.fetchData.method===`POST`))if(t.error){let i={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},a={category:`fetch`,data:t.fetchData,level:`error`,type:`http`};e.emit(`beforeOutgoingRequestBreadcrumb`,a,i),E(a,i)}else{let i=t.response,a={...t.fetchData,status_code:i?.status},o={input:t.args,response:i,startTimestamp:n,endTimestamp:r},s={category:`fetch`,data:a,type:`http`,level:Oa(a.status_code)};e.emit(`beforeOutgoingRequestBreadcrumb`,s,o),E(s,o)}}}function Go(e){return function(t){if(ct()!==e)return;let n=t.from,r=t.to,i=wr(T.location.href),a=n?wr(n):void 0,o=wr(r);a?.path||(a=i),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),E({category:`navigation`,data:{from:n,to:r}})}}function Ko(e){return!!e&&!!e.target}var qo=`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(`,`),Jo=`BrowserApiErrors`,Yo=Nr(((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:Jo,setupOnce(){t.setTimeout&&Ue(T,`setTimeout`,Xo),t.setInterval&&Ue(T,`setInterval`,Xo),t.requestAnimationFrame&&Ue(T,`requestAnimationFrame`,Zo),t.XMLHttpRequest&&`XMLHttpRequest`in T&&Ue(XMLHttpRequest.prototype,`send`,Qo);let e=t.eventTarget;e&&(Array.isArray(e)?e:qo).forEach(e=>$o(e,t))}}}));function Xo(e){return function(...t){let n=t[0];return t[0]=ht(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${m(e)}`}}),e.apply(this,t)}}function Zo(e){return function(t){return e.apply(this,[ht(t,{mechanism:{data:{handler:m(e)},handled:!1,type:`auto.browser.browserapierrors.requestAnimationFrame`}})])}}function Qo(e){return function(...t){let n=this;return[`onload`,`onerror`,`onprogress`,`onreadystatechange`].forEach(e=>{e in n&&typeof n[e]==`function`&&Ue(n,e,function(t){let n={mechanism:{data:{handler:m(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=Ye(t);return r&&(n.mechanism.data.handler=m(r)),ht(t,n)})}),e.apply(this,t)}}function $o(e,t){let n=T[e]?.prototype;n?.hasOwnProperty?.(`addEventListener`)&&(Ue(n,`addEventListener`,function(n){return function(r,i,a){try{es(i)&&(i.handleEvent=ht(i.handleEvent,{mechanism:{data:{handler:m(i),target:e},handled:!1,type:`auto.browser.browserapierrors.handleEvent`}}))}catch{}return t.unregisterOriginalCallbacks&&ts(this,r,i),n.apply(this,[r,ht(i,{mechanism:{data:{handler:m(i),target:e},handled:!1,type:`auto.browser.browserapierrors.addEventListener`}}),a])}}),Ue(n,`removeEventListener`,function(e){return function(t,n,r){try{let i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}catch{}return e.call(this,t,n,r)}}))}function es(e){return typeof e.handleEvent==`function`}function ts(e,t,n){e&&typeof e==`object`&&`removeEventListener`in e&&typeof e.removeEventListener==`function`&&e.removeEventListener(t,n)}var ns=Nr((e={})=>{let t=e.lifecycle??`route`;return{name:`BrowserSession`,setupOnce(){if(T.document===void 0){pt&&s.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}Qe({ignoreDuration:!0}),Je();let e=v(),n=e.getUser();e.addScopeListener(e=>{let t=e.getUser();(n?.id!==t?.id||n?.ip_address!==t?.ip_address)&&(Je(),n=t)}),t===`route`&&vo(({from:e,to:t})=>{e!==t&&(Qe({ignoreDuration:!0}),Je())})}}}),rs=`CultureContext`,is=Nr((()=>({name:rs,preprocessEvent(e){let t=as();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})},processSegmentSpan(e){let t=as();t&&Er(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}})));function as(){try{let e=T.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}var os=`GlobalHandlers`,ss=Nr(((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:os,setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(cs(e),ps(`onerror`)),t.onunhandledrejection&&(ls(e),ps(`onunhandledrejection`))}}}));function cs(e){yr(t=>{let{stackParser:n,attachStacktrace:r}=ms();if(ct()!==e||ft())return;let{msg:i,url:a,line:o,column:s,error:c}=t,l=fs(Qa(n,c||i,void 0,r,!1),a,o,s);l.level=`error`,Ne(l,{originalException:c,mechanism:{handled:!1,type:`auto.browser.global_handlers.onerror`}})})}function ls(e){Sr(t=>{let{stackParser:n,attachStacktrace:r}=ms();if(ct()!==e||ft())return;let i=us(t),a=Ce(i)?ds(i):Qa(n,i,void 0,r,!0);a.level=`error`,Ne(a,{originalException:i,mechanism:{handled:!1,type:`auto.browser.global_handlers.onunhandledrejection`}})})}function us(e){if(Ce(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 ds(e){return{exception:{values:[{type:`UnhandledRejection`,value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function fs(e,t,n,r){let i=e.exception=e.exception||{},a=i.values=i.values||[],o=a[0]=a[0]||{},s=o.stacktrace=o.stacktrace||{},c=s.frames=s.frames||[];return c.length===0&&c.push({colno:r,lineno:n,filename:hs(t)??$e(),function:`?`,in_app:!0}),e}function ps(e){pt&&s.log(`Global Handler attached: ${e}`)}function ms(){return ct()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function hs(e){if(!(!de(e)||e.length===0))return e.startsWith(`data:`)?`<${Tr(e,!1)}>`:e}var gs=Nr(()=>({name:`HttpContext`,preprocessEvent(e){if(!T.navigator&&!T.location&&!T.document)return;let t=ut(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}},processSegmentSpan(e){if(!T.navigator&&!T.location&&!T.document)return;let t=ut();Er(e,{"url.full":t.url||void 0,"http.request.header.user_agent":t.headers[`User-Agent`],"http.request.header.referer":t.headers.Referer})}})),_s=`cause`,vs=5,ys=`LinkedErrors`,bs=Nr(((e={})=>{let t=e.limit||vs,n=e.key||_s;return{name:ys,preprocessEvent(e,r,i){Zi(Ba,i.getOptions().stackParser,n,t,e,r)}}}));function xs(){return Ss()?(pt&&Re(()=>{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 Ss(){if(T.window===void 0)return!1;let e=T;if(e.nw||!(e.chrome||e.browser)?.runtime?.id)return!1;let t=$e();return!(T===T.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(t))}function Cs(e){return[k(),zi(),Da(),Yo(),zo(),ss(),bs(),ua(),gs(),is(),ns()]}function ws(e={}){let t=!e.skipBrowserExtensionCheck&&xs(),n=e.defaultIntegrations==null?Cs():e.defaultIntegrations;return Mi(ro,{...e,enabled:t?!1:e.enabled,stackParser:f(e.stackParser||L),integrations:kr({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||Eo})}var Ts=e(gt());function Es(e){let t={...e};return Fi(t,`react`),ze(`react`,{version:Ts.version}),ws(t)}var Ds=t((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,ee||(ee=!0,oe());else{var t=n(l);t!==null&&le(x,t.startTime-e)}}var ee=!1,te=-1,ne=5,re=-1;function ie(){return g?!0:!(e.unstable_now()-re<ne)}function ae(){if(g=!1,ee){var t=e.unstable_now();re=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(te),te=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&ie());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&le(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?oe():ee=!1}}}var oe;if(typeof y==`function`)oe=function(){y(ae)};else if(typeof MessageChannel<`u`){var se=new MessageChannel,ce=se.port2;se.port1.onmessage=ae,oe=function(){ce.postMessage(null)}}else oe=function(){_(ae,0)};function le(t,n){te=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):ne=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(te),te=-1):h=!0,le(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,ee||(ee=!0,oe()))),r},e.unstable_shouldYield=ie,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),Os=t(((e,t)=>{t.exports=Ds()})),ks=t((e=>{var t=Os(),n=gt(),r=_t();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function d(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=d(e),t!==null)return t;e=e.sibling}return null}var f=Object.assign,p=Symbol.for(`react.element`),m=Symbol.for(`react.transitional.element`),h=Symbol.for(`react.portal`),g=Symbol.for(`react.fragment`),_=Symbol.for(`react.strict_mode`),v=Symbol.for(`react.profiler`),y=Symbol.for(`react.consumer`),b=Symbol.for(`react.context`),x=Symbol.for(`react.forward_ref`),ee=Symbol.for(`react.suspense`),te=Symbol.for(`react.suspense_list`),ne=Symbol.for(`react.memo`),re=Symbol.for(`react.lazy`),ie=Symbol.for(`react.activity`),ae=Symbol.for(`react.memo_cache_sentinel`),oe=Symbol.iterator;function se(e){return typeof e!=`object`||!e?null:(e=oe&&e[oe]||e[`@@iterator`],typeof e==`function`?e:null)}var ce=Symbol.for(`react.client.reference`);function le(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===ce?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case g:return`Fragment`;case v:return`Profiler`;case _:return`StrictMode`;case ee:return`Suspense`;case te:return`SuspenseList`;case ie:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case h:return`Portal`;case b:return e.displayName||`Context`;case y:return(e._context.displayName||`Context`)+`.Consumer`;case x:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case ne:return t=e.displayName||null,t===null?le(e.type)||`Memo`:t;case re:t=e._payload,e=e._init;try{return le(e(t))}catch{}}return null}var ue=Array.isArray,S=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,de={pending:!1,data:null,method:null,action:null},fe=[],pe=-1;function me(e){return{current:e}}function he(e){0>pe||(e.current=fe[pe],fe[pe]=null,pe--)}function w(e,t){pe++,fe[pe]=e.current,e.current=t}var ge=me(null),_e=me(null),ve=me(null),ye=me(null);function be(e,t){switch(w(ve,t),w(_e,e),w(ge,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Vd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Vd(t),e=Hd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}he(ge),w(ge,e)}function xe(){he(ge),he(_e),he(ve)}function Se(e){e.memoizedState!==null&&w(ye,e);var t=ge.current,n=Hd(t,e.type);t!==n&&(w(_e,e),w(ge,n))}function Ce(e){_e.current===e&&(he(ge),he(_e)),ye.current===e&&(he(ye),Qf._currentValue=de)}var we,Te;function Ee(e){if(we===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);we=t&&t[1]||``,Te=-1<e.stack.indexOf(`
3
3
  at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
4
4
  `+we+e+Te}var De=!1;function Oe(e,t){if(!e||De)return``;De=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,`props`,{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,`name`,{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
5
5
  `),l=s.split(`