PageSourceSearch

https://www.maestro.io/static/js/app.7a69c71.js

js maestro.io collected 2026-09-24 18:23:56 UTC 138,402 bytes, 330 lines download raw bytes

1(function(){try{var x=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new x.Error().stack;e&&(x._sentryDebugIds=x._sentryDebugIds||{},x._sentryDebugIds[e]="52a87c41-a26f-4377-8934-6b50d8622352",x._sentryDebugIdIdentifier="sentry-dbid-52a87c41-a26f-4377-8934-6b50d8622352")}catch{}})();var _global=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};_global.SENTRY_RELEASE={id:"6b3b5bcd49ac3ca4e22832378da81add8169a867"},(self.webpackChunk_maestro_io_client=self.webpackChunk_maestro_io_client||[]).push([[9282],{407509:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(289375),n=r(389615),a=t.GLOBAL_OBJ,T="#ffffff",d="inherit",y="rgba(108, 95, 199, 1)",v={fontFamily:"system-ui, 'Helvetica Neue', Arial, sans-serif",fontSize:"14px",background:T,backgroundHover:"#f6f6f7",foreground:"#2b2233",border:"1.5px solid rgba(41, 35, 47, 0.13)",borderRadius:"25px",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",success:"#268d75",error:"#df3338",submitBackground:"rgba(88, 74, 192, 1)",submitBackgroundHover:y,submitBorder:y,submitOutlineFocus:"#29232f",submitForeground:T,submitForegroundHover:T,cancelBackground:"transparent",cancelBackgroundHover:"var(--background-hover)",cancelBorder:"var(--border)",cancelOutlineFocus:"var(--input-outline-focus)",cancelForeground:"var(--foreground)",cancelForegroundHover:"var(--foreground)",inputBackground:d,inputForeground:d,inputBorder:"var(--border)",inputOutlineFocus:y,formBorderRadius:"20px",formContentBorderRadius:"6px"},u={light:v,dark:{...v,background:"#29232f",backgroundHover:"#352f3b",foreground:"#ebe6ef",border:"1.5px solid rgba(235, 230, 239, 0.15)",success:"#2da98c",error:"#f55459"}},b="Report a Bug",f="Cancel",E="Send Bug Report",I="Report a Bug",p="[email protected]",C="Email",O="What's the bug? What did you expect?",m="Description",i="Your Name",o="Name",s="(required)",c="Thank you for your report!",g="widget",h="api";async function A({client:P,scope:L,event:_}){const Y={};P.emit&&P.emit("preprocessEvent",_,Y);const J=await n.prepareEvent(P.getOptions(),_,Y,L,P,n.getIsolationScope());return J===null?(P.recordDroppedEvent("event_processor","feedback",_),null):(J.platform=J.platform||"javascript",J)}async function R({feedback:{message:P,email:L,name:_,source:Y,url:J}},{includeReplay:Z=!0}={}){const Q=n.getClient(),me=Q&&Q.getTransport(),ce=Q&&Q.getDsn();if(!Q||!me||!ce)return;const pe={contexts:{feedback:{contact_email:L,name:_,message:P,url:J,source:Y}},type:"feedback"};return n.withScope(async de=>{de.clearBreadcrumbs(),[h,g].includes(String(Y))&&de.setLevel("info");const be=await A({scope:de,client:Q,event:pe});if(!be)return;Q.emit&&Q.emit("beforeSendFeedback",be,{includeReplay:!!Z});const Te=n.createEventEnvelope(be,ce,Q.getOptions()._metadata,Q.getOptions().tunnel);let he;try{he=await me.send(Te)}catch(Ee){const ve=new Error("Unable to send Feedback");try{ve.cause=Ee}catch{}throw ve}if(he){if(typeof he.statusCode=="number"&&(he.statusCode<200||he.statusCode>=300))throw new Error("Unable to send Feedback");return he}})}function D({name:P,email:L,message:_,source:Y=h,url:J=t.getLocationHref()},Z={}){if(!_)throw new Error("Unable to submit feedback with empty message");return R({feedback:{name:P,email:L,message:_,url:J,source:Y}},Z)}const U=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function H(P,L){return{...P,...L,themeDark:{...P.themeDark,...L.themeDark},themeLight:{...P.themeLight,...L.themeLight}}}function K(P){const L=P.createElement("style");return L.textContent=`
2.widget__actor {
3  position: fixed;
4  left: var(--left);
5  right: var(--right);
6  bottom: var(--bottom);
7  top: var(--top);
8  z-index: var(--z-index);
9
10  line-height: 16px;
11
12  display: flex;
13  align-items: center;
14  gap: 8px;
15
16  border-radius: var(--border-radius);
17  cursor: pointer;
18  font-family: inherit;
19  font-size: var(--font-size);
20  font-weight: 600;
21  padding: 16px;
22  text-decoration: none;
23  z-index: 9000;
24
25  color: var(--foreground);
26  background-color: var(--background);
27  border: var(--border);
28  box-shadow: var(--box-shadow);
29  opacity: 1;
30  transition: opacity 0.1s ease-in-out;
31}
32
33.widget__actor:hover {
34  background-color: var(--background-hover);
35}
36
37.widget__actor svg {
38  width: 16px;
39  height: 16px;
40}
41
42.widget__actor--hidden {
43  opacity: 0;
44  pointer-events: none;
45  visibility: hidden;
46}
47
48.widget__actor__text {
49}
50
51@media (max-width: 600px) {
52  .widget__actor__text {
53    display: none;
54  }
55}
56
57.feedback-icon path {
58  fill: var(--foreground);
59}
60`,L}function G(P){const L=P.createElement("style");return L.textContent=`
61.dialog {
62  line-height: 25px;
63  background-color: rgba(0, 0, 0, 0.05);
64  border: none;
65  position: fixed;
66  inset: 0;
67  z-index: 10000;
68  width: 100vw;
69  height: 100vh;
70  display: flex;
71  align-items: center;
72  justify-content: center;
73  opacity: 1;
74  transition: opacity 0.2s ease-in-out;
75}
76
77.dialog:not([open]) {
78  opacity: 0;
79  pointer-events: none;
80  visibility: hidden;
81}
82.dialog:not([open]) .dialog__content {
83  transform: translate(0, -16px) scale(0.98);
84}
85
86.dialog__content {
87  position: fixed;
88  left: var(--left);
89  right: var(--right);
90  bottom: var(--bottom);
91  top: var(--top);
92
93  border: var(--border);
94  border-radius: var(--form-border-radius);
95  background-color: var(--background);
96  color: var(--foreground);
97
98  width: 320px;
99  max-width: 100%;
100  max-height: calc(100% - 2rem);
101  display: flex;
102  flex-direction: column;
103  box-shadow: var(--box-shadow);
104  transition: transform 0.2s ease-in-out;
105  transform: translate(0, 0) scale(1);
106}
107
108.dialog__header {
109  display: flex;
110  align-items: center;
111  justify-content: space-between;
112  font-size: 20px;
113  font-weight: 600;
114  padding: 24px 24px 0 24px;
115  margin: 0;
116  margin-bottom: 16px;
117}
118
119.brand-link {
120  display: inline-flex;
121}
122
123.error {
124  color: var(--error);
125  margin-bottom: 16px;
126}
127
128.form {
129  display: grid;
130  overflow: auto;
131  flex-direction: column;
132  gap: 16px;
133  padding: 0 24px 24px;
134}
135
136.form__error-container {
137  color: var(--error);
138}
139
140.form__error-container--hidden {
141  display: none;
142}
143
144.form__label {
145  display: flex;
146  flex-direction: column;
147  gap: 4px;
148  margin: 0px;
149}
150
151.form__label__text {
152  display: grid;
153  gap: 4px;
154  align-items: center;
155  grid-auto-flow: column;
156  grid-auto-columns: max-content;
157}
158
159.form__label__text--required {
160  font-size: 0.85em;
161}
162
163.form__input {
164  line-height: inherit;
165  background-color: var(--input-background);
166  box-sizing: border-box;
167  border: var(--input-border);
168  border-radius: var(--form-content-border-radius);
169  color: var(--input-foreground);
170  font-family: inherit;
171  font-size: var(--font-size);
172  font-weight: 500;
173  padding: 6px 12px;
174}
175
176.form__input::placeholder {
177  color: var(--input-foreground);
178  opacity: 0.65;
179}
180
181.form__input:focus-visible {
182  outline: 1px auto var(--input-outline-focus);
183}
184
185.form__input--textarea {
186  font-family: inherit;
187  resize: vertical;
188}
189
190.btn-group {
191  display: grid;
192  gap: 8px;
193  margin-top: 8px;
194}
195
196.btn {
197  line-height: inherit;
198  border: var(--cancel-border);
199  border-radius: var(--form-content-border-radius);
200  cursor: pointer;
201  font-family: inherit;
202  font-size: var(--font-size);
203  font-weight: 600;
204  padding: 6px 16px;
205}
206.btn[disabled] {
207  opacity: 0.6;
208  pointer-events: none;
209}
210
211.btn--primary {
212  background-color: var(--submit-background);
213  border-color: var(--submit-border);
214  color: var(--submit-foreground);
215}
216.btn--primary:hover {
217  background-color: var(--submit-background-hover);
218  color: var(--submit-foreground-hover);
219}
220.btn--primary:focus-visible {
221  outline: 1px auto var(--submit-outline-focus);
222}
223
224.btn--default {
225  background-color: var(--cancel-background);
226  color: var(--cancel-foreground);
227  font-weight: 500;
228}
229.btn--default:hover {
230  background-color: var(--cancel-background-hover);
231  color: var(--cancel-foreground-hover);
232}
233.btn--default:focus-visible {
234  outline: 1px auto var(--cancel-outline-focus);
235}
236
237.success-message {
238  background-color: var(--background);
239  border: var(--border);
240  border-radius: var(--border-radius);
241  box-shadow: var(--box-shadow);
242  font-weight: 600;
243  color: var(--success);
244  padding: 12px 24px;
245  line-height: 25px;
246  display: grid;
247  align-items: center;
248  grid-auto-flow: column;
249  gap: 6px;
250  cursor: default;
251}
252
253.success-icon path {
254  fill: var(--success);
255}
256`,L}function W(P){return`
257  --background: ${P.background};
258  --background-hover: ${P.backgroundHover};
259  --foreground: ${P.foreground};
260  --error: ${P.error};
261  --success: ${P.success};
262  --border: ${P.border};
263  --border-radius: ${P.borderRadius};
264  --box-shadow: ${P.boxShadow};
265
266  --submit-background: ${P.submitBackground};
267  --submit-background-hover: ${P.submitBackgroundHover};
268  --submit-border: ${P.submitBorder};
269  --submit-outline-focus: ${P.submitOutlineFocus};
270  --submit-foreground: ${P.submitForeground};
271  --submit-foreground-hover: ${P.submitForegroundHover};
272
273  --cancel-background: ${P.cancelBackground};
274  --cancel-background-hover: ${P.cancelBackgroundHover};
275  --cancel-border: ${P.cancelBorder};
276  --cancel-outline-focus: ${P.cancelOutlineFocus};
277  --cancel-foreground: ${P.cancelForeground};
278  --cancel-foreground-hover: ${P.cancelForegroundHover};
279
280  --input-background: ${P.inputBackground};
281  --input-foreground: ${P.inputForeground};
282  --input-border: ${P.inputBorder};
283  --input-outline-focus: ${P.inputOutlineFocus};
284
285  --form-border-radius: ${P.formBorderRadius};
286  --form-content-border-radius: ${P.formContentBorderRadius};
287  `}function q(P,L,_){const Y=P.createElement("style");return Y.textContent=`
288:host {
289  --bottom: 1rem;
290  --right: 1rem;
291  --top: auto;
292  --left: auto;
293  --z-index: 100000;
294  --font-family: ${_.light.fontFamily};
295  --font-size: ${_.light.fontSize};
296
297  position: fixed;
298  left: var(--left);
299  right: var(--right);
300  bottom: var(--bottom);
301  top: var(--top);
302  z-index: var(--z-index);
303
304  font-family: var(--font-family);
305  font-size: var(--font-size);
306
307  ${W(L==="dark"?_.dark:_.light)}
308}
309
310${L==="system"?`
311@media (prefers-color-scheme: dark) {
312  :host {
313    ${W(_.dark)}
314  }
315}`:""}
316}`,Y}function k({id:P,colorScheme:L,themeDark:_,themeLight:Y}){try{const J=a.document,Z=J.createElement("div");Z.id=P;const Q=Z.attachShadow({mode:"open"});return Q.appendChild(q(J,L,{dark:_,light:Y})),Q.appendChild(G(J)),{shadow:Q,host:Z}}catch{throw t.logger.warn("[Feedback] Browser does not support shadow DOM API"),new Error("Browser does not support shadow DOM API.")}}async function V(P,L,_){if(!P)return;const Y=()=>{P&&P.showError("There was a problem submitting feedback, please wait and try again.")};P.hideError();try{return await D({...L,source:g},_)}catch(J){U&&t.logger.error(J),Y()}}function z(P,L){return Object.entries(L).forEach(([_,Y])=>{P.setAttributeNS(null,_,Y)}),P}const ne=20,se="http://www.w3.org/2000/svg";function w(){const P=me=>a.document.createElementNS(se,me),L=z(P("svg"),{class:"feedback-icon",width:`${ne}`,height:`${ne}`,viewBox:`0 0 ${ne} ${ne}`,fill:"none"}),_=z(P("g"),{clipPath:"url(#clip0_57_80)"}),Y=z(P("path"),{["fill-rule"]:"evenodd",["clip-rule"]:"evenodd",d:"M15.6622 15H12.3997C12.2129 14.9959 12.031 14.9396 11.8747 14.8375L8.04965 12.2H7.49956V19.1C7.4875 19.3348 7.3888 19.5568 7.22256 19.723C7.05632 19.8892 6.83435 19.9879 6.59956 20H2.04956C1.80193 19.9968 1.56535 19.8969 1.39023 19.7218C1.21511 19.5467 1.1153 19.3101 1.11206 19.0625V12.2H0.949652C0.824431 12.2017 0.700142 12.1783 0.584123 12.1311C0.468104 12.084 0.362708 12.014 0.274155 11.9255C0.185602 11.8369 0.115689 11.7315 0.0685419 11.6155C0.0213952 11.4995 -0.00202913 11.3752 -0.00034808 11.25V3.75C-0.00900498 3.62067 0.0092504 3.49095 0.0532651 3.36904C0.0972798 3.24712 0.166097 3.13566 0.255372 3.04168C0.344646 2.94771 0.452437 2.87327 0.571937 2.82307C0.691437 2.77286 0.82005 2.74798 0.949652 2.75H8.04965L11.8747 0.1625C12.031 0.0603649 12.2129 0.00407221 12.3997 0H15.6622C15.9098 0.00323746 16.1464 0.103049 16.3215 0.278167C16.4966 0.453286 16.5964 0.689866 16.5997 0.9375V3.25269C17.3969 3.42959 18.1345 3.83026 18.7211 4.41679C19.5322 5.22788 19.9878 6.32796 19.9878 7.47502C19.9878 8.62209 19.5322 9.72217 18.7211 10.5333C18.1345 11.1198 17.3969 11.5205 16.5997 11.6974V14.0125C16.6047 14.1393 16.5842 14.2659 16.5395 14.3847C16.4948 14.5035 16.4268 14.6121 16.3394 14.7042C16.252 14.7962 16.147 14.8698 16.0307 14.9206C15.9144 14.9714 15.7891 14.9984 15.6622 15ZM1.89695 10.325H1.88715V4.625H8.33715C8.52423 4.62301 8.70666 4.56654 8.86215 4.4625L12.6872 1.875H14.7247V13.125H12.6872L8.86215 10.4875C8.70666 10.3835 8.52423 10.327 8.33715 10.325H2.20217C2.15205 10.3167 2.10102 10.3125 2.04956 10.3125C1.9981 10.3125 1.94708 10.3167 1.89695 10.325ZM2.98706 12.2V18.1625H5.66206V12.2H2.98706ZM16.5997 9.93612V5.01393C16.6536 5.02355 16.7072 5.03495 16.7605 5.04814C17.1202 5.13709 17.45
31656 5.30487 17.7425 5.53934C18.0293 5.77381 18.2605 6.06912 18.4192 6.40389C18.578 6.73866 18.6603 7.10452 18.6603 7.47502C18.6603 7.84552 18.578 8.21139 18.4192 8.54616C18.2605 8.88093 18.0293 9.17624 17.7425 9.41071C17.4556 9.64518 17.1202 9.81296 16.7605 9.90191C16.7072 9.91509 16.6536 9.9265 16.5997 9.93612Z"});L.appendChild(_).appendChild(Y);const J=P("defs"),Z=z(P("clipPath"),{id:"clip0_57_80"}),Q=z(P("rect"),{width:`${ne}`,height:`${ne}`,fill:"white"});return Z.appendChild(Q),J.appendChild(Z),L.appendChild(J).appendChild(Z).appendChild(Q),{get el(){return L}}}function l(P,L,..._){const J=a.document.createElement(P);L&&Object.entries(L).forEach(([Z,Q])=>{Z==="className"&&typeof Q=="string"?J.setAttribute("class",Q):typeof Q=="boolean"&&Q?J.setAttribute(Z,""):typeof Q=="string"?J.setAttribute(Z,Q):Z.startsWith("on")&&typeof Q=="function"&&J.addEventListener(Z.substring(2).toLowerCase(),Q)});for(const Z of _)B(J,Z);return J}function B(P,L){const _=a.document;if(!(typeof L>"u"||L===null))if(Array.isArray(L))for(const Y of L)B(P,Y);else L===!1||(typeof L=="string"?P.appendChild(_.createTextNode(L)):L instanceof Node?P.appendChild(L):P.appendChild(_.createTextNode(String(L))))}function j({buttonLabel:P,onClick:L}){function _(J){L&&L(J)}const Y=l("button",{type:"button",className:"widget__actor",["aria-label"]:P,["aria-hidden"]:"false"},w().el,P?l("span",{className:"widget__actor__text"},P):null);return Y.addEventListener("click",_),{get el(){return Y},show:()=>{Y.classList.remove("widget__actor--hidden"),Y.setAttribute("aria-hidden","false")},hide:()=>{Y.classList.add("widget__actor--hidden"),Y.setAttribute("aria-hidden","true")}}}function X({label:P}){return{el:l("button",{type:"submit",className:"btn btn--primary",["aria-label"]:P},P)}}function re(P,L){const _=P.get(L);return typeof _=="string"?_.trim():""}function ee({nameLabel:P,namePlaceholder:L,emailLabel:_,emailPlaceholder:Y,messageLabel:J,messagePlaceholder:Z,isRequiredLabel:Q,cancelButtonLabel:me,submitButtonLabel:ce,showName:pe,showEmail:de,isNameRequired:be,isEmailRequired:Te,defaultName:he,defaultEmail:Ee,onCancel:ve,onSubmit:Se}){const{el:ue}=X({label:ce});function Ie(Oe){if(Oe.preventDefault(),Oe.target instanceof HTMLFormElement)try{if(Se){const Ae=new FormData(Oe.target),we={name:re(Ae,"name"),email:re(Ae,"email"),message:re(Ae,"message")};Se(we)}}catch{}}const ye=l("div",{className:"form__error-container form__error-container--hidden",["aria-hidden"]:"true"});function Ce(Oe){ye.textContent=Oe,ye.classList.remove("form__error-container--hidden"),ye.setAttribute("aria-hidden","false")}function De(){ye.textContent="",ye.classList.add("form__error-container--hidden"),ye.setAttribute("aria-hidden","true")}const Re=l("input",{id:"name",type:pe?"text":"hidden",["aria-hidden"]:pe?"false":"true",name:"name",required:be,className:"form__input",placeholder:L,value:he}),Pe=l("input",{id:"email",type:de?"text":"hidden",["aria-hidden"]:de?"false":"true",name:"email",required:Te,className:"form__input",placeholder:Y,value:Ee}),Ne=l("textarea",{id:"message",autoFocus:"true",rows:"5",name:"message",required:!0,className:"form__input form__input--textarea",placeholder:Z}),Be=l("button",{type:"button",className:"btn btn--default",["aria-label"]:me,onClick:Oe=>{ve&&ve(Oe)}},me),Le=l("form",{className:"form",onSubmit:Ie},[ye,pe&&l("label",{htmlFor:"name",className:"form__label"},[l("span",{className:"form__label__text"},P,be&&l("span",{className:"form__label__text--required"},` ${Q}`)),Re]),!pe&&Re,de&&l("label",{htmlFor:"email",className:"form__label"},[l("span",{className:"form__label__text"},_,Te&&l("span",{className:"form__label__text--required"},` ${Q}`)),Pe]),!de&&Pe,l("label",{htmlFor:"message",className:"form__label"},[l("span",{className:"form__label__text"},J,l("span",{className:"form__label__text--required"},` ${Q}`)),Ne]),l("div",{className:"btn-group"},[ue,Be])]);return{get el(){return Le},showError:Ce,hideError:De}}const ie="http://www.w3.org/2000/svg";function ge({colorScheme:P}){const L=Q=>a.document.createElementNS(ie,Q),_=z(L("svg"),{class:"sentry-logo",width:"32",height:"30",viewBox:"0 0 72 66",fill:"none"}),Y=z(L("path"),{transform:"translate(11, 11)",d:"M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z"});_.append(Y);const J=L("defs"),Z=L("style");return Z.textContent=`
317    path {
318      fill: ${P==="dark"?"#fff":"#362d59"};
319    }`,P==="system"&&(Z.textContent+=`
320    @media (prefers-color-scheme: dark) {
321      path: {
322        fill: '#fff';
323      }
324    }
325    `),J.append(Z),_.append(J),{get el(){return _}}}
325function S({formTitle:P,showBranding:L,showName:_,showEmail:Y,isNameRequired:J,isEmailRequired:Z,colorScheme:Q,defaultName:me,defaultEmail:ce,onClosed:pe,onCancel:de,onSubmit:be,...Te}){let he=null;function Ee(){ve(),pe&&pe()}function ve(){he&&(he.open=!1)}function Se(){he&&(he.open=!0)}function ue(){return he&&he.open===!0||!1}const{el:Ie,showError:ye,hideError:Ce}=ee({showEmail:Y,showName:_,isEmailRequired:Z,isNameRequired:J,defaultName:me,defaultEmail:ce,onSubmit:be,onCancel:de,...Te});return he=l("dialog",{className:"dialog",open:!0,onClick:Ee},l("div",{className:"dialog__content",onClick:De=>{De.stopPropagation()}},l("h2",{className:"dialog__header"},P,L&&l("a",{className:"brand-link",target:"_blank",href:"https://sentry.io/welcome/",title:"Powered by Sentry",rel:"noopener noreferrer"},ge({colorScheme:Q}).el)),Ie)),{get el(){return he},showError:ye,hideError:Ce,open:Se,close:ve,checkIsOpen:ue}}const N=16,M=17,F="http://www.w3.org/2000/svg";function $(){const P=ce=>a.document.createElementNS(F,ce),L=z(P("svg"),{class:"success-icon",width:`${N}`,height:`${M}`,viewBox:`0 0 ${N} ${M}`,fill:"none"}),_=z(P("g"),{clipPath:"url(#clip0_57_156)"}),Y=z(P("path"),{["fill-rule"]:"evenodd",["clip-rule"]:"evenodd",d:"M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z"}),J=z(P("path"),{d:"M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173 10.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z"});L.appendChild(_).append(J,Y);const Z=P("defs"),Q=z(P("clipPath"),{id:"clip0_57_156"}),me=z(P("rect"),{width:`${N}`,height:`${N}`,fill:"white",transform:"translate(0 0.5)"});return Q.appendChild(me),Z.appendChild(Q),L.appendChild(Z).appendChild(Q).appendChild(me),{get el(){return L}}}function te({message:P,onRemove:L}){function _(){Y&&(Y.remove(),L&&L())}const Y=l("div",{className:"success-message",onClick:_},$().el,P);return{el:Y,remove:_}}function oe({shadow:P,options:{shouldCreateActor:L=!0,..._},attachTo:Y}){let J,Z,Q=!1;function me(){if(P)try{const ue=te({message:_.successMessageText,onRemove:()=>{Ie&&clearTimeout(Ie),de()}});if(!ue.el)throw new Error("Unable to show success message");P.appendChild(ue.el);const Ie=setTimeout(()=>{ue&&ue.remove()},5e3)}catch(ue){t.logger.error(ue)}}async function ce(ue){if(!Z)return;const Ie=[];if(_.isNameRequired&&!ue.name&&Ie.push(_.nameLabel),_.isEmailRequired&&!ue.email&&Ie.push(_.emailLabel),ue.message||Ie.push(_.messageLabel),Ie.length>0){Z.showError(`Please enter in the following required fields: ${Ie.join(", ")}`);return}if(!await V(Z,ue)){_.onSubmitError&&_.onSubmitError();return}ve(),me(),_.onSubmitSuccess&&_.onSubmitSuccess()}function pe(){const ue=n.getClient(),Ie=ue&&ue.getIntegrationByName&&ue.getIntegrationByName("Replay");Ie&&Ie.flush().catch(ye=>{U&&t.logger.error(ye)})}function de(){J&&J.show()}function be(){J&&J.hide()}function Te(){J&&J.el&&J.el.remove()}function he(){try{if(Z){Z.open(),Q=!0,_.onFormOpen&&_.onFormOpen(),pe();return}const ue=_.useSentryUser,Ie=n.getCurrentScope(),ye=Ie&&Ie.getUser();if(Z=S({colorScheme:_.colorScheme,showBranding:_.showBranding,showName:_.showName||_.isNameRequired,showEmail
325:_.showEmail||_.isEmailRequired,isNameRequired:_.isNameRequired,isEmailRequired:_.isEmailRequired,formTitle:_.formTitle,cancelButtonLabel:_.cancelButtonLabel,submitButtonLabel:_.submitButtonLabel,emailLabel:_.emailLabel,emailPlaceholder:_.emailPlaceholder,messageLabel:_.messageLabel,messagePlaceholder:_.messagePlaceholder,nameLabel:_.nameLabel,namePlaceholder:_.namePlaceholder,isRequiredLabel:_.isRequiredLabel,defaultName:ue&&ye&&ye[ue.name]||"",defaultEmail:ue&&ye&&ye[ue.email]||"",onClosed:()=>{de(),Q=!1,_.onFormClose&&_.onFormClose()},onCancel:()=>{Ee(),de()},onSubmit:ce}),!Z.el)throw new Error("Unable to open Feedback dialog");P.appendChild(Z.el),be(),_.onFormOpen&&_.onFormOpen(),pe()}catch(ue){t.logger.error(ue)}}function Ee(){Z&&(Z.close(),Q=!1,_.onFormClose&&_.onFormClose())}function ve(){if(Z){Ee();const ue=Z.el;ue&&ue.remove(),Z=void 0}}function Se(){Q||he(),be()}return Y?Y.addEventListener("click",Se):L&&(J=j({buttonLabel:_.buttonLabel,onClick:Se}),J.el&&P.appendChild(J.el)),{get actor(){return J},get dialog(){return Z},showActor:de,hideActor:be,removeActor:Te,openDialog:he,closeDialog:Ee,removeDialog:ve}}const ae=a.document,fe=P=>new le(P);class le{static __initStatic(){this.id="Feedback"}constructor({autoInject:L=!0,id:_="sentry-feedback",isEmailRequired:Y=!1,isNameRequired:J=!1,showBranding:Z=!0,showEmail:Q=!0,showName:me=!0,useSentryUser:ce={email:"email",name:"username"},themeDark:pe,themeLight:de,colorScheme:be="system",buttonLabel:Te=b,cancelButtonLabel:he=f,submitButtonLabel:Ee=E,formTitle:ve=I,emailPlaceholder:Se=p,emailLabel:ue=C,messagePlaceholder:Ie=O,messageLabel:ye=m,namePlaceholder:Ce=i,nameLabel:De=o,isRequiredLabel:Re=s,successMessageText:Pe=c,onFormClose:Ne,onFormOpen:Be,onSubmitError:Le,onSubmitSuccess:Oe}={}){this.name=le.id,this._host=null,this._shadow=null,this._widget=null,this._widgets=new Set,this._hasInsertedActorStyles=!1,this.options={autoInject:L,showBranding:Z,id:_,isEmailRequired:Y,isNameRequired:J,showEmail:Q,showName:me,useSentryUser:ce,colorScheme:be,themeDark:{...u.dark,...pe},themeLight:{...u.light,...de},buttonLabel:Te,cancelButtonLabel:he,submitButtonLabel:Ee,formTitle:ve,emailLabel:ue,emailPlaceholder:Se,messageLabel:ye,messagePlaceholder:Ie,nameLabel:De,namePlaceholder:Ce,isRequiredLabel:Re,successMessageText:Pe,onFormClose:Ne,onFormOpen:Be,onSubmitError:Le,onSubmitSuccess:Oe}}setupOnce(){if(t.isBrowser())try{this._cleanupWidgetIfExists();const{autoInject:L}=this.options;if(!L)return;this._createWidget(this.options)}catch(L){U&&t.logger.error(L)}}openDialog(){this._widget||this._createWidget({...this.options,shouldCreateActor:!1}),this._widget&&this._widget.openDialog()}closeDialog(){this._widget&&this._widget.closeDialog()}attachTo(L,_){try{const Y=H(this.options,_||{});return this._ensureShadowHost(Y,({shadow:J})=>{const Z=typeof L=="string"?ae.querySelector(L):typeof L.addEventListener=="function"?L:null;if(!Z)return U&&t.logger.error("[Feedback] Unable to attach to target element"),null;const Q=oe({shadow:J,options:Y,attachTo:Z});return this._widgets.add(Q),this._widget||(this._widget=Q),Q})}catch(Y){return U&&t.logger.error(Y),null}}createWidget(L){try{return this._createWidget(H(this.options,L||{}))}catch(_){return U&&t.logger.error(_),null}}removeWidget(L){if(!L)return!1;try{if(this._widgets.has(L))return L.removeActor(),L.removeDialog(),this._widgets.delete(L),this._widget===L&&(this._widget=null),!0}catch(_){U&&t.logger.error(_)}return!1}getWidget(){return this._widget}remove(){this._host&&this._host.remove(),this._initialize()}_initialize(){this._host=null,this._shadow=null,this._widget=null,this._widgets=new Set,this._hasInsertedActorStyles=!1}_cleanupWidgetIfExists(){this._host&&this.remove();const L=ae.querySelector(`#${this.options.id}`);L&&L.remove()}_createWidget(L){return this._ensureShadowHost(L,({shadow:_})=>{const Y=oe({shadow:_,options:L});return!this._hasInsertedActorStyles&&Y.actor&&(_.appendChild(K(ae)),this._hasInsertedActorStyles=!0),this._widgets.add(Y),this._widget||(this._widget=Y),Y})}_ensureShadowHost(L,_){let Y=!1;
325if(!this._shadow||!this._host){const{id:Z,colorScheme:Q,themeLight:me,themeDark:ce}=L,{shadow:pe,host:de}=k({id:Z,colorScheme:Q,themeLight:me,themeDark:ce});this._shadow=pe,this._host=de,Y=!0}this._host.dataset.sentryFeedbackColorscheme=L.colorScheme;const J=_({shadow:this._shadow,host:this._host});return Y&&ae.body.appendChild(this._host),J}}le.__initStatic(),e.Feedback=le,e.feedbackIntegration=fe,e.sendFeedback=D},993870:(x,e,r)=>{var t=r(80247),{_optionalChain:n}=r(289375);Object.defineProperty(e,"__esModule",{value:!0});const a=r(389615);var T;(function(S){S[S.Document=0]="Document",S[S.DocumentType=1]="DocumentType",S[S.Element=2]="Element",S[S.Text=3]="Text",S[S.CDATA=4]="CDATA",S[S.Comment=5]="Comment"})(T||(T={}));function d(S,N){for(let M=S.classList.length;M--;){const F=S.classList[M];if(N.test(F))return!0}return!1}function y(S,N,M=1/0,F=0){return!S||S.nodeType!==S.ELEMENT_NODE||F>M?-1:N(S)?F:y(S.parentNode,N,M,F+1)}function v(S,N){return M=>{const F=M;if(F===null)return!1;try{if(S){if(typeof S=="string"){if(F.matches(`.${S}`))return!0}else if(d(F,S))return!0}return!!(N&&F.matches(N))}catch{return!1}}}const u=`Please stop import mirror directly. Instead of that,\r
326now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
327or you can use record.mirror to access the mirror instance during recording.`;let b={map:{},getId(){return t.error(u),-1},getNode(){return t.error(u),null},removeNodeFromMap(){t.error(u)},has(){return t.error(u),!1},reset(){t.error(u)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(b=new Proxy(b,{get(S,N,M){return N==="map"&&t.error(u),Reflect.get(S,N,M)}}));function f(S,N,M,F,$=window){const te=$.Object.getOwnPropertyDescriptor(S,N);return $.Object.defineProperty(S,N,F?M:{set(oe){i(()=>{M.set.call(this,oe)},0),te&&te.set&&te.set.call(this,oe)}}),()=>f(S,N,te||{},!0)}function E(S,N,M){try{if(!(N in S))return()=>{};const F=S[N],$=M(F);return typeof $=="function"&&($.prototype=$.prototype||{},Object.defineProperties($,{__rrweb_original__:{enumerable:!1,value:F}})),S[N]=$,()=>{S[N]=F}}catch{return()=>{}}}/[1-9][0-9]{12}/.test(Date.now().toString());function I(S){return S?S.nodeType===S.ELEMENT_NODE?S:S.parentElement:null}function p(S,N,M,F,$){if(!S)return!1;const te=I(S);if(!te)return!1;const oe=v(N,M);if(!$){const le=F&&te.matches(F);return oe(te)&&!le}const ae=y(te,oe);let fe=-1;return ae<0?!1:(F&&(fe=y(te,v(null,F))),ae>-1&&fe<0?!0:ae<fe)}const C={};function O(S){const N=C[S];if(N)return N;const M=window.document;let F=window[S];if(M&&typeof M.createElement=="function")try{const $=M.createElement("iframe");$.hidden=!0,M.head.appendChild($);const te=$.contentWindow;te&&te[S]&&(F=te[S]),M.head.removeChild($)}catch{}return C[S]=F.bind(window)}function m(...S){return O("requestAnimationFrame")(...S)}function i(...S){return O("setTimeout")(...S)}var o=(S=>(S[S["2D"]=0]="2D",S[S.WebGL=1]="WebGL",S[S.WebGL2=2]="WebGL2",S))(o||{});let s;function c(S){s=S}const g=S=>s?(...M)=>{try{return S(...M)}catch(F){if(s&&s(F)===!0)return()=>{};throw F}}:S;for(var h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",A=typeof Uint8Array>"u"?[]:new Uint8Array(256),R=0;R<h.length;R++)A[h.charCodeAt(R)]=R;var D=function(S){var N=new Uint8Array(S),M,F=N.length,$="";for(M=0;M<F;M+=3)$+=h[N[M]>>2],$+=h[(N[M]&3)<<4|N[M+1]>>4],$+=h[(N[M+1]&15)<<2|N[M+2]>>6],$+=h[N[M+2]&63];return F%3===2?$=$.substring(0,$.length-1)+"=":F%3===1&&($=$.substring(0,$.length-2)+"=="),$};const U=new Map;function H(S,N){let M=U.get(S);return M||(M=new Map,U.set(S,M)),M.has(N)||M.set(N,[]),M.get(N)}const K=(S,N,M)=>{if(!S||!(q(S,N)||typeof S=="object"))return;const F=S.constructor.name,$=H(M,F);let te=$.indexOf(S);return te===-1&&(te=$.length,$.push(S)),te};function G(S,N,M){if(S instanceof Array)return S.map(F=>G(F,N,M));if(S===null)return S;if(S instanceof Float32Array||S instanceof Float64Array||S instanceof Int32Array||S instanceof Uint32Array||S instanceof Uint8Array||S instanceof Uint16Array||S instanceof Int16Array||S instanceof Int8Array||S instanceof Uint8ClampedArray)return{rr_type:S.constructor.name,args:[Object.values(S)]};if(S instanceof ArrayBuffer){const F=S.constructor.name,$=D(S);return{rr_type:F,base64:$}}else{if(S instanceof DataView)return{rr_type:S.constructor.name,args:[G(S.buffer,N,M),S.byteOffset,S.byteLength]};if(S instanceof HTMLImageElement){const F=S.constructor.name,{src:$}=S;return{rr_type:F,src:$}}else if(S instanceof HTMLCanvasElement){const F="HTMLImageElement",$=S.toDataURL();return{rr_type:F,src:$}}else{if(S instanceof ImageData)return{rr_type:S.constructor.name,args:[G(S.data,N,M),S.width,S.height]};if(q(S,N)||typeof S=="object"){const F=S.constructor.name,$=K(S,N,M);return{rr_type:F,index:$}}}}return S}const W=(S,N,M)=>S.map(F=>G(F,N,M)),q=(S,N)=>!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter($=>typeof N[$]=="function").find($=>S instanceof N[$]);function k(S,N,M,F,$){const te=[],oe=Object.getOwnPropertyNames(N.CanvasRenderingContext2D.prototype);for(const ae of oe)try{if(typeof N.CanvasRenderingContext2D.prototype[ae]!="function")continue;const fe=E(N.CanvasRenderingContext2D.prototype,ae,function(le){return function(...P){return p(this.canvas,M,F,$,!0)||i(()=>{const L=W(P,N,this);S(this.canvas,{type:o["2D"],property:ae,args:L})},0),le.apply(this,P)}});te.push(fe)}catch{const le=f(N.CanvasRenderingContext2D.prototype,ae,{set(P){S(this.canvas,{type:o["2D"],property:ae,args:[P],setter:!0})}});te.push(le)}return()=>{te.forEach(ae=>ae())}}function V(S){return S==="experimental-webgl"?"webgl":S}function z(S,N,M,F,$){const te=[];try{const oe=E(S.HTMLCanvasElement.prototype,"getContext",function(ae){return function(fe,...le){if(!p(this,N,M,F,!0)){const P=V(fe);if("__context"in this||(this.__context=P),$&&["webgl","webgl2"].includes(P))if(le[0]&&typeof le[0]=="object"){const L=le[0];L.preserveDrawingBuffer||(L.preserveDrawingBuffer=!0)}else le.splice(0,1,{preserveDrawingBuffer:!0})}return ae.apply(this,[fe,...le])}});te.push(oe)}catch{t.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{te.forEach(oe=>oe())}}function ne(S,N,M,F,$,te,oe,ae){const fe=[],le=Object.getOwnPropertyNames(S);for(const P of le)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(P))try{if(typeof S[P]!="function")continue;const L=E(S,P,function(_){return function(...Y){const J=_.apply(this,Y);if(K(J,ae,this),"tagName"in this.canvas&&!p(this.canvas,F,$,te,!0)){const Z=W(Y,ae,this),Q={type:N,property:P,args:Z};M(this.canvas,Q)}return J}});fe.push(L)}catch{const _=f(S,P,{set(Y){M(this.canvas,{type:N,property:P,args:[Y],setter:!0})}});fe.push(_)}return fe}function se(S,N,M,F,$,te){const oe=[];return oe.push(...ne(N.WebGLRenderingContext.prototype,o.WebGL,S,M,F,$,te,N)),typeof N.WebGL2RenderingContext<"u"&&oe.push(...ne(N.WebGL2RenderingContext.prototype,o.WebGL2,S,M,F,$,te,N)),()=>{oe.forEach(ae=>ae())}}var w='for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
327+/",t="undefined"==typeof Uint8Array?[]:new Uint8Array(256),a=0;a<64;a++)t[e.charCodeAt(a)]=a;var n=function(t){var a,n=new Uint8Array(t),r=n.length,s="";for(a=0;a<r;a+=3)s+=e[n[a]>>2],s+=e[(3&n[a])<<4|n[a+1]>>4],s+=e[(15&n[a+1])<<2|n[a+2]>>6],s+=e[63&n[a+2]];return r%3==2?s=s.substring(0,s.length-1)+"=":r%3==1&&(s=s.substring(0,s.length-2)+"=="),s};const r=new Map,s=new Map;const i=self;i.onmessage=async function(e){if(!("OffscreenCanvas"in globalThis))return i.postMessage({id:e.data.id});{const{id:t,bitmap:a,width:o,height:f,maxCanvasSize:c,dataURLOptions:g}=e.data,u=async function(e,t,a){const r=e+"-"+t;if("OffscreenCanvas"in globalThis){if(s.has(r))return s.get(r);const i=new OffscreenCanvas(e,t);i.getContext("2d");const o=await i.convertToBlob(a),f=await o.arrayBuffer(),c=n(f);return s.set(r,c),c}return""}(o,f,g),[h,d]=function(e,t,a){if(!a)return[e,t];const[n,r]=a;if(e<=n&&t<=r)return[e,t];let s=e,i=t;return s>n&&(i=Math.floor(n*t/e),s=n),i>r&&(s=Math.floor(r*e/t),i=r),[s,i]}(o,f,c),l=new OffscreenCanvas(h,d),w=l.getContext("bitmaprenderer"),p=h===o&&d===f?a:await createImageBitmap(a,{resizeWidth:h,resizeHeight:d,resizeQuality:"low"});w.transferFromImageBitmap(p),a.close();const y=await l.convertToBlob(g),v=y.type,b=await y.arrayBuffer(),m=n(b);if(p.close(),!r.has(t)&&await u===m)return r.set(t,m),i.postMessage({id:t});if(r.get(t)===m)return i.postMessage({id:t});i.postMessage({id:t,type:v,base64:m,width:o,height:f}),r.set(t,m)}};';function l(){const S=new Blob([w]);return URL.createObjectURL(S)}class B{reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(N){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=(L,_)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(L)||this.pendingCanvasMutations.set(L,[]),this.pendingCanvasMutations.get(L).push(_)};const{sampling:M="all",win:F,blockClass:$,blockSelector:te,unblockSelector:oe,maxCanvasSize:ae,recordCanvas:fe,dataURLOptions:le,errorHandler:P}=N;this.mutationCb=N.mutationCb,this.mirror=N.mirror,this.options=N,P&&c(P),!N.enableManualSnapshot&&g(()=>{fe&&M==="all"&&this.initCanvasMutationObserver(F,$,te,oe),fe&&typeof M=="number"&&this.initCanvasFPSObserver(M,F,$,te,oe,ae,{dataURLOptions:le})})()}initCanvasFPSObserver(N,M,F,$,te,oe,ae){const fe=z(M,F,$,te,!0),le=this.takeSnapshot(!1,N,M,F,$,te,oe,ae.dataURLOptions);this.resetObservers=()=>{fe(),cancelAnimationFrame(le)}}initCanvasMutationObserver(N,M,F,$){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const te=z(N,M,F,$,!1),oe=k(this.processMutation.bind(this),N,M,F,$),ae=se(this.processMutation.bind(this),N,M,F,$,this.mirror);this.resetObservers=()=>{te(),oe(),ae()}}snapshot(N){const{options:M}=this,F=this.takeSnapshot(!0,M.sampling==="all"?2:M.sampling||2,M.win,M.blockClass,M.blockSelector,M.unblockSelector,M.maxCanvasSize,M.dataURLOptions,N);this.resetObservers=()=>{cancelAnimationFrame(F)}}takeSnapshot(N,M,F,$,te,oe,ae,fe,le){const P=new Map,L=new Worker(l());L.onmessage=me=>{const ce=me.data,{id:pe}=ce;if(P.set(pe,!1),!("base64"in ce))return;const{base64:de,type:be,width:Te,height:he}=ce;this.mutationCb({id:pe,type:o["2D"],commands:[{property:"clearRect",args:[0,0,Te,he]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:de}],type:be}]},0,0,Te,he]}]})};const _=1e3/M;let Y=0,J;const Z=me=>{if(me)return[me];const ce=[];return F.document.querySelectorAll("canvas").forEach(pe=>{p(pe,$,te,oe,!0)||ce.push(pe)}),ce},Q=me=>{if(Y&&me-Y<_){J=m(Q);return}Y=me,Z(le).forEach(ce=>{const pe=this.mirror.getId(ce);if(!P.get(pe)&&!(!ce.width||!ce.height)){if(P.set(pe,!0),!N&&["webgl","webgl2"].includes(ce.__context)){const de=ce.getContext(ce.__context);n([de,"optionalAccess",be=>be.getContextAttributes,"call",be=>be(),"optionalAccess",be=>be.preserveDrawingBuffer])===!1&&de.clear(de.COLOR_BUFFER_BIT)}createImageBitmap(ce).then(de=>{L.postMessage({id:pe,bitmap:de,width:ce.width,height:ce.height,dataURLOptions:fe,maxCanvasSize:ae},[de])}).catch(de=>{g(()=>{throw de})()})}}),J=m(Q)};return J=m(Q),J}startPendingCanvasMutationFlusher(){m(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){const N=M=>{this.rafStamps.latestId=M,m(N)};m(N)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((N,M)=>{const F=this.mirror.getId(M);this.flushPendingCanvasMutationFor(M,F)}),m(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(N,M){if(this.frozen||this.locked)return;const F=this.pendingCanvasMutations.get(N);if(!F||M===-1)return;const $=F.map(oe=>{const{type:ae,...fe}=oe;return fe}),{type:te}=F[0];this.mutationCb({id:M,type:te,commands:$}),this.pendingCanvasMutations.delete(N)}}const j={low:{sampling:{canvas:1},dataURLOptions:{type:"image/webp",quality:.25}},medium:{sampling:{canvas:2},dataURLOptions:{type:"image/webp",quality:.4}},high:{sampling:{canvas:4},dataURLOptions:{type:"image/webp",quality:.5}}},X="ReplayCanvas",re=1280,ee=(S={})=>
327{const[N,M]=S.maxCanvasSize||[],F={quality:S.quality||"medium",enableManualSnapshot:S.enableManualSnapshot,maxCanvasSize:[N?Math.min(N,re):re,M?Math.min(M,re):re]};let $;const te=new Promise(oe=>$=oe);return{name:X,setupOnce(){},getOptions(){const{quality:oe,enableManualSnapshot:ae,maxCanvasSize:fe}=F;return{enableManualSnapshot:ae,recordCanvas:!0,getCanvasManager:le=>{const P=new B({...le,enableManualSnapshot:ae,maxCanvasSize:fe,errorHandler:L=>{try{typeof L=="object"&&(L.__rrweb__=!0)}catch{}}});return $(P),P},...j[oe||"medium"]||j.medium}},async snapshot(oe){(await te).snapshot(oe)}}},ie=a.defineIntegration(ee),ge=a.convertIntegrationFnToClass(X,ie);e.ReplayCanvas=ge,e.replayCanvasIntegration=ie},197714:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(289375),a=r(296972),T=r(129824);function d(){T.WINDOW.document?T.WINDOW.document.addEventListener("visibilitychange",()=>{const y=t.getActiveTransaction();if(T.WINDOW.document.hidden&&y){const v="cancelled",{op:u,status:b}=t.spanToJSON(y);a.DEBUG_BUILD&&n.logger.log(`[Tracing] Transaction: ${v} -> since tab moved to the background, op: ${u}`),b||y.setStatus(v),y.setTag("visibilitychange","document.hidden"),y.end()}}):a.DEBUG_BUILD&&n.logger.warn("[Tracing] Could not set up background tab detection due to lack of global document")}e.registerBackgroundTabDetection=d},557145:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(289375),a=r(296972),T=r(197714),d=r(662872),y=r(915139),v=r(859220),u=r(129824),b="BrowserTracing",f={...t.TRACING_DEFAULTS,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{},...v.defaultRequestInstrumentationOptions},E=(c={})=>{const g=a.DEBUG_BUILD?!!(c.tracePropagationTargets||c.tracingOrigins):!1;t.addTracingExtensions(),!c.tracePropagationTargets&&c.tracingOrigins&&(c.tracePropagationTargets=c.tracingOrigins);const h={...f,...c},A=y.startTrackingWebVitals(),R={};h.enableInp&&y.startTrackingINP(R,h.interactionsSampleRate),h.enableLongTask&&y.startTrackingLongTasks(),h._experiments.enableInteractions&&y.startTrackingInteractions();const D={name:void 0,context:void 0};function U(H){const K=t.getCurrentHub(),{beforeStartSpan:G,idleTimeout:W,finalTimeout:q,heartbeatInterval:k}=h,V=H.op==="pageload";let z;if(V){const l=V?C("sentry-trace"):"",B=V?C("baggage"):void 0,{traceId:j,dsc:X,parentSpanId:re,sampled:ee}=n.propagationContextFromHeaders(l,B);z={traceId:j,parentSpanId:re,parentSampled:ee,...H,metadata:{...H.metadata,dynamicSamplingContext:X},trimEnd:!0}}else z={trimEnd:!0,...H};const ne=G?G(z):z;ne.metadata=ne.name!==z.name?{...ne.metadata,source:"custom"}:ne.metadata,D.name=ne.name,D.context=ne,ne.sampled===!1&&a.DEBUG_BUILD&&n.logger.log(`[Tracing] Will not send ${ne.op} transaction because of beforeNavigate.`),a.DEBUG_BUILD&&n.logger.log(`[Tracing] Starting ${ne.op} transaction on scope`);const{location:se}=u.WINDOW,w=t.startIdleTransaction(K,ne,W,q,!0,{location:se},k,V);return V&&u.WINDOW.document&&(u.WINDOW.document.addEventListener("readystatechange",()=>{["interactive","complete"].includes(u.WINDOW.document.readyState)&&w.sendAutoFinishSignal()}),["interactive","complete"].includes(u.WINDOW.document.readyState)&&w.sendAutoFinishSignal()),w.registerBeforeFinishCallback(l=>{A(),y.addPerformanceEntries(l)}),w}return{name:b,setupOnce:()=>{},afterAllSetup(H){const K=H.getOptions(),{markBackgroundSpan:G,traceFetch:W,traceXHR:q,shouldCreateSpanForRequest:k,enableHTTPTimings:V,_experiments:z}=h,ne=K&&K.tracePropagationTargets,se=ne||h.tracePropagationTargets;a.DEBUG_BUILD&&g&&ne&&n.logger.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used.");let w,l=u.WINDOW.location&&u.WINDOW.location.href;if(H.on&&(H.on("startNavigationSpan",B=>{w&&(a.DEBUG_BUILD&&n.logger.log(`[Tracing] Finishing current transaction with op: ${t.spanToJSON(w).op}`),w.end()),w=U({op:"navigation",...B})}),H.on("startPageLoadSpan",B=>{w&&(a.DEBUG_BUILD&&n.logger.log(`[Tracing] Finishing current transaction with op: ${t.spanToJSON(w).op}`),w.end()),w=U({op:"pageload",...B})})),h.instrumentPageLoad&&H.emit&&u.WINDOW.location){const B={name:u.WINDOW.location.pathname,startTimestamp:n.browserPerformanceTimeOrigin?n.browserPerformanceTimeOrigin/1e3:void 0,origin:"auto.pageload.browser",attributes:{[t.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url"}};I(H,B)}h.instrumentNavigation&&H.emit&&u.WINDOW.location&&n.addHistoryInstrumentationHandler(({to:B,from:j})=>{if(j===void 0&&l&&l.indexOf(B)!==-1){l=void 0;return}if(j!==B){l=void 0;const X={name:u.WINDOW.location.pathname,origin:"auto.navigation.browser",attributes:{[t.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url"}};p(H,X)}}
327),G&&T.registerBackgroundTabDetection(),z.enableInteractions&&O(h,D),h.enableInp&&o(R,D),v.instrumentOutgoingRequests({traceFetch:W,traceXHR:q,tracePropagationTargets:se,shouldCreateSpanForRequest:k,enableHTTPTimings:V})},options:h}};function I(c,g){if(!c.emit)return;c.emit("startPageLoadSpan",g);const h=t.getActiveSpan();return(h&&t.spanToJSON(h).op)==="pageload"?h:void 0}function p(c,g){if(!c.emit)return;c.emit("startNavigationSpan",g);const h=t.getActiveSpan();return(h&&t.spanToJSON(h).op)==="navigation"?h:void 0}function C(c){const g=n.getDomElement(`meta[name=${c}]`);return g?g.getAttribute("content"):void 0}function O(c,g){let h;const A=()=>{const{idleTimeout:R,finalTimeout:D,heartbeatInterval:U}=c,H="ui.action.click",K=t.getActiveTransaction();if(K&&K.op&&["navigation","pageload"].includes(K.op)){a.DEBUG_BUILD&&n.logger.warn(`[Tracing] Did not create ${H} transaction because a pageload or navigation transaction is in progress.`);return}if(h&&(h.setFinishReason("interactionInterrupted"),h.end(),h=void 0),!g.name){a.DEBUG_BUILD&&n.logger.warn(`[Tracing] Did not create ${H} transaction because _latestRouteName is missing.`);return}const{location:G}=u.WINDOW,W={name:g.name,op:H,trimEnd:!0,data:{[t.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:g.context?s(g.context):"url"}};h=t.startIdleTransaction(t.getCurrentHub(),W,R,D,!0,{location:G},U)};["click"].forEach(R=>{u.WINDOW.document&&addEventListener(R,A,{once:!1,capture:!0})})}function m(c){return"duration"in c}const i=10;function o(c,g){const h=({entries:A})=>{const R=t.getClient(),D=R!==void 0&&R.getIntegrationByName!==void 0?R.getIntegrationByName("Replay"):void 0,U=D!==void 0?D.getReplayId():void 0,H=t.getActiveTransaction(),K=t.getCurrentScope(),G=K!==void 0?K.getUser():void 0;A.forEach(W=>{if(m(W)){const q=W.interactionId;if(q===void 0)return;const k=c[q],V=W.duration,z=W.startTime,ne=Object.keys(c),se=ne.length>0?ne.reduce((w,l)=>c[w].duration<c[l].duration?w:l):void 0;if(W.entryType==="first-input"&&ne.map(l=>c[l]).some(l=>l.duration===V&&l.startTime===z)||!q)return;if(k)k.duration=Math.max(k.duration,V);else if(ne.length<i||se===void 0||V>c[se].duration){const w=g.name,l=g.context;w&&l&&(se&&Object.keys(c).length>=i&&delete c[se],c[q]={routeName:w,duration:V,parentContext:l,user:G,activeTransaction:H,replayId:U,startTime:z})}}})};d.addPerformanceInstrumentationHandler("event",h),d.addPerformanceInstrumentationHandler("first-input",h)}function s(c){const g=c.attributes&&c.attributes[t.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE],h=c.data&&c.data[t.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE],A=c.metadata&&c.metadata.source;return g||h||A}e.BROWSER_TRACING_INTEGRATION_ID=b,e.browserTracingIntegration=E,e.getMetaContent=C,e.startBrowserTracingNavigationSpan=p,e.startBrowserTracingPageLoadSpan=I},208211:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(289375),a=r(296972),T=r(197714),d=r(662872),y=r(915139),v=r(859220),u=r(287912),b=r(129824),f="BrowserTracing",E={...t.TRACING_DEFAULTS,markBackgroundTransactions:!0,routingInstrumentation:u.instrumentRoutingWithDefaults,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{},...v.defaultRequestInstrumentationOptions},I=10;class p{constructor(o){this.name=f,this._hasSetTracePropagationTargets=!1,t.addTracingExtensions(),a.DEBUG_BUILD&&(this._hasSetTracePropagationTargets=!!(o&&(o.tracePropagationTargets||o.tracingOrigins))),this.options={...E,...o},this.options._experiments.enableLongTask!==void 0&&(this.options.enableLongTask=this.options._experiments.enableLongTask),o&&!o.tracePropagationTargets&&o.tracingOrigins&&(this.options.tracePropagationTargets=o.tracingOrigins),this._collectWebVitals=y.startTrackingWebVitals(),this._interactionIdToRouteNameMapping={},this.options.enableInp&&y.startTrackingINP(this._interactionIdToRouteNameMapping,this.options.interactionsSampleRate),this.options.enableLongTask&&y.startTrackingLongTasks(),this.options._experiments.enableInteractions&&y.startTrackingInteractions(),this._latestRoute={name:void 0,context:void 0}}setupOnce(o,s){this._getCurrentHub=s;const g=s().getClient(),h=g&&g.getOptions(),{routingInstrumentation:A,startTransactionOnLocationChange:R,startTransactionOnPageLoad:D,markBackgroun
327dTransactions:U,traceFetch:H,traceXHR:K,shouldCreateSpanForRequest:G,enableHTTPTimings:W,_experiments:q}=this.options,k=h&&h.tracePropagationTargets,V=k||this.options.tracePropagationTargets;a.DEBUG_BUILD&&this._hasSetTracePropagationTargets&&k&&n.logger.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used."),A(z=>{const ne=this._createRouteTransaction(z);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(ne,z,s),ne},D,R),U&&T.registerBackgroundTabDetection(),q.enableInteractions&&this._registerInteractionListener(),this.options.enableInp&&this._registerInpInteractionListener(),v.instrumentOutgoingRequests({traceFetch:H,traceXHR:K,tracePropagationTargets:V,shouldCreateSpanForRequest:G,enableHTTPTimings:W})}_createRouteTransaction(o){if(!this._getCurrentHub){a.DEBUG_BUILD&&n.logger.warn(`[Tracing] Did not create ${o.op} transaction because _getCurrentHub is invalid.`);return}const s=this._getCurrentHub(),{beforeNavigate:c,idleTimeout:g,finalTimeout:h,heartbeatInterval:A}=this.options,R=o.op==="pageload";let D;if(R){const W=R?C("sentry-trace"):"",q=R?C("baggage"):void 0,{traceId:k,dsc:V,parentSpanId:z,sampled:ne}=n.propagationContextFromHeaders(W,q);D={traceId:k,parentSpanId:z,parentSampled:ne,...o,metadata:{...o.metadata,dynamicSamplingContext:V},trimEnd:!0}}else D={trimEnd:!0,...o};const U=typeof c=="function"?c(D):D,H=U===void 0?{...D,sampled:!1}:U;H.metadata=H.name!==D.name?{...H.metadata,source:"custom"}:H.metadata,this._latestRoute.name=H.name,this._latestRoute.context=H,H.sampled===!1&&a.DEBUG_BUILD&&n.logger.log(`[Tracing] Will not send ${H.op} transaction because of beforeNavigate.`),a.DEBUG_BUILD&&n.logger.log(`[Tracing] Starting ${H.op} transaction on scope`);const{location:K}=b.WINDOW,G=t.startIdleTransaction(s,H,g,h,!0,{location:K},A,R);return R&&b.WINDOW.document&&(b.WINDOW.document.addEventListener("readystatechange",()=>{["interactive","complete"].includes(b.WINDOW.document.readyState)&&G.sendAutoFinishSignal()}),["interactive","complete"].includes(b.WINDOW.document.readyState)&&G.sendAutoFinishSignal()),G.registerBeforeFinishCallback(W=>{this._collectWebVitals(),y.addPerformanceEntries(W)}),G}_registerInteractionListener(){let o;const s=()=>{const{idleTimeout:c,finalTimeout:g,heartbeatInterval:h}=this.options,A="ui.action.click",R=t.getActiveTransaction();if(R&&R.op&&["navigation","pageload"].includes(R.op)){a.DEBUG_BUILD&&n.logger.warn(`[Tracing] Did not create ${A} transaction because a pageload or navigation transaction is in progress.`);return}if(o&&(o.setFinishReason("interactionInterrupted"),o.end(),o=void 0),!this._getCurrentHub){a.DEBUG_BUILD&&n.logger.warn(`[Tracing] Did not create ${A} transaction because _getCurrentHub is invalid.`);return}if(!this._latestRoute.name){a.DEBUG_BUILD&&n.logger.warn(`[Tracing] Did not create ${A} transaction because _latestRouteName is missing.`);return}const D=this._getCurrentHub(),{location:U}=b.WINDOW,H={name:this._latestRoute.name,op:A,trimEnd:!0,data:{[t.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:this._latestRoute.context?O(this._latestRoute.context):"url"}};o=t.startIdleTransaction(D,H,c,g,!0,{location:U},h)};["click"].forEach(c=>{b.WINDOW.document&&addEventListener(c,s,{once:!1,capture:!0})})}_registerInpInteractionListener(){const o=({entries:s})=>{const c=t.getClient(),g=c!==void 0&&c.getIntegrationByName!==void 0?c.getIntegrationByName("Replay"):void 0,h=g!==void 0?g.getReplayId():void 0,A=t.getActiveTransaction(),R=t.getCurrentScope(),D=R!==void 0?R.getUser():void 0;s.forEach(U=>{if(m(U)){const H=U.interactionId;if(H===void 0)return;const K=this._interactionIdToRouteNameMapping[H],G=U.duration,W=U.startTime,q=Object.keys(this._interactionIdToRouteNameMapping),k=q.length>0?q.reduce((V,z)=>this._interactionIdToRouteNameMapping[V].duration<this._interactionIdToRouteNameMapping[z].duration?V:z):void 0;if(U.entryType==="first-input"&&q.map(z=>this._interactionIdToRouteNameMapping[z]).some(z=>z.duration===G&&z.startTime===W)||!H)return;if(K)K.duration=Math.max(K.duration,G);else if(q.length<I||k===void 0||G>this._interactionIdToRouteNameMapping[k].duration){const V=this._latestRoute.name,z=this._latestRoute.context;V&&z&&(k&&Object.keys(this._interactionIdToRouteNameMapping).length>=I&&delete this._interactionIdToRouteNameMapping[k],this._interactionIdToRouteNameMapping[H]={routeName:V,duration:G,parentContext:z,user:D,activeTransaction:A,replayId:h,startTime:W})}}})};d.addPerformanceInstrumentationHandler("event",o),d.addPerformanceInstrumentationHandler("first-input",o)}}function C(i){const o=n.getDomElement(`meta[name=${i}]`);return o?o.getAttribute("content"):void 0}function O(i){const o=i.attributes&&i.attributes[t.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE],s=i.data&&i.data[t.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE],c=i.metadata&&i.metadata.source;return o||s||c}function m(i){return"duration"in i}e.BROWSER_TRACING_INTEGRATION_ID=f,e.BrowserTracing=p,e.getMetaContent=C},662872:(x,e,r)=>
327{Object.defineProperty(e,"__esModule",{value:!0});const t=r(289375),n=r(296972),a=r(696542),T=r(236293),d=r(118423),y=r(126833),v=r(262716),u=r(259827),b={},f={};let E,I,p,C,O;function m(k,V=!1){return K("cls",k,A,E,V)}function i(k,V=!1){return K("lcp",k,D,p,V)}function o(k){return K("ttfb",k,U,C)}function s(k){return K("fid",k,R,I)}function c(k){return K("inp",k,H,O)}function g(k,V){return W(k,V),f[k]||(G(k),f[k]=!0),q(k,V)}function h(k,V){const z=b[k];if(!(!z||!z.length))for(const ne of z)try{ne(V)}catch(se){n.DEBUG_BUILD&&t.logger.error(`Error while triggering instrumentation handler.
328Type: ${k}
329Name: ${t.getFunctionName(ne)}
330Error:`,se)}}function A(){return a.onCLS(k=>{h("cls",{metric:k}),E=k},{reportAllChanges:!0})}function R(){return T.onFID(k=>{h("fid",{metric:k}),I=k})}function D(){return y.onLCP(k=>{h("lcp",{metric:k}),p=k})}function U(){return u.onTTFB(k=>{h("ttfb",{metric:k}),C=k})}function H(){return d.onINP(k=>{h("inp",{metric:k}),O=k})}function K(k,V,z,ne,se=!1){W(k,V);let w;return f[k]||(w=z(),f[k]=!0),ne&&V({metric:ne}),q(k,V,se?w:void 0)}function G(k){const V={};k==="event"&&(V.durationThreshold=0),v.observe(k,z=>{h(k,{entries:z})},V)}function W(k,V){b[k]=b[k]||[],b[k].push(V)}
330function q(k,V,z){return()=>{z&&z();const ne=b[k];if(!ne)return;const se=ne.indexOf(V);se!==-1&&ne.splice(se,1)}}e.addClsInstrumentationHandler=m,e.addFidInstrumentationHandler=s,e.addInpInstrumentationHandler=c,e.addLcpInstrumentationHandler=i,e.addPerformanceInstrumentationHandler=g,e.addTtfbInstrumentationHandler=o},915139:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(289375),a=r(296972),T=r(662872),d=r(129824),y=r(621286),v=r(512702),u=r(620108),b=2147483647;function f(w){return w/1e3}function E(){return d.WINDOW&&d.WINDOW.addEventListener&&d.WINDOW.performance}let I=0,p={},C,O;function m(){const w=E();if(w&&n.browserPerformanceTimeOrigin){w.mark&&d.WINDOW.performance.mark("sentry-tracing-init");const l=h(),B=c(),j=g(),X=A();return()=>{l(),B(),j(),X()}}return()=>{}}function i(){T.addPerformanceInstrumentationHandler("longtask",({entries:w})=>{for(const l of w){const B=t.getActiveTransaction();if(!B)return;const j=f(n.browserPerformanceTimeOrigin+l.startTime),X=f(l.duration);B.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:j,endTimestamp:j+X})}})}function o(){T.addPerformanceInstrumentationHandler("event",({entries:w})=>{for(const l of w){const B=t.getActiveTransaction();if(!B)return;if(l.name==="click"){const j=f(n.browserPerformanceTimeOrigin+l.startTime),X=f(l.duration),re={description:n.htmlTreeAsString(l.target),op:`ui.interaction.${l.name}`,origin:"auto.ui.browser.metrics",startTimestamp:j,endTimestamp:j+X},ee=n.getComponentName(l.target);ee&&(re.attributes={"ui.component_name":ee}),B.startChild(re)}}})}function s(w,l){if(E()&&n.browserPerformanceTimeOrigin){const j=D(w,l);return()=>{j()}}return()=>{}}function c(){return T.addClsInstrumentationHandler(({metric:w})=>{const l=w.entries[w.entries.length-1];l&&(a.DEBUG_BUILD&&n.logger.log("[Measurements] Adding CLS"),p.cls={value:w.value,unit:""},O=l)},!0)}function g(){return T.addLcpInstrumentationHandler(({metric:w})=>{const l=w.entries[w.entries.length-1];l&&(a.DEBUG_BUILD&&n.logger.log("[Measurements] Adding LCP"),p.lcp={value:w.value,unit:"millisecond"},C=l)},!0)}function h(){return T.addFidInstrumentationHandler(({metric:w})=>{const l=w.entries[w.entries.length-1];if(!l)return;const B=f(n.browserPerformanceTimeOrigin),j=f(l.startTime);a.DEBUG_BUILD&&n.logger.log("[Measurements] Adding FID"),p.fid={value:w.value,unit:"millisecond"},p["mark.fid"]={value:B+j,unit:"second"}})}function A(){return T.addTtfbInstrumentationHandler(({metric:w})=>{w.entries[w.entries.length-1]&&(a.DEBUG_BUILD&&n.logger.log("[Measurements] Adding TTFB"),p.ttfb={value:w.value,unit:"millisecond"})})}const R={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function D(w,l){return T.addInpInstrumentationHandler(({metric:B})=>{if(B.value===void 0)return;const j=B.entries.find(P=>P.duration===B.value&&R[P.name]!==void 0),X=t.getClient();if(!j||!X)return;const re=R[j.name],ee=X.getOptions(),ie=f(n.browserPerformanceTimeOrigin+j.startTime),ge=f(B.value),S=j.interactionId!==void 0?w[j.interactionId]:void 0;if(S===void 0)return;const{routeName:N,parentContext:M,activeTransaction:F,user:$,replayId:te}=S,oe=$!==void 0?$.email||$.id||$.ip_address:void 0,ae=F!==void 0?F.getProfileId():void 0,fe=new t.Span({startTimestamp:ie,endTimestamp:ie+ge,op:`ui.interaction.${re}`,name:n.htmlTreeAsString(j.target),attributes:{release:ee.release,environment:ee.environment,transaction:N,...oe!==void 0&&oe!==""?{user:oe}:{},...ae!==void 0?{profile_id:ae}:{},...te!==void 0?{replay_id:te}:{}},exclusiveTime:B.value,measurements:{inp:{value:B.value,unit:"millisecond"}}}),le=se(M,ee,l);if(le&&Math.random()<le){const P=fe?t.createSpanEnvelope([fe],X.getDsn()):void 0,L=X&&X.getTransport();L&&P&&L.send(P).then(null,_=>{a.DEBUG_BUILD&&n.logger.error("Error while sending interaction:",_)});return}})}function U(w){const l=E();if(!l||!d.WINDOW.performance.getEntries||!n.browserPerformanceTimeOrigin)return;a.DEBUG_BUILD&&n.logger.log("[Tracing] Adding & adjusting spans using Performance API");const B=f(n.browserPerformanceTimeOrigin),j=l.getEntries(),{op:X,start_timestamp:re}=t.spanToJSON(w);
330if(j.slice(I).forEach(ee=>{const ie=f(ee.startTime),ge=f(ee.duration);if(!(w.op==="navigation"&&re&&B+ie<re))switch(ee.entryType){case"navigation":{K(w,ee,B);break}case"mark":case"paint":case"measure":{H(w,ee,ie,ge,B);const S=y.getVisibilityWatcher(),N=ee.startTime<S.firstHiddenTime;ee.name==="first-paint"&&N&&(a.DEBUG_BUILD&&n.logger.log("[Measurements] Adding FP"),p.fp={value:ee.startTime,unit:"millisecond"}),ee.name==="first-contentful-paint"&&N&&(a.DEBUG_BUILD&&n.logger.log("[Measurements] Adding FCP"),p.fcp={value:ee.startTime,unit:"millisecond"});break}case"resource":{q(w,ee,ee.name,ie,ge,B);break}}}),I=Math.max(j.length-1,0),k(w),X==="pageload"){ne(p),["fcp","fp","lcp"].forEach(ie=>{if(!p[ie]||!re||B>=re)return;const ge=p[ie].value,S=B+f(ge),N=Math.abs((S-re)*1e3),M=N-ge;a.DEBUG_BUILD&&n.logger.log(`[Measurements] Normalized ${ie} from ${ge} to ${N} (${M})`),p[ie].value=N});const ee=p["mark.fid"];ee&&p.fid&&(v._startChild(w,{description:"first input delay",endTimestamp:ee.value+f(p.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:ee.value}),delete p["mark.fid"]),"fcp"in p||delete p.cls,Object.keys(p).forEach(ie=>{t.setMeasurement(ie,p[ie].value,p[ie].unit)}),V(w)}C=void 0,O=void 0,p={}}function H(w,l,B,j,X){const re=X+B,ee=re+j;return v._startChild(w,{description:l.name,endTimestamp:ee,op:l.entryType,origin:"auto.resource.browser.metrics",startTimestamp:re}),re}function K(w,l,B){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(j=>{G(w,l,j,B)}),G(w,l,"secureConnection",B,"TLS/SSL","connectEnd"),G(w,l,"fetch",B,"cache","domainLookupStart"),G(w,l,"domainLookup",B,"DNS"),W(w,l,B)}function G(w,l,B,j,X,re){const ee=re?l[re]:l[`${B}End`],ie=l[`${B}Start`];!ie||!ee||v._startChild(w,{op:"browser",origin:"auto.browser.browser.metrics",description:X||B,startTimestamp:j+f(ie),endTimestamp:j+f(ee)})}function W(w,l,B){l.responseEnd&&(v._startChild(w,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:B+f(l.requestStart),endTimestamp:B+f(l.responseEnd)}),v._startChild(w,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:B+f(l.responseStart),endTimestamp:B+f(l.responseEnd)}))}function q(w,l,B,j,X,re){if(l.initiatorType==="xmlhttprequest"||l.initiatorType==="fetch")return;const ee=n.parseUrl(B),ie={};z(ie,l,"transferSize","http.response_transfer_size"),z(ie,l,"encodedBodySize","http.response_content_length"),z(ie,l,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in l&&(ie["resource.render_blocking_status"]=l.renderBlockingStatus),ee.protocol&&(ie["url.scheme"]=ee.protocol.split(":").pop()),ee.host&&(ie["server.address"]=ee.host),ie["url.same_origin"]=B.includes(d.WINDOW.location.origin);const ge=re+j,S=ge+X;v._startChild(w,{description:B.replace(d.WINDOW.location.origin,""),endTimestamp:S,op:l.initiatorType?`resource.${l.initiatorType}`:"resource.other",origin:"auto.resource.browser.metrics",startTimestamp:ge,data:ie})}function k(w){const l=d.WINDOW.navigator;if(!l)return;const B=l.connection;B&&(B.effectiveType&&w.setTag("effectiveConnectionType",B.effectiveType),B.type&&w.setTag("connectionType",B.type),v.isMeasurementValue(B.rtt)&&(p["connection.rtt"]={value:B.rtt,unit:"millisecond"})),v.isMeasurementValue(l.deviceMemory)&&w.setTag("deviceMemory",`${l.deviceMemory} GB`),v.isMeasurementValue(l.hardwareConcurrency)&&w.setTag("hardwareConcurrency",String(l.hardwareConcurrency))}function V(w){C&&(a.DEBUG_BUILD&&n.logger.log("[Measurements] Adding LCP Data"),C.element&&w.setTag("lcp.element",n.htmlTreeAsString(C.element)),C.id&&w.setTag("lcp.id",C.id),C.url&&w.setTag("lcp.url",C.url.trim().slice(0,200)),w.setTag("lcp.size",C.size)),O&&O.sources&&(a.DEBUG_BUILD&&n.logger.log("[Measurements] Adding CLS Data"),O.sources.forEach((l,B)=>w.setTag(`cls.source.${B+1}`,n.htmlTreeAsString(l.node))))}function z(w,l,B,j){const X=l[B];X!=null&&X<b&&(w[j]=X)}function ne(w){const l=u.getNavigationEntry();if(!l)return;const{responseStart:B,requestStart:j}=l;j<=B&&(a.DEBUG_BUILD&&n.logger.log("[Measurements] Adding TTFB Request Time"),w["ttfb.requestTime"]={value:B-j,unit:"millisecond"})}function se(w,l,B){if(!t.hasTracingEnabled(l))return!1;let j;return w!==void 0&&typeof l.tracesSampler=="function"?j=l.tracesSampler({transactionContext:w,name:w.name,parentSampled:w.parentSampled,attributes:{...w.data,...w.attributes},location:d.WINDOW.location}):w!==void 0&&w.sampled!==void 0?j=w.sampled:typeof l.tracesSampleRate<"u"?j=l.tracesSampleRate:j=1,t.isValidSampleRate(j)?j===!0?B:j===!1?0:j*B:(a.DEBUG_BUILD&&n.logger.warn("[Tracing] Discarding interaction span because of invalid sample rate."),!1)}e._addMeasureSpans=H,e._addResourceSpans=q,e.addPerformanceEntries=U,e.startTrackingINP=s,e.startTrackingInteractions=o,e.startTrackingLongTasks=i,e.startTrackingWebVitals=m},512702:(x,e)=>
330{Object.defineProperty(e,"__esModule",{value:!0});function r(n){return typeof n=="number"&&isFinite(n)}function t(n,{startTimestamp:a,...T}){return a&&n.startTimestamp>a&&(n.startTimestamp=a),n.startChild({startTimestamp:a,...T})}e._startChild=t,e.isMeasurementValue=r},859220:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(289375),a=r(65410),T=r(662872),d=r(129824),y=["localhost",/^\/(?!\/)/],v={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:y,tracePropagationTargets:y};function u(o){const{traceFetch:s,traceXHR:c,tracePropagationTargets:g,tracingOrigins:h,shouldCreateSpanForRequest:A,enableHTTPTimings:R}={traceFetch:v.traceFetch,traceXHR:v.traceXHR,...o},D=typeof A=="function"?A:K=>!0,U=K=>C(K,g||h),H={};s&&n.addFetchInstrumentationHandler(K=>{const G=a.instrumentFetchRequest(K,D,U,H);if(G){const W=i(K.fetchData.url),q=W?n.parseUrl(W).host:void 0;G.setAttributes({"http.url":W,"server.address":q})}R&&G&&f(G)}),c&&n.addXhrInstrumentationHandler(K=>{const G=O(K,D,U,H);R&&G&&f(G)})}function b(o){return o.entryType==="resource"&&"initiatorType"in o&&typeof o.nextHopProtocol=="string"&&(o.initiatorType==="fetch"||o.initiatorType==="xmlhttprequest")}function f(o){const{url:s}=t.spanToJSON(o).data||{};if(!s||typeof s!="string")return;const c=T.addPerformanceInstrumentationHandler("resource",({entries:g})=>{g.forEach(h=>{b(h)&&h.name.endsWith(s)&&(p(h).forEach(R=>o.setAttribute(...R)),setTimeout(c))})})}function E(o){let s="unknown",c="unknown",g="";for(const h of o){if(h==="/"){[s,c]=o.split("/");break}if(!isNaN(Number(h))){s=g==="h"?"http":g,c=o.split(g)[1];break}g+=h}return g===o&&(s=g),{name:s,version:c}}function I(o=0){return((n.browserPerformanceTimeOrigin||performance.timeOrigin)+o)/1e3}function p(o){const{name:s,version:c}=E(o.nextHopProtocol),g=[];return g.push(["network.protocol.version",c],["network.protocol.name",s]),n.browserPerformanceTimeOrigin?[...g,["http.request.redirect_start",I(o.redirectStart)],["http.request.fetch_start",I(o.fetchStart)],["http.request.domain_lookup_start",I(o.domainLookupStart)],["http.request.domain_lookup_end",I(o.domainLookupEnd)],["http.request.connect_start",I(o.connectStart)],["http.request.secure_connection_start",I(o.secureConnectionStart)],["http.request.connection_end",I(o.connectEnd)],["http.request.request_start",I(o.requestStart)],["http.request.response_start",I(o.responseStart)],["http.request.response_end",I(o.responseEnd)]]:g}function C(o,s){return n.stringMatchesSomePattern(o,s||y)}function O(o,s,c,g){const h=o.xhr,A=h&&h[n.SENTRY_XHR_DATA_KEY];if(!t.hasTracingEnabled()||!h||h.__sentry_own_request__||!A)return;const R=s(A.url);if(o.endTimestamp&&R){const q=h.__sentry_xhr_span_id__;if(!q)return;const k=g[q];k&&A.status_code!==void 0&&(t.setHttpStatus(k,A.status_code),k.end(),delete g[q]);return}const D=t.getCurrentScope(),U=t.getIsolationScope(),H=i(A.url),K=H?n.parseUrl(H).host:void 0,G=R?t.startInactiveSpan({name:`${A.method} ${A.url}`,onlyIfParent:!0,attributes:{type:"xhr","http.method":A.method,"http.url":H,url:A.url,"server.address":K,[t.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser"},op:"http.client"}):void 0;G&&(h.__sentry_xhr_span_id__=G.spanContext().spanId,g[h.__sentry_xhr_span_id__]=G);const W=t.getClient();if(h.setRequestHeader&&c(A.url)&&W){const{traceId:q,spanId:k,sampled:V,dsc:z}={...U.getPropagationContext(),...D.getPropagationContext()},ne=G?t.spanToTraceHeader(G):n.generateSentryTraceHeader(q,k,V),se=n.dynamicSamplingContextToSentryBaggageHeader(z||(G?t.getDynamicSamplingContextFromSpan(G):t.getDynamicSamplingContextFromClient(q,W,D)));m(h,ne,se)}return G}function m(o,s,c){try{o.setRequestHeader("sentry-trace",s),c&&o.setRequestHeader(n.BAGGAGE_HEADER_NAME,c)}catch{}}function i(o){try{return new URL(o,d.WINDOW.location.origin).href}catch{return}}e.DEFAULT_TRACE_PROPAGATION_TARGETS=y,e.defaultRequestInstrumentationOptions=v,e.extractNetworkProtocol=E,e.instrumentOutgoingRequests=u,e.shouldAttachHeaders=C,e.xhrCallback=O},287912:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(289375),n=r(296972),a=r(129824);function T(d,y=!0,v=!0){if(!a.WINDOW||!a.WINDOW.location){n.DEBUG_BUILD&&t.logger.warn("Could not initialize routing instrumentation due to invali
330d location");return}let u=a.WINDOW.location.href,b;y&&(b=d({name:a.WINDOW.location.pathname,startTimestamp:t.browserPerformanceTimeOrigin?t.browserPerformanceTimeOrigin/1e3:void 0,op:"pageload",origin:"auto.pageload.browser",metadata:{source:"url"}})),v&&t.addHistoryInstrumentationHandler(({to:f,from:E})=>{if(E===void 0&&u&&u.indexOf(f)!==-1){u=void 0;return}E!==f&&(u=void 0,b&&(n.DEBUG_BUILD&&t.logger.log(`[Tracing] Finishing current transaction with op: ${b.op}`),b.end()),b=d({name:a.WINDOW.location.pathname,op:"navigation",origin:"auto.navigation.browser",metadata:{source:"url"}}))})}e.instrumentRoutingWithDefaults=T},129824:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const n=r(289375).GLOBAL_OBJ;e.WINDOW=n},696542:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(906888),n=r(676972),a=r(262716),T=r(667875),d=(y,v={})=>{const u=n.initMetric("CLS",0);let b,f=0,E=[];const I=C=>{C.forEach(O=>{if(!O.hadRecentInput){const m=E[0],i=E[E.length-1];f&&E.length!==0&&O.startTime-i.startTime<1e3&&O.startTime-m.startTime<5e3?(f+=O.value,E.push(O)):(f=O.value,E=[O]),f>u.value&&(u.value=f,u.entries=E,b&&b())}})},p=a.observe("layout-shift",I);if(p){b=t.bindReporter(y,u,v.reportAllChanges);const C=()=>{I(p.takeRecords()),b(!0)};return T.onHidden(C),C}};e.onCLS=d},236293:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(906888),n=r(621286),a=r(676972),T=r(262716),d=r(667875),y=v=>{const u=n.getVisibilityWatcher(),b=a.initMetric("FID");let f;const E=C=>{C.startTime<u.firstHiddenTime&&(b.value=C.processingStart-C.startTime,b.entries.push(C),f(!0))},I=C=>{C.forEach(E)},p=T.observe("first-input",I);f=t.bindReporter(v,b),p&&d.onHidden(()=>{I(p.takeRecords()),p.disconnect()},!0)};e.onFID=y},118423:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(906888),n=r(676972),a=r(262716),T=r(667875),d=r(277895),y=()=>d.getInteractionCount(),v=10,u=[],b={},f=p=>{const C=u[u.length-1],O=b[p.interactionId];if(O||u.length<v||p.duration>C.latency){if(O)O.entries.push(p),O.latency=Math.max(O.latency,p.duration);else{const m={id:p.interactionId,latency:p.duration,entries:[p]};b[m.id]=m,u.push(m)}u.sort((m,i)=>i.latency-m.latency),u.splice(v).forEach(m=>{delete b[m.id]})}},E=()=>{const p=Math.min(u.length-1,Math.floor(y()/50));return u[p]},I=(p,C)=>{C=C||{},d.initInteractionCountPolyfill();const O=n.initMetric("INP");let m;const i=s=>{s.forEach(g=>{g.interactionId&&f(g),g.entryType==="first-input"&&!u.some(A=>A.entries.some(R=>g.duration===R.duration&&g.startTime===R.startTime))&&f(g)});const c=E();c&&c.latency!==O.value&&(O.value=c.latency,O.entries=c.entries,m())},o=a.observe("event",i,{durationThreshold:C.durationThreshold||40});m=t.bindReporter(p,O,C.reportAllChanges),o&&(o.observe({type:"first-input",buffered:!0}),T.onHidden(()=>{i(o.takeRecords()),O.value<0&&y()>0&&(O.value=0,O.entries=[]),m(!0)}))};e.onINP=I},126833:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(129824),n=r(906888),a=r(734358),T=r(621286),d=r(676972),y=r(262716),v=r(667875),u={},b=f=>{const E=T.getVisibilityWatcher(),I=d.initMetric("LCP");let p;const C=m=>{const i=m[m.length-1];if(i){const o=Math.max(i.startTime-a.getActivationStart(),0);o<E.firstHiddenTime&&(I.value=o,I.entries=[i],p())}},O=y.observe("largest-contentful-paint",C);if(O){p=n.bindReporter(f,I);const m=()=>{u[I.id]||(C(O.takeRecords()),O.disconnect(),u[I.id]=!0,p(!0))};return["keydown","click"].forEach(i=>{t.WINDOW.document&&addEventListener(i,m,{once:!0,capture:!0})}),v.onHidden(m,!0),m}};e.onLCP=b},906888:(x,e)=>{Object.defineProperty(e,"__esModule",{value:!0});const r=(t,n,a)=>{let T,d;return y=>{n.value>=0&&(y||a)&&(d=n.value-(T||0),(d||T===void 0)&&(T=n.value,n.delta=d,t(n)))}};e.bindReporter=r},166519:(x,e)=>{Object.defineProperty(e,"__esModule",{value:!0});const r=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`;e.generateUniqueID=r},734358:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(620108),n=()=>{const a=t.getNavigationEntry();return a&&a.activationStart||0};e.getActivationStart=n},620108:(x,e,r)=>
330{Object.defineProperty(e,"__esModule",{value:!0});const t=r(129824),n=()=>{const T=t.WINDOW.performance.timing,d=t.WINDOW.performance.navigation.type,y={entryType:"navigation",startTime:0,type:d==2?"back_forward":d===1?"reload":"navigate"};for(const v in T)v!=="navigationStart"&&v!=="toJSON"&&(y[v]=Math.max(T[v]-T.navigationStart,0));return y},a=()=>t.WINDOW.__WEB_VITALS_POLYFILL__?t.WINDOW.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||n()):t.WINDOW.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0];e.getNavigationEntry=a},621286:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(129824),n=r(667875);let a=-1;const T=()=>{t.WINDOW.document&&t.WINDOW.document.visibilityState&&(a=t.WINDOW.document.visibilityState==="hidden"&&!t.WINDOW.document.prerendering?0:1/0)},d=()=>{n.onHidden(({timeStamp:v})=>{a=v},!0)},y=()=>(a<0&&(T(),d()),{get firstHiddenTime(){return a}});e.getVisibilityWatcher=y},676972:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(129824),n=r(166519),a=r(734358),T=r(620108),d=(y,v)=>{const u=T.getNavigationEntry();let b="navigate";return u&&(t.WINDOW.document&&t.WINDOW.document.prerendering||a.getActivationStart()>0?b="prerender":b=u.type.replace(/_/g,"-")),{name:y,value:typeof v>"u"?-1:v,rating:"good",delta:0,entries:[],id:n.generateUniqueID(),navigationType:b}};e.initMetric=d},262716:(x,e)=>{Object.defineProperty(e,"__esModule",{value:!0});const r=(t,n,a)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){const T=new PerformanceObserver(d=>{n(d.getEntries())});return T.observe(Object.assign({type:t,buffered:!0},a||{})),T}}catch{}};e.observe=r},667875:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(129824),n=(a,T)=>{const d=y=>{(y.type==="pagehide"||t.WINDOW.document.visibilityState==="hidden")&&(a(y),T&&(removeEventListener("visibilitychange",d,!0),removeEventListener("pagehide",d,!0)))};t.WINDOW.document&&(addEventListener("visibilitychange",d,!0),addEventListener("pagehide",d,!0))};e.onHidden=n},277895:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(262716);let n=0,a=1/0,T=0;const d=b=>{b.forEach(f=>{f.interactionId&&(a=Math.min(a,f.interactionId),T=Math.max(T,f.interactionId),n=T?(T-a)/7+1:0)})};let y;const v=()=>y?n:performance.interactionCount||0,u=()=>{"interactionCount"in performance||y||(y=t.observe("event",d,{type:"event",buffered:!0,durationThreshold:0}))};e.getInteractionCount=v,e.initInteractionCountPolyfill=u},259827:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(129824),n=r(906888),a=r(734358),T=r(620108),d=r(676972),y=u=>{t.WINDOW.document&&(t.WINDOW.document.prerendering?addEventListener("prerenderingchange",()=>y(u),!0):t.WINDOW.document.readyState!=="complete"?addEventListener("load",()=>y(u),!0):setTimeout(u,0))},v=(u,b)=>{b=b||{};const f=d.initMetric("TTFB"),E=n.bindReporter(u,f,b.reportAllChanges);y(()=>{const I=T.getNavigationEntry();if(I){if(f.value=Math.max(I.responseStart-a.getActivationStart(),0),f.value<0||f.value>performance.now())return;f.entries=[I],E(!0)}})};e.onTTFB=v},296972:(x,e)=>{Object.defineProperty(e,"__esModule",{value:!0});const r=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;e.DEBUG_BUILD=r},65410:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(289375);function a(v,u,b,f,E="auto.http.browser"){if(!t.hasTracingEnabled()||!v.fetchData)return;const I=u(v.fetchData.url);if(v.endTimestamp&&I){const c=v.fetchData.__span;if(!c)return;const g=f[c];g&&(y(g,v),delete f[c]);return}const p=t.getCurrentScope(),C=t.getClient(),{method:O,url:m}=v.fetchData,i=d(m),o=i?n.parseUrl(i).host:void 0,s=I?t.startInactiveSpan({name:`${O} ${m}`,onlyIfParent:!0,attributes:{url:m,type:"fetch","http.method":O,"http.url":i,"server.address":o,[t.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:E},op:"http.client"}):void 0;if(s&&(v.fetchData.__span=s.spanContext().spanId,f[s.spanContext().spanId]=s),b(v.fetchData.url)&&C){const c=v.args[0];v.args[1]=v.args[1]||{};const g=v.args[1];g.headers=T(c,C,p,g,s)}return s}function T(v,u,b,f,E){const I=E||b.getSpan(),p=t.getIsolationScope(),{traceId:C,spanId:O,sampled:m,dsc:i}={...p.getPropagationContext(),...b.getPropagationContext()},o=I?t.spanToTraceHeader(I):n.generateSentryTraceHeader(C,O,m),s=n.dynamicSamplingContextToSentryBaggageHeader(i||(I?t.getDynamicSamplingContextFromSpan(I):t.getDynamicSamplingContextFromClient(C,u,b))),c=f.headers||(typeof Request<"u"&&n.isInstanceOf(v,Request)?v.headers:void 0);if(c)if(typeof Headers<"u"&&n.isInstanceOf(c,Headers)){const g=new Headers(c);return g.append("sentry-trace",o),s&&g.append(n.BAGGAGE_HEADER_NAME,s),g}else if(Array.isArray(c)){const g=[...c,["sentry-trace",o]];return s&&g.push([n.BAGGAGE_HEADER_NAME,s]),g}else{const g="baggage"in c?c.baggage:void 0,h=[];return Array.isArray(g)?h.push(...g):g&&h.push(g),s&&h.push(s),{...c,"sentry-trace":o,baggage:h.length>0?h.join(","):void 0}}else return{"sentry-trace":o,baggage:s}}function d(v){try{return new URL(v).href}catch{return}}function y(v,u){if(u.response){t.setHttpStatus(v,u.response.status);const b=u.response&&u.response.headers&&u.response.headers.get("content-length");if(b){const f=parseInt(b);f>0&&v.setAttribute("http.response_content_length",f)}}else u.error&&v.setStatus("internal_error");v.end()}e.addTracingHeadersToFetchRequest=T,e.instrumentFetchRequest=a},950086:(x,e,r)=>
330{x=r.nmd(x),Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(289375);function a(){const d=t.getMainCarrier();if(!d.__SENTRY__)return;const y={mongodb(){const u=n.dynamicRequire(x,"./node/integrations/mongo");return new u.Mongo},mongoose(){const u=n.dynamicRequire(x,"./node/integrations/mongo");return new u.Mongo},mysql(){const u=n.dynamicRequire(x,"./node/integrations/mysql");return new u.Mysql},pg(){const u=n.dynamicRequire(x,"./node/integrations/postgres");return new u.Postgres}},v=Object.keys(y).filter(u=>!!n.loadModule(u)).map(u=>{try{return y[u]()}catch{return}}).filter(u=>u);v.length>0&&(d.__SENTRY__.integrations=[...d.__SENTRY__.integrations||[],...v])}function T(){t.addTracingExtensions(),n.isNodeEnv()&&a()}e.addExtensionMethods=T},443250:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(289375),a=r(457355),T=r(45708),d=r(264321),y=r(864199),v=r(878995),u=r(936594),b=r(239820),f=r(131349),E=r(208211),I=r(557145),p=r(859220),C=r(662872),O=r(65410),m=r(950086);e.IdleTransaction=t.IdleTransaction,e.Span=t.Span,e.SpanStatus=t.SpanStatus,e.Transaction=t.Transaction,e.extractTraceparentData=t.extractTraceparentData,e.getActiveTransaction=t.getActiveTransaction,e.hasTracingEnabled=t.hasTracingEnabled,e.spanStatusfromHttpCode=t.spanStatusfromHttpCode,e.startIdleTransaction=t.startIdleTransaction,e.TRACEPARENT_REGEXP=n.TRACEPARENT_REGEXP,e.stripUrlQueryAndFragment=n.stripUrlQueryAndFragment,e.Express=a.Express,e.Postgres=T.Postgres,e.Mysql=d.Mysql,e.Mongo=y.Mongo,e.Prisma=v.Prisma,e.GraphQL=u.GraphQL,e.Apollo=b.Apollo,e.lazyLoadedNodePerformanceMonitoringIntegrations=f.lazyLoadedNodePerformanceMonitoringIntegrations,e.BROWSER_TRACING_INTEGRATION_ID=E.BROWSER_TRACING_INTEGRATION_ID,e.BrowserTracing=E.BrowserTracing,e.browserTracingIntegration=I.browserTracingIntegration,e.startBrowserTracingNavigationSpan=I.startBrowserTracingNavigationSpan,e.startBrowserTracingPageLoadSpan=I.startBrowserTracingPageLoadSpan,e.defaultRequestInstrumentationOptions=p.defaultRequestInstrumentationOptions,e.instrumentOutgoingRequests=p.instrumentOutgoingRequests,e.addClsInstrumentationHandler=C.addClsInstrumentationHandler,e.addFidInstrumentationHandler=C.addFidInstrumentationHandler,e.addLcpInstrumentationHandler=C.addLcpInstrumentationHandler,e.addPerformanceInstrumentationHandler=C.addPerformanceInstrumentationHandler,e.addTracingHeadersToFetchRequest=O.addTracingHeadersToFetchRequest,e.instrumentFetchRequest=O.instrumentFetchRequest,e.addExtensionMethods=m.addExtensionMethods},239820:(x,e,r)=>{var{_optionalChain:t}=r(289375);Object.defineProperty(e,"__esModule",{value:!0});const n=r(289375),a=r(296972),T=r(774313);class d{static __initStatic(){this.id="Apollo"}constructor(b={useNestjs:!1}){this.name=d.id,this._useNest=!!b.useNestjs}loadDependency(){return this._useNest?this._module=this._module||n.loadModule("@nestjs/graphql"):this._module=this._module||n.loadModule("apollo-server-core"),this._module}setupOnce(b,f){if(T.shouldDisableAutoInstrumentation(f)){a.DEBUG_BUILD&&n.logger.log("Apollo Integration is skipped because of instrumenter configuration.");return}if(this._useNest){const E=this.loadDependency();if(!E){a.DEBUG_BUILD&&n.logger.error("Apollo-NestJS Integration was unable to require @nestjs/graphql package.");return}n.fill(E.GraphQLFactory.prototype,"mergeWithSchema",function(I){return function(...p){return n.fill(this.resolversExplorerService,"explore",function(C){return function(){const O=n.arrayify(C.call(this));return y(O,f)}}),I.call(this,...p)}})}else{const E=this.loadDependency();if(!E){a.DEBUG_BUILD&&n.logger.error("Apollo Integration was unable to require apollo-server-core package.");return}n.fill(E.ApolloServerBase.prototype,"constructSchema",function(I){return function(){if(!this.config.resolvers)return a.DEBUG_BUILD&&(this.config.schema?(n.logger.warn("Apollo integration is not able to trace `ApolloServer` instances constructed via `schema` property.If you are using NestJS with Apollo, please use `Sentry.Integrations.Apollo({ useNestjs: true })` instead."),n.logger.warn()):this.config.modules&&n.logger.warn("Apollo integration is not able to trace `ApolloServer` instances constructed via `modules` property."),n.logger.error("Skipping tracing as no resolvers found on the `ApolloServer` instance.")),I.call(this);const p=n.arrayify(this.config.resolvers);return this.config.resolvers=y(p,f),I.call(this)}})}}}d.__initStatic();function y(u,b){return u.map(f=>(Object.keys(f).forEach(E=>
330{Object.keys(f[E]).forEach(I=>{typeof f[E][I]=="function"&&v(f,E,I,b)})}),f))}function v(u,b,f,E){n.fill(u[b],f,function(I){return function(...p){const O=E().getScope().getSpan(),m=t([O,"optionalAccess",o=>o.startChild,"call",o=>o({description:`${b}.${f}`,op:"graphql.resolve",origin:"auto.graphql.apollo"})]),i=I.call(this,...p);return n.isThenable(i)?i.then(o=>(t([m,"optionalAccess",s=>s.end,"call",s=>s()]),o)):(t([m,"optionalAccess",o=>o.end,"call",o=>o()]),i)}})}e.Apollo=d},457355:(x,e,r)=>{var{_optionalChain:t}=r(289375);Object.defineProperty(e,"__esModule",{value:!0});const n=r(389615),a=r(289375),T=r(296972),d=r(774313);class y{static __initStatic(){this.id="Express"}constructor(o={}){this.name=y.id,this._router=o.router||o.app,this._methods=(Array.isArray(o.methods)?o.methods:[]).concat("use")}setupOnce(o,s){if(!this._router){T.DEBUG_BUILD&&a.logger.error("ExpressIntegration is missing an Express instance");return}if(d.shouldDisableAutoInstrumentation(s)){T.DEBUG_BUILD&&a.logger.log("Express Integration is skipped because of instrumenter configuration.");return}f(this._router,this._methods),E(this._router)}}y.__initStatic();function v(i,o){const s=i.length;switch(s){case 2:return function(c,g){const h=g.__sentry_transaction;if(h){const A=h.startChild({description:i.name,op:`middleware.express.${o}`,origin:"auto.middleware.express"});g.once("finish",()=>{A.end()})}return i.call(this,c,g)};case 3:return function(c,g,h){const A=g.__sentry_transaction,R=t([A,"optionalAccess",D=>D.startChild,"call",D=>D({description:i.name,op:`middleware.express.${o}`,origin:"auto.middleware.express"})]);i.call(this,c,g,function(...D){t([R,"optionalAccess",U=>U.end,"call",U=>U()]),h.call(this,...D)})};case 4:return function(c,g,h,A){const R=h.__sentry_transaction,D=t([R,"optionalAccess",U=>U.startChild,"call",U=>U({description:i.name,op:`middleware.express.${o}`,origin:"auto.middleware.express"})]);i.call(this,c,g,h,function(...U){t([D,"optionalAccess",H=>H.end,"call",H=>H()]),A.call(this,...U)})};default:throw new Error(`Express middleware takes 2-4 arguments. Got: ${s}`)}}function u(i,o){return i.map(s=>typeof s=="function"?v(s,o):Array.isArray(s)?s.map(c=>typeof c=="function"?v(c,o):c):s)}function b(i,o){const s=i[o];return i[o]=function(...c){return s.call(this,...u(c,o))},i}function f(i,o=[]){o.forEach(s=>b(i,s))}function E(i){const o="settings"in i;o&&i._router===void 0&&i.lazyrouter&&i.lazyrouter();const s=o?i._router:i;if(!s){T.DEBUG_BUILD&&a.logger.debug("Cannot instrument router for URL Parameterization (did not find a valid router)."),T.DEBUG_BUILD&&a.logger.debug("Routing instrumentation is currently only supported in Express 4.");return}const c=Object.getPrototypeOf(s),g=c.process_params;c.process_params=function(A,R,D,U,H){D._reconstructedRoute||(D._reconstructedRoute="");const{layerRoutePath:K,isRegex:G,isArray:W,numExtraSegments:q}=p(A);(K||G||W)&&(D._hasParameters=!0);let k;K?k=K:k=m(D.originalUrl,D._reconstructedRoute,A.path)||"";const V=k.split("/").filter(se=>se.length>0&&(G||W||!se.includes("*"))).join("/");V&&V.length>0&&(D._reconstructedRoute+=`/${V}${G?"/":""}`);const z=a.getNumberOfUrlSegments(a.stripUrlQueryAndFragment(D.originalUrl||""))+q,ne=a.getNumberOfUrlSegments(D._reconstructedRoute);if(z===ne){D._hasParameters||D._reconstructedRoute!==D.originalUrl&&(D._reconstructedRoute=D.originalUrl?a.stripUrlQueryAndFragment(D.originalUrl):D.originalUrl);const se=U.__sentry_transaction,w=se&&n.spanToJSON(se).data||{};if(se&&w[n.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]!=="custom"){const l=D._reconstructedRoute||"/",[B,j]=a.extractPathForTransaction(D,{path:!0,method:!0,customRoute:l});se.updateName(B),se.setAttribute(n.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,j)}}return g.call(this,A,R,D,U,H)}}const I=(i,o,s)=>{if(!i||!o||!s||Object.keys(s).length===0||t([s,"access",U=>U[0],"optionalAccess",U=>U.offset])===void 0||t([s,"access",U=>U[0],"optionalAccess",U=>U.offset])===null)return;const c=s.sort((U,H)=>U.offset-H.offset),h=new RegExp(o,`${o.flags}d`).exec(i);if(!h||!h.indices)return;const[,...A]=h.indices;if(A.length!==c.length)return;let R=i,D=0;return A.forEach((U,H)=>{if(U){const[K,G]=U,W=R.substring(0,K-D),q=`:${c[H].name}`,k=R.substring(G-D);R=W+q+k,D=D+(G-K-q.length)}}),R};function p(i){let o=t([i,"access",A=>A.route,"optionalAccess",A=>A.path]);const s=a.isRegExp(o),c=Array.isArray(o);if(!o){const[A]=a.GLOBAL_OBJ.process.versions.node.split(".").map(Number);A>=16&&(o=I(i.path,i.regexp,i.keys))}if(!o)return{isRegex:s,isArray:c,numExtraSegments:0};const g=c?Math.max(C(o)-a.getNumberOfUrlSegments(i.path||""),0):0;return{layerRoutePath:O(c,o),isRegex:s,isArray:c,numExtraSegments:g}}function C(i){return i.reduce((o,s)=>o+a.getNumberOfUrlSegments(s.toString()),0)}function O(i,o){return i?o.map(s=>s.toString()).join(","):o&&o.toString()}function m(i,o,s){const c=a.stripUrlQueryAndFragment(i||""),g=t([c,"optionalAccess",D=>D.split,"call",D=>
330D("/"),"access",D=>D.filter,"call",D=>D(U=>!!U)]);let h=0;const A=t([o,"optionalAccess",D=>D.split,"call",D=>D("/"),"access",D=>D.filter,"call",D=>D(U=>!!U),"access",D=>D.length])||0;return t([s,"optionalAccess",D=>D.split,"call",D=>D("/"),"access",D=>D.filter,"call",D=>D(U=>t([g,"optionalAccess",H=>H[A+h]])===U?(h+=1,!0):!1),"access",D=>D.join,"call",D=>D("/")])}e.Express=y,e.extractOriginalRoute=I,e.preventDuplicateSegments=m},936594:(x,e,r)=>{var{_optionalChain:t}=r(289375);Object.defineProperty(e,"__esModule",{value:!0});const n=r(289375),a=r(296972),T=r(774313);class d{static __initStatic(){this.id="GraphQL"}constructor(){this.name=d.id}loadDependency(){return this._module=this._module||n.loadModule("graphql/execution/execute.js")}setupOnce(v,u){if(T.shouldDisableAutoInstrumentation(u)){a.DEBUG_BUILD&&n.logger.log("GraphQL Integration is skipped because of instrumenter configuration.");return}const b=this.loadDependency();if(!b){a.DEBUG_BUILD&&n.logger.error("GraphQL Integration was unable to require graphql/execution package.");return}n.fill(b,"execute",function(f){return function(...E){const I=u().getScope(),p=I.getSpan(),C=t([p,"optionalAccess",m=>m.startChild,"call",m=>m({description:"execute",op:"graphql.execute",origin:"auto.graphql.graphql"})]);t([I,"optionalAccess",m=>m.setSpan,"call",m=>m(C)]);const O=f.call(this,...E);return n.isThenable(O)?O.then(m=>(t([C,"optionalAccess",i=>i.end,"call",i=>i()]),t([I,"optionalAccess",i=>i.setSpan,"call",i=>i(p)]),m)):(t([C,"optionalAccess",m=>m.end,"call",m=>m()]),t([I,"optionalAccess",m=>m.setSpan,"call",m=>m(p)]),O)}})}}d.__initStatic(),e.GraphQL=d},131349:(x,e,r)=>{x=r.nmd(x),Object.defineProperty(e,"__esModule",{value:!0});const t=r(289375),n=[()=>{const a=t.dynamicRequire(x,"./apollo");return new a.Apollo},()=>{const a=t.dynamicRequire(x,"./apollo");return new a.Apollo({useNestjs:!0})},()=>{const a=t.dynamicRequire(x,"./graphql");return new a.GraphQL},()=>{const a=t.dynamicRequire(x,"./mongo");return new a.Mongo},()=>{const a=t.dynamicRequire(x,"./mongo");return new a.Mongo({mongoose:!0})},()=>{const a=t.dynamicRequire(x,"./mysql");return new a.Mysql},()=>{const a=t.dynamicRequire(x,"./postgres");return new a.Postgres}];e.lazyLoadedNodePerformanceMonitoringIntegrations=n},864199:(x,e,r)=>{var{_optionalChain:t}=r(289375);Object.defineProperty(e,"__esModule",{value:!0});const n=r(289375),a=r(296972),T=r(774313),d=["aggregate","bulkWrite","countDocuments","createIndex","createIndexes","deleteMany","deleteOne","distinct","drop","dropIndex","dropIndexes","estimatedDocumentCount","find","findOne","findOneAndDelete","findOneAndReplace","findOneAndUpdate","indexes","indexExists","indexInformation","initializeOrderedBulkOp","insertMany","insertOne","isCapped","mapReduce","options","parallelCollectionScan","rename","replaceOne","stats","updateMany","updateOne"],y={bulkWrite:["operations"],countDocuments:["query"],createIndex:["fieldOrSpec"],createIndexes:["indexSpecs"],deleteMany:["filter"],deleteOne:["filter"],distinct:["key","query"],dropIndex:["indexName"],find:["query"],findOne:["query"],findOneAndDelete:["filter"],findOneAndReplace:["filter","replacement"],findOneAndUpdate:["filter","update"],indexExists:["indexes"],insertMany:["docs"],insertOne:["doc"],mapReduce:["map","reduce"],rename:["newName"],replaceOne:["filter","doc"],updateMany:["filter","update"],updateOne:["filter","update"]};function v(b){return b&&typeof b=="object"&&b.once&&typeof b.once=="function"}class u{static __initStatic(){this.id="Mongo"}constructor(f={}){this.name=u.id,this._operations=Array.isArray(f.operations)?f.operations:d,this._describeOperations="describeOperations"in f?f.describeOperations:!0,this._useMongoose=!!f.useMongoose}loadDependency(){const f=this._useMongoose?"mongoose":"mongodb";return this._module=this._module||n.loadModule(f)}setupOnce(f,E){if(T.shouldDisableAutoInstrumentation(E)){a.DEBUG_BUILD&&n.logger.log("Mongo Integration is skipped because of instrumenter configuration.");return}const I=this.loadDependency();if(!I){const p=this._useMongoose?"mongoose":"mongodb";a.DEBUG_BUILD&&n.logger.error(`Mongo Integration was unable to require \`${p}\` package.`);return}this._instrumentOperations(I.Collection,this._operations,E)}
330_instrumentOperations(f,E,I){E.forEach(p=>this._patchOperation(f,p,I))}_patchOperation(f,E,I){if(!(E in f.prototype))return;const p=this._getSpanContextFromOperationArguments.bind(this);n.fill(f.prototype,E,function(C){return function(...O){const m=O[O.length-1],i=I(),o=i.getScope(),s=i.getClient(),c=o.getSpan(),g=t([s,"optionalAccess",A=>A.getOptions,"call",A=>A(),"access",A=>A.sendDefaultPii]);if(typeof m!="function"||E==="mapReduce"&&O.length===2){const A=t([c,"optionalAccess",D=>D.startChild,"call",D=>D(p(this,E,O,g))]),R=C.call(this,...O);if(n.isThenable(R))return R.then(D=>(t([A,"optionalAccess",U=>U.end,"call",U=>U()]),D));if(v(R)){const D=R;try{D.once("close",()=>{t([A,"optionalAccess",U=>U.end,"call",U=>U()])})}catch{t([A,"optionalAccess",H=>H.end,"call",H=>H()])}return D}else return t([A,"optionalAccess",D=>D.end,"call",D=>D()]),R}const h=t([c,"optionalAccess",A=>A.startChild,"call",A=>A(p(this,E,O.slice(0,-1)))]);return C.call(this,...O.slice(0,-1),function(A,R){t([h,"optionalAccess",D=>D.end,"call",D=>D()]),m(A,R)})}})}_getSpanContextFromOperationArguments(f,E,I,p=!1){const C={"db.system":"mongodb","db.name":f.dbName,"db.operation":E,"db.mongodb.collection":f.collectionName},O={op:"db",origin:"auto.db.mongo",description:E,data:C},m=y[E],i=Array.isArray(this._describeOperations)?this._describeOperations.includes(E):this._describeOperations;if(!m||!i||!p)return O;try{if(E==="mapReduce"){const[o,s]=I;C[m[0]]=typeof o=="string"?o:o.name||"<anonymous>",C[m[1]]=typeof s=="string"?s:s.name||"<anonymous>"}else for(let o=0;o<m.length;o++)C[`db.mongodb.${m[o]}`]=JSON.stringify(I[o])}catch{}return O}}u.__initStatic(),e.Mongo=u},264321:(x,e,r)=>{var{_optionalChain:t}=r(289375);Object.defineProperty(e,"__esModule",{value:!0});const n=r(289375),a=r(296972),T=r(774313);class d{static __initStatic(){this.id="Mysql"}constructor(){this.name=d.id}loadDependency(){return this._module=this._module||n.loadModule("mysql/lib/Connection.js")}setupOnce(v,u){if(T.shouldDisableAutoInstrumentation(u)){a.DEBUG_BUILD&&n.logger.log("Mysql Integration is skipped because of instrumenter configuration.");return}const b=this.loadDependency();if(!b){a.DEBUG_BUILD&&n.logger.error("Mysql Integration was unable to require `mysql` package.");return}let f;try{b.prototype.connect=new Proxy(b.prototype.connect,{apply(p,C,O){return f||(f=C.config),p.apply(C,O)}})}catch{a.DEBUG_BUILD&&n.logger.error("Mysql Integration was unable to instrument `mysql` config.")}function E(){return f?{"server.address":f.host,"server.port":f.port,"db.user":f.user}:{}}function I(p){if(!p)return;const C=E();Object.keys(C).forEach(O=>{p.setAttribute(O,C[O])}),p.end()}n.fill(b,"createQuery",function(p){return function(C,O,m){const o=u().getScope().getSpan(),s=t([o,"optionalAccess",g=>g.startChild,"call",g=>g({description:typeof C=="string"?C:C.sql,op:"db",origin:"auto.db.mysql",data:{"db.system":"mysql"}})]);if(typeof m=="function")return p.call(this,C,O,function(g,h,A){I(s),m(g,h,A)});if(typeof O=="function")return p.call(this,C,function(g,h,A){I(s),O(g,h,A)});const c=p.call(this,C,O);return c.on("end",()=>{I(s)}),c}})}}d.__initStatic(),e.Mysql=d},45708:(x,e,r)=>{var{_optionalChain:t}=r(289375);Object.defineProperty(e,"__esModule",{value:!0});const n=r(289375),a=r(296972),T=r(774313);class d{static __initStatic(){this.id="Postgres"}constructor(v={}){this.name=d.id,this._usePgNative=!!v.usePgNative,this._module=v.module}loadDependency(){return this._module=this._module||n.loadModule("pg")}setupOnce(v,u){if(T.shouldDisableAutoInstrumentation(u)){a.DEBUG_BUILD&&n.logger.log("Postgres Integration is skipped because of instrumenter configuration.");return}const b=this.loadDependency();if(!b){a.DEBUG_BUILD&&n.logger.error("Postgres Integration was unable to require `pg` package.");return}const f=this._usePgNative?t([b,"access",E=>E.native,"optionalAccess",E=>E.Client]):b.Client;if(!f){a.DEBUG_BUILD&&n.logger.error("Postgres Integration was unable to access 'pg-native' bindings.");return}n.fill(f.prototype,"query",function(E){return function(I,p,C){const m=u().getScope().getSpan(),i={"db.system":"postgresql"};try{this.database&&(i["db.name"]=this.database),this.host&&(i["server.address"]=this.host),this.port&&(i["server.port"]=this.port),this.user&&(i["db.user"]=this.user)}catch{}const o=t([m,"optionalAccess",c=>c.startChild,"call",c=>
330c({description:typeof I=="string"?I:I.text,op:"db",origin:"auto.db.postgres",data:i})]);if(typeof C=="function")return E.call(this,I,p,function(c,g){t([o,"optionalAccess",h=>h.end,"call",h=>h()]),C(c,g)});if(typeof p=="function")return E.call(this,I,function(c,g){t([o,"optionalAccess",h=>h.end,"call",h=>h()]),p(c,g)});const s=typeof p<"u"?E.call(this,I,p):E.call(this,I);return n.isThenable(s)?s.then(c=>(t([o,"optionalAccess",g=>g.end,"call",g=>g()]),c)):(t([o,"optionalAccess",c=>c.end,"call",c=>c()]),s)}})}}d.__initStatic(),e.Postgres=d},878995:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(289375),a=r(296972),T=r(774313);function d(v){return!!v&&!!v.$use}class y{static __initStatic(){this.id="Prisma"}constructor(u={}){if(this.name=y.id,d(u.client)&&!u.client._sentryInstrumented){n.addNonEnumerableProperty(u.client,"_sentryInstrumented",!0);const b={};try{const f=u.client._engineConfig;if(f){const{activeProvider:E,clientVersion:I}=f;E&&(b["db.system"]=E),I&&(b["db.prisma.version"]=I)}}catch{}u.client.$use((f,E)=>{if(T.shouldDisableAutoInstrumentation(t.getCurrentHub))return E(f);const I=f.action,p=f.model;return t.startSpan({name:p?`${p} ${I}`:I,onlyIfParent:!0,op:"db.prisma",attributes:{[t.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.db.prisma"},data:{...b,"db.operation":I}},()=>E(f))})}else a.DEBUG_BUILD&&n.logger.warn("Unsupported Prisma client provided to PrismaIntegration. Provided client:",u.client)}setupOnce(){}}y.__initStatic(),e.Prisma=y},774313:(x,e,r)=>{var{_optionalChain:t}=r(289375);Object.defineProperty(e,"__esModule",{value:!0});function n(a){const T=t([a,"call",y=>y(),"access",y=>y.getClient,"call",y=>y(),"optionalAccess",y=>y.getOptions,"call",y=>y()]);return(t([T,"optionalAccess",y=>y.instrumenter])||"sentry")!=="sentry"}e.shouldDisableAutoInstrumentation=n},805263:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(289375),a=r(789372),T=r(494207),d=r(180103),y=r(363976);class v extends t.BaseClient{constructor(b){const f=d.WINDOW.SENTRY_SDK_SOURCE||n.getSDKSource();t.applySdkMetadata(b,"browser",["browser"],f),super(b),b.sendClientReports&&d.WINDOW.document&&d.WINDOW.document.addEventListener("visibilitychange",()=>{d.WINDOW.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(b,f){return T.eventFromException(this._options.stackParser,b,f,this._options.attachStacktrace)}eventFromMessage(b,f="info",E){return T.eventFromMessage(this._options.stackParser,b,f,E,this._options.attachStacktrace)}captureUserFeedback(b){if(!this._isEnabled()){a.DEBUG_BUILD&&n.logger.warn("SDK not enabled, will not capture user feedback.");return}const f=y.createUserFeedbackEnvelope(b,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(f)}_prepareEvent(b,f,E){return b.platform=b.platform||"javascript",super._prepareEvent(b,f,E)}_flushOutcomes(){const b=this._clearOutcomes();if(b.length===0){a.DEBUG_BUILD&&n.logger.log("No outcomes to send");return}if(!this._dsn){a.DEBUG_BUILD&&n.logger.log("No dsn provided, will not send outcomes");return}a.DEBUG_BUILD&&n.logger.log("Sending outcomes:",b);const f=n.createClientReportEnvelope(b,this._options.tunnel&&n.dsnToString(this._dsn));this._sendEnvelope(f)}}e.BrowserClient=v},789372:(x,e)=>{Object.defineProperty(e,"__esModule",{value:!0});const r=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;e.DEBUG_BUILD=r},494207:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(289375);function a(m,i){const o=y(m,i),s={type:i&&i.name,value:b(i)};return o.length&&(s.stacktrace={frames:o}),s.type===void 0&&s.value===""&&(s.value="Unrecoverable error caught"),s}function T(m,i,o,s){const c=t.getClient(),g=c&&c.getOptions().normalizeDepth,h={exception:{values:[{type:n.isEvent(i)?i.constructor.name:s?"UnhandledRejection":"Error",value:C(i,{isUnhandledRejection:s})}]},extra:{__serialized__:n.normalizeToSize(i,g)}};if(o){const A=y(m,o);A.length&&(h.exception.values[0].stacktrace={frames:A})}return h}function d(m,i){return{exception:{values:[a(m,i)]}}}function y(m,i){const o=i.stacktrace||i.stack||"",s=u(i);try{return m(o,s)}catch{}return[]}const v=/Minified React error #\d+;/i;function u(m){if(m){if(typeof m.framesToPop=="number")return m.framesToPop;if(v.test(m.message))return 1}return 0}function b(m){const i=m&&m.message;return i?i.error&&typeof i.error.message=="string"?i.error.message:i:"No error message"}function f(m,i,o,s){const c=o&&o.syntheticException||void 0,g=I(m,i,c,s);return n.addExceptionMechanism(g),g.level="error",o&&o.event_id&&(g.event_id=o.event_id),n.resolvedSyncPromise(g)}function E(m,i,o="info",s,c){const g=s&&s.syntheticException||void 0,h=p(m,i,g,c);return h.level=o,s&&s.event_id&&(h.event_id=s.event_id),n.resolvedSyncPromise(h)}function I(m,i,o,s,c){let g;if(n.isErrorEvent(i)&&i.error)return d(m,i.error);if(n.isDOMError(i)||n.isDOMException(i)){const h=i;if("stack"in i)g=d(m,i);else{const A=h.name||(n.isDOMError(h)?"DOMError":"DOMException"),R=h.message?`${A}: ${h.message}`:A;g=p(m,R,o,s),n.addExceptionTypeValue(g,R)}return"code"in h&&(g.tags={...g.tags,"DOMException.code":`${h.code}`}),g}return n.isError(i)?d(m,i):n.isPlainObject(i)||n.isEvent(i)?(g=T(m,i,o,
330c),n.addExceptionMechanism(g,{synthetic:!0}),g):(g=p(m,i,o,s),n.addExceptionTypeValue(g,`${i}`,void 0),n.addExceptionMechanism(g,{synthetic:!0}),g)}function p(m,i,o,s){const c={};if(s&&o){const g=y(m,o);g.length&&(c.exception={values:[{value:i,stacktrace:{frames:g}}]})}if(n.isParameterizedString(i)){const{__sentry_template_string__:g,__sentry_template_values__:h}=i;return c.logentry={message:g,params:h},c}return c.message=i,c}function C(m,{isUnhandledRejection:i}){const o=n.extractExceptionKeysForMessage(m),s=i?"promise rejection":"exception";return n.isErrorEvent(m)?`Event \`ErrorEvent\` captured as ${s} with message \`${m.message}\``:n.isEvent(m)?`Event \`${O(m)}\` (type=${m.type}) captured as ${s}`:`Object captured as ${s} with keys: ${o}`}function O(m){try{const i=Object.getPrototypeOf(m);return i?i.constructor.name:void 0}catch{}}e.eventFromError=d,e.eventFromException=f,e.eventFromMessage=E,e.eventFromPlainObject=T,e.eventFromString=p,e.eventFromUnknownInput=I,e.exceptionFromError=a,e.parseStackFrames=y},180103:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),r(443250);const t=r(389615),n=r(289375),a=n.GLOBAL_OBJ;let T=0;function d(){return T>0}function y(){T++,setTimeout(()=>{T--})}function v(u,b={},f){if(typeof u!="function")return u;try{const I=u.__sentry_wrapped__;if(I)return typeof I=="function"?I:u;if(n.getOriginalFunction(u))return u}catch{return u}const E=function(){const I=Array.prototype.slice.call(arguments);try{f&&typeof f=="function"&&f.apply(this,arguments);const p=I.map(C=>v(C,b));return u.apply(this,p)}catch(p){throw y(),t.withScope(C=>{C.addEventProcessor(O=>(b.mechanism&&(n.addExceptionTypeValue(O,void 0,void 0),n.addExceptionMechanism(O,b.mechanism)),O.extra={...O.extra,arguments:I},O)),t.captureException(p)}),p}};try{for(const I in u)Object.prototype.hasOwnProperty.call(u,I)&&(E[I]=u[I])}catch{}n.markFunctionWrapped(E,u),n.addNonEnumerableProperty(u,"__sentry_wrapped__",E);try{Object.getOwnPropertyDescriptor(E,"name").configurable&&Object.defineProperty(E,"name",{get(){return u.name}})}catch{}return E}e.WINDOW=a,e.ignoreNextOnError=y,e.shouldIgnoreOnError=d,e.wrap=v},212598:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(180103),a=r(805263),T=r(73837),d=r(986987),y=r(884303),v=r(494207),u=r(363976),b=r(454842),f=r(614426),E=r(414997),I=r(644640),p=r(348719),C=r(961432),O=r(705926),m=r(919820),i=r(558771),o=r(993870),s=r(407509),c=r(852619),g=r(443250),h=r(500058),A=r(215854),R=r(852265);let D={};n.WINDOW.Sentry&&n.WINDOW.Sentry.Integrations&&(D=n.WINDOW.Sentry.Integrations);const U={...D,...t.Integrations,...m};e.FunctionToString=t.FunctionToString,e.Hub=t.Hub,e.InboundFilters=t.InboundFilters,e.ModuleMetadata=t.ModuleMetadata,e.SDK_VERSION=t.SDK_VERSION,e.SEMANTIC_ATTRIBUTE_SENTRY_OP=t.SEMANTIC_ATTRIBUTE_SENTRY_OP,e.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN=t.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,e.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE=t.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,e.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE=t.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,e.Scope=t.Scope,e.addBreadcrumb=t.addBreadcrumb,e.addEventProcessor=t.addEventProcessor,e.addGlobalEventProcessor=t.addGlobalEventProcessor,e.addIntegration=t.addIntegration,e.addTracingExtensions=t.addTracingExtensions,e.captureEvent=t.captureEvent,e.captureException=t.captureException,e.captureMessage=t.captureMessage,e.captureSession=t.captureSession,e.close=t.close,e.configureScope=t.configureScope,e.continueTrace=t.continueTrace,e.createTransport=t.createTransport,e.endSession=t.endSession,e.extractTraceparentData=t.extractTraceparentData,e.flush=t.flush,e.functionToStringIntegration=t.functionToStringIntegration,e.getActiveSpan=t.getActiveSpan,e.getActiveTransaction=t.getActiveTransaction,e.getClient=t.getClient,e.getCurrentHub=t.getCurrentHub,e.getCurrentScope=t.getCurrentScope,e.getHubFromCarrier=t.getHubFromCarrier,e.getSpanStatusFromHttpCode=t.getSpanStatusFromHttpCode,e.inboundFiltersIntegration=t.inboundFiltersIntegration,e.isInitialized=t.isInitialized,e.lastEventId=t.lastEventId,e.makeMain=t.makeMain,e.makeMultiplexedTransport=t.makeMultiplexedTransport,e.metrics=t.metrics,e.moduleMetadataIntegration=t.moduleMetadataIntegration,e.parameterize=t.parameterize,e.setContext=t.setContext,e.setCurrentClient=t.setCurrentClient,e.setExtra=t.setExtra,e.setExtras=t.setExtras,e.setHttpStatus=t.setHttpStatus,e.setMeasurement=t.setMeasurement,e.setTag=t.setTag,e.setTags=t.setTags,e.setUser=t.setUser,e.spanStatusfromHttpCode=t.spanStatusfromHttpCode,e.startInactiveSpan=t.startInactiveSpan,e.startSession=t.startSession,e.startSpan=t.startSpan,e.startSpanManual=t.startSpanManual,e.startTransaction=t.startTransaction,e.trace=t.trace,e.withActiveSpan=t.withActiveSpan,e.withIsolationScope=t.withIsolationScope,e.withScope=t.withScope,e.WINDOW=n.WINDOW,e.BrowserClient=a.BrowserClient,e.makeFetchTransport=T.makeFetchTransport,e.makeXHRTransport=d.makeXHRTransport,e.chromeStackLineParser=y.chromeStackLineParser,e.defaultStackLineParsers=y.defaultStackLineParsers,e.defaultStackParser=y.defaultStackParser,e.geckoStackLineParser=y.geckoStackLineParser,e.opera10StackLineParser=y.opera10StackLineParser,e.opera11StackLineParser=y.opera11StackLineParser,e.winjsStackLineParser=y.winjsStackLineParser,e.eventFromException=v.eventFromException,e.eventFromMessage=v.eventFromMessage,e.exceptionFromError=v.exceptionFromError,e.createUserFeedbackEnvelope=u.createUserFeedbackEnvelope,e.captureUserFeedback=b.captureUserFeedback,e.defaultIntegrations=b.defaultIntegrations,e.forceLoad=b.forceLoad,e.getDefaultIntegrations=b.getDefaultIntegrations,e.init=b.init,e.onLoad=b.onLoad,e.showReportDialog=b.showReportDialog,e.wrap=b.wrap,e.Breadcrumbs=f.Breadcrumbs,e.breadcrumbsIntegration=f.breadcrumbsIntegration,e.Dedupe=E.Dedupe,e.GlobalHandlers=I.GlobalHandlers,e.globalHandlersIntegration=I.globalHandlersIntegration,e.HttpContext=p.HttpContext,e.httpContextIntegration=p.httpContextIntegration,e.LinkedErrors=C.LinkedErrors,e.linkedErrorsIntegration=C.linkedErrorsIntegration,e.TryCatch=O.TryCatch,e.browserApiErrorsIntegration=O.browserApiErrorsIntegration,e.Replay=i.InternalReplay,e.getReplay=i.internalGetReplay,e.replayIntegration=i.internalReplayIntegration,e.ReplayCanvas=o.ReplayCanvas,e.replayCanvasIntegration=o.replayCanvasIntegration,e.Feedback=s.Feedback,e.feedbackIntegration=s.feedbackIntegration,e.sendFeedback=s.sendFeedback,e.captureConsoleIntegration=c.captureConsoleIntegration,e.contextLinesIntegration=c.contextLinesIntegration,e.debugIntegration=c.debugIntegration,e.dedupeIntegration=c.dedupeIntegration,e.extraErrorDataIntegration=c.extraErrorDataIntegration,e.httpClientIntegration=c.httpClientIntegration,e.reportingObserverIntegration=c.reportingObserverIntegration,e.rewriteFramesIntegration=c.rewriteFramesIntegration,e.sessionTimingIntegration=c.sessionTimingIntegration,e.BrowserTracing=g.BrowserTracing,e.browserTracingIntegration=g.browserTracingIntegration,e.defaultRequestInstrumentationOptions=g.defaultRequestInstrumentationOptions,e.instrumentOutgoingRequests=g.instrumentOutgoingRequests,e.startBrowserTracingNavigationSpan=g.startBrowserTracingNavigationSpan,e.startBrowserTracingPageLoadSpan=g.startBrowserTracingPageLoadSpan,e.makeBrowserOfflineTransport=h.makeBrowserOfflineTransport,e.onProfilingStartRouteTransaction=A.onProfilingStartRouteTransaction,e.BrowserProfilingIntegration=R.BrowserProfilingIntegration,e.browserProfilingIntegration=R.browserProfilingIntegration,e.Integrations=U},614426:(x,e,r)=>
330{Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(289375),a=r(789372),T=r(180103),d=1024,y="Breadcrumbs",v=(i={})=>{const o={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...i};return{name:y,setupOnce(){},setup(s){o.console&&n.addConsoleInstrumentationHandler(I(s)),o.dom&&n.addClickKeypressInstrumentationHandler(E(s,o.dom)),o.xhr&&n.addXhrInstrumentationHandler(p(s)),o.fetch&&n.addFetchInstrumentationHandler(C(s)),o.history&&n.addHistoryInstrumentationHandler(O(s)),o.sentry&&s.on&&s.on("beforeSendEvent",f(s))}}},u=t.defineIntegration(v),b=t.convertIntegrationFnToClass(y,u);function f(i){return function(s){t.getClient()===i&&t.addBreadcrumb({category:`sentry.${s.type==="transaction"?"transaction":"event"}`,event_id:s.event_id,level:s.level,message:n.getEventDescription(s)},{event:s})}}function E(i,o){return function(c){if(t.getClient()!==i)return;let g,h,A=typeof o=="object"?o.serializeAttribute:void 0,R=typeof o=="object"&&typeof o.maxStringLength=="number"?o.maxStringLength:void 0;R&&R>d&&(a.DEBUG_BUILD&&n.logger.warn(`\`dom.maxStringLength\` cannot exceed ${d}, but a value of ${R} was configured. Sentry will use ${d} instead.`),R=d),typeof A=="string"&&(A=[A]);try{const U=c.event,H=m(U)?U.target:U;g=n.htmlTreeAsString(H,{keyAttrs:A,maxStringLength:R}),h=n.getComponentName(H)}catch{g="<unknown>"}if(g.length===0)return;const D={category:`ui.${c.name}`,message:g};h&&(D.data={"ui.component_name":h}),t.addBreadcrumb(D,{event:c.event,name:c.name,global:c.global})}}function I(i){return function(s){if(t.getClient()!==i)return;const c={category:"console",data:{arguments:s.args,logger:"console"},level:n.severityLevelFromString(s.level),message:n.safeJoin(s.args," ")};if(s.level==="assert")if(s.args[0]===!1)c.message=`Assertion failed: ${n.safeJoin(s.args.slice(1)," ")||"console.assert"}`,c.data.arguments=s.args.slice(1);else return;t.addBreadcrumb(c,{input:s.args,level:s.level})}}function p(i){return function(s){if(t.getClient()!==i)return;const{startTimestamp:c,endTimestamp:g}=s,h=s.xhr[n.SENTRY_XHR_DATA_KEY];if(!c||!g||!h)return;const{method:A,url:R,status_code:D,body:U}=h,H={method:A,url:R,status_code:D},K={xhr:s.xhr,input:U,startTimestamp:c,endTimestamp:g};t.addBreadcrumb({category:"xhr",data:H,type:"http"},K)}}function C(i){return function(s){if(t.getClient()!==i)return;const{startTimestamp:c,endTimestamp:g}=s;if(g&&!(s.fetchData.url.match(/sentry_key/)&&s.fetchData.method==="POST"))if(s.error){const h=s.fetchData,A={data:s.error,input:s.args,startTimestamp:c,endTimestamp:g};t.addBreadcrumb({category:"fetch",data:h,level:"error",type:"http"},A)}else{const h=s.response,A={...s.fetchData,status_code:h&&h.status},R={input:s.args,response:h,startTimestamp:c,endTimestamp:g};t.addBreadcrumb({category:"fetch",data:A,type:"http"},R)}}}function O(i){return function(s){if(t.getClient()!==i)return;let c=s.from,g=s.to;const h=n.parseUrl(T.WINDOW.location.href);let A=c?n.parseUrl(c):void 0;const R=n.parseUrl(g);(!A||!A.path)&&(A=h),h.protocol===R.protocol&&h.host===R.host&&(g=R.relative),h.protocol===A.protocol&&h.host===A.host&&(c=A.relative),t.addBreadcrumb({category:"navigation",data:{from:c,to:g}})}}function m(i){return!!i&&!!i.target}e.Breadcrumbs=b,e.breadcrumbsIntegration=u},414997:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(289375),a=r(789372),T="Dedupe",d=()=>{let O;return{name:T,setupOnce(){},processEvent(m){if(m.type)return m;try{if(u(m,O))return a.DEBUG_BUILD&&n.logger.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return O=m}}},y=t.defineIntegration(d),v=t.convertIntegrationFnToClass(T,y);function u(O,m){return m?!!(b(O,m)||f(O,m)):!1}function b(O,m){const i=O.message,o=m.message;return!(!i&&!o||i&&!o||!i&&o||i!==o||!I(O,m)||!E(O,m))}function f(O,m){const i=p(m),o=p(O);return!(!i||!o||i.type!==o.type||i.value!==o.value||!I(O,m)||!E(O,m))}function E(O,m){let i=C(O),o=C(m);if(!i&&!o)return!0;if(i&&!o||!i&&o||(i=i,o=o,o.length!==i.length))return!1;for(let s=0;s<o.length;s++){const c=o[s],g=i[s];if(c.filename!==g.filename||c.lineno!==g.lineno||c.colno!==g.colno||c.function!==g.function)return!1}return!0}function I(O,m){let i=O.fingerprint,o=m.fingerprint;if(!i&&!o)return!0;
330if(i&&!o||!i&&o)return!1;i=i,o=o;try{return i.join("")===o.join("")}catch{return!1}}function p(O){return O.exception&&O.exception.values&&O.exception.values[0]}function C(O){const m=O.exception;if(m)try{return m.values[0].stacktrace.frames}catch{return}}e.Dedupe=v,e.dedupeIntegration=y},644640:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(289375),a=r(789372),T=r(494207),d=r(180103),y="GlobalHandlers",v=(o={})=>{const s={onerror:!0,onunhandledrejection:!0,...o};return{name:y,setupOnce(){Error.stackTraceLimit=50},setup(c){s.onerror&&(f(c),m("onerror")),s.onunhandledrejection&&(E(c),m("onunhandledrejection"))}}},u=t.defineIntegration(v),b=t.convertIntegrationFnToClass(y,u);function f(o){n.addGlobalErrorInstrumentationHandler(s=>{const{stackParser:c,attachStacktrace:g}=i();if(t.getClient()!==o||d.shouldIgnoreOnError())return;const{msg:h,url:A,line:R,column:D,error:U}=s,H=U===void 0&&n.isString(h)?C(h,A,R,D):O(T.eventFromUnknownInput(c,U||h,void 0,g,!1),A,R,D);H.level="error",t.captureEvent(H,{originalException:U,mechanism:{handled:!1,type:"onerror"}})})}function E(o){n.addGlobalUnhandledRejectionInstrumentationHandler(s=>{const{stackParser:c,attachStacktrace:g}=i();if(t.getClient()!==o||d.shouldIgnoreOnError())return;const h=I(s),A=n.isPrimitive(h)?p(h):T.eventFromUnknownInput(c,h,void 0,g,!0);A.level="error",t.captureEvent(A,{originalException:h,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function I(o){if(n.isPrimitive(o))return o;const s=o;try{if("reason"in s)return s.reason;if("detail"in s&&"reason"in s.detail)return s.detail.reason}catch{}return o}function p(o){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(o)}`}]}}}function C(o,s,c,g){const h=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let A=n.isErrorEvent(o)?o.message:o,R="Error";const D=A.match(h);return D&&(R=D[1],A=D[2]),O({exception:{values:[{type:R,value:A}]}},s,c,g)}function O(o,s,c,g){const h=o.exception=o.exception||{},A=h.values=h.values||[],R=A[0]=A[0]||{},D=R.stacktrace=R.stacktrace||{},U=D.frames=D.frames||[],H=isNaN(parseInt(g,10))?void 0:g,K=isNaN(parseInt(c,10))?void 0:c,G=n.isString(s)&&s.length>0?s:n.getLocationHref();return U.length===0&&U.push({colno:H,filename:G,function:"?",in_app:!0,lineno:K}),o}function m(o){a.DEBUG_BUILD&&n.logger.log(`Global Handler attached: ${o}`)}function i(){const o=t.getClient();return o&&o.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}e.GlobalHandlers=b,e.globalHandlersIntegration=u},348719:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(180103),a="HttpContext",T=()=>({name:a,setupOnce(){},preprocessEvent(v){if(!n.WINDOW.navigator&&!n.WINDOW.location&&!n.WINDOW.document)return;const u=v.request&&v.request.url||n.WINDOW.location&&n.WINDOW.location.href,{referrer:b}=n.WINDOW.document||{},{userAgent:f}=n.WINDOW.navigator||{},E={...v.request&&v.request.headers,...b&&{Referer:b},...f&&{"User-Agent":f}},I={...v.request,...u&&{url:u},headers:E};v.request=I}}),d=t.defineIntegration(T),y=t.convertIntegrationFnToClass(a,d);e.HttpContext=y,e.httpContextIntegration=d},919820:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});
330const t=r(644640),n=r(705926),a=r(614426),T=r(961432),d=r(348719),y=r(414997);e.GlobalHandlers=t.GlobalHandlers,e.TryCatch=n.TryCatch,e.Breadcrumbs=a.Breadcrumbs,e.LinkedErrors=T.LinkedErrors,e.HttpContext=d.HttpContext,e.Dedupe=y.Dedupe},961432:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(289375),a=r(494207),T="cause",d=5,y="LinkedErrors",v=(f={})=>{const E=f.limit||d,I=f.key||T;return{name:y,setupOnce(){},preprocessEvent(p,C,O){const m=O.getOptions();n.applyAggregateErrorsToEvent(a.exceptionFromError,m.stackParser,m.maxValueLength,I,E,p,C)}}},u=t.defineIntegration(v),b=t.convertIntegrationFnToClass(y,u);e.LinkedErrors=b,e.linkedErrorsIntegration=u},705926:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(289375),a=r(180103),T=["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"],d="TryCatch",y=(p={})=>{const C={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...p};return{name:d,setupOnce(){C.setTimeout&&n.fill(a.WINDOW,"setTimeout",b),C.setInterval&&n.fill(a.WINDOW,"setInterval",b),C.requestAnimationFrame&&n.fill(a.WINDOW,"requestAnimationFrame",f),C.XMLHttpRequest&&"XMLHttpRequest"in a.WINDOW&&n.fill(XMLHttpRequest.prototype,"send",E);const O=C.eventTarget;O&&(Array.isArray(O)?O:T).forEach(I)}}},v=t.defineIntegration(y),u=t.convertIntegrationFnToClass(d,v);function b(p){return function(...C){const O=C[0];return C[0]=a.wrap(O,{mechanism:{data:{function:n.getFunctionName(p)},handled:!1,type:"instrument"}}),p.apply(this,C)}}function f(p){return function(C){return p.apply(this,[a.wrap(C,{mechanism:{data:{function:"requestAnimationFrame",handler:n.getFunctionName(p)},handled:!1,type:"instrument"}})])}}function E(p){return function(...C){const O=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(i=>{i in O&&typeof O[i]=="function"&&n.fill(O,i,function(o){const s={mechanism:{data:{function:i,handler:n.getFunctionName(o)},handled:!1,type:"instrument"}},c=n.getOriginalFunction(o);return c&&(s.mechanism.data.handler=n.getFunctionName(c)),a.wrap(o,s)})}),p.apply(this,C)}}function I(p){const C=a.WINDOW,O=C[p]&&C[p].prototype;!O||!O.hasOwnProperty||!O.hasOwnProperty("addEventListener")||(n.fill(O,"addEventListener",function(m){return function(i,o,s){try{typeof o.handleEvent=="function"&&(o.handleEvent=a.wrap(o.handleEvent,{mechanism:{data:{function:"handleEvent",handler:n.getFunctionName(o),target:p},handled:!1,type:"instrument"}}))}catch{}return m.apply(this,[i,a.wrap(o,{mechanism:{data:{function:"addEventListener",handler:n.getFunctionName(o),target:p},handled:!1,type:"instrument"}}),s])}}),n.fill(O,"removeEventListener",function(m){return function(i,o,s){const c=o;try{const g=c&&c.__sentry_wrapped__;g&&m.call(this,i,g,s)}catch{}return m.call(this,i,c,s)}}))}e.TryCatch=u,e.browserApiErrorsIntegration=v},215854:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(289375),a=r(789372),T=r(180103),d=r(945570);function y(u){return u?d.shouldProfileTransaction(u)?v(u):u:(a.DEBUG_BUILD&&n.logger.log("[Profiling] Transaction is undefined, skipping profiling"),u)}function v(u){let b;d.isAutomatedPageLoadTransaction(u)&&(b=n.timestampInSeconds()*1e3);const f=d.startJSSelfProfile();if(!f)return u;a.DEBUG_BUILD&&n.logger.log(`[Profiling] started profiling transaction: ${t.spanToJSON(u).description}`);const E=n.uuid4();async function I(){return!u||!f?null:f.stop().then(m=>(p&&(T.WINDOW.clearTimeout(p),p=void 0),a.DEBUG_BUILD&&n.logger.log(`[Profiling] stopped profiling of transaction: ${t.spanToJSON(u).description}`),m?(d.addProfileToGlobalCache(E,m),null):(a.DEBUG_BUILD&&n.logger.log(`[Profiling] profiler returned null profile for: ${t.spanToJSON(u).description}`,"this may indicate an overlapping transaction or a call to stopProfiling with a profile title that was never started"),null))).catch(m=>(a.DEBUG_BUILD&&n.logger.log("[Profiling] error while stopping profiler:",m),null))}let p=T.WINDOW.setTimeout(()=>{a.DEBUG_BUILD&&n.logger.log("[Profiling] max profile duration elapsed, stopping profiling for:",t.spanToJSON(u).description),I()},d.MAX_PROFILE_DURATION_MS);const C=u.end.bind(u);function O(){return u?(I().then(()=>{u.setContext("profile",{profile_id:E,start_timestamp:b}),C()},()=>{C()}),u):C()}return u.end=O,u}e.onProfilingStartRouteTransaction=y,e.startProfileForTransaction=v},852265:(x,e,r)=>
330{Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(289375),a=r(789372),T=r(215854),d=r(945570),y="BrowserProfiling",v=()=>({name:y,setupOnce(){},setup(f){const I=t.getCurrentScope().getTransaction();if(I&&d.isAutomatedPageLoadTransaction(I)&&d.shouldProfileTransaction(I)&&T.startProfileForTransaction(I),typeof f.on!="function"){n.logger.warn("[Profiling] Client does not support hooks, profiling will be disabled");return}f.on("startTransaction",p=>{d.shouldProfileTransaction(p)&&T.startProfileForTransaction(p)}),f.on("beforeEnvelope",p=>{if(!d.getActiveProfilesCount())return;const C=d.findProfiledTransactionsFromEnvelope(p);if(!C.length)return;const O=[];for(const m of C){const i=m&&m.contexts,o=i&&i.profile&&i.profile.profile_id,s=i&&i.profile&&i.profile.start_timestamp;if(typeof o!="string"){a.DEBUG_BUILD&&n.logger.log("[Profiling] cannot find profile for a transaction without a profile context");continue}if(!o){a.DEBUG_BUILD&&n.logger.log("[Profiling] cannot find profile for a transaction without a profile context");continue}i&&i.profile&&delete i.profile;const c=d.takeProfileFromGlobalCache(o);if(!c){a.DEBUG_BUILD&&n.logger.log(`[Profiling] Could not retrieve profile for transaction: ${o}`);continue}const g=d.createProfilingEvent(o,s,c,m);g&&O.push(g)}d.addProfilesToEnvelope(p,O)})}}),u=t.defineIntegration(v),b=t.convertIntegrationFnToClass(y,u);e.BrowserProfilingIntegration=b,e.browserProfilingIntegration=u},945570:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(289375),a=r(789372),T=r(180103),d=1e6,y=String(0),v="main";let u="",b="",f="",E=T.WINDOW.navigator&&T.WINDOW.navigator.userAgent||"",I="";const p=T.WINDOW.navigator&&T.WINDOW.navigator.language||T.WINDOW.navigator&&T.WINDOW.navigator.languages&&T.WINDOW.navigator.languages[0]||"";function C(l){return typeof l=="object"&&l!==null&&"getHighEntropyValues"in l}const O=T.WINDOW.navigator&&T.WINDOW.navigator.userAgentData;C(O)&&O.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then(l=>{if(u=l.platform||"",f=l.architecture||"",I=l.model||"",b=l.platformVersion||"",l.fullVersionList&&l.fullVersionList.length>0){const B=l.fullVersionList[l.fullVersionList.length-1];E=`${B.brand} ${B.version}`}}).catch(l=>{});function m(l){return!("thread_metadata"in l)}function i(l){return m(l)?g(l):l}function o(l){const B=l&&l.contexts&&l.contexts.trace&&l.contexts.trace.trace_id;return typeof B=="string"&&B.length!==32&&a.DEBUG_BUILD&&n.logger.log(`[Profiling] Invalid traceId: ${B} on profiled event`),typeof B!="string"?"":B}function s(l,B,j,X){if(X.type!=="transaction")throw new TypeError("Profiling events may only be attached to transactions, this should never occur.");if(j==null)throw new TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${j} instead.`);const re=o(X),ee=i(j),ie=B||(typeof X.start_timestamp=="number"?X.start_timestamp*1e3:Date.now()),ge=typeof X.timestamp=="number"?X.timestamp*1e3:Date.now();return{event_id:l,timestamp:new Date(ie).toISOString(),platform:"javascript",version:"1",release:X.release||"",environment:X.environment||t.DEFAULT_ENVIRONMENT,runtime:{name:"javascript",version:T.WINDOW.navigator.userAgent},os:{name:u,version:b,build_number:E},device:{locale:p,model:I,manufacturer:E,architecture:f,is_emulator:!1},debug_meta:{images:D(j.resources)},profile:ee,transactions:[{name:X.transaction||"",id:X.event_id||n.uuid4(),trace_id:re,active_thread_id:y,relative_start_ns:"0",relative_end_ns:((ge-ie)*1e6).toFixed(0)}]}}function c(l){return l.op==="pageload"}function g(l){let B,j=0;const X={samples:[],stacks:[],frames:[],thread_metadata:{[y]:{name:v}}};if(!l.samples.length)return X;const re=l.samples[0].timestamp,ee=typeof performance.timeOrigin=="number"?performance.timeOrigin:n.browserPerformanceTimeOrigin||0,ie=ee-(n.browserPerformanceTimeOrigin||ee);for(let ge=0;ge<l.samples.length;ge++){const S=l.samples[ge];if(S.stackId===void 0){B===void 0&&(B=j,X.stacks[B]=[],j++),X.samples[ge]={elapsed_since_start_ns:((S.timestamp+ie-re)*d).toFixed(0),stack_id:B,thread_id:y};continue}let N=l.stacks[S.stackId];const M=[];for(;N;){M.push(N.frameId);const $=l.frames[N.frameId];X.frames[N.frameId]===void 0&&(X.frames[N.frameId]={function:$.name,abs_path:typeof $.resourceId=="number"?l.resources[$.resourceId]:void 0,lineno:$.line,colno:$.column}),N=N.parentId===void 0?void 0:l.stacks[N.parentId]}const F={elapsed_since_start_ns:((S.timestamp+ie-re)*d).toFixed(0),stack_id:j,thread_id:y};X.stacks[j]=M,X.samples[ge]=F,j++}return X}function h(l,B){if(!B.length)return l;for(const j of B)l[1].push([{type:"profile"},j]);return l}function A(l){const B=[];
330return n.forEachEnvelopeItem(l,(j,X)=>{if(X==="transaction")for(let re=1;re<j.length;re++){const ee=j[re];ee&&ee.contexts&&ee.contexts.profile&&ee.contexts.profile.profile_id&&B.push(j[re])}}),B}const R=new WeakMap;function D(l){const B=n.GLOBAL_OBJ._sentryDebugIds;if(!B)return[];const j=t.getClient(),X=j&&j.getOptions(),re=X&&X.stackParser;if(!re)return[];let ee;const ie=R.get(re);ie?ee=ie:(ee=new Map,R.set(re,ee));const ge=Object.keys(B).reduce((N,M)=>{let F;const $=ee.get(M);$?F=$:(F=re(M),ee.set(M,F));for(let te=F.length-1;te>=0;te--){const oe=F[te],ae=oe&&oe.filename;if(oe&&ae){N[ae]=B[M];break}}return N},{}),S=[];for(const N of l)N&&ge[N]&&S.push({type:"sourcemap",code_file:N,debug_id:ge[N]});return S}function U(l){return typeof l!="number"&&typeof l!="boolean"||typeof l=="number"&&isNaN(l)?(a.DEBUG_BUILD&&n.logger.warn(`[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(l)} of type ${JSON.stringify(typeof l)}.`),!1):l===!0||l===!1?!0:l<0||l>1?(a.DEBUG_BUILD&&n.logger.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${l}.`),!1):!0}function H(l){return l.samples.length<2?(a.DEBUG_BUILD&&n.logger.log("[Profiling] Discarding profile because it contains less than 2 samples"),!1):l.frames.length?!0:(a.DEBUG_BUILD&&n.logger.log("[Profiling] Discarding profile because it contains no frames"),!1)}let K=!1;const G=3e4;function W(l){return typeof l=="function"}function q(){const l=T.WINDOW.Profiler;if(!W(l)){a.DEBUG_BUILD&&n.logger.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object.");return}const B=10,j=Math.floor(G/B);try{return new l({sampleInterval:B,maxBufferSize:j})}catch{a.DEBUG_BUILD&&(n.logger.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),n.logger.log("[Profiling] Disabling profiling for current user session.")),K=!0}}function k(l){if(K)return a.DEBUG_BUILD&&n.logger.log("[Profiling] Profiling has been disabled for the duration of the current user session."),!1;if(!l.isRecording())return a.DEBUG_BUILD&&n.logger.log("[Profiling] Discarding profile because transaction was not sampled."),!1;const B=t.getClient(),j=B&&B.getOptions();if(!j)return a.DEBUG_BUILD&&n.logger.log("[Profiling] Profiling disabled, no options found."),!1;const X=j.profilesSampleRate;return U(X)?X?(X===!0?!0:Math.random()<X)?!0:(a.DEBUG_BUILD&&n.logger.log(`[Profiling] Discarding profile because it's not included in the random sample (sampling rate = ${Number(X)})`),!1):(a.DEBUG_BUILD&&n.logger.log("[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0"),!1):(a.DEBUG_BUILD&&n.logger.warn("[Profiling] Discarding profile because of invalid sample rate."),!1)}function V(l,B,j,X){return H(j)?s(l,B,j,X):null}const z=new Map;function ne(){return z.size}function se(l){const B=z.get(l);return B&&z.delete(l),B}function w(l,B){if(z.set(l,B),z.size>30){const j=z.keys().next().value;z.delete(j)}}e.MAX_PROFILE_DURATION_MS=G,e.addProfileToGlobalCache=w,e.addProfilesToEnvelope=h,e.applyDebugMetadata=D,e.convertJSSelfProfileToSampledFormat=g,e.createProfilePayload=s,e.createProfilingEvent=V,e.enrichWithThreadInformation=i,e.findProfiledTransactionsFromEnvelope=A,e.getActiveProfilesCount=ne,e.isAutomatedPageLoadTransaction=c,e.isValidSampleRate=U,e.shouldProfileTransaction=k,e.startJSSelfProfile=q,e.takeProfileFromGlobalCache=se},454842:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(289375),a=r(805263),T=r(789372),d=r(180103),y=r(614426),v=r(414997),u=r(644640),b=r(348719),f=r(961432),E=r(705926),I=r(884303),p=r(73837),C=r(986987),O=[t.inboundFiltersIntegration(),t.functionToStringIntegration(),E.browserApiErrorsIntegration(),y.breadcrumbsIntegration(),u.globalHandlersIntegration(),f.linkedErrorsIntegration(),v.dedupeIntegration(),b.httpContextIntegration()];function m(R){return[...O]}function i(R={}){R.defaultIntegrations===void 0&&(R.defaultIntegrations=m()),R.release===void 0&&(typeof __SENTRY_RELEASE__=="string"&&(R.release=__SENTRY_RELEASE__),d.WINDOW.SENTRY_RELEASE&&d.WINDOW.SENTRY_RELEASE.id&&(R.release=d.WINDOW.SENTRY_RELEASE.id)),R.autoSessionTracking===void 0&&(R.autoSessionTracking=!0),R.sendClientReports===void 0&&(R.sendClientReports=!0);const D={...R,stackParser:n.stackParserFromStackParserOptions(R.stackParser||I.defaultStackParser),integrations:t.getIntegrationsToSetup(R),transport:R.transport||(n.supportsFetch()?p.makeFetchTransport:C.makeXHRTransport)};t.initAndBind(a.BrowserClient,D),R.autoSessionTracking&&h()}const o=(R={},D=t.getCurrentHub())=>{if(!d.WINDOW.document){T.DEBUG_BUILD&&n.logger.error("Global document not defined in showReportDialog call");return}const{client:U,scope:H}=D.getStackTop(),K=R.dsn||U&&U.getDsn();if(!K){T.DEBUG_BUILD&&n.logger.error("DSN not configured for showReportDialog call");return}H&&(R.user={...H.getUser(),...R.user}),R.eventId||(R.eventId=D.lastEventId());const G=d.WINDOW.document.createElement("script");G.async=!0,G.crossOrigin="anonymous",G.src=t.getReportDialogEndpoint(K,R),R.onLoad&&(G.onload=R.onLoad);const{onClose:W}=R;if(W){const k=V=>{if(V.data==="__sentry_reportdialog_closed__")try{W()}finally{d.WINDOW.removeEventListener("message",k)}};d.WINDOW.addEventListener("message",k)}const q=d.WINDOW.document.head||d.WINDOW.document.body;q?q.appendChild(G):T.DEBUG_BUILD&&n.logger.error("Not injecting report dialog. No injection point found in HTML")};function s(){}function c(R){R()}function g(R){return d.wrap(R)()}function h(){if(typeof d.WINDOW.document>"u"){T.DEBUG_BUILD&&n.logger.warn("Session tracking in non-browser environment with @
330sentry/browser is not supported.");return}t.startSession({ignoreDuration:!0}),t.captureSession(),n.addHistoryInstrumentationHandler(({from:R,to:D})=>{R!==void 0&&R!==D&&(t.startSession({ignoreDuration:!0}),t.captureSession())})}function A(R){const D=t.getClient();D&&D.captureUserFeedback(R)}e.captureUserFeedback=A,e.defaultIntegrations=O,e.forceLoad=s,e.getDefaultIntegrations=m,e.init=i,e.onLoad=c,e.showReportDialog=o,e.wrap=g},884303:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(289375),n="?",a=10,T=20,d=30,y=40,v=50;function u(G,W,q,k){const V={filename:G,function:W,in_app:!0};return q!==void 0&&(V.lineno=q),k!==void 0&&(V.colno=k),V}const b=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,f=/\((\S*)(?::(\d+))(?::(\d+))\)/,I=[d,G=>{const W=b.exec(G);if(W){if(W[2]&&W[2].indexOf("eval")===0){const z=f.exec(W[2]);z&&(W[2]=z[1],W[3]=z[2],W[4]=z[3])}const[k,V]=K(W[1]||n,W[2]);return u(V,k,W[3]?+W[3]:void 0,W[4]?+W[4]:void 0)}}],p=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,C=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,m=[v,G=>{const W=p.exec(G);if(W){if(W[3]&&W[3].indexOf(" > eval")>-1){const z=C.exec(W[3]);z&&(W[1]=W[1]||"eval",W[3]=z[1],W[4]=z[2],W[5]="")}let k=W[3],V=W[1]||n;return[V,k]=K(V,k),u(k,V,W[4]?+W[4]:void 0,W[5]?+W[5]:void 0)}}],i=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,s=[y,G=>{const W=i.exec(G);return W?u(W[2],W[1]||n,+W[3],W[4]?+W[4]:void 0):void 0}],c=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,h=[a,G=>{const W=c.exec(G);return W?u(W[2],W[3]||n,+W[1]):void 0}],A=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,D=[T,G=>{const W=A.exec(G);return W?u(W[5],W[3]||W[4]||n,+W[1],+W[2]):void 0}],U=[I,m,s],H=t.createStackParser(...U),K=(G,W)=>{const q=G.indexOf("safari-extension")!==-1,k=G.indexOf("safari-web-extension")!==-1;return q||k?[G.indexOf("@")!==-1?G.split("@")[0]:n,q?`safari-extension:${W}`:`safari-web-extension:${W}`]:[G,W]};e.chromeStackLineParser=I,e.defaultStackLineParsers=U,e.defaultStackParser=H,e.geckoStackLineParser=m,e.opera10StackLineParser=h,e.opera11StackLineParser=D,e.winjsStackLineParser=s},73837:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(289375),a=r(230536);function T(d,y=a.getNativeFetchImplementation()){let v=0,u=0;function b(f){const E=f.body.length;v+=E,u++;const I={body:f.body,method:"POST",referrerPolicy:"origin",headers:d.headers,keepalive:v<=6e4&&u<15,...d.fetchOptions};try{return y(d.url,I).then(p=>(v-=E,u--,{statusCode:p.status,headers:{"x-sentry-rate-limits":p.headers.get("X-Sentry-Rate-Limits"),"retry-after":p.headers.get("Retry-After")}}))}catch(p){return a.clearCachedFetchImplementation(),v-=E,u--,n.rejectedSyncPromise(p)}}return t.createTransport(d,b)}e.makeFetchTransport=T},500058:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(289375);function a(E){return new Promise((I,p)=>{E.oncomplete=E.onsuccess=()=>I(E.result),E.onabort=E.onerror=()=>p(E.error)})}function T(E,I){const p=indexedDB.open(E);p.onupgradeneeded=()=>p.result.createObjectStore(I);const C=a(p);return O=>C.then(m=>O(m.transaction(I,"readwrite").objectStore(I)))}function d(E){return a(E.getAllKeys())}function y(E,I,p){return E(C=>d(C).then(O=>{if(!(O.length>=p))return C.put(I,Math.max(...O,0)+1),a(C.transaction)}))}function v(E){return E(I=>d(I).then(p=>{if(p.length!==0)return a(I.get(p[0])).then(C=>(I.delete(p[0]),a(I.transaction).then(()=>C)))}))}function u(E){let I;function p(){return I==null&&(I=T(E.dbName||"sentry-offline",E.storeName||"queue")),I}return{insert:async C=>{try{const O=await n.serializeEnvelope(C,E.textEncoder);await y(p(),O,E.maxQueueSize||30)}catch{}},pop:async()=>{try{const C=await v(p());if(C)return n.parseEnvelope(C,E.textEncoder||new TextEncoder,E.textDecoder||new TextDecoder)}catch{}}}}function b(E){return I=>E({...I,createStore:u})}function f(E){return b(t.makeOfflineTransport(E))}e.createStore=T,e.insert=y,e.makeBrowserOfflineTransport=f,e.pop=v},230536:(x,e,r)=>
330{Object.defineProperty(e,"__esModule",{value:!0});const t=r(289375),n=r(789372),a=r(180103);let T;function d(){if(T)return T;if(t.isNativeFetch(a.WINDOW.fetch))return T=a.WINDOW.fetch.bind(a.WINDOW);const v=a.WINDOW.document;let u=a.WINDOW.fetch;if(v&&typeof v.createElement=="function")try{const b=v.createElement("iframe");b.hidden=!0,v.head.appendChild(b);const f=b.contentWindow;f&&f.fetch&&(u=f.fetch),v.head.removeChild(b)}catch(b){n.DEBUG_BUILD&&t.logger.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",b)}return T=u.bind(a.WINDOW)}function y(){T=void 0}e.clearCachedFetchImplementation=y,e.getNativeFetchImplementation=d},986987:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(389615),n=r(289375),a=4;function T(d){function y(v){return new n.SyncPromise((u,b)=>{const f=new XMLHttpRequest;f.onerror=b,f.onreadystatechange=()=>{f.readyState===a&&u({statusCode:f.status,headers:{"x-sentry-rate-limits":f.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":f.getResponseHeader("Retry-After")}})},f.open("POST",d.url);for(const E in d.headers)Object.prototype.hasOwnProperty.call(d.headers,E)&&f.setRequestHeader(E,d.headers[E]);f.send(v.body)})}return t.createTransport(d,y)}e.makeXHRTransport=T},363976:(x,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0});const t=r(289375);function n(T,{metadata:d,tunnel:y,dsn:v}){const u={event_id:T.event_id,sent_at:new Date().toISOString(),...d&&d.sdk&&{sdk:{name:d.sdk.name,version:d.sdk.version}},...!!y&&!!v&&{dsn:t.dsnToString(v)}},b=a(T);return t.createEnvelope(u,[b])}function a(T){return[{type:"user_report"},T]}e.createUserFeedbackEnvelope=n},431817:(x,e,r)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var t=r(138891),n=t.Buffer;function a(d,y){for(var v in d)y[v]=d[v]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?x.exports=t:(a(t,e),e.Buffer=T);function T(d,y,v){return n(d,y,v)}T.prototype=Object.create(n.prototype),a(n,T),T.from=function(d,y,v){if(typeof d=="number")throw new TypeError("Argument must not be a number");return n(d,y,v)},T.alloc=function(d,y,v){if(typeof d!="number")throw new TypeError("Argument must be a number");var u=n(d);return y!==void 0?typeof v=="string"?u.fill(y,v):u.fill(y):u.fill(0),u},T.allocUnsafe=function(d){if(typeof d!="number")throw new TypeError("Argument must be a number");return n(d)},T.allocUnsafeSlow=function(d){if(typeof d!="number")throw new TypeError("Argument must be a number");return t.SlowBuffer(d)}},887485:(x,e,r)=>{"use strict";var t=r(293232),n=r(817647),a=t("RegExp.prototype.exec"),T=r(401711);x.exports=function(y){if(!n(y))throw new T("`regex` must be a RegExp");return function(u){return a(y,u)!==null}}}}]);

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