@icanbwell/composite 1.1311.3 → 1.1312.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/642.index.js +22 -22
- package/642.index.js.map +1 -1
- package/655.index.js +1158 -1158
- package/655.index.js.map +1 -1
- package/829.index.js +3 -3
- package/829.index.js.map +1 -1
- package/index.js +6 -6
- package/index.js.map +1 -1
- package/native.js +1 -1
- package/package.json +3 -3
package/642.index.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_icanbwell_composite||=[]).push([[642],{91361(_,w,u){var h=u(80866),S=u(13174),T=TypeError;_.exports=function(E){if(h(E))return E;throw new T(S(E)+" is not a constructor")}},40286(_,w,u){var h=u(4578),S=TypeError;_.exports=function(T,E){if(h(E,T))return T;throw new S("Incorrect invocation")}},27825(_,w,u){var h=u(16881);_.exports=h([].slice)},7283(_,w,u){var h=u(4282),S=h("iterator"),T=!1;try{var E=0,y={next:function(){return{done:!!E++}},return:function(){T=!0}};y[S]=function(){return this},Array.from(y,function(){throw 2})}catch{}_.exports=function(O,I){try{if(!I&&!T)return!1}catch{return!1}var U=!1;try{var $={};$[S]=function(){return{next:function(){return{done:U=!0}}}},O($)}catch{}return U}},10997(_,w,u){var h=u(74530),S=u(64466);_.exports=function(T,E,y){return y.get&&h(y.get,E,{getter:!0}),y.set&&h(y.set,E,{setter:!0}),S.f(T,E,y)}},36168(_,w,u){var h=u(98060);_.exports=/ipad|iphone|ipod/i.test(h)&&typeof Pebble<"u"},81129(_,w,u){var h=u(98060);_.exports=/web0s(?!.*chrome)/i.test(h)},85821(_,w,u){var h=u(95691),S=u(44977),T=u(89055),E=h(h.bind);_.exports=function(y,O){return S(y),O===void 0?y:T?E(y,O):function(){return y.apply(O,arguments)}}},95691(_,w,u){var h=u(38689),S=u(16881);_.exports=function(T){if(h(T)==="Function")return S(T)}},59042(_,w,u){var h=u(39944),S=u(14188),T=u(3770),E=u(13174),y=u(54366),O=TypeError;_.exports=function(I,U){var $=arguments.length<2?y(I):U;if(S($))return T(h($,I));throw new O(E(I)+" is not iterable")}},54366(_,w,u){var h=u(38689),S=u(44318),T=u(12913),E=u(4282),y=E("iterator"),O=Array.prototype;_.exports=function(I){if(!S(I))return T(I,y)||T(I,"@@iterator")||(h(I)==="Arguments"?O[y]:void 0)}},3306(_){_.exports=function(w,u){try{arguments.length===1?console.error(w):console.error(w,u)}catch{}}},28146(_,w,u){var h=u(4282),S=u(49164),T=h("iterator"),E=Array.prototype;_.exports=function(y){return y!==void 0&&(S.Array===y||E[T]===y)}},80866(_,w,u){var h=u(16881),S=u(5234),T=u(14188),E=u(65438),y=u(5604),O=u(13029),I=function(){},U=y("Reflect","construct"),$=/^\s*(?:class|function)\b/,W=h($.exec),be=!$.test(I),Z=function(B){if(!T(B))return!1;try{return U(I,[],B),!0}catch{return!1}},ue=function(B){if(!T(B))return!1;switch(E(B)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return be||!!W($,O(B))}catch{return!0}};ue.sham=!0,_.exports=!U||S(function(){var j;return Z(Z.call)||!Z(Object)||!Z(function(){j=!0})||j})?ue:Z},38873(_,w,u){var h=u(85821),S=u(39944),T=u(3770),E=u(13174),y=u(28146),O=u(69389),I=u(4578),U=u(59042),$=u(54366),W=u(88500),be=TypeError,Z=function(j,B){this.stopped=j,this.result=B},ue=Z.prototype;_.exports=function(j,B,G){var Te=G&&G.that,Ce=!!(G&&G.AS_ENTRIES),me=!!(G&&G.IS_RECORD),Ge=!!(G&&G.IS_ITERATOR),Q=!!(G&&G.INTERRUPTED),ge=h(B,Te),ne,ve,le,Et,te,St,bt,Ne=function(Y){var Tt=ne;return ne=void 0,Tt&&W(Tt,"normal"),new Z(!0,Y)},lt=function(Y){return Ce?(T(Y),Q?ge(Y[0],Y[1],Ne):ge(Y[0],Y[1])):Q?ge(Y,Ne):ge(Y)};if(me)ne=j.iterator;else if(Ge)ne=j;else{if(ve=$(j),!ve)throw new be(E(j)+" is not iterable");if(y(ve)){for(le=0,Et=O(j);Et>le;le++)if(te=lt(j[le]),te&&I(ue,te))return te;return new Z(!1)}ne=U(j,ve)}for(St=me?j.next:ne.next;!(bt=S(St,ne)).done;){var en=bt.value;try{te=lt(en)}catch(Y){if(ne)W(ne,"throw",Y);else throw Y}if(typeof te=="object"&&te&&I(ue,te))return te}return new Z(!1)}},88500(_,w,u){var h=u(39944),S=u(3770),T=u(12913);_.exports=function(E,y,O){var I,U;S(E);try{if(I=T(E,"return"),!I){if(y==="throw")throw O;return O}I=h(I,E)}catch($){U=!0,I=$}if(y==="throw")throw O;if(U)throw I;return S(I),O}},49164(_){_.exports=Object.create?Object.create(null):{}},59444(_,w,u){var h=u(44977),S=TypeError,T=function(E){var y,O;this.promise=new E(function(I,U){if(y!==void 0||O!==void 0)throw new S("Bad Promise constructor");y=I,O=U}),this.resolve=h(y),this.reject=h(O)};_.exports.f=function(E){return new T(E)}},69456(_,w,u){var h=u(96893),S=u(16881),T=u(39944),E=u(5234),y=u(57137),O=u(30156),I=u(74416),U=u(83628),$=u(47568),W=Object.assign,be=Object.defineProperty,Z=S([].concat);_.exports=!W||E(function(){if(h&&W({b:1},W(be({},"a",{enumerable:!0,get:function(){be(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var ue={},j={},B=Symbol("assign detection"),G="abcdefghijklmnopqrst";return ue[B]=7,G.split("").forEach(function(Te){j[Te]=Te}),W({},ue)[B]!==7||y(W({},j)).join("")!==G})?function(j,B){for(var G=U(j),Te=arguments.length,Ce=1,me=O.f,Ge=I.f;Te>Ce;)for(var Q=$(arguments[Ce++]),ge=me?Z(y(Q),me(Q)):y(Q),ne=ge.length,ve=0,le;ne>ve;)le=ge[ve++],(!h||T(Ge,Q,le))&&(G[le]=Q[le]);return G}:W},49120(_,w,u){var h=u(79117);_.exports=h},96042(_){_.exports=function(w){try{return{error:!1,value:w()}}catch(u){return{error:!0,value:u}}}},48787(_,w,u){var h=u(3770),S=u(80831),T=u(59444);_.exports=function(E,y){if(h(E),S(y)&&y.constructor===E)return y;var O=T.f(E),I=O.resolve;return I(y),O.promise}},68648(_){var w=function(){this.head=null,this.tail=null};w.prototype={add:function(u){var h={item:u,next:null},S=this.tail;S?S.next=h:this.head=h,this.tail=h},get:function(){var u=this.head;if(u){var h=this.head=u.next;return h===null&&(this.tail=null),u.item}}},_.exports=w},35268(_,w,u){var h=u(79117),S=u(96893),T=Object.getOwnPropertyDescriptor;_.exports=function(E){if(!S)return h[E];var y=T(h,E);return y&&y.value}},43900(_,w,u){var h=u(5604),S=u(10997),T=u(4282),E=u(96893),y=T("species");_.exports=function(O){var I=h(O);E&&I&&!I[y]&&S(I,y,{configurable:!0,get:function(){return this}})}},93754(_,w,u){var h=u(64466).f,S=u(74418),T=u(4282),E=T("toStringTag");_.exports=function(y,O,I){y&&!I&&(y=y.prototype),y&&!S(y,E)&&h(y,E,{configurable:!0,value:O})}},97964(_,w,u){var h=u(3770),S=u(91361),T=u(44318),E=u(4282),y=E("species");_.exports=function(O,I){var U=h(O).constructor,$;return U===void 0||T($=h(U)[y])?I:S($)}},89445(_){var w=TypeError;_.exports=function(u,h){if(u<h)throw new w("Not enough arguments");return u}},87050(_,w,u){var h=u(5613),S=u(69456);h({target:"Object",stat:!0,arity:2,forced:Object.assign!==S},{assign:S})},62642(_,w,u){u.r(w),u.d(w,{default:()=>Sl});var h=()=>u(44977),S=()=>u(40286),T=()=>u(27825),E=()=>u(7283),y=()=>u(38689),O=()=>u(97509),I=()=>u(65926),U=()=>u(36168),$=u.cw(function(e,t){var n=Z();e.exports=/ipad|iphone|ipod/i.test(n)&&/applewebkit/i.test(n)}),W=u.cw(function(e,t){var n=j();e.exports=n==="NODE"}),be=()=>u(81129),Z=()=>u(98060),ue=()=>u(63008),j=u.cw(function(e,t){var n=Q(),r=Z(),s=y(),o=function(i){return r.slice(0,i.length)===i};e.exports=function(){return o("Bun/")?"BUN":o("Cloudflare-Workers")?"CLOUDFLARE":o("Deno/")?"DENO":o("Node.js/")?"NODE":n.Bun&&typeof Bun.version=="string"?"BUN":n.Deno&&typeof Deno.version=="object"?"DENO":s(n.process)==="process"?"NODE":n.window&&n.document?"BROWSER":"REST"}()}),B=()=>u(5613),G=()=>u(5234),Te=()=>u(40646),Ce=()=>u(85821),me=()=>u(39944),Ge=()=>u(5604),Q=()=>u(79117),ge=()=>u(74418),ne=()=>u(3306),ve=()=>u(67458),le=()=>u(13029),Et=()=>u(43086),te=()=>u(14188),St=()=>u(68489),bt=()=>u(80831),Ne=()=>u(1942),lt=()=>u(38873),en=u.cw(function(e,t){var n=Q(),r=eo(),s=Ce(),o=ar().h,i=ir(),a=$(),c=U(),f=be(),d=W(),l=n.MutationObserver||n.WebKitMutationObserver,m=n.document,g=n.process,v=n.Promise,L=r("queueMicrotask"),x,k,H,z,he;if(!L){var K=new i,V=function(){var X,ae;for(d&&(X=g.domain)&&X.exit();ae=K.get();)try{ae()}catch(ce){throw K.head&&x(),ce}X&&X.enter()};!a&&!d&&!f&&l&&m?(k=!0,H=m.createTextNode(""),new l(V).observe(H,{characterData:!0}),x=function(){H.data=k=!k}):!c&&v&&v.resolve?(z=v.resolve(void 0),z.constructor=v,he=s(z.then,z),x=function(){he(V)}):d?x=function(){g.nextTick(V)}:(o=s(o,n),x=function(){o(V)}),L=function(X){K.head||x(),K.add(X)}}e.exports=L}),Y=()=>u(59444),Tt=()=>u(5054),Qs=()=>u(49120),tn=()=>u(96042),ft=u.cw(function(e,t){var n=Q(),r=dt(),s=te(),o=St(),i=le(),a=oo(),c=j(),f=Ne(),d=ue(),l=r&&r.prototype,m=a("species"),g=!1,v=s(n.PromiseRejectionEvent),L=o("Promise",function(){var x=i(r),k=x!==String(r);if(!k&&d===66||f&&!(l.catch&&l.finally))return!0;if(!d||d<51||!/native code/.test(x)){var H=new r(function(K){K(1)}),z=function(K){K(function(){},function(){})},he=H.constructor={};if(he[m]=z,g=H.then(function(){})instanceof z,!g)return!0}return!k&&(c==="BROWSER"||c==="DENO")&&!v});e.exports={CONSTRUCTOR:L,REJECTION_EVENT:v,SUBCLASSING:g}}),dt=u.cw(function(e,t){var n=Q();e.exports=n.Promise}),qs=()=>u(48787),or=u.cw(function(e,t){var n=dt(),r=E(),s=ft().CONSTRUCTOR;e.exports=s||!r(function(o){n.all(o).then(void 0,function(){})})}),ir=()=>u(68648),eo=()=>u(35268),to=()=>u(43900),no=()=>u(93754),ro=()=>u(97964),ar=u.cw(function(e,t){var n=Q(),r=Te(),s=Ce(),o=te(),i=ge(),a=G(),c=ve(),f=T(),d=I(),l=so(),m=$(),g=W(),v=n.setImmediate,L=n.clearImmediate,x=n.process,k=n.Dispatch,H=n.Function,z=n.MessageChannel,he=n.String,K=0,V={},X="onreadystatechange",ae,ce,xe,nt;a(function(){ae=n.location});var yt=function(M){if(i(V,M)){var ee=V[M];delete V[M],ee()}},_t=function(M){return function(){yt(M)}},rt=function(M){yt(M.data)},Xt=function(M){n.postMessage(he(M),ae.protocol+"//"+ae.host)};(!v||!L)&&(v=function(ee){l(arguments.length,1);var st=o(ee)?ee:H(ee),Zt=f(arguments,1);return V[++K]=function(){r(st,void 0,Zt)},ce(K),K},L=function(ee){delete V[ee]},g?ce=function(M){x.nextTick(_t(M))}:k&&k.now?ce=function(M){k.now(_t(M))}:z&&!m?(xe=new z,nt=xe.port2,xe.port1.onmessage=rt,ce=s(nt.postMessage,nt)):n.addEventListener&&o(n.postMessage)&&!n.importScripts&&ae&&ae.protocol!=="file:"&&!a(Xt)?(ce=Xt,n.addEventListener("message",rt,!1)):X in d("script")?ce=function(M){c.appendChild(d("script"))[X]=function(){c.removeChild(this),yt(M)}}:ce=function(M){setTimeout(_t(M),0)}),e.exports={h:v}}),so=()=>u(89445),oo=()=>u(4282),io=u.cw(function(e,t){var n=B(),r=me(),s=h(),o=Y(),i=tn(),a=lt(),c=or();n({target:"Promise",stat:!0,forced:c},{all:function(d){var l=this,m=o.f(l),g=m.resolve,v=m.reject,L=i(function(){var x=s(l.resolve),k=[],H=0,z=1;a(d,function(he){var K=H++,V=!1;z++,r(x,l,he).then(function(X){V||(V=!0,k[K]=X,--z||g(k))},v)}),--z||g(k)});return L.error&&v(L.value),m.promise}})}),ao=u.cw(function(e,t){var n=B(),r=Ne(),s=ft().CONSTRUCTOR,o=dt(),i=Ge(),a=te(),c=O(),f=o&&o.prototype;if(n({target:"Promise",proto:!0,forced:s,real:!0},{catch:function(l){return this.then(void 0,l)}}),!r&&a(o)){var d=i("Promise").prototype.catch;f.catch!==d&&c(f,"catch",d,{unsafe:!0})}}),co=u.cw(function(e,t){var n=B(),r=Ne(),s=W(),o=Q(),i=Qs(),a=me(),c=O(),f=Tt(),d=no(),l=to(),m=h(),g=te(),v=bt(),L=S(),x=ro(),k=ar().h,H=en(),z=ne(),he=tn(),K=ir(),V=Et(),X=dt(),ae=ft(),ce=Y(),xe="Promise",nt=ae.CONSTRUCTOR,yt=ae.REJECTION_EVENT,_t=ae.SUBCLASSING,rt=V.getterFor(xe),Xt=V.set,M=X&&X.prototype,ee=X,st=M,Zt=o.TypeError,er=o.document,tr=o.process,nr=ce.f,bl=nr,Tl=!!(er&&er.createEvent&&o.dispatchEvent),Ls="unhandledrejection",Il="rejectionhandled",Us=0,$s=1,Rl=2,rr=1,Bs=2,Qt,Hs,Gs,zs,Ws=function(p){var R;return v(p)&&g(R=p.then)?R:!1},Ys=function(p,R){var N=R.value,A=R.state===$s,F=A?p.ok:p.fail,at=p.resolve,qt=p.reject,ct=p.domain,ut,Xs,Zs;try{F?(A||(R.rejection===Bs&&wl(R),R.rejection=rr),F===!0?ut=N:(ct&&ct.enter(),ut=F(N),ct&&(ct.exit(),Zs=!0)),ut===p.promise?qt(new Zt("Promise-chain cycle")):(Xs=Ws(ut))?a(Xs,ut,at,qt):at(ut)):qt(N)}catch(xl){ct&&!Zs&&ct.exit(),qt(xl)}},Js=function(p,R){p.notified||(p.notified=!0,H(function(){for(var N=p.reactions,A;A=N.get();)Ys(A,p);p.notified=!1,R&&!p.rejection&&Ol(p)}))},Ks=function(p,R,N){var A,F;Tl?(A=er.createEvent("Event"),A.promise=R,A.reason=N,A.initEvent(p,!1,!0),o.dispatchEvent(A)):A={promise:R,reason:N},!yt&&(F=o["on"+p])?F(A):p===Ls&&z("Unhandled promise rejection",N)},Ol=function(p){a(k,o,function(){var R=p.facade,N=p.value,A=Vs(p),F;if(A&&(F=he(function(){s?tr.emit("unhandledRejection",N,R):Ks(Ls,R,N)}),p.rejection=s||Vs(p)?Bs:rr,F.error))throw F.value})},Vs=function(p){return p.rejection!==rr&&!p.parent},wl=function(p){a(k,o,function(){var R=p.facade;s?tr.emit("rejectionHandled",R):Ks(Il,R,p.value)})},ot=function(p,R,N){return function(A){p(R,A,N)}},it=function(p,R,N){p.done||(p.done=!0,N&&(p=N),p.value=R,p.state=Rl,Js(p,!0))},sr=function(p,R,N){if(!p.done){p.done=!0,N&&(p=N);try{if(p.facade===R)throw new Zt("Promise can't be resolved itself");var A=Ws(R);A?H(function(){var F={done:!1};try{a(A,R,ot(sr,F,p),ot(it,F,p))}catch(at){it(F,at,p)}}):(p.value=R,p.state=$s,Js(p,!1))}catch(F){it({done:!1},F,p)}}};if(nt&&(ee=function(R){L(this,st),m(R),a(Qt,this);var N=rt(this);try{R(ot(sr,N),ot(it,N))}catch(A){it(N,A)}},st=ee.prototype,Qt=function(R){Xt(this,{type:xe,done:!1,notified:!1,parent:!1,reactions:new K,rejection:!1,state:Us,value:null})},Qt.prototype=c(st,"then",function(R,N){var A=rt(this),F=nr(x(this,ee));return A.parent=!0,F.ok=g(R)?R:!0,F.fail=g(N)&&N,F.domain=s?tr.domain:void 0,A.state===Us?A.reactions.add(F):H(function(){Ys(F,A)}),F.promise}),Hs=function(){var p=new Qt,R=rt(p);this.promise=p,this.resolve=ot(sr,R),this.reject=ot(it,R)},ce.f=nr=function(p){return p===ee||p===Gs?new Hs(p):bl(p)},!r&&g(X)&&M!==Object.prototype)){zs=M.then,_t||c(M,"then",function(R,N){var A=this;return new ee(function(F,at){a(zs,A,F,at)}).then(R,N)},{unsafe:!0});try{delete M.constructor}catch{}f&&f(M,st)}n({global:!0,constructor:!0,wrap:!0,forced:nt},{Promise:ee}),Gs=i.Promise,d(ee,xe,!1,!0),l(xe)}),uo=u.cw(function(e,t){co(),io(),ao(),lo(),fo(),po()}),lo=u.cw(function(e,t){var n=B(),r=me(),s=h(),o=Y(),i=tn(),a=lt(),c=or();n({target:"Promise",stat:!0,forced:c},{race:function(d){var l=this,m=o.f(l),g=m.reject,v=i(function(){var L=s(l.resolve);a(d,function(x){r(L,l,x).then(m.resolve,g)})});return v.error&&g(v.value),m.promise}})}),fo=u.cw(function(e,t){var n=B(),r=Y(),s=ft().CONSTRUCTOR;n({target:"Promise",stat:!0,forced:s},{reject:function(i){var a=r.f(this),c=a.reject;return c(i),a.promise}})}),po=u.cw(function(e,t){var n=B(),r=Ge(),s=Ne(),o=dt(),i=ft().CONSTRUCTOR,a=qs(),c=r("Promise"),f=s&&!i;n({target:"Promise",stat:!0,forced:s||i},{resolve:function(l){return a(f&&this===c?o:this,l)}})}),ho=10,mo=20,cr=30,go=40,nn=50,ur=60,rn={trace:10,debug:20,info:30,warn:40,error:50,fatal:60},lr={};function Cl(e){return typeof e=="string"?rn[e.toLowerCase()]:e}Object.keys(rn).forEach(function(e){lr[rn[e]]=e});var fr={levels:{trace:"color: DeepPink",debug:"color: GoldenRod",info:"color: DarkTurquoise",warn:"color: Purple",error:"color: Crimson",fatal:"color: Black"},def:"color: DimGray",msg:"color: SteelBlue",src:"color: DimGray; font-style: italic; font-size: 0.9em"},vo=function(){function e(t){var n=t===void 0?{}:t,r=n.logByLevel,s=n.css,o=s===void 0?fr:s;this.logByLevel=r!==void 0&&r,this.css=o}return e.prototype.write=function(t){var n,r,s=this.css.def,o=this.css.msg,i=this.css.src,a=t.childName?t.name+"/"+t.childName:t.name,c=lr[t.level],f=(Array(6-c.length).join(" ")+c).toUpperCase();this.logByLevel?(t.level===ho?c="debug":t.level===ur&&(c="error"),r=typeof console[c]=="function"?console[c]:console.log):r=console.log,n=t.level<mo?this.css.levels.trace:t.level<cr?this.css.levels.debug:t.level<go?this.css.levels.info:t.level<nn?this.css.levels.warn:t.level<ur?this.css.levels.error:this.css.levels.fatal;var d=function(m,g){return Array(g+1-(m+"").length).join("0")+m},l=[];l.push("[%s:%s:%s:%s] %c%s%c: %s: %c%s "+(t.src?"%c%s":"")),l.push(d(t.time.getHours(),2)),l.push(d(t.time.getMinutes(),2)),l.push(d(t.time.getSeconds(),2)),l.push(d(t.time.getMilliseconds(),4)),l.push(n),l.push(f),l.push(s),l.push(a),l.push(o),l.push(t.msg),t.src&&(l.push(i),l.push(t.src)),t.obj&&(l.push(`
|
|
2
|
-
`),
|
|
3
|
-
`),l.push(t.err.stack)),r.apply(console,l)},e.getDefaultCss=function(){return fr},e}(),Nl=u(97107),Al=u(87050);uo();const sn="production",C=globalThis;function It(e,t,n){const r=n||C,s=r.__SENTRY__=r.__SENTRY__||{},o=s["8.55.2"]=s["8.55.2"]||{};return o[e]||(o[e]=t())}function Rt(){return on(C),C}function on(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||"8.55.2",t["8.55.2"]=t["8.55.2"]||{}}const dr=Object.prototype.toString;function an(e){switch(dr.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return Ae(e,Error)}}function ze(e,t){return dr.call(e)===`[object ${t}]`}function pr(e){return ze(e,"ErrorEvent")}function hr(e){return ze(e,"DOMError")}function yo(e){return ze(e,"DOMException")}function ye(e){return ze(e,"String")}function cn(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function un(e){return e===null||cn(e)||typeof e!="object"&&typeof e!="function"}function We(e){return ze(e,"Object")}function Ot(e){return typeof Event<"u"&&Ae(e,Event)}function _o(e){return typeof Element<"u"&&Ae(e,Element)}function Eo(e){return ze(e,"RegExp")}function wt(e){return!!(e&&e.then&&typeof e.then=="function")}function So(e){return We(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function Ae(e,t){try{return e instanceof t}catch{return!1}}function mr(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}const Ye=C,bo=80;function gr(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,s=[];let o=0,i=0;const a=" > ",c=a.length;let f;const d=Array.isArray(t)?t:t.keyAttrs,l=!Array.isArray(t)&&t.maxStringLength||bo;for(;n&&o++<r&&(f=To(n,d),!(f==="html"||o>1&&i+s.length*c+f.length>=l));)s.push(f),i+=f.length,n=n.parentNode;return s.reverse().join(a)}catch{return"<unknown>"}}function To(e,t){const n=e,r=[];if(!n||!n.tagName)return"";if(Ye.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const s=t&&t.length?t.filter(i=>n.getAttribute(i)).map(i=>[i,n.getAttribute(i)]):null;if(s&&s.length)s.forEach(i=>{r.push(`[${i[0]}="${i[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const i=n.className;if(i&&ye(i)){const a=i.split(/\s+/);for(const c of a)r.push(`.${c}`)}}const o=["aria-label","type","name","title","alt"];for(const i of o){const a=n.getAttribute(i);a&&r.push(`[${i}="${a}"]`)}return r.join("")}function Io(){try{return Ye.document.location.href}catch{return""}}function Pl(e){return Ye.document&&Ye.document.querySelector?Ye.document.querySelector(e):null}function Ro(e){if(!Ye.HTMLElement)return null;let t=e;const n=5;for(let r=0;r<n;r++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}const Pe=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Oo="Sentry Logger ",ln=["debug","info","warn","error","log","assert","trace"],xt={};function De(e){if(!("console"in C))return e();const t=C.console,n={},r=Object.keys(xt);r.forEach(s=>{const o=xt[s];n[s]=t[s],t[s]=o});try{return e()}finally{r.forEach(s=>{t[s]=n[s]})}}function wo(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return Pe?ln.forEach(n=>{t[n]=(...r)=>{e&&De(()=>{C.console[n](`${Oo}[${n}]:`,...r)})}}):ln.forEach(n=>{t[n]=()=>{}}),t}const b=It("logger",wo);function Je(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function Dl(e,t){let n=e;const r=n.length;if(r<=150)return n;t>r&&(t=r);let s=Math.max(t-60,0);s<5&&(s=0);let o=Math.min(s+140,r);return o>r-5&&(o=r),o===r&&(s=Math.max(o-140,0)),n=n.slice(s,o),s>0&&(n=`'{snip} ${n}`),o<r&&(n+=" {snip}"),n}function vr(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const s=e[r];try{mr(s)?n.push("[VueViewModel]"):n.push(String(s))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function xo(e,t,n=!1){return ye(e)?Eo(t)?t.test(e):ye(t)?n?e===t:e.includes(t):!1:!1}function Ct(e,t=[],n=!1){return t.some(r=>xo(e,r,n))}var Co;function re(e,t,n){if(!(t in e))return;const r=e[t],s=n(r);typeof s=="function"&&yr(s,r);try{e[t]=s}catch{Pe&&b.log(`Failed to replace method "${t}" in object`,e)}}function Me(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{Pe&&b.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function yr(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,Me(e,"__sentry_original__",t)}catch{}}function fn(e){return e.__sentry_original__}function Ml(e){return Object.entries(e).map(([t,n])=>`${encodeURIComponent(t)}=${encodeURIComponent(n)}`).join("&")}function _r(e){if(an(e))return{message:e.message,name:e.name,stack:e.stack,...Sr(e)};if(Ot(e)){const t={type:e.type,target:Er(e.target),currentTarget:Er(e.currentTarget),...Sr(e)};return typeof CustomEvent<"u"&&Ae(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function Er(e){try{return _o(e)?gr(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function Sr(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function No(e,t=40){const n=Object.keys(_r(e));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return Je(r,t);for(let s=n.length;s>0;s--){const o=n.slice(0,s).join(", ");if(!(o.length>t))return s===n.length?o:Je(o,t)}return""}function se(e){return dn(e,new Map)}function dn(e,t){if(Ao(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const s of Object.getOwnPropertyNames(e))typeof e[s]<"u"&&(r[s]=dn(e[s],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(s=>{r.push(dn(s,t))}),r}return e}function Ao(e){if(!We(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}function kl(e){let t;switch(!0){case e==null:t=new String(e);break;case(typeof e=="symbol"||typeof e=="bigint"):t=Object(e);break;case Co(e):t=new e.constructor(e);break;default:t=e;break}return t}const br=1e3;function pt(){return Date.now()/br}function Po(){const{performance:e}=C;if(!e||!e.now)return pt;const t=Date.now()-e.now(),n=e.timeOrigin==null?t:e.timeOrigin;return()=>(n+e.now())/br}const _e=Po();let Nt;const Fl=(()=>{const{performance:e}=C;if(!e||!e.now){Nt="none";return}const t=3600*1e3,n=e.now(),r=Date.now(),s=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,o=s<t,i=e.timing&&e.timing.navigationStart,c=typeof i=="number"?Math.abs(i+n-r):t,f=c<t;return o||f?s<=c?(Nt="timeOrigin",e.timeOrigin):(Nt="navigationStart",i):(Nt="dateNow",r)})();var pn;function oe(){const e=C,t=e.crypto||e.msCrypto;let n=()=>Math.random()*16;try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const r=new Uint8Array(1);return t.getRandomValues(r),r[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function Tr(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function Ie(e){const{message:t,event_id:n}=e;if(t)return t;const r=Tr(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function hn(e,t,n){const r=e.exception=e.exception||{},s=r.values=r.values||[],o=s[0]=s[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function Ke(e,t){const n=Tr(e);if(!n)return;const r={type:"generic",handled:!0},s=n.mechanism;if(n.mechanism={...r,...s,...t},t&&"data"in t){const o={...s&&s.data,...t.data};n.mechanism.data=o}}const Do=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;function mn(e){return parseInt(e||"",10)}function jl(e){const t=e.match(Do)||[],n=mn(t[1]),r=mn(t[2]),s=mn(t[3]);return{buildmetadata:t[5],major:isNaN(n)?void 0:n,minor:isNaN(r)?void 0:r,patch:isNaN(s)?void 0:s,prerelease:t[4]}}function Ll(e,t,n=5){if(t.lineno===void 0)return;const r=e.length,s=Math.max(Math.min(r-1,t.lineno-1),0);t.pre_context=e.slice(Math.max(0,s-n),s).map(i=>pn(i,0));const o=Math.min(r-1,s);t.context_line=pn(e[o],t.colno||0),t.post_context=e.slice(Math.min(s+1,r),s+1+n).map(i=>pn(i,0))}function Ir(e){if(Mo(e))return!0;try{Me(e,"__sentry_captured__",!0)}catch{}return!1}function Mo(e){try{return e.__sentry_captured__}catch{}}function Ul(e){return Array.isArray(e)?e:[e]}function ko(e){const t=_e(),n={sid:oe(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>jo(n)};return e&&Ve(n,e),n}function Ve(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||_e(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:oe()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function Fo(e,t){let n={};t?n={status:t}:e.status==="ok"&&(n={status:"exited"}),Ve(e,n)}function jo(e){return se({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}function $l(){return{traceId:gn(),spanId:At()}}function gn(){return oe()}function At(){return oe().substring(16)}function Pt(e,t,n=2){if(!t||typeof t!="object"||n<=0)return t;if(e&&t&&Object.keys(t).length===0)return e;const r={...e};for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[s]=Pt(r[s],t[s],n-1));return r}const vn="_sentrySpan";function Rr(e,t){t?Me(e,vn,t):delete e[vn]}function Or(e){return e[vn]}const Lo=100;class yn{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:gn(),spanId:At()}}clone(){const t=new yn;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,Rr(t,Or(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Ve(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const n=typeof t=="function"?t(this):t,[r,s]=n instanceof Re?[n.getScopeData(),n.getRequestSession()]:We(n)?[t,t.requestSession]:[],{tags:o,extra:i,user:a,contexts:c,level:f,fingerprint:d=[],propagationContext:l}=r||{};return this._tags={...this._tags,...o},this._extra={...this._extra,...i},this._contexts={...this._contexts,...c},a&&Object.keys(a).length&&(this._user=a),f&&(this._level=f),d.length&&(this._fingerprint=d),l&&(this._propagationContext=l),s&&(this._requestSession=s),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,Rr(this,void 0),this._attachments=[],this.setPropagationContext({traceId:gn()}),this._notifyScopeListeners(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:Lo;if(r<=0)return this;const s={timestamp:pt(),...t};return this._breadcrumbs.push(s),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client&&this._client.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Or(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=Pt(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext={spanId:At(),...t},this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=n&&n.event_id?n.event_id:oe();if(!this._client)return b.warn("No client configured on scope - will not capture exception!"),r;const s=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:s,...n,event_id:r},this),r}captureMessage(t,n,r){const s=r&&r.event_id?r.event_id:oe();if(!this._client)return b.warn("No client configured on scope - will not capture message!"),s;const o=new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:o,...r,event_id:s},this),s}captureEvent(t,n){const r=n&&n.event_id?n.event_id:oe();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(b.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}const Re=yn;function Uo(){return It("defaultCurrentScope",()=>new Re)}function $o(){return It("defaultIsolationScope",()=>new Re)}class Bo{constructor(t,n){let r;t?r=t:r=new Re;let s;n?s=n:s=new Re,this._stack=[{scope:r}],this._isolationScope=s}withScope(t){const n=this._pushScope();let r;try{r=t(n)}catch(s){throw this._popScope(),s}return wt(r)?r.then(s=>(this._popScope(),s),s=>{throw this._popScope(),s}):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function Xe(){const e=Rt(),t=on(e);return t.stack=t.stack||new Bo(Uo(),$o())}function Ho(e){return Xe().withScope(e)}function Go(e,t){const n=Xe();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function wr(e){return Xe().withScope(()=>e(Xe().getIsolationScope()))}function zo(){return{withIsolationScope:wr,withScope:Ho,withSetScope:Go,withSetIsolationScope:(e,t)=>wr(t),getCurrentScope:()=>Xe().getScope(),getIsolationScope:()=>Xe().getIsolationScope()}}var Wo,Yo;function Bl(e){const t=Wo(),n=Yo(t);n.acs=e}function _n(e){const t=on(e);return t.acs?t.acs:zo()}var Jo,Ko;function pe(){const e=Rt();return _n(e).getCurrentScope()}function ht(){const e=Rt();return _n(e).getIsolationScope()}function xr(){return It("globalScope",()=>new Re)}function Vo(...e){const t=Rt(),n=_n(t);if(e.length===2){const[r,s]=e;return r?n.withSetScope(r,s):n.withScope(s)}return n.withScope(e[0])}function Hl(...e){const t=Ko(),n=Jo(t);if(e.length===2){const[r,s]=e;return r?n.withSetIsolationScope(r,s):n.withIsolationScope(s)}return n.withIsolationScope(e[0])}function J(){return pe().getClient()}function Xo(e){const t=e.getPropagationContext(),{traceId:n,spanId:r,parentSpanId:s}=t;return se({trace_id:n,span_id:r,parent_span_id:s})}const P=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;var Ee;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const r=2;e[e.REJECTED=r]="REJECTED"})(Ee||(Ee={}));function ke(e){return new ie(t=>{t(e)})}function Dt(e){return new ie((t,n)=>{n(e)})}class ie{constructor(t){ie.prototype.__init.call(this),ie.prototype.__init2.call(this),ie.prototype.__init3.call(this),ie.prototype.__init4.call(this),this._state=Ee.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new ie((r,s)=>{this._handlers.push([!1,o=>{if(!t)r(o);else try{r(t(o))}catch(i){s(i)}},o=>{if(!n)s(o);else try{r(n(o))}catch(i){s(i)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new ie((n,r)=>{let s,o;return this.then(i=>{o=!1,s=i,t&&t()},i=>{o=!0,s=i,t&&t()}).then(()=>{if(o){r(s);return}n(s)})})}__init(){this._resolve=t=>{this._setResult(Ee.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(Ee.REJECTED,t)}}__init3(){this._setResult=(t,n)=>{if(this._state===Ee.PENDING){if(wt(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===Ee.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===Ee.RESOLVED&&n[1](this._value),this._state===Ee.REJECTED&&n[2](this._value),n[0]=!0)})}}}function En(e,t,n,r=0){return new ie((s,o)=>{const i=e[r];if(t===null||typeof i!="function")s(t);else{const a=i({...t},n);P&&i.id&&a===null&&b.log(`Event processor "${i.id}" dropped event`),wt(a)?a.then(c=>En(e,c,n,r+1).then(s)).then(null,o):En(e,a,n,r+1).then(s).then(null,o)}})}let Mt,Cr,kt;function Nr(e){const t=C._sentryDebugIds;if(!t)return{};const n=Object.keys(t);return kt&&n.length===Cr||(Cr=n.length,kt=n.reduce((r,s)=>{Mt||(Mt={});const o=Mt[s];if(o)r[o[0]]=o[1];else{const i=e(s);for(let a=i.length-1;a>=0;a--){const c=i[a],f=c&&c.filename,d=t[s];if(f&&d){r[f]=d,Mt[s]=[f,d];break}}}return r},{})),kt}function Gl(e,t){const n=Nr(e);if(!n)return[];const r=[];for(const s of t)s&&n[s]&&r.push({type:"sourcemap",code_file:s,debug_id:n[s]});return r}function Zo(){const e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(s){if(e)return t.has(s)?!0:(t.add(s),!1);for(let o=0;o<t.length;o++)if(t[o]===s)return!0;return t.push(s),!1}function r(s){if(e)t.delete(s);else for(let o=0;o<t.length;o++)if(t[o]===s){t.splice(o,1);break}}return[n,r]}const Ar=50,Qo="?",Pr=/\(error: (.*)\)/,Dr=/captureMessage|captureException/;function Mr(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,s=0)=>{const o=[],i=n.split(`
|
|
4
|
-
`);for(let a=r;a<i.length;a++){const c=i[a];if(c.length>1024)continue;const f=Pr.test(c)?c.replace(Pr,"$1"):c;if(!f.match(/\S*Error: /)){for(const d of t){const l=d(f);if(l){o.push(l);break}}if(o.length>=Ar+s)break}}return ei(o.slice(s))}}function qo(e){return Array.isArray(e)?Mr(...e):e}function ei(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(Ft(t).function||"")&&t.pop(),t.reverse(),Dr.test(Ft(t).function||"")&&(t.pop(),Dr.test(Ft(t).function||"")&&t.pop()),t.slice(0,Ar).map(n=>({...n,filename:n.filename||Ft(t).filename,function:n.function||Qo}))}function Ft(e){return e[e.length-1]||{}}const Sn="<anonymous>";function Oe(e){try{return!e||typeof e!="function"?Sn:e.name||Sn}catch{return Sn}}function kr(e){const t=e.exception;if(t){const n=[];try{return t.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}function Se(e,t=100,n=1/0){try{return bn("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function Fr(e,t=3,n=100*1024){const r=Se(e,t);return si(r)>n?Fr(e,t-1,n):r}function bn(e,t,n=1/0,r=1/0,s=Zo()){const[o,i]=s;if(t==null||["boolean","string"].includes(typeof t)||typeof t=="number"&&Number.isFinite(t))return t;const a=ti(e,t);if(!a.startsWith("[object "))return a;if(t.__sentry_skip_normalization__)return t;const c=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:n;if(c===0)return a.replace("object ","");if(o(t))return"[Circular ~]";const f=t;if(f&&typeof f.toJSON=="function")try{const g=f.toJSON();return bn("",g,c-1,r,s)}catch{}const d=Array.isArray(t)?[]:{};let l=0;const m=_r(t);for(const g in m){if(!Object.prototype.hasOwnProperty.call(m,g))continue;if(l>=r){d[g]="[MaxProperties ~]";break}const v=m[g];d[g]=bn(g,v,c-1,r,s),l++}return i(t),d}function ti(e,t){try{if(e==="domain"&&t&&typeof t=="object"&&t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof globalThis<"u"&&t===globalThis)return"[Global]";if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(mr(t))return"[VueViewModel]";if(So(t))return"[SyntheticEvent]";if(typeof t=="number"&&!Number.isFinite(t))return`[${t}]`;if(typeof t=="function")return`[Function: ${Oe(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=ni(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function ni(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}function ri(e){return~-encodeURI(e).split(/%..|./).length}function si(e){return ri(JSON.stringify(e))}function zl(e,t){const n=t.replace(/\\/g,"/").replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");let r=e;try{r=decodeURI(e)}catch{}return r.replace(/\\/g,"/").replace(/webpack:\/?/g,"").replace(new RegExp(`(file://)?/*${n}/*`,"ig"),"app:///")}const oi="sentry.source",ii="sentry.sample_rate",ai="sentry.op",ci="sentry.origin",Wl="sentry.idle_span_finish_reason",Yl="sentry.measurement_unit",Jl="sentry.measurement_value",Kl="sentry.custom_span_name",Vl="sentry.profile_id",Xl="sentry.exclusive_time",Zl="cache.hit",Ql="cache.key",ql="cache.item_size",ef="http.request.method",tf="url.full";var ui,li;const nf="baggage",jr="sentry-",fi=/^sentry-/,di=8192;function pi(e){const t=hi(e);if(!t)return;const n=Object.entries(t).reduce((r,[s,o])=>{if(s.match(fi)){const i=s.slice(jr.length);r[i]=o}return r},{});if(Object.keys(n).length>0)return n}function rf(e){if(!e)return;const t=Object.entries(e).reduce((n,[r,s])=>(s&&(n[`${jr}${r}`]=s),n),{});return mi(t)}function hi(e){if(!(!e||!ye(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,n)=>{const r=Lr(n);return Object.entries(r).forEach(([s,o])=>{t[s]=o}),t},{}):Lr(e)}function Lr(e){return e.split(",").map(t=>t.split("=").map(n=>decodeURIComponent(n.trim()))).reduce((t,[n,r])=>(n&&r&&(t[n]=r),t),{})}function mi(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,r],s)=>{const o=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,i=s===0?o:`${t},${o}`;return i.length>di?(ui&&li.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):i},"")}function gi(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=J(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}const Tn="_sentryMetrics";function vi(e){const t=e[Tn];if(!t)return;const n={};for(const[,[r,s]]of t)(n[r]||(n[r]=[])).push(se(s));return n}function sf(e,t,n,r,s,o,i){const c=e[Tn]||(e[Tn]=new Map),f=`${t}:${n}@${s}`,d=c.get(i);if(d){const[,l]=d;c.set(i,[f,{min:Math.min(l.min,r),max:Math.max(l.max,r),count:l.count+=1,sum:l.sum+=r,tags:l.tags}])}else c.set(i,[f,{min:r,max:r,count:1,sum:r,tags:o}])}var yi,_i,Ei,Si,bi,Ti,Ii,Ur,Ri,Oi;const of=0,wi=1;let $r=!1;function af(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:s,parent_span_id:o,status:i,origin:a}=jt(e);return Ii({parent_span_id:o,span_id:t,trace_id:n,data:r,op:s,status:i,origin:a})}function xi(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext(),s=r?t:jt(e).parent_span_id,o=r?At():t;return se({parent_span_id:s,span_id:o,trace_id:n})}function cf(e){const{traceId:t,spanId:n}=e.spanContext(),r=In(e);return Ri(t,n,r)}function Br(e){return typeof e=="number"?Hr(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?Hr(e.getTime()):_e()}function Hr(e){return e>9999999999?e/1e3:e}function jt(e){if(Ni(e))return e.getSpanJSON();try{const{spanId:t,traceId:n}=e.spanContext();if(Ci(e)){const{attributes:r,startTime:s,name:o,endTime:i,parentSpanId:a,status:c}=e;return se({span_id:t,trace_id:n,data:r,description:o,parent_span_id:a,start_timestamp:Br(s),timestamp:Br(i)||void 0,status:Ai(c),op:r[ai],origin:r[ci],_metrics_summary:vi(e)})}return{span_id:t,trace_id:n}}catch{return{}}}function Ci(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function Ni(e){return typeof e.getSpanJSON=="function"}function In(e){const{traceFlags:t}=e.spanContext();return t===wi}function Ai(e){if(!(!e||e.code===0))return e.code===1?"ok":e.message||"unknown_error"}const Fe="_sentryChildSpans",Rn="_sentryRootSpan";function uf(e,t){const n=e[Rn]||e;Ur(t,Rn,n),e[Fe]?e[Fe].add(t):Ur(e,Fe,new Set([t]))}function lf(e,t){e[Fe]&&e[Fe].delete(t)}function ff(e){const t=new Set;function n(r){if(!t.has(r)&&In(r)){t.add(r);const s=r[Fe]?Array.from(r[Fe]):[];for(const o of s)n(o)}}return n(e),Array.from(t)}function Gr(e){return e[Rn]||e}function Pi(){const e=_i(),t=yi(e);return t.getActiveSpan?t.getActiveSpan():Oi(Ei())}function df(e,t,n,r,s,o){const i=Pi();i&&Si(i,e,t,n,r,s,o)}function Di(){$r||(De(()=>{console.warn("[Sentry] Deprecation warning: Returning null from `beforeSendSpan` will be disallowed from SDK version 9.0.0 onwards. The callback will only support mutating spans. To drop certain spans, configure the respective integrations directly.")}),$r=!0)}function pf(e,t){e.updateName(t),e.setAttributes({[bi]:"custom",[Ti]:t})}var Mi,ki;const zr="_frozenDsc";function hf(e,t){ki(e,zr,t)}function Wr(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},s=se({environment:n.environment||sn,release:n.release,public_key:r,trace_id:e});return t.emit("createDsc",s),s}function Fi(e,t){const n=t.getPropagationContext();return n.dsc||Wr(n.traceId,e)}function Yr(e){const t=J();if(!t)return{};const n=Gr(e),r=n[zr];if(r)return r;const s=n.spanContext().traceState,o=s&&s.get("sentry.dsc"),i=o&&pi(o);if(i)return i;const a=Wr(e.spanContext().traceId,t),c=jt(n),f=c.data||{},d=f[ii];d!=null&&(a.sample_rate=`${d}`);const l=f[oi],m=c.description;return l!=="url"&&m&&(a.transaction=m),gi()&&(a.sampled=String(In(n))),t.emit("createDsc",a,n),a}function mf(e){const t=Yr(e);return Mi(t)}function ji(e,t){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:o}=t;Li(e,t),r&&Bi(e,r),Hi(e,n),Ui(e,s),$i(e,o)}function Jr(e,t){const{extra:n,tags:r,user:s,contexts:o,level:i,sdkProcessingMetadata:a,breadcrumbs:c,fingerprint:f,eventProcessors:d,attachments:l,propagationContext:m,transactionName:g,span:v}=t;Lt(e,"extra",n),Lt(e,"tags",r),Lt(e,"user",s),Lt(e,"contexts",o),e.sdkProcessingMetadata=Pt(e.sdkProcessingMetadata,a,2),i&&(e.level=i),g&&(e.transactionName=g),v&&(e.span=v),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),f.length&&(e.fingerprint=[...e.fingerprint,...f]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),l.length&&(e.attachments=[...e.attachments,...l]),e.propagationContext={...e.propagationContext,...m}}function Lt(e,t,n){e[t]=Pt(e[t],n,1)}function Li(e,t){const{extra:n,tags:r,user:s,contexts:o,level:i,transactionName:a}=t,c=se(n);c&&Object.keys(c).length&&(e.extra={...c,...e.extra});const f=se(r);f&&Object.keys(f).length&&(e.tags={...f,...e.tags});const d=se(s);d&&Object.keys(d).length&&(e.user={...d,...e.user});const l=se(o);l&&Object.keys(l).length&&(e.contexts={...l,...e.contexts}),i&&(e.level=i),a&&e.type!=="transaction"&&(e.transaction=a)}function Ui(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function $i(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function Bi(e,t){e.contexts={trace:xi(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:Yr(t),...e.sdkProcessingMetadata};const n=Gr(t),r=jt(n).description;r&&!e.transaction&&e.type==="transaction"&&(e.transaction=r)}function Hi(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}function Gi(e,t,n,r,s,o){const{normalizeDepth:i=3,normalizeMaxBreadth:a=1e3}=e,c={...t,event_id:t.event_id||n.event_id||oe(),timestamp:t.timestamp||pt()},f=n.integrations||e.integrations.map(x=>x.name);zi(c,e),Ji(c,f),s&&s.emit("applyFrameMetadata",t),t.type===void 0&&Wi(c,e.stackParser);const d=Vi(r,n.captureContext);n.mechanism&&Ke(c,n.mechanism);const l=s?s.getEventProcessors():[],m=xr().getScopeData();if(o){const x=o.getScopeData();Jr(m,x)}if(d){const x=d.getScopeData();Jr(m,x)}const g=[...n.attachments||[],...m.attachments];g.length&&(n.attachments=g),ji(c,m);const v=[...l,...m.eventProcessors];return En(v,c,n).then(x=>(x&&Yi(x),typeof i=="number"&&i>0?Ki(x,i,a):x))}function zi(e,t){const{environment:n,release:r,dist:s,maxValueLength:o=250}=t;e.environment=e.environment||n||sn,!e.release&&r&&(e.release=r),!e.dist&&s&&(e.dist=s),e.message&&(e.message=Je(e.message,o));const i=e.exception&&e.exception.values&&e.exception.values[0];i&&i.value&&(i.value=Je(i.value,o));const a=e.request;a&&a.url&&(a.url=Je(a.url,o))}function Wi(e,t){const n=Nr(t);try{e.exception.values.forEach(r=>{r.stacktrace.frames.forEach(s=>{n&&s.filename&&(s.debug_id=n[s.filename])})})}catch{}}function Yi(e){const t={};try{e.exception.values.forEach(r=>{r.stacktrace.frames.forEach(s=>{s.debug_id&&(s.abs_path?t[s.abs_path]=s.debug_id:s.filename&&(t[s.filename]=s.debug_id),delete s.debug_id)})})}catch{}if(Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach(([r,s])=>{n.push({type:"sourcemap",code_file:r,debug_id:s})})}function Ji(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function Ki(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(s=>({...s,...s.data&&{data:Se(s.data,t,n)}}))},...e.user&&{user:Se(e.user,t,n)},...e.contexts&&{contexts:Se(e.contexts,t,n)},...e.extra&&{extra:Se(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=Se(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(s=>({...s,...s.data&&{data:Se(s.data,t,n)}}))),e.contexts&&e.contexts.flags&&r.contexts&&(r.contexts.flags=Se(e.contexts.flags,3,n)),r}function Vi(e,t){if(!t)return e;const n=e?e.clone():new Re;return n.update(t),n}function Xi(e){if(e)return Zi(e)?{captureContext:e}:qi(e)?{captureContext:e}:e}function Zi(e){return e instanceof Re||typeof e=="function"}const Qi=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function qi(e){return Object.keys(e).some(t=>Qi.includes(t))}var we,ea,Ut,ta,$t,na,Bt,ra,Kr;function Vr(e,t){return pe().captureException(e,Xi(t))}function sa(e,t){const n=typeof t=="string"?t:void 0,r=typeof t!="string"?{captureContext:t}:void 0;return pe().captureMessage(e,n,r)}function Xr(e,t){return pe().captureEvent(e,t)}function gf(e,t){we().setContext(e,t)}function vf(e){we().setExtras(e)}function yf(e,t){we().setExtra(e,t)}function _f(e){we().setTags(e)}function Ef(e,t){we().setTag(e,t)}function Sf(e){we().setUser(e)}function bf(){return we().lastEventId()}function Zr(e,t){const n=ea(),r=Ut();if(!r)$t&&Bt.warn("Cannot capture check-in. No client defined.");else if(!r.captureCheckIn)$t&&Bt.warn("Cannot capture check-in. Client does not support sending check-ins.");else return r.captureCheckIn(e,t,n);return ra()}function Tf(e,t,n){const r=Zr({monitorSlug:e,status:"in_progress"},n),s=Kr();function o(i){Zr({monitorSlug:e,status:i,checkInId:r,duration:Kr()-s})}return ta(()=>{let i;try{i=t()}catch(a){throw o("error"),a}return na(i)?Promise.resolve(i).then(()=>{o("ok")},a=>{throw o("error"),a}):o("ok"),i})}async function If(e){const t=Ut();return t?t.flush(e):($t&&Bt.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function Rf(e){const t=Ut();return t?t.close(e):($t&&Bt.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function oa(){return!!J()}function Of(){const e=Ut();return!!e&&e.getOptions().enabled!==!1&&!!e.getTransport()}function wf(e){we().addEventProcessor(e)}function Qr(e){const t=J(),n=ht(),r=pe(),{release:s,environment:o=sn}=t&&t.getOptions()||{},{userAgent:i}=C.navigator||{},a=ko({release:s,environment:o,user:r.getUser()||n.getUser(),...i&&{userAgent:i},...e}),c=n.getSession();return c&&c.status==="ok"&&Ve(c,{status:"exited"}),qr(),n.setSession(a),r.setSession(a),a}function qr(){const e=ht(),t=pe(),n=t.getSession()||e.getSession();n&&Fo(n),es(),e.setSession(),t.setSession()}function es(){const e=ht(),t=pe(),n=J(),r=t.getSession()||e.getSession();r&&n&&n.captureSession(r)}function ts(e=!1){if(e){qr();return}es()}var ia,aa,ca;const ns=[];function ua(e){const t={};return e.forEach(n=>{const{name:r}=n,s=t[r];s&&!s.isDefaultInstance&&n.isDefaultInstance||(t[r]=n)}),Object.values(t)}function la(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(i=>{i.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n=="function"){const i=n(t);r=Array.isArray(i)?i:[i]}else r=t;const s=ua(r),o=s.findIndex(i=>i.name==="Debug");if(o>-1){const[i]=s.splice(o,1);s.push(i)}return s}function fa(e,t){const n={};return t.forEach(r=>{r&&ss(e,r,n)}),n}function rs(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function ss(e,t,n){if(n[t.name]){P&&b.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,ns.indexOf(t.name)===-1&&typeof t.setupOnce=="function"&&(t.setupOnce(),ns.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),typeof t.preprocessEvent=="function"){const r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(s,o)=>r(s,o,e))}if(typeof t.processEvent=="function"){const r=t.processEvent.bind(t),s=Object.assign((o,i)=>r(o,i,e),{id:t.name});e.addEventProcessor(s)}P&&b.log(`Integration installed: ${t.name}`)}function xf(e){const t=ia();if(!t){aa&&ca.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`);return}t.addIntegration(e)}function Cf(e){return e}const da=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,"undefined is not an object (evaluating 'a.L')",`can't redefine non-configurable property "solana"`,"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],pa="InboundFilters",ha=(e={})=>({name:pa,processEvent(t,n,r){const s=r.getOptions(),o=ma(e,s);return ga(t,o)?null:t}});function ma(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:da],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function ga(e,t){return t.ignoreInternal&&ba(e)?(P&&b.warn(`Event dropped due to being internal Sentry Error.
|
|
5
|
-
Event: ${Ie(e)}`),!0):
|
|
6
|
-
Event: ${Ie(e)}`),!0):
|
|
7
|
-
Event: ${Ie(e)}`),!0):
|
|
8
|
-
Event: ${Ie(e)}`),!0):
|
|
1
|
+
"use strict";(globalThis.webpackChunk_icanbwell_composite||=[]).push([[642],{91361(y,w,u){var h=u(80866),S=u(13174),T=TypeError;y.exports=function(E){if(h(E))return E;throw new T(S(E)+" is not a constructor")}},40286(y,w,u){var h=u(4578),S=TypeError;y.exports=function(T,E){if(h(E,T))return T;throw new S("Incorrect invocation")}},27825(y,w,u){var h=u(16881);y.exports=h([].slice)},7283(y,w,u){var h=u(4282),S=h("iterator"),T=!1;try{var E=0,v={next:function(){return{done:!!E++}},return:function(){T=!0}};v[S]=function(){return this},Array.from(v,function(){throw 2})}catch{}y.exports=function(O,I){try{if(!I&&!T)return!1}catch{return!1}var U=!1;try{var $={};$[S]=function(){return{next:function(){return{done:U=!0}}}},O($)}catch{}return U}},10997(y,w,u){var h=u(74530),S=u(64466);y.exports=function(T,E,v){return v.get&&h(v.get,E,{getter:!0}),v.set&&h(v.set,E,{setter:!0}),S.f(T,E,v)}},36168(y,w,u){var h=u(98060);y.exports=/ipad|iphone|ipod/i.test(h)&&typeof Pebble<"u"},81129(y,w,u){var h=u(98060);y.exports=/web0s(?!.*chrome)/i.test(h)},85821(y,w,u){var h=u(95691),S=u(44977),T=u(89055),E=h(h.bind);y.exports=function(v,O){return S(v),O===void 0?v:T?E(v,O):function(){return v.apply(O,arguments)}}},95691(y,w,u){var h=u(38689),S=u(16881);y.exports=function(T){if(h(T)==="Function")return S(T)}},59042(y,w,u){var h=u(39944),S=u(14188),T=u(3770),E=u(13174),v=u(54366),O=TypeError;y.exports=function(I,U){var $=arguments.length<2?v(I):U;if(S($))return T(h($,I));throw new O(E(I)+" is not iterable")}},54366(y,w,u){var h=u(38689),S=u(44318),T=u(12913),E=u(4282),v=E("iterator"),O=Array.prototype;y.exports=function(I){if(!S(I))return T(I,v)||T(I,"@@iterator")||(h(I)==="Arguments"?O[v]:void 0)}},3306(y){y.exports=function(w,u){try{arguments.length===1?console.error(w):console.error(w,u)}catch{}}},28146(y,w,u){var h=u(4282),S=u(49164),T=h("iterator"),E=Array.prototype;y.exports=function(v){return v!==void 0&&(S.Array===v||E[T]===v)}},80866(y,w,u){var h=u(16881),S=u(5234),T=u(14188),E=u(65438),v=u(5604),O=u(13029),I=function(){},U=v("Reflect","construct"),$=/^\s*(?:class|function)\b/,W=h($.exec),be=!$.test(I),V=function(B){if(!T(B))return!1;try{return U(I,[],B),!0}catch{return!1}},ce=function(B){if(!T(B))return!1;switch(E(B)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return be||!!W($,O(B))}catch{return!0}};ce.sham=!0,y.exports=!U||S(function(){var j;return V(V.call)||!V(Object)||!V(function(){j=!0})||j})?ce:V},38873(y,w,u){var h=u(85821),S=u(39944),T=u(3770),E=u(13174),v=u(28146),O=u(69389),I=u(4578),U=u(59042),$=u(54366),W=u(88500),be=TypeError,V=function(j,B){this.stopped=j,this.result=B},ce=V.prototype;y.exports=function(j,B,G){var Te=G&&G.that,Ce=!!(G&&G.AS_ENTRIES),he=!!(G&&G.IS_RECORD),Ge=!!(G&&G.IS_ITERATOR),X=!!(G&&G.INTERRUPTED),me=h(B,Te),ee,ge,ue,_t,Q,Et,St,Ne=function(Y){var bt=ee;return ee=void 0,bt&&W(bt,"normal"),new V(!0,Y)},ct=function(Y){return Ce?(T(Y),X?me(Y[0],Y[1],Ne):me(Y[0],Y[1])):X?me(Y,Ne):me(Y)};if(he)ee=j.iterator;else if(Ge)ee=j;else{if(ge=$(j),!ge)throw new be(E(j)+" is not iterable");if(v(ge)){for(ue=0,_t=O(j);_t>ue;ue++)if(Q=ct(j[ue]),Q&&I(ce,Q))return Q;return new V(!1)}ee=U(j,ge)}for(Et=he?j.next:ee.next;!(St=S(Et,ee)).done;){var qt=St.value;try{Q=ct(qt)}catch(Y){if(ee)W(ee,"throw",Y);else throw Y}if(typeof Q=="object"&&Q&&I(ce,Q))return Q}return new V(!1)}},88500(y,w,u){var h=u(39944),S=u(3770),T=u(12913);y.exports=function(E,v,O){var I,U;S(E);try{if(I=T(E,"return"),!I){if(v==="throw")throw O;return O}I=h(I,E)}catch($){U=!0,I=$}if(v==="throw")throw O;if(U)throw I;return S(I),O}},49164(y){y.exports=Object.create?Object.create(null):{}},59444(y,w,u){var h=u(44977),S=TypeError,T=function(E){var v,O;this.promise=new E(function(I,U){if(v!==void 0||O!==void 0)throw new S("Bad Promise constructor");v=I,O=U}),this.resolve=h(v),this.reject=h(O)};y.exports.f=function(E){return new T(E)}},69456(y,w,u){var h=u(96893),S=u(16881),T=u(39944),E=u(5234),v=u(57137),O=u(30156),I=u(74416),U=u(83628),$=u(47568),W=Object.assign,be=Object.defineProperty,V=S([].concat);y.exports=!W||E(function(){if(h&&W({b:1},W(be({},"a",{enumerable:!0,get:function(){be(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var ce={},j={},B=Symbol("assign detection"),G="abcdefghijklmnopqrst";return ce[B]=7,G.split("").forEach(function(Te){j[Te]=Te}),W({},ce)[B]!==7||v(W({},j)).join("")!==G})?function(j,B){for(var G=U(j),Te=arguments.length,Ce=1,he=O.f,Ge=I.f;Te>Ce;)for(var X=$(arguments[Ce++]),me=he?V(v(X),he(X)):v(X),ee=me.length,ge=0,ue;ee>ge;)ue=me[ge++],(!h||T(Ge,X,ue))&&(G[ue]=X[ue]);return G}:W},49120(y,w,u){var h=u(79117);y.exports=h},96042(y){y.exports=function(w){try{return{error:!1,value:w()}}catch(u){return{error:!0,value:u}}}},48787(y,w,u){var h=u(3770),S=u(80831),T=u(59444);y.exports=function(E,v){if(h(E),S(v)&&v.constructor===E)return v;var O=T.f(E),I=O.resolve;return I(v),O.promise}},68648(y){var w=function(){this.head=null,this.tail=null};w.prototype={add:function(u){var h={item:u,next:null},S=this.tail;S?S.next=h:this.head=h,this.tail=h},get:function(){var u=this.head;if(u){var h=this.head=u.next;return h===null&&(this.tail=null),u.item}}},y.exports=w},35268(y,w,u){var h=u(79117),S=u(96893),T=Object.getOwnPropertyDescriptor;y.exports=function(E){if(!S)return h[E];var v=T(h,E);return v&&v.value}},43900(y,w,u){var h=u(5604),S=u(10997),T=u(4282),E=u(96893),v=T("species");y.exports=function(O){var I=h(O);E&&I&&!I[v]&&S(I,v,{configurable:!0,get:function(){return this}})}},93754(y,w,u){var h=u(64466).f,S=u(74418),T=u(4282),E=T("toStringTag");y.exports=function(v,O,I){v&&!I&&(v=v.prototype),v&&!S(v,E)&&h(v,E,{configurable:!0,value:O})}},97964(y,w,u){var h=u(3770),S=u(91361),T=u(44318),E=u(4282),v=E("species");y.exports=function(O,I){var U=h(O).constructor,$;return U===void 0||T($=h(U)[v])?I:S($)}},89445(y){var w=TypeError;y.exports=function(u,h){if(u<h)throw new w("Not enough arguments");return u}},87050(y,w,u){var h=u(5613),S=u(69456);h({target:"Object",stat:!0,arity:2,forced:Object.assign!==S},{assign:S})},62642(y,w,u){u.r(w),u.d(w,{default:()=>_l});var h=()=>u(44977),S=()=>u(40286),T=()=>u(27825),E=()=>u(7283),v=()=>u(38689),O=()=>u(97509),I=()=>u(65926),U=()=>u(36168),$=u.cw(e=>{var t=V();e.exports=/ipad|iphone|ipod/i.test(t)&&/applewebkit/i.test(t)}),W=u.cw(e=>{var t=j();e.exports=t==="NODE"}),be=()=>u(81129),V=()=>u(98060),ce=()=>u(63008),j=u.cw(e=>{var t=X(),n=V(),r=v(),s=function(o){return n.slice(0,o.length)===o};e.exports=function(){return s("Bun/")?"BUN":s("Cloudflare-Workers")?"CLOUDFLARE":s("Deno/")?"DENO":s("Node.js/")?"NODE":t.Bun&&typeof Bun.version=="string"?"BUN":t.Deno&&typeof Deno.version=="object"?"DENO":r(t.process)==="process"?"NODE":t.window&&t.document?"BROWSER":"REST"}()}),B=()=>u(5613),G=()=>u(5234),Te=()=>u(40646),Ce=()=>u(85821),he=()=>u(39944),Ge=()=>u(5604),X=()=>u(79117),me=()=>u(74418),ee=()=>u(3306),ge=()=>u(67458),ue=()=>u(13029),_t=()=>u(43086),Q=()=>u(14188),Et=()=>u(68489),St=()=>u(80831),Ne=()=>u(1942),ct=()=>u(38873),qt=u.cw(e=>{var t=X(),n=Qs(),r=Ce(),s=or().h,o=sr(),i=$(),a=U(),c=be(),l=W(),d=t.MutationObserver||t.WebKitMutationObserver,f=t.document,m=t.process,g=t.Promise,_=n("queueMicrotask"),k,C,L,H,ne;if(!_){var z=new o,K=function(){var re,de;for(l&&(re=m.domain)&&re.exit();de=z.get();)try{de()}catch(q){throw z.head&&k(),q}re&&re.enter()};!i&&!l&&!c&&d&&f?(C=!0,L=f.createTextNode(""),new d(K).observe(L,{characterData:!0}),k=function(){L.data=C=!C}):!a&&g&&g.resolve?(H=g.resolve(void 0),H.constructor=g,ne=r(H.then,H),k=function(){ne(K)}):l?k=function(){m.nextTick(K)}:(s=r(s,t),k=function(){s(K)}),_=function(re){z.head||k(),z.add(re)}}e.exports=_}),Y=()=>u(59444),bt=()=>u(5054),Xs=()=>u(49120),en=()=>u(96042),ut=u.cw(e=>{var t=X(),n=lt(),r=Q(),s=Et(),o=ue(),i=ro(),a=j(),c=Ne(),l=ce(),d=n&&n.prototype,f=i("species"),m=!1,g=r(t.PromiseRejectionEvent),_=s("Promise",function(){var k=o(n),C=k!==String(n);if(!C&&l===66||c&&!(d.catch&&d.finally))return!0;if(!l||l<51||!/native code/.test(k)){var L=new n(function(z){z(1)}),H=function(z){z(function(){},function(){})},ne=L.constructor={};if(ne[f]=H,m=L.then(function(){})instanceof H,!m)return!0}return!C&&(a==="BROWSER"||a==="DENO")&&!g});e.exports={CONSTRUCTOR:_,REJECTION_EVENT:g,SUBCLASSING:m}}),lt=u.cw(e=>{var t=X();e.exports=t.Promise}),Zs=()=>u(48787),rr=u.cw(e=>{var t=lt(),n=E(),r=ut().CONSTRUCTOR;e.exports=r||!n(function(s){t.all(s).then(void 0,function(){})})}),sr=()=>u(68648),Qs=()=>u(35268),qs=()=>u(43900),eo=()=>u(93754),to=()=>u(97964),or=u.cw(e=>{var t=X(),n=Te(),r=Ce(),s=Q(),o=me(),i=G(),a=ge(),c=T(),l=I(),d=no(),f=$(),m=W(),g=t.setImmediate,_=t.clearImmediate,k=t.process,C=t.Dispatch,L=t.Function,H=t.MessageChannel,ne=t.String,z=0,K={},re="onreadystatechange",de,q,nt,gt;i(function(){de=t.location});var vt=function(M){if(o(K,M)){var ae=K[M];delete K[M],ae()}},He=function(M){return function(){vt(M)}},Vt=function(M){vt(M.data)},Se=function(M){t.postMessage(ne(M),de.protocol+"//"+de.host)};(!g||!_)&&(g=function(ae){d(arguments.length,1);var Xt=s(ae)?ae:L(ae),yt=c(arguments,1);return K[++z]=function(){n(Xt,void 0,yt)},q(z),z},_=function(ae){delete K[ae]},m?q=function(M){k.nextTick(He(M))}:C&&C.now?q=function(M){C.now(He(M))}:H&&!f?(nt=new H,gt=nt.port2,nt.port1.onmessage=Vt,q=r(gt.postMessage,gt)):t.addEventListener&&s(t.postMessage)&&!t.importScripts&&de&&de.protocol!=="file:"&&!i(Se)?(q=Se,t.addEventListener("message",Vt,!1)):re in l("script")?q=function(M){a.appendChild(l("script"))[re]=function(){a.removeChild(this),vt(M)}}:q=function(M){setTimeout(He(M),0)}),e.exports={h:g}}),no=()=>u(89445),ro=()=>u(4282),so=u.cw(()=>{var e=B(),t=he(),n=h(),r=Y(),s=en(),o=ct(),i=rr();e({target:"Promise",stat:!0,forced:i},{all:function(c){var l=this,d=r.f(l),f=d.resolve,m=d.reject,g=s(function(){var _=n(l.resolve),k=[],C=0,L=1;o(c,function(H){var ne=C++,z=!1;L++,t(_,l,H).then(function(K){z||(z=!0,k[ne]=K,--L||f(k))},m)}),--L||f(k)});return g.error&&m(g.value),d.promise}})}),oo=u.cw(()=>{var e=B(),t=Ne(),n=ut().CONSTRUCTOR,r=lt(),s=Ge(),o=Q(),i=O(),a=r&&r.prototype;if(e({target:"Promise",proto:!0,forced:n,real:!0},{catch:function(l){return this.then(void 0,l)}}),!t&&o(r)){var c=s("Promise").prototype.catch;a.catch!==c&&i(a,"catch",c,{unsafe:!0})}}),io=u.cw(()=>{var e=B(),t=Ne(),n=W(),r=X(),s=Xs(),o=he(),i=O(),a=bt(),c=eo(),l=qs(),d=h(),f=Q(),m=St(),g=S(),_=to(),k=or().h,C=qt(),L=ee(),H=en(),ne=sr(),z=_t(),K=lt(),re=ut(),de=Y(),q="Promise",nt=re.CONSTRUCTOR,gt=re.REJECTION_EVENT,vt=re.SUBCLASSING,He=z.getterFor(q),Vt=z.set,Se=K&&K.prototype,M=K,ae=Se,Xt=r.TypeError,yt=r.document,qn=r.process,er=de.f,El=er,Sl=!!(yt&&yt.createEvent&&r.dispatchEvent),Fs="unhandledrejection",bl="rejectionhandled",js=0,Ls=1,Tl=2,tr=1,Us=2,Zt,$s,Bs,Hs,Gs=function(p){var R;return m(p)&&f(R=p.then)?R:!1},zs=function(p,R){var x=R.value,A=R.state===Ls,F=A?p.ok:p.fail,ot=p.resolve,Qt=p.reject,it=p.domain,at,Ks,Vs;try{F?(A||(R.rejection===Us&&Rl(R),R.rejection=tr),F===!0?at=x:(it&&it.enter(),at=F(x),it&&(it.exit(),Vs=!0)),at===p.promise?Qt(new Xt("Promise-chain cycle")):(Ks=Gs(at))?o(Ks,at,ot,Qt):ot(at)):Qt(x)}catch(Ol){it&&!Vs&&it.exit(),Qt(Ol)}},Ws=function(p,R){p.notified||(p.notified=!0,C(function(){for(var x=p.reactions,A;A=x.get();)zs(A,p);p.notified=!1,R&&!p.rejection&&Il(p)}))},Ys=function(p,R,x){var A,F;Sl?(A=yt.createEvent("Event"),A.promise=R,A.reason=x,A.initEvent(p,!1,!0),r.dispatchEvent(A)):A={promise:R,reason:x},!gt&&(F=r["on"+p])?F(A):p===Fs&&L("Unhandled promise rejection",x)},Il=function(p){o(k,r,function(){var R=p.facade,x=p.value,A=Js(p),F;if(A&&(F=H(function(){n?qn.emit("unhandledRejection",x,R):Ys(Fs,R,x)}),p.rejection=n||Js(p)?Us:tr,F.error))throw F.value})},Js=function(p){return p.rejection!==tr&&!p.parent},Rl=function(p){o(k,r,function(){var R=p.facade;n?qn.emit("rejectionHandled",R):Ys(bl,R,p.value)})},rt=function(p,R,x){return function(A){p(R,A,x)}},st=function(p,R,x){p.done||(p.done=!0,x&&(p=x),p.value=R,p.state=Tl,Ws(p,!0))},nr=function(p,R,x){if(!p.done){p.done=!0,x&&(p=x);try{if(p.facade===R)throw new Xt("Promise can't be resolved itself");var A=Gs(R);A?C(function(){var F={done:!1};try{o(A,R,rt(nr,F,p),rt(st,F,p))}catch(ot){st(F,ot,p)}}):(p.value=R,p.state=Ls,Ws(p,!1))}catch(F){st({done:!1},F,p)}}};if(nt&&(M=function(R){g(this,ae),d(R),o(Zt,this);var x=He(this);try{R(rt(nr,x),rt(st,x))}catch(A){st(x,A)}},ae=M.prototype,Zt=function(R){Vt(this,{type:q,done:!1,notified:!1,parent:!1,reactions:new ne,rejection:!1,state:js,value:null})},Zt.prototype=i(ae,"then",function(R,x){var A=He(this),F=er(_(this,M));return A.parent=!0,F.ok=f(R)?R:!0,F.fail=f(x)&&x,F.domain=n?qn.domain:void 0,A.state===js?A.reactions.add(F):C(function(){zs(F,A)}),F.promise}),$s=function(){var p=new Zt,R=He(p);this.promise=p,this.resolve=rt(nr,R),this.reject=rt(st,R)},de.f=er=function(p){return p===M||p===Bs?new $s(p):El(p)},!t&&f(K)&&Se!==Object.prototype)){Hs=Se.then,vt||i(Se,"then",function(R,x){var A=this;return new M(function(F,ot){o(Hs,A,F,ot)}).then(R,x)},{unsafe:!0});try{delete Se.constructor}catch{}a&&a(Se,ae)}e({global:!0,constructor:!0,wrap:!0,forced:nt},{Promise:M}),Bs=s.Promise,c(M,q,!1,!0),l(q)}),ao=u.cw(()=>{io(),so(),oo(),co(),uo(),lo()}),co=u.cw(()=>{var e=B(),t=he(),n=h(),r=Y(),s=en(),o=ct(),i=rr();e({target:"Promise",stat:!0,forced:i},{race:function(c){var l=this,d=r.f(l),f=d.reject,m=s(function(){var g=n(l.resolve);o(c,function(_){t(g,l,_).then(d.resolve,f)})});return m.error&&f(m.value),d.promise}})}),uo=u.cw(()=>{var e=B(),t=Y(),n=ut().CONSTRUCTOR;e({target:"Promise",stat:!0,forced:n},{reject:function(s){var o=t.f(this),i=o.reject;return i(s),o.promise}})}),lo=u.cw(()=>{var e=B(),t=Ge(),n=Ne(),r=lt(),s=ut().CONSTRUCTOR,o=Zs(),i=t("Promise"),a=n&&!s;e({target:"Promise",stat:!0,forced:n||s},{resolve:function(l){return o(a&&this===i?r:this,l)}})}),fo=10,po=20,ir=30,ho=40,tn=50,ar=60,nn={trace:10,debug:20,info:30,warn:40,error:50,fatal:60},cr={};function wl(e){return typeof e=="string"?nn[e.toLowerCase()]:e}Object.keys(nn).forEach(function(e){cr[nn[e]]=e});var ur={levels:{trace:"color: DeepPink",debug:"color: GoldenRod",info:"color: DarkTurquoise",warn:"color: Purple",error:"color: Crimson",fatal:"color: Black"},def:"color: DimGray",msg:"color: SteelBlue",src:"color: DimGray; font-style: italic; font-size: 0.9em"},mo=function(){function e(t){var n=t===void 0?{}:t,r=n.logByLevel,s=n.css,o=s===void 0?ur:s;this.logByLevel=r!==void 0&&r,this.css=o}return e.prototype.write=function(t){var n,r,s=this.css.def,o=this.css.msg,i=this.css.src,a=t.childName?t.name+"/"+t.childName:t.name,c=cr[t.level],l=(Array(6-c.length).join(" ")+c).toUpperCase();this.logByLevel?(t.level===fo?c="debug":t.level===ar&&(c="error"),r=typeof console[c]=="function"?console[c]:console.log):r=console.log,n=t.level<po?this.css.levels.trace:t.level<ir?this.css.levels.debug:t.level<ho?this.css.levels.info:t.level<tn?this.css.levels.warn:t.level<ar?this.css.levels.error:this.css.levels.fatal;var d=function(m,g){return Array(g+1-(m+"").length).join("0")+m},f=[];f.push("[%s:%s:%s:%s] %c%s%c: %s: %c%s "+(t.src?"%c%s":"")),f.push(d(t.time.getHours(),2)),f.push(d(t.time.getMinutes(),2)),f.push(d(t.time.getSeconds(),2)),f.push(d(t.time.getMilliseconds(),4)),f.push(n),f.push(l),f.push(s),f.push(a),f.push(o),f.push(t.msg),t.src&&(f.push(i),f.push(t.src)),t.obj&&(f.push(`
|
|
2
|
+
`),f.push(t.obj)),t.err&&t.err.stack&&(f.push(`
|
|
3
|
+
`),f.push(t.err.stack)),r.apply(console,f)},e.getDefaultCss=function(){return ur},e}(),Cl=u(97107),Nl=u(87050);ao();const rn="production",N=globalThis;function Tt(e,t,n){const r=n||N,s=r.__SENTRY__=r.__SENTRY__||{},o=s["8.55.2"]=s["8.55.2"]||{};return o[e]||(o[e]=t())}function It(){return sn(N),N}function sn(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||"8.55.2",t["8.55.2"]=t["8.55.2"]||{}}const lr=Object.prototype.toString;function on(e){switch(lr.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return xe(e,Error)}}function ze(e,t){return lr.call(e)===`[object ${t}]`}function fr(e){return ze(e,"ErrorEvent")}function dr(e){return ze(e,"DOMError")}function go(e){return ze(e,"DOMException")}function ve(e){return ze(e,"String")}function an(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function cn(e){return e===null||an(e)||typeof e!="object"&&typeof e!="function"}function We(e){return ze(e,"Object")}function Rt(e){return typeof Event<"u"&&xe(e,Event)}function vo(e){return typeof Element<"u"&&xe(e,Element)}function yo(e){return ze(e,"RegExp")}function Ot(e){return!!(e&&e.then&&typeof e.then=="function")}function _o(e){return We(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function xe(e,t){try{return e instanceof t}catch{return!1}}function pr(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}const Ye=N,Eo=80;function hr(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,s=[];let o=0,i=0;const a=" > ",c=a.length;let l;const d=Array.isArray(t)?t:t.keyAttrs,f=!Array.isArray(t)&&t.maxStringLength||Eo;for(;n&&o++<r&&(l=So(n,d),!(l==="html"||o>1&&i+s.length*c+l.length>=f));)s.push(l),i+=l.length,n=n.parentNode;return s.reverse().join(a)}catch{return"<unknown>"}}function So(e,t){const n=e,r=[];if(!n||!n.tagName)return"";if(Ye.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const s=t&&t.length?t.filter(i=>n.getAttribute(i)).map(i=>[i,n.getAttribute(i)]):null;if(s&&s.length)s.forEach(i=>{r.push(`[${i[0]}="${i[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const i=n.className;if(i&&ve(i)){const a=i.split(/\s+/);for(const c of a)r.push(`.${c}`)}}const o=["aria-label","type","name","title","alt"];for(const i of o){const a=n.getAttribute(i);a&&r.push(`[${i}="${a}"]`)}return r.join("")}function bo(){try{return Ye.document.location.href}catch{return""}}function xl(e){return Ye.document&&Ye.document.querySelector?Ye.document.querySelector(e):null}function To(e){if(!Ye.HTMLElement)return null;let t=e;const n=5;for(let r=0;r<n;r++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}const Ae=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Io="Sentry Logger ",un=["debug","info","warn","error","log","assert","trace"],wt={};function Pe(e){if(!("console"in N))return e();const t=N.console,n={},r=Object.keys(wt);r.forEach(s=>{const o=wt[s];n[s]=t[s],t[s]=o});try{return e()}finally{r.forEach(s=>{t[s]=n[s]})}}function Ro(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return Ae?un.forEach(n=>{t[n]=(...r)=>{e&&Pe(()=>{N.console[n](`${Io}[${n}]:`,...r)})}}):un.forEach(n=>{t[n]=()=>{}}),t}const b=Tt("logger",Ro);function Je(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function Al(e,t){let n=e;const r=n.length;if(r<=150)return n;t>r&&(t=r);let s=Math.max(t-60,0);s<5&&(s=0);let o=Math.min(s+140,r);return o>r-5&&(o=r),o===r&&(s=Math.max(o-140,0)),n=n.slice(s,o),s>0&&(n=`'{snip} ${n}`),o<r&&(n+=" {snip}"),n}function mr(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const s=e[r];try{pr(s)?n.push("[VueViewModel]"):n.push(String(s))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function Oo(e,t,n=!1){return ve(e)?yo(t)?t.test(e):ve(t)?n?e===t:e.includes(t):!1:!1}function Ct(e,t=[],n=!1){return t.some(r=>Oo(e,r,n))}var wo;function te(e,t,n){if(!(t in e))return;const r=e[t],s=n(r);typeof s=="function"&&gr(s,r);try{e[t]=s}catch{Ae&&b.log(`Failed to replace method "${t}" in object`,e)}}function De(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{Ae&&b.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function gr(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,De(e,"__sentry_original__",t)}catch{}}function ln(e){return e.__sentry_original__}function Pl(e){return Object.entries(e).map(([t,n])=>`${encodeURIComponent(t)}=${encodeURIComponent(n)}`).join("&")}function vr(e){if(on(e))return{message:e.message,name:e.name,stack:e.stack,..._r(e)};if(Rt(e)){const t={type:e.type,target:yr(e.target),currentTarget:yr(e.currentTarget),..._r(e)};return typeof CustomEvent<"u"&&xe(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function yr(e){try{return vo(e)?hr(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function _r(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function Co(e,t=40){const n=Object.keys(vr(e));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return Je(r,t);for(let s=n.length;s>0;s--){const o=n.slice(0,s).join(", ");if(!(o.length>t))return s===n.length?o:Je(o,t)}return""}function se(e){return fn(e,new Map)}function fn(e,t){if(No(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const s of Object.getOwnPropertyNames(e))typeof e[s]<"u"&&(r[s]=fn(e[s],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(s=>{r.push(fn(s,t))}),r}return e}function No(e){if(!We(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}function Dl(e){let t;switch(!0){case e==null:t=new String(e);break;case(typeof e=="symbol"||typeof e=="bigint"):t=Object(e);break;case wo(e):t=new e.constructor(e);break;default:t=e;break}return t}const Er=1e3;function ft(){return Date.now()/Er}function xo(){const{performance:e}=N;if(!e||!e.now)return ft;const t=Date.now()-e.now(),n=e.timeOrigin==null?t:e.timeOrigin;return()=>(n+e.now())/Er}const ye=xo();let Nt;const Ml=(()=>{const{performance:e}=N;if(!e||!e.now){Nt="none";return}const t=3600*1e3,n=e.now(),r=Date.now(),s=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,o=s<t,i=e.timing&&e.timing.navigationStart,c=typeof i=="number"?Math.abs(i+n-r):t,l=c<t;return o||l?s<=c?(Nt="timeOrigin",e.timeOrigin):(Nt="navigationStart",i):(Nt="dateNow",r)})();var dn;function oe(){const e=N,t=e.crypto||e.msCrypto;let n=()=>Math.random()*16;try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const r=new Uint8Array(1);return t.getRandomValues(r),r[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function Sr(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function Ie(e){const{message:t,event_id:n}=e;if(t)return t;const r=Sr(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function pn(e,t,n){const r=e.exception=e.exception||{},s=r.values=r.values||[],o=s[0]=s[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function Ke(e,t){const n=Sr(e);if(!n)return;const r={type:"generic",handled:!0},s=n.mechanism;if(n.mechanism={...r,...s,...t},t&&"data"in t){const o={...s&&s.data,...t.data};n.mechanism.data=o}}const Ao=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;function hn(e){return parseInt(e||"",10)}function kl(e){const t=e.match(Ao)||[],n=hn(t[1]),r=hn(t[2]),s=hn(t[3]);return{buildmetadata:t[5],major:isNaN(n)?void 0:n,minor:isNaN(r)?void 0:r,patch:isNaN(s)?void 0:s,prerelease:t[4]}}function Fl(e,t,n=5){if(t.lineno===void 0)return;const r=e.length,s=Math.max(Math.min(r-1,t.lineno-1),0);t.pre_context=e.slice(Math.max(0,s-n),s).map(i=>dn(i,0));const o=Math.min(r-1,s);t.context_line=dn(e[o],t.colno||0),t.post_context=e.slice(Math.min(s+1,r),s+1+n).map(i=>dn(i,0))}function br(e){if(Po(e))return!0;try{De(e,"__sentry_captured__",!0)}catch{}return!1}function Po(e){try{return e.__sentry_captured__}catch{}}function jl(e){return Array.isArray(e)?e:[e]}function Do(e){const t=ye(),n={sid:oe(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>ko(n)};return e&&Ve(n,e),n}function Ve(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||ye(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:oe()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function Mo(e,t){let n={};t?n={status:t}:e.status==="ok"&&(n={status:"exited"}),Ve(e,n)}function ko(e){return se({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}function Ll(){return{traceId:mn(),spanId:xt()}}function mn(){return oe()}function xt(){return oe().substring(16)}function At(e,t,n=2){if(!t||typeof t!="object"||n<=0)return t;if(e&&t&&Object.keys(t).length===0)return e;const r={...e};for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[s]=At(r[s],t[s],n-1));return r}const gn="_sentrySpan";function Tr(e,t){t?De(e,gn,t):delete e[gn]}function Ir(e){return e[gn]}const Fo=100;class vn{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:mn(),spanId:xt()}}clone(){const t=new vn;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,Tr(t,Ir(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Ve(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const n=typeof t=="function"?t(this):t,[r,s]=n instanceof Re?[n.getScopeData(),n.getRequestSession()]:We(n)?[t,t.requestSession]:[],{tags:o,extra:i,user:a,contexts:c,level:l,fingerprint:d=[],propagationContext:f}=r||{};return this._tags={...this._tags,...o},this._extra={...this._extra,...i},this._contexts={...this._contexts,...c},a&&Object.keys(a).length&&(this._user=a),l&&(this._level=l),d.length&&(this._fingerprint=d),f&&(this._propagationContext=f),s&&(this._requestSession=s),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,Tr(this,void 0),this._attachments=[],this.setPropagationContext({traceId:mn()}),this._notifyScopeListeners(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:Fo;if(r<=0)return this;const s={timestamp:ft(),...t};return this._breadcrumbs.push(s),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client&&this._client.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Ir(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=At(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext={spanId:xt(),...t},this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=n&&n.event_id?n.event_id:oe();if(!this._client)return b.warn("No client configured on scope - will not capture exception!"),r;const s=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:s,...n,event_id:r},this),r}captureMessage(t,n,r){const s=r&&r.event_id?r.event_id:oe();if(!this._client)return b.warn("No client configured on scope - will not capture message!"),s;const o=new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:o,...r,event_id:s},this),s}captureEvent(t,n){const r=n&&n.event_id?n.event_id:oe();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(b.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}const Re=vn;function jo(){return Tt("defaultCurrentScope",()=>new Re)}function Lo(){return Tt("defaultIsolationScope",()=>new Re)}class Uo{constructor(t,n){let r;t?r=t:r=new Re;let s;n?s=n:s=new Re,this._stack=[{scope:r}],this._isolationScope=s}withScope(t){const n=this._pushScope();let r;try{r=t(n)}catch(s){throw this._popScope(),s}return Ot(r)?r.then(s=>(this._popScope(),s),s=>{throw this._popScope(),s}):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function Xe(){const e=It(),t=sn(e);return t.stack=t.stack||new Uo(jo(),Lo())}function $o(e){return Xe().withScope(e)}function Bo(e,t){const n=Xe();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function Rr(e){return Xe().withScope(()=>e(Xe().getIsolationScope()))}function Ho(){return{withIsolationScope:Rr,withScope:$o,withSetScope:Bo,withSetIsolationScope:(e,t)=>Rr(t),getCurrentScope:()=>Xe().getScope(),getIsolationScope:()=>Xe().getIsolationScope()}}var Go,zo;function Ul(e){const t=Go(),n=zo(t);n.acs=e}function yn(e){const t=sn(e);return t.acs?t.acs:Ho()}var Wo,Yo;function pe(){const e=It();return yn(e).getCurrentScope()}function dt(){const e=It();return yn(e).getIsolationScope()}function Or(){return Tt("globalScope",()=>new Re)}function Jo(...e){const t=It(),n=yn(t);if(e.length===2){const[r,s]=e;return r?n.withSetScope(r,s):n.withScope(s)}return n.withScope(e[0])}function $l(...e){const t=Yo(),n=Wo(t);if(e.length===2){const[r,s]=e;return r?n.withSetIsolationScope(r,s):n.withIsolationScope(s)}return n.withIsolationScope(e[0])}function J(){return pe().getClient()}function Ko(e){const t=e.getPropagationContext(),{traceId:n,spanId:r,parentSpanId:s}=t;return se({trace_id:n,span_id:r,parent_span_id:s})}const P=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;var _e;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const r=2;e[e.REJECTED=r]="REJECTED"})(_e||(_e={}));function Me(e){return new ie(t=>{t(e)})}function Pt(e){return new ie((t,n)=>{n(e)})}class ie{constructor(t){ie.prototype.__init.call(this),ie.prototype.__init2.call(this),ie.prototype.__init3.call(this),ie.prototype.__init4.call(this),this._state=_e.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new ie((r,s)=>{this._handlers.push([!1,o=>{if(!t)r(o);else try{r(t(o))}catch(i){s(i)}},o=>{if(!n)s(o);else try{r(n(o))}catch(i){s(i)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new ie((n,r)=>{let s,o;return this.then(i=>{o=!1,s=i,t&&t()},i=>{o=!0,s=i,t&&t()}).then(()=>{if(o){r(s);return}n(s)})})}__init(){this._resolve=t=>{this._setResult(_e.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(_e.REJECTED,t)}}__init3(){this._setResult=(t,n)=>{if(this._state===_e.PENDING){if(Ot(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===_e.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===_e.RESOLVED&&n[1](this._value),this._state===_e.REJECTED&&n[2](this._value),n[0]=!0)})}}}function _n(e,t,n,r=0){return new ie((s,o)=>{const i=e[r];if(t===null||typeof i!="function")s(t);else{const a=i({...t},n);P&&i.id&&a===null&&b.log(`Event processor "${i.id}" dropped event`),Ot(a)?a.then(c=>_n(e,c,n,r+1).then(s)).then(null,o):_n(e,a,n,r+1).then(s).then(null,o)}})}let Dt,wr,Mt;function Cr(e){const t=N._sentryDebugIds;if(!t)return{};const n=Object.keys(t);return Mt&&n.length===wr||(wr=n.length,Mt=n.reduce((r,s)=>{Dt||(Dt={});const o=Dt[s];if(o)r[o[0]]=o[1];else{const i=e(s);for(let a=i.length-1;a>=0;a--){const c=i[a],l=c&&c.filename,d=t[s];if(l&&d){r[l]=d,Dt[s]=[l,d];break}}}return r},{})),Mt}function Bl(e,t){const n=Cr(e);if(!n)return[];const r=[];for(const s of t)s&&n[s]&&r.push({type:"sourcemap",code_file:s,debug_id:n[s]});return r}function Vo(){const e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(s){if(e)return t.has(s)?!0:(t.add(s),!1);for(let o=0;o<t.length;o++)if(t[o]===s)return!0;return t.push(s),!1}function r(s){if(e)t.delete(s);else for(let o=0;o<t.length;o++)if(t[o]===s){t.splice(o,1);break}}return[n,r]}const Nr=50,Xo="?",xr=/\(error: (.*)\)/,Ar=/captureMessage|captureException/;function Pr(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,s=0)=>{const o=[],i=n.split(`
|
|
4
|
+
`);for(let a=r;a<i.length;a++){const c=i[a];if(c.length>1024)continue;const l=xr.test(c)?c.replace(xr,"$1"):c;if(!l.match(/\S*Error: /)){for(const d of t){const f=d(l);if(f){o.push(f);break}}if(o.length>=Nr+s)break}}return Qo(o.slice(s))}}function Zo(e){return Array.isArray(e)?Pr(...e):e}function Qo(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(kt(t).function||"")&&t.pop(),t.reverse(),Ar.test(kt(t).function||"")&&(t.pop(),Ar.test(kt(t).function||"")&&t.pop()),t.slice(0,Nr).map(n=>({...n,filename:n.filename||kt(t).filename,function:n.function||Xo}))}function kt(e){return e[e.length-1]||{}}const En="<anonymous>";function Oe(e){try{return!e||typeof e!="function"?En:e.name||En}catch{return En}}function Dr(e){const t=e.exception;if(t){const n=[];try{return t.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}function Ee(e,t=100,n=1/0){try{return Sn("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function Mr(e,t=3,n=100*1024){const r=Ee(e,t);return ni(r)>n?Mr(e,t-1,n):r}function Sn(e,t,n=1/0,r=1/0,s=Vo()){const[o,i]=s;if(t==null||["boolean","string"].includes(typeof t)||typeof t=="number"&&Number.isFinite(t))return t;const a=qo(e,t);if(!a.startsWith("[object "))return a;if(t.__sentry_skip_normalization__)return t;const c=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:n;if(c===0)return a.replace("object ","");if(o(t))return"[Circular ~]";const l=t;if(l&&typeof l.toJSON=="function")try{const g=l.toJSON();return Sn("",g,c-1,r,s)}catch{}const d=Array.isArray(t)?[]:{};let f=0;const m=vr(t);for(const g in m){if(!Object.prototype.hasOwnProperty.call(m,g))continue;if(f>=r){d[g]="[MaxProperties ~]";break}const _=m[g];d[g]=Sn(g,_,c-1,r,s),f++}return i(t),d}function qo(e,t){try{if(e==="domain"&&t&&typeof t=="object"&&t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof globalThis<"u"&&t===globalThis)return"[Global]";if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(pr(t))return"[VueViewModel]";if(_o(t))return"[SyntheticEvent]";if(typeof t=="number"&&!Number.isFinite(t))return`[${t}]`;if(typeof t=="function")return`[Function: ${Oe(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=ei(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function ei(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}function ti(e){return~-encodeURI(e).split(/%..|./).length}function ni(e){return ti(JSON.stringify(e))}function Hl(e,t){const n=t.replace(/\\/g,"/").replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");let r=e;try{r=decodeURI(e)}catch{}return r.replace(/\\/g,"/").replace(/webpack:\/?/g,"").replace(new RegExp(`(file://)?/*${n}/*`,"ig"),"app:///")}const ri="sentry.source",si="sentry.sample_rate",oi="sentry.op",ii="sentry.origin",Gl="sentry.idle_span_finish_reason",zl="sentry.measurement_unit",Wl="sentry.measurement_value",Yl="sentry.custom_span_name",Jl="sentry.profile_id",Kl="sentry.exclusive_time",Vl="cache.hit",Xl="cache.key",Zl="cache.item_size",Ql="http.request.method",ql="url.full";var ai,ci;const ef="baggage",kr="sentry-",ui=/^sentry-/,li=8192;function fi(e){const t=di(e);if(!t)return;const n=Object.entries(t).reduce((r,[s,o])=>{if(s.match(ui)){const i=s.slice(kr.length);r[i]=o}return r},{});if(Object.keys(n).length>0)return n}function tf(e){if(!e)return;const t=Object.entries(e).reduce((n,[r,s])=>(s&&(n[`${kr}${r}`]=s),n),{});return pi(t)}function di(e){if(!(!e||!ve(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,n)=>{const r=Fr(n);return Object.entries(r).forEach(([s,o])=>{t[s]=o}),t},{}):Fr(e)}function Fr(e){return e.split(",").map(t=>t.split("=").map(n=>decodeURIComponent(n.trim()))).reduce((t,[n,r])=>(n&&r&&(t[n]=r),t),{})}function pi(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,r],s)=>{const o=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,i=s===0?o:`${t},${o}`;return i.length>li?(ai&&ci.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):i},"")}function hi(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=J(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}const bn="_sentryMetrics";function mi(e){const t=e[bn];if(!t)return;const n={};for(const[,[r,s]]of t)(n[r]||(n[r]=[])).push(se(s));return n}function nf(e,t,n,r,s,o,i){const c=e[bn]||(e[bn]=new Map),l=`${t}:${n}@${s}`,d=c.get(i);if(d){const[,f]=d;c.set(i,[l,{min:Math.min(f.min,r),max:Math.max(f.max,r),count:f.count+=1,sum:f.sum+=r,tags:f.tags}])}else c.set(i,[l,{min:r,max:r,count:1,sum:r,tags:o}])}var gi,vi,yi,_i,Ei,Si,bi,jr,Ti,Ii;const rf=0,Ri=1;let Lr=!1;function sf(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:s,parent_span_id:o,status:i,origin:a}=Ft(e);return bi({parent_span_id:o,span_id:t,trace_id:n,data:r,op:s,status:i,origin:a})}function Oi(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext(),s=r?t:Ft(e).parent_span_id,o=r?xt():t;return se({parent_span_id:s,span_id:o,trace_id:n})}function of(e){const{traceId:t,spanId:n}=e.spanContext(),r=Tn(e);return Ti(t,n,r)}function Ur(e){return typeof e=="number"?$r(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?$r(e.getTime()):ye()}function $r(e){return e>9999999999?e/1e3:e}function Ft(e){if(Ci(e))return e.getSpanJSON();try{const{spanId:t,traceId:n}=e.spanContext();if(wi(e)){const{attributes:r,startTime:s,name:o,endTime:i,parentSpanId:a,status:c}=e;return se({span_id:t,trace_id:n,data:r,description:o,parent_span_id:a,start_timestamp:Ur(s),timestamp:Ur(i)||void 0,status:Ni(c),op:r[oi],origin:r[ii],_metrics_summary:mi(e)})}return{span_id:t,trace_id:n}}catch{return{}}}function wi(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function Ci(e){return typeof e.getSpanJSON=="function"}function Tn(e){const{traceFlags:t}=e.spanContext();return t===Ri}function Ni(e){if(!(!e||e.code===0))return e.code===1?"ok":e.message||"unknown_error"}const ke="_sentryChildSpans",In="_sentryRootSpan";function af(e,t){const n=e[In]||e;jr(t,In,n),e[ke]?e[ke].add(t):jr(e,ke,new Set([t]))}function cf(e,t){e[ke]&&e[ke].delete(t)}function uf(e){const t=new Set;function n(r){if(!t.has(r)&&Tn(r)){t.add(r);const s=r[ke]?Array.from(r[ke]):[];for(const o of s)n(o)}}return n(e),Array.from(t)}function Br(e){return e[In]||e}function xi(){const e=vi(),t=gi(e);return t.getActiveSpan?t.getActiveSpan():Ii(yi())}function lf(e,t,n,r,s,o){const i=xi();i&&_i(i,e,t,n,r,s,o)}function Ai(){Lr||(Pe(()=>{console.warn("[Sentry] Deprecation warning: Returning null from `beforeSendSpan` will be disallowed from SDK version 9.0.0 onwards. The callback will only support mutating spans. To drop certain spans, configure the respective integrations directly.")}),Lr=!0)}function ff(e,t){e.updateName(t),e.setAttributes({[Ei]:"custom",[Si]:t})}var Pi,Di;const Hr="_frozenDsc";function df(e,t){Di(e,Hr,t)}function Gr(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},s=se({environment:n.environment||rn,release:n.release,public_key:r,trace_id:e});return t.emit("createDsc",s),s}function Mi(e,t){const n=t.getPropagationContext();return n.dsc||Gr(n.traceId,e)}function zr(e){const t=J();if(!t)return{};const n=Br(e),r=n[Hr];if(r)return r;const s=n.spanContext().traceState,o=s&&s.get("sentry.dsc"),i=o&&fi(o);if(i)return i;const a=Gr(e.spanContext().traceId,t),c=Ft(n),l=c.data||{},d=l[si];d!=null&&(a.sample_rate=`${d}`);const f=l[ri],m=c.description;return f!=="url"&&m&&(a.transaction=m),hi()&&(a.sampled=String(Tn(n))),t.emit("createDsc",a,n),a}function pf(e){const t=zr(e);return Pi(t)}function ki(e,t){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:o}=t;Fi(e,t),r&&Ui(e,r),$i(e,n),ji(e,s),Li(e,o)}function Wr(e,t){const{extra:n,tags:r,user:s,contexts:o,level:i,sdkProcessingMetadata:a,breadcrumbs:c,fingerprint:l,eventProcessors:d,attachments:f,propagationContext:m,transactionName:g,span:_}=t;jt(e,"extra",n),jt(e,"tags",r),jt(e,"user",s),jt(e,"contexts",o),e.sdkProcessingMetadata=At(e.sdkProcessingMetadata,a,2),i&&(e.level=i),g&&(e.transactionName=g),_&&(e.span=_),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),l.length&&(e.fingerprint=[...e.fingerprint,...l]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,...m}}function jt(e,t,n){e[t]=At(e[t],n,1)}function Fi(e,t){const{extra:n,tags:r,user:s,contexts:o,level:i,transactionName:a}=t,c=se(n);c&&Object.keys(c).length&&(e.extra={...c,...e.extra});const l=se(r);l&&Object.keys(l).length&&(e.tags={...l,...e.tags});const d=se(s);d&&Object.keys(d).length&&(e.user={...d,...e.user});const f=se(o);f&&Object.keys(f).length&&(e.contexts={...f,...e.contexts}),i&&(e.level=i),a&&e.type!=="transaction"&&(e.transaction=a)}function ji(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function Li(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function Ui(e,t){e.contexts={trace:Oi(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:zr(t),...e.sdkProcessingMetadata};const n=Br(t),r=Ft(n).description;r&&!e.transaction&&e.type==="transaction"&&(e.transaction=r)}function $i(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}function Bi(e,t,n,r,s,o){const{normalizeDepth:i=3,normalizeMaxBreadth:a=1e3}=e,c={...t,event_id:t.event_id||n.event_id||oe(),timestamp:t.timestamp||ft()},l=n.integrations||e.integrations.map(C=>C.name);Hi(c,e),Wi(c,l),s&&s.emit("applyFrameMetadata",t),t.type===void 0&&Gi(c,e.stackParser);const d=Ji(r,n.captureContext);n.mechanism&&Ke(c,n.mechanism);const f=s?s.getEventProcessors():[],m=Or().getScopeData();if(o){const C=o.getScopeData();Wr(m,C)}if(d){const C=d.getScopeData();Wr(m,C)}const g=[...n.attachments||[],...m.attachments];g.length&&(n.attachments=g),ki(c,m);const _=[...f,...m.eventProcessors];return _n(_,c,n).then(C=>(C&&zi(C),typeof i=="number"&&i>0?Yi(C,i,a):C))}function Hi(e,t){const{environment:n,release:r,dist:s,maxValueLength:o=250}=t;e.environment=e.environment||n||rn,!e.release&&r&&(e.release=r),!e.dist&&s&&(e.dist=s),e.message&&(e.message=Je(e.message,o));const i=e.exception&&e.exception.values&&e.exception.values[0];i&&i.value&&(i.value=Je(i.value,o));const a=e.request;a&&a.url&&(a.url=Je(a.url,o))}function Gi(e,t){const n=Cr(t);try{e.exception.values.forEach(r=>{r.stacktrace.frames.forEach(s=>{n&&s.filename&&(s.debug_id=n[s.filename])})})}catch{}}function zi(e){const t={};try{e.exception.values.forEach(r=>{r.stacktrace.frames.forEach(s=>{s.debug_id&&(s.abs_path?t[s.abs_path]=s.debug_id:s.filename&&(t[s.filename]=s.debug_id),delete s.debug_id)})})}catch{}if(Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach(([r,s])=>{n.push({type:"sourcemap",code_file:r,debug_id:s})})}function Wi(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function Yi(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(s=>({...s,...s.data&&{data:Ee(s.data,t,n)}}))},...e.user&&{user:Ee(e.user,t,n)},...e.contexts&&{contexts:Ee(e.contexts,t,n)},...e.extra&&{extra:Ee(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=Ee(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(s=>({...s,...s.data&&{data:Ee(s.data,t,n)}}))),e.contexts&&e.contexts.flags&&r.contexts&&(r.contexts.flags=Ee(e.contexts.flags,3,n)),r}function Ji(e,t){if(!t)return e;const n=e?e.clone():new Re;return n.update(t),n}function Ki(e){if(e)return Vi(e)?{captureContext:e}:Zi(e)?{captureContext:e}:e}function Vi(e){return e instanceof Re||typeof e=="function"}const Xi=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function Zi(e){return Object.keys(e).some(t=>Xi.includes(t))}var we,Qi,Lt,qi,Ut,ea,$t,ta,Yr;function Jr(e,t){return pe().captureException(e,Ki(t))}function na(e,t){const n=typeof t=="string"?t:void 0,r=typeof t!="string"?{captureContext:t}:void 0;return pe().captureMessage(e,n,r)}function Kr(e,t){return pe().captureEvent(e,t)}function hf(e,t){we().setContext(e,t)}function mf(e){we().setExtras(e)}function gf(e,t){we().setExtra(e,t)}function vf(e){we().setTags(e)}function yf(e,t){we().setTag(e,t)}function _f(e){we().setUser(e)}function Ef(){return we().lastEventId()}function Vr(e,t){const n=Qi(),r=Lt();if(!r)Ut&&$t.warn("Cannot capture check-in. No client defined.");else if(!r.captureCheckIn)Ut&&$t.warn("Cannot capture check-in. Client does not support sending check-ins.");else return r.captureCheckIn(e,t,n);return ta()}function Sf(e,t,n){const r=Vr({monitorSlug:e,status:"in_progress"},n),s=Yr();function o(i){Vr({monitorSlug:e,status:i,checkInId:r,duration:Yr()-s})}return qi(()=>{let i;try{i=t()}catch(a){throw o("error"),a}return ea(i)?Promise.resolve(i).then(()=>{o("ok")},a=>{throw o("error"),a}):o("ok"),i})}async function bf(e){const t=Lt();return t?t.flush(e):(Ut&&$t.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function Tf(e){const t=Lt();return t?t.close(e):(Ut&&$t.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function ra(){return!!J()}function If(){const e=Lt();return!!e&&e.getOptions().enabled!==!1&&!!e.getTransport()}function Rf(e){we().addEventProcessor(e)}function Xr(e){const t=J(),n=dt(),r=pe(),{release:s,environment:o=rn}=t&&t.getOptions()||{},{userAgent:i}=N.navigator||{},a=Do({release:s,environment:o,user:r.getUser()||n.getUser(),...i&&{userAgent:i},...e}),c=n.getSession();return c&&c.status==="ok"&&Ve(c,{status:"exited"}),Zr(),n.setSession(a),r.setSession(a),a}function Zr(){const e=dt(),t=pe(),n=t.getSession()||e.getSession();n&&Mo(n),Qr(),e.setSession(),t.setSession()}function Qr(){const e=dt(),t=pe(),n=J(),r=t.getSession()||e.getSession();r&&n&&n.captureSession(r)}function qr(e=!1){if(e){Zr();return}Qr()}var sa,oa,ia;const es=[];function aa(e){const t={};return e.forEach(n=>{const{name:r}=n,s=t[r];s&&!s.isDefaultInstance&&n.isDefaultInstance||(t[r]=n)}),Object.values(t)}function ca(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(i=>{i.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n=="function"){const i=n(t);r=Array.isArray(i)?i:[i]}else r=t;const s=aa(r),o=s.findIndex(i=>i.name==="Debug");if(o>-1){const[i]=s.splice(o,1);s.push(i)}return s}function ua(e,t){const n={};return t.forEach(r=>{r&&ns(e,r,n)}),n}function ts(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function ns(e,t,n){if(n[t.name]){P&&b.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,es.indexOf(t.name)===-1&&typeof t.setupOnce=="function"&&(t.setupOnce(),es.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),typeof t.preprocessEvent=="function"){const r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(s,o)=>r(s,o,e))}if(typeof t.processEvent=="function"){const r=t.processEvent.bind(t),s=Object.assign((o,i)=>r(o,i,e),{id:t.name});e.addEventProcessor(s)}P&&b.log(`Integration installed: ${t.name}`)}function Of(e){const t=sa();if(!t){oa&&ia.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`);return}t.addIntegration(e)}function wf(e){return e}const la=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,"undefined is not an object (evaluating 'a.L')",`can't redefine non-configurable property "solana"`,"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],fa="InboundFilters",da=(e={})=>({name:fa,processEvent(t,n,r){const s=r.getOptions(),o=pa(e,s);return ha(t,o)?null:t}});function pa(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:la],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function ha(e,t){return t.ignoreInternal&&Ea(e)?(P&&b.warn(`Event dropped due to being internal Sentry Error.
|
|
5
|
+
Event: ${Ie(e)}`),!0):ma(e,t.ignoreErrors)?(P&&b.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
|
6
|
+
Event: ${Ie(e)}`),!0):ba(e)?(P&&b.warn(`Event dropped due to not having an error message, error type or stacktrace.
|
|
7
|
+
Event: ${Ie(e)}`),!0):ga(e,t.ignoreTransactions)?(P&&b.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
|
|
8
|
+
Event: ${Ie(e)}`),!0):va(e,t.denyUrls)?(P&&b.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
|
9
9
|
Event: ${Ie(e)}.
|
|
10
|
-
Url: ${
|
|
10
|
+
Url: ${Bt(e)}`),!0):ya(e,t.allowUrls)?!1:(P&&b.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
|
11
11
|
Event: ${Ie(e)}.
|
|
12
|
-
Url: ${
|
|
12
|
+
Url: ${Bt(e)}`),!0)}function ma(e,t){return e.type||!t||!t.length?!1:_a(e).some(n=>Ct(n,t))}function ga(e,t){if(e.type!=="transaction"||!t||!t.length)return!1;const n=e.transaction;return n?Ct(n,t):!1}function va(e,t){if(!t||!t.length)return!1;const n=Bt(e);return n?Ct(n,t):!1}function ya(e,t){if(!t||!t.length)return!0;const n=Bt(e);return n?Ct(n,t):!0}function _a(e){const t=[];e.message&&t.push(e.message);let n;try{n=e.exception.values[e.exception.values.length-1]}catch{}return n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`)),t}function Ea(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function Sa(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&n.filename!=="<anonymous>"&&n.filename!=="[native code]")return n.filename||null}return null}function Bt(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?Sa(t):null}catch{return P&&b.error(`Cannot extract url for event ${Ie(e)}`),null}}function ba(e){return e.type||!e.exception||!e.exception.values||e.exception.values.length===0?!1:!e.message&&!e.exception.values.some(t=>t.stacktrace||t.type&&t.type!=="Error"||t.value)}let rs;const Ta="FunctionToString",ss=new WeakMap,Ia=()=>({name:Ta,setupOnce(){rs=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=ln(this),n=ss.has(J())&&t!==void 0?t:this;return rs.apply(n,e)}}catch{}},setup(e){ss.set(e,!0)}}),Ra="Dedupe",Oa=()=>{let e;return{name:Ra,processEvent(t){if(t.type)return t;try{if(wa(t,e))return P&&b.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}};function wa(e,t){return t?!!(Ca(e,t)||Na(e,t)):!1}function Ca(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!is(e,t)||!os(e,t))}function Na(e,t){const n=as(t),r=as(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!is(e,t)||!os(e,t))}function os(e,t){let n=Dr(e),r=Dr(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let s=0;s<r.length;s++){const o=r[s],i=n[s];if(o.filename!==i.filename||o.lineno!==i.lineno||o.colno!==i.colno||o.function!==i.function)return!1}return!0}function is(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join("")===r.join("")}catch{return!1}}function as(e){return e.exception&&e.exception.values&&e.exception.values[0]}const Ht=N;function Af(){try{return new ErrorEvent(""),!0}catch{return!1}}function Pf(){try{return new DOMError(""),!0}catch{return!1}}function Df(){try{return new DOMException(""),!0}catch{return!1}}function Rn(){if(!("fetch"in Ht))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function On(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function xa(){if(typeof EdgeRuntime=="string")return!0;if(!Rn())return!1;if(On(Ht.fetch))return!0;let e=!1;const t=Ht.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=On(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){Ae&&b.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}function Mf(){return"ReportingObserver"in Ht}function kf(){if(!Rn())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch{return!1}}function Aa(e,t){t.debug===!0&&(P?b.enable():Pe(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),pe().update(t.initialScope);const r=new e(t);return Pa(r),r.init(),r}function Pa(e){pe().setClient(e)}var Da,Ma;const ka="7";function cs(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function Fa(e){return`${cs(e)}${e.projectId}/envelope/`}function ja(e,t){const n={sentry_version:ka};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}function La(e,t,n){return t||`${Fa(e)}?${ja(e,n)}`}function Ff(e,t){const n=Da(e);if(!n)return"";const r=`${cs(n)}embed/error-page/`;let s=`dsn=${Ma(n)}`;for(const o in t)if(o!=="dsn"&&o!=="onClose")if(o==="user"){const i=t.user;if(!i)continue;i.name&&(s+=`&name=${encodeURIComponent(i.name)}`),i.email&&(s+=`&email=${encodeURIComponent(i.email)}`)}else s+=`&${encodeURIComponent(o)}=${encodeURIComponent(t[o])}`;return`${r}?${s}`}const Ua=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function $a(e){return e==="http"||e==="https"}function Gt(e,t=!1){const{host:n,path:r,pass:s,port:o,projectId:i,protocol:a,publicKey:c}=e;return`${a}://${c}${t&&s?`:${s}`:""}@${n}${o?`:${o}`:""}/${r&&`${r}/`}${i}`}function Ba(e){const t=Ua.exec(e);if(!t){Pe(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,r,s="",o="",i="",a=""]=t.slice(1);let c="",l=a;const d=l.split("/");if(d.length>1&&(c=d.slice(0,-1).join("/"),l=d.pop()),l){const f=l.match(/^\d+/);f&&(l=f[0])}return us({host:o,pass:s,path:c,projectId:l,port:i,protocol:n,publicKey:r})}function us(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function Ha(e){if(!Ae)return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(i=>e[i]?!1:(b.error(`Invalid Sentry Dsn: ${i} missing`),!0))?!1:n.match(/^\d+$/)?$a(r)?t&&isNaN(parseInt(t,10))?(b.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(b.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(b.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function Ga(e){const t=typeof e=="string"?Ba(e):us(e);if(!(!t||!Ha(t)))return t}var wn;function pt(e,t=[]){return[e,t]}function za(e,t){const[n,r]=e;return[n,[...r,t]]}function Cn(e,t){const n=e[1];for(const r of n){const s=r[0].type;if(t(r,s))return!0}return!1}function jf(e,t){return Cn(e,(n,r)=>t.includes(r))}function zt(e){return N.__SENTRY__&&N.__SENTRY__.encodePolyfill?N.__SENTRY__.encodePolyfill(e):new TextEncoder().encode(e)}function Wa(e){return wn.__SENTRY__&&wn.__SENTRY__.decodePolyfill?wn.__SENTRY__.decodePolyfill(e):new TextDecoder().decode(e)}function Ya(e){const[t,n]=e;let r=JSON.stringify(t);function s(o){typeof r=="string"?r=typeof o=="string"?r+o:[zt(r),o]:r.push(typeof o=="string"?zt(o):o)}for(const o of n){const[i,a]=o;if(s(`
|
|
13
13
|
${JSON.stringify(i)}
|
|
14
|
-
`),typeof a=="string"||a instanceof Uint8Array)s(a);else{let c;try{c=JSON.stringify(a)}catch{c=JSON.stringify(
|
|
15
|
-
Reason: ${
|
|
14
|
+
`),typeof a=="string"||a instanceof Uint8Array)s(a);else{let c;try{c=JSON.stringify(a)}catch{c=JSON.stringify(Ee(a))}s(c)}}return typeof r=="string"?r:Ja(r)}function Ja(e){const t=e.reduce((s,o)=>s+o.length,0),n=new Uint8Array(t);let r=0;for(const s of e)n.set(s,r),r+=s.length;return n}function Lf(e){let t=typeof e=="string"?zt(e):e;function n(i){const a=t.subarray(0,i);return t=t.subarray(i+1),a}function r(){let i=t.indexOf(10);return i<0&&(i=t.length),JSON.parse(Wa(n(i)))}const s=r(),o=[];for(;t.length;){const i=r(),a=typeof i.length=="number"?i.length:void 0;o.push([i,a?n(a):r()])}return[s,o]}function Uf(e){return[{type:"span"},e]}function Ka(e){const t=typeof e.data=="string"?zt(e.data):e.data;return[se({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}const Va={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket",raw_security:"security"};function ls(e){return Va[e]}function fs(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function Xa(e,t,n,r){const s=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:Gt(r)},...s&&{trace:se({...s})}}}var Za,Qa,qa,ec,ds,tc;function nc(e,t){return t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function rc(e,t,n,r){const s=fs(n),o={sent_at:new Date().toISOString(),...s&&{sdk:s},...!!r&&t&&{dsn:Gt(t)}},i="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return pt(o,[i])}function sc(e,t,n,r){const s=fs(n),o=e.type&&e.type!=="replay_event"?e.type:"event";nc(e,n&&n.sdk);const i=Xa(e,s,r,t);return delete e.sdkProcessingMetadata,pt(i,[[{type:o},e]])}function $f(e,t){function n(d){return!!d.trace_id&&!!d.public_key}const r=Za(e[0]),s=t&&t.getDsn(),o=t&&t.getOptions().tunnel,i={sent_at:new Date().toISOString(),...n(r)&&{trace:r},...!!o&&s&&{dsn:Qa(s)}},a=t&&t.getOptions().beforeSendSpan,c=a?d=>{const f=a(ds(d));return f||tc(),f}:d=>ds(d),l=[];for(const d of e){const f=c(d);f&&l.push(qa(f))}return ec(i,l)}function oc(e,t,n){const r=[{type:"client_report"},{timestamp:n||ft(),discarded_events:e}];return pt(t?{dsn:t}:{},[r])}class le extends Error{constructor(t,n="warn"){super(t),this.message=t,this.logLevel=n}}function ic(e){if(typeof e=="boolean")return Number(e);const t=typeof e=="string"?parseFloat(e):e;if(typeof t!="number"||isNaN(t)||t<0||t>1){P&&b.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`);return}return t}const ps="Not capturing exception because it's already been captured.";class ac{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=Ga(t.dsn):P&&b.warn("No DSN provided, client will not send events."),this._dsn){const s=La(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:s})}const r=["enableTracing","tracesSampleRate","tracesSampler"].find(s=>s in t&&t[s]==null);r&&Pe(()=>{console.warn(`[Sentry] Deprecation warning: \`${r}\` is set to undefined, which leads to tracing being enabled. In v9, a value of \`undefined\` will result in tracing being disabled.`)})}captureException(t,n,r){const s=oe();if(br(t))return P&&b.log(ps),s;const o={event_id:s,...n};return this._process(this.eventFromException(t,o).then(i=>this._captureEvent(i,o,r))),o.event_id}captureMessage(t,n,r,s){const o={event_id:oe(),...r},i=an(t)?t:String(t),a=cn(t)?this.eventFromMessage(i,n,o):this.eventFromException(t,o);return this._process(a.then(c=>this._captureEvent(c,o,s))),o.event_id}captureEvent(t,n,r){const s=oe();if(n&&n.originalException&&br(n.originalException))return P&&b.log(ps),s;const o={event_id:s,...n},a=(t.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(t,o,a||r)),o.event_id}captureSession(t){typeof t.release!="string"?P&&b.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),Ve(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const n=this._transport;return n?(this.emit("flush"),this._isClientDoneProcessing(t).then(r=>n.flush(t).then(s=>r&&s))):Me(!0)}close(t){return this.flush(t).then(n=>(this.getOptions().enabled=!1,this.emit("close"),n))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=>t.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){const n=this._integrations[t.name];ns(this,t,this._integrations),n||ts(this,[t])}sendEvent(t,n={}){this.emit("beforeSendEvent",t,n);let r=sc(t,this._dsn,this._options._metadata,this._options.tunnel);for(const o of n.attachments||[])r=za(r,Ka(o));const s=this.sendEnvelope(r);s&&s.then(o=>this.emit("afterSendEvent",t,o),null)}sendSession(t){const n=rc(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(n)}recordDroppedEvent(t,n,r){if(this._options.sendClientReports){const s=typeof r=="number"?r:1,o=`${t}:${n}`;P&&b.log(`Recording outcome: "${o}"${s>1?` (${s} times)`:""}`),this._outcomes[o]=(this._outcomes[o]||0)+s}}on(t,n){const r=this._hooks[t]=this._hooks[t]||[];return r.push(n),()=>{const s=r.indexOf(n);s>-1&&r.splice(s,1)}}emit(t,...n){const r=this._hooks[t];r&&r.forEach(s=>s(...n))}sendEnvelope(t){return this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport?this._transport.send(t).then(null,n=>(P&&b.error("Error while sending envelope:",n),n)):(P&&b.error("Transport disabled"),Me({}))}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=ua(this,t),ts(this,t)}_updateSessionFromEvent(t,n){let r=n.level==="fatal",s=!1;const o=n.exception&&n.exception.values;if(o){s=!0;for(const c of o){const l=c.mechanism;if(l&&l.handled===!1){r=!0;break}}}const i=t.status==="ok";(i&&t.errors===0||i&&r)&&(Ve(t,{...r&&{status:"crashed"},errors:t.errors||Number(s||r)}),this.captureSession(t))}_isClientDoneProcessing(t){return new ie(n=>{let r=0;const s=1,o=setInterval(()=>{this._numProcessing==0?(clearInterval(o),n(!0)):(r+=s,t&&r>=t&&(clearInterval(o),n(!1)))},s)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,n,r=pe(),s=dt()){const o=this.getOptions(),i=Object.keys(this._integrations);return!n.integrations&&i.length>0&&(n.integrations=i),this.emit("preprocessEvent",t,n),t.type||s.setLastEventId(t.event_id||n.event_id),Bi(o,t,n,r,this,s).then(a=>{if(a===null)return a;a.contexts={trace:Ko(r),...a.contexts};const c=Mi(this,r);return a.sdkProcessingMetadata={dynamicSamplingContext:c,...a.sdkProcessingMetadata},a})}_captureEvent(t,n={},r){return this._processEvent(t,n,r).then(s=>s.event_id,s=>{P&&(s instanceof le&&s.logLevel==="log"?b.log(s.message):b.warn(s))})}_processEvent(t,n,r){const s=this.getOptions(),{sampleRate:o}=s,i=ms(t),a=hs(t),c=t.type||"error",l=`before send for type \`${c}\``,d=typeof o>"u"?void 0:ic(o);if(a&&typeof d=="number"&&Math.random()>d)return this.recordDroppedEvent("sample_rate","error",t),Pt(new le(`Discarding event because it's not included in the random sample (sampling rate = ${o})`,"log"));const f=c==="replay_event"?"replay":c,g=(t.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(t,n,r,g).then(_=>{if(_===null)throw this.recordDroppedEvent("event_processor",f,t),new le("An event processor returned `null`, will not send event.","log");if(n.data&&n.data.__sentry__===!0)return _;const C=uc(this,s,_,n);return cc(C,l)}).then(_=>{if(_===null){if(this.recordDroppedEvent("before_send",f,t),i){const H=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",H)}throw new le(`${l} returned \`null\`, will not send event.`,"log")}const k=r&&r.getSession();if(!i&&k&&this._updateSessionFromEvent(k,_),i){const L=_.sdkProcessingMetadata&&_.sdkProcessingMetadata.spanCountBeforeProcessing||0,H=_.spans?_.spans.length:0,ne=L-H;ne>0&&this.recordDroppedEvent("before_send","span",ne)}const C=_.transaction_info;if(i&&C&&_.transaction!==t.transaction){const L="custom";_.transaction_info={...C,source:L}}return this.sendEvent(_,n),_}).then(null,_=>{throw _ instanceof le?_:(this.captureException(_,{data:{__sentry__:!0},originalException:_}),new le(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
|
|
15
|
+
Reason: ${_}`))})}_process(t){this._numProcessing++,t.then(n=>(this._numProcessing--,n),n=>(this._numProcessing--,n))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([n,r])=>{const[s,o]=n.split(":");return{reason:s,category:o,quantity:r}})}_flushOutcomes(){P&&b.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){P&&b.log("No outcomes to send");return}if(!this._dsn){P&&b.log("No dsn provided, will not send outcomes");return}P&&b.log("Sending outcomes:",t);const n=oc(t,this._options.tunnel&&Gt(this._dsn));this.sendEnvelope(n)}}function cc(e,t){const n=`${t} must return \`null\` or a valid event.`;if(Ot(e))return e.then(r=>{if(!We(r)&&r!==null)throw new le(n);return r},r=>{throw new le(`${t} rejected with ${r}`)});if(!We(e)&&e!==null)throw new le(n);return e}function uc(e,t,n,r){const{beforeSend:s,beforeSendTransaction:o,beforeSendSpan:i}=t;if(hs(n)&&s)return s(n,r);if(ms(n)){if(n.spans&&i){const a=[];for(const c of n.spans){const l=i(c);l?a.push(l):(Ai(),e.recordDroppedEvent("before_send","span"))}n.spans=a}if(o){if(n.spans){const a=n.spans.length;n.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:a}}return o(n,r)}}return n}function hs(e){return e.type===void 0}function ms(e){return e.type==="transaction"}function Bf(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function lc(){return"npm"}function fc(e,t,n=[t],r="npm"){const s=e._metadata||{};s.sdk||(s.sdk={name:`sentry.javascript.${t}`,packages:n.map(o=>({name:`${r}:@sentry/${o}`,version:"8.55.2"})),version:"8.55.2"}),e._metadata=s}const ht=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function Nn(e,t){const n=An(e,t),r={type:gc(t),value:vc(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function dc(e,t,n,r){const s=J(),o=s&&s.getOptions().normalizeDepth,i=bc(t),a={__serialized__:Mr(t,o)};if(i)return{exception:{values:[Nn(e,i)]},extra:a};const c={exception:{values:[{type:Rt(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:Ec(t,{isUnhandledRejection:r})}]},extra:a};if(n){const l=An(e,n);l.length&&(c.exception.values[0].stacktrace={frames:l})}return c}function xn(e,t){return{exception:{values:[Nn(e,t)]}}}function An(e,t){const n=t.stacktrace||t.stack||"",r=hc(t),s=mc(t);try{return e(n,r,s)}catch{}return[]}const pc=/Minified React error #\d+;/i;function hc(e){return e&&pc.test(e.message)?1:0}function mc(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function gs(e){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?e instanceof WebAssembly.Exception:!1}function gc(e){const t=e&&e.name;return!t&&gs(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:"WebAssembly.Exception":t}function vc(e){const t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:gs(e)&&Array.isArray(e.message)&&e.message.length==2?e.message[1]:t:"No error message"}function yc(e,t,n,r){const s=n&&n.syntheticException||void 0,o=Pn(e,t,s,r);return Ke(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),Me(o)}function _c(e,t,n="info",r,s){const o=r&&r.syntheticException||void 0,i=Dn(e,t,o,s);return i.level=n,r&&r.event_id&&(i.event_id=r.event_id),Me(i)}function Pn(e,t,n,r,s){let o;if(fr(t)&&t.error)return xn(e,t.error);if(dr(t)||go(t)){const i=t;if("stack"in t)o=xn(e,t);else{const a=i.name||(dr(i)?"DOMError":"DOMException"),c=i.message?`${a}: ${i.message}`:a;o=Dn(e,c,n,r),pn(o,c)}return"code"in i&&(o.tags={...o.tags,"DOMException.code":`${i.code}`}),o}return on(t)?xn(e,t):We(t)||Rt(t)?(o=dc(e,t,n,s),Ke(o,{synthetic:!0}),o):(o=Dn(e,t,n,r),pn(o,`${t}`,void 0),Ke(o,{synthetic:!0}),o)}function Dn(e,t,n,r){const s={};if(r&&n){const o=An(e,n);o.length&&(s.exception={values:[{value:t,stacktrace:{frames:o}}]}),Ke(s,{synthetic:!0})}if(an(t)){const{__sentry_template_string__:o,__sentry_template_values__:i}=t;return s.logentry={message:o,params:i},s}return s.message=t,s}function Ec(e,{isUnhandledRejection:t}){const n=Co(e),r=t?"promise rejection":"exception";return fr(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:Rt(e)?`Event \`${Sc(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function Sc(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function bc(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}const D=N;let Mn=0;function vs(){return Mn>0}function Tc(){Mn++,setTimeout(()=>{Mn--})}function Ze(e,t={}){function n(s){return typeof s=="function"}if(!n(e))return e;try{const s=e.__sentry_wrapped__;if(s)return typeof s=="function"?s:e;if(ln(e))return e}catch{return e}const r=function(...s){try{const o=s.map(i=>Ze(i,t));return e.apply(this,o)}catch(o){throw Tc(),Jo(i=>{i.addEventProcessor(a=>(t.mechanism&&(pn(a,void 0,void 0),Ke(a,t.mechanism)),a.extra={...a.extra,arguments:s},a)),Jr(o)}),o}};try{for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=e[s])}catch{}gr(r,e),De(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function Ic(e,{metadata:t,tunnel:n,dsn:r}){const s={event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:Gt(r)}},o=Rc(e);return pt(s,[o])}function Rc(e){return[{type:"user_report"},e]}class Oc extends ac{constructor(t){const n={parentSpanIsAlwaysRootSpan:!0,...t},r=D.SENTRY_SDK_SOURCE||lc();fc(n,"browser",["browser"],r),super(n),n.sendClientReports&&D.document&&D.document.addEventListener("visibilitychange",()=>{D.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,n){return yc(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return _c(this._options.stackParser,t,n,r,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled()){ht&&b.warn("SDK not enabled, will not capture user feedback.");return}const n=Ic(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(n)}_prepareEvent(t,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r)}}const Qe={},ys={};function Fe(e,t){Qe[e]=Qe[e]||[],Qe[e].push(t)}function Hf(){Object.keys(Qe).forEach(e=>{Qe[e]=void 0})}function je(e,t){if(!ys[e]){ys[e]=!0;try{t()}catch(n){Ae&&b.error(`Error while instrumenting ${e}`,n)}}}function fe(e,t){const n=e&&Qe[e];if(n)for(const r of n)try{r(t)}catch(s){Ae&&b.error(`Error while triggering instrumentation handler.
|
|
16
16
|
Type: ${e}
|
|
17
17
|
Name: ${Oe(r)}
|
|
18
|
-
Error:`,s)}}const q=C,Cc=1e3;let Ss,Fn,jn;function Nc(e){const t="dom";je(t,e),Le(t,Ac)}function Ac(){if(!q.document)return;const e=de.bind(null,"dom"),t=bs(e,!0);q.document.addEventListener("click",t,!1),q.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{const s=q[n],o=s&&s.prototype;!o||!o.hasOwnProperty||!o.hasOwnProperty("addEventListener")||(re(o,"addEventListener",function(i){return function(a,c,f){if(a==="click"||a=="keypress")try{const d=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},l=d[a]=d[a]||{refCount:0};if(!l.handler){const m=bs(e);l.handler=m,i.call(this,a,m,f)}l.refCount++}catch{}return i.call(this,a,c,f)}}),re(o,"removeEventListener",function(i){return function(a,c,f){if(a==="click"||a=="keypress")try{const d=this.__sentry_instrumentation_handlers__||{},l=d[a];l&&(l.refCount--,l.refCount<=0&&(i.call(this,a,l.handler,f),l.handler=void 0,delete d[a]),Object.keys(d).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return i.call(this,a,c,f)}}))})}function Pc(e){if(e.type!==Fn)return!1;try{if(!e.target||e.target._sentryId!==jn)return!1}catch{}return!0}function Dc(e,t){return e!=="keypress"?!1:!t||!t.tagName?!0:!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)}function bs(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=Mc(n);if(Dc(n.type,r))return;Me(n,"_sentryCaptured",!0),r&&!r._sentryId&&Me(r,"_sentryId",oe());const s=n.type==="keypress"?"input":n.type;Pc(n)||(e({event:n,name:s,global:t}),Fn=n.type,jn=r?r._sentryId:void 0),clearTimeout(Ss),Ss=q.setTimeout(()=>{jn=void 0,Fn=void 0},Cc)}}function Mc(e){try{return e.target}catch{return null}}const vt="__sentry_xhr_v3__";function kc(e){const t="xhr";je(t,e),Le(t,Fc)}function Fc(){if(!q.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,n,r){const s=new Error,o=_e()*1e3,i=ye(r[0])?r[0].toUpperCase():void 0,a=jc(r[1]);if(!i||!a)return t.apply(n,r);n[vt]={method:i,url:a,request_headers:{}},i==="POST"&&a.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const c=()=>{const f=n[vt];if(f&&n.readyState===4){try{f.status_code=n.status}catch{}const d={endTimestamp:_e()*1e3,startTimestamp:o,xhr:n,virtualError:s};de("xhr",d)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(f,d,l){return c(),f.apply(d,l)}}):n.addEventListener("readystatechange",c),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(f,d,l){const[m,g]=l,v=d[vt];return v&&ye(m)&&ye(g)&&(v.request_headers[m.toLowerCase()]=g),f.apply(d,l)}}),t.apply(n,r)}}),e.send=new Proxy(e.send,{apply(t,n,r){const s=n[vt];if(!s)return t.apply(n,r);r[0]!==void 0&&(s.body=r[0]);const o={startTimestamp:_e()*1e3,xhr:n};return de("xhr",o),t.apply(n,r)}})}function jc(e){if(ye(e))return e;try{return e.toString()}catch{}}const Yt=C;function Lc(){const e=Yt.chrome,t=e&&e.app&&e.app.runtime,n="history"in Yt&&!!Yt.history.pushState&&!!Yt.history.replaceState;return!t&&n}let Jt;function Ts(e){const t="history";je(t,e),Le(t,Uc)}function Uc(){if(!Lc())return;const e=q.onpopstate;q.onpopstate=function(...n){const r=q.location.href,s=Jt;if(Jt=r,de("history",{from:s,to:r}),e)try{return e.apply(this,n)}catch{}};function t(n){return function(...r){const s=r.length>2?r[2]:void 0;if(s){const o=Jt,i=String(s);Jt=i,de("history",{from:o,to:i})}return n.apply(this,r)}}re(q.history,"pushState",t),re(q.history,"replaceState",t)}function $c(e){const t="console";je(t,e),Le(t,Bc)}function Bc(){"console"in C&&ln.forEach(function(e){e in C.console&&re(C.console,e,function(t){return xt[e]=t,function(...n){de("console",{args:n,level:e});const s=xt[e];s&&s.apply(C.console,n)}})})}var Hc,Gc,zc,Wc;function Yc(e,t){const n="fetch";je(n,e),Le(n,()=>Is(void 0,t))}function Wf(e){const t="fetch-body-resolved";Gc(t,e),zc(t,()=>Is(Kc))}function Is(e,t=!1){t&&!Pa()||re(C,"fetch",function(n){return function(...r){const s=new Error,{method:o,url:i}=Vc(r),a={args:r,fetchData:{method:o,url:i},startTimestamp:_e()*1e3,virtualError:s};return e||de("fetch",{...a}),n.apply(C,r).then(async c=>(e?e(c):de("fetch",{...a,endTimestamp:_e()*1e3,response:c}),c),c=>{throw de("fetch",{...a,endTimestamp:_e()*1e3,error:c}),an(c)&&c.stack===void 0&&(c.stack=s.stack,Me(c,"framesToPop",1)),c})}})}async function Jc(e,t){if(e&&e.body){const n=e.body,r=n.getReader(),s=setTimeout(()=>{n.cancel().then(null,()=>{})},90*1e3);let o=!0;for(;o;){let i;try{i=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);const{done:a}=await r.read();clearTimeout(i),a&&(t(),o=!1)}catch{o=!1}finally{clearTimeout(i)}}clearTimeout(s),r.releaseLock(),n.cancel().then(null,()=>{})}}function Kc(e){let t;try{t=e.clone()}catch{return}Jc(t,()=>{Wc("fetch-body-resolved",{endTimestamp:Hc()*1e3,response:e})})}function Ln(e,t){return!!e&&typeof e=="object"&&!!e[t]}function Rs(e){return typeof e=="string"?e:e?Ln(e,"url")?e.url:e.toString?e.toString():"":""}function Vc(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:Rs(n),method:Ln(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:Rs(t),method:Ln(t,"method")?String(t.method).toUpperCase():"GET"}}const Xc=100;function Ue(e,t){const n=J(),r=ht();if(!n)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:o=Xc}=n.getOptions();if(o<=0)return;const a={timestamp:pt(),...e},c=s?De(()=>s(a,t)):a;c!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",c,t),r.addBreadcrumb(c,o))}const Yf=null;function Zc(e){return e==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}function Os(e){if(e!==void 0)return e>=400&&e<500?"warning":e>=500?"error":void 0}function Un(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function Jf(e){return e.split(/[?#]/,1)[0]}function Kf(e){return e.split(/\\?\//).filter(t=>t.length>0&&t!==",").length}function Vf(e){const{protocol:t,host:n,path:r}=e,s=n&&n.replace(/^.*@/,"[filtered]:[filtered]@").replace(/(:80)$/,"").replace(/(:443)$/,"")||"";return`${t?`${t}://`:""}${s}${r}`}const Kt=1024,Qc="Breadcrumbs",qc=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:Qc,setup(n){t.console&&$c(nu(n)),t.dom&&Nc(tu(n,t.dom)),t.xhr&&kc(ru(n)),t.fetch&&Yc(su(n)),t.history&&Ts(ou(n)),t.sentry&&n.on("beforeSendEvent",eu(n))}}};function eu(e){return function(n){J()===e&&Ue({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:Ie(n)},{event:n})}}function tu(e,t){return function(r){if(J()!==e)return;let s,o,i=typeof t=="object"?t.serializeAttribute:void 0,a=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;a&&a>Kt&&(gt&&b.warn(`\`dom.maxStringLength\` cannot exceed ${Kt}, but a value of ${a} was configured. Sentry will use ${Kt} instead.`),a=Kt),typeof i=="string"&&(i=[i]);try{const f=r.event,d=iu(f)?f.target:f;s=gr(d,{keyAttrs:i,maxStringLength:a}),o=Ro(d)}catch{s="<unknown>"}if(s.length===0)return;const c={category:`ui.${r.name}`,message:s};o&&(c.data={"ui.component_name":o}),Ue(c,{event:r.event,name:r.name,global:r.global})}}function nu(e){return function(n){if(J()!==e)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:Zc(n.level),message:vr(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${vr(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;Ue(r,{input:n.args,level:n.level})}}function ru(e){return function(n){if(J()!==e)return;const{startTimestamp:r,endTimestamp:s}=n,o=n.xhr[vt];if(!r||!s||!o)return;const{method:i,url:a,status_code:c,body:f}=o,d={method:i,url:a,status_code:c},l={xhr:n.xhr,input:f,startTimestamp:r,endTimestamp:s},m=Os(c);Ue({category:"xhr",data:d,type:"http",level:m},l)}}function su(e){return function(n){if(J()!==e)return;const{startTimestamp:r,endTimestamp:s}=n;if(s&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.error){const o=n.fetchData,i={data:n.error,input:n.args,startTimestamp:r,endTimestamp:s};Ue({category:"fetch",data:o,level:"error",type:"http"},i)}else{const o=n.response,i={...n.fetchData,status_code:o&&o.status},a={input:n.args,response:o,startTimestamp:r,endTimestamp:s},c=Os(i.status_code);Ue({category:"fetch",data:i,type:"http",level:c},a)}}}function ou(e){return function(n){if(J()!==e)return;let r=n.from,s=n.to;const o=Un(D.location.href);let i=r?Un(r):void 0;const a=Un(s);(!i||!i.path)&&(i=o),o.protocol===a.protocol&&o.host===a.host&&(s=a.relative),o.protocol===i.protocol&&o.host===i.host&&(r=i.relative),Ue({category:"navigation",data:{from:r,to:s}})}}function iu(e){return!!e&&!!e.target}const au=["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"],cu="BrowserApiErrors",uu=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:cu,setupOnce(){t.setTimeout&&re(D,"setTimeout",ws),t.setInterval&&re(D,"setInterval",ws),t.requestAnimationFrame&&re(D,"requestAnimationFrame",lu),t.XMLHttpRequest&&"XMLHttpRequest"in D&&re(XMLHttpRequest.prototype,"send",fu);const n=t.eventTarget;n&&(Array.isArray(n)?n:au).forEach(du)}}};function ws(e){return function(...t){const n=t[0];return t[0]=Ze(n,{mechanism:{data:{function:Oe(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function lu(e){return function(t){return e.apply(this,[Ze(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Oe(e)},handled:!1,type:"instrument"}})])}}function fu(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(s=>{s in n&&typeof n[s]=="function"&&re(n,s,function(o){const i={mechanism:{data:{function:s,handler:Oe(o)},handled:!1,type:"instrument"}},a=fn(o);return a&&(i.mechanism.data.handler=Oe(a)),Ze(o,i)})}),e.apply(this,t)}}function du(e){const n=D[e],r=n&&n.prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(re(r,"addEventListener",function(s){return function(o,i,a){try{pu(i)&&(i.handleEvent=Ze(i.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Oe(i),target:e},handled:!1,type:"instrument"}}))}catch{}return s.apply(this,[o,Ze(i,{mechanism:{data:{function:"addEventListener",handler:Oe(i),target:e},handled:!1,type:"instrument"}}),a])}}),re(r,"removeEventListener",function(s){return function(o,i,a){try{const c=i.__sentry_wrapped__;c&&s.call(this,o,c,a)}catch{}return s.call(this,o,i,a)}}))}function pu(e){return typeof e.handleEvent=="function"}const hu=()=>({name:"BrowserSession",setupOnce(){if(typeof D.document>"u"){gt&&b.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}Qr({ignoreDuration:!0}),ts(),Ts(({from:e,to:t})=>{e!==void 0&&e!==t&&(Qr({ignoreDuration:!0}),ts())})}});let $n=null;function mu(e){const t="error";je(t,e),Le(t,gu)}function gu(){$n=C.onerror,C.onerror=function(e,t,n,r,s){return de("error",{column:r,error:s,line:n,msg:e,url:t}),$n?$n.apply(this,arguments):!1},C.onerror.__SENTRY_INSTRUMENTED__=!0}let Bn=null;function vu(e){const t="unhandledrejection";je(t,e),Le(t,yu)}function yu(){Bn=C.onunhandledrejection,C.onunhandledrejection=function(e){return de("unhandledrejection",e),Bn?Bn.apply(this,arguments):!0},C.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const _u="GlobalHandlers",Eu=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:_u,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(Su(n),xs("onerror")),t.onunhandledrejection&&(bu(n),xs("onunhandledrejection"))}}};function Su(e){mu(t=>{const{stackParser:n,attachStacktrace:r}=Cs();if(J()!==e||_s())return;const{msg:s,url:o,line:i,column:a,error:c}=t,f=Ru(Dn(n,c||s,void 0,r,!1),o,i,a);f.level="error",Xr(f,{originalException:c,mechanism:{handled:!1,type:"onerror"}})})}function bu(e){vu(t=>{const{stackParser:n,attachStacktrace:r}=Cs();if(J()!==e||_s())return;const s=Tu(t),o=un(s)?Iu(s):Dn(n,s,void 0,r,!0);o.level="error",Xr(o,{originalException:s,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function Tu(e){if(un(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}function Iu(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function Ru(e,t,n,r){const s=e.exception=e.exception||{},o=s.values=s.values||[],i=o[0]=o[0]||{},a=i.stacktrace=i.stacktrace||{},c=a.frames=a.frames||[],f=r,d=n,l=ye(t)&&t.length>0?t:Io();return c.length===0&&c.push({colno:f,filename:l,function:"?",in_app:!0,lineno:d}),e}function xs(e){gt&&b.log(`Global Handler attached: ${e}`)}function Cs(){const e=J();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const Ou=()=>({name:"HttpContext",preprocessEvent(e){if(!D.navigator&&!D.location&&!D.document)return;const t=e.request&&e.request.url||D.location&&D.location.href,{referrer:n}=D.document||{},{userAgent:r}=D.navigator||{},s={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},o={...e.request,...t&&{url:t},headers:s};e.request=o}});function wu(e,t,n=250,r,s,o,i){if(!o.exception||!o.exception.values||!i||!Ae(i.originalException,Error))return;const a=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;a&&(o.exception.values=xu(Hn(e,t,s,i.originalException,r,o.exception.values,a,0),n))}function Hn(e,t,n,r,s,o,i,a){if(o.length>=n+1)return o;let c=[...o];if(Ae(r[s],Error)){Ns(i,a);const f=e(t,r[s]),d=c.length;As(f,s,d,a),c=Hn(e,t,n,r[s],s,[f,...c],f,d)}return Array.isArray(r.errors)&&r.errors.forEach((f,d)=>{if(Ae(f,Error)){Ns(i,a);const l=e(t,f),m=c.length;As(l,`errors[${d}]`,m,a),c=Hn(e,t,n,f,s,[l,...c],l,m)}}),c}function Ns(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function As(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function xu(e,t){return e.map(n=>(n.value&&(n.value=Je(n.value,t)),n))}const Cu="cause",Nu=5,Au="LinkedErrors",Pu=(e={})=>{const t=e.limit||Nu,n=e.key||Cu;return{name:Au,preprocessEvent(r,s,o){const i=o.getOptions();wu(Nn,i.stackParser,i.maxValueLength,n,t,r,s)}}},ed=10,td=20,Du=30,nd=40,Mu=50;function qe(e,t,n,r){const s={filename:e,function:t==="<anonymous>"?"?":t,in_app:!0};return n!==void 0&&(s.lineno=n),r!==void 0&&(s.colno=r),s}const ku=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Fu=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ju=/\((\S*)(?::(\d+))(?::(\d+))\)/,Lu=[Du,e=>{const t=ku.exec(e);if(t){const[,r,s,o]=t;return qe(r,"?",+s,+o)}const n=Fu.exec(e);if(n){if(n[2]&&n[2].indexOf("eval")===0){const i=ju.exec(n[2]);i&&(n[2]=i[1],n[3]=i[2],n[4]=i[3])}const[s,o]=Ps(n[1]||"?",n[2]);return qe(o,s,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],Uu=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,$u=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Bu=[Mu,e=>{const t=Uu.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const o=$u.exec(t[3]);o&&(t[1]=t[1]||"eval",t[3]=o[1],t[4]=o[2],t[5]="")}let r=t[3],s=t[1]||"?";return[s,r]=Ps(s,r),qe(r,s,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],Hu=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,od=e=>{const t=Hu.exec(e);return t?qe(t[2],t[1]||"?",+t[3],t[4]?+t[4]:void 0):void 0},id=null,Gu=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,ad=e=>{const t=Gu.exec(e);return t?qe(t[2],t[3]||"?",+t[1]):void 0},cd=null,zu=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,ud=e=>{const t=zu.exec(e);return t?qe(t[5],t[3]||t[4]||"?",+t[1],+t[2]):void 0},ld=null,Wu=Mr(...[Lu,Bu]),Ps=(e,t)=>{const n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:"?",n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},Yu=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Vt={};function Gn(e){const t=Vt[e];if(t)return t;let n=q[e];if(wn(n))return Vt[e]=n.bind(q);const r=q.document;if(r&&typeof r.createElement=="function")try{const s=r.createElement("iframe");s.hidden=!0,r.head.appendChild(s);const o=s.contentWindow;o&&o[e]&&(n=o[e]),r.head.removeChild(s)}catch(s){Yu&&b.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,s)}return n&&(Vt[e]=n.bind(q))}function Ds(e){Vt[e]=void 0}function dd(...e){return Gn("fetch")(...e)}function pd(...e){return Gn("setTimeout")(...e)}function Ju(e){const t=[];function n(){return e===void 0||t.length<e}function r(i){return t.splice(t.indexOf(i),1)[0]||Promise.resolve(void 0)}function s(i){if(!n())return Dt(new fe("Not adding Promise because buffer limit was reached."));const a=i();return t.indexOf(a)===-1&&t.push(a),a.then(()=>r(a)).then(null,()=>r(a).then(null,()=>{})),a}function o(i){return new ie((a,c)=>{let f=t.length;if(!f)return a(!0);const d=setTimeout(()=>{i&&i>0&&a(!1)},i);t.forEach(l=>{ke(l).then(()=>{--f||(clearTimeout(d),a(!0))},c)})})}return{$:t,add:s,drain:o}}const Ku=60*1e3;function Vu(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?Ku:r-t}function Xu(e,t){return e[t]||e.all||0}function Zu(e,t,n=Date.now()){return Xu(e,t)>n}function Qu(e,{statusCode:t,headers:n},r=Date.now()){const s={...e},o=n&&n["x-sentry-rate-limits"],i=n&&n["retry-after"];if(o)for(const a of o.trim().split(",")){const[c,f,,,d]=a.split(":",5),l=parseInt(c,10),m=(isNaN(l)?60:l)*1e3;if(!f)s.all=r+m;else for(const g of f.split(";"))g==="metric_bucket"?(!d||d.split(";").includes("custom"))&&(s[g]=r+m):s[g]=r+m}else i?s.all=r+Vu(i,r):t===429&&(s.all=r+60*1e3);return s}const qu=64;function el(e,t,n=Ju(e.bufferSize||qu)){let r={};const s=i=>n.drain(i);function o(i){const a=[];if(Cn(i,(l,m)=>{const g=ds(m);if(Zu(r,g)){const v=Ms(l,m);e.recordDroppedEvent("ratelimit_backoff",g,v)}else a.push(l)}),a.length===0)return ke({});const c=mt(i[0],a),f=l=>{Cn(c,(m,g)=>{const v=Ms(m,g);e.recordDroppedEvent(l,ds(g),v)})},d=()=>t({body:Ka(c)}).then(l=>(l.statusCode!==void 0&&(l.statusCode<200||l.statusCode>=300)&&P&&b.warn(`Sentry responded with status code ${l.statusCode} to sent event.`),r=Qu(r,l),l),l=>{throw f("network_error"),l});return n.add(d).then(l=>l,l=>{if(l instanceof fe)return P&&b.error("Skipped sending event because buffer is full."),f("queue_overflow"),ke({});throw l})}return{send:o,flush:s}}function Ms(e,t){if(!(t!=="event"&&t!=="transaction"))return Array.isArray(e)?e[1]:void 0}function tl(e,t=Gn("fetch")){let n=0,r=0;function s(o){const i=o.body.length;n+=i,r++;const a={body:o.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};if(!t)return Ds("fetch"),Dt("No fetch implementation available");try{return t(e.url,a).then(c=>(n-=i,r--,{statusCode:c.status,headers:{"x-sentry-rate-limits":c.headers.get("X-Sentry-Rate-Limits"),"retry-after":c.headers.get("Retry-After")}}))}catch(c){return Ds("fetch"),n-=i,r--,Dt(c)}}return el(e,s)}var nl,rl,sl,ol,zn,Wn,et;function il(e){const t=[ha(),Oa(),uu(),qc(),Eu(),Pu(),xa(),Ou()];return e.autoSessionTracking!==!1&&t.push(hu()),t}function al(e={}){const t={defaultIntegrations:il(e),release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:D.SENTRY_RELEASE&&D.SENTRY_RELEASE.id?D.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return e.defaultIntegrations==null&&delete e.defaultIntegrations,{...t,...e}}function cl(){const e=typeof D.window<"u"&&D;if(!e)return!1;const t=e.chrome?"chrome":"browser",n=e[t],r=n&&n.runtime&&n.runtime.id,s=D.location&&D.location.href||"",o=["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"],i=!!r&&D===D.top&&o.some(c=>s.startsWith(`${c}//`)),a=typeof e.nw<"u";return!!r&&!i&&!a}function ul(e={}){const t=al(e);if(!t.skipBrowserExtensionCheck&&cl()){De(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}gt&&(On()||b.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));const n={...t,stackParser:qo(t.stackParser||Wu),integrations:la(t),transport:t.transport||tl};return Da(xc,n)}function hd(e={}){if(!et.document){Wn&&zn.error("Global document not defined in showReportDialog call");return}const t=rl(),n=t.getClient(),r=n&&n.getDsn();if(!r){Wn&&zn.error("DSN not configured for showReportDialog call");return}if(t&&(e.user={...t.getUser(),...e.user}),!e.eventId){const a=nl();a&&(e.eventId=a)}const s=et.document.createElement("script");s.async=!0,s.crossOrigin="anonymous",s.src=ol(r,e),e.onLoad&&(s.onload=e.onLoad);const{onClose:o}=e;if(o){const a=c=>{if(c.data==="__sentry_reportdialog_closed__")try{o()}finally{et.removeEventListener("message",a)}};et.addEventListener("message",a)}const i=et.document.head||et.document.body;i?i.appendChild(s):Wn&&zn.error("Not injecting report dialog. No injection point found in HTML")}function md(){}function gd(e){e()}function vd(e){const t=sl();t&&t.captureUserFeedback(e)}class ll{constructor(t){if(!oa())ul(Object.assign(Object.assign({environment:t.environment,dsn:t.dsn},t.appVersion&&{release:t.appVersion}),{beforeSend(n){var r;return!((r=n.extra)===null||r===void 0)&&r.log?n:null}}));else if(t.clientSlug!==void 0&&t.environment!==void 0){const n=xr();n.clear(),n.setTag("client.slug",t.clientSlug),n.addEventProcessor(r=>new Promise(s=>s(Object.assign(Object.assign(Object.assign({},r),{environment:t.environment}),t.appVersion&&{release:t.appVersion}))))}}write(t){if(t.err){const n=new Error(t.err.message);n.name=t.msg?`${t.msg} - ${t.err.name}`:t.err.name,n.stack=t.err.stack,Vr(n,{extra:{log:!0}})}else t.msg&&sa(t.msg,{extra:{log:!0}})}}function Yn(){return Yn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yn.apply(this,arguments)}var ks=typeof window<"u"?window.navigator.userAgent:"no-window",fl=/bot|crawler|spider|crawling/i.test(ks),dl={"Content-Type":"application/json"},pl=function(){function e(n){var r=this;n===void 0&&(n={});var s=n.method,o=s===void 0?"PUT":s,i=n.url,a=i===void 0?"/log":i,c=n.headers,f=c===void 0?{}:c,d=n.throttleInterval,l=d===void 0?3e3:d,m=n.withCredentials,g=m!==void 0&&m,v=n.onError,L=n.flushOnClose,x=L!==void 0&&L,k=n.writeCondition;this.writeCondition=k===void 0?e.defaultWriteCondition:k,this.records={},this.headers=Yn({},dl,f),this.start({method:o,url:a,throttleInterval:l,withCredentials:g,onError:v}),x&&window.fetch!==void 0&&window.addEventListener("beforeunload",function(){r.currentThrottleTimeout&&window.clearTimeout(r.currentThrottleTimeout);var H=r.recordsAsArray();H.length&&window.fetch(a,{method:o,body:JSON.stringify(H),headers:r.headers,credentials:g?"include":"same-origin",mode:"cors",keepalive:!0})},!1)}var t=e.prototype;return t.start=function(n){var r=this,s=n.method,o=n.url,i=n.throttleInterval,a=n.withCredentials,c=n.onError;(function f(){r.currentThrottleTimeout=setTimeout(function(){var d=r.recordsAsArray();if(d.length){var l=new XMLHttpRequest;l.onreadystatechange=function(){l.readyState===XMLHttpRequest.DONE&&(l.status>=400&&(typeof c=="function"?c.call(r,d,l):console.warn("Browser Bunyan: A server log write failed")),r.records={},f())},l.open(s,o);for(var m=0,g=Object.entries(r.headers);m<g.length;m++){var v=g[m];l.setRequestHeader(v[0],v[1])}l.withCredentials=a,l.send(JSON.stringify(d))}else f()},i)})()},t.stop=function(){var n=this;setTimeout(function(){n.currentThrottleTimeout&&(clearTimeout(n.currentThrottleTimeout),n.currentThrottleTimeout=null)},1)},t.write=function(n){n.url=typeof window<"u"&&window.location.href,n.userAgent=ks,this.currentThrottleTimeout&&this.writeCondition(n)&&(this.records[n.msg]?this.records[n.msg].count++:(n.count=1,this.records[n.msg]=n))},t.recordsAsArray=function(){var n=this;return Object.keys(this.records).map(function(r){return n.records[r]})},e.defaultWriteCondition=function(){return window.navigator.onLine&&!fl},e}(),yd=10,_d=20,Ed=30,Sd=40,bd=50,Td=60,Jn={trace:10,debug:20,info:30,warn:40,error:50,fatal:60},Fs={};function Kn(e){return typeof e=="string"?Jn[e.toLowerCase()]:e}function Vn(e,t){return Vn=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},Vn(e,t)}function hl(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Xn(e,t,n){return Xn=hl()?Reflect.construct:function(r,s,o){var i=[null];i.push.apply(i,s);var a=new(Function.bind.apply(r,i));return o&&Vn(a,o.prototype),a},Xn.apply(null,arguments)}function $e(e){if(e==null)return e;if(Array.isArray(e))return e.slice();if(typeof e=="object"){var t={};return Object.keys(e).forEach(function(n){t[n]=e[n]}),t}return e}function Zn(e){return e===void 0?"undefined":e===null?"null":Array.isArray(e)?"[ "+e.map(function(t){return Zn(t)}).join(", ")+" ]":typeof e=="object"?JSON.stringify(e):typeof e=="function"?"[Function: "+e.name+"]":typeof e=="boolean"||typeof e=="number"?e:"'"+e.toString()+"'"}function Be(e){if(typeof e!="string"){for(var t=new Array(arguments.length),n=0;n<arguments.length;n++)t[n]=Zn(arguments[n]);return t.join(" ")}for(var r=/%[sdj%]/g,s=1,o=arguments,i=o.length,a=String(e).replace(r,function(f){if(f==="%%")return"%";if(s>=i)return f;switch(f){case"%s":return String(o[s++]);case"%d":return Number(o[s++]);case"%j":try{return JSON.stringify(o[s++])}catch{return"[Circular]"}default:return f}}),c=o[s];s<i;c=o[++s])a+=c===null||typeof c!="object"?" "+c:" "+Zn(c);return a}function ml(e,t){var n=e.split(`
|
|
19
|
-
`);n[0]&&n[0].indexOf("call-stack-error")>=0&&n.shift();var r=n[t],s=null;if(r){var o=/^\s*(at|.*@)\s*(.+)?$/.exec(r);s=Array.isArray(o)&&o[2]?o[2]:r}return s}Object.keys(
|
|
20
|
-
`)}function
|
|
21
|
-
%s`,o,i.stack||i)),n[o]
|
|
22
|
-
`}catch(
|
|
23
|
-
`);
|
|
24
|
-
`+
|
|
25
|
-
%s`,n,
|
|
26
|
-
`,
|
|
27
|
-
Caused by: `+
|
|
18
|
+
Error:`,s)}}const Z=N,wc=1e3;let _s,kn,Fn;function Cc(e){const t="dom";Fe(t,e),je(t,Nc)}function Nc(){if(!Z.document)return;const e=fe.bind(null,"dom"),t=Es(e,!0);Z.document.addEventListener("click",t,!1),Z.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{const s=Z[n],o=s&&s.prototype;!o||!o.hasOwnProperty||!o.hasOwnProperty("addEventListener")||(te(o,"addEventListener",function(i){return function(a,c,l){if(a==="click"||a=="keypress")try{const d=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},f=d[a]=d[a]||{refCount:0};if(!f.handler){const m=Es(e);f.handler=m,i.call(this,a,m,l)}f.refCount++}catch{}return i.call(this,a,c,l)}}),te(o,"removeEventListener",function(i){return function(a,c,l){if(a==="click"||a=="keypress")try{const d=this.__sentry_instrumentation_handlers__||{},f=d[a];f&&(f.refCount--,f.refCount<=0&&(i.call(this,a,f.handler,l),f.handler=void 0,delete d[a]),Object.keys(d).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return i.call(this,a,c,l)}}))})}function xc(e){if(e.type!==kn)return!1;try{if(!e.target||e.target._sentryId!==Fn)return!1}catch{}return!0}function Ac(e,t){return e!=="keypress"?!1:!t||!t.tagName?!0:!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)}function Es(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=Pc(n);if(Ac(n.type,r))return;De(n,"_sentryCaptured",!0),r&&!r._sentryId&&De(r,"_sentryId",oe());const s=n.type==="keypress"?"input":n.type;xc(n)||(e({event:n,name:s,global:t}),kn=n.type,Fn=r?r._sentryId:void 0),clearTimeout(_s),_s=Z.setTimeout(()=>{Fn=void 0,kn=void 0},wc)}}function Pc(e){try{return e.target}catch{return null}}const mt="__sentry_xhr_v3__";function Dc(e){const t="xhr";Fe(t,e),je(t,Mc)}function Mc(){if(!Z.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,n,r){const s=new Error,o=ye()*1e3,i=ve(r[0])?r[0].toUpperCase():void 0,a=kc(r[1]);if(!i||!a)return t.apply(n,r);n[mt]={method:i,url:a,request_headers:{}},i==="POST"&&a.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const c=()=>{const l=n[mt];if(l&&n.readyState===4){try{l.status_code=n.status}catch{}const d={endTimestamp:ye()*1e3,startTimestamp:o,xhr:n,virtualError:s};fe("xhr",d)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(l,d,f){return c(),l.apply(d,f)}}):n.addEventListener("readystatechange",c),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(l,d,f){const[m,g]=f,_=d[mt];return _&&ve(m)&&ve(g)&&(_.request_headers[m.toLowerCase()]=g),l.apply(d,f)}}),t.apply(n,r)}}),e.send=new Proxy(e.send,{apply(t,n,r){const s=n[mt];if(!s)return t.apply(n,r);r[0]!==void 0&&(s.body=r[0]);const o={startTimestamp:ye()*1e3,xhr:n};return fe("xhr",o),t.apply(n,r)}})}function kc(e){if(ve(e))return e;try{return e.toString()}catch{}}const Wt=N;function Fc(){const e=Wt.chrome,t=e&&e.app&&e.app.runtime,n="history"in Wt&&!!Wt.history.pushState&&!!Wt.history.replaceState;return!t&&n}let Yt;function Ss(e){const t="history";Fe(t,e),je(t,jc)}function jc(){if(!Fc())return;const e=Z.onpopstate;Z.onpopstate=function(...n){const r=Z.location.href,s=Yt;if(Yt=r,fe("history",{from:s,to:r}),e)try{return e.apply(this,n)}catch{}};function t(n){return function(...r){const s=r.length>2?r[2]:void 0;if(s){const o=Yt,i=String(s);Yt=i,fe("history",{from:o,to:i})}return n.apply(this,r)}}te(Z.history,"pushState",t),te(Z.history,"replaceState",t)}function Lc(e){const t="console";Fe(t,e),je(t,Uc)}function Uc(){"console"in N&&un.forEach(function(e){e in N.console&&te(N.console,e,function(t){return wt[e]=t,function(...n){fe("console",{args:n,level:e});const s=wt[e];s&&s.apply(N.console,n)}})})}var $c,Bc,Hc,Gc;function zc(e,t){const n="fetch";Fe(n,e),je(n,()=>bs(void 0,t))}function Gf(e){const t="fetch-body-resolved";Bc(t,e),Hc(t,()=>bs(Yc))}function bs(e,t=!1){t&&!xa()||te(N,"fetch",function(n){return function(...r){const s=new Error,{method:o,url:i}=Jc(r),a={args:r,fetchData:{method:o,url:i},startTimestamp:ye()*1e3,virtualError:s};return e||fe("fetch",{...a}),n.apply(N,r).then(async c=>(e?e(c):fe("fetch",{...a,endTimestamp:ye()*1e3,response:c}),c),c=>{throw fe("fetch",{...a,endTimestamp:ye()*1e3,error:c}),on(c)&&c.stack===void 0&&(c.stack=s.stack,De(c,"framesToPop",1)),c})}})}async function Wc(e,t){if(e&&e.body){const n=e.body,r=n.getReader(),s=setTimeout(()=>{n.cancel().then(null,()=>{})},90*1e3);let o=!0;for(;o;){let i;try{i=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);const{done:a}=await r.read();clearTimeout(i),a&&(t(),o=!1)}catch{o=!1}finally{clearTimeout(i)}}clearTimeout(s),r.releaseLock(),n.cancel().then(null,()=>{})}}function Yc(e){let t;try{t=e.clone()}catch{return}Wc(t,()=>{Gc("fetch-body-resolved",{endTimestamp:$c()*1e3,response:e})})}function jn(e,t){return!!e&&typeof e=="object"&&!!e[t]}function Ts(e){return typeof e=="string"?e:e?jn(e,"url")?e.url:e.toString?e.toString():"":""}function Jc(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:Ts(n),method:jn(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:Ts(t),method:jn(t,"method")?String(t.method).toUpperCase():"GET"}}const Kc=100;function Le(e,t){const n=J(),r=dt();if(!n)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:o=Kc}=n.getOptions();if(o<=0)return;const a={timestamp:ft(),...e},c=s?Pe(()=>s(a,t)):a;c!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",c,t),r.addBreadcrumb(c,o))}const zf=null;function Vc(e){return e==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}function Is(e){if(e!==void 0)return e>=400&&e<500?"warning":e>=500?"error":void 0}function Ln(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function Wf(e){return e.split(/[?#]/,1)[0]}function Yf(e){return e.split(/\\?\//).filter(t=>t.length>0&&t!==",").length}function Jf(e){const{protocol:t,host:n,path:r}=e,s=n&&n.replace(/^.*@/,"[filtered]:[filtered]@").replace(/(:80)$/,"").replace(/(:443)$/,"")||"";return`${t?`${t}://`:""}${s}${r}`}const Jt=1024,Xc="Breadcrumbs",Zc=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:Xc,setup(n){t.console&&Lc(eu(n)),t.dom&&Cc(qc(n,t.dom)),t.xhr&&Dc(tu(n)),t.fetch&&zc(nu(n)),t.history&&Ss(ru(n)),t.sentry&&n.on("beforeSendEvent",Qc(n))}}};function Qc(e){return function(n){J()===e&&Le({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:Ie(n)},{event:n})}}function qc(e,t){return function(r){if(J()!==e)return;let s,o,i=typeof t=="object"?t.serializeAttribute:void 0,a=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;a&&a>Jt&&(ht&&b.warn(`\`dom.maxStringLength\` cannot exceed ${Jt}, but a value of ${a} was configured. Sentry will use ${Jt} instead.`),a=Jt),typeof i=="string"&&(i=[i]);try{const l=r.event,d=su(l)?l.target:l;s=hr(d,{keyAttrs:i,maxStringLength:a}),o=To(d)}catch{s="<unknown>"}if(s.length===0)return;const c={category:`ui.${r.name}`,message:s};o&&(c.data={"ui.component_name":o}),Le(c,{event:r.event,name:r.name,global:r.global})}}function eu(e){return function(n){if(J()!==e)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:Vc(n.level),message:mr(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${mr(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;Le(r,{input:n.args,level:n.level})}}function tu(e){return function(n){if(J()!==e)return;const{startTimestamp:r,endTimestamp:s}=n,o=n.xhr[mt];if(!r||!s||!o)return;const{method:i,url:a,status_code:c,body:l}=o,d={method:i,url:a,status_code:c},f={xhr:n.xhr,input:l,startTimestamp:r,endTimestamp:s},m=Is(c);Le({category:"xhr",data:d,type:"http",level:m},f)}}function nu(e){return function(n){if(J()!==e)return;const{startTimestamp:r,endTimestamp:s}=n;if(s&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.error){const o=n.fetchData,i={data:n.error,input:n.args,startTimestamp:r,endTimestamp:s};Le({category:"fetch",data:o,level:"error",type:"http"},i)}else{const o=n.response,i={...n.fetchData,status_code:o&&o.status},a={input:n.args,response:o,startTimestamp:r,endTimestamp:s},c=Is(i.status_code);Le({category:"fetch",data:i,type:"http",level:c},a)}}}function ru(e){return function(n){if(J()!==e)return;let r=n.from,s=n.to;const o=Ln(D.location.href);let i=r?Ln(r):void 0;const a=Ln(s);(!i||!i.path)&&(i=o),o.protocol===a.protocol&&o.host===a.host&&(s=a.relative),o.protocol===i.protocol&&o.host===i.host&&(r=i.relative),Le({category:"navigation",data:{from:r,to:s}})}}function su(e){return!!e&&!!e.target}const ou=["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"],iu="BrowserApiErrors",au=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:iu,setupOnce(){t.setTimeout&&te(D,"setTimeout",Rs),t.setInterval&&te(D,"setInterval",Rs),t.requestAnimationFrame&&te(D,"requestAnimationFrame",cu),t.XMLHttpRequest&&"XMLHttpRequest"in D&&te(XMLHttpRequest.prototype,"send",uu);const n=t.eventTarget;n&&(Array.isArray(n)?n:ou).forEach(lu)}}};function Rs(e){return function(...t){const n=t[0];return t[0]=Ze(n,{mechanism:{data:{function:Oe(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function cu(e){return function(t){return e.apply(this,[Ze(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Oe(e)},handled:!1,type:"instrument"}})])}}function uu(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(s=>{s in n&&typeof n[s]=="function"&&te(n,s,function(o){const i={mechanism:{data:{function:s,handler:Oe(o)},handled:!1,type:"instrument"}},a=ln(o);return a&&(i.mechanism.data.handler=Oe(a)),Ze(o,i)})}),e.apply(this,t)}}function lu(e){const n=D[e],r=n&&n.prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(te(r,"addEventListener",function(s){return function(o,i,a){try{fu(i)&&(i.handleEvent=Ze(i.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Oe(i),target:e},handled:!1,type:"instrument"}}))}catch{}return s.apply(this,[o,Ze(i,{mechanism:{data:{function:"addEventListener",handler:Oe(i),target:e},handled:!1,type:"instrument"}}),a])}}),te(r,"removeEventListener",function(s){return function(o,i,a){try{const c=i.__sentry_wrapped__;c&&s.call(this,o,c,a)}catch{}return s.call(this,o,i,a)}}))}function fu(e){return typeof e.handleEvent=="function"}const du=()=>({name:"BrowserSession",setupOnce(){if(typeof D.document>"u"){ht&&b.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}Xr({ignoreDuration:!0}),qr(),Ss(({from:e,to:t})=>{e!==void 0&&e!==t&&(Xr({ignoreDuration:!0}),qr())})}});let Un=null;function pu(e){const t="error";Fe(t,e),je(t,hu)}function hu(){Un=N.onerror,N.onerror=function(e,t,n,r,s){return fe("error",{column:r,error:s,line:n,msg:e,url:t}),Un?Un.apply(this,arguments):!1},N.onerror.__SENTRY_INSTRUMENTED__=!0}let $n=null;function mu(e){const t="unhandledrejection";Fe(t,e),je(t,gu)}function gu(){$n=N.onunhandledrejection,N.onunhandledrejection=function(e){return fe("unhandledrejection",e),$n?$n.apply(this,arguments):!0},N.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const vu="GlobalHandlers",yu=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:vu,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(_u(n),Os("onerror")),t.onunhandledrejection&&(Eu(n),Os("onunhandledrejection"))}}};function _u(e){pu(t=>{const{stackParser:n,attachStacktrace:r}=ws();if(J()!==e||vs())return;const{msg:s,url:o,line:i,column:a,error:c}=t,l=Tu(Pn(n,c||s,void 0,r,!1),o,i,a);l.level="error",Kr(l,{originalException:c,mechanism:{handled:!1,type:"onerror"}})})}function Eu(e){mu(t=>{const{stackParser:n,attachStacktrace:r}=ws();if(J()!==e||vs())return;const s=Su(t),o=cn(s)?bu(s):Pn(n,s,void 0,r,!0);o.level="error",Kr(o,{originalException:s,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function Su(e){if(cn(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}function bu(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function Tu(e,t,n,r){const s=e.exception=e.exception||{},o=s.values=s.values||[],i=o[0]=o[0]||{},a=i.stacktrace=i.stacktrace||{},c=a.frames=a.frames||[],l=r,d=n,f=ve(t)&&t.length>0?t:bo();return c.length===0&&c.push({colno:l,filename:f,function:"?",in_app:!0,lineno:d}),e}function Os(e){ht&&b.log(`Global Handler attached: ${e}`)}function ws(){const e=J();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const Iu=()=>({name:"HttpContext",preprocessEvent(e){if(!D.navigator&&!D.location&&!D.document)return;const t=e.request&&e.request.url||D.location&&D.location.href,{referrer:n}=D.document||{},{userAgent:r}=D.navigator||{},s={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},o={...e.request,...t&&{url:t},headers:s};e.request=o}});function Ru(e,t,n=250,r,s,o,i){if(!o.exception||!o.exception.values||!i||!xe(i.originalException,Error))return;const a=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;a&&(o.exception.values=Ou(Bn(e,t,s,i.originalException,r,o.exception.values,a,0),n))}function Bn(e,t,n,r,s,o,i,a){if(o.length>=n+1)return o;let c=[...o];if(xe(r[s],Error)){Cs(i,a);const l=e(t,r[s]),d=c.length;Ns(l,s,d,a),c=Bn(e,t,n,r[s],s,[l,...c],l,d)}return Array.isArray(r.errors)&&r.errors.forEach((l,d)=>{if(xe(l,Error)){Cs(i,a);const f=e(t,l),m=c.length;Ns(f,`errors[${d}]`,m,a),c=Bn(e,t,n,l,s,[f,...c],f,m)}}),c}function Cs(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function Ns(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function Ou(e,t){return e.map(n=>(n.value&&(n.value=Je(n.value,t)),n))}const wu="cause",Cu=5,Nu="LinkedErrors",xu=(e={})=>{const t=e.limit||Cu,n=e.key||wu;return{name:Nu,preprocessEvent(r,s,o){const i=o.getOptions();Ru(Nn,i.stackParser,i.maxValueLength,n,t,r,s)}}},Qf=10,qf=20,Au=30,ed=40,Pu=50;function qe(e,t,n,r){const s={filename:e,function:t==="<anonymous>"?"?":t,in_app:!0};return n!==void 0&&(s.lineno=n),r!==void 0&&(s.colno=r),s}const Du=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Mu=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ku=/\((\S*)(?::(\d+))(?::(\d+))\)/,Fu=[Au,e=>{const t=Du.exec(e);if(t){const[,r,s,o]=t;return qe(r,"?",+s,+o)}const n=Mu.exec(e);if(n){if(n[2]&&n[2].indexOf("eval")===0){const i=ku.exec(n[2]);i&&(n[2]=i[1],n[3]=i[2],n[4]=i[3])}const[s,o]=xs(n[1]||"?",n[2]);return qe(o,s,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],ju=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Lu=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Uu=[Pu,e=>{const t=ju.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const o=Lu.exec(t[3]);o&&(t[1]=t[1]||"eval",t[3]=o[1],t[4]=o[2],t[5]="")}let r=t[3],s=t[1]||"?";return[s,r]=xs(s,r),qe(r,s,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],$u=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,rd=e=>{const t=$u.exec(e);return t?qe(t[2],t[1]||"?",+t[3],t[4]?+t[4]:void 0):void 0},sd=null,Bu=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,od=e=>{const t=Bu.exec(e);return t?qe(t[2],t[3]||"?",+t[1]):void 0},id=null,Hu=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,ad=e=>{const t=Hu.exec(e);return t?qe(t[5],t[3]||t[4]||"?",+t[1],+t[2]):void 0},cd=null,Gu=Pr(...[Fu,Uu]),xs=(e,t)=>{const n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:"?",n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},zu=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Kt={};function Hn(e){const t=Kt[e];if(t)return t;let n=Z[e];if(On(n))return Kt[e]=n.bind(Z);const r=Z.document;if(r&&typeof r.createElement=="function")try{const s=r.createElement("iframe");s.hidden=!0,r.head.appendChild(s);const o=s.contentWindow;o&&o[e]&&(n=o[e]),r.head.removeChild(s)}catch(s){zu&&b.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,s)}return n&&(Kt[e]=n.bind(Z))}function As(e){Kt[e]=void 0}function ld(...e){return Hn("fetch")(...e)}function fd(...e){return Hn("setTimeout")(...e)}function Wu(e){const t=[];function n(){return e===void 0||t.length<e}function r(i){return t.splice(t.indexOf(i),1)[0]||Promise.resolve(void 0)}function s(i){if(!n())return Pt(new le("Not adding Promise because buffer limit was reached."));const a=i();return t.indexOf(a)===-1&&t.push(a),a.then(()=>r(a)).then(null,()=>r(a).then(null,()=>{})),a}function o(i){return new ie((a,c)=>{let l=t.length;if(!l)return a(!0);const d=setTimeout(()=>{i&&i>0&&a(!1)},i);t.forEach(f=>{Me(f).then(()=>{--l||(clearTimeout(d),a(!0))},c)})})}return{$:t,add:s,drain:o}}const Yu=60*1e3;function Ju(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?Yu:r-t}function Ku(e,t){return e[t]||e.all||0}function Vu(e,t,n=Date.now()){return Ku(e,t)>n}function Xu(e,{statusCode:t,headers:n},r=Date.now()){const s={...e},o=n&&n["x-sentry-rate-limits"],i=n&&n["retry-after"];if(o)for(const a of o.trim().split(",")){const[c,l,,,d]=a.split(":",5),f=parseInt(c,10),m=(isNaN(f)?60:f)*1e3;if(!l)s.all=r+m;else for(const g of l.split(";"))g==="metric_bucket"?(!d||d.split(";").includes("custom"))&&(s[g]=r+m):s[g]=r+m}else i?s.all=r+Ju(i,r):t===429&&(s.all=r+60*1e3);return s}const Zu=64;function Qu(e,t,n=Wu(e.bufferSize||Zu)){let r={};const s=i=>n.drain(i);function o(i){const a=[];if(Cn(i,(f,m)=>{const g=ls(m);if(Vu(r,g)){const _=Ps(f,m);e.recordDroppedEvent("ratelimit_backoff",g,_)}else a.push(f)}),a.length===0)return Me({});const c=pt(i[0],a),l=f=>{Cn(c,(m,g)=>{const _=Ps(m,g);e.recordDroppedEvent(f,ls(g),_)})},d=()=>t({body:Ya(c)}).then(f=>(f.statusCode!==void 0&&(f.statusCode<200||f.statusCode>=300)&&P&&b.warn(`Sentry responded with status code ${f.statusCode} to sent event.`),r=Xu(r,f),f),f=>{throw l("network_error"),f});return n.add(d).then(f=>f,f=>{if(f instanceof le)return P&&b.error("Skipped sending event because buffer is full."),l("queue_overflow"),Me({});throw f})}return{send:o,flush:s}}function Ps(e,t){if(!(t!=="event"&&t!=="transaction"))return Array.isArray(e)?e[1]:void 0}function qu(e,t=Hn("fetch")){let n=0,r=0;function s(o){const i=o.body.length;n+=i,r++;const a={body:o.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};if(!t)return As("fetch"),Pt("No fetch implementation available");try{return t(e.url,a).then(c=>(n-=i,r--,{statusCode:c.status,headers:{"x-sentry-rate-limits":c.headers.get("X-Sentry-Rate-Limits"),"retry-after":c.headers.get("Retry-After")}}))}catch(c){return As("fetch"),n-=i,r--,Pt(c)}}return Qu(e,s)}var el,tl,nl,rl,Gn,zn,et;function sl(e){const t=[da(),Ia(),au(),Zc(),yu(),xu(),Oa(),Iu()];return e.autoSessionTracking!==!1&&t.push(du()),t}function ol(e={}){const t={defaultIntegrations:sl(e),release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:D.SENTRY_RELEASE&&D.SENTRY_RELEASE.id?D.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return e.defaultIntegrations==null&&delete e.defaultIntegrations,{...t,...e}}function il(){const e=typeof D.window<"u"&&D;if(!e)return!1;const t=e.chrome?"chrome":"browser",n=e[t],r=n&&n.runtime&&n.runtime.id,s=D.location&&D.location.href||"",o=["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"],i=!!r&&D===D.top&&o.some(c=>s.startsWith(`${c}//`)),a=typeof e.nw<"u";return!!r&&!i&&!a}function al(e={}){const t=ol(e);if(!t.skipBrowserExtensionCheck&&il()){Pe(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}ht&&(Rn()||b.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));const n={...t,stackParser:Zo(t.stackParser||Gu),integrations:ca(t),transport:t.transport||qu};return Aa(Oc,n)}function dd(e={}){if(!et.document){zn&&Gn.error("Global document not defined in showReportDialog call");return}const t=tl(),n=t.getClient(),r=n&&n.getDsn();if(!r){zn&&Gn.error("DSN not configured for showReportDialog call");return}if(t&&(e.user={...t.getUser(),...e.user}),!e.eventId){const a=el();a&&(e.eventId=a)}const s=et.document.createElement("script");s.async=!0,s.crossOrigin="anonymous",s.src=rl(r,e),e.onLoad&&(s.onload=e.onLoad);const{onClose:o}=e;if(o){const a=c=>{if(c.data==="__sentry_reportdialog_closed__")try{o()}finally{et.removeEventListener("message",a)}};et.addEventListener("message",a)}const i=et.document.head||et.document.body;i?i.appendChild(s):zn&&Gn.error("Not injecting report dialog. No injection point found in HTML")}function pd(){}function hd(e){e()}function md(e){const t=nl();t&&t.captureUserFeedback(e)}class cl{constructor(t){if(!ra())al(Object.assign(Object.assign({environment:t.environment,dsn:t.dsn},t.appVersion&&{release:t.appVersion}),{beforeSend(n){var r;return!((r=n.extra)===null||r===void 0)&&r.log?n:null}}));else if(t.clientSlug!==void 0&&t.environment!==void 0){const n=Or();n.clear(),n.setTag("client.slug",t.clientSlug),n.addEventProcessor(r=>new Promise(s=>s(Object.assign(Object.assign(Object.assign({},r),{environment:t.environment}),t.appVersion&&{release:t.appVersion}))))}}write(t){if(t.err){const n=new Error(t.err.message);n.name=t.msg?`${t.msg} - ${t.err.name}`:t.err.name,n.stack=t.err.stack,Jr(n,{extra:{log:!0}})}else t.msg&&na(t.msg,{extra:{log:!0}})}}function Wn(){return Wn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wn.apply(this,arguments)}var Ds=typeof window<"u"?window.navigator.userAgent:"no-window",ul=/bot|crawler|spider|crawling/i.test(Ds),ll={"Content-Type":"application/json"},fl=function(){function e(n){var r=this;n===void 0&&(n={});var s=n.method,o=s===void 0?"PUT":s,i=n.url,a=i===void 0?"/log":i,c=n.headers,l=c===void 0?{}:c,d=n.throttleInterval,f=d===void 0?3e3:d,m=n.withCredentials,g=m!==void 0&&m,_=n.onError,k=n.flushOnClose,C=k!==void 0&&k,L=n.writeCondition;this.writeCondition=L===void 0?e.defaultWriteCondition:L,this.records={},this.headers=Wn({},ll,l),this.start({method:o,url:a,throttleInterval:f,withCredentials:g,onError:_}),C&&window.fetch!==void 0&&window.addEventListener("beforeunload",function(){r.currentThrottleTimeout&&window.clearTimeout(r.currentThrottleTimeout);var H=r.recordsAsArray();H.length&&window.fetch(a,{method:o,body:JSON.stringify(H),headers:r.headers,credentials:g?"include":"same-origin",mode:"cors",keepalive:!0})},!1)}var t=e.prototype;return t.start=function(n){var r=this,s=n.method,o=n.url,i=n.throttleInterval,a=n.withCredentials,c=n.onError;(function l(){r.currentThrottleTimeout=setTimeout(function(){var d=r.recordsAsArray();if(d.length){var f=new XMLHttpRequest;f.onreadystatechange=function(){f.readyState===XMLHttpRequest.DONE&&(f.status>=400&&(typeof c=="function"?c.call(r,d,f):console.warn("Browser Bunyan: A server log write failed")),r.records={},l())},f.open(s,o);for(var m=0,g=Object.entries(r.headers);m<g.length;m++){var _=g[m];f.setRequestHeader(_[0],_[1])}f.withCredentials=a,f.send(JSON.stringify(d))}else l()},i)})()},t.stop=function(){var n=this;setTimeout(function(){n.currentThrottleTimeout&&(clearTimeout(n.currentThrottleTimeout),n.currentThrottleTimeout=null)},1)},t.write=function(n){n.url=typeof window<"u"&&window.location.href,n.userAgent=Ds,this.currentThrottleTimeout&&this.writeCondition(n)&&(this.records[n.msg]?this.records[n.msg].count++:(n.count=1,this.records[n.msg]=n))},t.recordsAsArray=function(){var n=this;return Object.keys(this.records).map(function(r){return n.records[r]})},e.defaultWriteCondition=function(){return window.navigator.onLine&&!ul},e}(),gd=10,vd=20,yd=30,_d=40,Ed=50,Sd=60,Yn={trace:10,debug:20,info:30,warn:40,error:50,fatal:60},Ms={};function Jn(e){return typeof e=="string"?Yn[e.toLowerCase()]:e}function Kn(e,t){return Kn=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},Kn(e,t)}function dl(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Vn(e,t,n){return Vn=dl()?Reflect.construct:function(r,s,o){var i=[null];i.push.apply(i,s);var a=new(Function.bind.apply(r,i));return o&&Kn(a,o.prototype),a},Vn.apply(null,arguments)}function Ue(e){if(e==null)return e;if(Array.isArray(e))return e.slice();if(typeof e=="object"){var t={};return Object.keys(e).forEach(function(n){t[n]=e[n]}),t}return e}function Xn(e){return e===void 0?"undefined":e===null?"null":Array.isArray(e)?"[ "+e.map(function(t){return Xn(t)}).join(", ")+" ]":typeof e=="object"?JSON.stringify(e):typeof e=="function"?"[Function: "+e.name+"]":typeof e=="boolean"||typeof e=="number"?e:"'"+e.toString()+"'"}function $e(e){if(typeof e!="string"){for(var t=new Array(arguments.length),n=0;n<arguments.length;n++)t[n]=Xn(arguments[n]);return t.join(" ")}for(var r=/%[sdj%]/g,s=1,o=arguments,i=o.length,a=String(e).replace(r,function(l){if(l==="%%")return"%";if(s>=i)return l;switch(l){case"%s":return String(o[s++]);case"%d":return Number(o[s++]);case"%j":try{return JSON.stringify(o[s++])}catch{return"[Circular]"}default:return l}}),c=o[s];s<i;c=o[++s])a+=c===null||typeof c!="object"?" "+c:" "+Xn(c);return a}function pl(e,t){var n=e.split(`
|
|
19
|
+
`);n[0]&&n[0].indexOf("call-stack-error")>=0&&n.shift();var r=n[t],s=null;if(r){var o=/^\s*(at|.*@)\s*(.+)?$/.exec(r);s=Array.isArray(o)&&o[2]?o[2]:r}return s}Object.keys(Yn).forEach(function(e){Ms[Yn[e]]=e});var Zn={};function Qn(e,t){if(t){if(Zn[t])return;Zn[t]=!0}console.error(e+`
|
|
20
|
+
`)}function hl(e){return Zn[e]}function ml(){var e=[];return function(t,n){return n&&typeof n=="object"?e.indexOf(n)!==-1?"[Circular]":(e.push(n),n):n}}var gl=function(){function e(){}return e.prototype.write=function(t){t.level<30?console.log(t):t.level<40?console.info(t):t.level<50?console.warn(t):console.error(t),t.err&&t.err.stack&&console.error(t.err.stack),t.obj&&console.log(t.obj)},e}(),Be=function(){function e(n,r,s){var o,i,a,c,l=this;if(!(this instanceof e))return new e(n,r);if(r!==void 0&&(o=n,n=r,!(o instanceof e)))throw new TypeError("invalid Logger creation: do not pass a second arg");if(!n)throw new TypeError("options (object) is required");if(o){if(n.name)throw new TypeError("invalid options.name: child cannot set logger name")}else if(!n.name)throw new TypeError("options.name (string) is required");if(n.stream&&n.streams)throw new TypeError('cannot mix "streams" and "stream" options');if(n.streams&&!Array.isArray(n.streams))throw new TypeError("invalid options.streams: must be an array");if(n.serializers&&(typeof n.serializers!="object"||Array.isArray(n.serializers)))throw new TypeError("invalid options.serializers: must be an object");if(o&&s){this._level=o._level,this.streams=o.streams,this.serializers=o.serializers,this.src=o.src,i=this.fields={};var d=Object.keys(o.fields);for(c=0;c<d.length;c++)i[a=d[c]]=o.fields[a];var f=Object.keys(n);for(c=0;c<f.length;c++)i[a=f[c]]=n[a]}else{if(o){for(this._level=o._level,this.streams=[],c=0;c<o.streams.length;c++){var m=Ue(o.streams[c]);this.streams.push(m)}this.serializers=Ue(o.serializers),this.src=o.src,this.fields=Ue(o.fields),n.level&&this.level(n.level)}else this._level=Number.POSITIVE_INFINITY,this.streams=[],this.serializers=null,this.src=!1,this.fields={};n.stream?this.addStream({type:"stream",stream:n.stream,level:n.level}):n.streams?n.streams.forEach(function(g){l.addStream(g,n.level)}):o&&n.level?this.level(n.level):o||this.addStream({type:"raw",stream:new gl,level:n.level}),n.serializers&&this.addSerializers(n.serializers),n.src&&(this.src=!0),delete(i=Ue(n)).stream,delete i.level,delete i.streams,delete i.serializers,delete i.src,this.serializers&&this._applySerializers(i),Object.keys(i).forEach(function(g){l.fields[g]=i[g]})}}var t=e.prototype;return t.addStream=function(n,r){r===void 0&&(r=30),(n=Ue(n)).type="raw",n.level=Jn(n.level||r),n.level<this._level&&(this._level=n.level),this.streams.push(n),delete this.haveNonRawStreams},t.addSerializers=function(n){var r=this;this.serializers||(this.serializers={}),Object.keys(n).forEach(function(s){var o=n[s];if(typeof o!="function")throw new TypeError($e('invalid serializer for "%s" field: must be a function',s));r.serializers[s]=o})},t.child=function(n,r){return new this.constructor(this,n||{},r)},t.level=function(n){if(n===void 0)return this._level;for(var r=Jn(n),s=this.streams.length,o=0;o<s;o++)this.streams[o].level=r;this._level=r},t.levels=function(n,r){if(n===void 0)return this.streams.map(function(l){return l.level});var s;if(typeof n=="number"){if((s=this.streams[n])===void 0)throw new Error("invalid stream index: "+n)}else{for(var o=this.streams.length,i=0;i<o;i++){var a=this.streams[i];if(a.name===n){s=a;break}}if(!s)throw new Error($e('no stream with name "%s"',n))}if(r===void 0)return s.level;var c=Jn(r);s.level=c,c<this._level&&(this._level=c)},t._applySerializers=function(n,r){var s=this;Object.keys(this.serializers).forEach(function(o){if(!(n[o]===void 0||r&&r[o]))try{n[o]=s.serializers[o](n[o])}catch(i){Qn($e(`bunyan: ERROR: Exception thrown from the "%s" Bunyan serializer. This should never happen. This is a bugin that serializer function.
|
|
21
|
+
%s`,o,i.stack||i)),n[o]=$e('(Error in Bunyan log "%s" serializer broke field. See stderr for details.)',o)}})},t._emit=function(n,r){var s,o;if(this.haveNonRawStreams===void 0){for(this.haveNonRawStreams=!1,s=0;s<this.streams.length;s++)if(!this.streams[s].raw){this.haveNonRawStreams=!0;break}}if(r||this.haveNonRawStreams)try{o=JSON.stringify(n,ml())+`
|
|
22
|
+
`}catch(l){var i=l.stack.split(/\n/g,2).join(`
|
|
23
|
+
`);Qn('bunyan: ERROR: Exception in `JSON.stringify(rec)`. You can install the "safe-json-stringify" module to have Bunyan fallback to safer stringification. Record:\n'+function(d,f){return f||(f=" "),f+d.split(/\r?\n/g).join(`
|
|
24
|
+
`+f)}($e(`%s
|
|
25
|
+
%s`,n,l.stack)),i),o=$e(`(Exception in JSON.stringify(rec): %j. See stderr for details.)
|
|
26
|
+
`,l.message)}if(r)return o;var a=n.level;for(s=0;s<this.streams.length;s++){var c=this.streams[s];c.level<=a&&c.stream.write(n)}return o},e}();function tt(e){return function(){var t=this;function n(i){var a;i[0]instanceof Error?(r={err:t.serializers&&t.serializers.err?t.serializers.err(i[0]):vl.err(i[0])},a={err:!0},s=i.length===1?[r.err.message]:Array.prototype.slice.call(i,1)):typeof i[0]!="object"&&i[0]!==null||Array.isArray(i[0])?(r=null,s=Array.prototype.slice.call(i)):(r=i[0],s=i.length===1&&r.err&&r.err instanceof Error?[r.err.message]:Array.prototype.slice.call(i,1));var c=Ue(t.fields);c.level=e;var l=r?Ue(r):null;if(l&&(t.serializers&&t._applySerializers(l,a),Object.keys(l).forEach(function(f){c[f]=l[f]})),c.levelName=Ms[e],c.msg=s.length?$e.apply(t,s):"",c.time||(c.time=new Date),t.src&&!c.src)try{throw new Error("call-stack-error")}catch(f){var d=f.stack?pl(f.stack,2):"";d||hl("src")||Qn("Unable to determine src line info","src"),c.src=d||""}return c.v=1,c}var r=null,s=arguments,o=null;if(arguments.length===0)return this._level<=e;this._level>e||(o=n(s),this._emit(o))}}function ks(e){var t=e.stack||e.toString();if(e.cause&&typeof e.cause=="function"){var n=e.cause();n&&(t+=`
|
|
27
|
+
Caused by: `+ks(n))}return t}Be.prototype.trace=tt(10),Be.prototype.debug=tt(20),Be.prototype.info=tt(30),Be.prototype.warn=tt(40),Be.prototype.error=tt(50),Be.prototype.fatal=tt(60);var vl={err:function(e){return e&&e.stack?{message:e.message,name:e.name,stack:ks(e),code:e.code,signal:e.signal}:e}};function yl(){return Vn(Be,[].slice.call(arguments))}var bd=null,Td=null,Id=null;function _l({environment:e,clientSlug:t,url:n,telemetry:r,appVersion:s}={}){const{logging:o}=Object.assign({},r),i=[{level:ir,stream:new mo({logByLevel:!0})}];return o&&i.push({level:tn,stream:new cl({dsn:"https://509e6f450227e178643e414fe50bd969@o4507853291716608.ingest.us.sentry.io/4508132363141120",environment:e,clientSlug:t,appVersion:s})}),n&&i.push({level:tn,stream:new fl({url:n,method:"POST",throttleInterval:5e3,flushOnClose:!0})}),yl({name:"embeddable-logger",streams:i,environment:e,clientSlug:t})}}}]);
|
|
28
28
|
|
|
29
29
|
//# sourceMappingURL=642.index.js.map
|