iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: http://www.premiershiprugby.com/_nuxt/C1DZ6oEg.js
import{i as W,t as tt,a as Ne,m as $e,G as $,C as nt,f as b,o as oe,b as Fe,r as D,S as Pe,c as T,d as J,e as Ce,u as rt,g as st,D as g,l as f,h as P,j as ie,k as Z,n as ae,s as ot,p as ce,q as it,v as at,w as ct,x as ut,y as lt,z as dt,A as ft,B as pt,E as De,F as ht,H as Le,I as gt,J as q,K as Me,L as Q,M as Be,N as ue,O as le,P as mt,Q as de,R as E,T as I,U as Ue,V as S,W as M,X as fe,Y as G,Z as He,_ as pe,$ as _t,a0 as he,a1 as Et,a2 as ee,a3 as yt,a4 as vt,a5 as h,a6 as A,a7 as y,a8 as ge,a9 as bt,aa as St,ab as It,ac as k,ad as Tt,ae as wt,af as je,ag as kt,ah as H,ai as xt,aj as Ot,ak as me,al as O,am as x,an as At,ao as We,ap as qe,aq as Rt,ar as Nt,as as $t,at as Ft,au as Pt,av as Ct,aw as _e,ax as Ee}from"./CLNXVrcm.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="7a4660e7-69cc-45aa-9ef4-577391156516",t._sentryDebugIdIdentifier="sentry-dbid-7a4660e7-69cc-45aa-9ef4-577391156516")}catch{}})();function Dt(t,e,n=250,r,o,s,i){if(!s.exception||!s.exception.values||!i||!W(i.originalException,Error))return;const a=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;a&&(s.exception.values=Lt(z(t,e,o,i.originalException,r,s.exception.values,a,0),n))}function z(t,e,n,r,o,s,i,a){if(s.length>=n+1)return s;let c=[...s];if(W(r[o],Error)){ye(i,a);const u=t(e,r[o]),d=c.length;ve(u,o,d,a),c=z(t,e,n,r[o],o,[u,...c],u,d)}return Array.isArray(r.errors)&&r.errors.forEach((u,d)=>{if(W(u,Error)){ye(i,a);const l=t(e,u),m=c.length;ve(l,`errors[${d}]`,m,a),c=z(t,e,n,u,o,[l,...c],l,m)}}),c}function ye(t,e){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,...t.type==="AggregateError"&&{is_exception_group:!0},exception_id:e}}function ve(t,e,n,r){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,type:"chained",source:e,exception_id:n,parent_id:r}}function Lt(t,e){return t.map(n=>(n.value&&(n.value=tt(n.value,e)),n))}function Ge(t){if(t!==void 0)return t>=400&&t<500?"warning":t>=500?"error":void 0}class v extends Error{constructor(e,n="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=n}}function Mt(t){const e="console";Ne(e,t),$e(e,Bt)}function Bt(){"console"in $&&nt.forEach(function(t){t in $.console&&b($.console,t,function(e){return oe[t]=e,function(...n){Fe("console",{args:n,level:t});const o=oe[t];o&&o.apply($.console,n)}})})}function Ut(){return"npm"}function Ht(t){const e=[];function n(){return t===void 0||e.lengthr(a)).then(null,()=>r(a).then(null,()=>{})),a}function s(i){return new Pe((a,c)=>{let u=e.length;if(!u)return a(!0);const d=setTimeout(()=>{i&&i>0&&a(!1)},i);e.forEach(l=>{T(l).then(()=>{--u||(clearTimeout(d),a(!0))},c)})})}return{$:e,add:o,drain:s}}const jt=["fatal","error","warning","log","info","debug"];function Wt(t){return t==="warn"?"warning":jt.includes(t)?t:"log"}function qt(t,e,n){const r=[{type:"client_report"},{timestamp:Ce(),discarded_events:t}];return J(e?{dsn:e}:{},[r])}const Gt=60*1e3;function zt(t,e=Date.now()){const n=parseInt(`${t}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${t}`);return isNaN(r)?Gt:r-e}function Kt(t,e){return t[e]||t.all||0}function Xt(t,e,n=Date.now()){return Kt(t,e)>n}function Yt(t,{statusCode:e,headers:n},r=Date.now()){const o={...t},s=n&&n["x-sentry-rate-limits"],i=n&&n["retry-after"];if(s)for(const a of s.trim().split(",")){const[c,u,,,d]=a.split(":",5),l=parseInt(c,10),m=(isNaN(l)?60:l)*1e3;if(!u)o.all=r+m;else for(const _ of u.split(";"))_==="metric_bucket"?(!d||d.split(";").includes("custom"))&&(o[_]=r+m):o[_]=r+m}else i?o.all=r+zt(i,r):e===429&&(o.all=r+60*1e3);return o}const Vt="7";function Jt(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function Zt(t){return`${Jt(t)}${t.projectId}/envelope/`}function Qt(t,e){return rt({sentry_key:t.publicKey,sentry_version:Vt,...e&&{sentry_client:`${e.name}/${e.version}`}})}function en(t,e,n){return e||`${Zt(t)}?${Qt(t,n)}`}const be="Not capturing exception because it's already been captured.";class tn{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=st(e.dsn):g&&f.warn("No DSN provided, client will not send events."),this._dsn){const n=en(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:n})}}captureException(e,n,r){const o=P();if(ie(e))return g&&f.log(be),o;const s={event_id:o,...n};return this._process(this.eventFromException(e,s).then(i=>this._captureEvent(i,s,r))),s.event_id}captureMessage(e,n,r,o){const s={event_id:P(),...r},i=Me(e)?e:String(e),a=Z(e)?this.eventFromMessage(i,n,s):this.eventFromException(e,s);return this._process(a.then(c=>this._captureEvent(c,s,o))),s.event_id}captureEvent(e,n,r){const o=P();if(n&&n.originalException&&ie(n.originalException))return g&&f.log(be),o;const s={event_id:o,...n},a=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,s,a||r)),s.event_id}captureSession(e){typeof e.release!="string"?g&&f.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),ae(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const n=this._transport;return n?(this.emit("flush"),this._isClientDoneProcessing(e).then(r=>n.flush(e).then(o=>r&&o))):T(!0)}close(e){return this.flush(e).then(n=>(this.getOptions().enabled=!1,this.emit("close"),n))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){const n=this._integrations[e.name];ot(this,e,this._integrations),n||ce(this,[e])}sendEvent(e,n={}){this.emit("beforeSendEvent",e,n);let r=it(e,this._dsn,this._options._metadata,this._options.tunnel);for(const s of n.attachments||[])r=at(r,ct(s));const o=this.sendEnvelope(r);o&&o.then(s=>this.emit("afterSendEvent",e,s),null)}sendSession(e){const n=ut(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(n)}recordDroppedEvent(e,n,r){if(this._options.sendClientReports){const o=typeof r=="number"?r:1,s=`${e}:${n}`;g&&f.log(`Recording outcome: "${s}"${o>1?` (${o} times)`:""}`),this._outcomes[s]=(this._outcomes[s]||0)+o}}on(e,n){const r=this._hooks[e]=this._hooks[e]||[];return r.push(n),()=>{const o=r.indexOf(n);o>-1&&r.splice(o,1)}}emit(e,...n){const r=this._hooks[e];r&&r.forEach(o=>o(...n))}sendEnvelope(e){return this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport?this._transport.send(e).then(null,n=>(g&&f.error("Error while sending event:",n),n)):(g&&f.error("Transport disabled"),T({}))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=lt(this,e),ce(this,e)}_updateSessionFromEvent(e,n){let r=!1,o=!1;const s=n.exception&&n.exception.values;if(s){o=!0;for(const c of s){const u=c.mechanism;if(u&&u.handled===!1){r=!0;break}}}const i=e.status==="ok";(i&&e.errors===0||i&&r)&&(ae(e,{...r&&{status:"crashed"},errors:e.errors||Number(o||r)}),this.captureSession(e))}_isClientDoneProcessing(e){return new Pe(n=>{let r=0;const o=1,s=setInterval(()=>{this._numProcessing==0?(clearInterval(s),n(!0)):(r+=o,e&&r>=e&&(clearInterval(s),n(!1)))},o)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(e,n,r,o=De()){const s=this.getOptions(),i=Object.keys(this._integrations);return!n.integrations&&i.length>0&&(n.integrations=i),this.emit("preprocessEvent",e,n),e.type||o.setLastEventId(e.event_id||n.event_id),dt(s,e,n,r,this,o).then(a=>{if(a===null)return a;const c={...o.getPropagationContext(),...r?r.getPropagationContext():void 0};if(!(a.contexts&&a.contexts.trace)&&c){const{traceId:d,spanId:l,parentSpanId:m,dsc:_}=c;a.contexts={trace:ft({trace_id:d,span_id:l,parent_span_id:m}),...a.contexts};const p=_||pt(d,this);a.sdkProcessingMetadata={dynamicSamplingContext:p,...a.sdkProcessingMetadata}}return a})}_captureEvent(e,n={},r){return this._processEvent(e,n,r).then(o=>o.event_id,o=>{if(g){const s=o;s.logLevel==="log"?f.log(s.message):f.warn(s)}})}_processEvent(e,n,r){const o=this.getOptions(),{sampleRate:s}=o,i=Ke(e),a=ze(e),c=e.type||"error",u=`before send for type \`${c}\``,d=typeof s>"u"?void 0:ht(s);if(a&&typeof d=="number"&&Math.random()>d)return this.recordDroppedEvent("sample_rate","error",e),D(new v(`Discarding event because it's not included in the random sample (sampling rate = ${s})`,"log"));const l=c==="replay_event"?"replay":c,_=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,n,r,_).then(p=>{if(p===null)throw this.recordDroppedEvent("event_processor",l,e),new v("An event processor returned `null`, will not send event.","log");if(n.data&&n.data.__sentry__===!0)return p;const R=rn(this,o,p,n);return nn(R,u)}).then(p=>{if(p===null){if(this.recordDroppedEvent("before_send",l,e),i){const U=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",U)}throw new v(`${u} returned \`null\`, will not send event.`,"log")}const B=r&&r.getSession();if(!i&&B&&this._updateSessionFromEvent(B,p),i){const N=p.sdkProcessingMetadata&&p.sdkProcessingMetadata.spanCountBeforeProcessing||0,U=p.spans?p.spans.length:0,se=N-U;se>0&&this.recordDroppedEvent("before_send","span",se)}const R=p.transaction_info;if(i&&R&&p.transaction!==e.transaction){const N="custom";p.transaction_info={...R,source:N}}return this.sendEvent(p,n),p}).then(null,p=>{throw p instanceof v?p:(this.captureException(p,{data:{__sentry__:!0},originalException:p}),new v(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. Reason: ${p}`))})}_process(e){this._numProcessing++,e.then(n=>(this._numProcessing--,n),n=>(this._numProcessing--,n))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map(([n,r])=>{const[o,s]=n.split(":");return{reason:o,category:s,quantity:r}})}_flushOutcomes(){g&&f.log("Flushing outcomes...");const e=this._clearOutcomes();if(e.length===0){g&&f.log("No outcomes to send");return}if(!this._dsn){g&&f.log("No dsn provided, will not send outcomes");return}g&&f.log("Sending outcomes:",e);const n=qt(e,this._options.tunnel&&Le(this._dsn));this.sendEnvelope(n)}}function nn(t,e){const n=`${e} must return \`null\` or a valid event.`;if(gt(t))return t.then(r=>{if(!q(r)&&r!==null)throw new v(n);return r},r=>{throw new v(`${e} rejected with ${r}`)});if(!q(t)&&t!==null)throw new v(n);return t}function rn(t,e,n,r){const{beforeSend:o,beforeSendTransaction:s,beforeSendSpan:i}=e;if(ze(n)&&o)return o(n,r);if(Ke(n)){if(n.spans&&i){const a=[];for(const c of n.spans){const u=i(c);u?a.push(u):t.recordDroppedEvent("before_send","span")}n.spans=a}if(s){if(n.spans){const a=n.spans.length;n.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:a}}return s(n,r)}}return n}function ze(t){return t.type===void 0}function Ke(t){return t.type==="transaction"}function sn(t,e){e.debug===!0&&(g?f.enable():Q(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),Be().update(e.initialScope);const r=new t(e);return on(r),r.init(),r}function on(t){Be().setClient(t)}const an=64;function cn(t,e,n=Ht(t.bufferSize||an)){let r={};const o=i=>n.drain(i);function s(i){const a=[];if(ue(i,(l,m)=>{const _=le(m);if(Xt(r,_)){const p=Se(l,m);t.recordDroppedEvent("ratelimit_backoff",_,p)}else a.push(l)}),a.length===0)return T({});const c=J(i[0],a),u=l=>{ue(c,(m,_)=>{const p=Se(m,_);t.recordDroppedEvent(l,le(_),p)})},d=()=>e({body:mt(c)}).then(l=>(l.statusCode!==void 0&&(l.statusCode<200||l.statusCode>=300)&&g&&f.warn(`Sentry responded with status code ${l.statusCode} to sent event.`),r=Yt(r,l),l),l=>{throw u("network_error"),l});return n.add(d).then(l=>l,l=>{if(l instanceof v)return g&&f.error("Skipped sending event because buffer is full."),u("queue_overflow"),T({});throw l})}return{send:s,flush:o}}function Se(t,e){if(!(e!=="event"&&e!=="transaction"))return Array.isArray(t)?t[1]:void 0}function Xe(t,e,n=[e],r="npm"){const o=t._metadata||{};o.sdk||(o.sdk={name:`sentry.javascript.${e}`,packages:n.map(s=>({name:`${r}:@sentry/${s}`,version:de})),version:de}),t._metadata=o}const un=100;function w(t,e){const n=E(),r=De();if(!n)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:s=un}=n.getOptions();if(s<=0)return;const a={timestamp:Ce(),...t},c=o?Q(()=>o(a,e)):a;c!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",c,e),r.addBreadcrumb(c,s))}let Ie;const ln="FunctionToString",Te=new WeakMap,dn=()=>({name:ln,setupOnce(){Ie=Function.prototype.toString;try{Function.prototype.toString=function(...t){const e=Ue(this),n=Te.has(E())&&e!==void 0?e:this;return Ie.apply(n,t)}}catch{}},setup(t){Te.set(t,!0)}}),fn=I(dn),pn=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"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"],hn="InboundFilters",gn=(t={})=>({name:hn,processEvent(e,n,r){const o=r.getOptions(),s=_n(t,o);return En(e,s)?null:e}}),mn=I(gn);function _n(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:pn],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[]],ignoreInternal:t.ignoreInternal!==void 0?t.ignoreInternal:!0}}function En(t,e){return e.ignoreInternal&&Tn(t)?(g&&f.warn(`Event dropped due to being internal Sentry Error. Event: ${S(t)}`),!0):yn(t,e.ignoreErrors)?(g&&f.warn(`Event dropped due to being matched by \`ignoreErrors\` option. Event: ${S(t)}`),!0):kn(t)?(g&&f.warn(`Event dropped due to not having an error message, error type or stacktrace. Event: ${S(t)}`),!0):vn(t,e.ignoreTransactions)?(g&&f.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. Event: ${S(t)}`),!0):bn(t,e.denyUrls)?(g&&f.warn(`Event dropped due to being matched by \`denyUrls\` option. Event: ${S(t)}. Url: ${L(t)}`),!0):Sn(t,e.allowUrls)?!1:(g&&f.warn(`Event dropped due to not being matched by \`allowUrls\` option. Event: ${S(t)}. Url: ${L(t)}`),!0)}function yn(t,e){return t.type||!e||!e.length?!1:In(t).some(n=>M(n,e))}function vn(t,e){if(t.type!=="transaction"||!e||!e.length)return!1;const n=t.transaction;return n?M(n,e):!1}function bn(t,e){if(!e||!e.length)return!1;const n=L(t);return n?M(n,e):!1}function Sn(t,e){if(!e||!e.length)return!0;const n=L(t);return n?M(n,e):!0}function In(t){const e=[];t.message&&e.push(t.message);let n;try{n=t.exception.values[t.exception.values.length-1]}catch{}return n&&n.value&&(e.push(n.value),n.type&&e.push(`${n.type}: ${n.value}`)),e}function Tn(t){try{return t.exception.values[0].type==="SentryError"}catch{}return!1}function wn(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&n.filename!==""&&n.filename!=="[native code]")return n.filename||null}return null}function L(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch{}return e?wn(e):null}catch{return g&&f.error(`Cannot extract url for event ${S(t)}`),null}}function kn(t){return t.type||!t.exception||!t.exception.values||t.exception.values.length===0?!1:!t.message&&!t.exception.values.some(e=>e.stacktrace||e.type&&e.type!=="Error"||e.value)}const xn="Dedupe",On=()=>{let t;return{name:xn,processEvent(e){if(e.type)return e;try{if(Rn(e,t))return g&&f.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return t=e}}},An=I(On);function Rn(t,e){return e?!!(Nn(t,e)||$n(t,e)):!1}function Nn(t,e){const n=t.message,r=e.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!Ve(t,e)||!Ye(t,e))}function $n(t,e){const n=we(e),r=we(t);return!(!n||!r||n.type!==r.type||n.value!==r.value||!Ve(t,e)||!Ye(t,e))}function Ye(t,e){let n=fe(t),r=fe(e);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let o=0;o{h.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(e,n){return Bn(this._options.stackParser,e,n,this._options.attachStacktrace)}eventFromMessage(e,n="info",r){return Un(this._options.stackParser,e,n,r,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled()){A&&f.warn("SDK not enabled, will not capture user feedback.");return}const n=qn(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(n)}_prepareEvent(e,n,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,n,r)}}const Kn=1e3;let ke,X,Y;function Xn(t){const e="dom";Ne(e,t),$e(e,Yn)}function Yn(){if(!y.document)return;const t=Fe.bind(null,"dom"),e=xe(t,!0);y.document.addEventListener("click",e,!1),y.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(n=>{const r=y[n]&&y[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(b(r,"addEventListener",function(o){return function(s,i,a){if(s==="click"||s=="keypress")try{const c=this,u=c.__sentry_instrumentation_handlers__=c.__sentry_instrumentation_handlers__||{},d=u[s]=u[s]||{refCount:0};if(!d.handler){const l=xe(t);d.handler=l,o.call(this,s,l,a)}d.refCount++}catch{}return o.call(this,s,i,a)}}),b(r,"removeEventListener",function(o){return function(s,i,a){if(s==="click"||s=="keypress")try{const c=this,u=c.__sentry_instrumentation_handlers__||{},d=u[s];d&&(d.refCount--,d.refCount<=0&&(o.call(this,s,d.handler,a),d.handler=void 0,delete u[s]),Object.keys(u).length===0&&delete c.__sentry_instrumentation_handlers__)}catch{}return o.call(this,s,i,a)}}))})}function Vn(t){if(t.type!==X)return!1;try{if(!t.target||t.target._sentryId!==Y)return!1}catch{}return!0}function Jn(t,e){return t!=="keypress"?!1:!e||!e.tagName?!0:!(e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable)}function xe(t,e=!1){return n=>{if(!n||n._sentryCaptured)return;const r=Zn(n);if(Jn(n.type,r))return;ge(n,"_sentryCaptured",!0),r&&!r._sentryId&&ge(r,"_sentryId",P());const o=n.type==="keypress"?"input":n.type;Vn(n)||(t({event:n,name:o,global:e}),X=n.type,Y=r?r._sentryId:void 0),clearTimeout(ke),ke=y.setTimeout(()=>{Y=void 0,X=void 0},Kn)}}function Zn(t){try{return t.target}catch{return null}}const C={};function Qn(t){const e=C[t];if(e)return e;let n=y[t];if(bt(n))return C[t]=n.bind(y);const r=y.document;if(r&&typeof r.createElement=="function")try{const o=r.createElement("iframe");o.hidden=!0,r.head.appendChild(o);const s=o.contentWindow;s&&s[t]&&(n=s[t]),r.head.removeChild(o)}catch(o){St&&f.warn(`Could not create sandbox iframe for ${t} check, bailing to window.${t}: `,o)}return n&&(C[t]=n.bind(y))}function Oe(t){C[t]=void 0}function er(t,e=Qn("fetch")){let n=0,r=0;function o(s){const i=s.body.length;n+=i,r++;const a={body:s.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:n<=6e4&&r<15,...t.fetchOptions};if(!e)return Oe("fetch"),D("No fetch implementation available");try{return e(t.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 Oe("fetch"),n-=i,r--,D(c)}}return cn(t,o)}const tr=30,nr=50;function V(t,e,n,r){const o={filename:t,function:e===""?k:e,in_app:!0};return n!==void 0&&(o.lineno=n),r!==void 0&&(o.colno=r),o}const rr=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,sr=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,or=/\((\S*)(?::(\d+))(?::(\d+))\)/,ir=t=>{const e=rr.exec(t);if(e){const[,r,o,s]=e;return V(r,k,+o,+s)}const n=sr.exec(t);if(n){if(n[2]&&n[2].indexOf("eval")===0){const i=or.exec(n[2]);i&&(n[2]=i[1],n[3]=i[2],n[4]=i[3])}const[o,s]=Ze(n[1]||k,n[2]);return V(s,o,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}},ar=[tr,ir],cr=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,ur=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,lr=t=>{const e=cr.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const s=ur.exec(e[3]);s&&(e[1]=e[1]||"eval",e[3]=s[1],e[4]=s[2],e[5]="")}let r=e[3],o=e[1]||k;return[o,r]=Ze(o,r),V(r,o,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}},dr=[nr,lr],fr=[ar,dr],pr=It(...fr),Ze=(t,e)=>{const n=t.indexOf("safari-extension")!==-1,r=t.indexOf("safari-web-extension")!==-1;return n||r?[t.indexOf("@")!==-1?t.split("@")[0]:k,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]},F=1024,hr="Breadcrumbs",gr=(t={})=>{const e={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t};return{name:hr,setup(n){e.console&&Mt(yr(n)),e.dom&&Xn(Er(n,e.dom)),e.xhr&&Tt(vr(n)),e.fetch&&wt(br(n)),e.history&&je(Sr(n)),e.sentry&&n.on("beforeSendEvent",_r(n))}}},mr=I(gr);function _r(t){return function(n){E()===t&&w({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:S(n)},{event:n})}}function Er(t,e){return function(r){if(E()!==t)return;let o,s,i=typeof e=="object"?e.serializeAttribute:void 0,a=typeof e=="object"&&typeof e.maxStringLength=="number"?e.maxStringLength:void 0;a&&a>F&&(A&&f.warn(`\`dom.maxStringLength\` cannot exceed ${F}, but a value of ${a} was configured. Sentry will use ${F} instead.`),a=F),typeof i=="string"&&(i=[i]);try{const u=r.event,d=Ir(u)?u.target:u;o=xt(d,{keyAttrs:i,maxStringLength:a}),s=Ot(d)}catch{o=""}if(o.length===0)return;const c={category:`ui.${r.name}`,message:o};s&&(c.data={"ui.component_name":s}),w(c,{event:r.event,name:r.name,global:r.global})}}function yr(t){return function(n){if(E()!==t)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:Wt(n.level),message:me(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${me(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;w(r,{input:n.args,level:n.level})}}function vr(t){return function(n){if(E()!==t)return;const{startTimestamp:r,endTimestamp:o}=n,s=n.xhr[kt];if(!r||!o||!s)return;const{method:i,url:a,status_code:c,body:u}=s,d={method:i,url:a,status_code:c},l={xhr:n.xhr,input:u,startTimestamp:r,endTimestamp:o},m=Ge(c);w({category:"xhr",data:d,type:"http",level:m},l)}}function br(t){return function(n){if(E()!==t)return;const{startTimestamp:r,endTimestamp:o}=n;if(o&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.error){const s=n.fetchData,i={data:n.error,input:n.args,startTimestamp:r,endTimestamp:o};w({category:"fetch",data:s,level:"error",type:"http"},i)}else{const s=n.response,i={...n.fetchData,status_code:s&&s.status},a={input:n.args,response:s,startTimestamp:r,endTimestamp:o},c=Ge(i.status_code);w({category:"fetch",data:i,type:"http",level:c},a)}}}function Sr(t){return function(n){if(E()!==t)return;let r=n.from,o=n.to;const s=H(h.location.href);let i=r?H(r):void 0;const a=H(o);(!i||!i.path)&&(i=s),s.protocol===a.protocol&&s.host===a.host&&(o=a.relative),s.protocol===i.protocol&&s.host===i.host&&(r=i.relative),w({category:"navigation",data:{from:r,to:o}})}}function Ir(t){return!!t&&!!t.target}const Tr=["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"],wr="BrowserApiErrors",kr=(t={})=>{const e={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t};return{name:wr,setupOnce(){e.setTimeout&&b(h,"setTimeout",Ae),e.setInterval&&b(h,"setInterval",Ae),e.requestAnimationFrame&&b(h,"requestAnimationFrame",Or),e.XMLHttpRequest&&"XMLHttpRequest"in h&&b(XMLHttpRequest.prototype,"send",Ar);const n=e.eventTarget;n&&(Array.isArray(n)?n:Tr).forEach(Rr)}}},xr=I(kr);function Ae(t){return function(...e){const n=e[0];return e[0]=O(n,{mechanism:{data:{function:x(t)},handled:!1,type:"instrument"}}),t.apply(this,e)}}function Or(t){return function(e){return t.apply(this,[O(e,{mechanism:{data:{function:"requestAnimationFrame",handler:x(t)},handled:!1,type:"instrument"}})])}}function Ar(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(o=>{o in n&&typeof n[o]=="function"&&b(n,o,function(s){const i={mechanism:{data:{function:o,handler:x(s)},handled:!1,type:"instrument"}},a=Ue(s);return a&&(i.mechanism.data.handler=x(a)),O(s,i)})}),t.apply(this,e)}}function Rr(t){const e=h,n=e[t]&&e[t].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(b(n,"addEventListener",function(r){return function(o,s,i){try{typeof s.handleEvent=="function"&&(s.handleEvent=O(s.handleEvent,{mechanism:{data:{function:"handleEvent",handler:x(s),target:t},handled:!1,type:"instrument"}}))}catch{}return r.apply(this,[o,O(s,{mechanism:{data:{function:"addEventListener",handler:x(s),target:t},handled:!1,type:"instrument"}}),i])}}),b(n,"removeEventListener",function(r){return function(o,s,i){const a=s;try{const c=a&&a.__sentry_wrapped__;c&&r.call(this,o,c,i)}catch{}return r.call(this,o,a,i)}}))}const Nr="GlobalHandlers",$r=(t={})=>{const e={onerror:!0,onunhandledrejection:!0,...t};return{name:Nr,setupOnce(){Error.stackTraceLimit=50},setup(n){e.onerror&&(Pr(n),Re("onerror")),e.onunhandledrejection&&(Cr(n),Re("onunhandledrejection"))}}},Fr=I($r);function Pr(t){At(e=>{const{stackParser:n,attachStacktrace:r}=Qe();if(E()!==t||We())return;const{msg:o,url:s,line:i,column:a,error:c}=e,u=Mr(re(n,c||o,void 0,r,!1),s,i,a);u.level="error",qe(u,{originalException:c,mechanism:{handled:!1,type:"onerror"}})})}function Cr(t){Rt(e=>{const{stackParser:n,attachStacktrace:r}=Qe();if(E()!==t||We())return;const o=Dr(e),s=Z(o)?Lr(o):re(n,o,void 0,r,!0);s.level="error",qe(s,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function Dr(t){if(Z(t))return t;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch{}return t}function Lr(t){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}}function Mr(t,e,n,r){const o=t.exception=t.exception||{},s=o.values=o.values||[],i=s[0]=s[0]||{},a=i.stacktrace=i.stacktrace||{},c=a.frames=a.frames||[],u=isNaN(parseInt(r,10))?void 0:r,d=isNaN(parseInt(n,10))?void 0:n,l=Nt(e)&&e.length>0?e:$t();return c.length===0&&c.push({colno:u,filename:l,function:k,in_app:!0,lineno:d}),t}function Re(t){A&&f.log(`Global Handler attached: ${t}`)}function Qe(){const t=E();return t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const Br=I(()=>({name:"HttpContext",preprocessEvent(t){if(!h.navigator&&!h.location&&!h.document)return;const e=t.request&&t.request.url||h.location&&h.location.href,{referrer:n}=h.document||{},{userAgent:r}=h.navigator||{},o={...t.request&&t.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},s={...t.request,...e&&{url:e},headers:o};t.request=s}})),Ur="cause",Hr=5,jr="LinkedErrors",Wr=(t={})=>{const e=t.limit||Hr,n=t.key||Ur;return{name:jr,preprocessEvent(r,o,s){const i=s.getOptions();Dt(te,i.stackParser,i.maxValueLength,n,e,r,o)}}},qr=I(Wr);function et(t){return[mn(),fn(),xr(),mr(),Fr(),qr(),An(),Br()]}function Gr(t={}){const e={defaultIntegrations:et(),release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:h.SENTRY_RELEASE&&h.SENTRY_RELEASE.id?h.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return t.defaultIntegrations==null&&delete t.defaultIntegrations,{...e,...t}}function zr(){const t=typeof h.window<"u"&&h;if(!t)return!1;const e=t.chrome?"chrome":"browser",n=t[e],r=n&&n.runtime&&n.runtime.id,o=h.location&&h.location.href||"",s=["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"],i=!!r&&h===h.top&&s.some(c=>o.startsWith(`${c}//`)),a=typeof t.nw<"u";return!!r&&!i&&!a}function Kr(t={}){const e=Gr(t);if(zr()){Q(()=>{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}A&&(Ft()||f.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={...e,stackParser:Pt(e.stackParser||pr),integrations:Ct(e),transport:e.transport||er},r=sn(zn,n);return e.autoSessionTracking&&Xr(),r}function Xr(){if(typeof h.document>"u"){A&&f.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}_e({ignoreDuration:!0}),Ee(),je(({from:t,to:e})=>{t!==void 0&&t!==e&&(_e({ignoreDuration:!0}),Ee())})}function Yr(t){const e={defaultIntegrations:[...et()],...t};return Xe(e,"nuxt",["nuxt","vue"]),Kr(e)}var Vr={};Yr({dsn:"https://6c03319e3af64968a768d9c2b442b334@o409880.ingest.us.sentry.io/6223491",environment:Vr.ENV||"stage",sampleRate:.1}); //# sourceMappingURL=C1DZ6oEg.js.map