1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="207864dc-c03a-b8c0-d3df-a2a29862c464")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,471217,e=>{"use strict";let t,n,r,a,i,o,s,l,u,c,d,f,p,h,m,g,y,_,v,b,S,w,E,k,x,T,P,R,C,I,O,N,A,M,L,D,$,j,F,z;e.s([],788441),e.i(788441);var U,B,W,H,q,V,G,X,Y,K,J,Q,Z=e.i(171941);let ee="10.50.0",et=globalThis;function en(){return er(et),et}function er(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||ee,t[ee]=t[ee]||{}}function ea(e,t,n=et){let r=n.__SENTRY__=n.__SENTRY__||{},a=r[ee]=r[ee]||{};return a[e]||(a[e]=t())}let ei="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,eo=["debug","info","warn","error","log","assert","trace"],es={};function el(e){if(!("console"in et))return e();let t=et.console,n={},r=Object.keys(es);r.forEach(e=>{let r=es[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}function eu(){return ed().enabled}function ec(e,...t){ei&&eu()&&el(()=>{et.console[e](`Sentry Logger [${e}]:`,...t)})}function ed(){return ei?ea("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let ef={enable:function(){ed().enabled=!0},disable:function(){ed().enabled=!1},isEnabled:eu,log:function(...e){ec("log",...e)},warn:function(...e){ec("warn",...e)},error:function(...e){ec("error",...e)}};function ep(e,t,n=[t],r="npm"){let a=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};a.name||(a.name=`sentry.javascript.${t}`,a.packages=n.map(e=>({name:`${r}:@sentry/${e}`,version:ee})),a.version=ee)}let eh=Object.prototype.toString;function em(e){switch(eh.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return ex(e,Error)}}function eg(e,t){return eh.call(e)===`[object ${t}]`}function ey(e){return eg(e,"ErrorEvent")}function e_(e){return eg(e,"DOMError")}function ev(e){return eg(e,"String")}function eb(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function eS(e){return null===e||eb(e)||"object"!=typeof e&&"function"!=typeof e}function ew(e){return eg(e,"Object")}function eE(e){return"u">typeof Event&&ex(e,Event)}function ek(e){return!!(e?.then&&"function"==typeof e.then)}function ex(e,t){try{return e instanceof t}catch{return!1}}function eT(e){return!!("object"==typeof e&&null!==e&&(e.__isVue||e._isVue||e.__v_isVNode))}function eP(e){return"u">typeof Request&&ex(e,Request)}function eR(e,t={}){if(!e)return"<unknown>";try{let n,r=e,a=[],i=0,o=0,s=Array.isArray(t)?t:t.keyAttrs,l=!Array.isArray(t)&&t.maxStringLength||80;for(;r&&i++<5&&(n=function(e,t){let n=[];if(!e?.tagName)return"";if(et.HTMLElement&&e instanceof HTMLElement&&e.dataset){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}n.push(e.tagName.toLowerCase());let r=t?.length?t.filter(t=>e.getAttribute(t)).map(t=>[t,e.getAttribute(t)]):null;if(r?.length)r.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{e.id&&n.push(`#${e.id}`);let t=e.className;if(t&&ev(t))for(let e of t.split(/\s+/))n.push(`.${e}`)}for(let t of["aria-label","type","name","title","alt"]){let r=e.getAttribute(t);r&&n.push(`[${t}="${r}"]`)}return n.join("")}(r,s),"html"!==n&&(!(i>1)||!(o+3*a.length+n.length>=l)));)a.push(n),o+=n.length,r=r.parentNode;return a.reverse().join(" > ")}catch{return"<unknown>"}}function eC(){try{return et.document.location.href}catch{return""}}function eI(e,t=5){if(!et.HTMLElement)return null;let n=e;for(let e=0;e<t&&n;e++){if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null}function eO(e,t,n){if(!(t in e))return;let r=e[t];if("function"!=typeof r)return;let a=n(r);"function"==typeof a&&eA(a,r);try{e[t]=a}catch{ei&&ef.log(`Failed to replace method "${t}" in object`,e)}}
2function eN(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{ei&&ef.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function eA(e,t){try{let n=t.prototype||{};e.prototype=t.prototype=n,eN(e,"__sentry_original__",t)}catch{}}function eM(e){return e.__sentry_original__}function eL(e){if(em(e))return{message:e.message,name:e.name,stack:e.stack,...e$(e)};if(!eE(e))return e;{let t={type:e.type,target:eD(e.target),currentTarget:eD(e.currentTarget),...e$(e)};return"u">typeof CustomEvent&&ex(e,CustomEvent)&&(t.detail=e.detail),t}}function eD(e){try{return"u">typeof Element&&ex(e,Element)?eR(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function e$(e){return"object"==typeof e&&null!==e?Object.fromEntries(Object.entries(e)):{}}function ej(e){if(void 0!==t)return t?t(e):e();let n=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__");return n in et&&"function"==typeof et[n]?(t=et[n])(e):(t=null,e())}function eF(){return ej(()=>Math.random())}function ez(){return ej(()=>Date.now())}let eU=/\(error: (.*)\)/,eB=/captureMessage|captureException/;function eW(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{let a=[],i=e.split("\n");for(let e=n;e<i.length;e++){let n=i[e];n.length>1024&&(n=n.slice(0,1024));let o=eU.test(n)?n.replace(eU,"$1"):n;if(!o.includes("Error: ")){for(let e of t){let t=e(o);if(t){a.push(t);break}}if(a.length>=50+r)break}}var o=a.slice(r);if(!o.length)return[];let s=Array.from(o);return/sentryWrapped/.test(eH(s).function||"")&&s.pop(),s.reverse(),eB.test(eH(s).function||"")&&(s.pop(),eB.test(eH(s).function||"")&&s.pop()),s.slice(0,50).map(e=>({...e,filename:e.filename||eH(s).filename,function:e.function||"?"}))}}function eH(e){return e[e.length-1]||{}}let eq="<anonymous>";function eV(e){try{if(!e||"function"!=typeof e)return eq;return e.name||eq}catch{return eq}}function eG(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{}}}function eX(e){return"__v_isVNode"in e&&e.__v_isVNode?"[VueVNode]":"[VueViewModel]"}function eY(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function eK(e,t){let n=e,r=n.length;if(r<=150)return n;t>r&&(t=r);let a=Math.max(t-60,0);a<5&&(a=0);let i=Math.min(a+140,r);return i>r-5&&(i=r),i===r&&(a=Math.max(i-140,0)),n=n.slice(a,i),a>0&&(n=`'{snip} ${n}`),i<r&&(n+=" {snip}"),n}function eJ(e,t){if(!Array.isArray(e))return"";let n=[];for(let t=0;t<e.length;t++){let r=e[t];try{eT(r)?n.push(eX(r)):n.push(String(r))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function eQ(e,t,n=!1){return!!ev(e)&&(eg(t,"RegExp")?t.test(e):ev(t)?n?e===t:e.includes(t):"function"==typeof t&&t(e))}function eZ(e,t=[],n=!1){return t.some(t=>eQ(e,t,n))}function e0(e=et.crypto||et.msCrypto){try{if(e?.randomUUID)return ej(()=>e.randomUUID()).replace(/-/g,"")}catch{}return n||(n="10000000100040008000100000000000"),n.replace(/[018]/g,e=>(e^(15&16*eF())>>e/4).toString(16))}function e1(e){return e.exception?.values?.[0]}function e2(e){let{message:t,event_id:n}=e;if(t)return t;let r=e1(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function e3(e,t,n){let r=e.exception=e.exception||{},a=r.values=r.values||[],i=a[0]=a[0]||{};i.value||(i.value=t||""),i.type||(i.type=n||"Error")}function e4(e,t){let n=e1(e);if(!n)return;let r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){let e={...r?.data,...t.data};n.mechanism.data=e}}function e5(e){if(e6(e))return!0;try{eN(e,"__sentry_captured__",!0)}catch{}return!1}function e6(e){try{return e.__sentry_captured__}catch{}}function e8(){return ez()/1e3}function e7(){return(r??(r=function(){let{performance:e}=et;if(!e?.now||!e.timeOrigin)return e8;let t=e.timeOrigin;return()=>(t+ej(()=>e.now()))/1e3}()))()}let e9=null;function te(){return null===e9&&(e9=function(){let{performance:e}=et;if(!e?.now)return;let t=ej(()=>e.now()),n=ez(),r=e.timeOrigin;if("number"==typeof r&&3e5>Math.abs(r+t-n))return r;let a=e.timing?.navigationStart;return"number"==typeof a&&3e5>Math.abs(a+t-n)?a:n-t}()),e9}function tt(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||e7(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:e0()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t: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),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function tn(e,t,n=2){if(!t||"object"!=typeof t||n<=0)return t;if(e&&0===Object.keys(t).length)return e;let r={...e};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=tn(r[e],t[e],n-1));return r}function tr(){return e0().substring(16)}let ta="_sentrySpan";function ti(e,t){t?eN(e,ta,t):delete e[ta]}class to{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:e0(),sampleRand:eF()}}clone(){let e=new to;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,ti(e,this[ta]),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&tt(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e,{tags:n,attributes:r,extra:a,user:i,contexts:o,level:s,fingerprint:l=[],propagationContext:u,conversationId:c}=(t instanceof to?t.getScopeData():ew(t)?e:void 0)||{};return this._tags={...this._tags,...n},this._attributes={...this._attributes,...r},this._extra={...this._extra,...a},this._contexts={...this._contexts,...o},i&&Object.keys(i).length&&(this._user=i),s&&(this._level=s),l.length&&(this._fingerprint=l),u&&(this._propagationContext=u),c&&(this._conversationId=c),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,ti(this,void 0),this._attachments=[],this.setPropagationContext({traceId:e0(),sampleRand:eF()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n="number"==typeof t?t:100;if(n<=0)return this;let r={timestamp:e8(),...e,message:e.message?eY(e.message,2048):e.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),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(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,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:this[ta],conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=tn(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t?.event_id||e0();if(!this._client)return ei&&ef.warn("No client configured on scope - will not capture exception!"),n;let r=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){let r=n?.event_id||e0();if(!this._client)return ei&&ef.warn("No client configured on scope - will not capture message!"),r;let a=n?.syntheticException??Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:a,...n,event_id:r},this),r}captureEvent(e,t){let n=e.event_id||t?.event_id||e0();return this._client?this._client.captureEvent(e,{...t,event_id:n},this):ei&&ef.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
2h(e=>{e(this)}),this._notifyingListeners=!1)}}let ts=e=>e instanceof Promise&&!e[tl],tl=Symbol("chained PromiseLike"),tu=(e,t,n)=>{let r=e.then(e=>(t(e),e),e=>{throw n(e),e});return ts(r)&&ts(e)?r:tc(e,r)},tc=(e,t)=>{let n=!1;for(let r in e){if(r in t)continue;n=!0;let a=e[r];"function"==typeof a?Object.defineProperty(t,r,{value:(...t)=>a.apply(e,t),enumerable:!0,configurable:!0,writable:!0}):t[r]=a}return n&&Object.assign(t,{[tl]:!0}),t};class td{constructor(e,t){let n,r;n=e||new to,r=t||new to,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){let t,n=this._pushScope();try{t=e(n)}catch(e){throw this._popScope(),e}return ek(t)?tu(t,()=>this._popScope(),()=>this._popScope()):(this._popScope(),t)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function tf(){let e=er(en());return e.stack=e.stack||new td(ea("defaultCurrentScope",()=>new to),ea("defaultIsolationScope",()=>new to))}function tp(e){return tf().withScope(e)}function th(e,t){let n=tf();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function tm(e){return tf().withScope(()=>e(tf().getIsolationScope()))}function tg(e){let t=er(e);return t.acs?t.acs:{withIsolationScope:tm,withScope:tp,withSetScope:th,withSetIsolationScope:(e,t)=>tm(t),getCurrentScope:()=>tf().getScope(),getIsolationScope:()=>tf().getIsolationScope()}}function ty(){return tg(en()).getCurrentScope()}function t_(){return tg(en()).getIsolationScope()}function tv(){return ea("globalScope",()=>new to)}function tb(...e){let t=tg(en());if(2===e.length){let[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}return t.withScope(e[0])}function tS(...e){let t=tg(en());if(2===e.length){let[n,r]=e;return n?t.withSetIsolationScope(n,r):t.withIsolationScope(r)}return t.withIsolationScope(e[0])}function tw(){return ty().getClient()}function tE(e){let t=a?.();if(t)return{trace_id:t.traceId,span_id:t.spanId};let{traceId:n,parentSpanId:r,propagationSpanId:i}=e.getPropagationContext(),o={trace_id:n,span_id:i||tr()};return r&&(o.parent_span_id=r),o}let tk="sentry.source",tx="sentry.sample_rate",tT="sentry.previous_trace_sample_rate",tP="sentry.op",tR="sentry.origin",tC="sentry.idle_span_finish_reason",tI="sentry.measurement_unit",tO="sentry.measurement_value",tN="sentry.custom_span_name",tA="sentry.profile_id",tM="sentry.exclusive_time",tL="sentry-";function tD(e){let t=tj(e);if(!t)return;let n=Object.entries(t).reduce((e,[t,n])=>(t.startsWith(tL)&&(e[t.slice(tL.length)]=n),e),{});return Object.keys(n).length>0?n:void 0}function t$(e){if(e){var t=Object.entries(e).reduce((e,[t,n])=>(n&&(e[`${tL}${t}`]=n),e),{});return 0!==Object.keys(t).length?Object.entries(t).reduce((e,[t,n],r)=>{let a=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,i=0===r?a:`${e},${a}`;return i.length>8192?(ei&&ef.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):i},""):void 0}}function tj(e){if(e&&(ev(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>(Object.entries(tF(t)).forEach(([t,n])=>{e[t]=n}),e),{}):tF(e)}function tF(e){return e.split(",").map(e=>{let t=e.indexOf("=");return -1===t?[]:[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}function tz(e,t,n=()=>{},r=()=>{}){var a,i,o,s;let l;try{l=e()}catch(e){throw t(e),n(),e}return a=l,i=t,o=n,s=r,ek(a)?tu(a,e=>{o(),s(e)},e=>{i(e),o()}):(o(),s(a),a)}function tU(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=e||tw()?.getOptions();return!!t&&(null!=t.tracesSampleRate||!!t.tracesSampler)}function tB(e){ef.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function tW(e,t){if(!t?.length||!e.description)return!1;for(let r of t){var n;
2if("string"==typeof(n=r)||n instanceof RegExp){if(eQ(e.description,r))return ei&&tB(e),!0;continue}if(!r.name&&!r.op)continue;let t=!r.name||eQ(e.description,r.name),a=!r.op||e.op&&eQ(e.op,r.op);if(t&&a)return ei&&tB(e),!0}return!1}function tH(e){return"stream"===e.getOptions().traceLifecycle}function tq(e){if("boolean"==typeof e)return Number(e);let t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t))&&!(t<0)&&!(t>1))return t}function tV(e,t=!1){let n={};for(let[r,a]of Object.entries(e??{})){let e=function(e,t){let{value:n,unit:r}="object"==typeof e&&null!=e&&!Array.isArray(e)&&Object.keys(e).includes("value")?e:{value:e,unit:void 0},a=function(e){let t="string"==typeof e?"string":"boolean"==typeof e?"boolean":"number"!=typeof e||Number.isNaN(e)?null:Number.isInteger(e)?"integer":"double";if(t)return{value:e,type:t}}(n),i=r&&"string"==typeof r?{unit:r}:{};if(a)return{...a,...i};if(!t||"skip-undefined"===t&&void 0===n)return;let o="";try{o=JSON.stringify(n)??""}catch{}return{value:o,type:"string",...i}}(a,t);e&&(n[r]=e)}return n}function tG(e){if(!e)return 0;let t=0;for(let[n,r]of Object.entries(e)){t+=2*n.length,t+=2*r.type.length,t+=(r.unit?.length??0)*2;let e=r.value;Array.isArray(e)?t+=tX(e[0])*e.length:eS(e)?t+=tX(e):t+=100}return t}function tX(e){return"string"==typeof e?2*e.length:"boolean"==typeof e?4:8*("number"==typeof e)}function tY(e){if(e<400&&e>=100)return{code:1};if(e>=400&&e<500)switch(e){case 401:return{code:2,message:"unauthenticated"};case 403:return{code:2,message:"permission_denied"};case 404:return{code:2,message:"not_found"};case 409:return{code:2,message:"already_exists"};case 413:return{code:2,message:"failed_precondition"};case 429:return{code:2,message:"resource_exhausted"};case 499:return{code:2,message:"cancelled"};default:return{code:2,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:2,message:"unimplemented"};case 503:return{code:2,message:"unavailable"};case 504:return{code:2,message:"deadline_exceeded"}}return{code:2,message:"internal_error"}}function tK(e,t){e.setAttribute("http.response.status_code",t);let n=tY(t);"unknown_error"!==n.message&&e.setStatus(n)}let tJ="_sentryScope",tQ="_sentryIsolationScope";function tZ(e,t,n){e&&(eN(e,tQ,function(e){try{let t=et.WeakRef;if("function"==typeof t)return new t(e)}catch{}return e}(n)),eN(e,tJ,t))}function t0(e){return{scope:e[tJ],isolationScope:function(e){if(e){if("object"==typeof e&&"deref"in e&&"function"==typeof e.deref)try{return e.deref()}catch{return}return e}}(e[tQ])}}let t1=/^o(\d+)\./,t2=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function t3(e,t=!1){let{host:n,path:r,pass:a,port:i,projectId:o,protocol:s,publicKey:l}=e;return`${s}://${l}${t&&a?`:${a}`:""}@${n}${i?`:${i}`:""}/${r?`${r}/`:r}${o}`}function t4(e){let t=t2.exec(e);if(!t)return void el(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});let[n,r,a="",i="",o="",s=""]=t.slice(1),l="",u=s,c=u.split("/");if(c.length>1&&(l=c.slice(0,-1).join("/"),u=c.pop()),u){let e=u.match(/^\d+/);e&&(u=e[0])}return t5({host:i,pass:a,path:l,projectId:u,port:o,protocol:n,publicKey:r})}function t5(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function t6(e){let t,n=e.getOptions(),{host:r}=e.getDsn()||{};if(n.orgId)t=String(n.orgId);else{let e;r&&(e=r.match(t1),t=e?.[1])}return t}function t8(e){let t="string"==typeof e?t4(e):t5(e);if(t&&function(e){if(!ei)return!0;let{port:t,projectId:n,protocol:r}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(ef.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(n.match(/^\d+$/)?"http"!==r&&"https"!==r?(ef.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):!(t&&isNaN(parseInt(t,10)))||(ef.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(ef.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(t))return t}let t7=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function t9(e){let t;if(!e)return;let n=e.match(t7);if(n)return"1"===n[3]?t=!0:"0"===n[3]&&(t=!1),{traceId:n[1],parentSampled:t,parentSpanId:n[2]}}function ne(e,t){let n=t9(e),r=tD(t);if(!n?.traceId)return{traceId:e0(),sampleRand:eF()};let a=function(e,t){let n=tq(t?.sample_rand);if(void 0!==n)return n;let r=tq(t?.sample_rate);return r&&e?.parentSampled!==void 0?e.parentSampled?eF()*r:r+eF()*(1-r):eF()}(n,r);r&&(r.sample_rand=a.toString());let{traceId:i,parentSpanId:o,parentSampled:s}=n;return{traceId:i,parentSpanId:o,sampled:s,dsc:r||{},sampleRand:a}}function nt(e=e0(),t=tr(),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function nn(e=e0(),t=tr(),n){return`00-${e}-${t}-${n?"01":"00"}`}let nr=!1;function na(e){let{spanId:t,traceId:n,isRemote:r}=e.spanContext(),a=r?t:nc(e).parent_span_id,i=t0(e).scope;return{parent_span_id:a,span_id:r?i?.getPropagationContext().propagationSpanId||tr():t,trace_id:n}}function ni(e){let{traceId:t,spanId:n}=e.spanContext();return nt(t,n,nm(e))}function no(e){return e&&e.length>0?e.map(({context:{spanId:e,traceId:t,traceFlags:n,...r},attributes:a})=>({span_id:e,trace_id:t,sampled:1===n,attributes:a,...r})):void 0}function ns(e){return e?.length?e.map(({context:{spanId:e,traceId:t,traceFlags:n},attributes:r})=>({span_id:e,trace_id:t,sampled:1===n,attributes:r})):void 0}function nl(e){return"number"==typeof e?nu(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?nu(e.getTime()):e7()}function nu(e){return e>0x2540be3ff?e/1e3:e}function nc(e){if(nh(e))return e.getSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(np(e)){let{attributes:r,startTime:a,name:i,endTime:o,status:s,links:l}=e;return{span_id:t,trace_id:n,data:r,description:i,parent_span_id:nf(e),start_timestamp:nl(a),timestamp:nl(o)||void 0,status:ng(s),op:r[tP],origin:r[tR],links:no(l)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}
2function nd(e){if(nh(e))return e.getStreamedSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(np(e)){let{attributes:r,startTime:a,name:i,endTime:o,status:s,links:l}=e;return{name:i,span_id:t,trace_id:n,parent_span_id:nf(e),start_timestamp:nl(a),end_timestamp:nl(o),is_segment:e===nE(e),status:ny(s),attributes:r,links:ns(l)}}return{span_id:t,trace_id:n,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:e===nE(e)}}function nf(e){return"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0}function np(e){return!!e.attributes&&!!e.startTime&&!!e.name&&!!e.endTime&&!!e.status}function nh(e){return"function"==typeof e.getSpanJSON}function nm(e){let{traceFlags:t}=e.spanContext();return 1===t}function ng(e){if(e&&0!==e.code)return 1===e.code?"ok":e.message||"internal_error"}function ny(e){return e&&1!==e.code&&0!==e.code&&"cancelled"!==e.message?"error":"ok"}let n_="_sentryChildSpans",nv="_sentryRootSpan";function nb(e,t){let n=e[nv]||e;eN(t,nv,n),e[n_]?e[n_].add(t):eN(e,n_,new Set([t]))}function nS(e){let t=new Set;return!function e(n){if(!t.has(n)&&nm(n))for(let r of(t.add(n),n[n_]?Array.from(n[n_]):[]))e(r)}(e),Array.from(t)}let nw=nE;function nE(e){return e[nv]||e}function nk(){let e=tg(en());return e.getActiveSpan?e.getActiveSpan():ty()[ta]}function nx(){nr||(el(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),nr=!0)}function nT(e,t){e.updateName(t),e.setAttributes({[tk]:"custom",[tN]:t})}let nP="production",nR="_frozenDsc";function nC(e,t){let n=t.getOptions(),{publicKey:r}=t.getDsn()||{},a={environment:n.environment||nP,release:n.release,public_key:r,trace_id:e,org_id:t6(t)};return t.emit("createDsc",a),a}function nI(e,t){let n=t.getPropagationContext();return n.dsc||nC(n.traceId,e)}function nO(e){let t=tw();if(!t)return{};let n=nw(e),r=nc(n),a=r.data,i=n.spanContext().traceState,o=i?.get("sentry.sample_rate")??a[tx]??a[tT];function s(e){return("number"==typeof o||"string"==typeof o)&&(e.sample_rate=`${o}`),e}let l=n[nR];if(l)return s(l);let u=i?.get("sentry.dsc"),c=u&&tD(u);if(c)return s(c);let d=nC(e.spanContext().traceId,t),f=a[tk]??a["sentry.span.source"],p=r.description;return"url"!==f&&p&&(d.transaction=p),tU()&&(d.sampled=String(nm(n)),d.sample_rand=i?.get("sentry.sample_rand")??t0(n).scope?.getPropagationContext().sampleRand.toString()),s(d),t.emit("createDsc",d,n),d}function nN(e){return t$(nO(e))}class nA{constructor(e={}){this._traceId=e.traceId||e0(),this._spanId=e.spanId||tr(),this.dropReason=e.dropReason}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,n){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}function nM(e){return eN(e,"_streamed",!0),e}function nL(e){return!!e&&"function"==typeof e&&"_streamed"in e&&!!e._streamed}function nD(t,n=100,r=Infinity){try{return function t(n,r,a=Infinity,i=Infinity,o=function(){let e=new WeakSet;return[function(t){return!!e.has(t)||(e.add(t),!1)},function(t){e.delete(t)}]}()){let[s,l]=o;if(null==r||["boolean","string"].includes(typeof r)||"number"==typeof r&&Number.isFinite(r))return r;let u=function(t,n){try{var r;let a;if("domain"===t&&n&&"object"==typeof n&&n._events)return"[Domain]";if("domainEmitter"===t)return"[DomainEmitter]";if(n===e.g)return"[Global]";if("u">typeof window&&n===window)return"[Window]";if("u">typeof document&&n===document)return"[Document]";if(eT(n))return eX(n);if(ew(n)&&"nativeEvent"in n&&"preventDefault"in n&&"stopPropagation"in n)return"[SyntheticEvent]";if("number"==typeof n&&!Number.isFinite(n))return`[${n}]`;if("function"==typeof n)return`[Function: ${eV(n)}]`;if("symbol"==typeof n)return`[${String(n)}]`;if("bigint"==typeof n)return`[BigInt: ${String(n)}]`;let i=(r=n,a=Object.getPrototypeOf(r),a?.constructor?a.constructor.name:"null prototype");if(/^HTML(\w*)Element$/.test(i))return`[HTMLElement: ${i}]`;return`[object ${i}]`}catch(e){return`**non-serializable** (${e})`}}(n,r);if(!u.startsWith("[object "))return u;if(r.__sentry_skip_normalization__)return r;let c="number"==typeof r.__sentry_override_normalization_depth__?r.__sentry_override_normalization_depth__:a;if(0===c)return u.replace("object ","");if(s(r))return"[Circular ~]";if(r&&"function"==typeof r.toJSON)try{let e=r.toJSON();return t("",e,c-1,i,o)}catch{}let d=Array.isArray(r)?[]:{},f=0,p=eL(r);for(let e in p){if(!Object.prototype.hasOwnProperty.call(p,e))continue;if(f>=i){d[e]="[MaxProperties ~]";break}let n=p[e];d[e]=t(e,n,c-1,i,o),f++}return l(r),d}("",t,n,r)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function n$(e,t=[]){return[e,t]}function nj(e,t){for(let n of e[1]){let e=n[0].type;if(t(n,e))return!0}return!1}function nF(e,t){return nj(e,(e,n)=>t.includes(n))}function nz(e){let t=er(et);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function nU(e){let[t,n]=e,r=JSON.stringify(t);function a(e){"string"==typeof r?r="string"==typeof e?r+e:[nz(r),e]:r.push("string"==typeof e?nz(e):e)}for(let e of n){let[t,n]=e;if(a(` 3${JSON.stringify(t)} 4`),"string"==typeof n||n instanceof Uint8Array)a(n);else{let e;try{e=JSON.stringify(n)}catch{e=JSON.stringify(nD(n))}a(e)}}return"string"==typeof r?r:function(e){let t=new Uint8Array(e.reduce((e,t)=>
4e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t}(r)}let nB={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function nW(e){return e in nB?nB[e]:e}function nH(e){if(!e?.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}function nq(e,t,n,r){let a=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:t3(r)},...a&&{trace:a}}}function nV(e,t,n,r=nk()){let a=r&&nw(r);a&&(ei&&ef.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),a.addEvent(e,{[tO]:t,[tI]:n}))}function nG(e){if(!e||0===e.length)return;let t={};return e.forEach(e=>{let n=e.attributes||{},r=n[tI],a=n[tO];"string"==typeof r&&"number"==typeof a&&(t[e.name]={value:a,unit:r})}),t}class nX{constructor(e={}){this._traceId=e.traceId||e0(),this._spanId=e.spanId||tr(),this._startTime=e.startTimestamp||e7(),this._links=e.links,this._attributes={},this.setAttributes({[tR]:"manual",[tP]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this._links?this._links.push(e):this._links=[e],this}addLinks(e){return this._links?this._links.push(...e):this._links=e,this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:+!!n}}setAttribute(e,t){return void 0===t?delete this._attributes[e]:this._attributes[e]=t,this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._startTime=nl(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this.setAttribute(tk,"custom"),this}end(e){this._endTime||(this._endTime=nl(e),function(e){if(!ei)return;let{description:t="< unknown name >",op:n="< unknown op >"}=nc(e),{spanId:r}=e.spanContext(),a=nw(e)===e,i=`[Tracing] Finishing "${n}" ${a?"root ":""}span "${t}" with ID ${r}`;ef.log(i)}(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[tP],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:ng(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[tR],profile_id:this._attributes[tA],exclusive_time:this._attributes[tM],measurements:nG(this._events),is_segment:this._isStandaloneSpan&&nw(this)===this||void 0,segment_id:this._isStandaloneSpan?nw(this).spanContext().spanId:void 0,links:no(this._links)}}getStreamedSpanJSON(){return{name:this._name??"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===nw(this),status:ny(this._status),attributes:this._attributes,links:ns(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){ei&&ef.log("[Tracing] Adding an event to span:",e);let r=nY(t)?t:n||e7(),a=nY(t)?{}:t||{},i={name:e,time:nl(r),attributes:a};return this._events.push(i),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=tw();if(e&&(e.emit("spanEnd",this),this._isStandaloneSpan||e.emit("afterSpanEnd",this)),!(this._isStandaloneSpan||this===nw(this)))return;if(this._isStandaloneSpan)return void(this._sampled?function(e){let t=tw();if(!t)return;let n=e[1];n&&0!==n.length?t.sendEnvelope(e):t.recordDroppedEvent("before_send","span")}(function(e,t){let n=nO(e[0]),r=t?.getDsn(),a=t?.getOptions().tunnel,i={sent_at:new Date().toISOString(),...!!n.trace_id&&!!n.public_key&&{trace:n},...!!a&&r&&{dsn:t3(r)}},{beforeSendSpan:o,ignoreSpans:s}=t?.getOptions()||{},l=s?.length?e.filter(e=>!tW(nc(e),s)):e,u=e.length-l.length;u&&t?.recordDroppedEvent("before_send","span",u);let c=o?e=>{let t=nc(e),n=nL(o)?t:o(t);return n||(nx(),t)}:nc,d=[];for(let e of l){let t=c(e);t&&d.push([{type:"span"},t])}return n$(i,d)}([this],e)):(ei&&ef.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span")));if(e&&tH(e))return void e.emit("afterSegmentSpanEnd",this);let t=this._convertSpanToTransaction();t&&(t0(this).scope||ty()).captureEvent(t)}_convertSpanToTransaction(){if(!nK(nc(this)))return;this._name||(ei&&ef.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:e,isolationScope:t}=t0(this),n=e?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;let r=nS(this).filter(e=>{var t;return e!==this&&!((t=e)instanceof nX&&t.isStandaloneSpan())}).map(e=>nc(e)).filter(nK),a=this._attributes[tk];
4delete this._attributes[tN],r.forEach(e=>{delete e.data[tN]});let i={contexts:{trace:function(e){let{spanId:t,traceId:n}=e.spanContext(),{data:r,op:a,parent_span_id:i,status:o,origin:s,links:l}=nc(e);return{parent_span_id:i,span_id:t,trace_id:n,data:r,op:a,status:o,origin:s,links:l}}(this)},spans:r.length>1e3?r.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):r,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,dynamicSamplingContext:nO(this)},request:n,...a&&{transaction_info:{source:a}}},o=nG(this._events);return o&&Object.keys(o).length&&(ei&&ef.log("[Measurements] Adding measurements to transaction event",JSON.stringify(o,void 0,2)),i.measurements=o),i}}function nY(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function nK(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}let nJ="__SENTRY_SUPPRESS_TRACING__";function nQ(e,t){let n=n8();if(n.startSpan)return n.startSpan(e,t);let r=n6(e),{forceTransaction:a,parentSpan:i,scope:o}=e;return tb(o?.clone(),()=>re(i)(()=>{let n=ty(),o=n9(n,i),s=tw(),l=e.onlyIfParent&&!o,u=l?new nA:n5({parentSpan:o,spanArguments:r,forceTransaction:a,scope:n});return l&&s?.recordDroppedEvent("no_parent_span","span"),rt(u)&&o||ti(n,u),tz(()=>t(u),()=>{let{status:e}=nc(u);u.isRecording()&&(!e||"ok"===e)&&u.setStatus({code:2,message:"internal_error"})},()=>{u.end()})}))}function nZ(e,t){let n=n8();if(n.startSpanManual)return n.startSpanManual(e,t);let r=n6(e),{forceTransaction:a,parentSpan:i,scope:o}=e;return tb(o?.clone(),()=>re(i)(()=>{let n=ty(),o=n9(n,i),s=e.onlyIfParent&&!o,l=s?new nA:n5({parentSpan:o,spanArguments:r,forceTransaction:a,scope:n});return s&&tw()?.recordDroppedEvent("no_parent_span","span"),rt(l)&&o||ti(n,l),tz(()=>t(l,()=>l.end()),()=>{let{status:e}=nc(l);l.isRecording()&&(!e||"ok"===e)&&l.setStatus({code:2,message:"internal_error"})})}))}function n0(e){let t=n8();if(t.startInactiveSpan)return t.startInactiveSpan(e);let n=n6(e),{forceTransaction:r,parentSpan:a}=e;return(e.scope?t=>tb(e.scope,t):void 0!==a?e=>n2(a,e):e=>e())(()=>{let t=ty(),i=n9(t,a),o=tw();return e.onlyIfParent&&!i?(o?.recordDroppedEvent("no_parent_span","span"),new nA):n5({parentSpan:i,spanArguments:n,forceTransaction:r,scope:t})})}let n1=(e,t)=>{var n;let r,a=tg(en());if(a.continueTrace)return a.continueTrace(e,t);let{sentryTrace:i,baggage:o}=e,s=tw(),l=tD(o);return s&&(n=l?.org_id,r=t6(s),n&&r&&n!==r?(ef.log(`Won't continue trace because org IDs don't match (incoming baggage: ${n}, SDK options: ${r})`),1):s.getOptions().strictTraceContinuation&&(n&&!r||!n&&r)&&(ef.log(`Starting a new trace because strict trace continuation is enabled but one org ID is missing (incoming baggage: ${n}, Sentry client: ${r})`),1))?n4(t):tb(e=>{let n=ne(i,o);return e.setPropagationContext(n),ti(e,void 0),t()})};function n2(e,t){let n=n8();return n.withActiveSpan?n.withActiveSpan(e,t):tb(n=>(ti(n,e||void 0),t(n)))}function n3(e){let t=n8();return t.suppressTracing?t.suppressTracing(e):tb(t=>{t.setSDKProcessingMetadata({[nJ]:!0});let n=e();return t.setSDKProcessingMetadata({[nJ]:void 0}),n})}function n4(e){let t=n8();return t.startNewTrace?t.startNewTrace(e):tb(t=>(t.setPropagationContext({traceId:e0(),sampleRand:eF()}),ei&&ef.log(`Starting a new trace with id ${t.getPropagationContext().traceId}`),n2(null,e)))}function n5({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){var a,i;let o,s;if(!tU()){let r=new nA;if(n||!e){let e={sampled:"false",sample_rate:"0",transaction:t.name,...nO(r)};eN(r,nR,e)}return r}let l=tw();if(a=l,i=t,s=a?.getOptions().ignoreSpans,a&&tH(a)&&s?.length&&tW({description:i.name||"",op:i.attributes?.[tP]||i.op},s))return rn(r)||l?.recordDroppedEvent("ignored","span"),new nA({dropReason:"ignored",traceId:e?.spanContext().traceId??r.getPropagationContext().traceId});let u=t_();if(e&&!n)o=function(e,t,n){let{spanId:r,traceId:a}=e.spanContext(),i=rn(t),o=!i&&nm(e),s=o?new nX({...n,parentSpanId:r,traceId:a,sampled:o}):new nA({traceId:a});nb(e,s);let l=tw();return l&&(tH(l)&&s instanceof nA&&(e instanceof nA&&e.dropReason?(s.dropReason=e.dropReason,l.recordDroppedEvent(e.dropReason,"span")):i||(s.dropReason="sample_rate",l.recordDroppedEvent("sample_rate","span"))),l.emit("spanStart",s),n.endTimestamp&&(l.emit("spanEnd",s),l.emit("afterSpanEnd",s))),s}(e,r,t),nb(e,o);else if(e){let n=nO(e),{traceId:a,spanId:i}=e.spanContext(),s=nm(e);eN(o=n7({traceId:a,parentSpanId:i,...t},r,s),nR,n)}else{let{traceId:e,dsc:n,parentSpanId:a,sampled:i}={...u.getPropagationContext(),...r.getPropagationContext()};o=n7({traceId:e,parentSpanId:a,...t},r,i),n&&eN(o,nR,n)}return!function(e){if(!ei)return;let{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=nc(e),{spanId:a}=e.spanContext(),i=nm(e),o=nw(e),s=o===e,l=`[Tracing] Starting ${i?"sampled":"unsampled"} ${s?"root ":""}span`,u=[`op: ${n}`,`name: ${t}`,`ID: ${a}`];if(r&&u.push(`parent ID: ${r}`),!s){let{op:e,description:t}=nc(o);u.push(`root ID: ${o.spanContext().spanId}`),e&&u.push(`root op: ${e}`),t&&u.push(`root description: ${t}`)}ef.log(`${l} 5 ${u.join("\n ")}`)}(o),tZ(o,r,u),o}function n6(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let n={...t};return n.startTimestamp=nl(e.startTime),delete n.startTime,n}return t}function n8(){return tg(en())}
5function n7(e,t,n){let r=tw(),a=r?.getOptions()||{},{name:i=""}=e,o={spanAttributes:{...e.attributes},spanName:i,parentSampled:n};r?.emit("beforeSampling",o,{decision:!1});let s=o.parentSampled??n,l=o.spanAttributes,u=t.getPropagationContext(),c=rn(t),[d,f,p]=c?[!1]:function(e,t,n){let r,a;if(!tU(e))return[!1];"function"==typeof e.tracesSampler?(r=e.tracesSampler({...t,inheritOrSampleWith:e=>"number"==typeof t.parentSampleRate?t.parentSampleRate:"boolean"==typeof t.parentSampled?Number(t.parentSampled):e}),a=!0):void 0!==t.parentSampled?r=t.parentSampled:void 0!==e.tracesSampleRate&&(r=e.tracesSampleRate,a=!0);let i=tq(r);if(void 0===i)return ei&&ef.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(r)} of type ${JSON.stringify(typeof r)}.`),[!1];if(!i)return ei&&ef.log(`[Tracing] Discarding transaction because ${"function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,i,a];let o=n<i;return!o&&ei&&ef.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),[o,i,a]}(a,{name:i,parentSampled:s,attributes:l,parentSampleRate:tq(u.dsc?.sample_rate)},u.sampleRand),h=new nX({...e,attributes:{[tk]:"custom",[tx]:void 0!==f&&p?f:void 0,...l},sampled:d});return d||!r||c||(ei&&ef.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),r.recordDroppedEvent("sample_rate",tH(r)?"span":"transaction")),r&&r.emit("spanStart",h),h}function n9(e,t){if(t)return t;if(null===t)return;let n=e[ta];if(!n)return;let r=tw();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?nw(n):n}function re(e){return void 0!==e?t=>n2(e,t):e=>e()}function rt(e){return e instanceof nA&&"ignored"===e.dropReason}function rn(e){return!0===e.getScopeData().sdkProcessingMetadata[nJ]}function rr(e){return new ri(t=>{t(e)})}function ra(e){return new ri((t,n)=>{n(e)})}class ri{constructor(e){this._state=0,this._handlers=[],this._runExecutor(e)}then(e,t){return new ri((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new ri((t,n)=>{let r,a;return this.then(t=>{a=!1,r=t,e&&e()},t=>{a=!0,r=t,e&&e()}).then(()=>{a?n(r):t(r)})})}_executeHandlers(){if(0===this._state)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(1===this._state&&e[1](this._value),2===this._state&&e[2](this._value),e[0]=!0)})}_runExecutor(e){let t=(e,t)=>{if(0===this._state){if(ek(t))return void t.then(n,r);this._state=e,this._value=t,this._executeHandlers()}},n=e=>{t(1,e)},r=e=>{t(2,e)};try{e(n,r)}catch(e){r(e)}}}function ro(e){let t=et._sentryDebugIds,n=et._debugIds;if(!t&&!n)return{};let r=t?Object.keys(t):[],a=n?Object.keys(n):[];if(l&&r.length===o&&a.length===s)return l;o=r.length,s=a.length,l={},i||(i={});let u=(t,n)=>{for(let r of t){let t=n[r],a=i?.[r];if(a&&l&&t)l[a[0]]=t,i&&(i[r]=[a[0],t]);else if(t){let n=e(r);for(let e=n.length-1;e>=0;e--){let a=n[e],o=a?.filename;if(o&&l&&i){l[o]=t,i[r]=[o,t];break}}}}};return t&&u(r,t),n&&u(a,n),l}function rs(e,t){let{extra:n,tags:r,attributes:a,user:i,contexts:o,level:s,sdkProcessingMetadata:l,breadcrumbs:u,fingerprint:c,eventProcessors:d,attachments:f,propagationContext:p,transactionName:h,span:m}=t;rl(e,"extra",n),rl(e,"tags",r),rl(e,"attributes",a),rl(e,"user",i),rl(e,"contexts",o),e.sdkProcessingMetadata=tn(e.sdkProcessingMetadata,l,2),s&&(e.level=s),h&&(e.transactionName=h),m&&(e.span=m),u.length&&(e.breadcrumbs=[...e.breadcrumbs,...u]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,...p}}function rl(e,t,n){e[t]=tn(e[t],n,1)}function ru(e,t){let n=tv().getScopeData();return e&&rs(n,e.getScopeData()),t&&rs(n,t.getScopeData()),n}function rc(e,t,n,r,a,i){var o,s,l;let u,{normalizeDepth:c=3,normalizeMaxBreadth:d=1e3}=e,f={...t,event_id:t.event_id||n.event_id||e0(),timestamp:t.timestamp||e8()},p=n.integrations||e.integrations.map(e=>e.name);(function(e,t){let{environment:n,release:r,dist:a,maxValueLength:i}=t;e.environment=e.environment||n||nP,!e.release&&r&&(e.release=r),!e.dist&&a&&(e.dist=a);let o=e.request;
5o?.url&&i&&(o.url=eY(o.url,i)),i&&e.exception?.values?.forEach(e=>{e.value&&(e.value=eY(e.value,i))})})(f,e),o=f,(s=p).length>0&&(o.sdk=o.sdk||{},o.sdk.integrations=[...o.sdk.integrations||[],...s]),a&&a.emit("applyFrameMetadata",t),void 0===t.type&&(l=f,u=ro(e.stackParser),l.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=u[e.filename])})}));let h=function(e,t){if(!t)return e;let n=e?e.clone():new to;return n.update(t),n}(r,n.captureContext);n.mechanism&&e4(f,n.mechanism);let m=a?a.getEventProcessors():[],g=ru(i,h),y=[...n.attachments||[],...g.attachments];y.length&&(n.attachments=y),function(e,t){var n,r,a,i,o,s,l,u;let c,d,{fingerprint:f,span:p,breadcrumbs:h,sdkProcessingMetadata:m}=t;(function(e,t){let{extra:n,tags:r,user:a,contexts:i,level:o,transactionName:s}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(a).length&&(e.user={...a,...e.user}),Object.keys(i).length&&(e.contexts={...i,...e.contexts}),o&&(e.level=o),s&&"transaction"!==e.type&&(e.transaction=s)})(e,t),p&&((n=e).contexts={trace:na(r=p),...n.contexts},n.sdkProcessingMetadata={dynamicSamplingContext:nO(r),...n.sdkProcessingMetadata},(c=nc(nw(r)).description)&&!n.transaction&&"transaction"===n.type&&(n.transaction=c)),a=e,i=f,a.fingerprint=a.fingerprint?Array.isArray(a.fingerprint)?a.fingerprint:[a.fingerprint]:[],i&&(a.fingerprint=a.fingerprint.concat(i)),a.fingerprint.length||delete a.fingerprint,o=e,s=h,d=[...o.breadcrumbs||[],...s],o.breadcrumbs=d.length?d:void 0,l=e,u=m,l.sdkProcessingMetadata={...l.sdkProcessingMetadata,...u}}(f,g);let _=[...m,...g.eventProcessors];return(n.data&&!0===n.data.__sentry__?rr(f):function(e,t,n,r=0){try{let a=function e(t,n,r,a){let i=r[a];if(!t||!i)return t;let o=i({...t},n);return(ei&&null===o&&ef.log(`Event processor "${i.id||"?"}" dropped event`),ek(o))?o.then(t=>e(t,n,r,a+1)):e(o,n,r,a+1)}(t,n,e,r);return ek(a)?a:rr(a)}catch(e){return ra(e)}}(_,f,n)).then(e=>(e&&function(e){let t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof c&&c>0)?function(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:nD(e.data,t,n)}}))},...e.user&&{user:nD(e.user,t,n)},...e.contexts&&{contexts:nD(e.contexts,t,n)},...e.extra&&{extra:nD(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=nD(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:nD(e.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=nD(e.contexts.flags,3,n)),r}(e,c,d):e)}let rd=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function rf(e,t){return ty().captureException(e,function(e){if(e){var t;return(t=e)instanceof to||"function"==typeof t||Object.keys(e).some(e=>rd.includes(e))?{captureContext:e}:e}}(t))}function rp(e,t){let n="string"==typeof t?t:void 0,r="string"!=typeof t?{captureContext:t}:void 0;return ty().captureMessage(e,n,r)}function rh(e,t){return ty().captureEvent(e,t)}function rm(e,t){t_().setContext(e,t)}function rg(e){t_().setExtras(e)}function ry(e,t){t_().setExtra(e,t)}function r_(e){t_().setTags(e)}function rv(e,t){t_().setTag(e,t)}function rb(e){t_().setUser(e)}function rS(e){t_().setConversationId(e)}function rw(){return t_().lastEventId()}function rE(e,t){let n=ty(),r=tw();if(r)if(r.captureCheckIn)return r.captureCheckIn(e,t,n);else ei&&ef.warn("Cannot capture check-in. Client does not support sending check-ins.");else ei&&ef.warn("Cannot capture check-in. No client defined.");return e0()}async function rk(e){let t=tw();return t?t.flush(e):(ei&&ef.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function rx(e){let t=tw();return t?t.close(e):(ei&&ef.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function rT(){return!!tw()}function rP(){let e=tw();return e?.getOptions().enabled!==!1&&!!e?.getTransport()}
5function rR(e){t_().addEventProcessor(e)}function rC(e){var t;let n,r,a=t_(),{user:i}=ru(a,ty()),{userAgent:o}=et.navigator||{},s=(t={user:i,...o&&{userAgent:o},...e},n=e7(),r={sid:e0(),init:!0,timestamp:n,started:n,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var e;return e=r,{sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${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}}}},t&&tt(r,t),r),l=a.getSession();return l?.status==="ok"&&tt(l,{status:"exited"}),rI(),a.setSession(s),s}function rI(){let e,t=t_(),n=ty().getSession()||t.getSession();n&&(e={},"ok"===n.status&&(e={status:"exited"}),tt(n,e)),rO(),t.setSession()}function rO(){let e=t_(),t=tw(),n=e.getSession();n&&t&&t.captureSession(n)}function rN(e=!1){e?rI():rO()}let rA=[];function rM(e,t){for(let n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function rL(e,t,n){if(n[t.name]){ei&&ef.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,rA.includes(t.name)||"function"!=typeof t.setupOnce||(t.setupOnce(),rA.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"==typeof t.processEvent){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}["processSpan","processSegmentSpan"].forEach(n=>{let r=t[n];"function"==typeof r&&e.on(n,n=>r.call(t,n,e))}),ei&&ef.log(`Integration installed: ${t.name}`)}function rD(e){let t=tw();if(!t){ei&&ef.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`);return}t.addIntegration(e)}function r$(e){let t=[];e.message&&t.push(e.message);try{let n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}let rj=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/^Java exception was raised during method invocation$/],rF=(e={})=>{let t;return{name:"EventFilters",setup(n){t=rU(e,n.getOptions())},processEvent:(n,r,a)=>(t||(t=rU(e,a.getOptions())),!function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;let n=e.transaction;return!!n&&eZ(n,t)}(e,t.ignoreTransactions))return ei&&ef.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 6Event: ${e2(e)}`),!0}else{var n,r,a;if(n=e,r=t.ignoreErrors,r?.length&&r$(n).some(e=>eZ(e,r)))return ei&&ef.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 7Event: ${e2(e)}`),!0;if(a=e,a.exception?.values?.length&&!a.message&&!a.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))return ei&&ef.warn(`Event dropped due to not having an error message, error type or stacktrace. 8Event: ${e2(e)}`),!0;if(function(e,t){if(!t?.length)return!1;let n=rB(e);return!!n&&eZ(n,t)}(e,t.denyUrls))return ei&&ef.warn(`Event dropped due to being matched by \`denyUrls\` option. 9Event: ${e2(e)}. 10Url: ${rB(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;let n=rB(e);return!n||eZ(n,t)}(e,t.allowUrls))return ei&&ef.warn(`Event dropped due to not being matched by \`allowUrls\` option. 11Event: ${e2(e)}. 12Url: ${rB(e)}`),!0}return!1}(n,t)?n:null)}},rz=(e={})=>({...rF(e),name:"InboundFilters"});function rU(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:rj],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function rB(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length),n=t?.stacktrace?.frames;return n?function(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch{return ei&&ef.error(`Cannot extract url for event ${e2(e)}`),null}}let rW=new WeakMap,rH=()=>({name:"FunctionToString",setupOnce(){u=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=eM(this),n=rW.has(tw())&&void 0!==t?t:this;return u.apply(n,e)}}catch{}},setup(e){rW.set(e,!0)}}),rq=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{var n,r,a,i,o,s;let l,u,c,d;if(n=t,(r=e)&&(a=n,i=r,l=a.message,u=i.message,(l||u)&&(!l||u)&&(l||!u)&&l===u&&rG(a,i)&&rV(a,i)&&1||(o=n,s=r,c=rX(s),d=rX(o),c&&d&&c.type===d.type&&c.value===d.value&&rG(o,s)&&rV(o,s)
12)))return ei&&ef.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}};function rV(e,t){let n=eG(e),r=eG(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||r.length!==n.length)return!1;for(let e=0;e<r.length;e++){let t=r[e],a=n[e];if(t.filename!==a.filename||t.lineno!==a.lineno||t.colno!==a.colno||t.function!==a.function)return!1}return!0}function rG(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return n.join("")===r.join("")}catch{return!1}}function rX(e){return e.exception?.values?.[0]}function rY(e){ty().setClient(e)}function rK(e){let t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function rJ(e,t,n){let r;return t||`${rK(e)}${e.projectId}/envelope/?${r={sentry_version:"7"},e.publicKey&&(r.sentry_key=e.publicKey),n&&(r.sentry_client=`${n.name}/${n.version}`),new URLSearchParams(r).toString()}`}let rQ=0;function rZ(e){let t=Math.floor(1e3*e);void 0!==c&&t!==c&&(rQ=0);let n=rQ;return rQ++,c=t,{key:"sentry.timestamp.sequence",value:{value:n,type:"integer"}}}function r0(e,t){return t?tb(t,()=>{let n=nk(),r=n?na(n):tE(t);return[n?nO(n):nI(e,t),r]}):[void 0,void 0]}let r1={trace:1,debug:5,info:9,warn:13,error:17,fatal:21};function r2(e,t,n,r=!0){n&&(!e[t]||r)&&(e[t]=n)}function r3(e,t){var n;let r=r6(),a=(n=e,r6().get(n));void 0===a?r.set(e,[t]):a.length>=100?(r5(e,a),r.set(e,[t])):r.set(e,[...a,t])}function r4(e,t=ty(),n=r3){let r=t?.getClient()??tw();if(!r){ei&&ef.warn("No client available to capture log.");return}let{release:a,environment:i,enableLogs:o=!1,beforeSendLog:s}=r.getOptions();if(!o){ei&&ef.warn("logging option not enabled, log will not be captured.");return}let[,l]=r0(r,t),u={...e.attributes},{user:{id:c,email:d,username:f},attributes:p={}}=ru(t_(),t);r2(u,"user.id",c,!1),r2(u,"user.email",d,!1),r2(u,"user.name",f,!1),r2(u,"sentry.release",a),r2(u,"sentry.environment",i);let{name:h,version:m}=r.getSdkMetadata()?.sdk??{};r2(u,"sentry.sdk.name",h),r2(u,"sentry.sdk.version",m);let g=r.getIntegrationByName("Replay"),y=g?.getReplayId(!0);r2(u,"sentry.replay_id",y),y&&g?.getRecordingMode()==="buffer"&&r2(u,"sentry._internal.replay_is_buffering",!0);let _=e.message;if(eb(_)){let{__sentry_template_string__:e,__sentry_template_values__:t=[]}=_;t?.length&&(u["sentry.message.template"]=e),t.forEach((e,t)=>{u[`sentry.message.parameter.${t}`]=e})}let v=t[ta];r2(u,"sentry.trace.parent_span_id",v?.spanContext().spanId);let b={...e,attributes:u};r.emit("beforeCaptureLog",b);let S=s?el(()=>s(b)):b;if(!S){r.recordDroppedEvent("before_send","log_item",1),ei&&ef.warn("beforeSendLog returned null, log will not be captured.");return}let{level:w,message:E,attributes:k={},severityNumber:x}=S,T=e7(),P=rZ(T);n(r,{timestamp:T,level:w,body:E,trace_id:l?.trace_id,severity_number:x??r1[w],attributes:{...tV(p),...tV(k,!0),[P.key]:P.value}}),r.emit("afterCaptureLog",S)}function r5(e,t){var n,r,a,i;let o,s=t??(i=e,r6().get(i))??[];if(0===s.length)return;let l=e.getOptions(),u=(n=l._metadata,r=l.tunnel,a=e.getDsn(),o={},n?.sdk&&(o.sdk={name:n.sdk.name,version:n.sdk.version}),r&&a&&(o.dsn=t3(a)),n$(o,[[{type:"log",item_count:s.length,content_type:"application/vnd.sentry.items.log+json"},{items:s}]]));r6().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(u)}function r6(){return ea("clientToLogBufferMap",()=>new WeakMap)}function r8(e,t,n,r=!0){!n||!r&&t in e||(e[t]=n)}function r7(e,t){var n;let r=ae(),a=(n=e,ae().get(n));void 0===a?r.set(e,[t]):a.length>=1e3?(r9(e,a),r.set(e,[t])):r.set(e,[...a,t])}function r9(e,t){var n,r,a,i;let o,s=t??(i=e,ae().get(i))??[];if(0===s.length)return;let l=e.getOptions(),u=(n=l._metadata,r=l.tunnel,a=e.getDsn(),o={},n?.sdk&&(o.sdk={name:n.sdk.name,version:n.sdk.version}),r&&a&&(o.dsn=t3(a)),n$(o,[[{type:"trace_metric",item_count:s.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:s}]]));ae().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(u)}function ae(){return ea("clientToMetricBufferMap",()=>new WeakMap)}function at(e){return"object"==typeof e&&"function"==typeof e.unref&&e.unref(),e}let an=Symbol.for("SentryBufferFullError");function ar(e=100){let t=new Set;return{get $(){return Array.from(t)},add:function(n){if(!(t.size<e))return ra(an);let r=n();return t.add(r),r.then(()=>{t.delete(r)},()=>{t.delete(r)}),r},drain:function(e){if(!t.size)return rr(!0);let n=Promise.allSettled(Array.from(t)).then(()=>!0);return e?Promise.race([n,new Promise(t=>at(setTimeout(()=>t(!1),e)))]):n}}}function aa(e,t=ez()){let n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;let r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}
12function ai(e,t,n=ez()){return(e[t]||e.all||0)>n}function ao(e,{statusCode:t,headers:n},r=ez()){let a={...e},i=n?.["x-sentry-rate-limits"],o=n?.["retry-after"];if(i)for(let e of i.trim().split(",")){let[t,n,,,i]=e.split(":",5),o=parseInt(t,10),s=(isNaN(o)?60:o)*1e3;if(n)for(let e of n.split(";"))"metric_bucket"===e?(!i||i.split(";").includes("custom"))&&(a[e]=r+s):a[e]=r+s;else a.all=r+s}else o?a.all=r+aa(o,r):429===t&&(a.all=r+6e4);return a}function as(e,t,n=ar(e.bufferSize||64)){let r={};return{send:function(a){let i=[];if(nj(a,(t,n)=>{let a=nW(n);ai(r,a)?e.recordDroppedEvent("ratelimit_backoff",a):i.push(t)}),0===i.length)return Promise.resolve({});let o=n$(a[0],i),s=t=>{if(nF(o,["client_report"])){ei&&ef.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);return}nj(o,(n,r)=>{e.recordDroppedEvent(t,nW(r))})};return n.add(()=>t({body:nU(o)}).then(e=>(413===e.statusCode?(ei&&ef.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),s("send_error")):(ei&&void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&ef.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=ao(r,e)),e),e=>{throw s("network_error"),ei&&ef.error("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===an)return ei&&ef.error("Skipped sending event because buffer is full."),s("queue_overflow"),Promise.resolve({});throw e})},flush:e=>n.drain(e)}}let al="Not capturing exception because it's already been captured.",au="Discarded session because of missing or non-string release",ac=Symbol.for("SentryInternalError"),ad=Symbol.for("SentryDoNotSendEventError");function af(e){return{message:e,[ac]:!0}}function ap(e){return{message:e,[ad]:!0}}function ah(e){return!!e&&"object"==typeof e&&ac in e}function am(e){return!!e&&"object"==typeof e&&ad in e}function ag(e,t,n,r,a){let i,o=0,s=!1;e.on(n,()=>{o=0,clearTimeout(i),s=!1}),e.on(t,t=>{(o+=r(t))>=8e5?a(e):s||(s=!0,i=at(setTimeout(()=>{a(e)},5e3)))}),e.on("flush",()=>{a(e)})}class ay{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=ar(e.transportOptions?.bufferSize??64),e.dsn?this._dsn=t8(e.dsn):ei&&ef.warn("No DSN provided, client will not send events."),this._dsn){const t=rJ(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&ag(this,"afterCaptureLog","flushLogs",aw,r5),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&ag(this,"afterCaptureMetric","flushMetrics",aS,r9)}captureException(e,t,n){let r=e0();if(e5(e))return ei&&ef.log(al),r;let a={event_id:r,...t};return this._process(()=>this.eventFromException(e,a).then(e=>this._captureEvent(e,a,n)).then(e=>e),"error"),a.event_id}captureMessage(e,t,n,r){let a={event_id:e0(),...n},i=eb(e)?e:String(e),o=eS(e),s=o?this.eventFromMessage(i,t,a):this.eventFromException(e,a);return this._process(()=>s.then(e=>this._captureEvent(e,a,r)),o?"unknown":"error"),a.event_id}captureEvent(e,t,n){let r=e0();if(t?.originalException&&e5(t.originalException))return ei&&ef.log(al),r;let a={event_id:r,...t},i=e.sdkProcessingMetadata||{},o=i.capturedSpanScope,s=i.capturedSpanIsolationScope,l=a_(e.type);return this._process(()=>this._captureEvent(e,a,o||n,s),l),a.event_id}captureSession(e){this.sendSession(e),tt(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let t=this._transport;if(!t)return!0;this.emit("flush");let n=await this._isClientDoneProcessing(e),r=await t.flush(e);return n&&r}async close(e){r5(this);let t=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let t=this._integrations[e.name];!t&&e.beforeSetup&&e.beforeSetup(this),rL(this,e,this._integrations),t||rM(this,[e])}sendEvent(e,t={}){var n,r,a;let i,o,s;
12this.emit("beforeSendEvent",e,t);let l=(n=this._dsn,r=this._options._metadata,a=this._options.tunnel,i=nH(r),o=e.type&&"replay_event"!==e.type?e.type:"event",!function(e,t){if(!t)return;let n=e.sdk||{};e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0}}(e,r?.sdk),s=nq(e,i,a,n),delete e.sdkProcessingMetadata,n$(s,[[{type:o},e]]));for(let e of t.attachments||[])l=function(e,t){let[n,r]=e;return[n,[...r,t]]}(l,function(e){let t="string"==typeof e.data?nz(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}(e));this.sendEnvelope(l).then(t=>this.emit("afterSendEvent",e,t))}sendSession(e){var t,n,r;let a,{release:i,environment:o=nP}=this._options;if("aggregates"in e){let t=e.attrs||{};if(!t.release&&!i){ei&&ef.warn(au);return}t.release=t.release||i,t.environment=t.environment||o,e.attrs=t}else{if(!e.release&&!i){ei&&ef.warn(au);return}e.release=e.release||i,e.environment=e.environment||o}this.emit("beforeSendSession",e);let s=(t=this._dsn,n=this._options._metadata,r=this._options.tunnel,a=nH(n),n$({sent_at:new Date().toISOString(),...a&&{sdk:a},...!!r&&t&&{dsn:t3(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]]));this.sendEnvelope(s)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){let r=`${e}:${t}`;ei&&ef.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){let n=this._hooks[e]=this._hooks[e]||new Set,r=(...e)=>t(...e);return n.add(r),()=>{n.delete(r)}}emit(e,...t){let n=this._hooks[e];n&&n.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return ei&&ef.error("Error while sending envelope:",e),{}}return ei&&ef.error("Transport disabled"),{}}dispose(){}_setupIntegrations(){var e;let t,{integrations:n}=this._options;this._integrations=(e=this,t={},n.forEach(t=>{t?.beforeSetup&&t.beforeSetup(e)}),n.forEach(n=>{n&&rL(e,n,t)}),t),rM(this,n)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,r=!1,a=t.exception?.values;if(a){for(let e of(r=!0,n=!1,a))if(e.mechanism?.handled===!1){n=!0;break}}let i="ok"===e.status;(i&&0===e.errors||i&&n)&&(tt(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r){let a=this.getOptions(),i=Object.keys(this._integrations);return!t.integrations&&i?.length&&(t.integrations=i),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),rc(a,e,t,n,this,r).then(e=>
12(null===e||(this.emit("postprocessEvent",e,t),e.contexts={trace:{...e.contexts?.trace,...tE(n)},...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:nI(this,n),...e.sdkProcessingMetadata}),e))}_captureEvent(e,t={},n=ty(),r=t_()){return ei&&av(e)&&ef.log(`Captured error event \`${r$(e)[0]||"<unknown>"}\``),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{ei&&(am(e)?ef.log(e.message):ah(e)?ef.warn(e.message):ef.warn(e))})}_processEvent(e,t,n,r){let a=this.getOptions(),{sampleRate:i}=a,o=ab(e),s=av(e),l=e.type||"error",u=`before send for type \`${l}\``,c=void 0===i?void 0:tq(i);if(s&&"number"==typeof c&&eF()>c)return this.recordDroppedEvent("sample_rate","error"),ra(ap(`Discarding event because it's not included in the random sample (sampling rate = ${i})`));let d=a_(e.type);return this._prepareEvent(e,t,n,r).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",d),ap("An event processor returned `null`, will not send event.");return t.data?.__sentry__===!0?e:function(e,t){let n=`${t} must return \`null\` or a valid event.`;if(ek(e))return e.then(e=>{if(!ew(e)&&null!==e)throw af(n);return e},e=>{throw af(`${t} rejected with ${e}`)});if(!ew(e)&&null!==e)throw af(n);return e}(function(e,t,n,r){let{beforeSend:a,beforeSendTransaction:i,ignoreSpans:o}=t,s=!nL(t.beforeSendSpan)&&t.beforeSendSpan,l=n;if(av(l)&&a)return a(l,r);if(ab(l)){if(s||o){let t=function(e){let{trace_id:t,parent_span_id:n,span_id:r,status:a,origin:i,data:o,op:s}=e.contexts?.trace??{};return{data:o??{},description:e.transaction,op:s,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:a,timestamp:e.timestamp,trace_id:t??"",origin:i,profile_id:o?.[tA],exclusive_time:o?.[tM],measurements:e.measurements,is_segment:!0}}(l);if(o?.length&&tW(t,o))return null;if(s){let e=s(t);if(e)l=tn(n,{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[tA]:e.profile_id},...e.exclusive_time&&{[tM]:e.exclusive_time}}}},measurements:e.measurements});else nx()}if(l.spans){let t=[],n=l.spans;for(let e of n){if(o?.length&&tW(e,o)){!function(e,t){let n=t.parent_span_id,r=t.span_id;if(n)for(let t of e)t.parent_span_id===r&&(t.parent_span_id=n)}(n,e);continue}if(s){let n=s(e);n?t.push(n):(nx(),t.push(e))}else t.push(e)}let r=l.spans.length-t.length;r&&e.recordDroppedEvent("before_send","span",r),l.spans=t}}if(i){if(l.spans){let e=l.spans.length;l.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return i(l,r)}}return l}(this,a,e,t),u)}).then(a=>{if(null===a){if(this.recordDroppedEvent("before_send",d),o){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw ap(`${u} returned \`null\`, will not send event.`)}let i=n.getSession()||r.getSession();if(s&&i&&this._updateSessionFromEvent(i,a),o){let e=(a.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(a.spans?a.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let l=a.transaction_info;return o&&l&&a.transaction!==e.transaction&&(a.transaction_info={...l,source:"custom"}),this.sendEvent(a,t),a}).then(null,e=>{if(am(e)||ah(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),af(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 13Reason: ${e}`)})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===an&&this.recordDroppedEvent("queue_overflow",t),e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[n,r]=e.split(":");return{reason:n,category:r,quantity:t}})}_flushOutcomes(){var e;ei&&ef.log("Flushing outcomes...");let t=this._clearOutcomes();if(0===t.length){ei&&ef.log("No outcomes to send");return}if(!this._dsn){ei&&ef.log("No dsn provided, will not send outcomes");return}ei&&ef.log("Sending outcomes:",t);let n=n$((e=this._options.tunnel&&t3(this._dsn))?{dsn:e}:{},[[{type:"client_report"},{timestamp:e8(),discarded_events:t}]]);this.sendEnvelope(n)}}function a_(e){return"replay_event"===e?"replay":e||"error"}function av(e){return void 0===e.type}function ab(e){return"transaction"===e.type}function aS(e){let t=0;return e.name&&(t+=2*e.name.length),(t+=8)+aE(e.attributes)}function aw(e){let t=0;return e.message&&(t+=2*e.message.length),t+aE(e.attributes)}function aE(e){if(!e)return 0;let t=0;
13return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*ak(e[0]):eS(e)?t+=ak(e):t+=100}),t}function ak(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:4*("boolean"==typeof e)}function ax(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}function aT(e){return em(e)&&"__sentry_fetch_url_host__"in e&&"string"==typeof e.__sentry_fetch_url_host__?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}function aP(e,t){var n,r;let a,i,o=aC(e,t),s={type:(n=t,!(a=n?.name)&&aO(n)?n.message&&Array.isArray(n.message)&&2==n.message.length?n.message[0]:"WebAssembly.Exception":a),value:(r=t,i=r?.message,aO(r)?Array.isArray(r.message)&&2==r.message.length?r.message[1]:"wasm exception":i?i.error&&"string"==typeof i.error.message?aT(i.error):aT(r):"No error message")};return o.length&&(s.stacktrace={frames:o}),void 0===s.type&&""===s.value&&(s.value="Unrecoverable error caught"),s}function aR(e,t){return{exception:{values:[aP(e,t)]}}}function aC(e,t){var n,r;let a=t.stacktrace||t.stack||"",i=(n=t)&&aI.test(n.message)?1:0,o="number"==typeof(r=t).framesToPop?r.framesToPop:0;try{return e(a,i,o)}catch{}return[]}let aI=/Minified React error #\d+;/i;function aO(e){return"u">typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function aN(e,t,n,r){let a=aM(e,t,n?.syntheticException||void 0,r);return e4(a),a.level="error",n?.event_id&&(a.event_id=n.event_id),rr(a)}function aA(e,t,n="info",r,a){let i=aL(e,t,r?.syntheticException||void 0,a);return i.level=n,r?.event_id&&(i.event_id=r.event_id),rr(i)}function aM(e,t,n,r,a){let i;if(ey(t)&&t.error)return aR(e,t.error);if(e_(t)||eg(t,"DOMException")){if("stack"in t)i=aR(e,t);else{let a=t.name||(e_(t)?"DOMError":"DOMException"),o=t.message?`${a}: ${t.message}`:a;e3(i=aL(e,o,n,r),o)}return"code"in t&&(i.tags={...i.tags,"DOMException.code":`${t.code}`}),i}return em(t)?aR(e,t):(ew(t)||eE(t)?e4(i=function(e,t,n,r){let a=tw(),i=a?.getOptions().normalizeDepth,o=Object.values(t).find(e=>e instanceof Error),s={__serialized__:function e(t,n=3,r=102400){let a=nD(t,n);return~-encodeURI(JSON.stringify(a)).split(/%..|./).length>r?e(t,n-1,r):a}(t,i)};if(o)return{exception:{values:[aP(e,o)]},extra:s};let l={exception:{values:[{type:eE(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let n,r=((n=Object.keys(eL(e))).sort(),n[0]?n.join(", "):"[object has no keys]"),a=t?"promise rejection":"exception";if(ey(e))return`Event \`ErrorEvent\` captured as ${a} with message \`${e.message}\``;if(eE(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${a}`}return`Object captured as ${a} with keys: ${r}`}(t,{isUnhandledRejection:r})}]},extra:s};if(n){let t=aC(e,n);t.length&&(l.exception.values[0].stacktrace={frames:t})}return l}(e,t,n,a),{synthetic:!0}):(e3(i=aL(e,t,n,r),`${t}`,void 0),e4(i,{synthetic:!0})),i)}function aL(e,t,n,r){let a={};if(r&&n){let r=aC(e,n);r.length&&(a.exception={values:[{value:t,stacktrace:{frames:r}}]}),e4(a,{synthetic:!0})}if(eb(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return a.logentry={message:e,params:n},a}return a.message=t,a}let aD=0;function a$(e,t={}){if("function"!=typeof e)return e;try{let t=e.__sentry_wrapped__;if(t)if("function"==typeof t)return t;else return e;if(eM(e))return e}catch{return e}let n=function(...n){try{let r=n.map(e=>a$(e,t));return e.apply(this,r)}catch(e){throw aD++,setTimeout(()=>{aD--}),tb(r=>{r.addEventProcessor(e=>(t.mechanism&&(e3(e,void 0,void 0),e4(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),rf(e)}),e}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch{}eA(n,e),eN(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch{}return n}function aj(){let e=eC(),{referrer:t}=et.document||{},{userAgent:n}=et.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}class aF extends ay{constructor(e){const t=function(e){return{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:et.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}(e);ep(t,"browser",["browser"],et.SENTRY_SDK_SOURCE||"npm"),t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:t.sendDefaultPii?"auto":"never",...t._metadata.sdk.settings}),super(t);const{sendDefaultPii:n,sendClientReports:r,enableLogs:a,_experiments:i,enableMetrics:o}=this._options,s=o??i?.enableMetrics??!0;et.document&&(r||a||s)&&et.document.addEventListener("visibilitychange",()=>{"hidden"===et.document.visibilityState&&(r&&this._flushOutcomes(),a&&r5(this),s&&r9(this))}),n&&this.on("beforeSendSession",ax)}eventFromException(e,t){return aN(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return aA(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n,r)}}let az={},aU={};function aB(e,t){az[e]=az[e]||[],az[e].push(t)}function aW(e,t){if(!aU[e]){aU[e]=!0;try{t()}catch(t){ei&&ef.error(`Error while instrumenting ${e}`,t)}}}function aH(e,t){let n=e&&az[e];if(n)for(let r of n)try{r(t)}catch(t){ei&&ef.error(`Error while triggering instrumentation handler. 14Type: ${e} 15Name: ${eV(r)} 16Error:`,t)}}function aq(e){let t="console";aB(t,e),aW(t,aV)}function aV(){"console"in et&&eo.forEach(function(e){e in et.console&&eO(et.console,e,function(t){return es[e]=t,function(...t){aH("console",{args:t,level:e});let n=es[e];n?.apply(et.console,t)}})})}function aG(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function aX(){if("string"==typeof EdgeRuntime)return!0;
16if(!function(){if(!("fetch"in et))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}())return!1;if(aG(et.fetch))return!0;let e=!1,t=et.document;if(t&&"function"==typeof t.createElement)try{let n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=aG(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){ei&&ef.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}function aY(e,t){let n="fetch";aB(n,e),aW(n,()=>aK(void 0,t))}function aK(e,t=!1){(!t||aX())&&eO(et,"fetch",function(t){return function(...n){let r=Error(),{method:a,url:i}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,n]=e;return{url:a0(t),method:aZ(n,"method")?String(n.method).toUpperCase():eP(t)&&aZ(t,"method")?String(t.method).toUpperCase():"GET"}}let t=e[0];return{url:a0(t),method:aZ(t,"method")?String(t.method).toUpperCase():"GET"}}(n),o={args:n,fetchData:{method:a,url:i},startTimestamp:1e3*e7(),virtualError:r,headers:function(e){let[t,n]=e;try{if("object"==typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if(eP(t))return new Headers(t.headers)}catch{}}(n)};return e||aH("fetch",{...o}),t.apply(et,n).then(async t=>(e?e(t):aH("fetch",{...o,endTimestamp:1e3*e7(),response:t}),t),e=>{aH("fetch",{...o,endTimestamp:1e3*e7(),error:e}),em(e)&&void 0===e.stack&&(e.stack=r.stack,eN(e,"framesToPop",1));let t=tw(),n=t?.getOptions().enhanceFetchErrorMessages??"always";if(!1!==n&&e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{let t=new URL(o.fetchData.url).host;"always"===n?e.message=`${e.message} (${t})`:eN(e,"__sentry_fetch_url_host__",t)}catch{}throw e})}})}async function aJ(e,t){if(e?.body){let n=e.body,r=n.getReader(),a=setTimeout(()=>{n.cancel().then(null,()=>{})},9e4),i=!0;for(;i;){let e;try{e=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);let{done:a}=await r.read();clearTimeout(e),a&&(t(),i=!1)}catch{i=!1}finally{clearTimeout(e)}}clearTimeout(a),r.releaseLock(),n.cancel().then(null,()=>{})}}function aQ(e){let t;try{t=e.clone()}catch{return}aJ(t,()=>{aH("fetch-body-resolved",{endTimestamp:1e3*e7(),response:e})})}function aZ(e,t){return!!e&&"object"==typeof e&&!!e[t]}function a0(e){return"string"==typeof e?e:e?aZ(e,"url")?e.url:e.toString?e.toString():"":""}function a1(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}function a2(e,t){let n=tw(),r=t_();if(!n)return;let{beforeBreadcrumb:a=null,maxBreadcrumbs:i=100}=n.getOptions();if(i<=0)return;let o={timestamp:e8(),...e},s=a?el(()=>a(o,t)):o;null!==s&&(n.emit&&n.emit("beforeAddBreadcrumb",s,t),r.addBreadcrumb(s,i))}function a3(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}function a4(e){return"isRelative"in e}function a5(e,t){let n=0>=e.indexOf("://")&&0!==e.indexOf("//"),r=t??(n?"thismessage:/":void 0);try{if("canParse"in URL&&!URL.canParse(e,r))return;let t=new URL(e,r);if(n)return{isRelative:n,pathname:t.pathname,search:t.search,hash:t.hash};return t}catch{}}function a6(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function a8(e){return e.split(/[?#]/,1)[0]}function a7(e,t=!0){if(e.startsWith("data:")){let n=e.match(/^data:([^;,]+)/),r=n?n[1]:"text/plain",a=e.includes(";base64,"),i=e.indexOf(","),o="";if(t&&-1!==i){let t=e.slice(i+1);o=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${r}${a?",base64":""}${o?`,${o}`:""}`}return e}function a9(e){aB("dom",e),aW("dom",ie)}function ie(){if(!et.document)return;let e=aH.bind(null,"dom"),t=it(e,!0);et.document.addEventListener("click",t,!1),et.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let n=et[t]?.prototype;n?.hasOwnProperty?.("addEventListener")&&(eO(n,"addEventListener",function(t){return function(n,r,a){if("click"===n||"keypress"==n)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},i=r[n]=r[n]||{refCount:0};if(!i.handler){let r=it(e);i.handler=r,t.call(this,n,r,a)}i.refCount++}catch{}return t.call(this,n,r,a)}}),eO(n,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{let n=this.__sentry_instrumentation_handlers__||{},a=n[t];a&&(a.refCount--,a.refCount<=0&&(e.call(this,t,a.handler,r),a.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function it(e,t=!1){return n=>{var r;if(!n||n._sentryCaptured)return;let a=function(e){try{return e.target}catch{return null}}(n);if(r=n.type,"keypress"===r&&(!a?.tagName||"INPUT"!==a.tagName&&"TEXTAREA"!==a.tagName&&!a.isContentEditable&&1))return;eN(n,"_sentryCaptured",!0),a&&!a._sentryId&&eN(a,"_sentryId",e0());let i="keypress"===n.type?"input":n.type;!function(e){if(e.type!==f)return!1;try{if(!e.target||e.target._sentryId!==p)return!1}catch{}return!0}(n)&&(e({event:n,name:i,global:t}),f=n.type,p=a?a._sentryId:void 0),clearTimeout(d),d=et.setTimeout(()=>{p=void 0,f=void 0},1e3)}}let ir="__sentry_xhr_v3__";function ia(e){aB("xhr",e),aW("xhr",ii)}function ii(){if(!et.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),a=1e3*e7(),i=ev(n[0])?n[0].toUpperCase():void 0,o=function(e){if(ev(e))return e;try{return e.toString()}catch{}}(n[1]);if(!i||!o)return e.apply(t,n);t[ir]={method:i,url:o,request_headers:{}}
16,"POST"===i&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let s=()=>{let e=t[ir];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}aH("xhr",{endTimestamp:1e3*e7(),startTimestamp:a,xhr:t,virtualError:r})}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(s(),e.apply(t,n))}):t.addEventListener("readystatechange",s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,a]=n,i=t[ir];return i&&ev(r)&&ev(a)&&(i.request_headers[r.toLowerCase()]=a),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[ir];return r&&(void 0!==n[0]&&(r.body=n[0]),aH("xhr",{startTimestamp:1e3*e7(),xhr:t})),e.apply(t,n)}})}function io(e){let t="history";aB(t,e),aW(t,is)}function is(){function e(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let r=h,a=function(e){try{return new URL(e,et.location.origin).toString()}catch{return e}}(String(n));if(h=a,r===a)return e.apply(this,t);aH("history",{from:r,to:a})}return e.apply(this,t)}}et.addEventListener("popstate",()=>{let e=et.location.href,t=h;h=e,t===e||aH("history",{from:t,to:e})}),"history"in et&&et.history&&(eO(et.history,"pushState",e),eO(et.history,"replaceState",e))}let il="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,iu=(e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n,r,a,i,o,s,l;t.console&&aq((n=e,function(e){if(tw()!==n)return;let t={category:"console",data:{arguments:e.args,logger:"console"},level:a1(e.level),message:eJ(e.args," ")};if("assert"===e.level)if(!1!==e.args[0])return;else t.message=`Assertion failed: ${eJ(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1);a2(t,{input:e.args,level:e.level})})),t.dom&&a9((r=e,a=t.dom,function(e){let t,n;if(tw()!==r)return;let i="object"==typeof a?a.serializeAttribute:void 0,o="object"==typeof a&&"number"==typeof a.maxStringLength?a.maxStringLength:void 0;o&&o>1024&&(il&&ef.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${o} was configured. Sentry will use 1024 instead.`),o=1024),"string"==typeof i&&(i=[i]);try{var s;let r=e.event,a=(s=r)&&s.target?r.target:r;t=eR(a,{keyAttrs:i,maxStringLength:o}),n=eI(a)}catch{t="<unknown>"}if(0===t.length)return;let l={category:`ui.${e.name}`,message:t};n&&(l.data={"ui.component_name":n}),a2(l,{event:e.event,name:e.name,global:e.global})})),t.xhr&&ia((i=e,function(e){if(tw()!==i)return;let{startTimestamp:t,endTimestamp:n}=e,r=e.xhr[ir];if(!t||!n||!r)return;let{method:a,url:o,status_code:s,body:l}=r,u={xhr:e.xhr,input:l,startTimestamp:t,endTimestamp:n},c={category:"xhr",data:{method:a,url:o,status_code:s},type:"http",level:a3(s)};i.emit("beforeOutgoingRequestBreadcrumb",c,u),a2(c,u)})),t.fetch&&aY((o=e,function(e){if(tw()!==o)return;let{startTimestamp:t,endTimestamp:n}=e;if(n&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){let r={data:e.error,input:e.args,startTimestamp:t,endTimestamp:n},a={category:"fetch",data:e.fetchData,level:"error",type:"http"};o.emit("beforeOutgoingRequestBreadcrumb",a,r),a2(a,r)}else{let r=e.response,a={...e.fetchData,status_code:r?.status},i={input:e.args,response:r,startTimestamp:t,endTimestamp:n},s={category:"fetch",data:a,type:"http",level:a3(a.status_code)};o.emit("beforeOutgoingRequestBreadcrumb",s,i),a2(s,i)}})),t.history&&io((s=e,function(e){if(tw()!==s)return;let t=e.from,n=e.to,r=a6(et.location.href),a=t?a6(t):void 0,i=a6(n);a?.path||(a=r),r.protocol===i.protocol&&r.host===i.host&&(n=i.relative),r.protocol===a.protocol&&r.host===a.host&&(t=a.relative),a2({category:"navigation",data:{from:t,to:n}})})),t.sentry&&e.on("beforeSendEvent",(l=e,function(e){tw()===l&&a2({category:`sentry.${"transaction"===e.type?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:e2(e)},{event:e})}))}}},ic="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".
16split(","),id=(e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&eO(et,"setTimeout",ip),t.setInterval&&eO(et,"setInterval",ip),t.requestAnimationFrame&&eO(et,"requestAnimationFrame",ih),t.XMLHttpRequest&&"XMLHttpRequest"in et&&eO(XMLHttpRequest.prototype,"send",im);let e=t.eventTarget;e&&(Array.isArray(e)?e:ic).forEach(e=>{var n,r;let a;return n=e,r=t,a=et[n]?.prototype,void(a?.hasOwnProperty?.("addEventListener")&&(eO(a,"addEventListener",function(e){return function(t,a,i){var o,s,l,u;try{o=a,"function"==typeof o.handleEvent&&(a.handleEvent=a$(a.handleEvent,{mechanism:{data:{handler:eV(a),target:n},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return r.unregisterOriginalCallbacks&&(s=this,l=t,u=a,s&&"object"==typeof s&&"removeEventListener"in s&&"function"==typeof s.removeEventListener&&s.removeEventListener(l,u)),e.apply(this,[t,a$(a,{mechanism:{data:{handler:eV(a),target:n},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),i])}}),eO(a,"removeEventListener",function(e){return function(t,n,r){try{let a=n.__sentry_wrapped__;a&&e.call(this,t,a,r)}catch{}return e.call(this,t,n,r)}})))})}}};function ip(e){return function(...t){let n=t[0];return t[0]=a$(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${eV(e)}`}}),e.apply(this,t)}}function ih(e){return function(t){return e.apply(this,[a$(t,{mechanism:{data:{handler:eV(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function im(e){return function(...t){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&eO(n,e,function(t){let n={mechanism:{data:{handler:eV(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=eM(t);return r&&(n.mechanism.data.handler=eV(r)),a$(t,n)})}),e.apply(this,t)}}let ig=(e={})=>{let t=e.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(void 0===et.document){il&&ef.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}rC({ignoreDuration:!0}),rN();let e=t_(),n=e.getUser();e.addScopeListener(e=>{let t=e.getUser();
16(n?.id!==t?.id||n?.ip_address!==t?.ip_address)&&(rN(),n=t)}),"route"===t&&io(({from:e,to:t})=>{e!==t&&(rC({ignoreDuration:!0}),rN())})}}},iy=()=>({name:"CultureContext",preprocessEvent(e){let t=i_();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})},processSegmentSpan(e){let t=i_();t&&(e.attributes={"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar,...e.attributes})}});function i_(){try{let e=et.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}let iv=null;function ib(e){let t="error";aB(t,e),aW(t,iS)}function iS(){iv=et.onerror,et.onerror=function(e,t,n,r,a){return aH("error",{column:r,error:a,line:n,msg:e,url:t}),!!iv&&iv.apply(this,arguments)},et.onerror.__SENTRY_INSTRUMENTED__=!0}let iw=null;function iE(e){let t="unhandledrejection";aB(t,e),aW(t,ik)}function ik(){iw=et.onunhandledrejection,et.onunhandledrejection=function(e){return aH("unhandledrejection",e),!iw||iw.apply(this,arguments)},et.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}let ix=(e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){var n,r;t.onerror&&(n=e,ib(e=>{var t,r,a,i;let o,s,l,u,c,{stackParser:d,attachStacktrace:f}=iC();if(tw()!==n||aD>0)return;let{msg:p,url:h,line:m,column:g,error:y}=e,_=(t=aM(d,y||p,void 0,f,!1),r=h,a=m,i=g,0===(c=(u=(l=(s=(o=t.exception=t.exception||{}).values=o.values||[])[0]=s[0]||{}).stacktrace=l.stacktrace||{}).frames=u.frames||[]).length&&c.push({colno:i,lineno:a,filename:function(e){if(ev(e)&&0!==e.length)return e.startsWith("data:")?`<${a7(e,!1)}>`:e}(r)??eC(),function:"?",in_app:!0}),t);_.level="error",rh(_,{originalException:y,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})}),iR("onerror")),t.onunhandledrejection&&(r=e,iE(e=>{let{stackParser:t,attachStacktrace:n}=iC();if(tw()!==r||aD>0)return;let a=iT(e),i=eS(a)?iP(a):aM(t,a,void 0,n,!0);i.level="error",rh(i,{originalException:a,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})}),iR("onunhandledrejection"))}}};function iT(e){if(eS(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 iP(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function iR(e){il&&ef.log(`Global Handler attached: ${e}`)}function iC(){let e=tw();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}let iI=()=>({name:"HttpContext",preprocessEvent(e){if(!et.navigator&&!et.location&&!et.document)return;let t=aj(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}}});function iO(e){return Array.isArray(e.errors)}function iN(e,t,n){e.mechanism={handled:!0,type:"auto.core.linked_errors",...iO(n)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function iA(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}let iM=(e={})=>{let t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,a){!function(e,t,n,r,a,i){if(!a.exception?.values||!i||!ex(i.originalException,Error))return;let o=a.exception.values.length>0?a.exception.values[a.exception.values.length-1]:void 0;o&&(a.exception.values=function e(t,n,r,a,i,o,s,l){if(o.length>=r+1)return o;let u=[...o];if(ex(a[i],Error)){iN(s,l,a);let o=t(n,a[i]),c=u.length;iA(o,i,c,l),u=e(t,n,r,a[i],i,[o,...u],o,c)}return iO(a)&&a.errors.forEach((o,c)=>{if(ex(o,Error)){iN(s,l,a);let d=t(n,o),f=u.length;iA(d,`errors[${c}]`,f,l),u=e(t,n,r,o,i,[d,...u],d,f)}}),u}(e,t,r,i.originalException,n,a.exception.values,o,0))}(aP,a.getOptions().stackParser,n,t,e,r)}}};function iL(e,t,n,r){let a={filename:e,function:"<anonymous>"===t?"?":t,in_app:!0};return void 0!==n&&(a.lineno=n),void 0!==r&&(a.colno=r),a}let iD=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,i$=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ij=/\((\S*)(?::(\d+))(?::(\d+))\)/,iF=/at (.+?) ?\(data:(.+?),/,iz=[30,e=>{let t=e.match(iF);
16if(t)return{filename:`<data:${t[2]}>`,function:t[1]};let n=iD.exec(e);if(n){let[,e,t,r]=n;return iL(e,"?",+t,+r)}let r=i$.exec(e);if(r){if(r[2]?.indexOf("eval")===0){let e=ij.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}let[e,t]=iQ(r[1]||"?",r[2]);return iL(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],iU=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,iB=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,iW=[50,e=>{let t=iU.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=iB.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||"?";return[n,e]=iQ(n,e),iL(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],iH=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,iq=[40,e=>{let t=iH.exec(e);return t?iL(t[2],t[1]||"?",+t[3],t[4]?+t[4]:void 0):void 0}],iV=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,iG=[10,e=>{let t=iV.exec(e);return t?iL(t[2],t[3]||"?",+t[1]):void 0}],iX=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,iY=[20,e=>{let t=iX.exec(e);return t?iL(t[5],t[3]||t[4]||"?",+t[1],+t[2]):void 0}],iK=[iz,iW],iJ=eW(...iK),iQ=(e,t)=>{let n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:"?",n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},iZ="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,i0={};function i1(e){let t=i0[e];if(t)return t;let n=et[e];if(aG(n))return i0[e]=n.bind(et);let r=et.document;if(r&&"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let a=t.contentWindow;a?.[e]&&(n=a[e]),r.head.removeChild(t)}catch(t){iZ&&ef.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n?i0[e]=n.bind(et):n}function i2(...e){return i1("setTimeout")(...e)}function i3(e,t=i1("fetch")){let n=0,r=0;async function a(a){let i=a.body.length;n+=i,r++;let o={body:a.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{let n=await t(e.url,o);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get("X-Sentry-Rate-Limits"),"retry-after":n.headers.get("Retry-After")}}}catch(e){throw i0.fetch=void 0,e}finally{n-=i,r--}}return as(e,a,ar(e.bufferSize||40))}function i4(e){return[rz(),rH(),{name:"ConversationId",setup(e){e.on("spanStart",e=>{let t=ty().getScopeData(),n=t_().getScopeData(),r=t.conversationId||n.conversationId;if(r){let{op:t,data:n,description:a}=nc(e);if(!t?.startsWith("gen_ai.")&&!n["ai.operationId"]&&!a?.startsWith("ai."))return;e.setAttribute("gen_ai.conversation.id",r)}})}},id(),iu(),ix(),iM(),rq(),iI(),iy(),ig()]}function i5(e={}){var t;let n,r=!e.skipBrowserExtensionCheck&&!!function(){if(void 0===et.window||et.nw)return!1;let e=et.chrome||et.browser;if(!e?.runtime?.id)return!1;let t=eC();return!(et===et.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(t))}()&&(il&&el(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0),a=null==e.defaultIntegrations?i4():e.defaultIntegrations,i={...e,enabled:!r&&e.enabled,stackParser:Array.isArray(t=e.stackParser||iJ)?eW(...t):t,integrations:function(e){let t,n,r=e.defaultIntegrations||[],a=e.integrations;if(r.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(a))t=[...r,...a];else if("function"==typeof a){let e=a(r);t=Array.isArray(e)?e:[e]}else t=r;return n={},t.forEach(e=>{let{name:t}=e,r=n[t];r&&!r.isDefaultInstance&&e.isDefaultInstance||(n[t]=e)}),Object.values(n)}({integrations:e.integrations,defaultIntegrations:a}),transport:e.transport||i3};return!0===i.debug&&(ei?ef.enable():el(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),ty().update(i.initialScope),rY(n=new aF(i)),n.init(),n}function i6(){}function i8(e){e()}var i7=e.i(181476);function i9(e){let t={...e};return ep(t,"react"),rm("react",{version:i7.version}),i5(t)}let oe="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function ot(e){return em(e)&&["NEXT_NOT_FOUND","NEXT_HTTP_ERROR_FA
16LLBACK;404"].includes(e.digest)}function on(e){return em(e)&&"string"==typeof e.digest&&e.digest.startsWith("NEXT_REDIRECT;")}let or={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function oa(e,t={}){let n,r,a=new Map,i=!1,o="externalFinish",s=!t.disableAutoFinish,l=[],{idleTimeout:u=or.idleTimeout,finalTimeout:c=or.finalTimeout,childSpanTimeout:d=or.childSpanTimeout,beforeSpanEnd:f,trimIdleSpanEndTimestamp:p=!0}=t,h=tw();if(!h||!tU()){let e=new nA,t={sample_rate:"0",sampled:"false",...nO(e)};return eN(e,nR,t),e}let m=ty(),g=nk(),y=(n=n0(e),ti(ty(),n),ei&&ef.log("[Tracing] Started span is an idle span"),n);function _(){r&&(clearTimeout(r),r=void 0)}function v(e){_(),r=setTimeout(()=>{!i&&0===a.size&&s&&(o="idleTimeout",y.end(e))},u)}function b(e){r=setTimeout(()=>{!i&&s&&(o="heartbeatFailed",y.end(e))},d)}function S(e){i=!0,a.clear(),l.forEach(e=>e()),ti(m,g);let t=nc(y),{start_timestamp:n}=t;if(!n)return;t.data[tC]||y.setAttribute(tC,o);let r=t.status;r&&"unknown"!==r||y.setStatus({code:1}),ef.log(`[Tracing] Idle span "${t.op}" finished`);let s=nS(y).filter(e=>e!==y),d=0;s.forEach(t=>{t.isRecording()&&(t.setStatus({code:2,message:"cancelled"}),t.end(e),ei&&ef.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));let{timestamp:n=0,start_timestamp:r=0}=nc(t),a=r<=e,i=n-r<=(c+u)/1e3;if(ei){let e=JSON.stringify(t,void 0,2);a?i||ef.log("[Tracing] Discarding span since it finished after idle span final timeout",e):ef.log("[Tracing] Discarding span since it happened after idle span was finished",e)}(!i||!a)&&(y[n_]&&y[n_].delete(t),d++)}),d>0&&y.setAttribute("sentry.idle_span_discarded_spans",d)}return y.end=new Proxy(y.end,{apply(e,t,n){if(f&&f(y),t instanceof nA)return;let[r,...a]=n,i=nl(r||e7()),o=nS(y).filter(e=>e!==y),s=nc(y);if(!o.length||!p)return S(i),Reflect.apply(e,t,[i,...a]);let l=h.getOptions().ignoreSpans,u=o?.reduce((e,t)=>{let n=nc(t);return!n.timestamp||l&&tW(n,l)?e:e?Math.max(e,n.timestamp):n.timestamp},void 0),d=s.start_timestamp,m=Math.min(d?d+c/1e3:1/0,Math.max(d||-1/0,Math.min(i,u||1/0)));return S(m),Reflect.apply(e,t,[m,...a])}}),l.push(h.on("spanStart",e=>{var t;!(i||e===y||nc(e).timestamp||e instanceof nX&&e.isStandaloneSpan())&&nS(y).includes(e)&&(t=e.spanContext().spanId,_(),a.set(t,!0),b(e7()+d/1e3))})),l.push(h.on("spanEnd",e=>{if(!i){var t;t=e.spanContext().spanId,a.has(t)&&a.delete(t),0===a.size&&v(e7()+u/1e3)}})),l.push(h.on("idleSpanEnableAutoFinish",e=>{e===y&&(s=!0,v(),a.size&&b())})),t.disableAutoFinish||v(),setTimeout(()=>{i||(y.setStatus({code:2,message:"deadline_exceeded"}),o="finalTimeout",y.end())},c),y}let oi=!1;function oo(){oi||(e.tag="sentry_tracingErrorCallback",oi=!0,ib(e),iE(e));function e(){let e=nk(),t=e&&nw(e);if(t){let e="internal_error";ei&&ef.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:2,message:e})}}}function os(){let e;return"u">typeof window&&(!(!("u">typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call(void 0!==Z.default?Z.default:0))||(e=et.process,e?.type==="renderer"))}let ol=(e,t,n,r)=>{let a,i;return o=>{if(t.value>=0&&(o||r)&&((i=t.value-(a??0))||void 0===a)){var s;a=t.value,t.delta=i,s=t.value,t.rating=s>n[1]?"poor":s>n[0]?"needs-improvement":"good",e(t)}}},ou=(e=!0)=>{let t=et.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},oc=()=>{let e=ou();return e?.activationStart??0};function od(e,t,n){et.document&&et.addEventListener(e,t,n)}function of(e,t,n){et.document&&et.removeEventListener(e,t,n)}let op=-1,oh=new Set,om=e=>{if(("pagehide"===e.type||et.document?.visibilityState==="hidden")&&op>-1){if("visibilitychange"===e.type||"pagehide"===e.type)for(let e of oh)e();isFinite(op)||(op="visibilitychange"===e.type?e.timeStamp:0,of("prerenderingchange",om,!0))}},og=()=>{if(et.document&&op<0){let e=oc();op=(et.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(t=>"hidden"===t.name&&t.startTime>e)[0]?.startTime)??(et.document?.visibilityState!=="hidden"||et.document?.prerendering?1/0:0),od("visibilitychange",om,!0),od("pagehide",om,!0),od("prerenderingchange",om,!0)}return{get firstHiddenTime(){return op},onHidden(e){oh.add(e)}}},oy=(e,t=-1)=>{let n=ou(),r="navigate";return n&&(et.document?.prerendering||oc()>0?r="prerender":et.document?.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,navigationType:r}},o_=new WeakMap;function ov(e,t){try{return o_.get(e)||o_.set(e,new t),o_.get(e)}catch(e){return new t}}class ob{constructor(){ob.prototype.__init.call(this),ob.prototype.__init2.call(this)}__init(){this._sessionValue=0}__init2(){this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;let t=this._sessionEntries[0],n=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}}let oS=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}},ow=e=>{let t=!1;return()=>{t||(e(),t=!0)}},oE=e=>{et.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},ok=[1800,3e3],ox=[.1,.25],oT=0,oP=1/0,oR=0,oC=e=>
16{e.forEach(e=>{e.interactionId&&(oP=Math.min(oP,e.interactionId),oT=(oR=Math.max(oR,e.interactionId))?(oR-oP)/7+1:0)})},oI=()=>m?oT:performance.interactionCount||0,oO=0;class oN{constructor(){oN.prototype.__init.call(this),oN.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){oO=oI(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){let e=Math.min(this._longestInteractionList.length-1,Math.floor((oI()-oO)/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!(e.interactionId||"first-input"===e.entryType))return;let t=this._longestInteractionList.at(-1),n=this._longestInteractionMap.get(e.interactionId);if(n||this._longestInteractionList.length<10||e.duration>t._latency){if(n?e.duration>n._latency?(n.entries=[e],n._latency=e.duration):e.duration===n._latency&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(n.id,n),this._longestInteractionList.push(n)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>10)for(let e of this._longestInteractionList.splice(10))this._longestInteractionMap.delete(e.id);this._onAfterProcessingINPCandidate?.(n)}}}let oA=e=>{let t=et.requestIdleCallback||et.setTimeout;et.document?.visibilityState==="hidden"?e():(od("visibilitychange",e=ow(e),{once:!0,capture:!0}),od("pagehide",e,{once:!0,capture:!0}),t(()=>{e(),of("visibilitychange",e,{capture:!0}),of("pagehide",e,{capture:!0})}))},oM=[200,500];class oL{_processEntry(e){this._onBeforeProcessingEntry?.(e)}}let oD=[2500,4e3],o$=[800,1800],oj=e=>{et.document?.prerendering?oE(()=>oj(e)):et.document?.readyState!=="complete"?addEventListener("load",()=>oj(e),!0):setTimeout(e)},oF={},oz={};function oU(e,t=!1){return oK("cls",e,oV,g,t)}function oB(e,t=!1){return oK("lcp",e,oG,y,t)}function oW(e){return oK("inp",e,oY,v)}function oH(e,t){var n;let r;return oJ(e,t),oz[e]||(r={},"event"===(n=e)&&(r.durationThreshold=0),oS(n,e=>{oq(n,{entries:e})},r),oz[e]=!0),oQ(e,t)}function oq(e,t){let n=oF[e];if(n?.length)for(let r of n)try{r(t)}catch(t){iZ&&ef.error(`Error while triggering instrumentation handler. 17Type: ${e} 18Name: ${eV(r)} 19Error:`,t)}}function oV(){return((e,t={})=>{((e,t={})=>{oE(()=>{let n,r=og(),a=oy("FCP"),i=oS("paint",e=>{for(let t of e)"first-contentful-paint"===t.name&&(i.disconnect(),t.startTime<r.firstHiddenTime&&(a.value=Math.max(t.startTime-oc(),0),a.entries.push(t),n(!0)))});i&&(n=ol(e,a,ok,t.reportAllChanges))})})(ow(()=>{let n,r=oy("CLS",0),a=og(),i=ov(t,ob),o=e=>{for(let t of e)i._processEntry(t);i._sessionValue>r.value&&(r.value=i._sessionValue,r.entries=i._sessionEntries,n())},s=oS("layout-shift",o);s&&(n=ol(e,r,ox,t.reportAllChanges),a.onHidden(()=>{o(s.takeRecords()),n(!0)}),et?.setTimeout?.(n))}))})(e=>{oq("cls",{metric:e}),g=e},{reportAllChanges:!0})}function oG(){return((e,t={})=>{oE(()=>{let n,r=og(),a=oy("LCP"),i=ov(t,oL),o=e=>{for(let o of(t.reportAllChanges||(e=e.slice(-1)),e))i._processEntry(o),o.startTime<r.firstHiddenTime&&(a.value=Math.max(o.startTime-oc(),0),a.entries=[o],n())},s=oS("largest-contentful-paint",o);if(s){n=ol(e,a,oD,t.reportAllChanges);let r=ow(()=>{o(s.takeRecords()),s.disconnect(),n(!0)}),i=e=>{e.isTrusted&&(oA(r),of(e.type,i,{capture:!0}))};for(let e of["keydown","click","visibilitychange"])od(e,i,{capture:!0})}})})(e=>{oq("lcp",{metric:e}),y=e},{reportAllChanges:!0})}function oX(){return((e,t={})=>{let n=oy("TTFB"),r=ol(e,n,o$,t.reportAllChanges);oj(()=>{let e=ou();e&&(n.value=Math.max(e.responseStart-oc(),0),n.entries=[e],r(!0))})})(e=>{oq("ttfb",{metric:e}),_=e})}function oY(){return((e,t={})=>{if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;let n=og();oE(()=>{let r;"interactionCount"in performance||m||(m=oS("event",oC,{type:"event",buffered:!0,durationThreshold:0}));let a=oy("INP"),i=ov(t,oN),o=e=>{oA(()=>{for(let t of e)i._processEntry(t);let t=i._estimateP98LongestInteraction();
19t&&t._latency!==a.value&&(a.value=t._latency,a.entries=t.entries,r())})},s=oS("event",o,{durationThreshold:t.durationThreshold??40});r=ol(e,a,oM,t.reportAllChanges),s&&(s.observe({type:"first-input",buffered:!0}),n.onHidden(()=>{o(s.takeRecords()),r(!0)}))})})(e=>{oq("inp",{metric:e}),v=e})}function oK(e,t,n,r,a=!1){let i;return oJ(e,t),oz[e]||(i=n(),oz[e]=!0),r&&t({metric:r}),oQ(e,t,a?i:void 0)}function oJ(e,t){oF[e]=oF[e]||[],oF[e].push(t)}function oQ(e,t,n){return()=>{n&&n();let r=oF[e];if(!r)return;let a=r.indexOf(t);-1!==a&&r.splice(a,1)}}function oZ(e){return"number"==typeof e&&isFinite(e)}function o0(e,t,n,{...r}){let a=nc(e).start_timestamp;return a&&a>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),n2(e,()=>{let e=n0({startTime:t,...r});return e&&e.end(n),e})}function o1(e){let t,n=tw();if(!n)return;let{name:r,transaction:a,attributes:i,startTime:o}=e,{release:s,environment:l,sendDefaultPii:u}=n.getOptions(),c=n.getIntegrationByName("Replay"),d=c?.getReplayId(),f=ty(),p=f.getUser(),h=void 0!==p?p.email||p.id||p.ip_address:void 0;try{t=f.getScopeData().contexts.profile.profile_id}catch{}return n0({name:r,attributes:{release:s,environment:l,user:h||void 0,profile_id:t||void 0,replay_id:d||void 0,transaction:a,"user_agent.original":et.navigator?.userAgent,"client.address":u?"{{auto}}":void 0,...i},startTime:o,experimental:{standalone:!0}})}function o2(){return et.addEventListener&&et.performance}function o3(e){return e/1e3}function o4(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function o5(e,t){let n,r,a=!1;function i(e){!a&&r&&t(e,r.spanContext().spanId,r),a=!0}od("visibilitychange",n=e=>{("pagehide"===e.type||et.document?.visibilityState==="hidden")&&(()=>{i("pagehide")})()},{capture:!0,once:!0}),od("pagehide",n,{capture:!0,once:!0});let o=e.on("beforeStartNavigationSpan",(e,t)=>{t?.isRedirect||(i("navigation"),o(),s())}),s=e.on("afterStartPageLoadSpan",e=>{r=e,s()})}let o6=[],o8=new Map,o7=new Map,o9={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"},se=({metric:e})=>{if(void 0==e.value)return;let t=o3(e.value);if(t>60)return;let n=e.entries.find(t=>t.duration===e.value&&o9[t.name]);if(!n)return;let{interactionId:r}=n,a=o9[n.name],i=o3(te()+n.startTime),o=nk(),s=o?nw(o):void 0,l=null!=r?o8.get(r):void 0,u=l?.span||s,c=u?nc(u).description:ty().getScopeData().transactionName,d=o1({name:l?.elementName||eR(n.target),transaction:c,attributes:{[tR]:"auto.http.browser.inp",[tP]:`ui.interaction.${a}`,[tM]:n.duration},startTime:i});d&&(d.addEvent("inp",{[tI]:"millisecond",[tO]:e.value}),d.end(i+t))};function st(e){return null!=e&&e>0&&e<=6e4}function sn(e){return e?((te()||performance.timeOrigin)+e)/1e3:e}function sr(e){let t={};if(void 0!=e.nextHopProtocol){let{name:n,version:r}=function(e){let t="unknown",n="unknown",r="";for(let a of e){if("/"===a){[t,n]=e.split("/");break}if(!isNaN(Number(a))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=a}return r===e&&(t=r),{name:t,version:n}}(e.nextHopProtocol);t["network.protocol.version"]=r,t["network.protocol.name"]=n}return te()||o2()?.timeOrigin?Object.fromEntries(Object.entries({...t,"http.request.redirect_start":sn(e.redirectStart),"http.request.redirect_end":sn(e.redirectEnd),"http.request.worker_start":sn(e.workerStart),"http.request.fetch_start":sn(e.fetchStart),"http.request.domain_lookup_start":sn(e.domainLookupStart),"http.request.domain_lookup_end":sn(e.domainLookupEnd),"http.request.connect_start":sn(e.connectStart),"http.request.secure_connection_start":sn(e.secureConnectionStart),"http.request.connection_end":sn(e.connectEnd),"http.request.request_start":sn(e.requestStart),"http.request.response_start":sn(e.responseStart),"http.request.response_end":sn(e.responseEnd),"http.request.time_to_first_byte":null!=e.responseStart?e.responseStart/1e3:void 0}).filter(([,e])=>null!=e)):t}let sa=0,si={};function so(e,t,n,r,a=n){var i;let o=t["secureConnection"===(i=n)?"connectEnd":"fetch"===i?"domainLookupStart":`${i}End`],s=t[`${n}Start`];s&&o&&o0(e,r+o3(s),r+o3(o),{op:`browser.${a}`,name:t.name,attributes:{[tR]:"auto.ui.browser.metrics",..."redirect"===n&&null!=t.redirectCount?{"http.redirect_count":t.redirectCount}:{}}})}function ss(e){let{name:t,op:n,origin:r,metricName:a,value:i,attributes:o,parentSpan:s,reportEvent:l,startTime:u,endTime:c}=e,d={[tR]:r,[tP]:n,[tM]:0,[`browser.web_vital.${a}.value`]:i,"sentry.transaction":ty().getScopeData().transactionName,"user_agent.original":et.navigator?.userAgent,...o};s&&nd(s).attributes?.[tP]==="pageload"&&(d["sentry.pageload.span_id"]=s.spanContext().spanId),l&&(d[`browser.web_vital.${a}.report_event`]=l);let f=n0({name:t,attributes:d,startTime:u,parentSpan:s});f&&f.end(c??u)}let sl="sentry_previous_trace";function su(e){return 1===e.traceFlags}function sc(e={}){let t=e.client||tw();if(!rP()||!t)return{};let n=tg(en());if(n.getTraceData)return n.getTraceData(e);let r=e.scope||ty(),i=e.span||nk();if(!i&&void 0!==a)return{};let o=i?ni(i):function(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return nt(t,r,n)}(r),s=t$(i?nO(i):nI(t,r));if(!t7.test(o))return ef.warn("Invalid sentry-trace data. Cannot generate trace data"),{};let l={"sentry-trace":o,baggage:s};return e.propagateTraceparent&&(l.traceparent=i?function(e){let{traceId:t,spanId:n}=e.spanContext();return nn(t,n,nm(e))}(i):function(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return nn(t,r,n)}(r)),l}function sd(e){return"string"==typeof e&&e.split(",").some(e=>e.trim().startsWith(tL))}function sf(e,t,n,r){let a={url:a7(e),type:"fetch","http.method":n,[tR]:r,[tP]:"http.client"};return t&&(a4(t)||(a["http.url"]=a7(t.href),a["server.address"]=t.host),t.search&&(a["http.query"]=t.search),t.hash&&(a["http.fragment"]=t.hash)),a}let sp=Symbol.for("sentry__originalRequestBody");function sh(e){return new URLSearchParams(e).toString()}function sm(e,t=ef){try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[sh(e)];if(!e)return[void 0]}catch(n){return iZ&&t.error(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return iZ&&t.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function sg(e=[]){if(e.length>=2&&e[1]&&"object"==typeof e[1]&&"body"in e[1])return e[1].body;if(e.length>=1&&e[0]instanceof Request){let t=e[0][sp];if(void 0!==t)return t}}function sy(e){let t;try{t=e.getAllResponseHeaders()}catch(t){return iZ&&ef.error(t,"Failed to get xhr response headers",e),{}}return t?t.split("\r\n").reduce((e,t)=>
19{let[n,r]=t.split(": ");return r&&(e[n.toLowerCase()]=r),e},{}):{}}function s_(e){try{return new URL(e,et.location.origin).href}catch{return}}function sv(e){try{return new Headers(e)}catch{return}}let sb=new WeakMap,sS=new Map,sw={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function sE(e,t){let{traceFetch:n,traceXHR:r,trackFetchStreamPerformance:a,shouldCreateSpanForRequest:i,enableHTTPTimings:o,tracePropagationTargets:s,onRequestSpanStart:l,onRequestSpanEnd:u}={...sw,...t},c="function"==typeof i?i:e=>!0,d=e=>(function(e,t){let n=eC();if(n){let r,a;try{r=new URL(e,n),a=new URL(n).origin}catch{return!1}let i=r.origin===a;return t?eZ(r.toString(),t)||i&&eZ(r.pathname,t):i}{let n=!!e.match(/^\/(?!\/)/);return t?eZ(e,t):n}})(e,s),f={},p=e.getOptions().propagateTraceparent;if(n){let t;e.addEventProcessor(e=>("transaction"===e.type&&e.spans&&e.spans.forEach(e=>{if("http.client"===e.op){let t=sS.get(e.span_id);t&&(e.timestamp=t/1e3,sS.delete(e.span_id))}}),e)),a&&(aB(t="fetch-body-resolved",e=>{if(e.response){let t=sb.get(e.response);t&&e.endTimestamp&&sS.set(t,e.endTimestamp)}}),aW(t,()=>aK(aQ))),aY(t=>{let n=function(e,t,n,r,a){if(!e.fetchData)return;let{method:i,url:o}=e.fetchData,s=tU()&&t(o);if(e.endTimestamp){var l,u,c;let t,n=e.fetchData.__span;if(!n)return;let i=r[n];i&&(s&&(function(e,t){if(t.response){tK(e,t.response.status);let n=t.response?.headers?.get("content-length");if(n){let t=parseInt(n);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:2,message:"internal_error"});e.end()}(i,e),l=i,u=e,t="object"==typeof(c=a)&&null!==c?c.onRequestSpanEnd:void 0,t?.(l,{headers:u.response?.headers,error:u.error})),delete r[n]);return}let{spanOrigin:d="auto.http.browser",propagateTraceparent:f=!1}="object"==typeof a?a:{spanOrigin:a},p=tw(),h=!!nk(),m=s&&h?n0(function(e,t,n){if(e.startsWith("data:")){let r=a7(e);return{name:`${t} ${r}`,attributes:sf(e,void 0,t,n)}}let r=a5(e),a=r?function(e){if(a4(e))return e.pathname;let t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}(r):e;return{name:`${t} ${a}`,attributes:sf(e,r,t,n)}}(o,i,d)):new nA;if(s&&!h&&p?.recordDroppedEvent("no_parent_span","span"),e.fetchData.__span=m.spanContext().spanId,r[m.spanContext().spanId]=m,n(e.fetchData.url)){let t=e.args[0],n={...e.args[1]||{}},r=function(e,t,n,r){var a,i;let o=sc({span:n,propagateTraceparent:r}),s=o["sentry-trace"],l=o.baggage,u=o.traceparent;if(!s)return;let c=t.headers||(eP(e)?e.headers:void 0);if(!c)return{...o};if(a=c,"u">typeof Headers&&ex(a,Headers)){let e=new Headers(c);if(e.get("sentry-trace")||e.set("sentry-trace",s),r&&u&&!e.get("traceparent")&&e.set("traceparent",u),l){let t=e.get("baggage");t?sd(t)||e.set("baggage",`${t},${l}`):e.set("baggage",l)}return e}if(Array.isArray(i=c)&&i.every(e=>Array.isArray(e)&&2===e.length&&"string"==typeof e[0])){let e=[...c];e.find(e=>"sentry-trace"===e[0])||e.push(["sentry-trace",s]),r&&u&&!e.find(e=>"traceparent"===e[0])&&e.push(["traceparent",u]);let t=c.find(e=>"baggage"===e[0]&&"string"==typeof e[1]&&sd(e[1]));return l&&!t&&e.push(["baggage",l]),e}{let e="sentry-trace"in c?c["sentry-trace"]:void 0,t="traceparent"in c?c.traceparent:void 0,n="baggage"in c?c.baggage:void 0,a=n?Array.isArray(n)?[...n]:[n]:[],i=n&&(Array.isArray(n)?n.find(e=>sd(e)):sd(n));l&&!i&&a.push(l);let o=Object.assign({},c,{"sentry-trace":e??s,baggage:a.length>0?a.join(","):void 0});return r&&u&&!t&&(o.traceparent=u),o}}(t,n,tU()&&h?m:void 0,f);r&&(e.args[1]=n,n.headers=r)}if(p){let t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};p.emit("beforeOutgoingRequestSpan",m,t)}return m}(t,c,d,f,{propagateTraceparent:p,onRequestSpanEnd:u});if(t.response&&t.fetchData.__span&&sb.set(t.response,t.fetchData.__span),n){let r=s_(t.fetchData.url),a=r?a6(r).host:void 0;n.setAttributes({"http.url":r?a7(r):void 0,"server.address":a}),o&&sk(n,e),l?.(n,{headers:t.headers})}})}r&&ia(t=>{let n=function(e,t,n,r,a,i){let o=e.xhr,s=o?.[ir];if(!o||o.__sentry_own_request__||!s)return;let{url:l,method:u}=s,c=tU()&&t(l);
19if(e.endTimestamp){let t=o.__sentry_xhr_span_id__;if(!t)return;let n=r[t];n&&(c&&void 0!==s.status_code&&(tK(n,s.status_code),n.end(),i?.(n,{headers:sv(sy(o)),error:e.error})),delete r[t]);return}let d=s_(l),f=d?a6(d):a6(l),p=a7(a8(l)),h=tw(),m=!!nk(),g=c&&m?n0({name:`${u} ${p}`,attributes:{url:a7(l),type:"xhr","http.method":u,"http.url":d?a7(d):void 0,"server.address":f?.host,[tR]:"auto.http.browser",[tP]:"http.client",...f?.search&&{"http.query":f?.search},...f?.hash&&{"http.fragment":f?.hash}}}):new nA;return c&&!m&&h?.recordDroppedEvent("no_parent_span","span"),o.__sentry_xhr_span_id__=g.spanContext().spanId,r[o.__sentry_xhr_span_id__]=g,n(l)&&function(e,t,n){let{"sentry-trace":r,baggage:a,traceparent:i}=sc({span:t,propagateTraceparent:n});r&&function(e,t,n,r){let a=e.__sentry_xhr_v3__?.request_headers;if(!a?.["sentry-trace"]&&e.setRequestHeader)try{if(e.setRequestHeader("sentry-trace",t),r&&!a?.traceparent&&e.setRequestHeader("traceparent",r),n){let t=a?.baggage;t&&t.split(",").some(e=>e.trim().startsWith("sentry-"))||e.setRequestHeader("baggage",n)}}catch{}}(e,r,a,i)}(o,tU()&&m?g:void 0,a),h&&h.emit("beforeOutgoingRequestSpan",g,e),g}(t,c,d,f,p,u);n&&(o&&sk(n,e),l?.(n,{headers:sv(t.xhr.__sentry_xhr_v3__?.request_headers)}))})}function sk(e,t){let{url:n}=nc(e).data;if(!n||"string"!=typeof n)return;let r=()=>void setTimeout(a);if(tH(t)){let t=e.end.bind(e);e.end=e=>{let n=e??e7(),i=!1,o=()=>{i||(i=!0,setTimeout(a),t(n),clearTimeout(s))};r=o;let s=setTimeout(o,300)}}let a=oH("resource",({entries:t})=>{t.forEach(t=>{"resource"===t.entryType&&"initiatorType"in t&&"string"==typeof t.nextHopProtocol&&("fetch"===t.initiatorType||"xmlhttprequest"===t.initiatorType)&&t.name.endsWith(n)&&(e.setAttributes(sr(t)),r())})})}let sx=/Googlebot|Google-InspectionTool|Storebot-Google|Bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Facebot|facebookexternalhit|LinkedInBot|Twitterbot|Applebot/i;function sT(){let e=et.navigator;return!!e?.userAgent&&sx.test(e.userAgent)}let sP={...or,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...sw},sR=(e={})=>{let t,n,r;"enableElementTiming"in e&&el(()=>{console.warn("[Sentry] `enableElementTiming` is deprecated and no longer has any effect. Use the standalone `elementTimingIntegration` instead.")});let a={name:void 0,source:void 0},i=et.document,{enableInp:o,enableLongTask:s,enableLongAnimationFrame:l,_experiments:{enableInteractions:u,enableStandaloneClsSpans:c,enableStandaloneLcpSpans:d},beforeStartSpan:f,idleTimeout:p,finalTimeout:h,childSpanTimeout:m,markBackgroundSpan:g,traceFetch:y,traceXHR:v,trackFetchStreamPerformance:w,shouldCreateSpanForRequest:E,enableHTTPTimings:k,ignoreResourceSpans:x,ignorePerformanceApiSpans:T,instrumentPageLoad:P,instrumentNavigation:R,detectRedirects:C,linkPreviousTrace:I,consistentTraceSampling:O,enableReportPageLoaded:N,onRequestSpanStart:A,onRequestSpanEnd:M}={...sP,...e},L=sT();function D(e,n,o=!0){let s="pageload"===n.op,l=n.name,u=f?f(n):n,g=u.attributes||{};if(l!==u.name&&(g[tk]="custom",u.attributes=g),!o){let e=e8();n0({...u,startTime:e}).end(e);return}a.name=u.name,a.source=g[tk];let y=oa(u,{idleTimeout:p,finalTimeout:h,childSpanTimeout:m,disableAutoFinish:s,beforeSpanEnd:n=>{t?.();let a=tH(e);!function(e,t){let n=o2(),r=te();if(!n?.getEntries||!r)return;let{spanStreamingEnabled:a,ignorePerformanceApiSpans:i,ignoreResourceSpans:o,recordClsOnPageloadSpan:s,recordLcpOnPageloadSpan:l}=t,u=o3(r),c=n.getEntries(),{op:d,start_timestamp:f}=nc(e);if(c.slice(sa).forEach(t=>{let n=o3(t.startTime),r=o3(Math.max(0,t.duration));if("navigation"!==d||!f||!(u+n<f))switch(t.entryType){case"navigation":var a,s,l,c,p,h;let m,g,y;a=e,s=t,l=u,["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(e=>{so(a,s,e,l)}),so(a,s,"secureConnection",l,"TLS/SSL"),so(a,s,"fetch",l,"cache"),so(a,s,"domainLookup",l,"DNS"),c=a,p=s,m=(h=l)+o3(p.requestStart),g=h+o3(p.responseEnd),y=h+o3(p.responseStart),p.responseEnd&&(o0(c,m,g,{op:"browser.request",name:p.name,attributes:{[tR]:"auto.ui.browser.metrics"}}),o0(c,y,g,{op:"browser.response",name:p.name,attributes:{[tR]:"auto.ui.browser.metrics"}}));break;
19case"mark":case"paint":case"measure":{!function(e,t,n,r,a,i){if(function(e){if(e?.entryType==="measure")try{return"Components â"===e.detail.devtools.track}catch{return}}(t)||["mark","measure"].includes(t.entryType)&&eZ(t.name,i))return;let o=ou(!1),s=a+Math.max(n,o3(o?o.requestStart:0)),l=a+n,u=l+r,c={[tR]:"auto.resource.browser.metrics"};s!==l&&(c["sentry.browser.measure_happened_before_request"]=!0,c["sentry.browser.measure_start_time"]=s),function(e,t){try{let n=t.detail;if(!n)return;if("object"==typeof n){for(let[t,r]of Object.entries(n))if(r&&eS(r))e[`sentry.browser.measure.detail.${t}`]=r;else if(void 0!==r)try{e[`sentry.browser.measure.detail.${t}`]=JSON.stringify(r)}catch{}return}if(eS(n)){e["sentry.browser.measure.detail"]=n;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(n)}catch{}}catch{}}(c,t),s<=u&&o0(e,s,u,{name:t.name,op:t.entryType,attributes:c})}(e,t,n,r,u,i);let a=og(),o=t.startTime<a.firstHiddenTime;"first-paint"===t.name&&o&&(si.fp={value:t.startTime,unit:"millisecond"}),"first-contentful-paint"===t.name&&o&&(si.fcp={value:t.startTime,unit:"millisecond"});break}case"resource":!function(e,t,n,r,a,i,o){var s,l;if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let u=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(o?.includes(u))return;let c={[tR]:"auto.resource.browser.metrics"},d=a6(n);d.protocol&&(c["url.scheme"]=d.protocol.split(":").pop()),d.host&&(c["server.address"]=d.host),c["url.same_origin"]=n.includes(et.location.origin),s=t,l=c,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]].forEach(([e,t])=>{let n=s[e];null!=n&&("number"==typeof n&&n<0x7fffffff||"string"==typeof n)&&(l[t]=n)});let f={...c,...sr(t)},p=i+r;o0(e,p,p+a,{name:n.replace(et.location.origin,""),op:u,attributes:f})}(e,t,t.name,n,r,u,o)}}),sa=Math.max(c.length-1,0),function(e,t){let n=et.navigator;if(!n)return;let r=n.connection;r&&(r.effectiveType&&e.setAttribute(t?"network.connection.effective_type":"effectiveConnectionType",r.effectiveType),r.type&&e.setAttribute(t?"network.connection.type":"connectionType",r.type),oZ(r.rtt)&&(si["connection.rtt"]={value:r.rtt,unit:"millisecond"},t&&e.setAttribute("network.connection.rtt",r.rtt))),oZ(n.deviceMemory)&&(t?e.setAttribute("device.memory.estimated_capacity",n.deviceMemory):e.setAttribute("deviceMemory",`${n.deviceMemory} GB`)),oZ(n.hardwareConcurrency)&&(t?e.setAttribute("device.processor_count",n.hardwareConcurrency):e.setAttribute("hardwareConcurrency",String(n.hardwareConcurrency)))}(e,a),"pageload"===d){if(function(e){let t=ou(!1);if(!t)return;let{responseStart:n,requestStart:r}=t;r<=n&&(e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}(si),a){let t=(t,n,r)=>{let a=r??`browser.web_vital.${t}.value`;e.setAttribute(a,n),iZ&&ef.log("Setting web vital attribute",{[a]:n},"on pageload span")};["ttfb","fp","fcp"].forEach(e=>{si[e]&&t(e,si[e].value)}),si["ttfb.requestTime"]&&t("ttfb.requestTime",si["ttfb.requestTime"].value,"browser.web_vital.ttfb.request_time")}else{var p,h;s||delete si.cls,l||delete si.lcp,Object.entries(si).forEach(([e,t])=>{nV(e,t.value,t.unit)}),p=e,h=t,b&&h.recordLcpOnPageloadSpan&&(b.element&&p.setAttribute("lcp.element",eR(b.element)),b.id&&p.setAttribute("lcp.id",b.id),b.url&&p.setAttribute("lcp.url",b.url.trim().slice(0,200)),null!=b.loadTime&&p.setAttribute("lcp.loadTime",b.loadTime),null!=b.renderTime&&p.setAttribute("lcp.renderTime",b.renderTime),p.setAttribute("lcp.size",b.size)),S?.sources&&h.recordClsOnPageloadSpan&&S.sources.forEach((e,t)=>p.setAttribute(`cls.source.${t+1}`,eR(e.node)))}e.setAttribute(a?"browser.performance.time_origin":"performance.timeOrigin",u),e.setAttribute(a?"browser.performance.navigation.activation_start":"performance.activationStart",oc())}b=void 0,S=void 0,si={}}(n,{recordClsOnPageloadSpan:!a&&!c,recordLcpOnPageloadSpan:!a&&!d,ignoreResourceSpans:x,ignorePerformanceApiSpans:T,spanStreamingEnabled:a}),eN(e,sA,void 0);let i=ty(),o=i.getPropagationContext();i.setPropagationContext({...o,traceId:y.spanContext().traceId,sampled:nm(y),dsc:nO(n)}),s&&(r=void 0)},trimIdleSpanEndTimestamp:!N});function _(){i&&["interactive","complete"].includes(i.readyState)&&e.emit("idleSpanEnableAutoFinish",y)}s&&N&&(r=y),eN(e,sA,y),s&&!N&&i&&(i.addEventListener("readystatechange",()=>{_()}),_())}return{name:"BrowserTracing",setup(e){if(L){il&&ef.log("[Tracing] Skipping browserTracingIntegration setup for bot user agent.");return}oo();let a=tH(e);if(t=function({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:n}){let r=o2();if(r&&te()){r.mark&&et.performance.mark("sentry-tracing-init");let a=t?function(e){let t,n=0;if(!o4("largest-contentful-paint"))return;let r=oB(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&st(e.value)&&(n=e.value,t=r)},!0);o5(e,(e,a)=>{(function(e,t,n,r){if(!st(e))return;iZ&&ef.log(`Sending LCP span (${e})`);let a=o3((te()||0)+(t?.startTime||0)),i=ty().getScopeData().transactionName,o=t?eR(t.element):"Largest contentful paint",s={[tR]:"auto.http.browser.lcp",[tP]:"ui.webvital.lcp",[tM]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t&&(t.element&&(s["lcp.element"]=eR(t.element)),t.id&&(s["lcp.id"]=t.id),t.url&&(s["lcp.url"]=t.url),null!=t.loadTime&&(s["lcp.loadTime"]=t.loadTime),null!=t.renderTime&&(s["lcp.renderTime"]=t.renderTime),null!=t.size&&(s["lcp.size"]=t.size));let l=o1({name:o,transaction:i,attributes:s,startTime:a});l&&(l.addEvent("lcp",{[tI]:"millisecond",[tO]:e}),l.end(a))})(n,t,a,e),r()})}(n):!1===t?oB(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&st(e.value)&&(si.lcp={value:e.value,unit:"millisecond"},b=t)},!0):void 0,i=e?function(e){let t,n=0;if(!o4("layout-shift"))return;let r=oU(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&(n=e.value,t=r)},!0);o5(e,(e,a)=>{var i,o,s,l;let u,c,d,f,p;i=n,o=t,s=a,l=e,iZ&&ef.log(`Sending CLS span (${i})`),u=o?o3((te()||0)+o.startTime):e7(),c=ty().getScopeData().transactionName,d=o?eR(o.sources[0]?.node):"Layout shift",f={[tR]:"auto.http.browser.cls",[tP]:"ui.webvital.cls",[tM]:0,"sentry.pageload.span_id":s,"sentry.report_event":l}
19,o?.sources&&o.sources.forEach((e,t)=>{f[`cls.source.${t+1}`]=eR(e.node)}),(p=o1({name:d,transaction:c,attributes:f,startTime:u}))&&(p.addEvent("cls",{[tI]:"",[tO]:i}),p.end(u)),r()})}(n):!1===e?oU(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(si.cls={value:e.value,unit:""},S=t)},!0):void 0,o=oK("ttfb",({metric:e})=>{e.entries[e.entries.length-1]&&(si.ttfb={value:e.value,unit:"millisecond"})},oX,_);return()=>{o(),a?.(),i?.()}}return()=>void 0}({recordClsStandaloneSpans:a?void 0:c||!1,recordLcpStandaloneSpans:a?void 0:d||!1,client:e}),a?(!function(e){let t,n=0;if(!o4("largest-contentful-paint"))return;let r=oB(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&st(e.value)&&(n=e.value,t=r)},!0);o5(e,(e,a,i)=>{(function(e,t,n,r){if(!st(e))return;iZ&&ef.log(`Sending LCP span (${e})`);let a=te()||0,i=o3(a),o=o3(a+(t?.startTime||0)),s=t?eR(t.element):"Largest contentful paint",l={};t?.element&&(l["browser.web_vital.lcp.element"]=eR(t.element)),t?.id&&(l["browser.web_vital.lcp.id"]=t.id),t?.url&&(l["browser.web_vital.lcp.url"]=t.url),t?.loadTime!=null&&(l["browser.web_vital.lcp.load_time"]=t.loadTime),t?.renderTime!=null&&(l["browser.web_vital.lcp.render_time"]=t.renderTime),t?.size!=null&&(l["browser.web_vital.lcp.size"]=t.size),ss({name:s,op:"ui.webvital.lcp",origin:"auto.http.browser.lcp",metricName:"lcp",value:e,attributes:l,parentSpan:n,reportEvent:r,startTime:i,endTime:o})})(n,t,i,e),r()})}(e),!function(e){let t,n=0;if(!o4("layout-shift"))return;let r=oU(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&(n=e.value,t=r)},!0);o5(e,(e,a,i)=>{var o,s,l,u;let c,d,f;o=n,s=t,l=i,u=e,iZ&&ef.log(`Sending CLS span (${o})`),c=s?o3((te()||0)+s.startTime):e7(),d=s?eR(s.sources[0]?.node):"Layout shift",f={},s?.sources&&s.sources.forEach((e,t)=>{f[`browser.web_vital.cls.source.${t+1}`]=eR(e.node)}),ss({name:d,op:"ui.webvital.cls",origin:"auto.http.browser.cls",metricName:"cls",value:o,attributes:f,parentSpan:l,reportEvent:u,startTime:c}),r()})}(e),o&&o2()&&te()&&oW(({metric:e})=>{var t,n,r;let a,i,o,s,l,u,c,d;if(null==e.value||o3(e.value)>60)return;let f=e.entries.find(t=>t.duration===e.value&&o9[t.name]);f&&(t=e.value,n=f,iZ&&ef.log(`Sending INP span (${t})`),a=o3(te()+n.startTime),i=o3(t),o=o9[n.name],s=null!=(r=n.interactionId)?o8.get(r):void 0,u=(l=nk())?nw(l):void 0,d=(c=s?.span||u)?nd(c).name:ty().getScopeData().transactionName,ss({name:s?.elementName||eR(n.target),op:`ui.interaction.${o}`,origin:"auto.http.browser.inp",metricName:"inp",value:t,attributes:{[tM]:n.duration,"sentry.transaction":d},startTime:a,endTime:a+i,parentSpan:c}))})):o&&function(){if(o2()&&te()){let e=oW(se);()=>{e()}}}(),l&&et.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?.includes("long-animation-frame")?new PerformanceObserver(e=>{let t=nk();if(t)for(let n of e.getEntries()){if(!n.scripts[0])continue;let e=o3(te()+n.startTime),{start_timestamp:r,op:a}=nc(t);if("navigation"===a&&r&&e<r)continue;let i=o3(n.duration),o={[tR]:"auto.ui.browser.metrics"},{invoker:s,invokerType:l,sourceURL:u,sourceFunctionName:c,sourceCharPosition:d}=n.scripts[0];o["browser.script.invoker"]=s,o["browser.script.invoker_type"]=l,u&&(o["code.filepath"]=u),c&&(o["code.function"]=c),-1!==d&&(o["browser.script.source_char_position"]=d),o0(t,e,e+i,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:o})}}).observe({type:"long-animation-frame",buffered:!0}):s&&oH("longtask",({entries:e})=>{let t=nk();if(!t)return;let{op:n,start_timestamp:r}=nc(t);for(let a of e){let e=o3(te()+a.startTime),i=o3(a.duration);"navigation"===n&&r&&e<r||o0(t,e,e+i,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[tR]:"auto.ui.browser.metrics"}})}}),u&&oH("event",({entries:e})=>{let t=nk();if(t){for(let n of e)if("click"===n.name){let e=o3(te()+n.startTime),r=o3(n.duration),a={name:eR(n.target),op:`ui.interaction.${n.name}`,startTime:e,attributes:{[tR]:"auto.ui.browser.metrics"}},i=eI(n.target);i&&(a.attributes["ui.component_name"]=i),o0(t,e,e+r,a)}}}),C&&i){let e=()=>{n=e7()};addEventListener("click",e,{capture:!0}),addEventListener("keydown",e,{capture:!0,passive:!0})}function f(){let t=e[sA];t&&!nc(t).timestamp&&(il&&ef.log(`[Tracing] Finishing current active span with op: ${nc(t).op}`),t.setAttribute(tC,"cancelled"),t.end())}e.on("startNavigationSpan",(t,r)=>{if(tw()!==e)return;if(r?.isRedirect){il&&ef.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),D(e,{op:"navigation.redirect",...t},!1);return}n=void 0,f(),t_().setPropagationContext({traceId:e0(),sampleRand:Math.random(),propagationSpanId:tU()?void 0:tr()});let a=ty();a.setPropagationContext({traceId:e0(),sampleRand:Math.random(),propagationSpanId:tU()?void 0:tr()}),a.setSDKProcessingMetadata({normalizedRequest:void 0}),D(e,{op:"navigation",...t,parentSpan:null,forceTransaction:!0})}),e.on("startPageLoadSpan",(t,n={})=>
19{if(tw()!==e)return;f();let r=ne(n.sentryTrace||sO("sentry-trace")||sN("sentry-trace"),n.baggage||sO("baggage")||sN("baggage")),a=ty();a.setPropagationContext(r),tU()||(a.getPropagationContext().propagationSpanId=tr()),a.setSDKProcessingMetadata({normalizedRequest:aj()}),D(e,{op:"pageload",...t})}),e.on("endPageloadSpan",()=>{N&&r&&(r.setAttribute(tC,"reportPageLoaded"),r.end())})},afterAllSetup(e){var t,r,i,s,l;let c;if(L)return;let d=eC();if("off"!==I&&function(e,{linkPreviousTrace:t,consistentTraceSampling:n}){let r="session-storage"===t,a=r?function(){try{let e=et.sessionStorage?.getItem(sl);return JSON.parse(e)}catch{return}}():void 0;e.on("spanStart",e=>{if(nw(e)!==e)return;let t=ty().getPropagationContext();a=function(e,t,n){let r=nc(t),a={spanContext:t.spanContext(),startTimestamp:r.start_timestamp,sampleRate:function(){try{return Number(n.dsc?.sample_rate)??Number(r.data?.[tx])}catch{return 0}}(),sampleRand:n.sampleRand};if(!e)return a;let i=e.spanContext;return i.traceId===r.trace_id?e:(Date.now()/1e3-e.startTimestamp<=3600&&(il&&ef.log(`Adding previous_trace \`${JSON.stringify(i)}\` link to span \`${JSON.stringify({op:r.op,...t.spanContext()})}\``),t.addLink({context:i,attributes:{"sentry.link.type":"previous_trace"}}),t.setAttribute("sentry.previous_trace",`${i.traceId}-${i.spanId}-${+!!su(i)}`)),a)}(a,e,t),r&&function(e){try{et.sessionStorage.setItem(sl,JSON.stringify(e))}catch(e){il&&ef.warn("Could not store previous trace in sessionStorage",e)}}(a)});let i=!0;n&&e.on("beforeSampling",e=>{if(!a)return;let t=ty(),n=t.getPropagationContext();if(i&&n.parentSpanId){i=!1;return}t.setPropagationContext({...n,dsc:{...n.dsc,sample_rate:String(a.sampleRate),sampled:String(su(a.spanContext))},sampleRand:a.sampleRand}),e.parentSampled=su(a.spanContext),e.parentSampleRate=a.sampleRate,e.spanAttributes={...e.spanAttributes,[tT]:a.sampleRate}})}(e,{linkPreviousTrace:I,consistentTraceSampling:O}),et.location){if(P){let t=te();sC(e,{name:et.location.pathname,startTime:t?t/1e3:void 0,attributes:{[tk]:"url",[tR]:"auto.pageload.browser"}})}R&&io(({to:t,from:r})=>{var a,i;let o,s;if(void 0===r&&d?.indexOf(t)!==-1){d=void 0;return}d=void 0;let l=a5(t),u=e[sA],c=u&&C&&(a=u,i=n,o=nc(a),!((s=e8())-o.start_timestamp>1.5)&&(!i||!(s-i<=1.5)));sI(e,{name:l?.pathname||et.location.pathname,attributes:{[tk]:"url",[tR]:"auto.navigation.browser"}},{url:t,isRedirect:c})})}g&&(et.document?et.document.addEventListener("visibilitychange",()=>{let e=nk();if(!e)return;let t=nw(e);if(et.document.hidden&&t){let e="cancelled",{op:n,status:r}=nc(t);il&&ef.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${n}`),r||t.setStatus({code:2,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):il&&ef.warn("[Tracing] Could not set up background tab detection due to lack of global document")),u&&(t=e,r=p,i=h,s=m,l=a,et.document&&addEventListener("click",()=>{let e="ui.action.click",n=function(e){return e[sA]}(t);if(n&&["navigation","pageload"].includes(nc(n).op)){il&&ef.warn(`[Tracing] Did not create ${e} span because a pageload or navigation span is in progress.`);return}if(c&&(c.setAttribute(tC,"interactionInterrupted"),c.end(),c=void 0),!l.name){il&&ef.warn(`[Tracing] Did not create ${e} transaction because _latestRouteName is missing.`);return}c=oa({name:l.name,op:e,attributes:{[tk]:l.source||"url"}},{idleTimeout:r,finalTimeout:i,childSpanTimeout:s})},{capture:!0})),o&&function(){let e=Object.keys(o9);function t(e){let t=e.target;if(!t)return;let n=eR(t),r=Math.round(e.timeStamp);if(o7.set(r,n),o7.size>50){let e=o7.keys().next().value;void 0!==e&&o7.delete(e)}}os()&&e.forEach(e=>{et.addEventListener(e,t,{capture:!0,passive:!0})});let n=({entries:e})=>{let t=nk(),n=t&&nw(t);e.forEach(e=>{if(!("duration"in e))return;let t=e.interactionId;if(null==t||o8.has(t))return;let r=e.target?eR(e.target):function(e){let t=Math.round(e.startTime),n=o7.get(t);if(!n)for(let e=-5;e<=5;e++){let r=o7.get(t+e);if(r){n=r;break}}return n||"<unknown>"}(e);if(o6.length>10){let e=o6.shift();o8.delete(e)}o6.push(t),o8.set(t,{span:n,elementName:r})})};oH("event",n),oH("first-input",n)}(),sE(e,{traceFetch:y,traceXHR:v,trackFetchStreamPerformance:w,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:E,enableHTTPTimings:k,onRequestSpanStart:A,onRequestSpanEnd:M})}}};function sC(e,t,n){e.emit("startPageLoadSpan",t,n),ty().setTransactionName(t.name);
19let r=e[sA];return r&&e.emit("afterStartPageLoadSpan",r),r}function sI(e,t,n){let{url:r,isRedirect:a}=n||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:a}),e.emit("startNavigationSpan",t,{isRedirect:a});let i=ty();return i.setTransactionName(t.name),r&&!a&&i.setSDKProcessingMetadata({normalizedRequest:{...aj(),url:r}}),e[sA]}function sO(e){let t=et.document,n=t?.querySelector(`meta[name=${e}]`);return n?.getAttribute("content")||void 0}function sN(e){let t=et.performance?.getEntriesByType?.("navigation")[0],n=t?.serverTiming?.find(t=>t.name===e);return n?.description}let sA="_sentry_idleSpan",sM=null,sL=new Map,sD=new Map;function s$(e){let t=e.split("/").filter(Boolean),n=0;for(let e of t)if(e.startsWith(":")){let t=e.substring(1);t.endsWith("*?")?n+=1e3:t.endsWith("*")?n+=100:n+=10}return t.length>0&&(n+=1/t.length),n}function sj(e){if(sL.has(e))return sL.get(e)??null;try{let t=new RegExp(e);return sL.set(e,t),t}catch(t){return oe&&ef.warn("Could not compile regex",{regexString:e,error:t}),null}}function sF(){if(!et?._sentryRouteManifest||"string"!=typeof et._sentryRouteManifest)return null;let e=et._sentryRouteManifest;if(sM&&D===e)return sM;sL.clear(),sD.clear();let t={staticRoutes:[],dynamicRoutes:[],isrRoutes:[]};try{if(t=JSON.parse(e),!Array.isArray(t.staticRoutes)||!Array.isArray(t.dynamicRoutes))return null;return sM=t,D=e,t}catch{return oe&&ef.warn("Could not extract route manifest"),null}}let sz=e=>{let t=sF();if(!t)return;let n=e.length>1&&e.endsWith("/")?e.slice(0,-1):e;if(sD.has(n))return sD.get(n);let{staticRoutes:r,dynamicRoutes:a}=t;if(!Array.isArray(r)||!Array.isArray(a))return;let i=(function(e,t,n){let r=[];if(t.some(t=>t.path===e))return r;for(let t of n)if(t.regex){let n=sj(t.regex);n?.test(e)&&r.push(t.path)}if(!e.startsWith("/:")){for(let t of n)if(t.hasOptionalPrefix&&t.regex){let n="/"===e?"/SENTRY_OPTIONAL_PREFIX":`/SENTRY_OPTIONAL_PREFIX${e}`,a=sj(t.regex);a?.test(n)&&r.push(t.path)}}return r})(n,r,a).sort((e,t)=>s$(e)-s$(t))[0];return sD.set(n,i),i};function sU(e){return e.length>1&&e.endsWith("/")?e.slice(0,-1):e}let sB="incomplete-app-router-transaction",sW="router-patch",sH={current:void 0};function sq(e){try{return new URL(e,"http://example.com/").pathname}catch{return"/"}}let sV=new WeakSet;function sG(e,t,n){sV.has(t)||(sV.add(t),["back","forward","push","replace"].forEach(r=>{t?.[r]&&(t[r]=new Proxy(t[r],{apply(t,a,i){if("router-patch"!==sW)return t.apply(a,i);let o=sB,s={[tP]:"navigation",[tR]:"auto.navigation.nextjs.app_router_instrumentation",[tk]:"url"},l=i[0],u=Z.default.env._sentryBasePath??et._sentryBasePath,c=u&&"string"==typeof l&&!l.startsWith(u)?`${u}${l}`:l;"push"===r?(o=sU(sq(c)),s["navigation.type"]="router.push"):"replace"===r?(o=sU(sq(c)),s["navigation.type"]="router.replace"):"back"===r?s["navigation.type"]="router.back":"forward"===r&&(s["navigation.type"]="router.forward");let d=sz(o);return n.current=sI(e,{name:d??o,attributes:{...s,[tk]:d?"route":"url"}}),t.apply(a,i)}}))}))}var sX=e.i(396161);let sY=sX.default.events?sX.default:sX.default.default;function sK(e={}){let t=sR({...e,instrumentNavigation:!1,instrumentPageLoad:!1,onRequestSpanStart(...t){let[n,{headers:r}]=t;return r?.get("next-router-prefetch")&&n?.setAttribute("http.request.prefetch",!0),e.onRequestSpanStart?.(...t)}}),{instrumentPageLoad:n=!0,instrumentNavigation:r=!0}=e;return{...t,afterAllSetup(e){!sT()&&(r&&function(e){if(et.document.getElementById("__NEXT_DATA__"))sY.events.on("routeChangeStart",t=>{let n,r,a=a8(t),i=function(e){let t=et.__BUILD_MANIFEST?.sortedPages;if(t)return t.find(t=>{let n,r,a,i=(n=t.split("/"),r="",n[n.length-1]?.match(/^\[\[\.\.\..+\]\]$/)&&(n.pop(),r="(?:/(.+?))?"),a=n.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/"),RegExp(`^${a}${r}(?:/)?$`));return e.match(i)})}(a);i?(n=i,r="route"):(n=a,r="url"),sI(e,{name:n,attributes:{[tP]:"navigation",[tR]:"auto.navigation.nextjs.pages_router_instrumentation",[tk]:r}})});else{let t,n,r;$=(t,n)=>{let r=Z.default.env._sentryBasePath??et._sentryBasePath,a=sU(new URL(r&&!t.startsWith(r)?`${r}${t}`:t,et.location.href).pathname),i=sz(a),o=i??a;"router-patch"===sW&&(sW="transition-start-hook");let s=sH.current;s?(s.updateName(o),s.setAttributes({"navigation.type":`router.${n}`,[tk]:i?"route":"url"}),sH.current=void 0):sI(e,{name:o,attributes:{[tP]:"navigation",[tR]:"auto.navigation.nextjs.app_router_instrumentation",[tk]:i?"route":"url","navigation.type":`router.${n}`}})},et.addEventListener("popstate",()=>{let t=sU(et.location.pathname),n=sz(t);sH.current?.isRecording()?(sH.current.updateName(n??t),sH.current.setAttribute(tk,n?"route":"url")):sH.current=sI(e,{name:n??t,attributes:{[tR]:"auto.navigation.nextjs.app_router_instrumentation",[tk]:n?"route":"url","navigation.type":"browser.popstate"}})}),t=!1,n=0,r=setInterval(()=>{n++;let a=et?.next?.router??et?.nd?.router;t||n>500?clearInterval(r):a&&(clearInterval(r),t=!0,sG(e,a,sH),["nd","next"].forEach(t=>{let n=et[t];n&&(et[t]=new Proxy(n,{set:(t,n,r)=>("router"===n&&"object"==typeof r&&null!==r&&sG(e,r,sH),t[n]=r,!0)}))}))},20)}}(e),t.afterAllSetup(e),n&&function(e){if(et.document.getElementById("__NEXT_DATA__"))!function(e){let{route:t,params:n,sentryTrace:r,baggage:a}=function(){let e,t=et.document.getElementById("__NEXT_DATA__");if(t?.innerHTML)try{e=JSON.parse(t.innerHTML)}catch{oe&&ef.warn("Could not extract __NEXT_DATA__")}if(!e)return{};let n={},{page:r,query:a,props:i}=e;return n.route=r,n.params=a,i?.pageProps&&(n.sentryTrace=i.pageProps._sentryTraceData,n.baggage=i.pageProps._sentryBaggage),n}(),i=tj(a),o=t||et.location.pathname;i?.["sentry-transaction"]&&"/_error"===o&&(o=(o=i["sentry-transaction"]).replace(/^(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|TRACE|CONNECT)\s+/i,""));let s=te();sC(e,{name:o,startTime:s?s/1e3:void 0,attributes:{[tP]:"pageload",[tR]:"auto.pageload.nextjs.pages_router_instrumentation",[tk]:t?"route":"url",...n&&e.getOptions().sendDefaultPii&&{...n}}},{sentryTrace:r,baggage:a})}(e);else{let t,n,r;n=sz(t=sU(et.location.pathname)),sC(e,{name:n??t,startTime:(r=te())?r/1e3:void 0,attributes:{[tP]:"pageload",[tR]:"auto.pageload.nextjs.app_router_instrumentation",[tk]:n?"route":"url"}})}}(e))}}}let sJ=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function sQ(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let a=r>=0?e[r]:"/";a&&(t=`${a}/${t}`,n="/"===a.charAt(0))}return t=(function(e,t){let n=0;for(let t=e.length-1;t>=0;t--){let r=e[t];"."===r?e.splice(t,1):".."===r?(e.splice(t,1),n++):n&&(e.splice(t,1),n--)}if(t)for(;n--;)e.unshift("..");return e})(t.split("/").filter(e=>!!e),!n).join("/"),(n?"/":"")+t||"."}function sZ(e){let t=0;for(;t<e.length&&""===e[t];t++);let n=e.length-1;for(;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}let s0=(e={})=>{let t=e.root,n=e.prefix||"app:///",r="window"in et&&!!et.window,a=e.iteratee||function({isBrowser:e,root:t,prefix:n}){return r=>{if(!r.filename)return r;let a=/^[a-zA-Z]:\\/.test(r.filename)||r.filename.includes("\\")&&!r.filename.includes("/"),i=/^\//.test(r.filename);if(e){if(t){let e=r.filename;0===e.indexOf(t)&&(r.filename=e.replace(t,n))}}else if(a||i){let e,i,o=a?r.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):r.filename,s=t?function(e,t){e=sQ(e).slice(1),t=sQ(t).slice(1);let n=sZ(e.split("/")),r=sZ(t.split("/")),a=Math.min(n.length,r.length),i=a;for(let e=0;e<a;e++)if(n[e]!==r[e]){i=e;break}let o=[];for(let e=i;e<n.length;e++)o.push("..");return(o=o.concat(r.slice(i))).join("/")}(t,o):(e=o.length>1024?`<truncated>${o.slice(-1024)}`:o,(i=sJ.exec(e))?i.slice(1):[])[2]||"";r.filename=`${n}${s}`}return r}}({isBrowser:r,root:t,prefix:n});return{name:"RewriteFrames",processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>{var t;return{...e,...e.stacktrace&&{stacktrace:{...t=e.stacktrace,frames:t?.frames?.map(e=>a(e))}}}})}}}catch{return e}}(t)),t}}},s1=new class{constructor(e){this._maxSize=e,this._cache=new Map}get size(){return this._cache.size}get(e){let t=this._cache.get(e);if(void 0!==t)return this._cache.delete(e),this._cache.set(e,t),t}set(e,t){if(this._cache.size>=this._maxSize){let e=this._cache.keys().next().value;this._cache.delete(e)}this._cache.set(e,t)}remove(e){let t=this._cache.get(e);return t&&this._cache.delete(e),t}clear(){this._cache.clear()}keys(){return Array.from(this._cache.keys())}values(){let e=[];return this._cache.forEach(t=>e.push(t)),e}}(100),s2=!1;function s3(e,t={},n=ty()){let{message:r,name:a,email:i,url:o,source:s,associatedEventId:l,tags:u}=e,c={contexts:{feedback:{contact_email:i,name:a,message:r,url:o,source:s,associated_event_id:l}},type:"feedback",level:"info",tags:u},d=n?.getClient()||tw();return d&&d.emit("beforeSendFeedback",c,t),n.captureEvent(c,t)}e.s([],836775),e.i(836775),e.s([],167292),e.i(167292);let s4=et.document,s5=et.navigator,s6="Report a Bug",s8="Cancel",s7="Send Bug Report",s9="Confirm",le="Report a Bug",lt="[email protected]",ln="Email",lr="What's the bug? What did you expect?",la="Description",li="Your Name",lo="Name",ls="Thank y
19ou for your report!",ll="(required)",lu="Add a screenshot",lc="Remove screenshot",ld="Highlight",lf="Hide",lp="Remove",lh=(e,t={includeReplay:!0})=>{if(!e.message)throw Error("Unable to submit feedback with empty message");let n=tw();if(!n)throw Error("No client setup, cannot send feedback.");e.tags&&Object.keys(e.tags).length&&ty().setTags(e.tags);let r=s3({source:"api",url:eC(),...e},t);return new Promise((e,t)=>{let a=setTimeout(()=>t("Unable to determine if Feedback was correctly sent."),3e4),i=n.on("afterSendEvent",(n,o)=>{if(n.event_id===r)return(clearTimeout(a),i(),o?.statusCode&&o.statusCode>=200&&o.statusCode<300)?e(r):o?.statusCode===403?t("Unable to send feedback. This could be because this domain is not in your list of allowed domains."):t("Unable to send feedback. This could be because of network issues, or because you are using an ad-blocker.")})})},lm="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function lg(e,t){return{...e,...t,tags:{...e.tags,...t.tags},onFormOpen:()=>{t.onFormOpen?.(),e.onFormOpen?.()},onFormClose:()=>{t.onFormClose?.(),e.onFormClose?.()},onSubmitSuccess:(n,r)=>{t.onSubmitSuccess?.(n,r),e.onSubmitSuccess?.(n,r)},onSubmitError:n=>{t.onSubmitError?.(n),e.onSubmitError?.(n)},onFormSubmitted:()=>{t.onFormSubmitted?.(),e.onFormSubmitted?.()},themeDark:{...e.themeDark,...t.themeDark},themeLight:{...e.themeLight,...t.themeLight}}}function ly(e,t){return Object.entries(t).forEach(([t,n])=>{e.setAttributeNS(null,t,n)}),e}let l_="rgba(88, 74, 192, 1)",lv={foreground:"#2b2233",background:"#ffffff",accentForeground:"white",accentBackground:l_,successColor:"#268d75",errorColor:"#df3338",border:"1.5px solid rgba(41, 35, 47, 0.13)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(95%)"},lb={foreground:"#ebe6ef",background:"#29232f",accentForeground:"white",accentBackground:l_,successColor:"#2da98c",errorColor:"#f55459",border:"1.5px solid rgba(235, 230, 239, 0.15)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(150%)"};function lS(e){return` 20 --foreground: ${e.foreground}; 21 --background: ${e.background}; 22 --accent-foreground: ${e.accentForeground}; 23 --accent-background: ${e.accentBackground}; 24 --success-color: ${e.successColor}; 25 --error-color: ${e.errorColor}; 26 --border: ${e.border}; 27 --box-shadow: ${e.boxShadow}; 28 --outline: ${e.outline}; 29 --interactive-filter: ${e.interactiveFilter}; 30 `}function lw({colorScheme:e,themeDark:t,themeLight:n,styleNonce:r}){let a=s4.createElement("style");return a.textContent=` 31:host { 32 --font-family: system-ui, 'Helvetica Neue', Arial, sans-serif; 33 --font-size: 14px; 34 --z-index: 100000; 35 36 --page-margin: 16px; 37 --inset: auto 0 0 auto; 38 --actor-inset: var(--inset); 39 40 font-family: var(--font-family); 41 font-size: var(--font-size); 42 43 ${"system"!==e?`color-scheme: only ${e};`:""} 44 45 ${lS("dark"===e?{...lb,...t}:{...lv,...n})} 46} 47 48${"system"===e?` 49@media (prefers-color-scheme: dark) { 50 :host { 51 color-scheme: only dark; 52 53 ${lS({...lb,...t})} 54 } 55}`:""} 56`,r&&a.setAttribute("nonce",r),a}let lE=({lazyLoadIntegration:e,getModalIntegration:t,getScreenshotIntegration:n})=>({id:r="sentry-feedback",autoInject:a=!0,showBranding:i=!0,isEmailRequired:o=!1,isNameRequired:s=!1,showEmail:l=!0,showName:u=!0,enableScreenshot:c=!0,useSentryUser:d={email:"email",name:"username"},tags:f,styleNonce:p,scriptNonce:h,colorScheme:m="system",themeLight:g={},themeDark:y={},addScreenshotButtonLabel:_=lu,cancelButtonLabel:v=s8,confirmButtonLabel:b=s9,emailLabel:S=ln,emailPlaceholder:w=lt,formTitle:E=le,isRequiredLabel:k=ll,messageLabel:x=la,messagePlaceholder:T=lr,nameLabel:P=lo,namePlaceholder:R=li,removeScreenshotButtonLabel:C=lc,submitButtonLabel:I=s7,successMessageText:O=ls,triggerLabel:N=s6,triggerAriaLabel:A="",highlightToolText:M=ld,hideToolText:L=lf,removeHighlightText:D=lp,onFormOpen:$,onFormClose:j,onSubmitSuccess:F,onSubmitError:z,onFormSubmitted:U}={})=>{let B={id:r,autoInject:a,showBranding:i,isEmailRequired:o,isNameRequired:s,showEmail
56:l,showName:u,enableScreenshot:c,useSentryUser:d,tags:f,styleNonce:p,scriptNonce:h,colorScheme:m,themeDark:y,themeLight:g,triggerLabel:N,triggerAriaLabel:A,cancelButtonLabel:v,submitButtonLabel:I,confirmButtonLabel:b,formTitle:E,emailLabel:S,emailPlaceholder:w,messageLabel:x,messagePlaceholder:T,nameLabel:P,namePlaceholder:R,successMessageText:O,isRequiredLabel:k,addScreenshotButtonLabel:_,removeScreenshotButtonLabel:C,highlightToolText:M,hideToolText:L,removeHighlightText:D,onFormClose:j,onFormOpen:$,onSubmitError:z,onSubmitSuccess:F,onFormSubmitted:U},W=null,H=null,q=[],V=e=>{if(!W){let t=s4.createElement("div");t.id=String(e.id),s4.body.appendChild(t),W=t.attachShadow({mode:"open"}),H=lw(e),W.appendChild(H)}return W},G=async r=>{let a,i,o=r.enableScreenshot&&!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(s5.userAgent)||/Macintosh/i.test(s5.userAgent)&&s5.maxTouchPoints&&s5.maxTouchPoints>1)&&!!isSecureContext;try{a=(t?t():await e("feedbackModalIntegration",h))(),rD(a)}catch{throw lm&&ef.error("[Feedback] Error when trying to load feedback integrations. Try using `feedbackSyncIntegration` in your `Sentry.init`."),Error("[Feedback] Missing feedback modal integration!")}
56try{let t=o?n?n():await e("feedbackScreenshotIntegration",h):void 0;t&&(i=t(),rD(i))}catch{lm&&ef.error("[Feedback] Missing feedback screenshot integration. Proceeding without screenshots.")}let s=a.createDialog({options:{...r,onFormClose:()=>{s?.close(),r.onFormClose?.()},onFormSubmitted:()=>{s?.close(),r.onFormSubmitted?.()}},screenshotIntegration:i,sendFeedback:lh,shadow:V(r)});return s},X=(e,t={})=>{let n=lg(B,t),r="string"==typeof e?s4.querySelector(e):"function"==typeof e.addEventListener?e:null;if(!r)throw lm&&ef.error("[Feedback] Unable to attach to target element"),Error("Unable to attach to target element");let a=null,i=async()=>{a||(a=await G({...n,onFormSubmitted:()=>{a?.removeFromDom(),n.onFormSubmitted?.()}})),a.appendToDom(),a.open()};r.addEventListener("click",i);let o=()=>{q=q.filter(e=>e!==o),a?.removeFromDom(),a=null,r.removeEventListener("click",i)};return q.push(o),o},Y=(e={})=>{let t=lg(B,e),n=V(t),r=function({triggerLabel:e,triggerAriaLabel:t,shadow:n,styleNonce:r}){let a,i,o,s,l,u,c,d,f=s4.createElement("button");if(f.type="button",f.className="widget__actor",f.ariaHidden="false",f.ariaLabel=t||e||s6,f.appendChild((i=ly((a=e=>et.document.createElementNS("http://www.w3.org/2000/svg",e))("svg"),{width:"20",height:"20",viewBox:"0 0 20 20",fill:"var(--actor-color, var(--foreground))"}),o=ly(a("g"),{clipPath:"url(#clip0_57_80)"}),s=ly(a("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.6622 15H12.3997C12.2129 14.9959 12.031 14.9396 11.8747 14.8375L8.04965 12.2H7.49956V19.1C7.4875 19.3348 7.3888 19.5568 7.22256 19.723C7.05632 19.8892 6.83435 19.9879 6.59956 20H2.04956C1.80193 19.9968 1.56535 19.8969 1.39023 19.7218C1.21511 19.5467 1.1153 19.3101 1.11206 19.0625V12.2H0.949652C0.824431 12.2017 0.700142 12.1783 0.584123 12.1311C0.468104 12.084 0.362708 12.014 0.274155 11.9255C0.185602 11.8369 0.115689 11.7315 0.0685419 11.6155C0.0213952 11.4995 -0.00202913 11.3752 -0.00034808 11.25V3.75C-0.00900498 3.62067 0.0092504 3.49095 0.0532651 3.36904C0.0972798 3.24712 0.166097 3.13566 0.255372 3.04168C0.344646 2.94771 0.452437 2.87327 0.571937 2.82307C0.691437 2.77286 0.82005 2.74798 0.949652 2.75H8.04965L11.8747 0.1625C12.031 0.0603649 12.2129 0.00407221 12.3997 0H15.6622C15.9098 0.00323746 16.1464 0.103049 16.3215 0.278167C16.4966 0.453286 16.5964 0.689866 16.5997 0.9375V3.25269C17.3969 3.42959 18.1345 3.83026 18.7211 4.41679C19.5322 5.22788 19.9878 6.32796 19.9878 7.47502C19.9878 8.62209 19.5322 9.72217 18.7211 10.5333C18.1345 11.1198 17.3969 11.5205 16.5997 11.6974V14.0125C16.6047 14.1393 16.5842 14.2659 16.5395 14.3847C16.4948 14.5035 16.4268 14.6121 16.3394 14.7042C16.252 14.7962 16.147 14.8698 16.0307 14.9206C15.9144 14.9714 15.7891 14.9984 15.6622 15ZM1.89695 10.325H1.88715V4.625H8.33715C8.52423 4.62301 8.70666 4.56654 8.86215 4.4625L12.6872 1.875H14.7247V13.125H12.6872L8.86215 10.4875C8.70666 10.3835 8.52423 10.327 8.33715 10.325H2.20217C2.15205 10.3167 2.10102 10.3125 2.04956 10.3125C1.9981 10.3125 1.94708 10.3167 1.89695 10.325ZM2.98706 12.2V18.1625H5.66206V12.2H2.98706ZM16.5997 9.93612V5.01393C16.6536 5.02355 16.7072 5.03495 16.7605 5.04814C17.1202 5.13709 17.4556 5.30487 17.7425 5.53934C18.0293 5.77381 18.2605 6.06912 18.4192 6.40389C18.578 6.73866 18.6603 7.10452 18.6603 7.47502C18.6603 7.84552 18.578 8.21139 18.4192 8.54616C18.2605 8.88093 18.0293 9.17624 17.7425 9.41071C17.4556 9.64518 17.1202 9.81296 16.7605 9.90191C16.7072 9.91509 16.6536 9.9265 16.5997 9.93612Z"}),i.appendChild(o).appendChild(s),l=a("defs"),u=ly(a("clipPath"),{id:"clip0_57_80"}),c=ly(a("rect"),{width:"20",height:"20",fill:"white"}),u.appendChild(c),l.appendChild(u),i.appendChild(l).appendChild(u).appendChild(c),i)),e){let t=s4.createElement("span");t.appendChild(s4.createTextNode(e)),f.appendChild(t)}let p=((d=s4.createElement("style")).textContent=` 57.widget__actor { 58 position: fixed; 59 z-index: var(--z-index); 60 margin: var(--page-margin); 61 inset: var(--actor-inset); 62 63 display: flex; 64 align-items: center; 65 gap: 8px; 66 padding: 16px; 67 68 font-family: inherit; 69 font-size: var(--font-size); 70 font-weight: 600; 71 line-height: 1.14em; 72 text-decoration: none; 73 74 background: var(--actor-background, var(--background)); 75 border-radius: var(--actor-border-radius, 1.7em/50%); 76 border: var(--actor-border, var(--border));
77 box-shadow: var(--actor-box-shadow, var(--box-shadow)); 78 color: var(--actor-color, var(--foreground)); 79 fill: var(--actor-color, var(--foreground)); 80 cursor: pointer; 81 opacity: 1; 82 transition: transform 0.2s ease-in-out; 83 transform: translate(0, 0) scale(1); 84} 85.widget__actor[aria-hidden="true"] { 86 opacity: 0; 87 pointer-events: none; 88 visibility: hidden; 89 transform: translate(0, 16px) scale(0.98); 90} 91 92.widget__actor:hover { 93 background: var(--actor-hover-background, var(--background)); 94 filter: var(--interactive-filter); 95} 96 97.widget__actor svg { 98 width: 1.14em; 99 height: 1.14em; 100} 101 102@media (max-width: 600px) { 103 .widget__actor span { 104 display: none; 105 } 106} 107`,r&&d.setAttribute("nonce",r),d);return{el:f,appendToDom(){n.appendChild(p),n.appendChild(f)},removeFromDom(){f.remove(),p.remove()},show(){f.ariaHidden="false"},hide(){f.ariaHidden="true"}}}({triggerLabel:t.triggerLabel,triggerAriaLabel:t.triggerAriaLabel,shadow:n,styleNonce:p});return X(r.el,{...t,onFormOpen(){r.hide()},onFormClose(){r.show()},onFormSubmitted(){r.show()}}),r};return{name:"Feedback",setupOnce(){os()&&B.autoInject&&("loading"===s4.readyState?s4.addEventListener("DOMContentLoaded",()=>Y().appendToDom()):Y().appendToDom())},attachTo:X,createWidget(e={}){let t=Y(lg(B,e));return t.appendToDom(),t},createForm:async(e={})=>G(lg(B,e)),setTheme(e){if(B.colorScheme=e,W){let e=lw(B);H?W.replaceChild(e,H):W.prepend(e),H=e}},remove(){W&&(W.parentElement?.remove(),W=null,H=null),q.forEach(e=>e()),q=[]}}};function lk(){let e=tw();return e?.getIntegrationByName("Feedback")}var lx,lT,lP,lR,lC,lI,lO,lN={},lA=[],lM=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,lL=Array.isArray;function lD(e,t){for(var n in t)e[n]=t[n];return e}function l$(e){var t=e.parentNode;t&&t.removeChild(e)}
vendor: 5,729 bytes, line 107
107function lj(e,t,n){var r,a,i,o={};for(i in t)"key"==i?r=t[i]:"ref"==i?a=t[i]:o[i]=t[i];if(arguments.length>2&&(o.children=arguments.length>3?lx.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===o[i]&&(o[i]=e.defaultProps[i]);return lF(e,o,r,a,null)}function lF(e,t,n,r,a){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==a?++lP:a,__i:-1,__u:0};return null==a&&null!=lT.vnode&&lT.vnode(i),i}function lz(e){return e.children}function lU(e,t){this.props=e,this.context=t}function lB(e,t){if(null==t)return e.__?lB(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?lB(e):null}function lW(e){(!e.__d&&(e.__d=!0)&&lR.push(e)&&!lH.__r++||lC!==lT.debounceRendering)&&((lC=lT.debounceRendering)||lI)(lH)}function lH(){var e,t,n,r=[],a=[];for(lR.sort(lO);e=lR.shift();)e.__d&&(n=lR.length,t=function(e,t,n){var r,a=e.__v,i=a.__e,o=e.__P;if(o)return(r=lD({},a)).__v=a.__v+1,lT.vnode&&lT.vnode(r),lK(o,r,a,e.__n,void 0!==o.ownerSVGElement,32&a.__u?[i]:null,t,null==i?lB(a):i,!!(32&a.__u),n),r.__.__k[r.__i]=r,r.__d=void 0,r.__e!=i&&function e(t){var n,r;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,n=0;n<t.__k.length;n++)if(null!=(r=t.__k[n])&&null!=r.__e){t.__e=t.__c.base=r.__e;break}return e(t)}}(r),r}(e,r,a)||t,0===n||lR.length>n?(lJ(r,t,a),a.length=r.length=0,t=void 0,lR.sort(lO)):t&&lT.__c&&lT.__c(t,lA));t&&lJ(r,t,a),lH.__r=0}function lq(e,t,n,r,a,i,o,s,l,u,c){var d,f,p,h,m,g=r&&r.__k||lA,y=t.length;for(n.__d=l,function(e,t,n){var r,a,i,o,s,l=t.length,u=n.length,c=u,d=0;for(e.__k=[],r=0;r<l;r++)null!=(a=e.__k[r]=null==(a=t[r])||"boolean"==typeof a||"function"==typeof a?null:"string"==typeof a||"number"==typeof a||"bigint"==typeof a||a.constructor==String?lF(null,a,null,null,a):lL(a)?lF(lz,{children:a},null,null,null):void 0===a.constructor&&a.__b>0?lF(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):a)?(a.__=e,a.__b=e.__b+1,s=function(e,t,n,r){var a=e.key,i=e.type,o=n-1,s=n+1,l=t[n];if(null===l||l&&a==l.key&&i===l.type)return n;if(r>+(null!=l&&0==(131072&l.__u)))for(;o>=0||s<t.length;){if(o>=0){if((l=t[o])&&0==(131072&l.__u)&&a==l.key&&i===l.type)return o;o--}if(s<t.length){if((l=t[s])&&0==(131072&l.__u)&&a==l.key&&i===l.type)return s;s++}}return -1}(a,n,o=r+d,c),a.__i=s,i=null,-1!==s&&(c--,(i=n[s])&&(i.__u|=131072)),null==i||null===i.__v?(-1==s&&d--,"function"!=typeof a.type&&(a.__u|=65536)):s!==o&&(s===o+1?d++:s>o?c>l-o?d+=s-o:d--:d=s<o&&s==o-1?s-o:0,s!==r+d&&(a.__u|=65536))):(i=n[r])&&null==i.key&&i.__e&&(i.__e==e.__d&&(e.__d=lB(i)),lZ(i,i,!1),n[r]=null,c--);if(c)for(r=0;r<u;r++)null!=(i=n[r])&&0==(131072&i.__u)&&(i.__e==e.__d&&(e.__d=lB(i)),lZ(i,i))}(n,t,g),l=n.__d,d=0;d<y;d++)null!=(p=n.__k[d])&&"boolean"!=typeof p&&"function"!=typeof p&&(f=-1===p.__i?lN:g[p.__i]||lN,p.__i=d,lK(e,p,f,a,i,o,s,l,u,c),h=p.__e,p.ref&&f.ref!=p.ref&&(f.ref&&lQ(f.ref,null,p),c.push(p.ref,p.__c||h,p)),null==m&&null!=h&&(m=h),65536&p.__u||f.__k===p.__k?l=function e(t,n,r){var a,i;if("function"==typeof t.type){for(a=t.__k,i=0;a&&i<a.length;i++)a[i]&&(a[i].__=t,n=e(a[i],n,r));return n}t.__e!=n&&(r.insertBefore(t.__e,n||null),n=t.__e);do n=n&&n.nextSibling;while(null!=n&&8===n.nodeType)return n}(p,l,e):"function"==typeof p.type&&void 0!==p.__d?l=p.__d:h&&(l=h.nextSibling),p.__d=void 0,p.__u&=-196609);n.__d=l,n.__e=m}function lV(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||lM.test(t)?n:n+"px"}function lG(e,t,n,r,a){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||lV(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||lV(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=Date.now(),e.addEventListener(t,i?lY:lX,i)):e.removeEventListener(t,i?lY:lX,i);else{if(a)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&"role"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function lX(e){if(this.l){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(lT.event?lT.event(e):e)}}function lY(e){if(this.l)return this.l[e.type+!0](lT.event?lT.event(e):e)}function lK(e,t,n,r,a,i,o,s,l,u){var c,d,f,p,h,m,g,y,_,v,b,S,w,E,k,x=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=t.__e=n.__e]),(c=lT.__b)&&c(t);e:if("function"==typeof x)try{if(y=t.props,_=(c=x.contextType)&&r[c.__c],v=c?_?_.props.value:c.__:r,n.__c?g=(d=t.__c=n.__c).__=d.__E:("prototype"in x&&x.prototype.render?t.__c=d=new x(y,v):(t.__c=d=new lU(y,v),d.constructor=x,d.render=l0),_&&_.sub(d),d.props=y,d.state||(d.state={}),d.context=v,d.__n=r,f=d.__d=!0,d.__h=[],d._sb=[]),null==d.__s&&(d.__s=d.state),null!=x.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=lD({},d.__s)),lD(d.__s,x.getDerivedStateFromProps(y,d.__s))),p=d.props,h=d.state,d.__v=t,f)null==x.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==x.getDerivedStateFromProps&&y!==p&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(y,v),!d.__e&&(null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(y,d.__s,v)||t.__v===n.__v)){for(t.__v!==n.__v&&(d.props=y,d.state=d.__s,d.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEac
107h(function(e){e&&(e.__=t)}),b=0;b<d._sb.length;b++)d.__h.push(d._sb[b]);d._sb=[],d.__h.length&&o.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(y,d.__s,v),null!=d.componentDidUpdate&&d.__h.push(function(){d.componentDidUpdate(p,h,m)})}if(d.context=v,d.props=y,d.__P=e,d.__e=!1,S=lT.__r,w=0,"prototype"in x&&x.prototype.render){for(d.state=d.__s,d.__d=!1,S&&S(t),c=d.render(d.props,d.state,d.context),E=0;E<d._sb.length;E++)d.__h.push(d._sb[E]);d._sb=[]}else do d.__d=!1,S&&S(t),c=d.render(d.props,d.state,d.context),d.state=d.__s;while(d.__d&&++w<25)d.state=d.__s,null!=d.getChildContext&&(r=lD(lD({},r),d.getChildContext())),f||null==d.getSnapshotBeforeUpdate||(m=d.getSnapshotBeforeUpdate(p,h)),lq(e,lL(k=null!=c&&c.type===lz&&null==c.key?c.props.children:c)?k:[k],t,n,r,a,i,o,s,l,u),d.base=t.__e,t.__u&=-161,d.__h.length&&o.push(d),g&&(d.__E=d.__=null)}catch(e){t.__v=null,l||null!=i?(t.__e=s,t.__u|=l?160:32,i[i.indexOf(s)]=null):(t.__e=n.__e,t.__k=n.__k),lT.__e(e,t,n)}else null==i&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,r,a,i,o,s,l){var u,c,d,f,p,h,m,g=n.props,y=t.props,_=t.type;if("svg"===_&&(a=!0),null!=i){for(u=0;u<i.length;u++)if((p=i[u])&&"setAttribute"in p==!!_&&(_?p.localName===_:3===p.nodeType)){e=p,i[u]=null;break}}if(null==e){if(null===_)return document.createTextNode(y);e=a?document.createElementNS("http://www.w3.org/2000/svg",_):document.createElement(_,y.is&&y),i=null,s=!1}if(null===_)g===y||s&&e.data===y||(e.data=y);else{if(i=i&&lx.call(e.childNodes),g=n.props||lN,!s&&null!=i)for(g={},u=0;u<e.attributes.length;u++)g[(p=e.attributes[u]).name]=p.value;for(u in g)p=g[u],"children"==u||("dangerouslySetInnerHTML"==u?d=p:"key"===u||u in y||lG(e,u,null,p,a));for(u in y)p=y[u],"children"==u?f=p:"dangerouslySetInnerHTML"==u?c=p:"value"==u?h=p:"checked"==u?m=p:"key"===u||s&&"function"!=typeof p||g[u]===p||lG(e,u,p,g[u],a);if(c)s||d&&(c.__html===d.__html||c.__html===e.innerHTML)||(e.innerHTML=c.__html),t.__k=[];else if(d&&(e.innerHTML=""),lq(e,lL(f)?f:[f],t,n,r,a&&"foreignObject"!==_,i,o,i?i[0]:n.__k&&lB(n,0),s,l),null!=i)for(u=i.length;u--;)null!=i[u]&&l$(i[u]);s||(u="value",void 0===h||h===e[u]&&("progress"!==_||h)&&("option"!==_||h===g[u])||lG(e,u,h,g[u],!1),u="checked",void 0!==m&&m!==e[u]&&lG(e,u,m,g[u],!1))}return e}(n.__e,t,n,r,a,i,o,l,u);(c=lT.diffed)&&c(t)}function lJ(e,t,n){for(var r=0;r<n.length;r++)lQ(n[r],n[++r],n[++r]);lT.__c&&lT.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){lT.__e(e,t.__v)}})}function lQ(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){lT.__e(e,n)}}function lZ(e,t,n){var r,a;if(lT.unmount&&lT.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||lQ(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){lT.__e(e,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(a=0;a<r.length;a++)r[a]&&lZ(r[a],t,n||"function"!=typeof e.type);n||null==e.__e||l$(e.__e),e.__=e.__e=e.__d=void 0}function l0(e,t,n){return this.constructor(e,n)}lx=lA.slice,lT={__e:function(e,t,n,r){for(var a,i,o;t=t.__;)if((a=t.__c)&&!a.__)try{if((i=a.constructor)&&null!=i.getDerivedStateFromError&&(a.setState(i.getDerivedStateFromError(e)),o=a.__d),null!=a.componentDidCatch&&(a.componentDidCatch(e,r||{}),o=a.__d),o)return a.__E=a}catch(t){e=t}throw e}},lP=0,lU.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=lD({},this.state),"function"==typeof e&&(e=e(lD({},n),this.props)),e&&lD(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),lW(this))},lU.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),lW(this))},lU.prototype.render=lz,lR=[],lI="function"==typeof Promise?Promise.prototype.then.bind(Prom
107ise.resolve()):setTimeout,lO=function(e,t){return e.__v.__b-t.__v.__b},lH.__r=0;var l1,l2,l3,l4,l5=0,l6=[],l8=[],l7=lT,l9=l7.__b,ue=l7.__r,ut=l7.diffed,un=l7.__c,ur=l7.unmount,ua=l7.__;function ui(e,t){l7.__h&&l7.__h(l2,e,l5||t),l5=0;var n=l2.__H||(l2.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:l8}),n.__[e]}function uo(e){return l5=1,us(ug,e)}function us(e,t,n){var r=ui(l1++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ug(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=l2,!l2.u)){var a=function(e,t,n){if(!r.__c.__H)return!0;var a=r.__c.__H.__.filter(function(e){return!!e.__c});if(a.every(function(e){return!e.__N}))return!i||i.call(this,e,t,n);var o=!1;return a.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(o=!0)}}),!(!o&&r.__c.props===e)&&(!i||i.call(this,e,t,n))};l2.u=!0;var i=l2.shouldComponentUpdate,o=l2.componentWillUpdate;l2.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,a(e,t,n),i=r}o&&o.call(this,e,t,n)},l2.shouldComponentUpdate=a}return r.__N||r.__}function ul(e,t){var n=ui(l1++,4);!l7.__s&&um(n.__H,t)&&(n.__=e,n.i=t,l2.__h.push(n))}function uu(e,t){var n=ui(l1++,7);return um(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function uc(e,t){return l5=8,uu(function(){return e},t)}function ud(){for(var e;e=l6.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(up),e.__H.__h.forEach(uh),e.__H.__h=[]}catch(t){e.__H.__h=[],l7.__e(t,e.__v)}}l7.__b=function(e){l2=null,l9&&l9(e)},l7.__=function(e,t){t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ua&&ua(e,t)},l7.__r=function(e){ue&&ue(e),l1=0;var t=(l2=e.__c).__H;t&&(l3===l2?(t.__h=[],l2.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.__V=l8,e.__N=e.i=void 0})):(t.__h.forEach(up),t.__h.forEach(uh),t.__h=[],l1=0)),l3=l2},l7.diffed=function(e){ut&&ut(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==l6.push(t)&&l4===l7.requestAnimationFrame||((l4=l7.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),uf&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);uf&&(t=requestAnimationFrame(n))})(ud)),t.__H.__.forEach(function(e){e.i&&(e.__H=e.i),e.__V!==l8&&(e.__=e.__V),e.i=void 0,e.__V=l8})),l3=l2=null},l7.__c=function(e,t){t.some(function(e){try{e.__h.forEach(up),e.__h=e.__h.filter(function(e){return!e.__||uh(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],l7.__e(n,e.__v)}}),un&&un(e,t)},l7.unmount=function(e){ur&&ur(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{up(e)}catch(e){t=e}}),n.__H=void 0,t&&l7.__e(t,n.__v))};var uf="function"==typeof requestAnimationFrame;function up(e){var t=l2,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),l2=t}function uh(e){var t=l2;e.__c=e.__(),l2=t}function um(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function ug(e,t){return"function"==typeof t?t(e):t}let uy=Object.defineProperty({__proto__:null,useCallback:uc,useContext:function(e){var t=l2.context[e.__c],n=ui(l1++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(l2)),t.props.value):e.__},useDebugValue:function(e,t){l7.useDebugValue&&l7.useDebugValue(t?t(e):e)},useEffect:function(e,t){var n=ui(l1++,3);!l7.__s&&um(n.__H,t)&&(n.__=e,n.i=t,l2.__H.__h.push(n))},useErrorBoundary:function(e){var t=ui(l1++,10),n=uo();return t.__=e,l2.componentDidCatch||(l2.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]},useId:function(){var e=ui(l1++,11);if(!e.__){for(var t=l2.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__},useImperativeHandle:function(e,t,n){l5=6,ul(function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},null==n?n:n.concat(e))},useLayoutEffect:ul,useMemo:uu,useReducer:us,useRef:function(e){return l5=5,uu(function(){return{current:e}},[])},useState:uo},Symbol.toStringTag,{value:"Module"});function u_({options:e}){let t=uu(()=>{let e,t;return{__html:(e=ly(s4.createElementNS("http://www.w3.org/2000/svg","svg"),{width:"32",height:"30",viewBox:"0 0 72 66",fill:"inherit"}),t=ly(s4.createElementNS("http://www.w3.org/2000/svg","path"),{transform:"translate(11, 11)",d:"M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z"}),e.appendChild(t),e).outerHTML}},[]);return lj("h2",{class:"dialog__header"},lj("span",{class:"dialog__title"},e.formTitle),e.showBranding?lj("a",{class:"brand-link",target:"_blank",href:"https://sentry.io/welcome/",title:"Powered by Sentry",rel:"noopener noreferrer",dangerouslySetInnerHTML:t}):null)}function uv(e,t){let n=e.get(t);return"string"==typeof n?n.trim():""}function ub({options:e,defaultEmail:t,defaultName:n,onFormClose:r,onSubmit:a,onSubmitSuccess:i,onSubmitError:o,showEmail
107:s,showName:l,screenshotInput:u}){let{tags:c,addScreenshotButtonLabel:d,removeScreenshotButtonLabel:f,cancelButtonLabel:p,emailLabel:h,emailPlaceholder:m,isEmailRequired:g,isNameRequired:y,messageLabel:_,messagePlaceholder:v,nameLabel:b,namePlaceholder:S,submitButtonLabel:w,isRequiredLabel:E}=e,[k,x]=uo(!1),[T,P]=uo(null),[R,C]=uo(!1),I=u?.input,[O,N]=uo(null),A=uc(e=>{N(e),C(!1)},[]),M=uc(e=>{var t;let n,r=(n=[],(t={emailLabel:h,isEmailRequired:g,isNameRequired:y,messageLabel:_,nameLabel:b}).isNameRequired&&!e.name&&n.push(t.nameLabel),t.isEmailRequired&&!e.email&&n.push(t.emailLabel),e.message||n.push(t.messageLabel),n);return r.length>0?P(`Please enter in the following required fields: ${r.join(", ")}`):P(null),0===r.length},[h,g,y,_,b]);return lj("form",{class:"form",onSubmit:uc(async e=>{x(!0);try{if(e.preventDefault(),!(e.target instanceof HTMLFormElement))return;let t=new FormData(e.target),n=await (u&&R?u.value():void 0),r={name:uv(t,"name"),email:uv(t,"email"),message:uv(t,"message"),attachments:n?[n]:void 0};if(!M(r))return;try{let e=await a({name:r.name,email:r.email,message:r.message,source:"widget",tags:c},{attachments:r.attachments});i(r,e)}catch(e){lm&&ef.error(e),P(e),o(e)}}finally{x(!1)}},[u&&R,i,o])},I&&R?lj(I,{onError:A}):null,lj("fieldset",{class:"form__right","data-sentry-feedback":!0,disabled:k},lj("div",{class:"form__top"},T?lj("div",{class:"form__error-container"},T):null,l?lj("label",{for:"name",class:"form__label"},lj(uS,{label:b,isRequiredLabel:E,isRequired:y}),lj("input",{class:"form__input",defaultValue:n,id:"name",name:"name",placeholder:S,required:y,type:"text"})):lj("input",{"aria-hidden":!0,value:n,name:"name",type:"hidden"}),s?lj("label",{for:"email",class:"form__label"},lj(uS,{label:h,isRequiredLabel:E,isRequired:g}),lj("input",{class:"form__input",defaultValue:t,id:"email",name:"email",placeholder:m,required:g,type:"email"})):lj("input",{"aria-hidden":!0,value:t,name:"email",type:"hidden"}),lj("label",{for:"message",class:"form__label"},lj(uS,{label:_,isRequiredLabel:E,isRequired:!0}),lj("textarea",{autoFocus:!0,class:"form__input form__input--textarea",id:"message",name:"message",placeholder:v,required:!0,rows:5})),I?lj("label",{for:"screenshot",class:"form__label"},lj("button",{class:"btn btn--default",disabled:k,type:"button",onClick:()=>{N(null),C(e=>!e)}},R?f:d),O?lj("div",{class:"form__error-container"},O.message):null):null),lj("div",{class:"btn-group"},lj("button",{class:"btn btn--primary",disabled:k,type:"submit"},w),lj("button",{class:"btn btn--default",disabled:k,type:"button",onClick:r},p))))}function uS({label:e,isRequired:t,isRequiredLabel:n}){return lj("span",{class:"form__label__text"},e,t&&lj("span",{class:"form__label__text--required"},n))}function uw({open:e,onFormSubmitted:t,...n}){let r=n.options,a=uu(()=>{let e,t,n,r,a,i,o,s;return{__html:(t=ly((e=e=>et.document.createElementNS("http://www.w3.org/2000/svg",e))("svg"),{width:"16",height:"17",viewBox:"0 0 16 17",fill:"inherit"}),n=ly(e("g"),{clipPath:"url(#clip0_57_156)"}),r=ly(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z"}),a=ly(e("path"),{d:"M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173
10710.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z"}),t.appendChild(n).append(a,r),i=e("defs"),o=ly(e("clipPath"),{id:"clip0_57_156"}),s=ly(e("rect"),{width:"16",height:"16",fill:"white",transform:"translate(0 0.5)"}),o.appendChild(s),i.appendChild(o),t.appendChild(i).appendChild(o).appendChild(s),t).outerHTML}},[]),[i,o]=uo(null),s=uc(()=>{i&&(clearTimeout(i),o(null)),t()},[i]),l=uc((e,r)=>{n.onSubmitSuccess(e,r),o(setTimeout(()=>{t(),o(null)},5e3))},[t]);return lj(lz,null,i?lj("div",{class:"success__position",onClick:s},lj("div",{class:"success__content"},r.successMessageText,lj("span",{class:"success__icon",dangerouslySetInnerHTML:a}))):lj("dialog",{class:"dialog",onClick:r.onFormClose,open:e},lj("div",{class:"dialog__position"},lj("div",{class:"dialog__content",onClick:e=>{e.stopPropagation()}},lj(u_,{options:r}),lj(ub,{...n,onSubmitSuccess:l})))))}let uE=` 108.dialog { 109 position: fixed; 110 z-index: var(--z-index); 111 margin: 0; 112 inset: 0; 113 114 display: flex; 115 align-items: center; 116 justify-content: center; 117 padding: 0; 118 height: 100vh; 119 width: 100vw; 120 121 color: var(--dialog-color, var(--foreground)); 122 fill: var(--dialog-color, var(--foreground)); 123 line-height: 1.75em; 124 125 background-color: rgba(0, 0, 0, 0.05); 126 border: none; 127 inset: 0; 128 opacity: 1; 129 transition: opacity 0.2s ease-in-out; 130} 131 132.dialog__position { 133 position: fixed; 134 z-index: var(--z-index); 135 inset: var(--dialog-inset); 136 padding: var(--page-margin); 137 display: flex; 138 max-height: calc(100vh - (2 * var(--page-margin))); 139} 140@media (max-width: 600px) { 141 .dialog__position { 142 inset: var(--page-margin); 143 padding: 0; 144 } 145} 146 147.dialog__position:has(.editor) { 148 inset: var(--page-margin); 149 padding: 0; 150} 151 152.dialog:not([open]) { 153 opacity: 0; 154 pointer-events: none; 155 visibility: hidden; 156} 157.dialog:not([open]) .dialog__content { 158 transform: translate(0, -16px) scale(0.98); 159} 160 161.dialog__content { 162 display: flex; 163 flex-direction: column; 164 gap: 16px; 165 padding: var(--dialog-padding, 24px); 166 max-width: 100%; 167 width: 100%; 168 max-height: 100%; 169 overflow: auto; 170 171 background: var(--dialog-background, var(--background)); 172 border-radius: var(--dialog-border-radius, 20px); 173 border: var(--dialog-border, var(--border));
174 box-shadow: var(--dialog-box-shadow, var(--box-shadow)); 175 transform: translate(0, 0) scale(1); 176 transition: transform 0.2s ease-in-out; 177} 178 179`,uk=` 180.dialog__header { 181 display: flex; 182 gap: 4px; 183 justify-content: space-between; 184 font-weight: var(--dialog-header-weight, 600); 185 margin: 0; 186} 187.dialog__title { 188 align-self: center; 189 width: var(--form-width, 272px); 190} 191 192@media (max-width: 600px) { 193 .dialog__title { 194 width: auto; 195 } 196} 197 198.dialog__position:has(.editor) .dialog__title { 199 width: auto; 200} 201 202 203.brand-link { 204 display: inline-flex; 205} 206.brand-link:focus-visible { 207 outline: var(--outline); 208} 209`,ux=` 210.form { 211 display: flex; 212 overflow: auto; 213 flex-direction: row; 214 gap: 16px; 215 flex: 1 0; 216} 217 218.form fieldset { 219 border: none; 220 margin: 0; 221 padding: 0; 222} 223 224.form__right { 225 flex: 0 0 auto; 226 display: flex; 227 overflow: auto; 228 flex-direction: column; 229 justify-content: space-between; 230 gap: 20px; 231 width: var(--form-width, 100%); 232} 233 234.dialog__position:has(.editor) .form__right { 235 width: var(--form-width, 272px); 236} 237 238.form__top { 239 display: flex; 240 flex-direction: column; 241 gap: 8px; 242} 243 244.form__error-container { 245 color: var(--error-color); 246 fill: var(--error-color); 247} 248 249.form__label { 250 display: flex; 251 flex-direction: column; 252 gap: 4px; 253 margin: 0px; 254} 255 256.form__label__text { 257 display: flex; 258 gap: 4px; 259 align-items: center; 260} 261 262.form__label__text--required { 263 font-size: 0.85em; 264} 265 266.form__input { 267 font-family: inherit; 268 line-height: inherit; 269 background: transparent; 270 box-sizing: border-box; 271 border: var(--input-border, var(--border)); 272 border-radius: var(--input-border-radius, 6px); 273 color: var(--input-color, inherit); 274 fill: var(--input-color, inherit); 275 font-size: var(--input-font-size, inherit); 276 font-weight: var(--input-font-weight, 500); 277 padding: 6px 12px; 278} 279 280.form__input::placeholder { 281 opacity: 0.65; 282 color: var(--input-placeholder-color, inherit); 283 filter: var(--interactive-filter); 284} 285 286.form__input:focus-visible { 287 outline: var(--input-focus-outline, var(--outline)); 288} 289 290.form__input--textarea { 291 font-family: inherit; 292 resize: vertical; 293} 294 295.error { 296 color: var(--error-color); 297 fill: var(--error-color); 298} 299`,uT=` 300.btn-group { 301 display: grid; 302 gap: 8px; 303} 304 305.btn { 306 line-height: inherit; 307 border: var(--button-border, var(--border)); 308 border-radius: var(--button-border-radius, 6px); 309 cursor: pointer; 310 font-family: inherit; 311 font-size: var(--button-font-size, inherit); 312 font-weight: var(--button-font-weight, 600); 313 padding: var(--button-padding, 6px 16px); 314} 315.btn[disabled] { 316 opacity: 0.6; 317 pointer-events: none; 318} 319 320.btn--primary { 321 color: var(--button-primary-color, var(--accent-foreground)); 322 fill: var(--button-primary-color, var(--accent-foreground)); 323 background: var(--button-primary-background, var(--accent-background)); 324 border: var(--button-primary-border, var(--border)); 325 border-radius: var(--button-primary-border-radius, 6px); 326 font-weight: var(--button-primary-font-weight, 500); 327} 328.btn--primary:hover { 329 color: var(--button-primary-hover-color, var(--accent-foreground)); 330 fill: var(--button-primary-hover-color, var(--accent-foreground)); 331 background: var(--button-primary-hover-background, var(--accent-background)); 332 filter: var(--interactive-filter); 333} 334.btn--primary:focus-visible { 335 background: var(--button-primary-hover-background, var(--accent-background)); 336 filter: var(--interactive-filter); 337 outline: var(--button-primary-focus-outline, var(--outline)); 338} 339 340.btn--default { 341 color: var(--button-color, var(--foreground)); 342 fill: var(--button-color, var(--foreground)); 343 background: var(--button-background, var(--background)); 344 border: var(--button-border, var(--border)); 345 border-radius: var(--button-border-radius, 6px); 346 font-weight: var(--button-font-weight, 500); 347} 348.btn--default:hover { 349 color: var(--button-color, var(--foreground)); 350 fill: var(--button-color, var(--foreground)); 351 background: var(--button-hover-background, var(--background)); 352 filter: var(--interactive-filter); 353} 354.btn--default:focus-visible { 355 background: var(--button-hover-background, var(--background)); 356 filter: var(--interactive-filter); 357 outline: var(--button-focus-outline, var(--outline)); 358} 359`,uP=` 360.success__position { 361 position: fixed; 362 inset: var(--dialog-inset); 363 padding: var(--page-margin); 364 z-index: var(--z-index); 365} 366.success__content { 367 background: var(--success-background, var(--background)); 368 border: var(--success-border, var(--border)); 369 border-radius: var(--success-border-radius, 1.7em/50%);
370 box-shadow: var(--success-box-shadow, var(--box-shadow)); 371 font-weight: var(--success-font-weight, 600); 372 color: var(--success-color); 373 fill: var(--success-color); 374 padding: 12px 24px; 375 line-height: 1.75em; 376 377 display: grid; 378 align-items: center; 379 grid-auto-flow: column; 380 gap: 6px; 381 cursor: default; 382} 383 384.success__icon { 385 display: flex; 386} 387`,uR=()=>({name:"FeedbackModal",setupOnce(){},createDialog:({options:e,screenshotIntegration:t,sendFeedback:n,shadow:r})=>{var a;let i,o,s,l,u=e.useSentryUser,c=(i=ty().getUser(),o=t_().getUser(),s=tv().getUser(),i&&Object.keys(i).length?i:o&&Object.keys(o).length?o:s),d=s4.createElement("div"),f=(a=e.styleNonce,(l=s4.createElement("style")).textContent=` 388:host { 389 --dialog-inset: var(--inset); 390} 391 392${uE} 393${uk} 394${ux} 395${uT} 396${uP} 397`,a&&l.setAttribute("nonce",a),l),p="",h={get el(){return d},appendToDom(){r.contains(f)||r.contains(d)||(r.appendChild(f),r.appendChild(d))},removeFromDom(){d.remove(),f.remove(),s4.body.style.overflow=p},open(){g(!0),e.onFormOpen?.(),tw()?.emit("openFeedbackWidget"),p=s4.body.style.overflow,s4.body.style.overflow="hidden"},close(){g(!1),s4.body.style.overflow=p}},m=t?.createInput({h:lj,hooks:uy,dialog:h,options:e}),g=t=>{var r,a,i,o;r=lj(uw,{options:e,screenshotInput:m,showName:e.showName||e.isNameRequired,showEmail:e.showEmail||e.isEmailRequired,defaultName:String(u&&c?.[u.name]||""),defaultEmail:String(u&&c?.[u.email]||""),onFormClose:()=>{g(!1),e.onFormClose?.()},onSubmit:n,onSubmitSuccess:(t,n)=>{g(!1),e.onSubmitSuccess?.(t,n)},onSubmitError:t=>{e.onSubmitError?.(t)},onFormSubmitted:()=>{e.onFormSubmitted?.()},open:t}),lT.__&&lT.__(r,d),a=d.__k,i=[],o=[],lK(d,r=d.__k=lj(lz,null,[r]),a||lN,lN,void 0!==d.ownerSVGElement,a?null:d.firstChild?lx.call(d.childNodes):null,i,a?a.__e:d.firstChild,!1,o),r.__d=void 0,lJ(i,r,o)};return h}});function uC(e,t,n){if(!e)return;let r=e.getContext("2d",t);r&&n(e,r)}function uI(e,t){uC(e,{alpha:!0},(e,n)=>{n.drawImage(t,0,0,t.width,t.height,0,0,e.width,e.height)})}function uO(e,t,n){uC(e,{alpha:!0},(e,r)=>{n.length&&(r.fillStyle="rgba(0, 0, 0, 0.25)",r.fillRect(0,0,e.width,e.height)),n.forEach(e=>{switch(e.type){case"highlight":r.shadowColor="rgba(0, 0, 0, 0.7)",r.shadowBlur=50,r.fillStyle=t,r.fillRect(e.x-1,e.y-1,e.w+2,e.h+2),r.clearRect(e.x,e.y,e.w,e.h);break;case"hide":r.fillStyle="rgb(0, 0, 0)",r.fillRect(e.x,e.y,e.w,e.h)}})})}let uN=()=>({name:"FeedbackScreenshot",setupOnce(){},createInput:({h:e,hooks:t,dialog:n,options:r})=>{let a=s4.createElement("canvas");return{input:function({h:e,hooks:t,outputBuffer:n,dialog:r,options:a}){var i;let o,s,l,u=function({hooks:e}){return function({onBeforeScreenshot:t,onScreenshot:n,onAfterScreenshot:r,onError:a}){let i=function(){let[t,n]=e.useState(et.devicePixelRatio??1);return e.useEffect(()=>{let e=()=>{n(et.devicePixelRatio)},t=matchMedia(`(resolution: ${et.devicePixelRatio}dppx)`);return t.addEventListener("change",e),()=>{t.removeEventListener("change",e)}},[]),t}();e.useEffect(()=>{(async()=>{t();let e=await s5.mediaDevices.getDisplayMedia({video:{width:et.innerWidth*i,height:et.innerHeight*i},audio:!1,monitorTypeSurfaces:"exclude",preferCurrentTab:!0,selfBrowserSurface:"include",surfaceSwitching:"exclude"}),a=s4.createElement("video");await new Promise((t,r)=>{a.srcObject=e,a.onloadedmetadata=()=>{n(a,i),e.getTracks().forEach(e=>e.stop()),t()},a.play().catch(r)}),r()})().catch(a)},[])}}({hooks:t}),c=function({h:e}){return function({action:t,setAction:n,options:r}){return e("div",{class:"editor__tool-container"},e("div",{class:"editor__tool-bar"},e("button",{type:"button",class:`editor__tool ${"highlight"===t?"editor__tool--active":""}`,onClick:()=>{n("highlight"===t?"":"highlight")}},r.highlightToolText),e("button",{type:"button",class:`editor__tool ${"hide"===t?"editor__tool--active":""}`,onClick:()=>{n("hide"===t?"":"hide")}},r.hideToolText)))}}({h:e}),d=function({h:e}){return function(){return e("svg",{"data-test-id":"icon-close",viewBox:"0 0 16 16",fill:"#2B2233",height:"25px",width:"25px"},e("circle",{r:"7",cx:"8",cy:"8",fill:"white"}),e("path",{strokeWidth:"1.5",d:"M8,16a8,8,0,1,1,8-8A8,8,0,0,1,8,16ZM8,1.53A6.47,6.47,0,1,0,14.47,8,6.47,6.47,0,0,0,8,1.53Z"}),e("path",{strokeWidth:"1.5",d:"M5.34,11.41a.71.71,0,0,1-.53-.22.74.74,0,0,1,0-1.06l5.32-5.32a.75.75,0,0,1,1.06,1.06L5.87,11.19A.74.74,0,0,1,5.34,11.41Z"}),e("path",{strokeWidth:"1.5",d:"M10.66,11.41a.74.74,0,0,1-.53-.22L4.81,5.87A.75.75,0,0,1,5.87,4.81l5.32,5.32a.74.74,0,0,1,0,1.06A.71.71,0,0,1,10.66,11.41Z"}))}}({h:e}),f={__html:(i=a.styleNonce,o=s4.createElement("style"),s="#1A141F",l="#302735",o.textContent=` 398.editor { 399 display: flex; 400 flex-grow: 1; 401 flex-direction: column; 402} 403 404.editor__image-container { 405 justify-items: center; 406 padding: 15px; 407 position: relative; 408 height: 100%; 409 border-radius: var(--menu-border-radius, 6px); 410 411 background-color: ${s}; 412 background-image: repeating-linear-gradient( 413 -145deg, 414 transparent, 415 transparent 8px, 416 ${s} 8px, 417 ${s} 11px 418 ), 419 repeating-linear-gradient( 420 -45deg, 421 transparent, 422 transparent 15px, 423 ${l} 15px, 424 ${l} 16px 425 ); 426} 427 428.editor__canvas-container { 429 width: 100%; 430 height: 100%; 431 position: relative; 432 display: flex; 433 align-items: center; 434 justify-content: center; 435} 436 437.editor__canvas-container > * { 438 object-fit: contain; 439 position: absolute; 440} 441 442.editor__tool-container { 443 padding-top: 8px; 444 display: flex; 445 justify-content: center; 446} 447 448.editor__tool-bar { 449 display: flex; 450 gap: 8px; 451} 452 453.editor__tool { 454 display: flex; 455 padding: 8px 12px; 456 justify-content: center; 457 align-items: center; 458 border: var(--button-border, var(--border)); 459 border-radius: var(--button-border-radius, 6px); 460 background: var(--button-background, var(--background)); 461 color: var(--button-color, var(--foreground)); 462} 463 464.editor__tool--active { 465 background: var(--button-primary-background, var(--accent-background)); 466 color: var(--button-primary-color, var(--accent-foreground)); 467} 468 469.editor__rect { 470 position: absolute; 471 z-index: 2; 472} 473 474.editor__rect button { 475 opacity: 0; 476 position: absolute; 477 top: -12px; 478 right: -12px; 479 cursor: pointer; 480 padding: 0; 481 z-index: 3; 482 border: none; 483 background: none; 484} 485 486.editor__rect:hover button { 487 opacity: 1; 488} 489`,i&&o.setAttribute("nonce",i),o).innerText},p=r.el.style,h=({screenshot:r})=>{let[i,o]=t.useState("highlight"),[s,l]=t.useState([]),u=t.useRef(null),p=t.useRef(null),h=t.useRef(null),m=t.useRef(null),[g,y]=t.useState(1),_=t.useMemo(()=>{let e=s4.getElementById(a.id);if(!e)return"white";let t=getComputedStyle(e);return t.getPropertyValue("--button-primary-background")||t.getPropertyValue("--accent-background")},[a.id]);t.useLayoutEffect(()=>{let e=()=>{let t=u.current;t&&(uC(r.canvas,{alpha:!1},e=>
489{y(Math.min(t.clientWidth/e.width,t.clientHeight/e.height))}),(0===t.clientHeight||0===t.clientWidth)&&setTimeout(e,0))};return e(),et.addEventListener("resize",e),()=>{et.removeEventListener("resize",e)}},[r]);let v=t.useCallback((e,t)=>{uC(e,{alpha:!0},(e,n)=>{n.scale(t,t),e.width=r.canvas.width,e.height=r.canvas.height})},[r]);t.useEffect(()=>{v(p.current,r.dpi),uI(p.current,r.canvas)},[r]),t.useEffect(()=>{v(h.current,r.dpi),uC(h.current,{alpha:!0},(e,t)=>{t.clearRect(0,0,e.width,e.height)}),uO(h.current,_,s)},[s,_]),t.useEffect(()=>{v(n,r.dpi),uI(n,r.canvas),uC(s4.createElement("canvas"),{alpha:!0},(e,t)=>{t.scale(r.dpi,r.dpi),e.width=r.canvas.width,e.height=r.canvas.height,uO(e,_,s),uI(n,e)})},[s,r,_]);let b=t.useCallback(e=>t=>{t.preventDefault(),t.stopPropagation(),l(t=>{let n=[...t];return n.splice(e,1),n})},[]),S={width:`${r.canvas.width*g}px`,height:`${r.canvas.height*g}px`},w=e=>{e.stopPropagation()};return e("div",{class:"editor"},e("style",{nonce:a.styleNonce,dangerouslySetInnerHTML:f}),e("div",{class:"editor__image-container"},e("div",{class:"editor__canvas-container",ref:u},e("canvas",{ref:p,id:"background",style:S}),e("canvas",{ref:h,id:"foreground",style:S}),e("div",{ref:m,onMouseDown:e=>{if(!i||!m.current)return;let t=m.current.getBoundingClientRect(),n={type:i,x:e.offsetX/g,y:e.offsetY/g},r=(e,n)=>{let r=(n.clientX-t.x)/g,a=(n.clientY-t.y)/g;return{type:e.type,x:Math.min(e.x,r),y:Math.min(e.y,a),w:Math.abs(r-e.x),h:Math.abs(a-e.y)}},a=e=>{uC(h.current,{alpha:!0},(e,t)=>{t.clearRect(0,0,e.width,e.height)}),uO(h.current,_,[...s,r(n,e)])},o=e=>{let t=r(n,e);t.w*g>=1&&t.h*g>=1&&l(e=>[...e,t]),s4.removeEventListener("mousemove",a),s4.removeEventListener("mouseup",o)};s4.addEventListener("mousemove",a),s4.addEventListener("mouseup",o)},style:S},s.map((t,n)=>e("div",{key:n,class:"editor__rect",style:{top:`${t.y*g}px`,left:`${t.x*g}px`,width:`${t.w*g}px`,height:`${t.h*g}px`}},e("button",{"aria-label":a.removeHighlightText,onClick:b(n),onMouseDown:w,onMouseUp:w,type:"button"},e(d,null))))))),e(c,{options:a,action:i,setAction:o}))};return function({onError:r}){let[a,i]=t.useState();return(u({onBeforeScreenshot:t.useCallback(()=>{p.display="none"},[]),onScreenshot:t.useCallback((e,t)=>{uC(s4.createElement("canvas"),{alpha:!1},(n,r)=>{r.scale(t,t),n.width=e.videoWidth,n.height=e.videoHeight,r.drawImage(e,0,0,n.width,n.height),i({canvas:n,dpi:t})}),n.width=e.videoWidth,n.height=e.videoHeight},[]),onAfterScreenshot:t.useCallback(()=>{p.display="block"},[]),onError:t.useCallback(e=>{p.display="block",r(e)},[])}),a)?e(h,{screenshot:a}):e("div",null)}}({h:e,hooks:t,outputBuffer:a,dialog:n,options:r}),value:async()=>{let e=await new Promise(e=>
489{a.toBlob(e,"image/png")});if(e)return{data:new Uint8Array(await e.arrayBuffer()),filename:"screenshot.png",contentType:"application/png"}}}}}),uA=["replayIntegration","replayCanvasIntegration","feedbackIntegration","feedbackModalIntegration","feedbackScreenshotIntegration","captureConsoleIntegration","contextLinesIntegration","linkedErrorsIntegration","dedupeIntegration","extraErrorDataIntegration","graphqlClientIntegration","httpClientIntegration","reportingObserverIntegration","rewriteFramesIntegration","browserProfilingIntegration","moduleMetadataIntegration","instrumentAnthropicAiClient","instrumentOpenAiClient","instrumentGoogleGenAIClient","instrumentLangGraph","createLangChainCallbackHandler","instrumentLangChainEmbeddings"],uM={replayCanvasIntegration:"replay-canvas",feedbackModalIntegration:"feedback-modal",feedbackScreenshotIntegration:"feedback-screenshot"};async function uL(e,t){var n;let r,a=uA.includes(e)?uM[e]||e.replace("Integration","").toLowerCase():void 0,i=et.Sentry=et.Sentry||{};if(!a)throw Error(`Cannot lazy load integration: ${e}`);let o=i[e];if("function"==typeof o&&!("_isShim"in o))return o;let s=(n=a,r=tw(),new URL(`/${ee}/${n}.min.js`,r?.getOptions()?.cdnBaseUrl||"https://browser.sentry-cdn.com").toString()),l=et.document.createElement("script");l.src=s,l.crossOrigin="anonymous",l.referrerPolicy="strict-origin",t&&l.setAttribute("nonce",t);let u=new Promise((e,t)=>{l.addEventListener("load",()=>e()),l.addEventListener("error",t)}),c=et.document.currentScript,d=et.document.body||et.document.head||c?.parentElement;if(d)d.appendChild(l);else throw Error(`Could not find parent element to insert lazy-loaded ${e} script`);try{await u}catch{throw Error(`Error when loading integration: ${e}`)}let f=i[e];if("function"!=typeof f)throw Error(`Could not load integration: ${e}`);return f}let uD=lE({lazyLoadIntegration:uL}),u$=lE({getModalIntegration:()=>uR,getScreenshotIntegration:()=>uN}),uj="MULTIPLEXED_TRANSPORT_EXTRA_KEY";function uF(e,t){let n;return nj(e,(e,r)=>(t.includes(r)&&(n=Array.isArray(e)?e[1]:void 0),!!n)),n}function uz(e,t){return n=>{let r=e(n),a=new Map,i=t||(e=>{let t=e.getEvent();return t?.extra?.[uj]&&Array.isArray(t.extra[uj])?t.extra[uj]:[]});function o(t,r){let i=r?`${t}:${r}`:t,o=a.get(i);if(!o){let s=t4(t);if(!s)return;let l=rJ(s,n.tunnel);o=r?(t=>{let n=e(t);return{...n,send:async e=>{let t=uF(e,["event","transaction","profile","replay_event"]);return t&&(t.release=r),n.send(e)}}})({...n,url:l}):e({...n,url:l}),a.set(i,o)}return[t,o]}return{send:async function(e){let t=i({envelope:e,getEvent:function(t){return uF(e,t?.length?t:["event"])}}).map(e=>"string"==typeof e?o(e,void 0):o(e.dsn,e.release)).filter(e=>!!e),n=t.length?t:[["",r]];return(await Promise.all(n.map(([t,n])=>n.send(n$(t?{...e[0],dsn:t}:e[0],e[1])))))[0]},flush:async function(e){let t=[...a.values(),r];return(await Promise.all(t.map(t=>t.flush(e)))).every(e=>e)}}}}let uU=(e={})=>{let t=e.levels||eo,n=e.handled??!0;return{name:"CaptureConsole",setup(e){"console"in et&&aq(({args:r,level:a})=>{var i,o,s;let l,u,c;tw()===e&&t.includes(a)&&(i=r,o=a,s=n,l=a1(o),u=Error(),c={level:a1(o),extra:{arguments:i}},tb(e=>{if(e.addEventProcessor(e=>(e.logger="console",e4(e,{handled:s,type:"auto.core.capture_console"}),e)),"assert"===o){if(!i[0]){let t=`Assertion failed: ${eJ(i.slice(1)," ")||"console.assert"}`;e.setExtra("arguments",i.slice(1)),e.captureMessage(t,l,{captureContext:c,syntheticException:u})}return}let t=i.find(e=>e instanceof Error);if(t)return void rf(t,c);let n=eJ(i," ");e.captureMessage(n,l,{captureContext:c,syntheticException:u})}))})}}};function uB(e,t,n){var r,a,i;return"util"in et&&"function"==typeof et.util.format?et.util.format(...e):(r=e,a=t,i=n,r.map(e=>eS(e)?String(e):JSON.stringify(nD(e,a,i))).join(" "))}function uW(e){return/%[sdifocO]/.test(e)}function uH(e,t){let n={},r=Array(t.length).fill("{}").join(" ");return n["sentry.message.template"]=`${e} ${r}`,t.forEach((e,t)=>{n[`sentry.message.parameter.${t}`]=e}),n}let uq={[tR]:"auto.log.console"},uV=(e={})=>{let t=e.levels||eo;return{name:"ConsoleLogs",setup(e){let{enableLogs:n,normalizeDepth:r=3,normalizeMaxBreadth:a=1e3}=e.getOptions();if(!n){ei&&ef.warn("`enableLogs` is not enabled, ConsoleLogs integration disabled");return}aq(({args:n,level:i})=>{if(tw()!==e||!t.includes(i))return;let o=n[0],s=n.slice(1);if("assert"===i){o||r4({level:"error",message:s.length>0?`Assertion failed: ${uB(s,r,a)}`:"Assertion failed",attributes:uq});return}let l="log"===i,u=n.length>
4891&&"string"==typeof n[0]&&!uW(n[0]),c={...uq,...u?uH(o,s):{}};r4({level:l?"info":i,message:uB(n,r,a),severityNumber:l?10:void 0,attributes:c})})}}},uG=["trace","debug","info","warn","error","fatal"];function uX(e={}){let t=new Set(e.levels??uG),n=e.client;return{log(e){let{type:r,level:a,message:i,args:o,tag:s,date:l,...u}=e,c=n||tw();if(!c)return;let d=function(e,t){if("verbose"===e)return"debug";if("silent"===e)return"trace";if(e){let t=uY[e];if(t)return t}if("number"==typeof t){let e=uK[t];if(e)return e}return"info"}(r,a);if(!t.has(d))return;let{normalizeDepth:f=3,normalizeMaxBreadth:p=1e3}=c.getOptions(),h={};for(let[e,t]of Object.entries(u))h[e]=nD(t,f,p);h["sentry.origin"]="auto.log.consola",s&&(h["consola.tag"]=s),r&&(h["consola.type"]=r),null!=a&&"number"==typeof a&&(h["consola.level"]=a);let m=function(e,t,n){let{message:r,attributes:a,messageTemplate:i,messageParameters:o}=e,s={};if(i&&o)for(let[e,r]of Object.entries(uH(i,o)))s[e]=e.startsWith("sentry.message.parameter.")?nD(r,t,n):r;else o&&o.length>0&&o.forEach((e,r)=>{s[`sentry.message.parameter.${r}`]=nD(e,t,n)});return{message:r,attributes:{...nD(a,t,n),...s}}}(function(e,t,n){if(!e?.length)return{message:""};let r=uB(e,t,n),a=e[0];if(ew(a)){let t="string"==typeof e[1]?2:1;return{message:r,attributes:a,messageParameters:e.slice(t)}}{let t=e.slice(1),n=t.length>0&&"string"==typeof a&&!uW(a);return{message:r,messageTemplate:n?a:void 0,messageParameters:n?t:void 0}}}(o,f,p),f,p);m?.attributes&&Object.assign(h,m.attributes),r4({level:d,message:m?.message||i||o&&uB(o,f,p)||"",attributes:h})}}}let uY={silent:"trace",fatal:"fatal",error:"error",warn:"warn",log:"info",info:"info",success:"info",fail:"error",ready:"info",start:"info",box:"info",debug:"debug",trace:"trace",verbose:"debug",critical:"fatal",notice:"info"},uK={0:"fatal",1:"warn",2:"info",3:"info",4:"debug",5:"trace"},uJ="gen_ai.system",uQ="gen_ai.request.model",uZ="gen_ai.request.stream",u0="gen_ai.request.temperature",u1="gen_ai.request.max_tokens",u2="gen_ai.request.frequency_penalty",u3="gen_ai.request.presence_penalty",u4="gen_ai.request.top_p",u5="gen_ai.request.top_k",u6="gen_ai.request.encoding_format",u8="gen_ai.request.dimensions",u7="gen_ai.response.finish_reasons",u9="gen_ai.response.model",ce="gen_ai.response.id",ct="gen_ai.usage.input_tokens",cn="gen_ai.usage.output_tokens",cr="gen_ai.usage.total_tokens",ca="gen_ai.operation.name",ci="sentry.sdk_meta.gen_ai.input.messages.original_length",co="gen_ai.input.messages",cs="gen_ai.system_instructions",cl="gen_ai.response.text",cu="gen_ai.request.available_tools",cc="gen_ai.response.tool_calls",cd="gen_ai.agent.name",cf="gen_ai.conversation.id",cp="gen_ai.embeddings.input",ch="gen_ai.embeddings";function cm(e){var t,n,r,a,i,o,s,l;return!!e&&"object"==typeof e&&("type"in(t=e)&&"string"==typeof t.type&&"source"in t&&cm(t.source)||cy(e)||"image_url"in(n=e)&&("string"==typeof n.image_url?n.image_url.startsWith("data:"):cg(n))||c_(e)||cv(e)||"media_type"in(r=e)&&"string"==typeof r.media_type&&"data"in r||"type"in(a=e)&&"file"===a.type&&"mediaType"in a&&"string"==typeof a.mediaType&&"data"in a&&"string"==typeof a.data&&!a.data.startsWith("http://")&&!a.data.startsWith("https://")||"type"in(i=e)&&"image"===i.type&&"image"in i&&"string"==typeof i.image&&!i.image.startsWith("http://")&&!i.image.startsWith("https://")||"type"in(o=e)&&("blob"===o.type||"base64"===o.type)||"b64_json"in e||"type"in(s=e)&&"result"in s&&"image_generation"===s.type||"uri"in(l=e)&&"string"==typeof l.uri&&l.uri.startsWith("data:"))}function cg(e){return"image_url"in e&&!!e.image_url&&"object"==typeof e.image_url&&"url"in e.image_url&&"string"==typeof e.image_url.url&&e.image_url.url.startsWith("data:")}function cy(e){return"inlineData"in e&&!!e.inlineData&&"object"==typeof e.inlineData&&"data"in e.inlineData&&"string"==typeof e.inlineData.data}function c_(e){return"type"in e&&"input_audio"===e.type&&"input_audio"in e&&!!e.input_audio&&"object"==typeof e.input_audio&&"data"in e.input_audio&&"string"==typeof e.input_audio.data}function cv(e){return"type"in e&&"file"===e.type&&"file"in e&&!!e.file&&"object"==typeof e.file&&"file_data"in e.file&&"string"==typeof e.file.file_data}let cb="[Blob substitute]",cS=["image_url","data","content","b64_json","result","uri","image"];function cw(e){let t={...e};for(let n of(cm(t.source)&&(t.source=cw(t.source)),cy(e)&&(t.inlineData={...e.inlineData,data:cb}),cg(e)&&(t.image_url={...e.image_url,url:cb}),c_(e)&&(t.input_audio={...e.input_audio,data:cb}),cv(e)&&(t.file={...e.file,file_data:cb}),cS))"string"==typeof t[n]&&(t[n]=cb);return t}let cE=e=>new TextEncoder().encode(e).length,ck=e=>cE(JSON.stringify(e));function cx(e,t){if(cE(e)<=t)return e;let n=0,r=e.length,a="";for(;n<=r;){let i=Math.floor((n+r)/2),o=e.slice(0,i);cE(o)<=t?(a=o,n=i+1):r=i-1}return a}function cT(e,t){return"string"==typeof e?t:{...e,text:t}}function cP(e){return null!==e&&"object"==typeof e&&"content"in e&&Array.isArray(e.content)}function cR(e){return null!==e&&"object"==typeof e&&"parts"in e&&Array.isArray(e.parts)&&e.parts.length>0}function cC(e){let t=!!tw()?.getOptions().sendDefaultPii;return{...e,recordInputs:e?.recordInputs??t,recordOutputs:e?.recordOutputs??t}}function cI(e){let t=tw();return e??!(t&&tH(t))}function cO(e,t){return e?`${e}.${t}`:t}function cN(e,t,n){if(!e.isRecording())return;let r={"gen_ai.response.streaming":!0};t.responseId&&(r[ce]=t.responseId),t.responseModel&&(r[u9]=t.responseModel),void 0!==t.promptTokens&&(r[ct]=t.promptTokens),void 0!==t.completionTokens&&(r[cn]=t.completionTokens),void 0!==t.totalTokens?r[cr]=t.totalTokens:(void 0!==t.promptTokens||void 0!==t.completionTokens||void 0!==t.cacheCreationInputTokens||void 0!==t.cacheReadInputTokens)&&(r[cr]=(t.promptTokens??0)+(t.completionTokens??0)+(t.cacheCreationInputTokens??0)+(t.cacheReadInputTokens??0)),t.finishReasons.length&&(r[u7]=JSON.stringify(t.finishReasons)),n&&t.responseTexts.length&&(r[cl]=t.responseTexts.join("")),n&&t.toolCalls.length&&(r[cc]=JSON.stringify(t.toolCalls)),e.setAttributes(r),e.end()}function cA(e){return"string"==typeof e?e:JSON.stringify(e)}function cM(e){return"string"==typeof e?cx(e,2e4):Array.isArray(e)?JSON.stringify(function(e){if(!Array.isArray(e)||0===e.length)return e;let t=function e(t){return t.map(t=>{let n;return t&&"object"==typeof t&&(cP(t)?n={...t,content:e(t.content)}:"content"in t&&cm(t.content)&&(n={...t,content:cw(t.content)}),cR(t)&&(n={...n??t,parts:e(t.parts)}),cm(n)?n=cw(n):cm(t)&&(n=cw(t))),n??t})}([e[e.length-1]]),n=t[0];return 19998>=ck(n)?t:function(e){if(!e)return[];if("string"==typeof e){let t=cx(e,19998);return t?[t]:[]}if("object"!=typeof e)return[];if(null!==e&&"object"==typeof e&&"content"in e&&"string"==typeof e.content){let t=19998-ck({...e,content:""});if(t<=0)return[];let n=cx(e.content,t);return[{...e,content:n}]}return cP(e)||cR(e)?function(e,t){let{key:n,items:r}="parts"in e&&Array.isArray(e.parts)?{key:"parts",items:e.parts}
489:"content"in e&&Array.isArray(e.content)?{key:"content",items:e.content}:{key:null,items:[]};if(null===n||0===r.length)return[];let a=r.map(e=>cT(e,"")),i=t-ck({...e,[n]:a});if(i<=0)return[];let o=[];for(let e of r){let t="string"==typeof e?e:"text"in e&&"string"==typeof e.text?e.text:"",n=cE(t);if(n<=i)o.push(e),i-=n;else if(0===o.length){let n=cx(t,i);n&&o.push(cT(e,n));break}else break}return o.length<=0?[]:[{...e,[n]:o}]}(e,19998):[]}(n)}(e)):JSON.stringify(e)}function cL(e){if(!Array.isArray(e))return{systemInstructions:void 0,filteredMessages:e};let t=e.findIndex(e=>e&&"object"==typeof e&&"role"in e&&"system"===e.role);if(-1===t)return{systemInstructions:void 0,filteredMessages:e};let n=e[t],r="string"==typeof n.content?n.content:void 0!==n.content?JSON.stringify(n.content):void 0;return r?{systemInstructions:JSON.stringify([{type:"text",content:r}]),filteredMessages:[...e.slice(0,t),...e.slice(t+1)]}:{systemInstructions:void 0,filteredMessages:e}}async function cD(e,t,n){let r=e.catch(e=>{throw rf(e,{mechanism:{handled:!1,type:n}}),e}),a=await t,i=await r;return i&&"object"==typeof i&&"data"in i?{...i,data:a}:a}function c$(e,t,n){return ek(e)?new Proxy(e,{get(e,r){let a=r in Promise.prototype||r===Symbol.toStringTag?t:e,i=Reflect.get(a,r);return"withResponse"===r&&"function"==typeof i?function(){return cD(i.call(e),t,n)}:"function"==typeof i?i.bind(a):i}}):t}let cj="auto.ai.langchain",cF={human:"user",ai:"assistant",assistant:"assistant",system:"system",function:"function",tool:"tool"},cz=(e,t,n)=>{null!=n&&(e[t]=n)},cU=(e,t,n)=>{let r=Number(n);Number.isNaN(r)||(e[t]=r)};function cB(e){if("string"==typeof e)return e;try{return JSON.stringify(e)}catch{return String(e)}}function cW(e){if(Array.isArray(e))try{let t=e.map(e=>e&&"object"==typeof e&&cm(e)?cw(e):e);return JSON.stringify(t)}catch{return String(e)}return cB(e)}function cH(e){let t=e.toLowerCase();return cF[t]??t}function cq(e){return e.includes("System")?"system":e.includes("Human")?"user":e.includes("AI")||e.includes("Assistant")?"assistant":e.includes("Function")?"function":e.includes("Tool")?"tool":"user"}function cV(e){if(!(!e||Array.isArray(e)))return e.invocation_params}function cG(e){return e.map(e=>{let t=e._getType;if("function"==typeof t)return{role:cH(t.call(e)),content:cW(e.content)};if(1===e.lc&&e.kwargs){let t=e.id,n=Array.isArray(t)&&t.length>0?t[t.length-1]:"";return{role:cH("string"==typeof n?cq(n):"user"),content:cW(e.kwargs?.content)}}if(e.type)return{role:cH(String(e.type).toLowerCase()),content:cW(e.content)};if(e.role)return{role:cH(String(e.role)),content:cW(e.content)};let n=e.constructor?.name;return n&&"Object"!==n?{role:cH(cq(n)),content:cW(e.content)}:{role:"user",content:cW(e.content)}})}function cX(e,t,n,r,a){let i,o;return{[uJ]:cB(e??"langchain"),[ca]:"chat",[uQ]:cB(t),[tR]:cj,...(i={},o="kwargs"in n?n.kwargs:void 0,cU(i,u0,r?.temperature??a?.ls_temperature??o?.temperature),cU(i,u1,r?.max_tokens??a?.ls_max_tokens??o?.max_tokens),cU(i,u4,r?.top_p??o?.top_p),cU(i,u2,r?.frequency_penalty),cU(i,u3,r?.presence_penalty),r&&"stream"in r&&cz(i,uZ,!!r.stream),i)}}function cY(e={}){let{recordInputs:t,recordOutputs:n}=cC(e),r=cI(e.enableTruncation),a=new Map,i=e=>{let t=a.get(e);t?.isRecording()&&(t.end(),a.delete(e))},o={lc_serializable:!1,lc_namespace:["langchain_core","callbacks","sentry"],lc_secrets:void 0,lc_attributes:void 0,lc_aliases:void 0,lc_serializable_keys:void 0,lc_id:["langchain_core","callbacks","sentry"],lc_kwargs:{},name:"SentryCallbackHandler",ignoreLLM:!1,ignoreChain:!1,ignoreAgent:!1,ignoreRetriever:!1,ignoreCustomEvent:!1,raiseError:!1,awaitHandlers:!0,handleLLMStart(e,n,i,o,s,l,u,c){let d=function(e,t,n,r,a,i){let o=cX(i?.ls_provider,a?.model??i?.ls_model_name??"unknown",e,a,i);if(n&&Array.isArray(t)&&t.length>0){cz(o,ci,t.length);let e=t.map(e=>({role:"user",content:e}));cz(o,co,r?cM(e):cA(e))}return o}(e,n,t,r,cV(l),u),f=d[uQ],p=d[ca];nZ({name:`${p} ${f}`,op:"gen_ai.chat",attributes:{...d,[tP]:"gen_ai.chat"}},e=>(a.set(i,e),e))},handleChatModelStart(e,n,i,o,s,l,u,c){let d=function(e,t,n,r,a,i){let o=cX(i?.ls_provider??e.id?.[2],a?.model??i?.ls_model_name??"unknown",e,a,i);if(n&&Array.isArray(t)&&t.length>0){let{systemInstructions:e,filteredMessages:n}=cL(cG(t.flat()));
489e&&cz(o,cs,e),cz(o,ci,Array.isArray(n)?n.length:0),cz(o,co,r?cM(n):cA(n))}return o}(e,n,t,r,cV(l),u),f=d[uQ],p=d[ca];nZ({name:`${p} ${f}`,op:"gen_ai.chat",attributes:{...d,[tP]:"gen_ai.chat"}},e=>(a.set(i,e),e))},handleLLMEnd(e,t,r,o,s){let l=a.get(t);if(l?.isRecording()){let r=function(e,t){if(!e)return;let n={};if(Array.isArray(e.generations)){let a=e.generations.flat().map(e=>e.generationInfo?.finish_reason?e.generationInfo.finish_reason:e.generation_info?.finish_reason?e.generation_info.finish_reason:null).filter(e=>"string"==typeof e);a.length>0&&cz(n,u7,cB(a));var r=e.generations;let i=[];for(let e of r.flat()){let t=e.message?.content;if(Array.isArray(t))for(let e of t)"tool_use"===e.type&&i.push(e)}if(i.length>0&&cz(n,cc,cB(i)),t){let t=e.generations.flat().map(e=>e.text??e.message?.content).filter(e=>"string"==typeof e);t.length>0&&cz(n,cl,cB(t))}}!function(e,t){if(!e)return;let n=e.tokenUsage,r=e.usage;if(n)cU(t,ct,n.promptTokens),cU(t,cn,n.completionTokens),cU(t,cr,n.totalTokens);else if(r){cU(t,ct,r.input_tokens),cU(t,cn,r.output_tokens);let e=Number(r.input_tokens),n=Number(r.output_tokens),a=(Number.isNaN(e)?0:e)+(Number.isNaN(n)?0:n);a>0&&cU(t,cr,a),void 0!==r.cache_creation_input_tokens&&cU(t,"gen_ai.usage.cache_creation_input_tokens",r.cache_creation_input_tokens),void 0!==r.cache_read_input_tokens&&cU(t,"gen_ai.usage.cache_read_input_tokens",r.cache_read_input_tokens)}}(e.llmOutput,n);let a=e.llmOutput,i=e.generations?.[0]?.[0],o=i?.message,s=a?.model_name??a?.model??o?.response_metadata?.model_name;s&&cz(n,u9,s);let l=a?.id??o?.id;l&&cz(n,ce,l);let u=a?.stop_reason??o?.response_metadata?.finish_reason;return u&&cz(n,"gen_ai.response.stop_reason",cB(u)),n}(e,n);r&&l.setAttributes(r),i(t)}},handleLLMError(e,t){let n=a.get(t);n?.isRecording()&&(n.setStatus({code:2,message:"internal_error"}),i(t)),rf(e,{mechanism:{handled:!1,type:`${cj}.llm_error_handler`}})},handleChainStart(e,n,r,i,o,s,l,u){let c=u||e.name||"unknown_chain",d={[tR]:"auto.ai.langchain","langchain.chain.name":c};t&&(d["langchain.chain.inputs"]=JSON.stringify(n)),nZ({name:`chain ${c}`,op:"gen_ai.invoke_agent",attributes:{...d,[tP]:"gen_ai.invoke_agent"}},e=>(a.set(r,e),e))},handleChainEnd(e,t){let r=a.get(t);r?.isRecording()&&(n&&r.setAttributes({"langchain.chain.outputs":JSON.stringify(e)}),i(t))},handleChainError(e,t){let n=a.get(t);n?.isRecording()&&(n.setStatus({code:2,message:"internal_error"}),i(t)),rf(e,{mechanism:{handled:!1,type:`${cj}.chain_error_handler`}})},handleToolStart(e,n,r,i){let o=e.name||"unknown_tool",s={[tR]:cj,"gen_ai.tool.name":o};t&&(s["gen_ai.tool.input"]=n),nZ({name:`execute_tool ${o}`,op:"gen_ai.execute_tool",attributes:{...s,[tP]:"gen_ai.execute_tool"}},e=>(a.set(r,e),e))},handleToolEnd(e,t){let r=a.get(t);r?.isRecording()&&(n&&r.setAttributes({"gen_ai.tool.output":JSON.stringify(e)}),i(t))},handleToolError(e,t){let n=a.get(t);n?.isRecording()&&(n.setStatus({code:2,message:"internal_error"}),i(t)),rf(e,{mechanism:{handled:!1,type:`${cj}.tool_error_handler`}})},copy:()=>o,toJSON:()=>({lc:1,type:"not_implemented",id:o.lc_id}),toJSONNotImplemented:()=>({lc:1,type:"not_implemented",id:o.lc_id})};return o}let cK=(e={})=>{let{depth:t=3,captureErrorCause:n=!0}=e;return{name:"ExtraErrorData",processEvent(e,r,a){let{maxValueLength:i}=a.getOptions();return function(e,t={},n,r,a){if(!t.originalException||!em(t.originalException))return e;let i=t.originalException.name||t.originalException.constructor.name,o=function e(t,n,r){try{let a=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],i={};for(let e of Object.keys(t)){if(-1!==a.indexOf(e))continue;let n=t[e];i[e]=em(n)||"string"==typeof n?r?eY(`${n}`,r):`${n}`:n}if(n&&void 0!==t.cause&&(em(t.cause)?i.cause={[t.cause.name||t.cause.constructor.name]:e(t.cause,!1,r)}:i.cause=t.cause),"function"==typeof t.toJSON){let e=t.toJSON();for(let t of Object.keys(e)){let n=e[t];i[t]=em(n)?n.toString():n}}return i}catch(e){ei&&ef.error("Unable to extract extra data from the Error object:",e)}return null}(t.originalException,r,a);if(o){let t={...e.contexts},r=nD(o,n);return ew(r)&&(eN(r,"__sentry_skip_normalization__",!0),t[i]=r),{...e,contexts:t}}return e}(e,r,t,n,i)}}},cJ="flag.evaluation.";function cQ(e){if(e.type)return e;let t=ty().getScopeData().contexts.flags,n=t?t.values:[];return n.length&&(void 0===e.contexts&&(e.contexts={}),e.contexts.flags={values:[...n]}),e}function cZ(e,t,n=100){let r=ty().getScopeData().contexts;r.flags||(r.flags={values:[]}),function(e,t,n,r){if("boolean"!=typeof n)return;if(e.length>
489r){ei&&ef.error(`[Feature Flags] insertToFlagBuffer called on a buffer larger than maxSize=${r}`);return}let a=e.findIndex(e=>e.flag===t);-1!==a&&e.splice(a,1),e.length===r&&e.shift(),e.push({flag:t,result:n})}(r.flags.values,e,t,n)}function c0(e,t,n=10){if("boolean"!=typeof t)return;let r=nk();if(!r)return;let a=nc(r).data;`${cJ}${e}`in a?r.setAttribute(`${cJ}${e}`,t):Object.keys(a).filter(e=>e.startsWith(cJ)).length<n&&r.setAttribute(`${cJ}${e}`,t)}let c1=()=>({name:"FeatureFlags",processEvent:(e,t,n)=>cQ(e),addFeatureFlag(e,t){cZ(e,t),c0(e,t)}}),c2={"messages.create":{operation:"chat"},"messages.stream":{operation:"chat",streaming:!0},"messages.countTokens":{operation:"chat"},"models.get":{operation:"models"},"completions.create":{operation:"chat"},"models.retrieve":{operation:"models"},"beta.messages.create":{operation:"chat"}},c3={invalid_request_error:"invalid_argument",authentication_error:"unauthenticated",permission_error:"permission_denied",not_found_error:"not_found",request_too_large:"failed_precondition",rate_limit_error:"resource_exhausted",api_error:"internal_error",overloaded_error:"unavailable"};function c4(e){return e&&c3[e]||"internal_error"}function c5(e,t,n,r){if(e&&"object"==typeof e&&(!("type"in e)||"string"!=typeof e.type||"error"!==e.type||(r.setStatus({code:2,message:c4(e.error?.type)}),rf(e.error,{mechanism:{handled:!1,type:"auto.ai.anthropic.anthropic_error"}}),0))){if("message_delta"===e.type&&e.usage&&"output_tokens"in e.usage&&"number"==typeof e.usage.output_tokens&&(t.completionTokens=e.usage.output_tokens),e.message){let n=e.message;n.id&&(t.responseId=n.id),n.model&&(t.responseModel=n.model),n.stop_reason&&t.finishReasons.push(n.stop_reason),n.usage&&("number"==typeof n.usage.input_tokens&&(t.promptTokens=n.usage.input_tokens),"number"==typeof n.usage.cache_creation_input_tokens&&(t.cacheCreationInputTokens=n.usage.cache_creation_input_tokens),"number"==typeof n.usage.cache_read_input_tokens&&(t.cacheReadInputTokens=n.usage.cache_read_input_tokens))}"content_block_start"===e.type&&"number"==typeof e.index&&e.content_block&&("tool_use"===e.content_block.type||"server_tool_use"===e.content_block.type)&&(t.activeToolBlocks[e.index]={id:e.content_block.id,name:e.content_block.name,inputJsonParts:[]});if("content_block_delta"===e.type&&e.delta){if("number"==typeof e.index&&"partial_json"in e.delta&&"string"==typeof e.delta.partial_json){let n=t.activeToolBlocks[e.index];n&&n.inputJsonParts.push(e.delta.partial_json)}n&&"string"==typeof e.delta.text&&t.responseTexts.push(e.delta.text)}!function(e,t){let n;if("content_block_stop"!==e.type||"number"!=typeof e.index)return;let r=t.activeToolBlocks[e.index];if(!r)return;let a=r.inputJsonParts.join("");try{n=a?JSON.parse(a):{}}catch{n={__unparsed:a}}t.toolCalls.push({type:"tool_use",id:r.id,name:r.name,input:n}),delete t.activeToolBlocks[e.index]}(e,t)}}async function*c6(e,t,n){let r={responseTexts:[],finishReasons:[],responseId:"",responseModel:"",promptTokens:void 0,completionTokens:void 0,cacheCreationInputTokens:void 0,cacheReadInputTokens:void 0,toolCalls:[],activeToolBlocks:{}};try{for await(let a of e)c5(a,r,n,t),yield a}finally{cN(t,r,n)}}function c8(e,t,n){!function(e,t,n){if(Array.isArray(t)&&0===t.length)return;let{systemInstructions:r,filteredMessages:a}=cL(t);r&&e.setAttributes({[cs]:r});let i=Array.isArray(a)?a.length:1;e.setAttributes({[co]:n?cM(a):cA(a),[ci]:i})}(e,function(e){let{system:t,messages:n,input:r}=e,a="string"==typeof t?[{role:"system",content:e.system}]:[],i=Array.isArray(r)?r:null!=r?[r]:void 0,o=Array.isArray(n)?n:null!=n?[n]:[];return[...a,...i??o]}(t),n),"prompt"in t&&e.setAttributes({"gen_ai.prompt":JSON.stringify(t.prompt)})}function c7(e,t,n){throw rf(e,{mechanism:{handled:!1,type:"auto.ai.anthropic",data:{function:n}}}),t.isRecording()&&(t.setStatus({code:2,message:"internal_error"}),t.end()),e}function c9(e,t){return function e(t,n="",r){return new Proxy(t,{get(t,a){let i=t[a],o=cO(n,String(a)),s=c2[o];if("function"==typeof i&&s)return new Proxy(i,{apply(e,n,a){let l,u=s.operation||"unknown",c=function(e,t,n){let r={[uJ]:"anthropic",[ca]:n,[tR]:"auto.ai.anthropic"};if(e.length>0&&"object"==typeof e[0]&&null!==e[0]){let t=e[0];t.tools&&Array.isArray(t.tools)&&(r[cu]=JSON.stringify(t.tools)),r[uQ]=t.model??"unknown","temperature"in t&&(r[u0]=t.temperature),"top_p"in t&&(r[u4]=t.to
489p_p),"stream"in t&&(r[uZ]=t.stream),"top_k"in t&&(r[u5]=t.top_k),"frequency_penalty"in t&&(r[u2]=t.frequency_penalty),"max_tokens"in t&&(r[u1]=t.max_tokens)}else"models.retrieve"===t||"models.get"===t?r[uQ]=e[0]:r[uQ]="unknown";return r}(a,o,u),d=c[uQ]??"unknown",f="object"==typeof a[0]?a[0]:void 0,p=!!f?.stream,h=!0===s.streaming;if(p||h){let n=c[uQ]??"unknown",s={name:`${u} ${n}`,op:`gen_ai.${u}`,attributes:c};if(!p||h)return nZ(s,n=>{try{var i,s;let o;return r.recordInputs&&f&&c8(n,f,cI(r.enableTruncation)),i=e.apply(t,a),s=r.recordOutputs??!1,o={responseTexts:[],finishReasons:[],responseId:"",responseModel:"",promptTokens:void 0,completionTokens:void 0,cacheCreationInputTokens:void 0,cacheReadInputTokens:void 0,toolCalls:[],activeToolBlocks:{}},i.on("streamEvent",e=>{c5(e,o,s,n)}),i.on("message",()=>{cN(n,o,s)}),i.on("error",e=>{rf(e,{mechanism:{handled:!1,type:"auto.ai.anthropic.stream_error"}}),n.isRecording()&&(n.setStatus({code:2,message:"internal_error"}),n.end())}),i}catch(e){return c7(e,n,o)}});{let e,n=nZ(s,n=>(e=i.apply(t,a),r.recordInputs&&f&&c8(n,f,cI(r.enableTruncation)),(async()=>{try{let t=await e;return c6(t,n,r.recordOutputs??!1)}catch(e){return c7(e,n,o)}})()));return c$(e,n,"auto.ai.anthropic")}}let m=nQ({name:`${u} ${d}`,op:`gen_ai.${u}`,attributes:c},n=>(l=e.apply(t,a),r.recordInputs&&f&&c8(n,f,cI(r.enableTruncation)),l.then(e=>(!function(e,t,n){if(t&&"object"==typeof t){if("type"in t&&"error"===t.type)return t.error&&(e.setStatus({code:2,message:c4(t.error.type)}),rf(t.error,{mechanism:{handled:!1,type:"auto.ai.anthropic.anthropic_error"}}));n&&function(e,t){if("content"in t&&Array.isArray(t.content)){e.setAttributes({[cl]:t.content.map(e=>e.text).filter(e=>!!e).join("")});let n=[];for(let e of t.content)("tool_use"===e.type||"server_tool_use"===e.type)&&n.push(e);n.length>0&&e.setAttributes({[cc]:JSON.stringify(n)})}"completion"in t&&e.setAttributes({[cl]:t.completion}),"input_tokens"in t&&e.setAttributes({[cl]:JSON.stringify(t.input_tokens)})}(e,t),function(e,t){if("id"in t&&"model"in t){var n,r,a,i;e.setAttributes({[ce]:t.id,[u9]:t.model}),"usage"in t&&t.usage&&(n=t.usage.input_tokens,r=t.usage.output_tokens,a=t.usage.cache_creation_input_tokens,i=t.usage.cache_read_input_tokens,void 0!==n&&e.setAttributes({[ct]:n}),void 0!==r&&e.setAttributes({[cn]:r}),(void 0!==n||void 0!==r||void 0!==a||void 0!==i)&&e.setAttributes({[cr]:(n??0)+(r??0)+(a??0)+(i??0)}))}}(e,t)}}(n,e,r.recordOutputs),e),e=>{throw rf(e,{mechanism:{handled:!1,type:"auto.ai.anthropic",data:{function:o}}}),e})));return c$(l,m,"auto.ai.anthropic")}});return"function"==typeof i?i.bind(t):i&&"object"==typeof i?e(i,o,r):i}})}(e,"",cC(t))}let de={"models.generateContent":{operation:"generate_content"},"models.generateContentStream":{operation:"generate_content",streaming:!0},"models.embedContent":{operation:"embeddings"},"chats.create":{proxyResultPath:"chat"},"chat.sendMessage":{operation:"chat"},"chat.sendMessageStream":{operation:"chat",streaming:!0}};async function*dt(e,t,n){let r={responseTexts:[],finishReasons:[],toolCalls:[]};try{for await(let a of e)!function(e,t,n,r){if(!(!e||function(e,t){let n=e?.promptFeedback;if(n?.blockReason){let e=n.blockReasonMessage??n.blockReason;return t.setStatus({code:2,message:"internal_error"}),rf(`Content blocked: ${e}`,{mechanism:{handled:!1,type:"auto.ai.google_genai"}}),!0}return!1}(e,r))){let r;for(let a of("string"==typeof e.responseId&&(t.responseId=e.responseId),"string"==typeof e.modelVersion&&(t.responseModel=e.modelVersion),(r=e.usageMetadata)&&("number"==typeof r.promptTokenCount&&(t.promptTokens=r.promptTokenCount),"number"==typeof r.candidatesTokenCount&&(t.completionTokens=r.candidatesTokenCount),"number"==typeof r.totalTokenCount&&(t.totalTokens=r.totalTokenCount)),Array.isArray(e.functionCalls)&&t.toolCalls.push(...e.functionCalls),e.candidates??[]))for(let e of(a?.finishReason&&!t.finishReasons.includes(a.finishReason)&&t.finishReasons.push(a.finishReason),a?.content?.parts??[]))n&&e.text&&t.responseTexts.push(e.text),e.functionCall&&t.toolCalls.push({type:"function",id:e.functionCall.id,name:e.functionCall.name,arguments:e.functionCall.args})}}(a,r,n,t),yield a}finally{cN(t,r,n)}}function dn(e,t="user"){return"string"==typeof e?[{role:t,content:e}]:Array.isArray(e)?e.flatMap(e=>dn(e,t)):"object"==typeof e&&e?"role"in e&&"string"==typeof e.role?[e]:"parts"in e?[{...e,role:t}]:[{role:t,content:e}]:[]}function dr(e,t){if("model"in e&&"string"==typeof e.model)return e.model;if(t&&"object"==typeof t){if("model"in t&&"string"==typeof t.model)return t.model;if("modelVersion"in t&&"string"==typeof t.modelVersion)return t.modelVersion}return"unknown"}function da(e,t,n,r){if(n){let n=t.contents;null!=n&&e.setAttribute(cp,"string"==typeof n?n:JSON.stringify(n));return}let a=[];if("config"in t&&t.config&&"object"==typeof t.config&&"systemInstruction"in t.config&&t.config.systemInstruction&&a.push(...dn(t.config.systemInstruction,"system")),"history"in t&&a.push(...dn(t.history,"user")),"contents"in t&&a.push(...dn(t.contents,"user")),"message"in t&&a.push(...dn(t.message,"user")),Array.isArray(a)&&a.length){let{systemInstructions:t,filteredMessages:n}=cL(a);t&&e.setAttribute(cs,t);let i=Array.isArray(n)?n.length:0;e.setAttributes({[ci]:i,[co]:r?cM(n):cA(n)})}}function di(e,t){return function e(t,n="",r){return new Proxy(t,{get:(t,a,i)=>
489{let o=Reflect.get(t,a,i),s=cO(n,String(a)),l=de[s];if("function"==typeof o&&l){let n,a=l.operation?(n="embeddings"===l.operation,new Proxy(o,{apply(e,a,i){let o=l.operation||"unknown",u=i[0],c=function(e,t,n){let r={[uJ]:"google_genai",[ca]:e,[tR]:"auto.ai.google_genai"};if(t){if(r[uQ]=dr(t,n),"config"in t&&"object"==typeof t.config&&t.config){let e,n=t.config;if(Object.assign(r,(e={},"temperature"in n&&"number"==typeof n.temperature&&(e[u0]=n.temperature),"topP"in n&&"number"==typeof n.topP&&(e[u4]=n.topP),"topK"in n&&"number"==typeof n.topK&&(e[u5]=n.topK),"maxOutputTokens"in n&&"number"==typeof n.maxOutputTokens&&(e[u1]=n.maxOutputTokens),"frequencyPenalty"in n&&"number"==typeof n.frequencyPenalty&&(e[u2]=n.frequencyPenalty),"presencePenalty"in n&&"number"==typeof n.presencePenalty&&(e[u3]=n.presencePenalty),e)),"tools"in n&&Array.isArray(n.tools)){let e=n.tools.flatMap(e=>e.functionDeclarations);r[cu]=JSON.stringify(e)}}}else r[uQ]=dr({},n);return r}(o,u,t),d=c[uQ]??"unknown";return l.streaming?nZ({name:`${o} ${d}`,op:`gen_ai.${o}`,attributes:c},async a=>{try{r.recordInputs&&u&&da(a,u,n,cI(r.enableTruncation));let o=await e.apply(t,i);return dt(o,a,!!r.recordOutputs)}catch(e){throw a.setStatus({code:2,message:"internal_error"}),rf(e,{mechanism:{handled:!1,type:"auto.ai.google_genai",data:{function:s}}}),a.end(),e}}):nQ({name:`${o} ${d}`,op:`gen_ai.${o}`,attributes:c},a=>(r.recordInputs&&u&&da(a,u,n,cI(r.enableTruncation)),tz(()=>e.apply(t,i),e=>{rf(e,{mechanism:{handled:!1,type:"auto.ai.google_genai",data:{function:s}}})},()=>{},e=>{n||function(e,t,n){if(t&&"object"==typeof t){if(t.modelVersion&&e.setAttribute(u9,t.modelVersion),t.usageMetadata&&"object"==typeof t.usageMetadata){let n=t.usageMetadata;"number"==typeof n.promptTokenCount&&e.setAttributes({[ct]:n.promptTokenCount}),"number"==typeof n.candidatesTokenCount&&e.setAttributes({[cn]:n.candidatesTokenCount}),"number"==typeof n.totalTokenCount&&e.setAttributes({[cr]:n.totalTokenCount})}if(n&&Array.isArray(t.candidates)&&t.candidates.length>0){let n=t.candidates.map(e=>e.content?.parts&&Array.isArray(e.content.parts)?e.content.parts.map(e=>"string"==typeof e.text?e.text:"").filter(e=>e.length>0).join(""):"").filter(e=>e.length>0);n.length>0&&e.setAttributes({[cl]:n.join("")})}if(n&&t.functionCalls){let n=t.functionCalls;Array.isArray(n)&&n.length>0&&e.setAttributes({[cc]:JSON.stringify(n)})}}}(a,e,r.recordOutputs)})))}})):o.bind(t);return l.proxyResultPath?function(...t){let n=a(...t);return n&&"object"==typeof n?e(n,l.proxyResultPath,r):n}:a}return"function"==typeof o?o.bind(t):o&&"object"==typeof o?e(o,s,r):o}})}(e,"",cC(t))}function ds(e,t={}){let{recordInputs:n}=cC(t);return new Proxy(e,{apply(e,t,r){let a,i,o,s=((i={[tR]:cj,[tP]:ch,[ca]:"embeddings",[uQ]:(a=t??{}).model??"unknown"})[uJ]=(o=a.constructor?.name??"").includes("OpenAI")?"openai":o.includes("Google")?"google_genai":o.includes("Mistral")?"mistralai":o.includes("Vertex")?"google_vertexai":o.includes("Bedrock")?"aws_bedrock":o.includes("Ollama")?"ollama":o.includes("Cloudflare")?"cloudflare":o.includes("Cohere")?"cohere":"langchain","dimensions"in a&&(i[u8]=a.dimensions),"encodingFormat"in a&&(i[u6]=a.encodingFormat),i),l=s[uQ]||"unknown";if(n){let e=r[0];null!=e&&(s[cp]="string"==typeof e?e:JSON.stringify(e))}return nQ({name:`embeddings ${l}`,op:ch,attributes:s},()=>Reflect.apply(e,t,r).then(void 0,e=>{throw rf(e,{mechanism:{handled:!1,type:"auto.ai.langchain"}}),e}))}})}function dl(e,t){return"function"==typeof e.embedQuery&&(e.embedQuery=ds(e.embedQuery,t)),"function"==typeof e.embedDocuments&&(e.embedDocuments=ds(e.embedDocuments,t)),e}let du="auto.ai.langgraph";function dc(e,t){var n,r;return n=e.compile,r=cC(t),e.compile=new Proxy(n,{apply:(e,t,n)=>nQ({op:"gen_ai.create_agent",name:"create_agent",attributes:{[tR]:du,[tP]:"gen_ai.create_agent",[ca]:"create_agent"}},a=>{try{var i,o,s,l;let u=Reflect.apply(e,t,n),c=n.length>0?n[0]:{};c?.name&&"string"==typeof c.name&&(a.setAttribute(cd,c.name),a.updateName(`create_agent ${c.name}`));let d=u.invoke;return d&&"function"==typeof d&&(i=d.bind(u),o=u,s=c,l=r,u.invoke=new Proxy(i,{apply:(e,t,n)=>nQ({op:"gen_ai.invoke_agent",name:"invoke_agent",attributes:{[tR]:du,[tP]:"gen_ai.invoke_agent",[ca]:"invoke_agent"}},async r=>{try{let a=s?.name;a&&"string"==typeof a&&(r.setAttribute("gen_ai.pipeline.name",a),r.setAttribute(cd,a),r.updateName(`invoke_agent ${a}`));let i=n.length>1?n[1]:void 0,u=i?.configurable,c=u?.thread_id;c&&"string"==typeof c&&r.setAttribute(cf,c);let d=function(e){if(!e.builder?.nodes?.tools?.runnable?.tools)return null;let t=e.builder?.nodes?.tools?.runnable?.tools;return t&&Array.isArray(t)&&0!==t.length?t.map(e=>({name:e.lc_kwargs?.name,description:e.lc_kwargs?.description,schema:e.lc_kwargs?.schema})):null}(o);d&&r.setAttribute(cu,JSON.stringify(d));let f=l.recordInputs,p=l.recordOutputs,h=n.length>0?n[0]?.messages??[]:[];if(h&&f){let e=cG(h),{systemInstructions:t,filteredMessages:n}=cL(e);t&&r.setAttribute(cs,t);let a=cI(l.enableTruncation),i=Array.isArray(n)?n.length:0;r.setAttributes({[co]:a?cM(n):cA(n),[ci]:i})}let m=await Reflect.apply(e,t,n);return p&&function(e,t,n){let r=n?.messages;if(!r||!Array.isArray(r))return;let a=t?.length??0,i=r.length>a?r.slice(a):[];if(0===i.length)return;let o=function(e){if(!e||0===e.length)return null;let t=[];for(let n of e)if(n&&"object"==typeof n){let e=n.tool_calls;e&&Array.isArray(e)&&t.push(...e)}return t.length>0?t:null}(i);o&&e.setAttribute(cc,JSON.stringify(o));let s=cG(i);e.setAttribute(cl,JSON.stringify(s));let l=0,u=0,c=0;for(let t of i){let n=function(e){let t=0,n=0,r=0;if(e.usage_metadata&&"object"==typeof e.usage_metadata){let a=e.usage_metadata;return"number"==typeof a.input_tokens&&(t=a.input_tokens),"number"==typeof a.output_tokens&&(n=a.output_tokens),"number"==typeof a.total_tokens&&(r=a.total_tokens),{inputTokens:t,outputTokens:n,totalTokens:r}}if(e.response_metadata&&"object"==typeof e.response_metadata){let a=e.response_metadata;if(a.tokenUsage&&"object"==typeof a.tokenUsage){let e=a.tokenUsage;"number"==typeof e.promptTokens&&(t=e.promptTokens),"number"==typeof e.completionTokens&&(n=e.completionTokens),"number"==typeof e.totalTokens&&(r=e.totalTokens)}}return{inputTokens:t,outputTokens:n,totalTokens:r}}(t);l+=n.inputTokens,u+=n.outputTokens,c+=n.totalTokens,function(e,t){if(t.response_metadata&&"object"==typeof t.response_metadata){let n=t.response_metadata;n.model_name&&"string"==typeof n.model_name&&e.setAttribute(u9,n.model_name),n.finish_reason&&"string"==typeof n.finish_reason&&e.setAttribute(u7,[n.finish_reason])}}(e,t)}l>0&&e.setAttribute(ct,l),u>0&&e.setAttribute(cn,u),c>0&&e.setAttribute(cr,c)}(r,h??null,m),m}catch(e){throw r.setStatus({code:2,message:"internal_error"}),rf(e,{mechanism:{handled:!1,type:"auto.ai.langgraph.error"}}),e}})})),u}catch(e){throw a.setStatus({code:2,message:"internal_error"}),rf(e,{mechanism:{handled:!1,type:"auto.ai.langgraph.error"}}),e}})}),e}let dd={"responses.create":{operation:"chat"}
489,"chat.completions.create":{operation:"chat"},"embeddings.create":{operation:"embeddings"},"conversations.create":{operation:"chat"}},df=["response.created","response.in_progress","response.failed","response.completed","response.incomplete","response.queued","response.output_text.delta","response.output_item.added","response.function_call_arguments.delta","response.function_call_arguments.done","response.output_item.done"];async function*dp(e,t,n){let r={eventTypes:[],responseTexts:[],finishReasons:[],responseId:"",responseModel:"",promptTokens:void 0,completionTokens:void 0,totalTokens:void 0,chatCompletionToolCalls:{},responsesApiToolCalls:[]};try{for await(let a of e){if(null!==a&&"object"==typeof a&&"object"in a&&"chat.completion.chunk"===a.object){for(let e of(r.responseId=a.id??r.responseId,r.responseModel=a.model??r.responseModel,a.usage&&(r.promptTokens=a.usage.prompt_tokens,r.completionTokens=a.usage.completion_tokens,r.totalTokens=a.usage.total_tokens),a.choices??[]))n&&(e.delta?.content&&r.responseTexts.push(e.delta.content),e.delta?.tool_calls&&function(e,t){for(let n of e){let e=n.index;if(void 0!==e&&n.function)if(e in t.chatCompletionToolCalls){let r=t.chatCompletionToolCalls[e];n.function.arguments&&r?.function&&(r.function.arguments+=n.function.arguments)}else t.chatCompletionToolCalls[e]={...n,function:{name:n.function.name,arguments:n.function.arguments||""}}}}(e.delta.tool_calls,r)),e.finish_reason&&r.finishReasons.push(e.finish_reason)}else null!==a&&"object"==typeof a&&"type"in a&&"string"==typeof a.type&&a.type.startsWith("response.")&&function(e,t,n,r){if(!(e&&"object"==typeof e))return t.eventTypes.push("unknown:non-object");if(e instanceof Error){r.setStatus({code:2,message:"internal_error"}),rf(e,{mechanism:{handled:!1,type:"auto.ai.openai.stream-response"}});return}if("type"in e){if(!df.includes(e.type))return t.eventTypes.push(e.type);if(n&&("response.output_item.done"===e.type&&"item"in e&&t.responsesApiToolCalls.push(e.item),"response.output_text.delta"===e.type&&"delta"in e&&e.delta))return t.responseTexts.push(e.delta);if("response"in e){let{response:r}=e;t.responseId=r.id??t.responseId,t.responseModel=r.model??t.responseModel,r.usage&&(t.promptTokens=r.usage.input_tokens,t.completionTokens=r.usage.output_tokens,t.totalTokens=r.usage.total_tokens),r.status&&t.finishReasons.push(r.status),n&&r.output_text&&t.responseTexts.push(r.output_text)}}}(a,r,n,t);yield a}}finally{let e=[...Object.values(r.chatCompletionToolCalls),...r.responsesApiToolCalls];cN(t,{...r,toolCalls:e},n)}}function dh(e,t,n,r){if("embeddings"===n&&"input"in t){let n=t.input;if(null==n||"string"==typeof n&&0===n.length||Array.isArray(n)&&0===n.length)return;e.setAttribute(cp,"string"==typeof n?n:JSON.stringify(n));return}let a="input"in t?t.input:"messages"in t?t.messages:void 0;if(!a||Array.isArray(a)&&0===a.length)return;let{systemInstructions:i,filteredMessages:o}=cL(a);i&&e.setAttribute(cs,i),e.setAttribute(co,r?cM(o):cA(o)),Array.isArray(o)?e.setAttribute(ci,o.length):e.setAttribute(ci,1)}function dm(e,t){return function e(t,n="",r){return new Proxy(t,{get(t,a){let i=t[a],o=cO(n,String(a)),s=dd[o];if("function"==typeof i&&s)return function(...e){let n,a=s.operation||"unknown",l=function(e,t){let n={[uJ]:"openai",[ca]:t,[tR]:"auto.ai.openai"};if(e.length>0&&"object"==typeof e[0]&&null!==e[0]){let t,r,a=e[0],i=function(e){let t=[...Array.isArray(e.tools)?e.tools:[],...e.web_search_options&&"object"==typeof e.web_search_options?[{type:"web_search_options",...e.web_search_options}]:[]];if(0!==t.length)try{return JSON.stringify(t)}catch(e){ei&&ef.error("Failed to serialize OpenAI tools:",e);return}}(a);i&&(n[cu]=i),Object.assign(n,(t={[uQ]:a.model??"unknown"},"temperature"in a&&(t[u0]=a.temperature),"top_p"in a&&(t[u4]=a.top_p),"frequency_penalty"in a&&(t[u2]=a.frequency_penalty),"presence_penalty"in a&&(t[u3]=a.presence_penalty),"stream"in a&&(t[uZ]=a.stream),"encoding_format"in a&&(t[u6]=a.encoding_format),"dimensions"in a&&(t[u8]=a.dimensions),(r="conversation"in a&&"string"==typeof a.conversation?a.conversation:"previous_response_id"in a&&"string"==typeof a.previous_response_id?a.previous_response_id:void 0)&&(t[cf]=r),t))}else n[uQ]="unknown";return n}(e,a),u=l[uQ]||"unknown",c=e[0],d=c&&"object"==typeof c&&!0===c.stream,f={name:`${a} ${u}`,op:`gen_ai.${a}`,attributes:l};if(d){let n,s=nZ(f,s=>(n=i.apply(t,e),r.recordInputs&&c&&dh(s,c,a,cI(r.enableTruncation)),(async()=>{try{let e=await n;return dp(e,s,r.recordOutputs??!1)}catch(e){throw s.setStatus({code:2,message:"internal_error"}),rf(e,{mechanism:{handled:!1,type:"auto.ai.openai.stream",data:{function:o}}}),s.end(),e}})()));return c$(n,s,"auto.ai.openai")}let p=nQ(f,s=>(n=i.apply(t,e),r.recordInputs&&c&&dh(s,c,a,cI(r.enableTruncation)),n.then(e=>(!function(e,t,n){if(!t||"object"!=typeof t)return;let r={};if("string"==typeof t.id&&(r[ce]=t.id),"string"==typeof t.model&&(r[u9]=t.model),"conversation"===t.object&&"string"==typeof t.id&&(r[cf]=t.id),t.usage&&"object"==typeof t.usage){let e=t.usage,n=e.prompt_tokens??e.input_tokens;"number"==typeof n&&(r[ct]=n);let a=e.completion_tokens??e.output_tokens;"number"==typeof a&&(r[cn]=a),"number"==typeof e.total_tokens&&(r[cr]=e.total_tokens)}if(Array.isArray(t.choices)){let e=t.choices,a=e.map(e=>e.finish_reason).filter(e=>"string"==typeof e);if(a.length>0&&(r[u7]=JSON.stringify(a)),n){let t=e.map(e=>{let t=e.message;return t?.content||""});r[cl]=JSON.stringify(t);let n=e.map(e=>{let t=e.message;return t?.tool_calls}).filter(e=>Array.isArray(e)&&e.length>0).flat();n.length>0&&(r[cc]=JSON.stringify(n))}}if("string"!=typeof t.status||r[u7]||(r[u7]=JSON.stringify([t.status])),n&&("string"!=typeof t.output_text||r[cl]||(r[cl]=t.output_text),Array.isArray(t.output)&&t.output.length>
4890&&!r[cc])){let e=t.output.filter(e=>e?.type==="function_call");e.length>0&&(r[cc]=JSON.stringify(e))}e.setAttributes(r)}(s,e,r.recordOutputs),e),e=>{throw rf(e,{mechanism:{handled:!1,type:"auto.ai.openai",data:{function:o}}}),e})));return c$(n,p,"auto.ai.openai")};return"function"==typeof i?i.bind(t):i&&"object"==typeof i?e(i,o,r):i}})}(e,"",cC(t))}let dg=["reauthenticate","signInAnonymously","signInWithOAuth","signInWithIdToken","signInWithOtp","signInWithPassword","signInWithSSO","signOut","signUp","verifyOtp"],dy=["createUser","deleteUser","listUsers","getUserById","updateUserById","inviteUserByEmail"],d_={eq:"eq",neq:"neq",gt:"gt",gte:"gte",lt:"lt",lte:"lte",like:"like","like(all)":"likeAllOf","like(any)":"likeAnyOf",ilike:"ilike","ilike(all)":"ilikeAllOf","ilike(any)":"ilikeAnyOf",is:"is",in:"in",cs:"contains",cd:"containedBy",sr:"rangeGt",nxl:"rangeGte",sl:"rangeLt",nxr:"rangeLte",adj:"rangeAdjacent",ov:"overlaps",fts:"",plfts:"plain",phfts:"phrase",wfts:"websearch",not:"not"},dv=["select","insert","upsert","update","delete"];function db(e){try{e.__SENTRY_INSTRUMENTED__=!0}catch{}}function dS(e){try{return e.__SENTRY_INSTRUMENTED__}catch{return!1}}function dw(e,t=!1){return new Proxy(e,{apply:(n,r,a)=>nQ({name:`auth ${t?"(admin) ":""}${e.name}`,attributes:{[tR]:"auto.db.supabase",[tP]:"db","db.system":"postgresql","db.operation":`auth.${t?"admin.":""}${e.name}`}},e=>Reflect.apply(n,r,a).then(t=>(t&&"object"==typeof t&&"error"in t&&t.error?(e.setStatus({code:2}),rf(t.error,{mechanism:{handled:!1,type:"auto.db.supabase.auth"}})):e.setStatus({code:1}),e.end(),t)).catch(t=>{throw e.setStatus({code:2}),e.end(),rf(t,{mechanism:{handled:!1,type:"auto.db.supabase.auth"}}),t}).then(...a))})}let dE=e=>{var t;if(!e){ei&&ef.warn("Supabase integration was not installed because no Supabase client was provided.");return}dS((t=e.constructor===Function?e:e.constructor).prototype.from)||(t.prototype.from=new Proxy(t.prototype.from,{apply(e,t,n){let r=Reflect.apply(e,t,n);return function(e){for(let t of dv)dS(e.prototype[t])||(e.prototype[t]=new Proxy(e.prototype[t],{apply(e,n,r){let a=Reflect.apply(e,n,r),i=a.constructor;return ei&&ef.log(`Instrumenting ${t} operation's PostgRESTFilterBuilder`),dS(i.prototype.then)||(i.prototype.then=new Proxy(i.prototype.then,{apply(e,t,n){let r=function(e,t={}){switch(e){case"GET":return"select";case"POST":if(t.Prefer?.includes("resolution="))return"upsert";return"insert";case"PATCH":return"update";case"DELETE":return"delete";default:return"<unknown-op>"}}(t.method,t.headers);if(!dv.includes(r)||!t?.url?.pathname||"string"!=typeof t.url.pathname)return Reflect.apply(e,t,n);let a=t.url.pathname.split("/"),i=a.length>0?a[a.length-1]:"",o=[];for(let[e,n]of t.url.searchParams.entries())o.push(function(e,t){let n;if(""===t||"*"===t)return"select(*)";if("select"===e)return`select(${t})`;if("or"===e||e.endsWith(".or"))return`${e}${t}`;let[r,...a]=t.split(".");return n=r?.startsWith("fts")?"textSearch":r?.startsWith("plfts")?"textSearch[plain]":r?.startsWith("phfts")?"textSearch[phrase]":r?.startsWith("wfts")?"textSearch[websearch]":r&&d_[r]||"filter",`${n}(${e}, ${a.join(".")})`}(e,n));let s=Object.create(null);if(ew(t.body))for(let[e,n]of Object.entries(t.body))s[e]=n;let l=`${"select"===r?"":`${r}${s?"(...) ":""}`}${o.join(" ")} from(${i})`,u={"db.table":i,"db.schema":t.schema,"db.url":t.url.origin,"db.sdk":t.headers["X-Client-Info"],"db.system":"postgresql","db.operation":r,[tR]:"auto.db.supabase",[tP]:"db"};return o.length&&(u["db.query"]=o),Object.keys(s).length&&(u["db.body"]=s),nQ({name:l,attributes:u},a=>Reflect.apply(e,t,[]).then(e=>{if(a&&(e&&"object"==typeof e&&"status"in e&&tK(a,e.status||500),a.end()),e?.error){let t=Error(e.error.message);e.error.code&&(t.code=e.error.code),e.error.details&&(t.details=e.error.details);let n={};o.length&&(n.query=o),Object.keys(s).length&&(n.body=s),rf(t,e=>(e.addEventProcessor(e=>(e4(e,{handled:!1,type:"auto.db.supabase.postgres"}),e)),e.setContext("supabase",n),e))}let t={type:"supabase",category:`db.${r}`,message:l},n={};return o.length&&(n.query=o),Object.keys(s).length&&(n.body=s),Object.keys(n).length&&(t.data=n),a2(t),e},e=>{throw a&&(tK(a,500),a.end()),e}).then(...n))}}),db(i.prototype.then)),a}}),db(e.prototype[t]))}(r.constructor),r}}),db(t.prototype.from));let n=e.auth;if(!(!n||dS(e.auth))){for(let t of dg){let r=n[t];r&&"function"==typeof e.auth[t]&&(e.auth[t]=dw(r))}for(let t of dy){let r=n.admin[t];r&&"function"==typeof e.auth.admin[t]&&(e.auth.admin[t]=dw(r,!0))}db(e.auth)}},dk=e=>{let t;return t=e.supabaseClient,{setupOnce(){dE(t)},name:"Supabase"}};function dx(e,t,n,r,a){r4({level:e,message:t,attributes:n,severityNumber:a},r)}function dT(e,t,{scope:n}={}){dx("trace",e,t,n)}function dP(e,t,{scope:n}={}){dx("debug",e,t,n)}function dR(e,t,{scope:n}={}){dx("info",e,t,n)}function dC(e,t,{scope:n}={}){dx("warn",e,t,n)}function dI(e,t,{scope:n}={}){dx("error",e,t,n)}function dO(e,t,{scope:n}={}){dx("fatal",e,t,n)}function dN(e,...t){let n=new String(String.raw(e,...t));
489return n.__sentry_template_string__=e.join("\0").replace(/%/g,"%%").replace(/\0/g,"%s"),n.__sentry_template_values__=t,n}e.s(["debug",0,dP,"error",0,dI,"fatal",0,dO,"info",0,dR,"trace",0,dT,"warn",0,dC],670473),e.i(670473),e.s(["debug",0,dP,"error",0,dI,"fatal",0,dO,"fmt",0,dN,"info",0,dR,"trace",0,dT,"warn",0,dC],553862);var dA=e.i(553862),dA=dA;function dM(e,t,n,r){!function(e,t){let n=t?.scope??ty(),r=t?.captureSerializedMetric??r7,a=n?.getClient()??tw();if(!a){ei&&ef.warn("No client available to capture metric.");return}let{_experiments:i,enableMetrics:o,beforeSendMetric:s}=a.getOptions();if(!(o??i?.enableMetrics??!0)){ei&&ef.warn("metrics option not enabled, metric will not be captured.");return}let{user:l,attributes:u}=ru(t_(),n),c=function(e,t,n){let{release:r,environment:a}=t.getOptions(),i={...e.attributes};r8(i,"user.id",n.id,!1),r8(i,"user.email",n.email,!1),r8(i,"user.name",n.username,!1),r8(i,"sentry.release",r),r8(i,"sentry.environment",a);let{name:o,version:s}=t.getSdkMetadata()?.sdk??{};r8(i,"sentry.sdk.name",o),r8(i,"sentry.sdk.version",s);let l=t.getIntegrationByName("Replay"),u=l?.getReplayId(!0);return r8(i,"sentry.replay_id",u),u&&l?.getRecordingMode()==="buffer"&&r8(i,"sentry._internal.replay_is_buffering",!0),{...e,attributes:i}}(e,a,l);a.emit("processMetric",c);let d=s||i?.beforeSendMetric,f=d?d(c):c;if(!f){ei&&ef.log("`beforeSendMetric` returned `null`, will not send metric.");return}let p=function(e,t,n,r){let[,a]=r0(t,n),i=n[ta],o=i?i.spanContext().traceId:a?.trace_id,s=i?i.spanContext().spanId:void 0,l=e7(),u=rZ(l);return{timestamp:l,trace_id:o??"",span_id:s,name:e.name,type:e.type,unit:e.unit,value:e.value,attributes:{...tV(r),...tV(e.attributes,"skip-undefined"),[u.key]:u.value}}}(f,a,n,u);ei&&ef.log("[Metric]",p),r(a,p),a.emit("afterCaptureMetric",f)}({type:e,name:t,value:n,unit:r?.unit,attributes:r?.attributes},{scope:r?.scope})}e.s(["count",0,function(e,t=1,n){dM("counter",e,t,n)},"distribution",0,function(e,t,n){dM("distribution",e,t,n)},"gauge",0,function(e,t,n){dM("gauge",e,t,n)}],277167);var dL=e.i(277167),dL=dL;let dD=new Map,d$=new Set;function dj(e,t){t.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{if(!t.filename||t.module_metadata)return;let n=function(e,t){if(et._sentryModuleMetadata)for(let t of Object.keys(et._sentryModuleMetadata)){let n=et._sentryModuleMetadata[t];if(!d$.has(t)){for(let r of(d$.add(t),e(t).reverse()))if(r.filename){dD.set(r.filename,n);break}}}return dD.get(t)}(e,t.filename);n&&(t.module_metadata=n)})})}function dF(e){e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{delete e.module_metadata})})}let dz=()=>({name:"ModuleMetadata",setup(e){e.on("beforeEnvelope",e=>{nj(e,(e,t)=>{if("event"===t){let t=Array.isArray(e)?e[1]:void 0;t&&(dF(t),e[1]=t)}})}),e.on("applyFrameMetadata",t=>{t.type||dj(e.getOptions().stackParser,t)})}}),dU=e=>({name:"ThirdPartyErrorsFilter",setup(e){e.on("beforeEnvelope",e=>{nj(e,(e,t)=>{if("event"===t){let t=Array.isArray(e)?e[1]:void 0;t&&(dF(t),e[1]=t)}})}),e.on("applyFrameMetadata",t=>{t.type||dj(e.getOptions().stackParser,t)})},processEvent(t){let n=function(e,t){let n=eG(e);if(n)return n.filter((e,n)=>!!e.filename&&(null!=e.lineno||null!=e.colno||null!=e.instruction_addr)&&(!t||!function(e,t){if(0!==t||!e.context_line||!e.filename||!e.filename.includes("sentry")||!e.filename.includes("helpers")||!e.context_line.includes(dH))return!1;if(e.pre_context){let t=e.pre_context.length;for(let n=0;n<t;n++)if(e.pre_context[n]?.includes(dW))return!0}return!1}(e,n))).map(e=>e.module_metadata?Object.keys(e.module_metadata).filter(e=>e.startsWith(dB)).map(e=>e.slice(dB.length)):[])}(t,e.ignoreSentryInternalFrames);if(n&&n["drop-error-if-contains-third-party-frames"===e.behaviour||"apply-tag-if-contains-third-party-frames"===e.behaviour?"some":"every"](t=>!t.some(t=>e.filterKeys.includes(t)))){if("drop-error-if-contains-third-party-frames"===e.behaviour||"drop-error-if-exclusively-contains-third-party-frames"===e.behaviour)return null;t.tags={...t.tags,third_party_code:!0}}return t}}),dB="_sentryBundlerPluginAppKey:",dW="Attempt to invoke user-land function",dH="fn.apply(this, wrappedArguments)";function dq(e){return{...e,path:"path"in e&&Array.isArray(e.path)?e.path.join("."):void 0,keys:"keys"in e?JSON.stringify(e.keys):void 0,unionErrors:"unionErrors"in e?JSON.stringify(e.unionErrors):void 0}}let dV=(e={})=>{let t=e.limit??10;return{name:"ZodErrors",processEvent:(n,r)=>(function(e,t=!1,n,r){var a;if(!n.exception?.values||!r.originalException||!(em(a=r.originalException)&&"ZodError"===a.name&&Array.isArray(a.issues))||0===r.originalException.issues.length)return n;try{let a=(t?r.originalException.issues:r.originalException.issues.slice(0,e)).map(dq);return t&&(Array.isArray(r.attachments)||(r.attachments=[]),r.attachments.push({f
489ilename:"zod_issues.json",data:JSON.stringify({issues:a})})),{...n,exception:{...n.exception,values:[{...n.exception.values[0],value:function(e){let t=new Set;for(let n of e.issues){let e=n.path.map(e=>"number"==typeof e?"<array>":e).join(".");e.length>0&&t.add(e)}let n=Array.from(t);if(0===n.length){let t="variable";if(e.issues.length>0){let n=e.issues[0];void 0!==n&&"expected"in n&&"string"==typeof n.expected&&(t=n.expected)}return`Failed to validate ${t}`}return`Failed to validate keys: ${eY(n.join(", "),100)}`}(r.originalException)},...n.exception.values.slice(1)]},extra:{...n.extra,"zoderror.issues":a.slice(0,e)}}}catch(e){return{...n,extra:{...n.extra,"zoderrors sentry integration parse error":{message:"an exception was thrown while processing ZodError within applyZodErrorsToEvent()",error:e instanceof Error?`${e.name}: ${e.message} 490${e.stack}`:"unknown"}}}}})(t,e.saveZodIssuesAsAttachment,n,r)}},dG={startProfiler:function(){let e=tw();if(!e){il&&ef.warn("No Sentry client available, profiling is not started");return}if(!e.getIntegrationByName("BrowserProfiling")){il&&ef.warn("BrowserProfiling integration is not available");return}e.emit("startUIProfiler")},stopProfiler:function(){let e=tw();if(!e){il&&ef.warn("No Sentry client available, profiling is not started");return}if(!e.getIntegrationByName("BrowserProfiling")){il&&ef.warn("ProfilingIntegration is not available");return}e.emit("stopUIProfiler")}};function dX(e,{metadata:t,tunnel:n,dsn:r}){return n$({event_id:e.event_id,sent_at:new Date().toISOString(),...t?.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:t3(r)}},[[{type:"user_report"},e]])}function dY(e={}){let t=et.document,n=t?.head||t?.body;if(!n){il&&ef.error("[showReportDialog] Global document not defined");return}let r=ty(),a=tw(),i=a?.getDsn();if(!i){il&&ef.error("[showReportDialog] DSN not configured");return}let o={...e,user:{...r.getUser(),...e.user},eventId:e.eventId||rw()},s=et.document.createElement("script");s.async=!0,s.crossOrigin="anonymous",s.src=function(e,t){let n=t8(e);if(!n)return"";let r=`${rK(n)}embed/error-page/`,a=`dsn=${t3(n)}`;for(let e in t)if("dsn"!==e&&"onClose"!==e)if("user"===e){let e=t.user;if(!e)continue;e.name&&(a+=`&name=${encodeURIComponent(e.name)}`),e.email&&(a+=`&email=${encodeURIComponent(e.email)}`)}else a+=`&${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`;return`${r}?${a}`}(i,o);let{onLoad:l,onClose:u}=o;if(l&&(s.onload=l),u){let e=t=>{if("__sentry_reportdialog_closed__"===t.data)try{u()}finally{et.removeEventListener("message",e)}};et.addEventListener("message",e)}n.appendChild(s)}let dK=new WeakMap,dJ=(e={})=>{let t=e.types||["crash","deprecation","intervention"];function n(e){if(dK.has(tw()))for(let t of e)tb(e=>{e.setExtra("url",t.url);let n=`ReportingObserver [${t.type}]`,r="No details available";if(t.body){let n={};for(let e in t.body)n[e]=t.body[e];if(e.setExtra("body",n),"crash"===t.type){let e=t.body;r=[e.crashId||"",e.reason||""].join(" ").trim()||r}else r=t.body.message||r}rp(`${n}: ${r}`)})}return{name:"ReportingObserver",setupOnce(){"ReportingObserver"in et&&new et.ReportingObserver(n,{buffered:!0,types:t}).observe()},setup(e){dK.set(e,!0)}}};function dQ(e,t){var n,r,a,i;let o,s=t?.getDsn(),l=t?.getOptions().tunnel;return n=e,r=s,!(!(o=a5(n))||a4(o))&&!!r&&o.host.includes(r.host)&&/(^|&|\?)sentry_key=/.test(o.search)||(a=e,!!(i=l)&&dZ(a)===dZ(i))}function dZ(e){return"/"===e[e.length-1]?e.slice(0,-1):e}let d0=(e={})=>{let t={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e};return{name:"HttpClient",setup(e){var n,r,a,i;n=e,r=t,aX()&&aY(e=>{if(tw()!==n)return;let{response:t,args:a,error:i,virtualError:o}=e,[s,l]=a;t&&function(e,t,n,r,a){if(d3(e,n.status,n.url)){var i,o;let e,s,l,u,c=(i=t,!(o=r)&&i instanceof Request||i instanceof Request&&i.bodyUsed?i:new Request(i,o));d5()&&([e,l]=d1("Cookie",c),[s,u]=d1("Set-Cookie",n)),rh(d4({url:c.url,method:c.method,status:n.status,requestHeaders:e,responseHeaders:s,requestCookies:l,responseCookies:u,error:a,type:"fetch"}))}}(r,s,t,l,i||o)},!1),a=e,i=t,"XMLHttpRequest"in et&&ia(e=>{if(tw()!==a)return;let{error:t,virtualError:n}=e,r=e.xhr,o=r[ir];if(!o)return;let{method:s,request_headers:l}=o;try{!function(e,t,n,r,a){if(d3(e,t.status,t.responseURL)){let e,i,o;if(d5()){try{let e=t.getResponseHeader("Set-Cookie")||t.getResponseHeader("set-cookie")||void 0;e&&(i=d2(e))}catch{}try{let e;o=(e=t.getAllResponseHeaders())?e.split("\r\n").reduce((e,t)=>
490{let[n,r]=t.split(": ");return n&&r&&(e[n]=r),e},{}):{}}catch{}e=r}rh(d4({url:t.responseURL,method:n,status:t.status,requestHeaders:e,responseHeaders:o,responseCookies:i,error:a,type:"xhr"}))}}(i,r,s,l,t||n)}catch(e){il&&ef.warn("Error while extracting response event form XHR response",e)}})}}};function d1(e,t){var n;let r,a,i=(n=t.headers,r={},n.forEach((e,t)=>{r[t]=e}),r);try{let t=i[e]||i[e.toLowerCase()]||void 0;t&&(a=d2(t))}catch{}return[i,a]}function d2(e){return e.split("; ").reduce((e,t)=>{let[n,r]=t.split("=");return n&&r&&(e[n]=r),e},{})}function d3(e,t,n){var r,a;return r=e.failedRequestStatusCodes,r.some(e=>"number"==typeof e?e===t:t>=e[0]&&t<=e[1])&&(a=e.failedRequestTargets,a.some(e=>"string"==typeof e?n.includes(e):e.test(n)))&&!dQ(n,tw())}function d4(e){let t=tw(),n=t&&e.error&&e.error instanceof Error?e.error.stack:void 0,r=n&&t?t.getOptions().stackParser(n,0,1):void 0,a=`HTTP Client Error with status code: ${e.status}`,i={message:a,exception:{values:[{type:"Error",value:a,stacktrace:r?{frames:r}:void 0}]},request:{url:e.url,method:e.method,headers:e.requestHeaders,cookies:e.requestCookies},contexts:{response:{status_code:e.status,headers:e.responseHeaders,cookies:e.responseCookies,body_size:function(e){if(e){let t=e["Content-Length"]||e["content-length"];if(t)return parseInt(t,10)}}(e.responseHeaders)}}};return e4(i,{type:`auto.http.client.${e.type}`,handled:!1}),i}function d5(){let e=tw();return!!e&&!!e.getOptions().sendDefaultPii}let d6=(e={})=>{let t=null!=e.frameContextLines?e.frameContextLines:7;return{name:"ContextLines",processEvent:e=>(function(e,t){let n=et.document,r=et.location&&a8(et.location.href);if(!n||!r)return e;let a=e.exception?.values;if(!a?.length)return e;let i=n.documentElement.innerHTML;if(!i)return e;let o=["<!DOCTYPE html>","<html>",...i.split("\n"),"</html>"];return a.forEach(e=>{let n=e.stacktrace;n?.frames&&(n.frames=n.frames.map(e=>{var n,a,i,s;return n=e,a=o,i=r,s=t,n.filename===i&&n.lineno&&a.length&&!function(e,t,n=5){if(void 0===t.lineno)return;let r=e.length,a=Math.max(Math.min(r-1,t.lineno-1),0);t.pre_context=e.slice(Math.max(0,a-n),a).map(e=>eK(e,0)),t.context_line=eK(e[Math.min(r-1,a)],t.colno||0),t.post_context=e.slice(Math.min(a+1,r),a+1+n).map(e=>eK(e,0))}(a,n,s),n}))}),e})(e,t)}};function d8(e){if(ft(e))return`persisted ${e.operationName}`;if(fe(e)){let{query:t,operationName:n}=e,{operationName:r=n,operationType:a}=function(e){let t=e.match(/^(?:\s*)(query|mutation|subscription)(?:\s*)(\w+)(?:\s*)[{(]/);if(t)return{operationType:t[1],operationName:t[2]};let n=e.match(/^(?:\s*)(query|mutation|subscription)(?:\s*)[{(]/);return n?{operationType:n[1],operationName:void 0}:{operationType:void 0,operationName:void 0}}(t);return r?`${a} ${r}`:`${a}`}return"unknown"}function d7(e){let t;if("xhr"in e){let n=e.xhr[ir];t=n&&sm(n.body)[0]}else t=sm(sg(e.input))[0];return t}function d9(e){return"object"==typeof e&&null!==e}function fe(e){return d9(e)&&"string"==typeof e.query}function ft(e){return d9(e)&&"string"==typeof e.operationName&&d9(e.extensions)&&d9(e.extensions.persistedQuery)&&"string"==typeof e.extensions.persistedQuery.sha256Hash&&"number"==typeof e.extensions.persistedQuery.version}function fn(e){try{let t=JSON.parse(e);if(fe(t)||ft(t))return t;return}catch{return}}let fr=e=>({name:"GraphQLClient",setup(t){var n,r,a,i;n=t,r=e,n.on("beforeOutgoingRequestSpan",(e,t)=>{let n=nc(e).data||{};if("http.client"!==n[tP])return;let a=n["url.full"]||n["http.url"]||n.url,i=n["http.request.method"]||n["http.method"];if(!ev(a)||!ev(i))return;let{endpoints:o}=r,s=eZ(a,o),l=d7(t);if(s&&l){let t=fn(l);if(t){let n=d8(t);e.updateName(`${i} ${a} (${n})`),fe(t)&&e.setAttribute("graphql.document",t.query),ft(t)&&(e.setAttribute("graphql.persisted_query.hash.sha256",t.extensions.persistedQuery.sha256Hash),e.setAttribute("graphql.persisted_query.version",t.extensions.persistedQuery.version))}}}),a=t,i=e,a.on("beforeOutgoingRequestBreadcrumb",(e,t)=>{let{category:n,type:r,data:a}=e;if("http"===r&&("fetch"===n||"xhr"===n)){let e=a?.url,{endpoints:n}=i,r=eZ(e,n),o=d7(t);if(r&&a&&o){let e=fn(o);if(!a.graphql&&e){let t=d8(e);a["graphql.operation"]=t,fe(e)&&(a["graphql.document"]=e.query),ft(e)&&(a["graphql.persisted_query.hash.sha256"]=e.extensions.persistedQuery.sha256Hash,a["graphql.persisted_query.version"]=e.extensions.persistedQuery.version)}}}})}}),fa=(e={})=>{let t=["script"];return{name:"ViewHierarchy",processEvent:(n,r)=>
490{if(void 0!==n.type||e.shouldAttach?.(n,r)===!1)return n;let a={rendering_system:"DOM",positioning:"absolute",windows:[]};!function n(r,a,i=0){if(r)for(let o of"shadowRoot"in r&&r.shadowRoot?r.shadowRoot.children:r.children){if(!(o instanceof HTMLElement))continue;let r=eI(o,1)||void 0,s=o.tagName.toLowerCase();if(t.includes(s))continue;let l=e.onElement?.({element:o,componentName:r,tagName:s,depth:i})||{};if("skip"===l)continue;if("children"===l){n(o,a,i+1);continue}let{x:u,y:c,width:d,height:f}=o.getBoundingClientRect(),p={identifier:o.id||void 0,type:r||s,visible:!0,alpha:1,height:f,width:d,x:u,y:c,...l};p.children=[],n(o,p.children,i+1),a.push(p)}}(e.rootElement?.()||et.document.body,a.windows);let i={filename:"view-hierarchy.json",attachmentType:"event.view_hierarchy",contentType:"application/json",data:JSON.stringify(a)};return r.attachments=r.attachments||[],r.attachments.push(i),n}}},fi="sentryReplaySession",fo="Unable to send Replay";var fs=Object.defineProperty,fl=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?fs(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n},fu=((U=fu||{})[U.Document=0]="Document",U[U.DocumentType=1]="DocumentType",U[U.Element=2]="Element",U[U.Text=3]="Text",U[U.CDATA=4]="CDATA",U[U.Comment=5]="Comment",U);function fc(e){let t=e?.host;return t?.shadowRoot===e}function fd(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function ff(e){try{var t;let n=e.rules||e.cssRules;return n?((t=Array.from(n,fp).join("")).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),t):null}catch(e){return null}}function fp(e){let t;if("styleSheet"in e)try{t=ff(e.styleSheet)||function(e){let{cssText:t}=e;if(t.split('"').length<3)return t;let n=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?n.push("layer"):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}(e)}catch(e){}else if("selectorText"in e){let t=e.cssText,n=e.selectorText.includes(":"),r="string"==typeof e.style.all&&e.style.all;if(r&&(t=function(e){let t="";for(let n=0;n<e.style.length;n++){let r=e.style,a=r[n],i=r.getPropertyPriority(a);t+=`${a}:${r.getPropertyValue(a)}${i?" !important":""};`}return`${e.selectorText} { ${t} }`}(e)),n&&(t=t.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2")),n||r)return t}return t||e.cssText}class fh{constructor(){fl(this,"idNodeMap",new Map),fl(this,"nodeMetaMap",new WeakMap)}getId(e){return e?this.getMeta(e)?.id??-1:-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){let t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(e=>this.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){let n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){let n=this.getNode(e);if(n){let e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function fm({maskInputOptions:e,tagName:t,type:n}){return"OPTION"===t&&(t="SELECT"),!!(e[t.toLowerCase()]||n&&e[n]||"password"===n||"INPUT"===t&&!n&&e.text)}function fg({isMasked:e,element:t,value:n,maskInputFn:r}){let a=n||"";return e?(r&&(a=r(a,t)),"*".repeat(a.length)):a}function fy(e){return e.toLowerCase()}function f_(e){return e.toUpperCase()}let fv="__rrweb_original__";function fb(e){let t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?fy(t):null}function fS(e,t,n){return"INPUT"===t&&("radio"===n||"checkbox"===n)?e.getAttribute("value")||"":e.value}function fw(e,t){let n;try{n=new URL(e,t??window.location.href)}catch(e){return null}let r=n.pathname.match(/\.([0-9a-z]+)(?:$)/i);return r?.[1]??null}let fE={};function fk(e){let t=fE[e];if(t)return t;let n=window.document,r=window[e];if(n&&"function"==typeof n.createElement)try{let t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);let a=t.contentWindow;a&&a[e]&&(r=a[e]),n.head.removeChild(t)}catch(e){}return fE[e]=r.bind(window)}function fx(...e){return fk("setTimeout")(...e)}
490function fT(...e){return fk("clearTimeout")(...e)}function fP(e){try{return e.contentDocument}catch(e){}}let fR=1,fC=RegExp("[^a-z0-9-_:]");function fI(){return fR++}let fO=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,fN=/^(?:[a-z+]+:)?\/\//i,fA=/^www\..*/i,fM=/^(data:)([^,]*),(.*)/i;function fL(e,t){return(e||"").replace(fO,(e,n,r,a,i,o)=>{let s=r||i||o,l=n||a||"";if(!s)return e;if(fN.test(s)||fA.test(s)||fM.test(s))return`url(${l}${s}${l})`;if("/"===s[0])return`url(${l}${(t.indexOf("//")>-1?t.split("/").slice(0,3).join("/"):t.split("/")[0]).split("?")[0]+s}${l})`;let u=t.split("/"),c=s.split("/");for(let e of(u.pop(),c))if("."===e)continue;else".."===e?u.pop():u.push(e);return`url(${l}${u.join("/")}${l})`})}let fD=/^[^ \t\n\r\u000c]+/,f$=/^[, \t\n\r\u000c]+/,fj=new WeakMap;function fF(e,t){return t&&""!==t.trim()?fz(e,t):t}function fz(e,t){let n=fj.get(e);if(n||(n=e.createElement("a"),fj.set(e,n)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return n.setAttribute("href",t),n.href}function fU(e,t,n,r,a,i,o){if(!r)return r;if("src"===n||"href"===n&&("use"!==t||"#"!==r[0])||"xlink:href"===n&&"#"!==r[0])return fF(e,r);if("background"===n&&("table"===t||"td"===t||"th"===t))return fF(e,r);if("srcset"===n)return function(e,t){if(""===t.trim())return t;let n=0;function r(e){let r,a=e.exec(t.substring(n));return a?(r=a[0],n+=r.length,r):""}let a=[];for(;r(f$),!(n>=t.length);){let i=r(fD);if(","===i.slice(-1))i=fF(e,i.substring(0,i.length-1)),a.push(i);else{let r="";i=fF(e,i);let o=!1;for(;;){let e=t.charAt(n);if(""===e){a.push((i+r).trim());break}if(o)")"===e&&(o=!1);else if(","===e){n+=1,a.push((i+r).trim());break}else"("===e&&(o=!0);r+=e,n+=1}}}return a.join(", ")}(e,r);if("style"===n){let t=fL(r,fz(e));return o&&o.size>0&&(t=function(e,t){if(!e||0===t.size)return e;try{let n=e.split(";"),r=[];for(let e of n){if(!(e=e.trim()))continue;let n=e.indexOf(":");if(-1===n){r.push(e);continue}let a=e.slice(0,n).trim();t.has(a)||r.push(e)}return r.join("; ")+(r.length>0&&e.endsWith(";")?";":"")}catch(t){return console.warn("Error filtering CSS properties:",t),e}}(t,o)),t}else if("object"===t&&"data"===n)return fF(e,r);return"function"==typeof i?i(n,r,a):r}function fB(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}function fW(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:fW(e.parentNode,t,n,r+1)}function fH(e,t){return n=>{if(null===n)return!1;try{if(e){if("string"==typeof e){if(n.matches(`.${e}`))return!0}else if(function(e,t){for(let n=e.classList.length;n--;){let r=e.classList[n];if(t.test(r))return!0}return!1}(n,e))return!0}if(t&&n.matches(t))return!0;return!1}catch{return!1}}}function fq(e,t,n,r,a,i){try{let o=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===o)return!1;if("INPUT"===o.tagName){let e=o.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let s=-1,l=-1;if(i){if((l=fW(o,fH(r,a)))<0)return!0;s=fW(o,fH(t,n),l>=0?l:1/0)}else{if((s=fW(o,fH(t,n)))<0)return!1;l=fW(o,fH(r,a),s>=0?s:1/0)}return s>=0?!(l>=0)||s<=l:!(l>=0)&&!!i}catch(e){}return!!i}function fV(e){return null==e?"":e.toLowerCase()}function fG(e,t){let n,{doc:r,mirror:a,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,skipChild:p=!1,inlineStylesheet:h=!0,maskInputOptions:m={},maskAttributeFn:g,maskTextFn:y,maskInputFn:_,slimDOMOptions:v,dataURLOptions:b={},inlineImages:S=!1,recordCanvas:k=!1,onSerialize:x,onIframeLoad:T,iframeLoadTimeout:P=5e3,onBlockedImageLoad:R,onStylesheetLoad:C,stylesheetLoadTimeout:I=5e3,keepIframeSrcFn:O=()=>!1,newlyAddedElement:N=!1,ignoreCSSAttributes:A}=t,{preserveWhiteSpace:M=!0}=t,L=function(e,t){let{doc:n,mirror:r,blockClass:a,blockSelector:i,unblockSelector:o,maskAllText:s,maskAttributeFn:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,inlineStylesheet:p,maskInputOptions:h={},maskTextFn:m,maskInputFn:g,dataURLOptions:y={},inlineImages:_,recordCanvas:v,keepIframeSrcFn:b,newlyAddedElement:S=!1,ignoreCSSAttributes:k}=t,x=function(e,t){if(!t.hasNode(e))return;let n=t.getId(e);return 1===n?void 0:n}(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:if("CSS1Compat"!==e.compatMode)return{type:fu.Document,childNodes:[],compatMode:e.compatMode};return{type:fu.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:fu.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:x};case e.ELEMENT_NODE:return function(e,t){let n,{doc:r,blockClass:a,blockSelector:i,unblockSelector:o,inlineStylesheet:s,maskInputOptions:l={},maskAttributeFn:u,maskInputFn:c,dataURLOptions:d={},inlineImages:f,recordCanvas:p,keepIframeSrcFn:h,newlyAddedElement:m=!1,rootId:g,maskTextClass:y,unmaskTextClass:_,maskTextSelector:v,unmaskTextSelector:b,ignoreCSSAttributes:S}=t,k=function(e,t,n,r){try{if(r&&e.matches(r))return!1;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let n=e.classList.length;n--;){let r=e.classList[n];if(t.test(r))return!0}if(n)return e.matches(n)}catch(e){}return!1}(e,a,i,o),x=function(e){if(e instanceof HTMLFormElement)return"form";let t=fy(e.tagName);return fC.test(t)?"div":t}(e),T={},P=e.attributes.length;for(let t=0;t<P;t++){let n=e.attributes[t];n.name&&!fB(x,n.name,n.value)&&(T[n.name]=fU(r,x,fy(n.name),n.value,e,u,S))}if("link"===x&&s){let t=Array.from(r.styleSheets).find(t=>t.href===e.href),n=null;t&&(n=ff(t)),n&&(T.rel=null,T.href=null,T.crossorigin=null,T._cssText=fL(n,t.href))}if("style"===x&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){let t=ff(e.sheet);t&&(T._cssText=fL(t,fz(r)))}if("input"===x||"textarea"===x||"select"===x||"option"===x){let t=fb(e),n=fS(e,f_(x),t),r=e.checked;if("submit"!==t&&"button"!==t&&n){let r=fq(e,y,v,_,b,fm({type:t,tagName:f_(x),maskInputOptions:l}));T.value=fg({isMasked:r,element:e,value:n,maskInputFn:c})}r&&(T.checked=r)}if("option"===x&&(e.selected&&!l.select?T.selected=!0:delete T.selected),"canvas"===x&&p){if("2d"===e.__context)!function(e){let t=e.getContext("2d");if(!t)return!0;for(let n=0;n<e.width;n+=50)for(let r=0;r<e.height;r+=50){let a=t.getImageData;
490if(new Uint32Array((fv in a?a[fv]:a).call(t,n,r,Math.min(50,e.width-n),Math.min(50,e.height-r)).data.buffer).some(e=>0!==e))return!1}return!0}(e)&&(T.rr_dataURL=e.toDataURL(d.type,d.quality));else if(!("__context"in e)){let t=e.toDataURL(d.type,d.quality),n=r.createElement("canvas");n.width=e.width,n.height=e.height,t!==n.toDataURL(d.type,d.quality)&&(T.rr_dataURL=t)}}if("img"===x&&f){w||(E=(w=r.createElement("canvas")).getContext("2d"));let t=e.currentSrc||e.getAttribute("src")||"<unknown-src>",n=e.crossOrigin,a=()=>{e.removeEventListener("load",a);try{w.width=e.naturalWidth,w.height=e.naturalHeight,E.drawImage(e,0,0),T.rr_dataURL=w.toDataURL(d.type,d.quality)}catch(n){if("anonymous"!==e.crossOrigin){e.crossOrigin="anonymous",e.complete&&0!==e.naturalWidth?a():e.addEventListener("load",a);return}console.warn(`Cannot inline img src=${t}! Error: ${n}`)}"anonymous"===e.crossOrigin&&(n?T.crossOrigin=n:e.removeAttribute("crossorigin"))};e.complete&&0!==e.naturalWidth?a():e.addEventListener("load",a)}if(("audio"===x||"video"===x)&&(T.rr_mediaState=e.paused?"paused":"played",T.rr_mediaCurrentTime=e.currentTime),!m&&(e.scrollLeft&&(T.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(T.rr_scrollTop=e.scrollTop)),k){let{width:t,height:n}=e.getBoundingClientRect();T={class:T.class,rr_width:`${t}px`,rr_height:`${n}px`}}"iframe"!==x||h(T.src)||(k||fP(e)||(T.rr_src=T.src),delete T.src);try{customElements.get(x)&&(n=!0)}catch(e){}return{type:fu.Element,tagName:x,attributes:T,childNodes:[],isSVG:!!("svg"===e.tagName||e.ownerSVGElement)||void 0,needBlock:k,rootId:g,isCustom:n}}(e,{doc:n,blockClass:a,blockSelector:i,unblockSelector:o,inlineStylesheet:p,maskAttributeFn:l,maskInputOptions:h,maskInputFn:g,dataURLOptions:y,inlineImages:_,recordCanvas:v,keepIframeSrcFn:b,newlyAddedElement:S,rootId:x,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,ignoreCSSAttributes:k});case e.TEXT_NODE:return function(e,t){let{maskAllText:n,maskTextClass:r,unmaskTextClass:a,maskTextSelector:i,unmaskTextSelector:o,maskTextFn:s,maskInputOptions:l,maskInputFn:u,rootId:c}=t,d=e.parentNode&&e.parentNode.tagName,f=e.textContent,p="STYLE"===d||void 0,h="SCRIPT"===d||void 0,m="TEXTAREA"===d||void 0;if(p&&f){try{e.nextSibling||e.previousSibling||e.parentNode.sheet?.cssRules&&(f=ff(e.parentNode.sheet))}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}f=fL(f,fz(t.doc))}h&&(f="SCRIPT_PLACEHOLDER");let g=fq(e,r,i,a,o,n);return p||h||m||!f||!g||(f=s?s(f,e.parentElement):f.replace(/[\S]/g,"*")),m&&f&&(l.textarea||g)&&(f=u?u(f,e.parentNode):f.replace(/[\S]/g,"*")),"OPTION"===d&&f&&(f=fg({isMasked:fq(e,r,i,a,o,fm({type:null,tagName:d,maskInputOptions:l})),element:e,value:f,maskInputFn:u})),{type:fu.Text,textContent:f||"",isStyle:p,rootId:c}}(e,{doc:n,maskAllText:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,maskTextFn:m,maskInputOptions:h,maskInputFn:g,rootId:x});case e.CDATA_SECTION_NODE:return{type:fu.CDATA,textContent:"",rootId:x};case e.COMMENT_NODE:return{type:fu.Comment,textContent:e.textContent||"",rootId:x};default:return!1}}(e,{doc:r,mirror:a,blockClass:i,blockSelector:o,maskAllText:l,unblockSelector:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,inlineStylesheet:h,maskInputOptions:m,maskAttributeFn:g,maskTextFn:y,maskInputFn:_,dataURLOptions:b,inlineImages:S,recordCanvas:k,keepIframeSrcFn:O,newlyAddedElement:N,ignoreCSSAttributes:A});if(!L)return console.warn(e,"not serialized"),null;n=a.hasNode(e)?a.getId(e):!function(e,t){if(t.comment&&e.type===fu.Comment)return!0;if(e.type===fu.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===fw(e.attributes.href)))return!0;else if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(fV(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===fV(e.attributes.name)||"icon"===fV(e.attributes.rel)||"apple-touch-icon"===fV(e.attributes.rel)||"shortcut icon"===fV(e.attributes.rel))))return!0;else if("meta"===e.tagName){if(t.headMetaDescKeywords&&fV(e.attributes.name).match(/^description|keywords$/))return!0;else if(t.headMetaSocial&&(fV(e.attributes.property).match(/^(og|twitter|fb):/)||fV(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===fV(e.attributes.name)))return!0;else if(t.headMetaRobots&&("robots"===fV(e.attributes.name)||"googlebot"===fV(e.attributes.name)||"bingbot"===fV(e.attributes.name)))return!0;else if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;else if(t.headMetaAuthorship&&("author"===fV(e.attributes.name)||"generator"===fV(e.attributes.name)||"framework"===fV(e.attributes.name)||"publisher"===fV(e.attributes.name)||"progid"===fV(e.attributes.name)||fV(e.attributes.property).match(/^article:/)||fV(e.attributes.property).match(/^product:/)))return!0;else if(t.headMetaVerification&&("google-site-verification"===fV(e.attributes.name)||"yandex-verification"===fV(e.attributes.name)||"csrf-token"===fV(e.attributes.name)||"p:domain_verify"===fV(e.attributes.name)||"verify-v1"===fV(e.attributes.name)||"verification"===fV(e.attributes.name)||"shopify-checkout-api-token"===fV(e.attributes.name)))return!0}}return!1}(L,v)&&(M||L.type!==fu.Text||L.isStyle||L.textContent.replace(/^\s+|\s+$/gm,"").length)?fI():-2;let D=Object.assign(L,{id:n});if(a.add(e,D),-2===n)return null;x&&x(e);let $=!p;if(D.type===fu.Element){$=$&&!D.needBlock;let t=e.shadowRoot;t&&fd(t)&&(D.isShadowHost=!0)}if((D.type===fu.Document||D.type===fu.Element)&&$){v.headWhitespace&&D.type===fu.Element&&"head"===D.tagName&&(M=!1);let t={doc:r,mirror:a,blockClass:i,blockSelector:o,maskAllText:l,unblockSelector:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,skipChild:p,inlineStylesheet:h,maskInputOptions:m,maskAttributeFn:g,maskTextFn:y,maskInputFn:_,slimDOMOptions:v,dataURLOptions:b,inlineImages:S,recordCanvas:k,preserveWhiteSpace:M,onSerialize:x,onIframeLoad:T,iframeLoadTimeout:P,onBlockedImageLoad:R,onStylesheetLoad:C,stylesheetLoadTimeout:I,keepIframeSrcFn:O,ignoreCSSAttributes:A};for(let n of e.childNodes?Array.from(e.childNodes):[]){let e=fG(n,t);e&&D.childNodes.push(e)}if(e.nodeType===e.ELEMENT_NODE&&e.shadowRoot)for(let n of Array.from(e.shadowRoot.childNodes)){let r=fG(n,t);r&&(fd(e.shadowRoot)&&(r.isShadow=!0),D.childNodes.push(r))}}if(e.parentNode&&fc(e.parentNode)&&fd(e.parentNode)&&(D.isShadow=!0),D.type!==fu.Element||"iframe"!==D.tagName||D.needBlock||function(e,t,n){let r,a=e.contentWindow;if(!a)return;let i=!1;try{r=a.document.readyState}catch(e){return}if("complete"!==r){let r=fx(()=>{i||(t(),i=!0)},n);e.addEventListener("load",()=>{fT(r),i=!0,t()});return}let o="about:blank";if(a.location.href!==o||e.src===o||""===e.src)return fx(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,()=>{let t=fP(e);if(t&&T){let n=fG(t,{doc:t,mirror:a,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:h,maskInputOptions:m,maskAttributeFn:g,maskTextFn:y,maskInputFn:_,slimDOMOptions:v,dataURLOptions:b,inlineImages:S,recordCanvas:k,preserveWhiteSpace:M,onSerialize:x,onIframeLoad:T,iframeLoadTimeout:P,onStylesheetLoad:C,stylesheetLoadTimeout:I,keepIframeSrcFn:O,ignoreCSSAttributes:A});n&&T(e,n)}},P),D.type===fu.Element&&"img"===D.tagName&&!e.complete&&D.needBlock){let t=()=>{if(e.isConnected&&!e.complete&&R)try{let t=e.getBoundingClientRect();t.width>0&&t.height>0&&R(e,D,t)}catch(e){}e.removeEventListener("load",t)};e.isConnected&&e.addEventListener("load",t)}return D.type===fu.Element&&"link"===D.tagName&&"string"==typeof D.attributes.rel&&("stylesheet"===D.attributes.rel||"preload"===D.attributes.rel&&"string"==typeof D.attributes.href&&"css"===fw(D.attributes.href))&&function(e,t,n){let r,a=!1;try{r=e.sheet}catch(e){return}if(r)return;let i=fx(()=>{a||(t(),a=!0)},n);e.addEventListener("load",()=>{fT(i),a=!0,t()})}(e,()=>{if(C){let t=fG(e,{doc:r,mirror:a,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:h,maskInputOptions:m,maskAttributeFn:g,maskTextFn:y,maskInputFn:_,slimDOMOptions:v,dataURLOptions:b,inlineImages:S,recordCanvas:k,preserveWhiteSpace:M,onSerialize:x,onIframeLoad:T,iframeLoadTimeout:P,onStylesheetLoad:C,stylesheetLoadTimeout:I,keepIframeSrcFn:O,ignoreCSSAttributes:A});t&&C(e,t)}},I),D.type===fu.Element&&delete D.needBlock,D}function fX(e,t,n=document){let r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}let fY="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",fK={map:{},getId:()=>(console.error(fY),-1),getNode:()=>(console.error(fY),null),removeNodeFromMap(){console.error(fY)},has:()=>(console.error(fY),!1),reset(){console.error(fY)}};function fJ(e,t,n={}){let r=null,a=0;return function(...i){let o=Date.now();a||!1!==n.leading||(a=o);let s=t-(o-a),l=this;s<=0||s>t?(r&&(function(...e){pa("clearTimeout")(...e)}
490(r),r=null),a=o,e.apply(l,i)):r||!1===n.trailing||(r=pi(()=>{a=!1===n.leading?0:Date.now(),r=null,e.apply(l,i)},s))}}function fQ(e,t,n){try{if(!(t in e))return()=>{};let r=e[t],a=n(r);return"function"==typeof a&&(a.prototype=a.prototype||{},Object.defineProperties(a,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=a,()=>{e[t]=r}}catch{return()=>{}}}"u">typeof window&&window.Proxy&&window.Reflect&&(fK=new Proxy(fK,{get:(e,t,n)=>("map"===t&&console.error(fY),Reflect.get(e,t,n))}));let fZ=Date.now;function f0(e){let t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:t?.documentElement.scrollLeft||t?.body?.parentElement?.scrollLeft||t?.body?.scrollLeft||0,top:t.scrollingElement?t.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:t?.documentElement.scrollTop||t?.body?.parentElement?.scrollTop||t?.body?.scrollTop||0}}function f1(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function f2(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function f3(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch(e){return null}}function f4(e,t,n,r,a){if(!e)return!1;let i=f3(e);if(!i)return!1;let o=fH(t,n);if(!a){let e=r&&i.matches(r);return o(i)&&!e}let s=fW(i,o),l=-1;return!(s<0)&&(r&&(l=fW(i,fH(null,r))),s>-1&&l<0||s<l)}function f5(e,t){return -2===t.getId(e)}function f6(e){return!!e.changedTouches}function f8(e,t){return!!("IFRAME"===e.nodeName&&t.getMeta(e))}function f7(e,t){return!!("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function f9(e){return!!e?.shadowRoot}/[1-9][0-9]{12}/.test(Date.now().toString())||(fZ=()=>new Date().getTime());class pe{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return this.styleIDMap.get(e)??-1}has(e){return this.styleIDMap.has(e)}add(e,t){let n;return this.has(e)?this.getId(e):(n=void 0===t?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n)}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function pt(e){let t=null;return e.getRootNode?.()?.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function pn(e){let t=e.ownerDocument;return!!t&&(t.contains(e)||function(e){let t=e.ownerDocument;if(!t)return!1;let n=function(e){let t,n=e;for(;t=pt(n);)n=t;return n}(e);return t.contains(n)}(e))}let pr={};function pa(e){let t=pr[e];if(t)return t;let n=window.document,r=window[e];if(n&&"function"==typeof n.createElement)try{let t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);let a=t.contentWindow;a&&a[e]&&(r=a[e]),n.head.removeChild(t)}catch(e){}return pr[e]=r.bind(window)}function pi(...e){return pa("setTimeout")(...e)}var po=((B=po||{})[B.DomContentLoaded=0]="DomContentLoaded",B[B.Load=1]="Load",B[B.FullSnapshot=2]="FullSnapshot",B[B.IncrementalSnapshot=3]="IncrementalSnapshot",B[B.Meta=4]="Meta",B[B.Custom=5]="Custom",B[B.Plugin=6]="Plugin",B),ps=((W=ps||{})[W.Mutation=0]="Mutation",W[W.MouseMove=1]="MouseMove",W[W.MouseInteraction=2]="MouseInteraction",W[W.Scroll=3]="Scroll",W[W.ViewportResize=4]="ViewportResize",W[W.Input=5]="Input",W[W.TouchMove=6]="TouchMove",W[W.MediaInteraction=7]="MediaInteraction",W[W.StyleSheetRule=8]="StyleSheetRule",W[W.CanvasMutation=9]="CanvasMutation",W[W.Font=10]="Font",W[W.Log=11]="Log",W[W.Drag=12]="Drag",W[W.StyleDeclaration=13]="StyleDeclaration",W[W.Selection=14]="Selection",W[W.AdoptedStyleSheet=15]="AdoptedStyleSheet",W[W.CustomElement=16]="CustomElement",W),pl=((H=pl||{})[H.MouseUp=0]="MouseUp",H[H.MouseDown=1]="MouseDown",H[H.Click=2]="Click",H[H.ContextMenu=3]="ContextMenu",H[H.DblClick=4]="DblClick",H[H.Focus=5]="Focus",H[H.Blur=6]="Blur",H[H.TouchStart=7]="TouchStart",H[H.TouchMove_Departed=8]="TouchMove_Departed",H[H.TouchEnd=9]="TouchEnd",H[H.TouchCancel=10]="TouchCancel",H),pu=((q=pu||{})[q.Mouse=0]="Mouse",q[q.Pen=1]="Pen",q[q.Touch=2]="Touch",q),pc=((V=pc||{})[V.Play=0]="Play",V[V.Pause=1]="Pause",V[V.Seeked=2]="Seeked",V[V.VolumeChange=3]="VolumeChange",V[V.RateChange=4]="RateChange",V);function pd(e){try{return e.contentDocument}catch(e){}}class pf{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw Error("Position outside of list range");let t=this.head;for(let n=0;n<e;n++)t=t?.next||null;return t}addNode(e){let t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&"__ln"in e.previousSibling){let n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&
490(n.previous=t)}else if(e.nextSibling&&"__ln"in e.nextSibling&&e.nextSibling.__ln.previous){let n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){let t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}let pp=(e,t)=>`${e}@${t}`;class ph{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;let e=[],t=new Set,n=new pf,r=e=>{let t=e,n=-2;for(;-2===n;)n=(t=t&&t.nextSibling)&&this.mirror.getId(t);return n},a=a=>{if(!a.parentNode||!pn(a))return;let i=fc(a.parentNode)?this.mirror.getId(pt(a)):this.mirror.getId(a.parentNode),o=r(a);if(-1===i||-1===o)return n.addNode(a);let s=fG(a,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{f8(e,this.mirror)&&!f4(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(e),f7(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),f9(a)&&this.shadowDomManager.addShadowRoot(a.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{f4(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(this.iframeManager.attachIframe(e,t),e.contentWindow&&this.canvasManager.addWindow(e.contentWindow),this.shadowDomManager.observeAttachShadow(e))},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:n,height:r})=>{this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${n}px`,height:`${r}px`}}}]})},ignoreCSSAttributes:this.ignoreCSSAttributes});s&&(e.push({parentId:i,nextId:o,node:s}),t.add(s.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let e of this.movedSet)(!pg(this.removes,e,this.mirror)||this.movedSet.has(e.parentNode))&&a(e);for(let e of this.addedSet)py(this.droppedSet,e)||pg(this.removes,e,this.mirror)?py(this.movedSet,e)?a(e):this.droppedSet.add(e):a(e);let i=null;for(;n.length;){let e=null;if(i){let t=this.mirror.getId(i.value.parentNode),n=r(i.value);-1!==t&&-1!==n&&(e=i)}if(!e){let t=n.tail;for(;t;){let n=t;if(t=t.previous,n){let t=this.mirror.getId(n.value.parentNode);if(-1===r(n.value))continue;if(-1!==t){e=n;break}{let t=n.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let r=t.parentNode.host;if(-1!==this.mirror.getId(r)){e=n;break}}}}}}if(!e){for(;n.head;)n.removeNode(n.head.value);break}i=e.previous,n.removeNode(e.value),a(e.value)}let o={texts:this.texts.map(e=>({id:this.mirror.getId(e.node),value:e.value})).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),attributes:this.attributes.map(e=>{let{attributes:t}=e;if("string"==typeof t.style){let n=JSON.stringify(e.styleDiff),r=JSON.stringify(e._unchangedStyles);n.length<t.style.length&&(n+r).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}}).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),removes:this.removes,adds:e};(o.texts.length||o.attributes.length||o.removes.length||o.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(o))},this.processMutation=e=>{if(!f5(e.target,this.mirror))switch(e.type){case"characterData":{let t=e.target.textContent;f4(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:fq(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t,f3(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{let t=e.target,n=e.attributeName,r=e.target.getAttribute(n);if("value"===n){let n=fb(t),a=t.tagName;r=fS(t,a,n);let i=fm({maskInputOptions:this.maskInputOptions,tagName:a,type:n});r=fg({isMasked:fq(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,i),element:t,value:r,maskInputFn:this.maskInputFn})}if(f4(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||r===e.oldValue)return;let a=this.attributeMap.get(e.target);
490if("IFRAME"===t.tagName&&"src"===n&&!this.keepIframeSrcFn(r)){if(pd(t))return;n="rr_src"}if(a||(a={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(a),this.attributeMap.set(e.target,a)),"type"===n&&"INPUT"===t.tagName&&"password"===(e.oldValue||"").toLowerCase()&&t.setAttribute("data-rr-is-password","true"),!fB(t.tagName,n)&&(a.attributes[n]=fU(this.doc,fy(t.tagName),fy(n),r,t,this.maskAttributeFn),"style"===n)){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(e){this.unattachedDoc=this.doc}let n=this.unattachedDoc.createElement("span");for(let r of(e.oldValue&&n.setAttribute("style",e.oldValue),Array.from(t.style))){let e=t.style.getPropertyValue(r),i=t.style.getPropertyPriority(r);e!==n.style.getPropertyValue(r)||i!==n.style.getPropertyPriority(r)?""===i?a.styleDiff[r]=e:a.styleDiff[r]=[e,i]:a._unchangedStyles[r]=[e,i]}for(let e of Array.from(n.style))""===t.style.getPropertyValue(e)&&(a.styleDiff[e]=!1)}break}case"childList":if(f4(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(t=>this.genAdds(t,e.target)),e.removedNodes.forEach(t=>{let n=this.mirror.getId(t),r=fc(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);f4(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||f5(t,this.mirror)||-1===this.mirror.getId(t)||(this.addedSet.has(t)?(pm(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===n||function e(t,n){if(fc(t))return!1;let r=n.getId(t);return!n.has(r)||(!t.parentNode||t.parentNode.nodeType!==t.DOCUMENT_NODE)&&(!t.parentNode||e(t.parentNode,n))}(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[pp(n,r)]?pm(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:!!(fc(e.target)&&fd(e.target))||void 0})),this.mapRemoves.push(t))})}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!(this.addedSet.has(e)||this.movedSet.has(e))){if(this.mirror.hasNode(e)){if(f5(e,this.mirror))return;this.movedSet.add(e);let n=null;t&&this.mirror.hasNode(t)&&(n=this.mirror.getId(t)),n&&-1!==n&&(this.movedMap[pp(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);!f4(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&(e.childNodes&&e.childNodes.forEach(e=>this.genAdds(e)),f9(e)&&e.shadowRoot.childNodes.forEach(t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)}))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager","ignoreCSSAttributes"].forEach(t=>{this[t]=e[t]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function pm(e,t){e.delete(t),t.childNodes?.forEach(t=>pm(e,t))}function pg(e,t,n){return 0!==e.length&&function(e,t,n){let r=t.parentNode;for(;r;){let t=n.getId(r);if(e.some(e=>e.id===t))return!0;r=r.parentNode}return!1}(e,t,n)}function py(e,t){return 0!==e.size&&function e(t,n){let{parentNode:r}=n;return!!r&&(!!t.has(r)||e(t,r))}(e,t)}let p_=e=>k?(...t)=>{try{return e(...t)}catch(e){if(k&&!0===k(e))return()=>{};throw e}}:e,pv=[];function pb(e){try{if("composedPath"in e){let t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function pS(e,t){let n=new ph;pv.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver,a=window?.Zone?.__symbol__?.("MutationObserver");a&&window[a]&&(r=window[a]);let i=new r(p_(t=>{e.onMutation&&!1===e.onMutation(t)||n.processMutations.bind(n)(t)}));return i.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),i}function pw({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,unblockSelector:i,sampling:o}){return fX("scroll",p_(fJ(p_(o=>{let s=pb(o);if(!s||f4(s,r,a,i,!0))return;let l=n.getId(s);if(s===t&&t.defaultView){let n=f0(t.defaultView);e({id:l,x:n.left,y:n.top})}else e({id:l,x:s.scrollLeft,y:s.scrollTop})}),o.scroll||100)),t)}let pE=["INPUT","TEXTAREA","SELECT"],pk=new WeakMap;function px(e){var t=[];if(pC("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||pC("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||pC("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||pC("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){let n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else if(e.parentStyleSheet){let n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}function pT(e,t,n){let r,a;return e?(e.ownerNode?r=t.getId(e.ownerNode):a=n.getId(e),{styleId:a,id:r}):{}}function pP({mirror:e,stylesheetManager:t},n){let r=null;r="#document"===n.nodeName?e.getId(n):e.getId(n.host);let a="#document"===n.nodeName?n.defaultView?.Document:n.ownerDocument?.defaultView?.ShadowRoot,i=a?.prototype?Object.getOwnPropertyDescriptor(a?.prototype,"adoptedStyleSheets"):void 0;return null!==r&&-1!==r&&a&&i?(Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get(){return i.get?.call(this)},set(e){let n=i.set?.call(this,e);if(null!==r&&-1!==r)try{t.adoptStyleSheets(e,r)}catch(e){}return n}}),p_(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get:i.get,set:i.set})})):()=>{}}function pR(e,t={}){let n,r=e.doc.defaultView;if(!r)return()=>{};e.recordDOM&&(n=pS(e,e.doc));let a=function({mousemoveCb:e,sampling:t,doc:n,mirror:r}){let a;if(!1===t.mousemove)return()=>{};let i="number"==typeof t.mousemove?t.mousemove:50,o="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500,s=[],l=fJ(p_(t=>{let n=Date.now()-a;e(s.map(e=>(e.timeOffset-=n,e)),t),s=[],a=null}),o),u=p_(fJ(p_(e=>{let t=pb(e),{clientX:n,clientY:i}=f6(e)?e.changedTouches[0]:e;a||(a=fZ()),s.push({x:n,y:i,id:r.getId(t),timeOffset:fZ()-a}),l("u">typeof DragEvent&&e instanceof DragEvent?ps.Drag:e instanceof MouseEvent?ps.MouseMove:ps.TouchMove)}),i,{trailing:!1})),c=[fX("mousemove",u,n),fX("touchmove",u,n),fX("drag",u,n)];return p_(()=>
490{c.forEach(e=>e())})}(e),i=function({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,unblockSelector:i,sampling:o}){if(!1===o.mouseInteraction)return()=>{};let s=!0===o.mouseInteraction||void 0===o.mouseInteraction?{}:o.mouseInteraction,l=[],u=null;return Object.keys(pl).filter(e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==s[e]).forEach(o=>{let s=fy(o),c=t=>{let s=pb(t);if(f4(s,r,a,i,!0))return;let l=null,c=o;if("pointerType"in t){switch(t.pointerType){case"mouse":l=pu.Mouse;break;case"touch":l=pu.Touch;break;case"pen":l=pu.Pen}l===pu.Touch?pl[o]===pl.MouseDown?c="TouchStart":pl[o]===pl.MouseUp&&(c="TouchEnd"):pu.Pen}else f6(t)&&(l=pu.Touch);null!==l?(u=l,(c.startsWith("Touch")&&l===pu.Touch||c.startsWith("Mouse")&&l===pu.Mouse)&&(l=null)):pl[o]===pl.Click&&(l=u,u=null);let d=f6(t)?t.changedTouches[0]:t;if(!d)return;let f=n.getId(s),{clientX:p,clientY:h}=d;p_(e)({type:pl[c],id:f,x:p,y:h,...null!==l&&{pointerType:l}})};if(window.PointerEvent)switch(pl[o]){case pl.MouseDown:case pl.MouseUp:s=s.replace("mouse","pointer");break;case pl.TouchStart:case pl.TouchEnd:return}l.push(fX(s,c,t))}),p_(()=>{l.forEach(e=>e())})}(e),o=pw(e),s=function({viewportResizeCb:e},{win:t}){let n=-1,r=-1;return fX("resize",p_(fJ(p_(()=>{let t=f1(),a=f2();(n!==t||r!==a)&&(e({width:Number(a),height:Number(t)}),n=t,r=a)}),200)),t)}(e,{win:r}),l=function({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,unblockSelector:i,ignoreClass:o,ignoreSelector:s,maskInputOptions:l,maskInputFn:u,sampling:c,userTriggeredOnInput:d,maskTextClass:f,unmaskTextClass:p,maskTextSelector:h,unmaskTextSelector:m}){function g(e){let n=pb(e),c=e.isTrusted,g=n&&f_(n.tagName);if("OPTION"===g&&(n=n.parentElement),!n||!g||0>pE.indexOf(g)||f4(n,r,a,i,!0))return;let _=n;if(_.classList.contains(o)||s&&_.matches(s))return;let v=fb(n),b=fS(_,g,v),S=!1,w=fm({maskInputOptions:l,tagName:g,type:v}),E=fq(n,f,h,p,m,w);("radio"===v||"checkbox"===v)&&(S=n.checked),b=fg({isMasked:E,element:n,value:b,maskInputFn:u}),y(n,d?{text:b,isChecked:S,userTriggered:c}:{text:b,isChecked:S});let k=n.name;"radio"===v&&k&&S&&t.querySelectorAll(`input[type="radio"][name="${k}"]`).forEach(e=>{if(e!==n){let t=fg({isMasked:E,element:e,value:fS(e,g,v),maskInputFn:u});y(e,d?{text:t,isChecked:!S,userTriggered:!1}:{text:t,isChecked:!S})}})}function y(t,r){let a=pk.get(t);if(!a||a.text!==r.text||a.isChecked!==r.isChecked){pk.set(t,r);let a=n.getId(t);p_(e)({...r,id:a})}}let _=("last"===c.input?["change"]:["input","change"]).map(e=>fX(e,p_(g),t)),v=t.defaultView;if(!v)return()=>{_.forEach(e=>e())};let b=v.Object.getOwnPropertyDescriptor(v.HTMLInputElement.prototype,"value"),S=[[v.HTMLInputElement.prototype,"value"],[v.HTMLInputElement.prototype,"checked"],[v.HTMLSelectElement.prototype,"value"],[v.HTMLTextAreaElement.prototype,"value"],[v.HTMLSelectElement.prototype,"selectedIndex"],[v.HTMLOptionElement.prototype,"selected"]];return b&&b.set&&_.push(...S.map(e=>(function e(t,n,r,a,i=window){let o=i.Object.getOwnPropertyDescriptor(t,n);return i.Object.defineProperty(t,n,a?r:{set(e){pi(()=>{r.set.call(this,e)},0),o&&o.set&&o.set.call(this,e)}}),()=>e(t,n,o||{},!0)})(e[0],e[1],{set(){p_(g)({target:this,isTrusted:!1})}},!1,v))),p_(()=>{_.forEach(e=>e())})}(e),u=function({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:a,sampling:i,doc:o}){let s=p_(o=>fJ(p_(i=>{let s=pb(i);if(!s||f4(s,t,n,r,!0))return;let{currentTime:l,volume:u,muted:c,playbackRate:d}=s;e({type:o,id:a.getId(s),currentTime:l,volume:u,muted:c,playbackRate:d})}),i.media||500)),l=[fX("play",s(pc.Play),o),fX("pause",s(pc.Pause),o),fX("seeked",s(pc.Seeked),o),fX("volumechange",s(pc.VolumeChange),o),fX("ratechange",s(pc.RateChange),o)];return p_(()=>{l.forEach(e=>e())})}(e),c=()=>{},d=()=>{},f=()=>{},p=()=>{};e.recordDOM&&(c=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){let a,i;if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};let o=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(o,{apply:p_((r,a,i)=>{let[o,s]=i,{id:l,styleId:u}=pT(a,t,n.styleMirror);return(l&&-1!==l||u&&-1!==u)&&e({id:l,styleId:u,adds:[{rule:o,index:s}]}),r.apply(a,i)})});let s=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(s,{apply:p_((r,a,i)=>{let[o]=i,{id:s,styleId:l}=pT(a,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:o}]}),r.apply(a,i)})}),r.CSSStyleSheet.prototype.replace&&(a=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(a,{apply:p_((r,a,i)=>{let[o]=i,{id:s,styleId:l}=pT(a,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replace:o}),r.apply(a,i)})})),r.CSSStyleSheet.prototype.replaceSync&&(i=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(i,{apply:p_((r,a,i)=>{let[o]=i,{id:s,styleId:l}=pT(a,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replaceSync:o}),r.apply(a,i)})}));let l={};pI("CSSGroupingRule")?l.CSSGroupingRule=r.CSSGroupingRule:(pI("CSSMediaRule")&&(l.CSSMediaRule=r.CSSMediaRule),pI("CSSConditionRule")&&(l.CSSConditionRule=r.CSSConditionRule),pI("CSSSupportsRule")&&(l.CSSSupportsRule=r.CSSSupportsRule));let u={};return Object.entries(l).forEach(([r,a])=>{u[r]={insertRule:a.prototype.insertRule,deleteRule:a.prototype.deleteRule},a.prototype.insertRule=new Proxy(u[r].insertRule,{apply:p_((r,a,i)=>{let[o,s]=i,{id:l,styleId:u}=pT(a.parentStyleSheet,t,n.styleMirror);return(l&&-1!==l||u&&-1!==u)&&e({id:l,styleId:u,adds:[{rule:o,index:[...px(a),s||0]}]}),r.apply(a,i)})}),a.prototype.deleteRule=new Proxy(u[r].deleteRule,{apply:p_((r,a,i)=>{let[o]=i,{id:s,styleId:l}=pT(a.parentStyleSheet,t,n.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:[...px(a),o]}]}),r.apply(a,i)})})}),p_(()=>{r.CSSStyleSheet.prototype.insertRule=o,r.CSSStyleSheet.prototype.deleteRule=s,a&&(r.CSSStyleSheet.prototype.replace=a),i&&(r.CSSStyleSheet.prototype.replaceSync=i),Ob
490ject.entries(l).forEach(([e,t])=>{t.prototype.insertRule=u[e].insertRule,t.prototype.deleteRule=u[e].deleteRule})})}(e,{win:r}),d=pP(e,e.doc),f=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:a}){let i=a.CSSStyleDeclaration.prototype.setProperty;a.CSSStyleDeclaration.prototype.setProperty=new Proxy(i,{apply:p_((a,o,s)=>{let[l,u,c]=s;if(n.has(l))return i.apply(o,[l,u,c]);let{id:d,styleId:f}=pT(o.parentRule?.parentStyleSheet,t,r.styleMirror);return(d&&-1!==d||f&&-1!==f)&&e({id:d,styleId:f,set:{property:l,value:u,priority:c},index:px(o.parentRule)}),a.apply(o,s)})});let o=a.CSSStyleDeclaration.prototype.removeProperty;return a.CSSStyleDeclaration.prototype.removeProperty=new Proxy(o,{apply:p_((a,i,s)=>{let[l]=s;if(n.has(l))return o.apply(i,[l]);let{id:u,styleId:c}=pT(i.parentRule?.parentStyleSheet,t,r.styleMirror);return(u&&-1!==u||c&&-1!==c)&&e({id:u,styleId:c,remove:{property:l},index:px(i.parentRule)}),a.apply(i,s)})}),p_(()=>{a.CSSStyleDeclaration.prototype.setProperty=i,a.CSSStyleDeclaration.prototype.removeProperty=o})}(e,{win:r}),e.collectFonts&&(p=function({fontCb:e,doc:t}){let n=t.defaultView;if(!n)return()=>{};let r=[],a=new WeakMap,i=n.FontFace;n.FontFace=function(e,t,n){let r=new i(e,t,n);return a.set(r,{family:e,buffer:"string"!=typeof t,descriptors:n,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};let o=fQ(t.fonts,"add",function(t){return function(n){return pi(p_(()=>{let t=a.get(n);t&&(e(t),a.delete(n))}),0),t.apply(this,[n])}});return r.push(()=>{n.FontFace=i}),r.push(o),p_(()=>{r.forEach(e=>e())})}(e)));let h=function(e){let{doc:t,mirror:n,blockClass:r,blockSelector:a,unblockSelector:i,selectionCb:o}=e,s=!0,l=p_(()=>{let e=t.getSelection();if(!e||s&&e?.isCollapsed)return;s=e.isCollapsed||!1;let l=[],u=e.rangeCount||0;for(let t=0;t<u;t++){let{startContainer:o,startOffset:s,endContainer:u,endOffset:c}=e.getRangeAt(t);f4(o,r,a,i,!0)||f4(u,r,a,i,!0)||l.push({start:n.getId(o),startOffset:s,end:n.getId(u),endOffset:c})}o({ranges:l})});return l(),fX("selectionchange",l)}(e),m=function({doc:e,customElementCb:t}){let n=e.defaultView;return n&&n.customElements?fQ(n.customElements,"define",function(e){return function(n,r,a){try{t({define:{name:n}})}catch(e){}return e.apply(this,[n,r,a])}}):()=>{}}(e),g=[];for(let t of e.plugins)g.push(t.observer(t.callback,r,t.options));return p_(()=>{pv.forEach(e=>e.reset()),n?.disconnect(),a(),i(),o(),s(),l(),u(),c(),d(),f(),p(),h(),m(),g.forEach(e=>e())})}function pC(e){return void 0!==window[e]}function pI(e){return!!(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class pO{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,n,r){let a=n||this.getIdToRemoteIdMap(e),i=r||this.getRemoteIdToIdMap(e),o=a.get(t);return o||(o=this.generateIdFn(),a.set(t,o),i.set(o,t)),o}getIds(e,t){let n=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return t.map(t=>this.getId(e,t,n,r))}
490getRemoteId(e,t,n){let r=n||this.getRemoteIdToIdMap(e);if("number"!=typeof t)return t;let a=r.get(t);return a||-1}getRemoteIds(e,t){let n=this.getRemoteIdToIdMap(e);return t.map(t=>this.getRemoteId(e,t,n))}reset(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}class pN{constructor(){this.crossOriginIframeMirror=new pO(fI),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class pA{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new pO(fI),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new pO(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&e.contentWindow?.addEventListener("message",this.handleMessage.bind(this)),this.loadListener?.(e);let n=pd(e);n&&n.adoptedStyleSheets&&n.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(n.adoptedStyleSheets,this.mirror.getId(n))}handleMessage(e){if("rrweb"!==e.data.type||e.origin!==e.data.origin||!e.source)return;let t=this.crossOriginIframeMap.get(e.source);if(!t)return;let n=this.transformCrossOriginEvent(t,e.data.event);n&&this.wrappedEmit(n,e.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case po.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);let n=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,n),this.patchRootIdOnNode(t.data.node,n),{timestamp:t.timestamp,type:po.IncrementalSnapshot,data:{source:ps.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case po.Meta:case po.Load:case po.DomContentLoaded:break;case po.Plugin:return t;case po.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case po.IncrementalSnapshot:switch(t.data.source){case ps.Mutation:return t.data.adds.forEach(t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);let n=this.crossOriginIframeRootIdMap.get(e);n&&this.patchRootIdOnNode(t.node,n)}),t.data.removes.forEach(t=>{this.replaceIds(t,e,["parentId","id"])}),t.data.attributes.forEach(t=>{this.replaceIds(t,e,["id"])}),t.data.texts.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case ps.Drag:case ps.TouchMove:case ps.MouseMove:return t.data.positions.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case ps.ViewportResize:return!1;case ps.MediaInteraction:case ps.MouseInteraction:case ps.Scroll:case ps.CanvasMutation:case ps.Input:return this.replaceIds(t.data,e,["id"]),t;case ps.StyleSheetRule:case ps.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case ps.Font:return t;case ps.Selection:return t.data.ranges.forEach(t=>{this.replaceIds(t,e,["start","end"])}),t;case ps.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),t.data.styles?.forEach(t=>{this.replaceStyleIds(t,e,["styleId"])}),t}}return!1}replace(e,t,n,r){for(let a of r)(Array.isArray(t[a])||"number"==typeof t[a])&&(Array.isArray(t[a])?t[a]=e.getIds(n,t[a]):t[a]=e.getId(n,t[a]));return t}replaceIds(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)}replaceStyleIds(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEac
490h(e=>{this.replaceIdOnNode(e,t)})}patchRootIdOnNode(e,t){e.type===fu.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach(e=>{this.patchRootIdOnNode(e,t)})}}class pM{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class pL{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!fd(e)||this.shadowDoms.has(e))return;this.shadowDoms.add(e),this.bypassOptions.canvasManager.addShadowRoot(e);let n=pS({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push(()=>n.disconnect()),this.restoreHandlers.push(pw({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),pi(()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(pP({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))},0)}observeAttachShadow(e){let t=pd(e),n=function(e){try{return e.contentWindow}catch(e){}}(e);t&&n&&this.patchAttachShadow(n.Element,t)}patchAttachShadow(e,t){let n=this;this.restoreHandlers.push(fQ(e.prototype,"attachShadow",function(e){return function(r){let a=e.call(this,r);return this.shadowRoot&&pn(this)&&n.addShadowRoot(this.shadowRoot,t),a}}))}reset(){this.restoreHandlers.forEach(e=>{try{e()}catch(e){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}for(var pD="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p$="u"<typeof Uint8Array?[]:new Uint8Array(256),pj=0;pj<pD.length;pj++)p$[pD.charCodeAt(pj)]=pj;class pF{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class pz{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new pe,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;let n={id:t,styleIds:[]},r=[];for(let t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),r.push({styleId:e,rules:Array.from(t.rules||CSSRule,(e,t)=>({rule:fp(e),index:t}))})),n.styleIds.push(e)}r.length>0&&(n.styles=r),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class pU{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(e,t){let n=this.nodeMap.get(e);return n&&Array.from(n).some(e=>e!==t)}add(e,t){this.active||(this.active=!0,function(...e){pa("requestAnimationFrame")(...e)}(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}}try{if(2!==Array.from([1],e=>2*e)[0]){let e=document.createElement("iframe");document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}let pB=new fh;function pW(e={}){let t,{emit:n,checkoutEveryNms:r,checkoutEveryNth:a,blockClass:i="rr-block",blockSelector:o=null,unblockSelector:s=null,ignoreClass:l="rr-ignore",ignoreSelector:u=null,maskAllText:c=!1,maskTextClass:d="rr-mask",unmaskTextClass:f=null,maskTextSelector:p=null,unmaskTextSelector:h=null,inlineStylesheet:m=!0,maskAllInputs:g,maskInputOptions:y,slimDOMOptions:_,maskAttributeFn:v,maskInputFn:b,maskTextFn:S,maxCanvasSize:w=null,packFn:E,sampling:P={},dataURLOptions:R={},mousemoveWait:C,recordDOM:I=!0,recordCanvas:O=!1,recordCrossOriginIframes:N=!1,recordAfter:A="DOMContentLoaded"===e.recordAfter?e.recordAfter:"load",userTriggeredOnInput:M=!1,collectFonts:L=!1,inlineImages:D=!1,plugins:$,keepIframeSrcFn:j=()=>!1,ignoreCSSAttributes:F=new Set([]),errorHandler:z,onMutation:U,getCanvasManager:B}=e;k=z;let W=!N||window.parent===window,H=!1;if(!W)try{window.parent.document&&(H=!1)}catch(e){H=!0}if(W&&!n)throw Error("emit function is required");if(!W&&!H)return()=>{};void 0!==C&&void 0===P.mousemove&&(P.mousemove=C),pB.reset();let q=!0===g?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==y?y:{},V=!0===_||"all"===_?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===_,headMetaDescKeywords:"all"===_}:_||{};!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw TypeError("1 argument is required");do if(this===t)return!0;while(t=t&&t.parentNode)return!1})}();let G=0,X=e=>{for(let t of $||[])t.eventProcessor&&(e=t.eventProcessor(e));return E&&!H&&(e=E(e)),e};x=(e,i)=>{if(e.timestamp=fZ(),pv[0]?.isFrozen()&&e.type!==po.FullSnapshot&&(e.type!==po.IncrementalSnapshot||e.data.source!==ps.Mutation)&&pv.forEach(e
490=>e.unfreeze()),W)n?.(X(e),i);else if(H){let t={type:"rrweb",event:X(e),origin:window.location.origin,isCheckout:i};window.parent.postMessage(t,"*")}if(e.type===po.FullSnapshot)t=e,G=0;else if(e.type===po.IncrementalSnapshot){if(e.data.source===ps.Mutation&&e.data.isAttachIframe)return;G++;let n=a&&G>=a,i=r&&t&&e.timestamp-t.timestamp>r;(n||i)&&er(!0)}};let Y=e=>{x({type:po.IncrementalSnapshot,data:{source:ps.Mutation,...e}})},K=e=>x({type:po.IncrementalSnapshot,data:{source:ps.Scroll,...e}}),J=e=>x({type:po.IncrementalSnapshot,data:{source:ps.CanvasMutation,...e}}),Q=new pz({mutationCb:Y,adoptedStyleSheetCb:e=>x({type:po.IncrementalSnapshot,data:{source:ps.AdoptedStyleSheet,...e}})}),Z="boolean"==typeof __RRWEB_EXCLUDE_IFRAME__&&__RRWEB_EXCLUDE_IFRAME__?new pN:new pA({mirror:pB,mutationCb:Y,stylesheetManager:Q,recordCrossOriginIframes:N,wrappedEmit:x});for(let e of $||[])e.getMirror&&e.getMirror({nodeMirror:pB,crossOriginIframeMirror:Z.crossOriginIframeMirror,crossOriginIframeStyleMirror:Z.crossOriginIframeStyleMirror});let ee=new pU,et=function(e,t){try{return e?e(t):new pF}catch{return console.warn("Unable to initialize CanvasManager"),new pF}}(B,{mirror:pB,win:window,mutationCb:e=>x({type:po.IncrementalSnapshot,data:{source:ps.CanvasMutation,...e}}),recordCanvas:O,blockClass:i,blockSelector:o,unblockSelector:s,maxCanvasSize:w,sampling:P.canvas,dataURLOptions:R,errorHandler:z}),en="boolean"==typeof __RRWEB_EXCLUDE_SHADOW_DOM__&&__RRWEB_EXCLUDE_SHADOW_DOM__?new pM:new pL({mutationCb:Y,scrollCb:K,bypassOptions:{onMutation:U,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:c,maskTextClass:d,unmaskTextClass:f,maskTextSelector:p,unmaskTextSelector:h,inlineStylesheet:m,maskInputOptions:q,dataURLOptions:R,maskAttributeFn:v,maskTextFn:S,maskInputFn:b,recordCanvas:O,inlineImages:D,sampling:P,slimDOMOptions:V,iframeManager:Z,stylesheetManager:Q,canvasManager:et,keepIframeSrcFn:j,processedNodeManager:ee,ignoreCSSAttributes:F},mirror:pB}),er=(e=!1)=>{if(!I)return;x({type:po.Meta,data:{href:window.location.href,width:f2(),height:f1()}},e),Q.reset(),en.init(),pv.forEach(e=>e.lock());let t=function(e,t){let{mirror:n=new fh,blockClass:r="rr-block",blockSelector:a=null,unblockSelector:i=null,maskAllText:o=!1,maskTextClass:s="rr-mask",unmaskTextClass:l=null,maskTextSelector:u=null,unmaskTextSelector:c=null,inlineStylesheet:d=!0,inlineImages:f=!1,recordCanvas:p=!1,maskAllInputs:h=!1,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOM:_=!1,dataURLOptions:v,preserveWhiteSpace:b,onSerialize:S,onIframeLoad:w,iframeLoadTimeout:E,onBlockedImageLoad:k,onStylesheetLoad:x,stylesheetLoadTimeout:T,keepIframeSrcFn:P=()=>!1,ignoreCSSAttributes:R=new Set([])}=t||{};return fG(e,{doc:e,mirror:n,blockClass:r,blockSelector:a,unblockSelector:i,maskAllText:o,maskTextClass:s,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:c,skipChild:!1,inlineStylesheet:d,maskInputOptions:!0===h?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===h?{}:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:!0===_||"all"===_?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===_,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===_?{}:_,dataURLOptions:v,inlineImages:f,recordCanvas:p,preserveWhiteSpace:b,onSerialize:S,onIframeLoad:w,iframeLoadTimeout:E,onBlockedImageLoad:k,onStylesheetLoad:x,stylesheetLoadTimeout:T,keepIframeSrcFn:P,newlyAddedElement:!1,ignoreCSSAttributes:R})}(document,{mirror:pB,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:c,maskTextClass:d,unmaskTextClass:f,maskTextSelector:p,unmaskTextSelector:h,inlineStylesheet:m,maskAllInputs:q,maskAttributeFn:v,maskInputFn:b,maskTextFn:S,slimDOM:V,dataURLOptions:R,recordCanvas:O,inlineImages:D,onSerialize:e=>{f8(e,pB)&&Z.addIframe(e),f7(e,pB)&&Q.trackLinkElement(e),f9(e)&&en.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{Z.attachIframe(e,t),e.contentWindow&&et.addWindow(e.contentWindow),en.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{Q.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:n,height:r})=>{Y({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${n}px`,height:`${r}px`}}}]})},keepIframeSrcFn:j,ignoreCSSAttributes:F});if(!t)return console.warn("Failed to snapshot the document");x({type:po.FullSnapshot,data:{node:t,initialOffset:f0(window)}}
490),pv.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Q.adoptStyleSheets(document.adoptedStyleSheets,pB.getId(document))};T=er;try{let e=[],t=e=>p_(pR)({onMutation:U,mutationCb:Y,mousemoveCb:(e,t)=>x({type:po.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>x({type:po.IncrementalSnapshot,data:{source:ps.MouseInteraction,...e}}),scrollCb:K,viewportResizeCb:e=>x({type:po.IncrementalSnapshot,data:{source:ps.ViewportResize,...e}}),inputCb:e=>x({type:po.IncrementalSnapshot,data:{source:ps.Input,...e}}),mediaInteractionCb:e=>x({type:po.IncrementalSnapshot,data:{source:ps.MediaInteraction,...e}}),styleSheetRuleCb:e=>x({type:po.IncrementalSnapshot,data:{source:ps.StyleSheetRule,...e}}),styleDeclarationCb:e=>x({type:po.IncrementalSnapshot,data:{source:ps.StyleDeclaration,...e}}),canvasMutationCb:J,fontCb:e=>x({type:po.IncrementalSnapshot,data:{source:ps.Font,...e}}),selectionCb:e=>{x({type:po.IncrementalSnapshot,data:{source:ps.Selection,...e}})},customElementCb:e=>{x({type:po.IncrementalSnapshot,data:{source:ps.CustomElement,...e}})},blockClass:i,ignoreClass:l,ignoreSelector:u,maskAllText:c,maskTextClass:d,unmaskTextClass:f,maskTextSelector:p,unmaskTextSelector:h,maskInputOptions:q,inlineStylesheet:m,sampling:P,recordDOM:I,recordCanvas:O,inlineImages:D,userTriggeredOnInput:M,collectFonts:L,doc:e,maskAttributeFn:v,maskInputFn:b,maskTextFn:S,keepIframeSrcFn:j,blockSelector:o,unblockSelector:s,slimDOMOptions:V,dataURLOptions:R,mirror:pB,iframeManager:Z,stylesheetManager:Q,shadowDomManager:en,processedNodeManager:ee,canvasManager:et,ignoreCSSAttributes:F,plugins:$?.filter(e=>e.observer)?.map(e=>({observer:e.observer,options:e.options,callback:t=>x({type:po.Plugin,data:{plugin:e.name,payload:t}})}))||[]},{});Z.addLoadListener(n=>{try{e.push(t(n.contentDocument))}catch(e){console.warn(e)}});let n=()=>{er(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?n():(e.push(fX("DOMContentLoaded",()=>{x({type:po.DomContentLoaded,data:{}}),"DOMContentLoaded"===A&&n()})),e.push(fX("load",()=>{x({type:po.Load,data:{}}),"load"===A&&n()},window))),()=>{e.forEach(e=>e()),ee.destroy(),T=void 0,k=void 0}}catch(e){console.warn(e)}}function pH(e){return e>0x2540be3ff?e:1e3*e}function pq(e){return e>0x2540be3ff?e/1e3:e}function pV(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:po.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:nD(t,10,1e3)}}),"console"===t.category)))}function pG(e){return e.closest("button,a")||e}function pX(e){let t=pY(e);return t&&t instanceof Element?pG(t):t}function pY(e){var t;return"object"==typeof(t=e)&&t&&"target"in t?e.target:e}pW.mirror=pB,pW.takeFullSnapshot=function(e){if(!T)throw Error("please take full snapshot after start recording");T(e)},(G=J||(J={}))[G.NotStarted=0]="NotStarted",G[G.Running=1]="Running",G[G.Stopped=2]="Stopped";let pK=new Set([ps.Mutation,ps.StyleSheetRule,ps.StyleDeclaration,ps.AdoptedStyleSheet,ps.CanvasMutation,ps.Selection,ps.MediaInteraction]);class pJ{constructor(e,t,n=pV){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scrollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){var e;let t=(e=()=>{this._lastMutation=pZ()},P||(P=[],eO(et,"open",function(e){return function(...t){if(P)try{P.forEach(e=>e())}catch{}return e.apply(et,t)}})),P.push(e),()=>{let t=P?P.indexOf(e):-1;t>-1&&P.splice(t,1)});this._teardown=()=>{t(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){var n,r,a;if(n=t,r=this._ignoreSelector,!pQ.includes(n.tagName)||"INPUT"===n.tagName&&!["submit","button"].includes(n.getAttribute("type")||"")||"A"===n.tagName&&(n.hasAttribute("download")||n.hasAttribute("target")&&"_self"!==n.getAttribute("target"))||r&&n.matches(r)||!((a=e).data&&"number"==typeof a.data.nodeId&&a.timestamp))return;let i={timestamp:pq(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some(e=>e.node===i.node&&1>
490Math.abs(e.timestamp-i.timestamp))||(this._clicks.push(i),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=pq(e)}registerScroll(e=Date.now()){this._lastScroll=pq(e)}registerClick(e){let t=pG(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach(e=>{e.clickCount++})}_getClicks(e){return this._clicks.filter(t=>t.node===e)}_checkClicks(){let e=[],t=pZ();for(let n of(this._clicks.forEach(n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=t&&e.push(n)}),e)){let e=this._clicks.indexOf(n);e>-1&&(this._generateBreadcrumbs(n),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){let t=this._replay,n=e.scrollAfter&&e.scrollAfter<=this._scrollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,{clickCount:a,clickBreadcrumb:i}=e;if(!n&&!r){let n=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),r=n<1e3*this._timeout?"mutation":"timeout",o={type:"default",message:i.message,timestamp:i.timestamp,category:"ui.slowClickDetected",data:{...i.data,url:et.location.href,route:t.getCurrentRoute(),timeAfterClickMs:n,endReason:r,clickCount:a||1}};this._addBreadcrumbEvent(t,o);return}if(a>1){let e={type:"default",message:i.message,timestamp:i.timestamp,category:"ui.multiClick",data:{...i.data,url:et.location.href,route:t.getCurrentRoute(),clickCount:a,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=i2(()=>this._checkClicks(),1e3)}}let pQ=["A","BUTTON","INPUT"];function pZ(){return Date.now()/1e3}function p0(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var p1=((X=p1||{})[X.Document=0]="Document",X[X.DocumentType=1]="DocumentType",X[X.Element=2]="Element",X[X.Text=3]="Text",X[X.CDATA=4]="CDATA",X[X.Comment=5]="Comment",X);let p2=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function p3(e,t){let n=pW.mirror.getId(e),r=n&&pW.mirror.getNode(n),a=r&&pW.mirror.getMeta(r),i=a&&a.type===p1.Element?a:null;return{message:t,data:i?{nodeId:n,node:{id:n,tagName:i.tagName,textContent:Array.from(i.childNodes).map(e=>e.type===p1.Text&&e.textContent).filter(Boolean).map(e=>e.trim()).join(""),attributes:function(e){let t={};for(let n in!e["data-sentry-component"]&&e["data-sentry-element"]&&(e["data-sentry-component"]=e["data-sentry-element"]),e)if(p2.has(n)){let r=n;("data-testid"===n||"data-test-id"===n)&&(r="testId"),t[r]=e[n]}return t}(i.attributes)}}:{}}}let p4={resource:function(e){let{entryType:t,initiatorType:n,name:r,responseEnd:a,startTime:i,decodedBodySize:o,encodedBodySize:s,responseStatus:l,transferSize:u}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:p8(i),end:p8(a),name:r,data:{size:u,statusCode:l,decodedBodySize:o,encodedBodySize:s}}},paint:function(e){let{duration:t,entryType:n,name:r,startTime:a}=e,i=p8(a);return{type:n,name:r,start:i,end:i+t,data:void 0}},navigation:function(e){let{entryType:t,name:n,decodedBodySize:r,duration:a,domComplete:i,encodedBodySize:o,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,domInteractive:u,loadEventStart:c,loadEventEnd:d,redirectCount:f,startTime:p,transferSize:h,type:m}=e;return 0===a?null:{type:`${t}.${m}`,start:p8(p),end:p8(i),name:n,data:{size:h,decodedBodySize:r,encodedBodySize:o,duration:a,domInteractive:u,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,loadEventStart:c,loadEventEnd:d,domComplete:i,redirectCount:f}}}};function p5(e,t){return({metric:n})=>void t.replayPerformanceEntries.push(e(n))}function p6(e){let t=p4[e.entryType];return t?t(e):null}function p8(e){return((te()||et.performance.timeOrigin)+e)/1e3}function p7(e){let t=e.entries[e.entries.length-1];return ht(e,"largest-contentful-paint",t?.element?[t.element]:void 0)}function p9(e){let t=[],n=[];for(let r of e.entries)if(void 0!==r.sources){let e=[];for(let t of r.sources)if(t.node){n.push(t.node);let r=pW.mirror.getId(t.node);r&&e.push(r)}t.push({value:r.value,nodeIds:e.length?e:void 0})}return ht(e,"cumulative-layout-shift",n,t)}function he(e){let t=e.entries[e.entries.length-1];return ht(e,"interaction-to-next-paint",t?.target?[t.target]:void 0)}function ht(e,t,n,r){let a=e.value,i=e.rating,o=p8(a);return{type:"web-vital",name:t,start:o,end:o,data:{value:a,size:a,rating:i,nodeIds:n?n.map(e=>pW.mirror.getId(e)):void 0,attributions:r}}}let hn="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,hr=["log","warn","error"],ha="[Replay] ";function hi(e,t="info"){a2({category:"console",data:{logger:"replay"},level:t,message:`${ha}${e}`},{level:t})}let ho=(j=!1,F=!1,z={exception:()=>void 0,infoTick:()=>void 0,setConfig:e=>{j=!!e.captureExceptions,F=!!e.traceInternals}}
490,hn?(hr.forEach(e=>{z[e]=(...t)=>{ef[e](ha,...t),F&&hi(t.join(""),a1(e))}}),z.exception=(e,...t)=>{t.length&&z.error&&z.error(...t),ef.error(ha,e),j?rf(e,{mechanism:{handled:!0,type:"auto.function.replay.debug"}}):F&&hi(e,"error")},z.infoTick=(...e)=>{ef.log(ha,...e),F&&setTimeout(()=>hi(e[0]),0)}):hr.forEach(e=>{z[e]=()=>void 0}),z);class hs extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class hl{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){let t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>2e7)throw new hs;this.events.push(e)}finish(){return new Promise(e=>{let t=this.events;this.clear(),e(JSON.stringify(t))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let e=null;for(let{timestamp:t}of this.events)(null===e||t<e)&&(e=t);return null===e?e:pH(e)}}class hu{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise((e,t)=>{this._worker.addEventListener("message",({data:n})=>{n.success?e():(hn&&ho.warn("Received worker message with unsuccessful status",n),t(Error("Received worker message with unsuccessful status")))},{once:!0}),this._worker.addEventListener("error",e=>{hn&&ho.warn("Failed to load Replay compression worker",e),t(Error(`Failed to load Replay compression worker: ${e instanceof ErrorEvent&&e.message?e.message:"Unknown error. This can happen due to CSP policy restrictions, network issues, or the worker script failing to load."}`))},{once:!0})})),this._ensureReadyPromise}destroy(){hn&&ho.log("Destroying compression worker"),this._worker.terminate()}postMessage(e,t){let n=this._getAndIncrementId();return new Promise((r,a)=>{let i=({data:t})=>{if(t.method===e&&t.id===n){if(this._worker.removeEventListener("message",i),!t.success){hn&&ho.error("Error in compression worker: ",t.response),a(Error("Error in compression worker"));return}r(t.response)}};this._worker.addEventListener("message",i),this._worker.postMessage({id:n,method:e,arg:t})})}_getAndIncrementId(){return this._id++}}class hc{constructor(e){this._worker=new hu(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){let t=pH(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);let n=JSON.stringify(e);return(this._totalSize+=n.length,this._totalSize>2e7)?Promise.reject(new hs):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,e=>{hn&&ho.exception(e,'Sending "clear" message to worker failed',e)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){let e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class hd{constructor(e){this._fallback=new hl,this._compression=new hc(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get waitForCheckout(){return this._used.waitForCheckout}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}set waitForCheckout(e){this._used.waitForCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){hn&&ho.exception(e,"Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){let{events:e,hasCheckout:t,waitForCheckout:n}=this._fallback,r=[];for(let t of e)r.push(this._compression.addEvent(t));this._compression.hasCheckout=t,this._compression.waitForCheckout=n,this._used=this._compression;try{await Promise.all(r),this._fallback.clear()}catch(e){hn&&ho.exception(e,"Failed to add events when switching buffers.")}}}function hf(){try{return"sessionStorage"in et&&!!et.sessionStorage}catch{return!1}}function hp(e){return void 0!==e&&Math.random()<e}function hh(e){if(hf())try{et.sessionStorage.setItem(fi,JSON.stringify(e))}catch{}}function hm(e){let t=Date.now(),n=e.id||e0(),r=e.started||t,a=e.lastActivity||t,i=e.segmentId||0,o=e.sampled;return{id:n,started:r,lastActivity:a,segmentId:i,sampled:o,previousSessionId:e.previousSessionId,dirty:e.dirty||!1}}function hg({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){let a=hm({sampled:hp(e)?"session":!!t&&"buffer",previousSessionId:r});return n&&hh(a),a}function hy(e,t,n=+new Date){return null===e||void 0===t||t<0||0!==t&&e+t<=n}function h_(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return hy(e.started,t,r)||hy(e.lastActivity,n,r)}function hv(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!!h_(e,{sessionIdleExpire:t,maxReplayDuration:n})&&("buffer"!==e.sampled||0!==e.segmentId)}function hb({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:n},r){let a=r.stickySession&&function(){if(!hf())return null;try{let e=et.sessionStorage.getItem(fi);if(!e)return null;let t=JSON.parse(e);return hn&&ho.infoTick("Loading existing session"),hm(t)}catch{return null}}();return a?hv(a,{sessionIdleExpire:e,maxReplayDuration:t})?(hn&&ho.infoTick("Session in sessionStorage is expired, creating new one..."),hg(r,{previousSessionId:a.id})):a:(hn&&ho.infoTick("Creating new session"),hg(r,{previousSessionId:n}))}function hS(e,t,n){return!!hE(e,t)&&(hw(e,t,n),!0)}async function hw(e,t,n){let{eventBuffer:r}=e;if(!r||r.waitForCheckout&&!n)return null;let a="buffer"===e.recordingMode;
490try{n&&a&&r.clear(),n&&(r.hasCheckout=!0,r.waitForCheckout=!1);let i=e.getOptions(),o=function(e,t){try{if("function"==typeof t&&e.type===po.Custom)return t(e)}catch(e){return hn&&ho.exception(e,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}(t,i.beforeAddRecordingEvent);if(!o)return;return await r.addEvent(o)}catch(i){let t=i&&i instanceof hs,n=tw();if(n&&n.recordDroppedEvent(t?"buffer_overflow":"internal_sdk_error","replay"),t&&a)return r.clear(),r.waitForCheckout=!0,null;e.handleException(i),await e.stop({reason:t?"eventBufferOverflow":"eventBufferError"})}}function hE(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;let n=pH(t.timestamp);return!(n+e.timeouts.sessionIdlePause<Date.now())&&(!(n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)||(hn&&ho.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),!1))}function hk(e){return"transaction"===e.type}function hx(e){return"feedback"===e.type}function hT(e){return!!e.category}function hP(){let e=ty().getPropagationContext().dsc;e&&delete e.replay_id;let t=nk();if(t){let e=nO(t);delete e.replay_id}}function hR(e,t){return t.map(({type:t,start:n,end:r,name:a,data:i})=>{let o=e.throttledAddEvent({type:po.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:t,description:a,startTimestamp:n,endTimestamp:r,data:i}}});return"string"==typeof o?Promise.resolve(null):o})}function hC(e,t){var n;e.isEnabled()&&null!==t&&(n=t.name,(!hn||!e.getOptions()._experiments.traceInternals)&&dQ(n,tw())||e.addUpdate(()=>(hR(e,[t]),!0)))}function hI(e){if(!e)return;let t=new TextEncoder;try{if("string"==typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){let n=sh(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function hO(e){if(!e)return;let t=parseInt(e,10);return isNaN(t)?void 0:t}function hN(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};let n={...e._meta},r=n.warnings||[];return n.warnings=[...r,t],e._meta=n,e}function hA(e,t){if(!t)return null;let{startTimestamp:n,endTimestamp:r,url:a,method:i,statusCode:o,request:s,response:l}=t;return{type:e,start:n/1e3,end:r/1e3,name:a,data:{method:i,statusCode:o,request:s,response:l}}}function hM(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function hL(e,t,n){if(!t&&0===Object.keys(e).length)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};let r={headers:e,size:t},{body:a,warnings:i}=function(e){var t;let n,r;if(!e||"string"!=typeof e)return{body:e};let a=e.length>15e4,i=(n=(t=e)[0],r=t[t.length-1],"["===n&&"]"===r||"{"===n&&"}"===r);if(a){let t=e.slice(0,15e4);return i?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}â¦`,warnings:["TEXT_TRUNCATED"]}}if(i)try{return{body:JSON.parse(e)}}catch{}return{body:e}}(n);return r.body=a,i?.length&&(r._meta={warnings:i}),r}function hD(e,t){return Object.entries(e).reduce((n,[r,a])=>{let i=r.toLowerCase();return t.includes(i)&&e[r]&&(n[i]=a),n},{})}function h$(e,t=et.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(et.location.origin))return e;let n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;let r=n.href;return!e.endsWith("/")&&r.endsWith("/")?r.slice(0,-1):r}async function hj(e,t,n){try{let r=await hF(e,t,n),a=hA("resource.fetch",r);hC(n.replay,a)}catch(e){hn&&ho.exception(e,"Failed to capture fetch breadcrumb")}}async function hF(e,t,n){var r,a;let i=Date.now(),{startTimestamp:o=i,endTimestamp:s=i}=t,{url:l,method:u,status_code:c=0,request_body_size:d,response_body_size:f}=e.data,p=(r=n.networkDetailAllowUrls,eZ(h$(l),r)&&(a=n.networkDetailDenyUrls,!eZ(h$(l),a)));return{startTimestamp:o,endTimestamp:s,url:l,method:u,statusCode:c,request:p?function({networkCaptureBodies:e,networkRequestHeaders:t},n,r){var a,i;let o=n?(a=n,i=t,1===a.length&&"string"!=typeof a[0]?hW(a[0],i):2===a.length?hW(a[1],i):{}):{};if(!e)return hL(o,r,void 0);let[s,l]=sm(sg(n),ho),u=hL(o,r,s);return l?hN(u,l):u}(n,t.input,d):hM(d),response:await hz(p,n,t.response,f)}}async function hz(e,{networkCaptureBodies:t,networkResponseHeaders:n},r,a){if(!e&&void 0!==a)return hM(a);let i=r?hB(r.headers,n):{};if(!r||!t&&void 0!==a)return hL(i,a,void 0);let[o,s]=await hU(r),l=function(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:a}){try{let i=e?.length&&void 0===n?hI(e):n;if(!r)return hM(i);if(t)return hL(a,i,e);return hL(a,i,void 0)}catch(e){return hn&&ho.exception(e,"Failed to serialize response body"),hL(a,n,void 0)}}(o,{networkCaptureBodies:t,responseBodySize:a,captureDetails:e,headers:i});return s?hN(l,s):l}async function hU(e){let t=function(e){try{return e.clone()}catch(e){hn&&ho.exception(e,"Failed to clone response body")}}(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{var n;return[await (n=t,new Promise((e,t)=>
490{let r=i2(()=>t(Error("Timeout while trying to read response body")),500);hH(n).then(t=>e(t),e=>t(e)).finally(()=>clearTimeout(r))}))]}catch(e){if(e instanceof Error&&e.message.indexOf("Timeout")>-1)return hn&&ho.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"];return hn&&ho.exception(e,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"]}}function hB(e,t){let n={};return t.forEach(t=>{e.get(t)&&(n[t]=e.get(t))}),n}function hW(e,t){if(!e)return{};let n=e.headers;return n?n instanceof Headers?hB(n,t):Array.isArray(n)?{}:hD(n,t):{}}async function hH(e){return await e.text()}async function hq(e,t,n){try{let r=function(e,t,n){var r,a;let i=Date.now(),{startTimestamp:o=i,endTimestamp:s=i,input:l,xhr:u}=t,{url:c,method:d,status_code:f=0,request_body_size:p,response_body_size:h}=e.data;if(!c)return null;if(!u||(r=n.networkDetailAllowUrls,!eZ(h$(c),r))||(a=n.networkDetailDenyUrls,eZ(h$(c),a))){let e=hM(p);return{startTimestamp:o,endTimestamp:s,url:c,method:d,statusCode:f,request:e,response:hM(h)}}let m=u[ir],g=m?hD(m.request_headers,n.networkRequestHeaders):{},y=hD(sy(u),n.networkResponseHeaders),[_,v]=n.networkCaptureBodies?sm(l,ho):[void 0],[b,S]=n.networkCaptureBodies?function(e){let t=[];try{return[e.responseText]}catch(e){t.push(e)}try{var n=e.response,r=e.responseType;try{if("string"==typeof n)return[n];if(n instanceof Document)return[n.body.outerHTML];if("json"===r&&n&&"object"==typeof n)return[JSON.stringify(n)];if(!n)return[void 0]}catch(e){return hn&&ho.exception(e,"Failed to serialize body",n),[void 0,"BODY_PARSE_ERROR"]}return hn&&ho.log("Skipping network body because of body type",n),[void 0,"UNPARSEABLE_BODY_TYPE"]}catch(e){t.push(e)}return hn&&ho.warn("Failed to get xhr response body",...t),[void 0]}(u):[void 0],w=hL(g,p,_),E=hL(y,h,b);return{startTimestamp:o,endTimestamp:s,url:c,method:d,statusCode:f,request:v?hN(w,v):w,response:S?hN(E,S):E}}(e,t,n),a=hA("resource.xhr",r);hC(n.replay,a)}catch(e){hn&&ho.exception(e,"Failed to capture xhr breadcrumb")}}async function hV(e){try{return Promise.all(hR(e,[function(e){let{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,a=Date.now()/1e3;return{type:"memory",name:"memory",start:a,end:a,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}(et.performance.memory)]))}catch{return[]}}let hG=et.navigator;async function hX({client:e,scope:t,replayId:n,event:r}){let a={event_id:n,integrations:"object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit("preprocessEvent",r,a);let i=await rc(e.getOptions(),r,a,t,e,t_());if(!i)return null;e.emit("postprocessEvent",i,a),i.platform=i.platform||"javascript";let o=e.getSdkMetadata(),{name:s,version:l,settings:u}=o?.sdk||{};return i.sdk={...i.sdk,name:s||"sentry.javascript.unknown",version:l||"0.0.0",settings:u},i}async function hY({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:a,session:i}){var o;let s,l=function({recordingData:e,headers:t}){let n,r=`${JSON.stringify(t)} 491`;if("string"==typeof e)n=`${r}${e}`;else{let t=new TextEncoder().encode(r);(n=new Uint8Array(t.length+e.length)).set(t),n.set(e,t.length)}return n}({recordingData:e,headers:{segment_id:n}}),{urls:u,errorIds:c,traceIds:d,initialTimestamp:f}=r,p=tw(),h=ty(),m=p?.getTransport(),g=p?.getDsn();if(!p||!m||!g||!i.sampled)return Promise.resolve({});let y={type:"replay_event",replay_start_timestamp:f/1e3,timestamp:a/1e3,error_ids:c,trace_ids:d,urls:u,replay_id:t,segment_id:n,replay_type:i.sampled},_=await hX({scope:h,client:p,replayId:t,event:y});if(!_)return p.recordDroppedEvent("event_processor","replay"),hn&&ho.log("An event processor returned `null`, will not send event."),Promise.resolve({});delete _.sdkProcessingMetadata;let v=(o=p.getOptions().tunnel,n$(nq(_,nH(_),o,g),[[{type:"replay_event"},_],[{type:"replay_recording",length:"string"==typeof l?new TextEncoder().encode(l).length:l.length},l]]));try{s=await m.send(v)}catch(t){let e=Error(fo);try{e.cause=t}catch{}throw e}let b=ao({},s);if(ai(b,"replay"))throw new hJ(b);if("number"==typeof s.statusCode&&(s.statusCode<200||s.statusCode>=300))throw new hK(s.statusCode);return s}
491class hK extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class hJ extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}class hQ extends Error{constructor(){super("Session is too long, not sending replay")}}async function hZ(e,t={count:0,interval:5e3}){let{recordingData:n,onError:r}=e;if(n.length)try{return await hY(e),!0}catch(n){if(n instanceof hK||n instanceof hJ)throw n;if(rm("Replays",{_retryCount:t.count}),r&&r(n),t.count>=3){let e=Error(`${fo} - max retries exceeded`);try{e.cause=n}catch{}throw e}return t.interval*=++t.count,new Promise((n,r)=>{i2(async()=>{try{await hZ(e,t),n(!0)}catch(e){r(e)}},t.interval)})}}let h0="__THROTTLED";class h1{constructor({options:e,recordingOptions:t}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=t,this._options=e,this._debouncedFlush=function(e,t,n){return function(e,t,n){let r,a,i,o=n?.maxWait?Math.max(n.maxWait,t):0,s=n?.setTimeoutImpl||setTimeout;function l(){return u(),r=e()}function u(){void 0!==a&&clearTimeout(a),void 0!==i&&clearTimeout(i),a=i=void 0}function c(){return a&&clearTimeout(a),a=s(l,t),o&&void 0===i&&(i=s(l,o)),r}return c.cancel=u,c.flush=function(){return void 0!==a||void 0!==i?l():r},c}(e,t,{...n,setTimeoutImpl:i2})}(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=function(e){let t=new Map,n=!1;return(...r)=>{let a,i=Math.floor(Date.now()/1e3);if(a=i-5,t.forEach((e,n)=>{n<a&&t.delete(n)}),[...t.values()].reduce((e,t)=>e+t,0)>=300){let e=n;return n=!0,e?"__SKIPPED":h0}n=!1;let o=t.get(i)||0;return t.set(i,o+1),e(...r)}}((e,t)=>hE(this,e)?hw(this,e,t):Promise.resolve(null));const{slowClickTimeout:n,slowClickIgnoreSelectors:r}=this.getOptions(),a=n?{threshold:Math.min(3e3,n),timeout:n,scrollTimeout:300,ignoreSelector:r?r.join(","):""}:void 0;if(a&&(this.clickDetector=new pJ(this,a)),hn){const t=e._experiments;ho.setConfig({captureExceptions:!!t.captureExceptions,traceInternals:!!t.traceInternals})}this._handleVisibilityChange=()=>{"visible"===et.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{let e=p0({category:"ui.blur"});this._doChangeToBackgroundTasks(e)},this._handleWindowFocus=()=>{let e=p0({category:"ui.focus"});this._doChangeToForegroundTasks(e)},this._handleKeyboardEvent=e=>{!function(e,t){if(!e.isEnabled())return;e.updateUserActivity();let n=function(e){var t;let{metaKey:n,shiftKey:r,ctrlKey:a,altKey:i,key:o,target:s}=e;if(!s||"INPUT"===(t=s).tagName||"TEXTAREA"===t.tagName||t.isContentEditable||!o)return null;let l=n||a||i,u=1===o.length;if(!l&&u)return null;let c=eR(s,{maxStringLength:200})||"<unknown>",d=p3(s,c);return p0({category:"ui.keyDown",message:c,data:{...d.data,metaKey:n,shiftKey:r,ctrlKey:a,altKey:i,key:o}})}(t);n&&pV(e,n)}(this,e)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(e){hn&&ho.exception(e),this._options.onError&&this._options.onError(e)}initializeSampling(e){let{errorSampleRate:t,sessionSampleRate:n}=this._options,r=t<=0&&n<=0;if(this._requiresManualStart=r,!r){if(this._initializeSessionForSampling(e),!this.session){hn&&ho.exception(Error("Unable to initialize and create session"));return}!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",hn&&ho.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&&"session"===this.recordingMode){hn&&ho.log("Recording is already in progress");return}if(this._isEnabled&&"buffer"===this.recordingMode){hn&&ho.log("Buffering is in progress, call `flush()` to save the replay");return}hn&&ho.infoTick("Starting replay in session mode"),this._updateUserActivity();let e=hb({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this.recordingMode="session",this._initializeRecording()}
491startBuffering(){if(this._isEnabled){hn&&ho.log("Buffering is in progress, call `flush()` to save the replay");return}hn&&ho.infoTick("Starting replay in buffer mode");let e=hb({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{var e;let t,n=this._canvas;this._stopRecording=pW({...this._recordingOptions,..."buffer"===this.recordingMode?{checkoutEveryNms:6e4}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:(e=this,t=!1,(n,r)=>{if(!e.checkAndHandleExpiredSession()){hn&&ho.warn("Received replay event after session expired.");return}let a=r||!t;t=!0,function(e){let t=e.data;if(e.type===po.IncrementalSnapshot&&t&&"object"==typeof t&&"source"in t&&t.source===ps.Mutation&&"attributes"in t&&Array.isArray(t.attributes))for(let e of t.attributes){let t=pW.mirror.getNode(e.id),n=t&&pW.mirror.getMeta(t);if(n?.type===p1.Element)for(let[t,r]of Object.entries(e.attributes))null===r?delete n.attributes[t]:n.attributes[t]=r}}(n),e.clickDetector&&function(e,t){try{var n;if(n=t,3!==n.type)return;let{source:r}=t.data;if(pK.has(r)&&e.registerMutation(t.timestamp),r===ps.Scroll&&e.registerScroll(t.timestamp),t.data.source===ps.MouseInteraction){let{type:n,id:r}=t.data,a=pW.mirror.getNode(r);a instanceof HTMLElement&&n===pl.Click&&e.registerClick(a)}}catch{}}(e.clickDetector,n),e.addUpdate(()=>{if("buffer"===e.recordingMode&&a&&e.setInitialState(),!hS(e,n,a))return!0;if(!a)return!1;let t=e.session;if(function(e,t){if(t&&e.session?.segmentId===0){let t;hS(e,(t=e.getOptions(),{type:po.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}),!1)}}(e,a),"buffer"===e.recordingMode&&t&&e.eventBuffer&&!t.dirty){let n=e.eventBuffer.getEarliestTimestamp();n&&(hn&&ho.log(`Updating session start time to earliest event in buffer to ${new Date(n)}`),t.started=n,e.getOptions().stickySession&&hh(t))}return!!t?.previousSessionId||("session"===e.recordingMode&&e.flush(),!0)})}),.../iPhone|iPad|iPod/i.test(hG?.userAgent??"")||/Macintosh/i.test(hG?.userAgent??"")&&hG?.maxTouchPoints&&hG?.maxTouchPoints>1?{sampling:{mousemove:!1}}:{},onMutation:this._onMutationHandler.bind(this),...n?{recordCanvas:n.recordCanvas,getCanvasManager:n.getCanvasManager,sampling:n.sampling,dataURLOptions:n.dataURLOptions}:{}})}catch(e){this.handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this.handleException(e),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(!this._isEnabled)return;this._isEnabled=!1,this.recordingMode="buffer";let n=t??"manual";tw()?.emit("replayEnd",{sessionId:this.session?.id,reason:n});try{hn&&ho.log(`Stopping Replay triggered by ${n}`),hP(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer?.destroy(),this.eventBuffer=null,function(){if(hf())try{et.sessionStorage.removeItem(fi)}catch{}}(),this.session=void 0}catch(e){this.handleException(e)}}pause(){!this._isPaused&&(this._isPaused=!0,this.stopRecording(),hn&&ho.log("Pausing replay"))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),hn&&ho.log("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();let t=Date.now();hn&&ho.log("Converting buffer to session"),await this.flushImmediate();let n=this.stopRecording();e&&n&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this.session.dirty=!1,this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),this.startRecording())}addUpdate(e){let t=e();"buffer"!==this.recordingMode&&this._isEnabled&&!0!==t&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(e){if(!e||this.session?.sampled!==!1)return this.session?.id}
491checkAndHandleExpiredSession(){return this._lastActivity&&hy(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session?.sampled==="session"?void this.pause():!!this._checkSession()}setInitialState(){let e=`${et.location.pathname}${et.location.hash}${et.location.search}`,t=`${et.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){let n=this._throttledAddEvent(e,t);if(n===h0){let e=p0({category:"replay.throttled"});this.addUpdate(()=>!hS(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}}))}return n}getCurrentRoute(){let e=this.lastActiveSpan||nk(),t=e&&nw(e),n=(t&&nc(t).data||{})[tk];if(t&&n&&["route","custom"].includes(n))return nc(t).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=function({useCompression:e,workerUrl:t}){if(e&&window.Worker){let e=function(e){try{let t=e||function(){if("u"<typeof __SENTRY_EXCLUDE_REPLAY_WORKER__||!__SENTRY_EXCLUDE_REPLAY_WORKER__){let e;return e=new Blob(['
vendor: 10,329 bytes, line 491
491var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),s=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(t,e){for(var i=new n(31),s=0;s<31;++s)i[s]=e+=1<<t[s-1];var a=new r(i[30]);for(s=1;s<30;++s)for(var o=i[s];o<i[s+1];++o)a[o]=o-i[s]<<5|s;return{b:i,r:a}},o=a(e,2),h=o.b,f=o.r;h[28]=258,f[258]=28;for(var l=a(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,s=0,a=new n(r);s<i;++s)t[s]&&++a[t[s]-1];var o,h=new n(r);for(s=1;s<r;++s)h[s]=h[s-1]+a[s-1]<<1;if(e){o=new n(1<<r);var f=15-r;for(s=0;s<i;++s)if(t[s])for(var l=s<<4|t[s],c=r-t[s],v=h[t[s]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>f]=l}else for(o=new n(i),s=0;s<i;++s)t[s]&&(o[s]=u[h[t[s]-1]++]>>15-t[s]);return o},p=new t(288);for(c=0;c<144;++c)p[c]=8;for(c=144;c<256;++c)p[c]=9;for(c=256;c<280;++c)p[c]=7;for(c=280;c<288;++c)p[c]=8;var g=new t(32);for(c=0;c<32;++c)g[c]=5;var w=d(p,9,0),y=d(g,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},_=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},x=function(r,e){for(var i=[],s=0;s<r.length;++s)r[s]&&i.push({s:s,f:r[s]});var a=i.length,o=i.slice();if(!a)return{t:F,l:0};if(1==a){var h=new t(i[0].s+1);return h[i[0].s]=1,{t:h,l:1}}i.sort(function(t,n){return t.f-n.f}),i.push({s:-1,f:25001});var f=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:f.f+l.f,l:f,r:l};c!=a-1;)f=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:f.f+l.f,l:f,r:l};var d=o[0].s;for(s=1;s<a;++s)o[s].s>d&&(d=o[s].s);var p=new n(d+1),g=A(i[c-1],p,0);if(g>e){s=0;var w=0,y=g-e,m=1<<y;for(o.sort(function(t,n){return p[n.s]-p[t.s]||t.f-n.f});s<a;++s){var b=o[s].s;if(!(p[b]>e))break;w+=m-(1<<g-p[b]),p[b]=e}for(w>>=y;w>0;){var M=o[s].s;p[M]<e?w-=1<<e-p[M]++-1:++s}for(;s>=0&&w;--s){var E=o[s].s;p[E]==e&&(--p[E],++w)}g=e}return{t:new t(p),l:g}},A=function(t,n,r){return-1==t.s?Math.max(A(t.l,n,r+1),A(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,s=t[0],a=1,o=function(t){e[i++]=t},h=1;h<=r;++h)if(t[h]==s&&h!=r)++a;else{if(!s&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(s),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(s);a=1,s=t[h]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var s=0;s<e;++s)t[i+s+4]=r[s];return 8*(i+4+e)},U=function(t,r,a,o,h,f,l,u,c,v,m){z(r,m++,a),++h[256];for(var b=x(h,15),M=b.t,E=b.l,A=x(f,15),U=A.t,C=A.l,F=D(M),I=F.c,S=F.n,L=D(U),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=x(q,7),H=G.t,J=G.l,K=19;K>4&&!H[s[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(h,p)+T(f,g)+l,X=T(h,M)+T(f,U)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(U,C,0),R=U;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[s[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=w,P=p,Q=y,R=g;for(B=0;B<u;++B){var rt=o[B];if(rt>255){_(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;_(r,m,Q[et]),m+=R[et],et>3&&(_(r,m,rt>>5&8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a<o;++a)i+=e+=r[a];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(s,a,o,h,u){if(!u&&(u={l:1},a.dictionary)){var c=a.dictionary.subarray(-32768),v=new t(c.length+s.length);v.set(c),v.set(s,c.length),s=v,u.w=c.length}return function(s,a,o,h,u,c){var v=c.z||s.length,d=new t(h+v+5*(1+Math.ceil(v/7e3))+u),p=d.subarray(h,d.length-u),g=c.l,w=7&(c.r||0);if(a){w&&(p[0]=c.r>>3);for(var y=C[a-1],M=y>>13,E=8191&y,z=(1<<o)-1,_=c.p||new n(32768),x=c.h||new n(z+1),A=Math.ceil(o/3),D=2*A,T=function(t){return(s[t]^s[t+1]<<A^s[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=x[H];if(_[J]=K,x[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!g)){w=U(s,p,0,F,I,S,O,q,G,j-G,w),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(s[j+Q]==s[j+Q-W]){for(var $=0;$<Z&&s[j+$]==s[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-_[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&32767}if(R){F[q++]=268435456|f[Q]<<18|l[R];var it=31&f[Q],st=31&l[R];O+=e[it]+i[st],++I[257+it],++S[st],B=j+Q,++L}else F[q++]=s[j],++I[s[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=s[j],++I[s[j]];w=U(s,p,g,F,I,S,O,q,G,j-G,w),g||(c.r=7&w|p[w/8|0]<<3,w-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+g;j+=65535){var at=j+65535;at>=v&&(p[w/8|0]=g,at=v),w=k(p,w+1,s.subarray(j,at))}c.i=v}return b(d,0,h+m(w)+u)}(s,null==a.level?6:a.level,null==a.mem?u.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):20:12+a.mem,o,h,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var s=this.b.length-this.s.z;this.b.set(n.subarray(0,s),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(s),32768),this.s.z=n.length-s+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n.prototype.flush=function(){this.ondata||E(5),this.s.l&&E(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,s=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),a=s.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(s,n),O(s,a-8,r.d()),O(s,a-4,e),s}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t.prototype.flush=function(){j.prototype.flush.call(this)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(G)return G.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),s=0,a=function(t){i[s++]=t},o=0;o<e;++o){if(s+5>i.length){var h=new t(s+8+(e-o<<1));h.set(i),i=h}var f=n.charCodeAt(o);f<128||r?a(f):f<2048?(a(192|f>>6),a(128|63&f)):f>55295&&f<57344?(a(240|(f=65536+(1047552&f)|1023&n.charCodeAt(++o))>>18),a(128|f>>12&63),a(128|f>>6&63),a(128|63&f)):(a(224|f>>12),a(128|f>>6&63),a(128|63&f))}return b(i,0,s)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J((t,n)=>{this.deflate.push(t,n)}),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}}),postMessage({id:void 0,method:"init",success:!0,response:void 0});
491']),URL.createObjectURL(e)}return""}();if(!t)return;hn&&ho.log(`Using compression worker${e?` from ${e}`:""}`);let n=new Worker(t);return new hd(n)}catch(e){hn&&ho.exception(e,"Failed to create compression worker")}}(t);if(e)return e}return hn&&ho.log("Using simple buffer"),new hl}({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.session&&tw()?.emit("replayStart",{sessionId:this.session.id,recordingMode:this.recordingMode}),this.startRecording()}_initializeSessionForSampling(e){let t=this._options.errorSampleRate>0,n=hb({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=n}_checkSession(){if(!this.session)return!1;let e=this.session;return!hv(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"sessionExpired"}),this.initializeSampling(e.id))}_addListeners(){try{et.document.addEventListener("visibilitychange",this._handleVisibilityChange),et.addEventListener("blur",this._handleWindowBlur),et.addEventListener("focus",this._handleWindowFocus),et.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(!function(e){let t,n=tw();a9(t=>{var n,r;if(!e.isEnabled())return;let a=function(e){let{target:t,message:n}=function(e){let t,n="click"===e.name,r=null;try{r=n?pX(e.event):pY(e.event),t=eR(r,{maxStringLength:200})||"<unknown>"}catch{t="<unknown>"}return{target:r,message:t}}(e);return p0({category:`ui.${e.name}`,...p3(t,n)})}(t);if(!a)return;let i="click"===t.name,o=i?t.event:void 0;i&&e.clickDetector&&o?.target&&!o.altKey&&!o.metaKey&&!o.ctrlKey&&!o.shiftKey&&(n=e.clickDetector,r=pX(t.event),n.handleClick(a,r)),pV(e,a)}),io(t=>{if(!e.isEnabled())return;let n=function(e){let{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}(t);null!==n&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(hR(e,[n]),!1)))}),(t=tw())&&t.on("beforeAddBreadcrumb",t=>(function(e,t){var n;if(!e.isEnabled()||!hT(t))return;let r=(n=t,!hT(n)||["fetch","xhr","sentry.event","sentry.transaction"].includes(n.category)||n.category.startsWith("ui.")?null:"console"===n.category?function(e){let t=e.data?.arguments;if(!Array.isArray(t)||0===t.length)return p0(e);let n=!1,r=t.map(e=>{if(!e)return e;if("string"==typeof e)return e.length>5e3?(n=!0,`${e.slice(0,5e3)}â¦`):e;if("object"==typeof e)try{let t=nD(e,7);if(JSON.stringify(t).length>5e3)return n=!0,`${JSON.stringify(t,null,2).slice(0,5e3)}â¦`;return t}catch{}return e});return p0({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(n):p0(n));r&&pV(e,r)})(e,t));let r=tw();try{let{networkDetailAllowUrls:t,networkDetailDenyUrls:n,networkCaptureBodies:a,networkRequestHeaders:i,networkResponseHeaders:o}=e.getOptions(),s={replay:e,networkDetailAllowUrls:t,networkDetailDenyUrls:n,networkCaptureBodies:a,networkRequestHeaders:i,networkResponseHeaders:o};r&&r.on("beforeAddBreadcrumb",(e,t)=>(function(e,t,n){if(t.data)try{var r,a,i,o;r=t,"xhr"===r.category&&(a=n,a?.xhr)&&(!function(e,t){let{xhr:n,input:r}=t;if(!n)return;let a=hI(r),i=n.getResponseHeader("content-length")?hO(n.getResponseHeader("content-length")):function(e,t){try{let n="json"===t&&e&&"object"==typeof e?JSON.stringify(e):e;return hI(n)}catch{return}}(n.response,n.responseType);void 0!==a&&(e.data.request_body_size=a),void 0!==i&&(e.data.response_body_size=i)}(t,n),hq(t,n,e)),i=t,"fetch"===i.category&&(o=n,o?.response)&&(!function(e,t){let{input:n,response:r}=t,a=hI(n?sg(n):void 0),i=r?hO(r.headers.get("content-length")):void 0;void 0!==a&&(e.data.request_body_size=a),void 0!==i&&(e.data.response_body_size=i)}(t,n),hj(t,n,e))}
491catch(e){hn&&ho.exception(e,"Error when enriching network breadcrumb")}})(s,e,t))}catch{}rR(Object.assign((t,n)=>{if(!e.isEnabled()||e.isPaused())return t;if("replay_event"===t.type)return delete t.breadcrumbs,t;if(t.type&&!hk(t)&&!hx(t))return t;if(!e.checkAndHandleExpiredSession())return hP(),t;if(hx(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),e.triggerUserActivity(),e.addUpdate(()=>!t.timestamp||(e.throttledAddEvent({type:po.Custom,timestamp:1e3*t.timestamp,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1)),t;if(!t.type&&t.exception?.values?.length&&n.originalException?.__rrweb__&&!e.getOptions()._experiments.captureExceptions)return hn&&ho.log("Ignoring error from rrweb internals",t),null;let r="buffer"===e.recordingMode&&t.message!==fo&&!!t.exception&&!t.type&&hp(e.getOptions().errorSampleRate);if((r||"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),r&&"buffer"===e.recordingMode&&e.session?.sampled==="buffer"){let t=e.session;t.dirty=!0,e.getOptions().stickySession&&hh(t)}return t},{id:"Replay"})),n&&(n.on("beforeSendEvent",t=>{var n,r;let a;e.isEnabled()&&!t.type&&(n=e,r=t,a=r.exception?.values?.[0]?.value,"string"==typeof a&&(a.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||a.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&pV(n,p0({category:"replay.hydrate-error",data:{url:eC()}})))}),n.on("afterSendEvent",(t,n)=>{if(!e.isEnabled()||t.type&&!hk(t))return;let r=n.statusCode;if(r&&!(r<200)&&!(r>=300)){if(hk(t)){var a,i;let n;return void(a=e,i=t,n=a.getContext(),i.contexts?.trace?.trace_id&&n.traceIds.size<100&&n.traceIds.add(i.contexts.trace.trace_id))}!function(e,t){let n=e.getContext();if(t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id),"buffer"!==e.recordingMode||!t.tags?.replayId)return;let{beforeErrorSampling:r}=e.getOptions();("function"!=typeof r||r(t))&&i2(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(t){e.handleException(t)}})}(e,t)}}),n.on("createDsc",t=>{let n=e.getSessionId();n&&e.isEnabled()&&"session"===e.recordingMode&&e.checkAndHandleExpiredSession()&&(t.replay_id=n)}),n.on("spanStart",t=>{e.lastActiveSpan=t}),n.on("spanEnd",t=>{e.lastActiveSpan=t}),n.on("beforeSendFeedback",async(t,n)=>{let r=e.getSessionId();n?.includeReplay&&e.isEnabled()&&r&&t.contexts?.feedback&&("api"===t.contexts.feedback.source&&await e.sendBufferedReplayOrFlush(),t.contexts.feedback.replay_id=r)}),n.on("openFeedbackWidget",async()=>{await e.sendBufferedReplayOrFlush()}))}(this),this._hasInitializedCoreListeners=!0)}catch(e){this.handleException(e)}this._performanceCleanupCallback=function(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function n({entries:e}){e.forEach(t)}let r=[];return["navigation","paint","resource"].forEach(e=>{r.push(oH(e,n))}),r.push(oB(p5(p7,e)),oU(p5(p9,e)),oW(p5(he,e))),()=>{r.forEach(e=>e())}}(this)}_removeListeners(){try{et.document.removeEventListener("visibilitychange",this._handleVisibilityChange),et.removeEventListener("blur",this._handleWindowBlur),et.removeEventListener("focus",this._handleWindowFocus),et.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this.handleException(e)}}_doChangeToBackgroundTasks(e){!this.session||h_(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush())}_doChangeToForegroundTasks(e){if(this.session){if(!this.checkAndHandleExpiredSession()){hn&&ho.log("Document has become active, but session has expired");return}e&&this._createCustomBreadcrumb(e)}}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{this.throttledAddEvent({type:po.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){let e=this.performanceEntries.map(p6).filter(
491Boolean).concat(this.replayPerformanceEntries);if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){let t=this._context.initialTimestamp/1e3;e=e.filter(e=>e.start>=t)}return Promise.all(hR(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){let{session:e,eventBuffer:t}=this;if(!e||!t||this._requiresManualStart||e.segmentId)return;let n=t.getEarliestTimestamp();n&&n<this._context.initialTimestamp&&(this._context.initialTimestamp=n)}_popEventContext(){let e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){let e=this.getSessionId();if(!this.session||!this.eventBuffer||!e){hn&&ho.error("No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),this.eventBuffer?.hasEvents){if((await hV(this),this.eventBuffer)&&e===this.getSessionId())try{this._updateInitialTimestampFromEventBuffer();let t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new hQ;let n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession();let a=await this.eventBuffer.finish();await hZ({replayId:e,recordingData:a,segmentId:r,eventContext:n,session:this.session,timestamp:t,onError:e=>this.handleException(e)})}catch(t){this.handleException(t),this.stop({reason:"sendError"});let e=tw();e&&e.recordDroppedEvent(t instanceof hJ?"ratelimit_backoff":t instanceof hQ?"invalid":"send_error","replay")}}}async _flush({force:e=!1}={}){if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession()){hn&&ho.error("Attempting to finish replay event after session expired.");return}if(!this.session)return;let t=this.session.started,n=Date.now()-t;this._debouncedFlush.cancel();let r=n<this._options.minReplayDuration,a=n>this._options.maxReplayDuration+5e3;if(r||a){hn&&ho.log(`Session duration (${Math.floor(n/1e3)}s) is too ${r?"short":"long"}, not sending replay.`),r&&this._debouncedFlush();return}let i=this.eventBuffer;i&&0===this.session.segmentId&&!i.hasCheckout&&hn&&ho.log("Flushing initial segment without checkout.");let o=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(e){this.handleException(e)}finally{this._flushLock=void 0,o&&this._debouncedFlush()}}_maybeSaveSession(){this.session&&this._options.stickySession&&hh(this.session)}_onMutationHandler(e){let{ignoreMutations:t}=this._options._experiments;if(t?.length&&e.some(e=>{let n=function(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}(e.target),r=t.join(",");return n?.matches(r)}))return!1;let n=e.length,r=this._options.mutationLimit,a=this._options.mutationBreadcrumbLimit,i=r&&n>r;if(n>a||i){let e=p0({category:"replay.mutations",data:{count:n,limit:i}});this._createCustomBreadcrumb(e)}return!i||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}function h2(e,t){return[...e,...t].join(",")}let h3='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',h4=["content-length","content-type","accept"],h5=Symbol.for("sentry__originalRequestBody"),h6=!1,h8=!1,h7=e=>new h9(e);class h9{constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:n=4999,maxReplayDuration:r=36e5,stickySession:a=!0,useCompression:i=!0,workerUrl:o,_experiments:s={},maskAllText:l=!0,maskAllInputs:u=!0,blockAllMedia:c=!0,mutationBreadcrumbLimit:d=750,mutationLimit:f=1e4,slowClickTimeout:p=7e3,slowClickIgnoreSelectors:h=[],networkDetailAllowUrls:m=[],networkDetailDenyUrls:g=[],networkCaptureBodies:y=!0,networkRequestHeaders:_=[],networkResponseHeaders:v=[],mask:b=[],maskAttributes:S=["title","placeholder","aria-label"],unmask:w=[],block:E=[],unblock:k=[],ignore:x=[],maskFn:T,beforeAddRecordingEvent:P,beforeErrorSampling:R,onError:C,attachRawBodyFromRequest:I=!1}={}){this.name="Replay";const O=function({mask:e,unmask:t,block:n,unblock:r,ignore:a}){return{maskTextSelector:h2(e,[".sentry-mask","[data-sentry-mask]"]),unmaskTextSelector:h2(t,[]),blockSelector:h2(n,[".sentry-block","[data-sentry-block]","base","iframe[srcdoc]:not
491([src])"]),unblockSelector:h2(r,[]),ignoreSelector:h2(a,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}({mask:b,unmask:w,block:E,unblock:k,ignore:x});if(this._recordingOptions={maskAllInputs:u,maskAllText:l,maskInputOptions:{password:!0},maskTextFn:T,maskInputFn:T,maskAttributeFn:(e,t,n)=>(function({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:a,value:i}){return!r||a.unmaskTextSelector&&e.matches(a.unmaskTextSelector)?i:n.includes(t)||"value"===t&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"")?i.replace(/[\S]/g,"*"):i})({maskAttributes:S,maskAllText:l,privacyOptions:O,key:e,value:t,el:n}),...O,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch{}},recordCrossOriginIframes:!!s.recordCrossOriginIframes},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(n,5e4),maxReplayDuration:Math.min(r,36e5),stickySession:a,useCompression:i,workerUrl:o,blockAllMedia:c,maskAllInputs:u,maskAllText:l,mutationBreadcrumbLimit:d,mutationLimit:f,slowClickTimeout:p,slowClickIgnoreSelectors:h,networkDetailAllowUrls:m,networkDetailDenyUrls:g,networkCaptureBodies:y,networkRequestHeaders:me(_),networkResponseHeaders:me(v),beforeAddRecordingEvent:P,beforeErrorSampling:R,onError:C,attachRawBodyFromRequest:I,_experiments:s},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${h3}`:h3,this._recordingOptions.ignoreCSSAttributes=new Set(["background-image"])),this._isInitialized&&os())throw Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return h6}set _isInitialized(e){h6=e}afterAllSetup(e){os()&&!this._replay&&(this._initialOptions.attachRawBodyFromRequest&&function(){if("u"<typeof Request||h8)return;let e=Request;try{let t=function(t,n){let r=new e(t,n);return n?.body!=null&&(r[h5]=n.body),r};t.prototype=e.prototype,et.Request=t,h8=!0}catch{}}(),this._setup(e),this._initialize(e))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode,reason:"manual"}):Promise.resolve()}flush(e){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(e){if(this._replay?.isEnabled())return this._replay.getSessionId(e)}getRecordingMode(){if(this._replay?.isEnabled())return this._replay.recordingMode}_initialize(e){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(e),this._replay.initializeSampling())}_setup(e){var t;let n,r,a,i,o=(t=this._initialOptions,n=e.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...t},a=tq(n.replaysSessionSampleRate),i=tq(n.replaysOnErrorSampleRate),null==a&&null==i&&el(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),null!=a&&(r.sessionSampleRate=a),null!=i&&(r.errorSampleRate=i),r);this._replay=new h1({options:o,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(e){try{let t=e.getIntegrationByName("ReplayCanvas");if(!t)return;this._replay._canvas=t.getOptions()}catch{}}}function me(e){return[...h4,...e.map(e=>e.toLowerCase())]}function mt(){let e=tw();return e?.getIntegrationByName("Replay")}var mn=Object.defineProperty,mr=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?mn(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n};function ma(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:ma(e.parentNode,t,n,r+1)}function mi(e,t){return n=>{if(null===n)return!1;try{if(e){if("string"==typeof e){if(n.matches(`.${e}`))return!0}else if(function(e,t){for(let n=e.classList.length;n--;){let r=e.classList[n];if(t.test(r))return!0}return!1}(n,e))return!0}if(t&&n.matches(t))return!0;return!1}catch{return!1}}}let mo="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",ms={map:{},getId:()=>(console.error(mo),-1),getNode:()=>(console.error(mo),null),removeNodeFromMap(){console.error(mo)},has:()=>(console.error(mo),!1),reset(){console.error(mo)}};function ml(e,t,n,r,a=window){let i=a.Object.getOwnPropertyDescriptor(e,t);return a.Object.defineProperty(e,t,r?n:{set(e){mh(()=>{n.set.call(this,e)},0),i&&i.set&&i.set.call(this,e)}}),()=>ml(e,t,i||{},!0)}function mu(e,t,n){try{if(!(t in e))return()=>{};let r=e[t],a=n(r);return"function"==typeof a&&(a.prototype=a.prototype||{},Object.defineProperties(a,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=a,()=>{e[t]=r}}catch{return()=>{}}}function mc(e,t,n,r,a){if(!e)return!1;let i=function(e){if(!e)return null;
491try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch(e){return null}}(e);if(!i)return!1;let o=mi(t,n);if(!a){let e=r&&i.matches(r);return o(i)&&!e}let s=ma(i,o),l=-1;return!(s<0)&&(r&&(l=ma(i,mi(null,r))),s>-1&&l<0||s<l)}"u">typeof window&&window.Proxy&&window.Reflect&&(ms=new Proxy(ms,{get:(e,t,n)=>("map"===t&&console.error(mo),Reflect.get(e,t,n))})),Date.now().toString();let md={};function mf(e){let t=md[e];if(t)return t;let n=window.document,r=window[e];if(n&&"function"==typeof n.createElement)try{let t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);let a=t.contentWindow;a&&a[e]&&(r=a[e]),n.head.removeChild(t)}catch(e){}return md[e]=r.bind(window)}function mp(...e){return mf("requestAnimationFrame")(...e)}function mh(...e){return mf("setTimeout")(...e)}var mm=((Y=mm||{})[Y["2D"]=0]="2D",Y[Y.WebGL=1]="WebGL",Y[Y.WebGL2=2]="WebGL2",Y);let mg=e=>R?(...t)=>{try{return e(...t)}catch(e){if(R&&!0===R(e))return()=>{};throw e}}:e;for(var my="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",m_="u"<typeof Uint8Array?[]:new Uint8Array(256),mv=0;mv<my.length;mv++)m_[my.charCodeAt(mv)]=mv;var mb=function(e){var t,n=new Uint8Array(e),r=n.length,a="";for(t=0;t<r;t+=3)a+=my[n[t]>>2],a+=my[(3&n[t])<<4|n[t+1]>>4],a+=my[(15&n[t+1])<<2|n[t+2]>>6],a+=my[63&n[t+2]];return r%3==2?a=a.substring(0,a.length-1)+"=":r%3==1&&(a=a.substring(0,a.length-2)+"=="),a};let mS=new Map,mw=(e,t,n)=>{let r;if(!e||!(mk(e,t)||"object"==typeof e))return;let a=e.constructor.name,i=((r=mS.get(n))||(r=new Map,mS.set(n,r)),r.has(a)||r.set(a,[]),r.get(a)),o=i.indexOf(e);return -1===o&&(o=i.length,i.push(e)),o},mE=(e,t,n)=>e.map(e=>(function e(t,n,r){if(t instanceof Array)return t.map(t=>e(t,n,r));if(null===t);else if(t instanceof Float32Array||t instanceof Float64Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Uint8Array||t instanceof Uint16Array||t instanceof Int16Array||t instanceof Int8Array||t instanceof Uint8ClampedArray)return{rr_type:t.constructor.name,args:[Object.values(t)]};else if(t instanceof ArrayBuffer)return{rr_type:t.constructor.name,base64:mb(t)};else if(t instanceof DataView)return{rr_type:t.constructor.name,args:[e(t.buffer,n,r),t.byteOffset,t.byteLength]};else if(t instanceof HTMLImageElement){let e=t.constructor.name,{src:n}=t;return{rr_type:e,src:n}}else if(t instanceof HTMLCanvasElement)return{rr_type:"HTMLImageElement",src:t.toDataURL()};else if(t instanceof ImageData)return{rr_type:t.constructor.name,args:[e(t.data,n,r),t.width,t.height]};else if(mk(t,n)||"object"==typeof t)return{rr_type:t.constructor.name,index:mw(t,n,r)};return t})(e,t,n)),mk=(e,t)=>!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(e=>"function"==typeof t[e]).find(n=>e instanceof t[n]);function mx(e,t,n,r,a){let i=[];try{let o=mu(e.HTMLCanvasElement.prototype,"getContext",function(e){return function(i,...o){if(!mc(this,t,n,r,!0)){let e="experimental-webgl"===i?"webgl":i;if("__context"in this||(this.__context=e),a&&["webgl","webgl2"].includes(e))if(o[0]&&"object"==typeof o[0]){let e=o[0];e.preserveDrawingBuffer||(e.preserveDrawingBuffer=!0)}else o.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[i,...o])}});i.push(o)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{i.forEach(e=>e())}}function mT(e,t,n,r,a,i,o,s){let l=[];for(let o of Object.getOwnPropertyNames(e))if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(o))try{if("function"!=typeof e[o])continue;let u=mu(e,o,function(e){return function(...l){let u=e.apply(this,l);if(mw(u,s,this),"tagName"in this.canvas&&!mc(this.canvas,r,a,i,!0)){let e=mE(l,s,this),r={type:t,property:o,args:e};n(this.canvas,r)}return u}});l.push(u)}catch{let r=ml(e,o,{set(e){n(this.canvas,{type:t,property:o,args:[e],setter:!0})}});l.push(r)}return l}class mP{constructor(e){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.shadowDoms=new Set,this.windowsSet=new WeakSet,this.windows=[],this.restoreHandlers=[],this.frozen=!1,this.locked=!1,this.snapshotInProgressMap=new Map,this.worker=null,this.lastSnapshotTime=0,this.processMutation=(e,t)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(e)||this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(t)};const{enableManualSnapshot:t,sampling:n="all",win:r,recordCanvas:a,errorHandler:i}=e;if(e.sampling=n,this.mutationCb=e.mutationCb,this.mirror=e.mirror,this.options=e,i&&function(e){R=e}(i),(a&&"number"==typeof n||t)&&(this.worker=this.initFPSWorker()),this.addWindow(r),t)return;mg(()=>{a&&"all"===n&&(this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher()),a&&"number"==typeof n&&this.initCanvasFPSObserver()})()}reset(){this.pendingCanvasMutations.clear(),this.restoreHandlers.forEac
491h(e=>{try{e()}catch(e){}}),this.restoreHandlers=[],this.windowsSet=new WeakSet,this.windows=[],this.shadowDoms=new Set,this.worker?.terminate(),this.worker=null,this.snapshotInProgressMap=new Map}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}addWindow(e){let{sampling:t="all",blockClass:n,blockSelector:r,unblockSelector:a,recordCanvas:i,enableManualSnapshot:o}=this.options;if(!this.windowsSet.has(e)){if(o){this.windowsSet.add(e),this.windows.push(new WeakRef(e));return}mg(()=>{if(i&&"all"===t&&this.initCanvasMutationObserver(e,n,r,a),i&&"number"==typeof t){let t=mx(e,n,r,a,!0);this.restoreHandlers.push(()=>{t()})}})(),this.windowsSet.add(e),this.windows.push(new WeakRef(e))}}addShadowRoot(e){this.shadowDoms.add(new WeakRef(e))}resetShadowRoots(){this.shadowDoms=new Set}snapshot(e,t){t?.skipRequestAnimationFrame?this.takeSnapshot(performance.now(),!0,e):mp(t=>this.takeSnapshot(t,!0,e))}initFPSWorker(){let e,t=new Worker((e=new Blob(['for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t="undefined"==typeof Uint8Array?[]:new Uint8Array(256),a=0;a<64;a++)t[e.charCodeAt(a)]=a;var n=function(t){var a,n=new Uint8Array(t),r=n.length,s="";for(a=0;a<r;a+=3)s+=e[n[a]>>2],s+=e[(3&n[a])<<4|n[a+1]>>4],s+=e[(15&n[a+1])<<2|n[a+2]>>6],s+=e[63&n[a+2]];return r%3==2?s=s.substring(0,s.length-1)+"=":r%3==1&&(s=s.substring(0,s.length-2)+"=="),s};const r=new Map,s=new Map;const i=self;i.onmessage=async function(e){if(!("OffscreenCanvas"in globalThis))return i.postMessage({id:e.data.id});{const{id:t,bitmap:a,width:o,height:f,maxCanvasSize:c,dataURLOptions:g}=e.data,u=async function(e,t,a){const r=e+"-"+t;if("OffscreenCanvas"in globalThis){if(s.has(r))return s.get(r);const i=new OffscreenCanvas(e,t);i.getContext("2d");const o=await i.convertToBlob(a),f=await o.arrayBuffer(),c=n(f);return s.set(r,c),c}return""}(o,f,g),[h,d]=function(e,t,a){if(!a)return[e,t];const[n,r]=a;if(e<=n&&t<=r)return[e,t];let s=e,i=t;return s>n&&(i=Math.floor(n*t/e),s=n),i>r&&(s=Math.floor(r*e/t),i=r),[s,i]}(o,f,c),l=new OffscreenCanvas(h,d),w=l.getContext("bitmaprenderer"),p=h===o&&d===f?a:await createImageBitmap(a,{resizeWidth:h,resizeHeight:d,resizeQuality:"low"});w?.transferFromImageBitmap(p),a.close();const y=await l.convertToBlob(g),v=y.type,b=await y.arrayBuffer(),m=n(b);if(p.close(),!r.has(t)&&await u===m)return r.set(t,m),i.postMessage({id:t});if(r.get(t)===m)return i.postMessage({id:t});i.postMessage({id:t,type:v,base64:m,width:o,height:f}),r.set(t,m)}};']),URL.createObjectURL(e)));return t.onmessage=e=>{let t=e.data,{id:n}=t;if(this.snapshotInProgressMap.set(n,!1),!("base64"in t))return;let{base64:r,type:a,width:i,height:o}=t;this.mutationCb({id:n,type:mm["2D"],commands:[{property:"clearRect",args:[0,0,i,o]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:r}],type:a}]},0,0,i,o]}]})},t}initCanvasFPSObserver(){let e;if(!this.windows.length&&!this.shadowDoms.size)return;let t=n=>{this.takeSnapshot(n,!1),e=mp(t)};e=mp(t),this.restoreHandlers.push(()=>{e&&cancelAnimationFrame(e)})}initCanvasMutationObserver(e,t,n,r){var a,i;let o,s=mx(e,t,n,r,!1),l=function(e,t,n,r,a){let i=[];for(let o of Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype))try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[o])continue;let s=mu(t.CanvasRenderingContext2D.prototype,o,function(i){return function(...s){return mc(this.canvas,n,r,a,!0)||mh(()=>{let n=mE(s,t,this);e(this.canvas,{type:mm["2D"],property:o,args:n})},0),i.apply(this,s)}});i.push(s)}catch{let n=ml(t.CanvasRenderingContext2D.prototype,o,{set(t){e(this.canvas,{type:mm["2D"],property:o,args:[t],setter:!0})}});i.push(n)}return()=>{i.forEach(e=>e())}}(this.processMutation.bind(this),e,t,n,r),u=(a=this.processMutation.bind(this),i=this.mirror,(o=[]).push(...mT(e.WebGLRenderingContext.prototype,mm.WebGL,a,t,n,r,i,e)),void 0!==e.WebGL2RenderingContext&&o.push(...mT(e.WebGL2RenderingContext.prototype,mm.WebGL2,a,t,n,r,i,e)),()=>{o.forEach(e=>e())});this.restoreHandlers.push(()=>{s(),l(),u()})}
491getCanvasElements(e,t,n){let r=[],a=a=>{a.querySelectorAll("canvas").forEach(a=>{mc(a,e,t,n,!0)||r.push(a)})};for(let e of this.windows){let t,n=e.deref();try{t=n&&n.document}catch{}t&&a(t)}for(let e of this.shadowDoms){let t=e.deref();t&&a(t)}return r}takeSnapshot(e,t,n){let{sampling:r,blockClass:a,blockSelector:i,unblockSelector:o,dataURLOptions:s,maxCanvasSize:l}=this.options;return(!this.lastSnapshotTime||!(e-this.lastSnapshotTime<1e3/("all"===r?2:r||2)))&&(this.lastSnapshotTime=e,(n?[n]:this.getCanvasElements(a,i,o)).forEach(e=>{let n=this.mirror.getId(e);if(!(!this.mirror.hasNode(e)||!e.width||!e.height||this.snapshotInProgressMap.get(n))){if(this.snapshotInProgressMap.set(n,!0),!t&&["webgl","webgl2"].includes(e.__context)){let t=e.getContext(e.__context);t?.getContextAttributes()?.preserveDrawingBuffer===!1&&t.clear(t.COLOR_BUFFER_BIT)}createImageBitmap(e).then(t=>{this.worker?.postMessage({id:n,bitmap:t,width:e.width,height:e.height,dataURLOptions:s,maxCanvasSize:l},[t])}).catch(e=>{mg(()=>{throw this.snapshotInProgressMap.delete(n),e})()})}}),!0)}startPendingCanvasMutationFlusher(){mp(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){let e=t=>{this.rafStamps.latestId=t,mp(e)};mp(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((e,t)=>{let n=this.mirror.getId(t);this.flushPendingCanvasMutationFor(t,n)}),mp(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(e,t){if(this.frozen||this.locked)return;let n=this.pendingCanvasMutations.get(e);if(!n||-1===t)return;let r=n.map(e=>{let{type:t,...n}=e;return n}),{type:a}=n[0];this.mutationCb({id:t,type:a,commands:r}),this.pendingCanvasMutations.delete(e)}}try{if(2!==Array.from([1],e=>2*e)[0]){let e=document.createElement("iframe");document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}new class e{constructor(){mr(this,"idNodeMap",new Map),mr(this,"nodeMetaMap",new WeakMap)}getId(e){return e?this.getMeta(e)?.id??-1:-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){let t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(e=>this.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){let n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){let n=this.getNode(e);if(n){let e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}},(K=Q||(Q={}))[K.NotStarted=0]="NotStarted",K[K.Running=1]="Running",K[K.Stopped=2]="Stopped";let mR={low:{sampling:{canvas:1},dataURLOptions:{type:"image/webp",quality:.25}},medium:{sampling:{canvas:2},dataURLOptions:{type:"image/webp",quality:.4}},high:{sampling:{canvas:4},dataURLOptions:{type:"image/webp",quality:.5}}},mC=(e={})=>{let t,n,[r,a]=e.maxCanvasSize||[],i={quality:e.quality||"medium",enableManualSnapshot:e.enableManualSnapshot,maxCanvasSize:[r?Math.min(r,1280):1280,a?Math.min(a,1280):1280]},o=new Promise(e=>n=e);return{name:"ReplayCanvas",getOptions(){let{quality:e,enableManualSnapshot:r,maxCanvasSize:a}=i;return{enableManualSnapshot:r,recordCanvas:!0,getCanvasManager:e=>{let i=new mP({...e,enableManualSnapshot:r,maxCanvasSize:a,errorHandler:e=>{try{"object"==typeof e&&(e.__rrweb__=!0)}catch{}}});return t=i,n(i),i},...mR[e]||mR.medium}},async snapshot(e,n){(t||await o).snapshot(e,n)}}};var dL=dL;let mI=()=>({name:"ElementTiming",setup(){o2()&&te()&&oH("element",({entries:e})=>{for(let t of e){if(!t.identifier)continue;let e=t.identifier,n=t.name,r=t.renderTime,a=t.loadTime,i={"sentry.origin":"auto.ui.browser.element_timing","ui.element.identifier":e};n&&(i["ui.element.paint_type"]=n),t.id&&(i["ui.element.id"]=t.id),t.element&&(i["ui.element.type"]=t.element.tagName.toLowerCase()),t.url&&(i["ui.element.url"]=t.url),t.naturalWidth&&(i["ui.element.width"]=t.naturalWidth),t.naturalHeight&&(i["ui.element.height"]=t.naturalHeight),r>0&&dL.distribution("ui.element.render_time",r,{unit:"millisecond",attributes:i}),a>0&&dL.distribution("ui.element.load_time",a,{unit:"millisecond",attributes:i})}})}});function mO(e=tw()){e?.emit("endPageloadSpan")}function mN(e){let t=nk();if(t===e)return;let n=ty();e.end=new Proxy(e.end,{apply:(e,r,a)=>(ti(n,t),Reflect.apply(e,r,a))}),ti(n,e)}class mA{constructor(e,t){this._traceBuckets=new Map,this._client=e;const{maxSpanLimit:n,flushInterval:r,maxTraceWeightInBytes:a}=t??{};this._maxSpanLimit=n&&n>0&&n<=1e3?n:1e3,this._flushInterval=r&&r>0?r:5e3,this._maxTraceWeight=a&&a>0?a:5e6,this._client.on("flush",()=>{this.drain()}),this._client.on("close",()=>
491{this._traceBuckets.forEach(e=>{clearTimeout(e.timeout)}),this._traceBuckets.clear()})}add(e){let t=e.trace_id,n=this._traceBuckets.get(t);n||(n={spans:new Set,size:0,timeout:at(setTimeout(()=>{this.flush(t)},this._flushInterval))},this._traceBuckets.set(t,n)),n.spans.add(e),n.size+=function(e){let t;if(t=156+2*e.name.length+tG(e.attributes),e.links&&e.links.length>0){let n=e.links[0],r=n?.attributes;t+=(100+(r?tG(r):0))*e.links.length}return t}(e),(n.spans.size>=this._maxSpanLimit||n.size>=this._maxTraceWeight)&&this.flush(t)}drain(){this._traceBuckets.size&&(ei&&ef.log(`Flushing span tree map with ${this._traceBuckets.size} traces`),this._traceBuckets.forEach((e,t)=>{this.flush(t)}))}flush(e){var t,n;let r,a,i,o=this._traceBuckets.get(e);if(!o)return;if(!o.spans.size)return void this._removeTrace(e);let s=Array.from(o.spans),l=s[0]?._segmentSpan;if(!l){ei&&ef.warn("No segment span reference found on span JSON, cannot compute DSC"),this._removeTrace(e);return}let u=nO(l),c=s.map(e=>{let{_segmentSpan:t,...n}=e;return n}),d=(r=(t=this._client).getDsn(),a=t.getOptions().tunnel,i=nH(t.getOptions()._metadata),n$({sent_at:new Date().toISOString(),...!!(n=u).trace_id&&!!n.public_key&&{trace:u},...i&&{sdk:i},...!!a&&r&&{dsn:t3(r)}},[[{type:"span",item_count:c.length,content_type:"application/vnd.sentry.items.span.v2+json"},{items:c}]]));ei&&ef.log(`Sending span envelope for trace ${e} with ${c.length} spans`),this._client.sendEnvelope(d).then(null,e=>{ei&&ef.error("Error while sending streamed span envelope:",e)}),this._removeTrace(e)}_removeTrace(e){let t=this._traceBuckets.get(e);t&&clearTimeout(t.timeout),this._traceBuckets.delete(e)}}function mM(e,t){let n=e.attributes??(e.attributes={});Object.entries(t).forEach(([e,t])=>{null==t||e in n||(n[e]=t)})}let mL=()=>({name:"SpanStreaming",beforeSetup(e){let t=e.getOptions();t.traceLifecycle||(il&&ef.log('[SpanStreaming] setting `traceLifecycle` to "stream"'),t.traceLifecycle="stream")},setup(e){let t="SpanStreaming integration requires",n="Falling back to static trace lifecycle.",r=e.getOptions();if(!tH(e)){r.traceLifecycle="static",il&&ef.warn(`${t} \`traceLifecycle\` to be set to "stream"! ${n}`);return}let a=r.beforeSendSpan;if(a&&!nL(a)){r.traceLifecycle="static",il&&ef.warn(`${t} a beforeSendSpan callback using \`withStreamedSpan\`! ${n}`);return}let i=new mA(e);e.on("afterSpanEnd",t=>{nm(t)&&i.add(function(e,t){var n;let r,a=nd(e),i=nE(e),o=nd(i),{isolationScope:s,scope:l}=t0(e);(function(e,t,n,r){let a=n.getSdkMetadata(),{release:i,environment:o,sendDefaultPii:s}=n.getOptions();mM(e,{"sentry.release":i,"sentry.environment":o,"sentry.segment.name":t.name,"sentry.segment.id":t.span_id,"sentry.sdk.name":a?.sdk?.name,"sentry.sdk.version":a?.sdk?.version,...s?{"user.id":r.user?.id,"user.email":r.user?.email,"user.ip_address":r.user?.ip_address,"user.name":r.user?.username}:{},...r.attributes})})(a,o,t,ru(s,l)),a.is_segment&&t.emit("processSegmentSpan",a),t.emit("processSpan",a);let{beforeSendSpan:u}=t.getOptions(),c=u&&nL(u)?(r=u(n=a))||(nx(),n):a,d=c.attributes?.[tk];return d&&mM(c,{"sentry.span.source":d}),{...{...c,attributes:tV(c.attributes),links:c.links?.map(e=>({...e,attributes:tV(e.attributes)}))},_segmentSpan:i}}(t,e))}),e.on("afterSegmentSpanEnd",e=>{let t=e.spanContext().traceId;setTimeout(()=>{i.flush(t)},500)})}});function mD(e){return new Promise((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)})}function m$(e){return mD(e.getAllKeys())}function mj(e){let t;function n(){var n,r;let a,i;return void 0==t&&(n=e.dbName||"sentry-offline",r=e.storeName||"queue",(a=indexedDB.open(n)).onupgradeneeded=()=>a.result.createObjectStore(r),i=mD(a),t=e=>i.then(t=>e(t.transaction(r,"readwrite").objectStore(r)))),t}return{push:async t=>{try{var r,a;let i=nU(t);await (r=n(),a=e.maxQueueSize||30,r(e=>m$(e).then(t=>{if(!(t.length>=a))return e.put(i,Math.max(...t,0)+1),mD(e.transaction)})))}catch{}},unshift:async t=>{try{var r,a;let i=nU(t);await (r=n(),a=e.maxQueueSize||30,r(e=>m$(e).then(t=>{if(!(t.length>=a))return e.put(i,Math.min(...t,0)-1),mD(e.transaction)})))}catch{}},shift:async()=>{try{let e=await n()(e=>m$(e).then(t=>{let n=t[0];if(null!=n)return mD(e.get(n)).then(t=>(e.delete(n),mD(e.transaction).then(()=>t)))}));if(e)return function(e){let t="string"==typeof e?nz(e):e;function n(e){let n=t.subarray(0,e);return t=t.subarray(e+1),n}function r(){var e;let r,a=t.indexOf(10);return a<0&&(a=t.length),JSON.parse((e=n(a),(r=er(et)).decodePolyfill?r.decodePolyfill(e):new TextDecoder().decode(e)))}let a=r(),i=[];for(;t.length;){let e=r(),t="number"==typeof e.length?e.length:void 0;i.push([e,t?n(t):r()])}return[a,i]}(e)}catch{}}}}function mF(e=i3){var t;return t=function(e){function t(...e){ei&&ef.log("[Offline]:",...e)}return n=>{let r,a=e(n);if(!n.createStore)throw Error("No `createStore` function was provided");let i=n.createStore(n),o=5e3;function s(e){r&&clearTimeout(r),r=at(setTimeout(async()=>{r=void 0;let e=await i.shift();e&&(t("Attempting to send previously queued event"),e[0].sent_at=new Date().toISOString(),u(e,!0).catch(e=>{t("Failed to retry sending",e)}))},e))}function l(){r||(s(o),o=Math.min(2*o,36e5))}async function u(e,r=!1){if(!r&&nF(e,["replay_event","replay_recording"]))return await i.push(e),s(100),{};
491try{if(n.shouldSend&&await n.shouldSend(e)===!1)throw Error("Envelope not sent because `shouldSend` callback returned false");let t=await a.send(e),r=100;if(t){if(t.headers?.["retry-after"])r=aa(t.headers["retry-after"]);else if(t.headers?.["x-sentry-rate-limits"])r=6e4;else if((t.statusCode||0)>=400)return t}return s(r),o=5e3,t}catch(a){var c;if(await (c=o,!nF(e,["client_report"])&&(!n.shouldStore||n.shouldStore(e,a,c))))return r?await i.unshift(e):await i.push(e),l(),t("Error sending. Event queued.",a),{};throw a}}return n.flushAtStartup&&l(),{send:u,flush:e=>(void 0===e&&(o=5e3,s(100)),a.flush(e))}}}(e),e=>{let n=t({...e,createStore:mj});return et.addEventListener("online",async e=>{await n.flush()}),n}}let mz="window"in et&&et.window===et&&"u"<typeof importScripts,mU=String(0),mB=mz?"main":"worker",mW=et.navigator,mH="",mq="",mV="",mG=mW?.userAgent||"",mX="",mY=mW?.language||mW?.languages?.[0]||"",mK=mW?.userAgentData;function mJ(e){return"pageload"===nc(e).op}function mQ(e){let t=tw(),n=t?.getOptions(),r=n?.stackParser;if(!r)return[];let a=ro(r);if(!a)return[];let i=[];for(let t of e){let e=function(e){let t=e?.startsWith("file://")?e.slice(7):e;return t?.match(/\/[A-Z]:/)&&(t=t.slice(1)),t}(t);e&&a[e]&&i.push({type:"sourcemap",code_file:t,debug_id:a[e]})}return i}function mZ(e){return"number"!=typeof e&&"boolean"!=typeof e||"number"==typeof e&&isNaN(e)?(il&&ef.warn(`[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):!0===e||!1===e||!(e<0)&&!(e>1)||(il&&ef.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${e}.`),!1)}"object"==typeof mK&&null!==mK&&"getHighEntropyValues"in mK&&mK.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then(e=>{if(mH=e.platform||"",mV=e.architecture||"",mX=e.model||"",mq=e.platformVersion||"",e.fullVersionList?.length){let t=e.fullVersionList[e.fullVersionList.length-1];mG=`${t.brand} ${t.version}`}}).catch(e=>void 0);let m0=!1;function m1(){let e=et.Profiler;if("function"!=typeof e){il&&ef.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object.");return}let t=Math.floor(3e3);try{return new e({sampleInterval:10,maxBufferSize:t})}catch(e){il&&(ef.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),ef.log("[Profiling] Disabling profiling for current user session.")),m0=!0}}function m2(e){if(m0)return il&&ef.log("[Profiling] Profiling has been disabled for the duration of the current user session."),!1;if(!e.isRecording())return il&&ef.log("[Profiling] Discarding profile because root span was not sampled."),!1;let t=tw(),n=t?.getOptions();if(!n)return il&&ef.log("[Profiling] Profiling disabled, no options found."),!1;let r=n.profilesSampleRate;return mZ(r)?r?!!(!0===r||Math.random()<r)||(il&&ef.log(`[Profiling] Discarding profile because it's not included in the random sample (sampling rate = ${Number(r)})`),!1):(il&&ef.log("[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0"),!1):(il&&ef.warn("[Profiling] Discarding profile because of invalid sample rate."),!1)}function m3(e){return void 0!==e.profilesSampleRate}let m4=new Map;function m5(e){let t;mJ(e)&&(t=1e3*e7());let n=m1();if(!n)return;il&&ef.log(`[Profiling] started profiling span: ${nc(e).description}`);let r=e0(),a=null;async function i(){if(e&&n){if(a){il&&ef.log("[Profiling] profile for:",nc(e).description,"already exists, returning early");return}return n.stop().then(t=>{if(o&&(et.clearTimeout(o),o=void 0),il&&ef.log(`[Profiling] stopped profiling of span: ${nc(e).description}`),!t){il&&ef.log(`[Profiling] profiler returned null profile for: ${nc(e).description}`,"this may indicate an overlapping span or a call to stopProfiling with a profile title that was never started");return}a=t;if(m4.set(r,t),m4.size>30){let e=m4.keys().next().value;void 0!==e&&m4.delete(e)}}).catch(e=>{il&&ef.log("[Profiling] error while stopping profiler:",e)})}}ty().setContext("profile",{profile_id:r,start_timestamp:t});let o=et.setTimeout(()=>{il&&ef.log("[Profiling] max profile duration elapsed, stopping profiling for:",nc(e).description),i()},3e4),s=e.end.bind(e);e.end=function(){return e?(i().then(()=>{s()},()=>{s()}),e):s()}}class m6{constructor(){this._client=void 0,this._profiler=void 0,this._chunkTimer=void 0,this._profilerId=void 0,this._isRunning=!1,this._sessionSampled=!1,this._lifecycleMode=void 0,this._activeRootSpanIds=new Set,this._rootSpanTimeouts=new Map}initialize(e){let t=e.getOptions().profileLifecycle,n=function(e){if(m0)return il&&ef.log("[Profiling] Profiling has been disabled for the duration of the current user session as the JS Profiler could not be started."),!1;if("trace"!==e.profileLifecycle&&"manual"!==e.profileLifecycle)return il&&ef.warn("[Profiling] Session not sampled. Invalid `profileLifecycle` option."),!1;let t=e.profileSessionSampleRate;return mZ(t)?t?Math.random()<=t:(il&&ef.log("[Profiling] Discarding profile because profileSessionSampleRate is not defined or set to 0"),!1):(il&&ef.warn("[Profiling] Discarding profile because of invalid profileSessionSampleRate."),!1)}(e.getOptions());il&&ef.log(`[Profiling] Initializing profiler (lifecycle='${t}').`),!n&&il&&ef.log("[Profiling] Session not sampled. Skipping lifecycle profiler initialization."),this._profilerId=e0(),this._client=e,this._sessionSampled=n,this._lifecycleMode=t,"trace"===t&&this._setupTraceLifecycleListeners(e)}
491start(){if("trace"===this._lifecycleMode){il&&ef.warn('[Profiling] `profileLifecycle` is set to "trace". Calls to `uiProfiler.start()` are ignored in trace mode.');return}if(this._isRunning){il&&ef.warn("[Profiling] Profile session is already running, `uiProfiler.start()` is a no-op.");return}if(!this._sessionSampled){il&&ef.warn("[Profiling] Session is not sampled, `uiProfiler.start()` is a no-op.");return}this._beginProfiling()}stop(){if("trace"===this._lifecycleMode){il&&ef.warn('[Profiling] `profileLifecycle` is set to "trace". Calls to `uiProfiler.stop()` are ignored in trace mode.');return}if(!this._isRunning){il&&ef.warn("[Profiling] Profiler is not running, `uiProfiler.stop()` is a no-op.");return}this._endProfiling()}notifyRootSpanActive(e){if("trace"!==this._lifecycleMode||!this._sessionSampled)return;let t=e.spanContext().spanId;if(!t||this._activeRootSpanIds.has(t))return;this._registerTraceRootSpan(t);let n=this._activeRootSpanIds.size;1===n&&(il&&ef.log("[Profiling] Detected already active root span during setup. Active root spans now:",n),this._beginProfiling())}_beginProfiling(){if(!this._isRunning){if(this._isRunning=!0,il&&ef.log("[Profiling] Started profiling with profiler ID:",this._profilerId),tv().setContext("profile",{profiler_id:this._profilerId}),this._startProfilerInstance(),!this._profiler){il&&ef.log("[Profiling] Failed to start JS Profiler; stopping."),this._resetProfilerInfo();return}this._startPeriodicChunking()}}_endProfiling(){this._isRunning&&(this._isRunning=!1,this._chunkTimer&&(clearTimeout(this._chunkTimer),this._chunkTimer=void 0),this._clearAllRootSpanTimeouts(),this._collectCurrentChunk().catch(e=>{il&&ef.error("[Profiling] Failed to collect current profile chunk on `stop()`:",e)}),"manual"===this._lifecycleMode&&tv().setContext("profile",{}))}_setupTraceLifecycleListeners(e){e.on("spanStart",e=>{if(!this._sessionSampled){il&&ef.log("[Profiling] Span not profiled because of negative sampling decision for user session.");return}if(e!==nw(e))return;if(!e.isRecording()){il&&ef.log("[Profiling] Discarding profile because root span was not sampled.");return}let t=e.spanContext().spanId;if(!t||this._activeRootSpanIds.has(t))return;this._registerTraceRootSpan(t);let n=this._activeRootSpanIds.size;1===n&&(il&&ef.log(`[Profiling] Root span ${t} started. Profiling active while there are active root spans (count=${n}).`),this._beginProfiling())}),e.on("spanEnd",e=>{if(!this._sessionSampled)return;let t=e.spanContext().spanId;if(!t||!this._activeRootSpanIds.has(t))return;this._activeRootSpanIds.delete(t);let n=this._activeRootSpanIds.size;il&&ef.log(`[Profiling] Root span with ID ${t} ended. Will continue profiling for as long as there are active root spans (currently: ${n}).`),0===n&&(this._collectCurrentChunk().catch(e=>{il&&ef.error("[Profiling] Failed to collect current profile chunk on last `spanEnd`:",e)}),this._endProfiling())})}_resetProfilerInfo(){this._isRunning=!1,tv().setContext("profile",{})}_clearAllRootSpanTimeouts(){this._rootSpanTimeouts.forEach(e=>clearTimeout(e)),this._rootSpanTimeouts.clear()}_registerTraceRootSpan(e){this._activeRootSpanIds.add(e);let t=setTimeout(()=>this._onRootSpanTimeout(e),3e5);this._rootSpanTimeouts.set(e,t)}_startProfilerInstance(){if(this._profiler?.stopped===!1)return;let e=m1();if(!e){il&&ef.log("[Profiling] Failed to start JS Profiler.");return}this._profiler=e}_startPeriodicChunking(){this._isRunning&&(this._chunkTimer=setTimeout(()=>{if(this._collectCurrentChunk().catch(e=>{il&&ef.error("[Profiling] Failed to collect current profile chunk during periodic chunking:",e)}),this._isRunning){if(this._startProfilerInstance(),!this._profiler)return void this._resetProfilerInfo();this._startPeriodicChunking()}},6e4))}_onRootSpanTimeout(e){!this._rootSpanTimeouts.has(e)||(this._rootSpanTimeouts.delete(e),this._activeRootSpanIds.has(e)&&(il&&ef.log(`[Profiling] Reached 5-minute timeout for root span ${e}. You likely started a manual root span that never called \`.end()\`.`),this._activeRootSpanIds.delete(e),0===this._activeRootSpanIds.size&&this._endProfiling()))}async _collectCurrentChunk(){let e=this._profiler;if(this._profiler=void 0,e)try{let t=await e.stop(),n=function(e,t,n){if(null==e)throw TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${e} instead.`);let r=function(e){let t=[];for(let n=0;n<e.frames.length;n++){let r=e.frames[n];r&&(t[n]={function:r.name,abs_path:"number"==typeof r.resourceId?e.resources[r.resourceId]:void 0,lineno:r.line,colno:r.column})}let n=[];for(let t=0;t<e.stacks.length;t++){let r=e.stacks[t];if(!r)continue;let a=[],i=r;for(;i;)a.push(i.frameId),i=void 0===i.parentId?void 0:e.stacks[i.parentId];n[t]=a}let r=te(),a="number"==typeof performance.timeOrigin?performance.timeOrigin:r||0,i=a-(r||a),o=[];for(let t=0;t<e.samples.length;t++){let n=e.samples[t];if(!n)continue;let r=(a+(n.timestamp-i))/1e3;o[t]={stack_id:n.stackId??0,thread_id:mU,timestamp:r}}return{frames:t,stacks:n,samples:o,thread_metadata:{[mU]:{name:mB}}}}(e),a=t.getOptions(),i=t.getSdkMetadata?.()?.sdk;return{chunk_id:e0(),client_sdk:{name:i?.name??"sentry.javascript.browser",version:i?.version??"0.0.0"},profiler_id:n||e0(),platform:"javascript",version:"2",release:a.release??"",environment:a.environment??"production",debug_meta:{images:mQ(e.resources)},profile:r}}(t,this._client,this._profilerId),r=function(e){try{if(!e||"object"!=typeof e)return{reason:"chunk is not an object"};let t=e=>"string"==typeof e&&/^[a-f0-9]{32}$/.test(e);
491if(!t(e.profiler_id))return{reason:"missing or invalid profiler_id"};if(!t(e.chunk_id))return{reason:"missing or invalid chunk_id"};if(!e.client_sdk)return{reason:"missing client_sdk metadata"};let n=e.profile;if(!n)return{reason:"missing profile data"};if(!Array.isArray(n.frames)||!n.frames.length)return{reason:"profile has no frames"};if(!Array.isArray(n.stacks)||!n.stacks.length)return{reason:"profile has no stacks"};if(!Array.isArray(n.samples)||!n.samples.length)return{reason:"profile has no samples"};return{valid:!0}}catch(e){return{reason:`unknown validation error: ${e}`}}}(n);if("reason"in r){il&&ef.log("[Profiling] Discarding invalid profile chunk (this is probably a bug in the SDK):",r.reason);return}this._sendProfileChunk(n),il&&ef.log("[Profiling] Collected browser profile chunk.")}catch(e){il&&ef.log("[Profiling] Error while stopping JS Profiler for chunk:",e)}}_sendProfileChunk(e){let t=this._client,n=nH(t.getSdkMetadata?.()),r=t.getDsn(),a=t.getOptions().tunnel,i=n$({event_id:e0(),sent_at:new Date().toISOString(),...n&&{sdk:n},...!!a&&r&&{dsn:t3(r)}},[[{type:"profile_chunk",platform:"javascript"},e]]);t.sendEnvelope(i).then(null,e=>{il&&ef.error("Error while sending profile chunk envelope:",e)})}}let m8=()=>({name:"BrowserProfiling",setup(e){let t=e.getOptions(),n=new m6;if(m3(t)||t.profileLifecycle||(t.profileLifecycle="manual"),m3(t)&&!t.profilesSampleRate){il&&ef.log("[Profiling] Profiling disabled, no profiling options found.");return}let r=nk(),a=r&&nw(r);if(m3(t)&&void 0!==t.profileSessionSampleRate&&il&&ef.warn("[Profiling] Both legacy profiling (`profilesSampleRate`) and UI profiling settings are defined. `profileSessionSampleRate` has no effect when legacy profiling is enabled."),m3(t))a&&mJ(a)&&m2(a)&&m5(a),e.on("spanStart",e=>{e===nw(e)&&m2(e)&&m5(e)}),e.on("beforeEnvelope",e=>{let t;if(!m4.size)return;let n=(t=[],nj(e,(e,n)=>{if("transaction"===n)for(let n=1;n<e.length;n++){let r=e[n];r?.contexts?.profile?.profile_id&&t.push(e[n])}}),t);if(!n.length)return;let r=[];for(let e of n){let t=e?.contexts,n=t?.profile?.profile_id,a=t?.profile?.start_timestamp;if("string"!=typeof n||!n){il&&ef.log("[Profiling] cannot find profile for a span without a profile context");continue}t?.profile&&delete t.profile;let i=function(e){let t=m4.get(e);return t&&m4.delete(e),t}(n);if(!i){il&&ef.log(`[Profiling] Could not retrieve profile for span: ${n}`);continue}let o=function(e,t,n,r){return(n.samples.length<2?(il&&ef.log("[Profiling] Discarding profile because it contains less than 2 samples"),1):!n.frames.length&&(il&&ef.log("[Profiling] Discarding profile because it contains no frames"),1))?null:function(e,t,n,r){var a;let i;if("transaction"!==r.type)throw TypeError("Profiling events may only be attached to transactions, this should never occur.");if(null==n)throw TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${n} instead.`);let o=("string"==typeof(i=r.contexts?.trace?.trace_id)&&32!==i.length&&il&&ef.log(`[Profiling] Invalid traceId: ${i} on profiled event`),"string"!=typeof i)?"":i,s="thread_metadata"in(a=n)?a:function(e){let t,n=0,r={samples:[],stacks:[],frames:[],thread_metadata:{[mU]:{name:mB}}},a=e.samples[0];if(!a)return r;let i=a.timestamp,o=te(),s="number"==typeof performance.timeOrigin?performance.timeOrigin:o||0,l=s-(o||s);return e.samples.forEach((a,o)=>{if(void 0===a.stackId){void 0===t&&(t=n,r.stacks[t]=[],n++),r.samples[o]={elapsed_since_start_ns:((a.timestamp+l-i)*1e6).toFixed(0),stack_id:t,thread_id:mU};return}let s=e.stacks[a.stackId],u=[];for(;s;){u.push(s.frameId);let t=e.frames[s.frameId];t&&void 0===r.frames[s.frameId]&&(r.frames[s.frameId]={function:t.name,abs_path:"number"==typeof t.resourceId?e.resources[t.resourceId]:void 0,lineno:t.line,colno:t.column}),s=void 0===s.parentId?void 0:e.stacks[s.parentId]}let c={elapsed_since_start_ns:((a.timestamp+l-i)*1e6).toFixed(0),stack_id:n,thread_id:mU};r.stacks[n]=u,r.samples[o]=c,n++}),r}(a),l=t||("number"==typeof r.start_timestamp?1e3*r.start_timestamp:1e3*e7()),u="number"==typeof r.timestamp?1e3*r.timestamp:1e3*e7();return{event_id:e,timestamp:new Date(l).toISOString(),platform:"javascript",version:"1",release:r.release||"",environment:r.environment||nP,runtime:{name:"javascript",version:et.navigator.userAgent},os:{name:mH,version:mq,build_number:mG},device:{locale:mY,model:mX,manufacturer:mG,architecture:mV,is_emulator:!1},debug_meta:{images:mQ(n.resources)},profile:s,transactions:[{name:r.transaction||"",id:r.event_id||e0(),trace_id:o,active_thread_id:mU,relative_start_ns:"0",relative_end_ns:((u-l)*1e6).toFixed(0)}]}}(e,t,n,r)}(n,a,i,e);o&&r.push(o)}!function(e,t){if(t.length)for(let n of t)e[1].push([{type:"profile"},n])}(e,r)});else{let r=t.profileLifecycle;if(e.on("startUIProfiler",()=>n.start()),e.on("stopUIProfiler",()=>n.stop()),"manual"===r)n.initialize(e);else if("trace"===r){if(!tU(t)){il&&ef.warn("[Profiling] `profileLifecycle` is 'trace' but tracing is disabled. Set a `tracesSampleRate` or `tracesSampler` to enable span tracing.");return}n.initialize(e),a&&n.notifyRootSpanActive(a),et.setTimeout(()=>{let e=nk(),t=e&&nw(e);t&&n.notifyRootSpanActive(t)},0)}}},processEvent:e=>(e?.contexts?.profile&&e.contexts&&(e.contexts.trace?.trace_id&&(e.contexts.trace={...e.contexts.trace,data:{...e.contexts.trace.data??{}
491,"thread.id":mU,"thread.name":mB}}),e.spans?.forEach(e=>{e.data={...e.data||{},"thread.id":mU,"thread.name":mB}})),e)}),m7=(e={})=>{let t=e.sidecarUrl||"http://localhost:8969/stream";return{name:"SpotlightBrowser",setup:()=>{il&&ef.log("Using Sidecar URL",t)},processEvent:e=>{var t;return"transaction"===(t=e).type&&t.spans&&t.contexts?.trace&&"ui.action.click"===t.contexts.trace.op&&t.spans.some(({description:e})=>e?.includes("#sentry-spotlight"))?null:e},afterAllSetup:e=>{var n,r;let a,i;n=e,r=t,a=i1("fetch"),i=0,n.on("beforeEnvelope",e=>{i>3?ef.warn("[Spotlight] Disabled Sentry -> Spotlight integration due to too many failed requests:",i):a(r,{method:"POST",body:nU(e),headers:{"Content-Type":"application/x-sentry-envelope"},mode:"cors"}).then(e=>{e.status>=200&&e.status<400&&(i=0)},e=>{i++,ef.error("Sentry SDK can't connect to Sidecar is it running? See: https://spotlightjs.com/sidecar/npx/",e)})})}}},m9=()=>({name:"LaunchDarkly",processEvent:(e,t,n)=>cQ(e)});function ge(){return{name:"sentry-flag-auditor",type:"flag-used",synchronous:!0,method:(e,t,n)=>{cZ(e,t.value),c0(e,t.value)}}}let gt=()=>
491({name:"OpenFeature",processEvent:(e,t,n)=>cQ(e)});class gn{after(e,t){cZ(t.flagKey,t.value),c0(t.flagKey,t.value)}error(e,t,n){cZ(e.flagKey,e.defaultValue),c0(e.flagKey,e.defaultValue)}}let gr=({featureFlagClientClass:e})=>({name:"Unleash",setupOnce(){eO(e.prototype,"isEnabled",ga)},processEvent:(e,t,n)=>cQ(e)});function ga(e){return function(...t){let n=t[0],r=e.apply(this,t);return"string"==typeof n&&"boolean"==typeof r?(cZ(n,r),c0(n,r)):il&&ef.error(`[Feature Flags] UnleashClient.isEnabled does not match expected signature. arg0: ${n} (${typeof n}), result: ${r} (${typeof r})`),r}}function gi(e){return function(...t){let n=t[0],r=e.apply(this,t);return"string"==typeof n&&"boolean"==typeof r&&(cZ(n,r),c0(n,r)),r}}let go=({growthbookClass:e})=>(({growthbookClass:e})=>({name:"GrowthBook",setupOnce(){let t=e.prototype;"function"==typeof t.isOn&&eO(t,"isOn",gi),"function"==typeof t.getFeatureValue&&eO(t,"getFeatureValue",gi)},processEvent:(e,t,n)=>cQ(e)}))({growthbookClass:e}),gs=({featureFlagClient:e})=>({name:"Statsig",setup(t){e.on("gate_evaluation",e=>{cZ(e.gate.name,e.gate.value),c0(e.gate.name,e.gate.value)})}
491,processEvent:(e,t,n)=>cQ(e)});async function gl(){let e=tw();if(!e)return"no-client-active";if(!e.getDsn())return"no-dsn-configured";let t=e.getOptions().tunnel||"https://o447951.ingest.sentry.io/api/4509632503087104/envelope/?sentry_version=7&sentry_key=c1dfb07d783ad5325c245c1fd3725390&sentry_client=sentry.javascript.browser%2F1.33.7";try{await n3(()=>fetch(t,{body:"{}",method:"POST",mode:"cors",credentials:"omit"}))}catch{return"sentry-unreachable"}}let gu=({worker:e})=>({name:"WebWorker",setupOnce:()=>{(Array.isArray(e)?e:[e]).forEach(e=>gc(e))},addWorker:e=>gc(e)});function gc(e){e.addEventListener("message",e=>{if(function(e){if(!ew(e)||!0!==e._sentryMessage)return!1;let t="_sentryDebugIds"in e,n="_sentryModuleMetadata"in e,r="_sentryWorkerError"in e,a="_sentryWasmImages"in e;return(!!t||!!n||!!r||!!a)&&(!t||!!(ew(e._sentryDebugIds)||void 0===e._sentryDebugIds))&&(!n||!!(ew(e._sentryModuleMetadata)||void 0===e._sentryModuleMetadata))&&(!r||!!ew(e._sentryWorkerError))&&(!a||!!Array.isArray(e._sentryWasmImages)&&!!e._sentryWasmImages.every(e=>ew(e)&&"string"==typeof e.code_file))&&!0}(e.data)){if(e.stopImmediatePropagation(),e.data._sentryDebugIds&&(il&&ef.log("Sentry debugId web worker message received",e.data),et._sentryDebugIds={...e.data._sentryDebugIds,...et._sentryDebugIds}),e.data._sentryModuleMetadata&&(il&&ef.log("Sentry module metadata web worker message received",e.data),et._sentryModuleMetadata={...e.data._sentryModuleMetadata,...et._sentryModuleMetadata}),e.data._sentryWasmImages){il&&ef.log("Sentry WASM images web worker message received",e.data);let t=et._sentryWasmImages||[],n=e.data._sentryWasmImages.filter(e=>ew(e)&&"string"==typeof e.code_file&&!t.some(t=>t.code_file===e.code_file));et._sentryWasmImages=[...t,...n]}e.data._sentryWorkerError&&(il&&ef.log("Sentry worker rejection message received",e.data._sentryWorkerError),function(e){let t=tw();if(!t)return;let n=t.getOptions().stackParser,r=t.getOptions().attachStacktrace,a=e.reason,i=eS(a)?iP(a):aM(n,a,void 0,r,!0);i.level="error",e.filename&&(i.contexts={...i.contexts,worker:{filename:e.filename}}),rh(i,{originalException:a,mechanism:{handled:!1,type:"auto.browser.web_worker.onunhandledrejection"}}),il&&ef.log("Captured worker unhandled rejection",a)}(e.data._sentryWorkerError))}})}function gd({self:e}){e.postMessage({_sentryMessage:!0,_sentryDebugIds:e._sentryDebugIds??void 0,_sentryModuleMetadata:e._sentryModuleMetadata??void 0}),e.addEventListener("unhandledrejection",t=>{let n={reason:iT(t),filename:e.location?.href};e.postMessage({_sentryMessage:!0,_sentryWorkerError:n}),il&&ef.log("[Sentry Worker] Forwarding unhandled rejection to parent",n)}),il&&ef.log("[Sentry Worker] Registered worker with unhandled rejection handling")}function gf(e,{componentStack:t},n){let r;if(null!==(r=i7.version.match(/^([^.]+)/))&&parseInt(r[0])>=17&&em(e)&&t){let n,r=Error(e.message);r.name=`React ErrorBoundary ${e.name}`,r.stack=t,n=new WeakSet,function e(t,r){if(!n.has(t)){if(t.cause)return n.add(t),e(t.cause,r);t.cause=r}}(e,r)}return tb(r=>(r.setContext("react",{componentStack:t}),rf(e,n)))}function gp(e){return(t,n)=>{let r=!!e,a=gf(t,n,{mechanism:{handled:r,type:"auto.function.react.error_handler"}});r&&e(t,n,a)}}e.s(["BrowserClient",0,aF,"MULTIPLEXED_TRANSPORT_EXTRA_KEY",0,uj,"OpenFeatureIntegrationHook",0,gn,"SDK_VERSION",0,ee,"SEMANTIC_ATTRIBUTE_SENTRY_OP",0,tP,"SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",0,tR,"SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",0,tx,"SEMANTIC_ATTRIBUTE_SENTRY_SOURCE",0,tk,"Scope",0,to,"WINDOW",0,et,"addBreadcrumb",0,a2,"addEventProcessor",0,rR,"addIntegration",0,rD,"breadcrumbsIntegration",0,iu,"browserApiErrorsIntegration",0,id,"browserProfilingIntegration",0,m8,"browserSessionIntegration",0,ig,"browserTracingIntegration",0,sR,"buildLaunchDarklyFlagUsedHandler",0,ge,"captureConsoleIntegration",0,uU,"captureEvent",0,rh,"captureException",0,rf,"captureFeedback",0,s3,"captureMessage",0,rp,"captureSession",0,rN,"chromeStackLineParser",0,iz,"close",0,rx,"consoleLoggingIntegration",0,uV,"contextLinesIntegration",0,d6,"continueTrace",0,n1,"createConsolaReporter",0,uX,"createLangChainCallbackHandler",0,cY,"createTransport",0,as,"createUserFeedbackEnvelope",0,dX,"cultureContextIntegration",0,iy,"dedupeIntegration",0,rq,"defaultRequestInstrumentationOptions",0,sw,"defaultStackLineParsers",0,iK,"defaultStackParser",0,iJ,"diagnoseSdkConnectivity",0,gl,"elementTimingIntegration",0,mI,"endSession",0,rI,"eventFiltersIntegration",0,rF,"eventFromException",0,aN,"eventFromMessage",0,aA,"exceptionFromError",0,aP,"extraErrorDataIntegration",0,cK,"featureFlagsIntegration",0,c1,"feedbackAsyncIntegration",0,uD,"feedbackIntegration",0,u$,"feedbackSyncIntegration",0,u$,"flush",0,rk,"forceLoad",0,i6,"functionToStringIntegration",0,rH,"geckoStackLineParser",0,iW,"getActiveSpan",0,nk,"getClient",0,tw,"getCurrentScope",0,ty,"getDefaultIntegrations",0,i4,"getFeedback",0,lk,"getGlobalScope",0,tv,"getIsolationScope",0,t_,"getReplay",0,mt,"getRootSpan",0,nw,"getSpanDescendants",0,nS,"getSpanStatusFromHttpCode",0,tY,"getTraceData",0,sc,"globalHandlersIntegration",0,ix,"graphqlClientIntegration",0,fr,"growthbookIntegration",0,go,"httpClientIntegration",0,d0,"httpContextIntegration",0,iI,"inboundFiltersIntegration",0,rz,"init",0,i5,"instrumentAnthropicAiClient",0,c9,"instrumentGoogleGenAIClient",0,di,"instrumentLangChainEmbeddings",0,dl,"instrumentLangGraph",0,dc,"instrumentOpenAiClient",0,dm,"instrumentOutgoingRequests",0,sE,"instrumentSupabaseClient",0,dE,"isBotUserAgent",0,sT,"isEnabled",0,rP,"isInitialized",0,rT,"lastEventId",0,rw,"launchDarklyIntegration",0,m9,"lazyLoadIntegration",0,uL,"linkedErrorsIntegration",0,iM,"logger",()=>dA,"makeBrowserOfflineTransport",0,mF,"makeFetchTransport",0,i3,"makeMultiplexedTransport",0,uz,"metrics",()=>dL,"moduleMetadataIntegration",0,dz,"onLoad",0,i8,"openFeatureIntegration",0,gt,"opera10StackLineParser",0,iG,"opera11StackLineParser",0,iY,"parameterize",0,dN,"registerSpanErrorInstrumentation",0,oo,"registerWebWorker",0,gd,"replayCanvasIntegration",0,mC,"replayIntegration",0,h7,"reportPageLoaded",0,mO,"reportingObserverIntegration",0,dJ,"rewriteFramesIntegration",0,s0,"sendFeedback",0,lh,"setActiveSpanInBrowser",0,mN,"setContext",0,rm,"setConversationId",0,rS,"setCurrentClient",0,rY,"setExtra",0,ry,"setExtras",0,rg,"setHttpStatus",0,tK,"setMeasurement",0,nV,"setTag",0,rv,"setTags",0,r_,"setUser",0,rb,"showReportDialog",0,dY,"spanStreamingIntegration",0,mL,"spanToBaggageHeader",0,nN,"spanToJSON",0,nc,"spanToTraceHeader",0,ni,"spotlightBrowserIntegration",0,m7,"startBrowserTracingNavigationSpan",0,sI,"startBrowserTracingPageLoadSpan",0,sC,"startInactiveSpan",0,n0,"startNewTrace",0,n4,"startSession",0,rC,"startSpan",0,nQ,"startSpanManual",0,nZ,"statsigIntegration",0,gs,"supabaseIntegration",0,dk,"suppressTracing",0,n3,"thirdPartyErrorFilterIntegration",0,dU,"uiProfiler",0,dG,"unleashIntegration",0,gr,"updateSpanName",0,nT,"viewHierarchyIntegration",0,fa,"webWorkerIntegration",0,gu,"winjsStackLineParser",0,iq,"withActiveSpan",0,n2,"withIsolationScope",0,tS,"withScope",0,tb,"withStreamedSpan",0,nM,"zodErrorsIntegration",0,dV],378786),e.
491i(378786);var gh=i7;let gm="ui.react.render",gg="ui.react.mount",gy={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},g_={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},gv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},gb=Symbol.for("react.forward_ref"),gS=Symbol.for("react.memo"),gw={};function gE(e){if("object"==typeof e&&null!==e&&e.$$typeof===gS)return gv;let t=e.$$typeof;return t&&gw[t]||gy}gw[gb]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},gw[gS]=gv;let gk=Object.defineProperty.bind(Object),gx=Object.getOwnPropertyNames.bind(Object),gT=Object.getOwnPropertySymbols?.bind(Object),gP=Object.getOwnPropertyDescriptor.bind(Object),gR=Object.getPrototypeOf.bind(Object),gC=Object.prototype;function gI(e,t,n){if("string"!=typeof t){if(gC){let n=gR(t);n&&n!==gC&&gI(e,n)}let n=gx(t);gT&&(n=n.concat(gT(t)));let r=gE(e),a=gE(t);for(let i of n)if(!g_[i]&&!a?.[i]&&!r?.[i]&&!gP(e,i)){let n=gP(t,i);if(n)try{gk(e,i,n)}catch(e){}}}return e}class gO extends gh.Component{constructor(e){super(e);const{name:t,disabled:n=!1}=this.props;if(n)return;this._mountSpan=n0({name:`<${t}>`,onlyIfParent:!0,op:gg,attributes:{[tR]:"auto.ui.react.profiler","ui.component_name":t}})}componentDidMount(){this._mountSpan&&this._mountSpan.end()}shouldComponentUpdate({updateProps:e,includeUpdates:t=!0}){if(t&&this._mountSpan&&e!==this.props.updateProps){let t=Object.keys(e).filter(t=>e[t]!==this.props.updateProps[t]);if(t.length>0){let e=e7();this._updateSpan=n2(this._mountSpan,()=>n0({name:`<${this.props.name}>`,onlyIfParent:!0,op:"ui.react.update",startTime:e,attributes:{[tR]:"auto.ui.react.profiler","ui.component_name":this.props.name,"ui.react.changed_props":t}}))}}return!0}componentDidUpdate(){this._updateSpan&&(this._updateSpan.end(),this._updateSpan=void 0)}componentWillUnmount(){let e=e7(),{name:t,includeRender:n=!0}=this.props;if(this._mountSpan&&n){let n=nc(this._mountSpan).timestamp;n2(this._mountSpan,()=>{let r=n0({onlyIfParent:!0,name:`<${t}>`,op:gm,startTime:n,attributes:{[tR]:"auto.ui.react.profiler","ui.component_name":t}});r&&r.end(e)})}}render(){return this.props.children}}function gN(e,t){let n=t?.name||e.displayName||e.name||"unknown",r=r=>gh.createElement(gO,{...t,name:n,updateProps:r},gh.createElement(e,{...r}));return r.displayName=`profiler(${n})`,gI(r,e),r}function gA(e,t={disabled:!1,hasRenderSpan:!0}){let[n]=gh.useState(()=>{if(!t?.disabled)return n0({name:`<${e}>`,onlyIfParent:!0,op:gg,attributes:{[tR]:"auto.ui.react.profiler","ui.component_name":e}})});gh.useEffect(()=>(n&&n.end(),()=>{if(n&&t.hasRenderSpan){let t=nc(n).timestamp,r=e7(),a=n0({name:`<${e}>`,onlyIfParent:!0,op:gm,startTime:t,attributes:{[tR]:"auto.ui.react.profiler","ui.component_name":e}});a&&a.end(r)}}),[])}Object.assign(gO,{defaultProps:{disabled:!1,includeRender:!0,includeUpdates:!0}});var gM=i7;let gL="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,gD={componentStack:null,error:null,eventId:null};class g$ extends gM.Component{constructor(e){super(e),this.state=gD,this._openFallbackReportDialog=!0;const t=tw();t&&e.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=t.on("afterSendEvent",t=>{!t.type&&this._lastEventId&&t.event_id===this._lastEventId&&dY({...e.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(e,t){let{componentStack:n}=t,{beforeCapture:r,onError:a,showDialog:i,dialogOptions:o}=this.props;tb(s=>{r&&r(s,e,n);let l=gf(e,t,{mechanism:{handled:null!=this.props.handled?this.props.handled:!!this.props.fallback,type:"auto.function.react.error_boundary"}});a&&a(e,n,l),i&&(this._lastEventId=l,this._openFallbackReportDialog&&dY({...o,eventId:l})),this.setState({error:e,componentStack:n,eventId:l})})}componentDidMount(){let{onMount:e}=this.props;e&&e()}componentWillUnmount(){let{error:e,componentStack:t,eventId:n}=this.state,{onUnmount:r}=this.props;r&&(this.state===gD?r(null,null,null):r(e,t,n)),this._cleanupHook&&(this._cleanupHook(),this._cleanupHook=void 0)}resetErrorBoundary(){let{onReset:e}=this.props,{error:t,componentStack:n,eventId:r}=this.state;e&&e(t,n,r),this.setState(gD)}render(){let{fallback:e,children:t}=this.props,n=this.state;if(null===n.componentStack)return"function"==typeof t?t():t;let r="function"==typeof e?gM.createElement(e,{error:n.error,componentStack:n.componentStack,resetError:()=>this.resetErrorBoundary(),eventId:n.eventId}):e;return gM.isValidElement(r)?r:(e&&gL&&ef.warn("fallback did not produce a valid ReactElement"),null)}}function gj(e,t){let n=e.displayName||e.name||"unknown",r=gM.memo(n=>gM.createElement(g$,{...t},gM.createElement(e,{...n})));return r.displayName=`errorBoundary(${n})`,gI(r,e),r}let gF={attachReduxState:!0,actionTransformer:e=>e,stateTransformer:e=>e||null};function gz(e){let t={...gF,...e};return e=>(n,r)=>{function a(e){return(n,r)=>{let a=e(n,r),i=ty(),o=t.actionTransformer(r);null!=o&&a2({category:"redux.action",data:o,type:"info"});let s=t.stateTransformer(a);if(null!=s){let e=tw(),t=e?.getOptions(),n=t?.normalizeDepth||3,r={state:{type:"redux",value:s}};eN(r,"__sentry_override_normalization_depth__",3+n),i.setContext("state",r)}else i.setContext("state",null);let{configureScopeWithState:l}=t;return"function"==typeof l&&l(i,a),a}}t.attachReduxState&&tv().addEventProcessor((e,t)=>{try{void 0===e.type&&"redux"===e.contexts.state.state.type&&(t.attachments=[...t.attachments||[],{filename:"redux_state.json",data:JSON.stringify(e.contexts.state.state.value)}])}catch{}return e});let i=e(a(n),r);return i.replaceReducer=new Proxy(i.replaceReducer,{apply:function(e,t,n){e.apply(t,[a(n[0])])}}),i}}function gU(e){let t=sR({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:n,routes:r,match:a,instrumentPageLoad:i=!0,instrumentNavigation:o=!0}=e;return{...t,afterAllSetup(e){t.afterAllSetup(e),i&&et.location&&gB(r,et.location,a,(t,n="url")=>{sC(e,{name:t,attributes:{[tP]:"pageload",[tR]:"auto.pageload.react.reactrouter_v3",[tk]:n}})}),o&&n.listen&&n.listen(t=>{("PUSH"===t.action||"POP"===t.action)&&gB(r,t,a,(t,n="url")=>{sI(e,{name:t,attributes:{[tP]:"navigation",[tR]:"auto.navigation.react.reactrouter_v3",[tk]:n}})})})}}}function gB(e,t,n,r){let a=t.pathname;n({location:t,routes:e},(e,t,n)=>{if(e||!n)return r(a);let i=function(e){if(!Array.isArray(e)||0===e.length)return"";let t=e.filter(e=>!!e.path),n=-1;for(let e=t.length-1;e>=0;e--){let r=t[e];if(r.path?.startsWith("/")){n=e;break}}return t.slice(n).reduce((e,{path:t})=>{let n="/"===e||""===e?t:`/${t}`;return`${e}${n}`},"")}(n.routes||[]);return 0===i.length||"/*"===i?r(a):r(a=i,"route")})}function gW(e,t={}){let n=sR({...t,instrumentNavigation:!1,instrumentPageLoad:!1}),{instrumentPageLoad:r=!0,instrumentNavigation:a=!0}=t;return{...n,afterAllSetup(t){n.afterAllSetup(t);let i=et.location;if(r&&i){let n=e.matchRoutes(i.pathname,e.options.parseSearch(i.search),{preload:!1,throwOnError:!1}),r=n[n.length-1],a=r?.routeId!=="__root__"?r:void 0;sC(t,{name:a?a.routeId:i.pathname,attributes:{[tP]:"pageload",[tR]:"auto.pageload.react.tanstack_router",[tk]:a?"route":"url",...gH(a)}})}a&&e.subscribe("onBeforeNavigate",n=>{if(!n.fromLocation||n.toLocation.state===n.fromLocation.state)return;let r=e.matchRoutes(n.toLocation.pathname,n.toLocation.search,{preload:!1,throwOnError:!1}),a=r[r.length-1],i=a?.routeId!=="__root__"?a:void 0,o=et.location,s=sI(t,{name:i?i.routeId:o.pathname,attributes:{[tP]:"navigation",[tR]:"auto.navigation.react.tanstack_router",[tk]:i?"route":"url"}}),l=e.subscribe("onResolved",t=>{if(l(),s){let n=e.matchRoutes(t.toLocation.pathname,t.toLocation.search,{preload:!1,throwOnError:!1}),r=n[n.length-1],a=r?.routeId!=="__root__"?r:void 0;a&&(s.updateName(a.routeId),s.setAttribute(tk,"route"),s.setAttributes(gH(a)))}})})}}}function gH(e){if(!e)return{};let t={};
491return Object.entries(e.params).forEach(([e,n])=>{t[`url.path.params.${e}`]=n,t[`url.path.parameter.${e}`]=n,t[`params.${e}`]=n}),t}function gq(e){let t=sR({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:n,routes:r,matchPath:a,instrumentPageLoad:i=!0,instrumentNavigation:o=!0}=e;return{...t,afterAllSetup(e){t.afterAllSetup(e),gG(e,i,o,n,"reactrouter_v4",r,a)}}}function gV(e){let t=sR({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:n,routes:r,matchPath:a,instrumentPageLoad:i=!0,instrumentNavigation:o=!0}=e;return{...t,afterAllSetup(e){t.afterAllSetup(e),gG(e,i,o,n,"reactrouter_v5",r,a)}}}function gG(e,t,n,r,a,i=[],o){function s(e){if(0===i.length||!o)return[e,"url"];for(let t of function e(t,n,r,a=[]){return t.some(t=>{let i=t.path?r(n,t):a.length?a[a.length-1].match:{path:"/",url:"/",params:{},isExact:"/"===n};return i&&(a.push({route:t,match:i}),t.routes&&e(t.routes,n,r,a)),!!i}),a}(i,e,o))if(t.match.isExact)return[t.match.path,"route"];return[e,"url"]}if(t){let t=r.location?r.location.pathname:et.location?et.location.pathname:void 0;if(t){let[n,r]=s(t);sC(e,{name:n,attributes:{[tP]:"pageload",[tR]:`auto.pageload.react.${a}`,[tk]:r}})}}n&&r.listen&&r.listen((t,n)=>{if(n&&("PUSH"===n||"POP"===n)){let[n,r]=s(t.pathname);sI(e,{name:n,attributes:{[tP]:"navigation",[tR]:`auto.navigation.react.${a}`,[tk]:r}})}})}function gX(e){let t=e.displayName||e.name,n=t=>{if(t?.computedMatch?.isExact){let e=t.computedMatch.path,n=function(){let e=nk(),t=e&&nw(e);if(!t)return;let n=nc(t).op;return"navigation"===n||"pageload"===n?t:void 0}();ty().setTransactionName(e),n&&(n.updateName(e),n.setAttribute(tk,"route"))}return i7.createElement(e,{...t})};return n.displayName=`sentryRoute(${t})`,gI(n,e),n}function gY(e,t){if(!t||"/"===t||!e.toLowerCase().startsWith(t.toLowerCase()))return e;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?e:e.slice(n)||"/"}let gK=new WeakMap;function gJ(e,t){return void 0!==e&&void 0!==t&&(!!gZ.test(t)||e===t)}function gQ(e){return e.split("/").filter(Boolean)}let gZ=/^:[\w-]+$/;function g0(e){let t=e.split("/"),n=t.length;for(let e of(t.includes("*")&&(n+=-2),t))if("*"===e)continue;else gZ.test(e)?n+=3:""===e?n+=1:n+=10;return n}let g1=!1,g2=[];function g3(){let e=g2.length;return e>0?g2[e-1]??null:null}function g4(e){return"/"===e[e.length-1]?e.slice(0,-1):e}function g5(e){return e.endsWith("*")}function g6(e){return e.includes("/*")||e.endsWith("*")}function g8(e,t){return g5(e)&&!!t.route.children?.length||!1}function g7(e){return e.split(/\\?\//).filter(e=>e.length>0&&","!==e).length}function g9(e){return"/"===e[0]?e:`/${e}`}function ye(e,t){return g1?gY(e.pathname,t):e.pathname||""}function yt(e,t,n,r,a="",i,o){let s;if(o&&i&&i.length>0){let t=function(e,t,n){if(!e||!t?.length)return null;let r=n?gY(e,n):e,a=gK.get(t);for(let e of(!a&&(a=[...t].sort((e,t)=>{let n=g0(e);return g0(t)-n}),gK.set(t,a),gL&&ef.log("[React Router] Sorted route manifest by specificity:",a.length,"patterns")),a))if(function(e,t){if("/"===t)return"/"===e||""===e;let n=gQ(e),r=gQ(t);if(r.length>0&&"*"===r[r.length-1]){let e=r.slice(0,-1);if(n.length<e.length)return!1;for(let[t,r]of e.entries())if(!gJ(n[t],r))return!1;return!0}if(n.length!==r.length)return!1;for(let[e,t]of r.entries())if(!gJ(n[e],t))return!1;return!0}(r,e))return gL&&ef.log("[React Router] Matched pathname",r,"to pattern",e),e;return gL&&ef.log("[React Router] No manifest match found for pathname:",r),null}(e.pathname,i,a);if(t)return[(g1?"":a)+t,"route"]}let l="url",u=function(e,t){let n=C(t,e);if(n)for(let e of n){var r;if(!(r=e.route).children&&r.element&&r.path?.endsWith("/*")&&e.params["*"])return!0}return!1}(e,n);return u&&(s=g9(function e(t,n){let r=C(t,n);if(!r||0===r.length)return"";for(let i of r)if(i.route.path&&"*"!==i.route.path){var a;let r="*"===(a=i.route.path||"")[a.length-1]?a.slice(0,-1):a,o=gY(n.pathname,g9(i.pathnameBase));if(n.pathname===o)return g4(o);return g4(g4(r||"")+g9(e(t.filter(e=>e!==i.route),{pathname:o})))}return""}(n,e)),l="route"),u&&s||([s,l]=function(e,t,n,r=""){if(!e||0===e.length)return[g1?gY(t.pathname,r):t.pathname,"url"];if(!n)return[ye(t,r),"url"];let a="";for(let e of n){let n=e.route;if(!n)continue;if(n.index)return function(e,t,n){let r=e&&e.length>0?e:g1?gY(t,n):t,a="/*"===r.slice(-2)?r.slice(0,-2):r;return a.length>1&&"/"===a[a.length-1]&&(a=a.slice(0,-1)),[a,"route"]}(a,e.pathname,r);let i=n.path;if(!i||g8(i,e))continue;let o="/"===i[0]||"/"===a[a.length-1]?i:`/${i}`;if(a=g4(a)+g9(o),g4(t.pathname)===g4(r+e.pathname)){if(g7(a)!==g7(e.pathname)&&!g5(a))return[(g1?"":r)+o,"route"];return g8(a,e)&&(a=a.slice(0,-1)),[(g1?"":r)+a,"route"]}}return[ye(t,r),"url"]}(t,e,r,a)),[s||e.pathname,l]}function yn(){let e=nk(),t=e?nw(e):void 0;if(!t)return;let n=nc(t).op;return"navigation"===n||"pageload"===n?t:void 0}function yr(e,t){if(e.handle&&"object"==typeof e.handle)for(let n of Object.keys(e.handle)){let r=e.handle[n];"function"!=typeof r||r.__sentry_proxied__||(e.handle[n]=function(e,t,n,r){let a=new Proxy(e,{apply(e,a,i){let o,s=function(){let e=g3();if(e)return e.targetPath?{pathname:e.targetPath,search:"",hash:"",state:null,key:"default"}:null;if(void 0!==et)try{let e=et.location;if(e)return{pathname:e.pathname,search:e.search||"",hash:e.hash||"",state:null,key:"default"}}catch{gL&&ef.warn("[React Router] Could not access window.location")}return null}(),l=(o=g3())?o.span:yn(),u=e.apply(a,i);return function(e,t,n,r,a,i){ek(e)?e.then(e=>{Array.isArray(e)&&r(e,t,a??void 0,i)}).catch(e=>{gL&&ef.warn(`Error resolving async handler '${n}' for route`,t,e)}):Array.isArray(e)&&r(e,t,a??void 0,i)}(u,t,n,r,s,l),u}});return eN(a,"__sentry_proxied__",!0),a}(r,e,n,t))}if(Array.isArray(e.children))for(let n of e.children)yr(n,t)}let ya=!1,yi=3e3,yo="",ys=new WeakSet,yl=new WeakMap,yu=new Set,yc=new WeakMap,yd=new WeakMap;function yf(e){et?.cancelAnimationFrame?et.cancelAnimationFrame(e):clearTimeout(e)}function yp(e){return`${e.pathname}${e.search||""}${e.hash||""}`}function yh(e){return e.includes(":")||e.includes("*")}function ym(e,t){let n=t.children||[],r=e.filter(e=>!n.some(t=>t===e||e.path&&t.path===e.path||e.id&&t.id===e.id));r.length>0&&(t.children=[...n,...r])}function yg(e,t){let n=yc.get(e);n||(n=new Set,yc.set(e,n)),n.add(t),t.finally(()=>{let n=yc.get(e);n&&n.delete(t)})}function yy(e){let t=new Promise(t=>{yd.set(e,t)});yg(e,t)}
491function y_(e,t,n=null,r){e.forEach(e=>{yu.add(e),ya&&yr(e,y_)}),t&&ym(e,t);let a=r??yn();if(a){let e=nc(a);if(e.timestamp){gL&&ef.warn("[React Router] Lazy handler resolved after span ended - skipping update");return}let t=e.op,i=n;if(!i&&!r&&void 0!==et){let e=et.location;e?.pathname&&(i={pathname:e.pathname})}i&&("pageload"===t?yR({activeRootSpan:a,location:{pathname:i.pathname},routes:Array.from(yu),allRoutes:Array.from(yu)}):"navigation"===t&&yv(a,i,Array.from(yu),!1,M))}}function yv(e,t,n,r=!1,a){let i=nc(e),o=i.description,s=e?.__sentry_navigation_name_set__,l=o&&g6(o);if((!s||r||l)&&!i.timestamp){let r=a(n,t),[u,c]=yt(t,n,n,r||[],yo,L,ya),d=i.data?.[tk];u&&(!o||!s&&("route"!==d||"route"===c)||"route"!==d&&"route"===c||"route"===d&&"route"===c&&l)&&(e.updateName(u),e.setAttribute(tk,c),g6(u)||"route"!==c||eN(e,"__sentry_navigation_name_set__",!0))}}function yb(e,t,n,r,a){let i=!1,o=!!a&&"pageload"===nc(a).op,s=!1,l=null,u=null;e.subscribe(e=>{if(!i){let t=yn();t&&"pageload"===nc(t).op?o=!0:o&&("POP"!==e.historyAction||s?i=!0:s=!0)}if("PUSH"===e.historyAction||"POP"===e.historyAction&&i){let a=yp(e.location),i=()=>{u!==a&&(u=a,l=null,yT({location:e.location,routes:t,navigationType:e.historyAction,version:n,basename:r,allRoutes:Array.from(yu)}))};if("idle"!==e.navigation.state)u!==a&&(u=null),null!==l&&yf(l),l=et?.requestAnimationFrame?et.requestAnimationFrame(i):setTimeout(i,0);else null!==l&&(yf(l),l=null),i()}})}function yS(e,t){return I&&O&&N&&M?function(n,r){if(yP(n),ya)for(let e of n)yr(e,y_);let a=yn();r&&"patchRoutesOnNavigation"in r&&"function"==typeof r.patchRoutesOnNavigation&&a&&(eN(a,"__sentry_may_have_lazy_routes__",!0),yy(a));let i=e(n,yx(r,!1,a)),o=r?.basename;return"POP"===i.state.historyAction&&a&&yR({activeRootSpan:a,location:i.state.location,routes:n,basename:o,allRoutes:Array.from(yu)}),yo=o||"",yb(i,n,t,o,a),i}:(gL&&ef.warn(`reactRouterV${t}Instrumentation was unable to wrap the \`createRouter\` function because of one or more missing parameters.`),e)}function yw(e,t){return I&&O&&N&&M?function(n,r){let a;if(yP(n),ya)for(let e of n)yr(e,y_);let i=yn();r&&"patchRoutesOnNavigation"in r&&"function"==typeof r.patchRoutesOnNavigation&&i&&(eN(i,"__sentry_may_have_lazy_routes__",!0),yy(i));let o=e(n,yx(r,!0,i)),s=r?.basename,l=r?.initialEntries,u=r?.initialIndex,c=l?.length===1,d=void 0!==u&&l?.[u],f=(a=c?l[0]:d?l[u]:void 0)?"string"==typeof a?{pathname:a}:a:o.state.location,p=yn();return"POP"===o.state.historyAction&&p&&yR({activeRootSpan:p,location:f,routes:n,basename:s,allRoutes:Array.from(yu)}),yo=s||"",yb(o,n,t,s,p),o}:(gL&&ef.warn(`reactRouterV${t}Instrumentation was unable to wrap the \`createMemoryRouter\` function because of one or more missing parameters.`),e)}function yE(e,t){let n=sR({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{useEffect:r,useLocation:a,useNavigationType:i,createRoutesFromChildren:o,matchRoutes:s,stripBasename:l,enableAsyncRouteHandlers:u=!1,instrumentPageLoad:c=!0,instrumentNavigation:d=!0,lazyRouteTimeout:f,lazyRouteManifest:p}=e;return{...n,setup(t){n.setup(t);let c=e.finalTimeout??3e4,d=(e.idleTimeout??1e3)*3,h=f??d;h===1/0?(yi=c,gL&&ef.log("[React Router] lazyRouteTimeout set to Infinity, capping at finalTimeout:",c,"ms to prevent indefinite hangs")):Number.isNaN(h)?(gL&&ef.warn("[React Router] lazyRouteTimeout must be a number, falling back to default:",d),yi=d):h<0?(gL&&ef.warn("[React Router] lazyRouteTimeout must be non-negative or Infinity, got:",h,"falling back to:",d),yi=d):yi=h,I=r,O=a,N=i,M=s,A=o,ya=u,L=p,function(e,t=!1){C=e,g1=t}(s,l||!1)},afterAllSetup(e){n.afterAllSetup(e);let r=et.location?.pathname;c&&r&&sC(e,{name:r,attributes:{[tk]:"url",[tP]:"pageload",[tR]:`auto.pageload.react.reactrouter_v${t}`}}),d&&ys.add(e)}}}function yk(e,t){if(!I||!O||!N||!M)return gL&&ef.warn("reactRouterV6Instrumentation was unable to wrap `useRoutes` because of one or more missing parameters."),e;let n=n=>{let r=i7.useRef(!0),{routes:a,locationArg:i}=n,o=e(a,i),s=O(),l=N(),u="string"==typeof i||i?.pathname?i:s;return I(()=>{let e="string"==typeof u?{pathname:u}:u;r.current?(yP(a),yR({activeRootSpan:yn(),location:e,routes:a,allRoutes:Array.from(yu)}),r.current=!1):yT({location:e,routes:a,navigationType:l,version:t,allRoutes:Array.from(yu)})},[l,u]),o};return(e,t)=>i7.createElement(n,{routes:e,locationArg:t})}
491function yx(e,t=!1,n){if(!e||!("patchRoutesOnNavigation"in e)||"function"!=typeof e.patchRoutesOnNavigation)return e||{};let r=e.patchRoutesOnNavigation;return{...e,patchRoutesOnNavigation:async e=>{let a=e?.path,i=yn()??n;if(!t){let t=e?.patch,n=e?.matches;t&&(e.patch=(e,r)=>{if(yP(r),n&&n.length>0){let t=n[n.length-1],a=t?.route;if(a){let t=Array.from(yu).find(t=>{let n=void 0!==t.id&&t.id===e,r=t===a,i=void 0!==t.path&&void 0!==a.path&&t.path===a.path;return n||r||i});t&&ym(r,t)}}let o=i?nc(i):void 0;return a&&i&&o&&!o.timestamp&&"navigation"===o.op&&yv(i,{pathname:a,search:"",hash:"",state:null,key:"default"},Array.from(yu),!0,M),t(e,r)})}let o=(async()=>{let t,n,o=(n={},g2.length>=10&&(gL&&ef.warn("[React Router] Navigation context stack overflow - removing oldest context"),g2.shift()),g2.push({token:n,targetPath:a,span:i}),n);try{t=await r(e)}finally{let e,t;e=g2[g2.length-1],e?.token===o&&g2.pop(),i&&(t=yd.get(i))&&(t(),yd.delete(i),i.__sentry_may_have_lazy_routes__&&(i.__sentry_may_have_lazy_routes__=!1))}let s=i?nc(i):void 0;return i&&s&&!s.timestamp&&"navigation"===s.op&&a&&yv(i,{pathname:a,search:"",hash:"",state:null,key:"default"},Array.from(yu),!1,M),t})();return i&&yg(i,o),o}}}function yT(e){let{location:t,routes:n,navigationType:r,version:a,matches:i,basename:o,allRoutes:s}=e,l=Array.isArray(i)?i:M(s||n,t,o),u=tw();if(!u||!ys.has(u))return;let c=yn();if((!c||"pageload"!==nc(c).op||"POP"!==r)&&("PUSH"===r||"POP"===r)&&l){let e,[r,i]=yt(t,s||n,s||n,l,o,L,ya),c=yp(t),d=yl.get(u),f=!!d&&!d.isPlaceholder&&!!nc(d.span).timestamp,{skip:p,shouldUpdate:h}=function(e,t,n,r){if(!e)return{skip:!1,shouldUpdate:!1};if(e.locationKey===t&&(e.isPlaceholder||!r)){let t=!!e.routeName&&g6(e.routeName),r=g6(n),a=!!e.routeName&&yh(e.routeName),i=yh(n),o=n!==e.routeName&&n.length>(e.routeName?.length||0)&&!r;return{skip:!0,shouldUpdate:!!(e.routeName&&(t&&!r||!a&&i||o))}}return{skip:!1,shouldUpdate:!1}}(d,c,r,f);if(p){if(h&&d){let e=d.routeName;d.isPlaceholder?(d.routeName=r,gL&&ef.log(`[Tracing] Updated placeholder navigation name from "${e}" to "${r}" (will apply to real span)`)):(d.span.updateName(r),d.span.setAttribute(tk,i),eN(d.span,"__sentry_navigation_name_set__",!0),d.routeName=r,gL&&ef.log(`[Tracing] Updated navigation span name from "${e}" to "${r}"`))}else gL&&ef.log(`[Tracing] Skipping duplicate navigation for location: ${c}`);return}let m={span:{end:()=>{}},routeName:r,pathname:t.pathname,locationKey:c,isPlaceholder:!0};yl.set(u,m);try{e=sI(u,{name:m.routeName,attributes:{[tk]:i,[tP]:"navigation",[tR]:`auto.navigation.react.reactrouter_v${a}`}})}catch(e){throw yl.delete(u),e}e?(yl.set(u,{span:e,routeName:m.routeName,pathname:t.pathname,locationKey:c}),yI(e,t,n,o,"navigation")):yl.delete(u)}}function yP(e){e.forEach(e=>{(function e(t,n=new Set){return n.has(t)||(n.add(t),t.children&&!t.index&&t.children.forEach(t=>{e(t,n).forEach(e=>{n.add(e)})})),n})(e).forEach(e=>{yu.add(e)})})}function yR({activeRootSpan:e,location:t,routes:n,matches:r,basename:a,allRoutes:i}){let o=Array.isArray(r)?r:M(i||n,t,a);if(o){let[r,s]=yt(t,i||n,i||n,o,a,L,ya);ty().setTransactionName(r||"/"),e&&(e.updateName(r),e.setAttribute(tk,s),yI(e,t,n,a,"pageload"))}else e&&yI(e,t,n,a,"pageload")}function yC(e,t,n,r,a,i,o,s){try{let l=t.data?.[tk];if("route"===l&&n&&!g6(n))return;let u=Array.from(s),c=u.length>0?u:a,d=M(c,r,i);if(!d)return;let[f,p]=yt(r,c,c,d,i,L,ya),h=function(e,t,n,r,a=!1){return!!n&&(!!(!e&&a||e&&g6(e)&&"route"===r&&!g6(n))||"route"!==t&&"route"===r)}(n,l,f,p,!0),m="pageload"===o||!t.timestamp;h&&m&&(e.updateName(f),e.setAttribute(tk,p))}catch(e){gL&&ef.warn(`Error updating span details before ending: ${e}`)}}function yI(e,t,n,r,a){let i=`__sentry_${a}_end_patched__`;if(e?.[i]||!e.end)return;let o=e.end.bind(e),s=!1;e.end=function(...i){if(s)return;s=!0;let l=i.length>0?i[0]:Date.now()/1e3,u=nc(e),c=u.description,d=u.data?.[tk],f=()=>{let t=tw();if(t&&"navigation"===a){let n=yl.get(t);n&&n.span===e&&yl.delete(t)}},p=yc.get(e),h=e.__sentry_may_have_lazy_routes__;if((p&&p.size>0||h)&&c&&(g6(c)||"route"!==d)){let i;if(0===yi){yC(e,u,c,t,n,r,a,yu),f(),o(l);return}let s=new Promise(e=>setTimeout(e,yi));if(p&&p.size>0){let e=Promise.allSettled(p).then(()=>{});i=yi===1/0?e:Promise.race([e,s])}else i=s;i.then(()=>{let i=nc(e);yC(e,i,i.description,t,n,r,a,yu),f(),o(l)}).catch(()=>{f(),o(l)});return}yC(e,u,c,t,n,r,a,yu),f(),o(l)},eN(e,i,!0)}function yO(e,t){if(!I||!O||!N||!A||!M)return gL&&ef.warn(`reactRouterV6Instrumentation was unable to wrap Routes because of one or more missing parameters. 492 useEffect: ${I}. useLocation: ${O}. useNavigationType: ${N}. 493 createRoutesFromChildren: ${A}. matchRoutes: ${M}.`),e;let n=n=>{let r=i7.useRef(!0),a=O(),i=N();return I(()=>{let e=A(n.children);r.current?(yP(e),yR({activeRootSpan:yn(),location:a,routes:e,allRoutes:Array.from(yu)}),r.current=!1):yT({location:a,routes:e,navigationType:i,version:t,allRoutes:Array.from(yu)})},[a,i]),i7.createElement(e,{...n})};return gI(n,e),n}function yN(e){return yE(e,"6")}function yA(e){return yk(e,"6")}function yM(e){return yS(e,"6")}function yL(e){return yw(e,"6")}function yD(e){return yO(e,"6")}function y$(e){return yE(e,"7")}function yj(e){return yO(e,"7")}function yF(e){return yS(e,"7")}function yz(e){return yw(e,"7")}function yU(e){return yk(e,"7")}function yB(e){let t={};try{e.forEach((e,n)=>{"string"==typeof e&&(t[n]=e)})}catch{}return t}function yW(e){let t=Object.create(null);try{Object.entries(e).forEach(([e,n])=>{"string"==typeof n&&(t[e]=n)})}catch{}return t}function yH(e){let t=e.headers||{},n=("string"==typeof t["x-forwarded-host"]?t["x-forwarded-host"]:void 0)||("string"==typeof t.host?t.host:void 0),r=("string"==typeof t["x-forwarded-proto"]?t["x-forwarded-proto"]:void 0)||e.protocol||(e.socket?.encrypted?"https":"http"),a=e.url||"",i=function({url:e,protocol:t,host:n}){return e?.startsWith("http")?e:e&&n?`${t}://${n}${e}`:void 0}({url:a,host:n,protocol:r}),o=e.body||void 0,s=e.cookies;return{url:i,method:e.method,query_string:yq(a),headers:yW(t),cookies:s,data:o}}function yq(e){if(e)try{let t=new URL(e,"http://s.io").search.slice(1);return t.length?t:void 0}catch{return}}async function yV(){try{oe&&ef.log("Flushing events..."),await rk(2e3),oe&&ef.log("Done flushing events")}catch(e){oe&&ef.log("Error while flushing events:\n",e)}}function yG(e){var t;"function"==typeof yX()?.waitUntil?(t=e,yX()?.waitUntil(t)):function(e){if("string"!=typeof EdgeRuntime)return;let t=et[Symbol.for("@vercel/request-context")],n=t?.get?.();n?.waitUntil&&n.waitUntil(e)}(e)}function yX(){let e=Symbol.for("__cloudflare-context__");return et[e]?.ctx}async function yY(e){let{req:t,res:n,err:r}=e,a=n?.statusCode||e.statusCode;if(a&&a<500||!e.pathname)return;if(r&&e6(r)){yG(yV());let e="object"==typeof r?r.__sentry_event_id__:void 0;return"string"==typeof e?(t_().setLastEventId(e),e):t_().lastEventId()}let i=tb(e=>{if(t){let n=yH(t);e.setSDKProcessingMetadata({normalizedRequest:n})}
493return rf(r||`_error.js called with falsy error (${r})`,{mechanism:{type:"auto.function.nextjs.underscore_error",handled:!1,data:{function:"_error.getInitialProps"}}})});return yG(yV()),i}e.s(["BrowserClient",0,aF,"ErrorBoundary",0,g$,"MULTIPLEXED_TRANSPORT_EXTRA_KEY",0,uj,"OpenFeatureIntegrationHook",0,gn,"Profiler",0,gO,"SDK_VERSION",0,ee,"SEMANTIC_ATTRIBUTE_SENTRY_OP",0,tP,"SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",0,tR,"SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",0,tx,"SEMANTIC_ATTRIBUTE_SENTRY_SOURCE",0,tk,"Scope",0,to,"WINDOW",0,et,"addBreadcrumb",0,a2,"addEventProcessor",0,rR,"addIntegration",0,rD,"breadcrumbsIntegration",0,iu,"browserApiErrorsIntegration",0,id,"browserProfilingIntegration",0,m8,"browserSessionIntegration",0,ig,"browserTracingIntegration",0,sR,"buildLaunchDarklyFlagUsedHandler",0,ge,"captureConsoleIntegration",0,uU,"captureEvent",0,rh,"captureException",0,rf,"captureFeedback",0,s3,"captureMessage",0,rp,"captureReactException",0,gf,"captureSession",0,rN,"chromeStackLineParser",0,iz,"close",0,rx,"consoleLoggingIntegration",0,uV,"contextLinesIntegration",0,d6,"continueTrace",0,n1,"createConsolaReporter",0,uX,"createLangChainCallbackHandler",0,cY,"createReduxEnhancer",0,gz,"createTransport",0,as,"createUserFeedbackEnvelope",0,dX,"cultureContextIntegration",0,iy,"dedupeIntegration",0,rq,"defaultRequestInstrumentationOptions",0,sw,"defaultStackLineParsers",0,iK,"defaultStackParser",0,iJ,"diagnoseSdkConnectivity",0,gl,"elementTimingIntegration",0,mI,"endSession",0,rI,"eventFiltersIntegration",0,rF,"eventFromException",0,aN,"eventFromMessage",0,aA,"exceptionFromError",0,aP,"extraErrorDataIntegration",0,cK,"featureFlagsIntegration",0,c1,"feedbackAsyncIntegration",0,uD,"feedbackIntegration",0,u$,"feedbackSyncIntegration",0,u$,"flush",0,rk,"forceLoad",0,i6,"functionToStringIntegration",0,rH,"geckoStackLineParser",0,iW,"getActiveSpan",0,nk,"getClient",0,tw,"getCurrentScope",0,ty,"getDefaultIntegrations",0,i4,"getFeedback",0,lk,"getGlobalScope",0,tv,"getIsolationScope",0,t_,"getReplay",0,mt,"getRootSpan",0,nw,"getSpanDescendants",0,nS,"getSpanStatusFromHttpCode",0,tY,"getTraceData",0,sc,"globalHandlersIntegration",0,ix,"graphqlClientIntegration",0,fr,"growthbookIntegration",0,go,"httpClientIntegration",0,d0,"httpContextIntegration",0,iI,"inboundFiltersIntegration",0,rz,"init",0,i9,"instrumentAnthropicAiClient",0,c9,"instrumentGoogleGenAIClient",0,di,"instrumentLangChainEmbeddings",0,dl,"instrumentLangGraph",0,dc,"instrumentOpenAiClient",0,dm,"instrumentOutgoingRequests",0,sE,"instrumentSupabaseClient",0,dE,"isBotUserAgent",0,sT,"isEnabled",0,rP,"isInitialized",0,rT,"lastEventId",0,rw,"launchDarklyIntegration",0,m9,"lazyLoadIntegration",0,uL,"linkedErrorsIntegration",0,iM,"logger",()=>dA,"makeBrowserOfflineTransport",0,mF,"makeFetchTransport",0,i3,"makeMultiplexedTransport",0,uz,"metrics",()=>dL,"moduleMetadataIntegration",0,dz,"onLoad",0,i8,"openFeatureIntegration",0,gt,"opera10StackLineParser",0,iG,"opera11StackLineParser",0,iY,"parameterize",0,dN,"reactErrorHandler",0,gp,"reactRouterV3BrowserTracingIntegration",0,gU,"reactRouterV4BrowserTracingIntegration",0,gq,"reactRouterV5BrowserTracingIntegration",0,gV,"reactRouterV6BrowserTracingIntegration",0,yN,"reactRouterV7BrowserTracingIntegration",0,y$,"registerSpanErrorInstrumentation",0,oo,"registerWebWorker",0,gd,"replayCanvasIntegration",0,mC,"replayIntegration",0,h7,"reportPageLoaded",0,mO,"reportingObserverIntegration",0,dJ,"rewriteFramesIntegration",0,s0,"sendFeedback",0,lh,"setActiveSpanInBrowser",0,mN,"setContext",0,rm,"setConversationId",0,rS,"setCurrentClient",0,rY,"setExtra",0,ry,"setExtras",0,rg,"setHttpStatus",0,tK,"setMeasurement",0,nV,"setTag",0,rv,"setTags",0,r_,"setUser",0,rb,"showReportDialog",0,dY,"spanStreamingIntegration",0,mL,"spanToBaggageHeader",0,nN,"spanToJSON",0,nc,"spanToTraceHeader",0,ni,"spotlightBrowserIntegration",0,m7,"startBrowserTracingNavigationSpan",0,sI,"startBrowserTracingPageLoadSpan",0,sC,"startInactiveSpan",0,n0,"startNewTrace",0,n4,"startSession",0,rC,"startSpan",0,nQ,"startSpanManual",0,nZ,"statsigIntegration",0,gs,"supabaseIntegration",0,dk,"suppressTracing",0,n3,"tanstackRouterBrowserTracingIntegration",0,gW,"thirdPartyErrorFilterIntegration",0,dU,"uiProfiler",0,dG,"unleashIntegration",0,gr,"updateSpanName",0,nT,"useProfiler",0,gA,"viewHierarchyIntegration",0,fa,"webWorkerIntegration",0,gu,"winjsStackLineParser",0,iq,"withActiveSpan",0,n2,"withErrorBoundary",0,gj,"withIsolationScope",0,tS,"withProfiler",0,gN,"withScope",0,tb,"withSentryReactRouterV6Routing",0,yD,"withSentryReactRouterV7Routing",0,yj,"withSentryRouting",0,gX,"withStreamedSpan",0,nM,"wrapCreateBrowserRouterV6",0,yM,"wrapCreateBrowserRouterV7",0,yF,"wrapCreateMemoryRouterV6",0,yL,"wrapCreateMemoryRouterV7",0,yz,"wrapUseRoutesV6",0,yA,"wrapUseRoutesV7",0,yU,"zodErrorsIntegration",0,dV],564736),e.
493i(564736);var yK=e.i(798869);function yJ(){return Z.default.env.NEXT_PHASE===yK.PHASE_PRODUCTION_BUILD}function yQ(e){let t=yJ(),n=!!e&&function(e){if(e.$$typeof!==Symbol.for("react.server.reference"))return!1;let{type:t}=function(e){let t=parseInt(e.slice(0,2),16),n=t>>1&63,r=Array(6);for(let e=0;e<6;e++){let t=n>>5-e&1;r[e]=1===t}return{type:1==(t>>7&1)?"use-cache":"server-action",usedArgs:r,hasRestArgs:1==(1&t)}}(e.$$id);return"use-cache"===t}(e);return n&&oe&&ef.log("Skipping span creation in Cache Components context"),t||n}function yZ(){return new nA({traceId:"00000000000000000000000000000000",spanId:"0000000000000000"})}async function y0(e,t,n){return tS(async r=>{let a,i,o=tw()?.getOptions().sendDefaultPii,s={};try{let e=await t.headers;a=e?.get("sentry-trace")??void 0,i=e?.get("baggage"),e?.forEach((e,t)=>{s[t]=e})}catch{oe&&ef.warn("Sentry wasn't able to extract the tracing headers for a server action. Will not trace this request.")}return r.setTransactionName(`serverAction/${e}`),r.setSDKProcessingMetadata({normalizedRequest:{headers:s}}),(nk()?(e,t)=>t():n1)({sentryTrace:a,baggage:i},async()=>{try{return await nQ({op:"function.server_action",name:`serverAction/${e}`,forceTransaction:!0,attributes:{[tk]:"route",[tR]:"auto.function.nextjs.server_action"}},async e=>{let r=await tz(n,t=>{ot(t)?e.setStatus({code:2,message:"not_found"}):on(t)||(e.setStatus({code:2,message:"internal_error"}),rf(t,{mechanism:{handled:!1,type:"auto.function.nextjs.server_action"}}))});return(void 0!==t.recordResponse?t.recordResponse:o)&&t_().setExtra("server_action_result",r),t.formData&&t.formData.forEach((e,t)=>{t_().setExtra(`server_action_form_data.${t}`,"string"==typeof e?e:"[non-string value]")}),r})}finally{yG(yV())}})})}function y1(e){return async function(...t){try{return await e.apply(this,t)}catch(t){throw rf(t,{mechanism:{handled:!1,type:"auto.function.nextjs.wrapped",data:{function:e.name}}}),t}}}function y2(e,t,n,r){return async function(...n){let a=yH(t);ty().setTransactionName(`${r.dataFetchingMethodName} (${r.dataFetcherRouteName})`),t_().setSDKProcessingMetadata({normalizedRequest:a});let i=nk();i&&"/_error"!==r.requestedRouteName&&nw(i).setAttribute("sentry.route_backfill",r.requestedRouteName);let{"sentry-trace":o,baggage:s}=sc();return{sentryTrace:o,baggage:s,data:await e.apply(this,n)}}}async function y3(e,t){try{return await e(...t)}catch(e){throw rf(e,{mechanism:{handled:!1,type:"auto.function.nextjs.data_fetcher"}}),e}}function y4(e,t){e&&"object"==typeof e&&eN(e,"__sentry_event_id__",t)}e.s(["BrowserClient",0,aF,"ErrorBoundary",0,g$,"MULTIPLEXED_TRANSPORT_EXTRA_KEY",0,uj,"OpenFeatureIntegrationHook",0,gn,"Profiler",0,gO,"SDK_VERSION",0,ee,"SEMANTIC_ATTRIBUTE_SENTRY_OP",0,tP,"SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",0,tR,"SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",0,tx,"SEMANTIC_ATTRIBUTE_SENTRY_SOURCE",0,tk,"Scope",0,to,"WINDOW",0,et,"addBreadcrumb",0,a2,"addEventProcessor",0,rR,"addIntegration",0,rD,"breadcrumbsIntegration",0,iu,"browserApiErrorsIntegration",0,id,"browserProfilingIntegration",0,m8,"browserSessionIntegration",0,ig,"browserTracingIntegration",0,sK,"buildLaunchDarklyFlagUsedHandler",0,ge,"captureConsoleIntegration",0,uU,"captureEvent",0,rh,"captureException",0,rf,"captureFeedback",0,s3,"captureMessage",0,rp,"captureReactException",0,gf,"captureRequestError",0,function(e,t,n){tb(r=>{r.setSDKProcessingMetadata({normalizedRequest:{headers:yW(t.headers),method:t.method}}),r.setContext("nextjs",{request_path:t.path,router_kind:n.routerKind,router_path:n.routePath,route_type:n.routeType}),r.setTransactionName(`${t.method} ${n.routePath}`),rf(e,{mechanism:{handled:!1,type:"auto.function.nextjs.on_request_error"}}),yG(yV())})},"captureRouterTransitionStart",0,function(e,t){$&&$(e,t)},"captureSession",0,rN,"captureUnderscoreErrorException",0,yY,"chromeStackLineParser",0,iz,"close",0,rx,"consoleLoggingIntegration",0,uV,"contextLinesIntegration",0,d6,"continueTrace",0,n1,"createConsolaReporter",0,uX,"createLangChainCallbackHandler",0,cY,"createReduxEnhancer",0,gz,"createTransport",0,as,"createUserFeedbackEnvelope",0,dX,"cultureContextIntegration",0,iy,"dedupeIntegration",0,rq,"defaultRequestInstrumentationOptions",0,sw,"defaultStackLineParsers",0,iK,"defaultStackParser",0,iJ,"diagnoseSdkConnectivity",0,gl,"elementTimingIntegration",0,mI,"endSession",0,rI,"eventFiltersIntegration",0,rF,"eventFromException",0,aN,"eventFromMessage",0,aA,"exceptionFromError",0,aP,"extraErrorDataIntegration",0,cK,"featureFlagsIntegration",0,c1,"feedbackAsyncIntegration",0,uD,"feedbackIntegration",0,u$,"feedbackSyncIntegration",0,u$,"flush",0,rk,"forceLoad",0,i6,"functionToStringIntegration",0,rH,"geckoStackLineParser",0,iW,"getActiveSpan",0,nk,"getClient",0,tw,"getCurrentScope",0,ty,"getDefaultIntegrations",0,i4,"getFeedback",0,lk,"getGlobalScope",0,tv,"getIsolationScope",0,t_,"getReplay",0,mt,"getRootSpan",0,nw,"getSpanDescendants",0,nS,"getSpanStatusFromHttpCode",0,tY,"getTraceData",0,sc,"globalHandlersIntegration",0,ix,"graphqlClientIntegration",0,fr,"growthbookIntegration",0,go,"httpClientIntegration",0,d0,"httpContextIntegration",0,iI,"inboundFiltersIntegration",0,rz,"init",0,function(e){let t,n,r,a,i,o;s2&&el(()=>{console.warn("[@sentry/nextjs] You are calling `Sentry.init()` more than once on the client. This can happen if you have both a `sentry.client.config.ts` and a `instrumentation-client.ts` file with `Sentry.init()` calls. It is recommended to call `Sentry.init()` once in `instrumentation-client.ts`.")}),s2=!0,!oe&&e.debug&&el(()=>{console.warn("[@sentry/nextjs] You have enabled `debug: true`, but Sentry debug logging was removed from your bundle (likely via `withSentryConfig({ disableLogger: true })` / `webpack.treeshake.removeDebugLogging: true`). Set that option to `false` to see Sentry debug output.")}),("u"<typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&function(){et.document&&function(e){let t=sz(e)||e,n=s1.get(t);if(void 0!==n)return n;let r=sF();if(!r?.isrRoutes||!Array.isArray(r.isrRoutes)||0===r.isrRoutes.length)return s1.set(t,!1),!1;let a=r.isrRoutes.includes(t);return s1.set(t,a),a}(et.location.pathname)&&(e("sentry-trace"),e("baggage"));function e(e){try{let t=et.document.querySelector(`meta[name="${e}"]`);t&&t.remove()}catch{}}}();let s={environment:e.environment||Z.default.env.SENTRY_ENVIRONMENT||((t=Z.default.env.NEXT_PUBLIC_VERCEL_ENV)?`vercel-${t}`:void 0)||"production",defaultIntegrations:(n=i4(e),("u"<typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&n.push(sK()),r=et._sentryRewriteFramesAssetPrefixPath||"",a=Z.default.env._sentryAssetPrefix||et._sentryAssetPrefix,i=Z.default.env._sentryBasePath||et._sentryBasePath,o="true"===Z.default.env._experimentalThirdPartyOriginStackFrames||"true"===et._experimentalThirdPartyOriginStackFrames,n.push((({assetPrefix:e,basePath:t,rewriteFramesAssetPrefixPath:n,experimentalThirdPartyOriginStackFrames:r})=>({...s0({iteratee:a=>{if(r){let n="u">typeof window&&window.location?window.location.origin:"";if(a.filename?.startsWith(n)&&!a.filename.endsWith(".js"))return a;
493if(e)a.filename?.startsWith(e)&&(a.filename=a.filename.replace(e,"app://"));else if(t)try{let{origin:e}=new URL(a.filename);e===n&&(a.filename=a.filename?.replace(e,"app://").replace(t,""))}catch{}}else try{let{origin:e}=new URL(a.filename);a.filename=a.filename?.replace(e,"app://").replace(n,"")}catch{}return r?(a.filename?.includes("/_next")&&(a.filename=decodeURI(a.filename)),a.filename?.match(/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(a.in_app=!1)):(a.filename?.startsWith("app:///_next")&&(a.filename=decodeURI(a.filename)),a.filename?.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(a.in_app=!1)),a}}),name:"NextjsClientStackFrameNormalization"}))({assetPrefix:a,basePath:i,rewriteFramesAssetPrefixPath:r,experimentalThirdPartyOriginStackFrames:o})),n),release:"[email protected]",...e};!function(e){let t="/api/monitoring";if(t&&e.dsn){let n=t4(e.dsn);if(!n)return;let r=n.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(r){let a=r[1],i=r[2],o=`${t}?o=${a}&p=${n.projectId}`;i&&(o+=`&r=${i}`),e.tunnel=o,oe&&ef.log(`Tunneling events to "${o}"`)}else oe&&ef.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}}(s),ep(s,"nextjs",["nextjs","react"]);let l=i9(s),u=e=>"transaction"===e.type&&"/404"===e.transaction?null:e;u.id="NextClient404Filter",rR(u);let c=e=>"transaction"===e.type&&e.transaction===sB?null:e;c.id="IncompleteTransactionFilter",rR(c);let d=(e,t)=>on(t?.originalException)||e.exception?.values?.[0]?.value==="NEXT_REDIRECT"?null:e;d.id="NextRedirectErrorFilter",rR(d);try{tv().setTag("turbopack",!0)}catch{}return l},"instrumentAnthropicAiClient",0,c9,"instrumentGoogleGenAIClient",0,di,"instrumentLangChainEmbeddings",0,dl,"instrumentLangGraph",0,dc,"instrumentOpenAiClient",0,dm,"instrumentOutgoingRequests",0,sE,"instrumentSupabaseClient",0,dE,"isBotUserAgent",0,sT,"isEnabled",0,rP,"isInitialized",0,rT,"lastEventId",0,rw,"launchDarklyIntegration",0,m9,"lazyLoadIntegration",0,uL,"linkedErrorsIntegration",0,iM,"logger",()=>dA,"makeBrowserOfflineTransport",0,mF,"makeFetchTransport",0,i3,"makeMultiplexedTransport",0,uz,"metrics",()=>dL,"moduleMetadataIntegration",0,dz,"onLoad",0,i8,"openFeatureIntegration",0,gt,"opera10StackLineParser",0,iG,"opera11StackLineParser",0,iY,"parameterize",0,dN,"reactErrorHandler",0,gp,"reactRouterV3BrowserTracingIntegration",0,gU,"reactRouterV4BrowserTracingIntegration",0,gq,"reactRouterV5BrowserTracingIntegration",0,gV,"reactRouterV6BrowserTracingIntegration",0,yN,"reactRouterV7BrowserTracingIntegration",0,y$,"registerSpanErrorInstrumentation",0,oo,"registerWebWorker",0,gd,"replayCanvasIntegration",0,mC,"replayIntegration",0,h7,"reportPageLoaded",0,mO,"reportingObserverIntegration",0,dJ,"rewriteFramesIntegration",0,s0,"sendFeedback",0,lh,"setActiveSpanInBrowser",0,mN,"setContext",0,rm,"setConversationId",0,rS,"setCurrentClient",0,rY,"setExtra",0,ry,"setExtras",0,rg,"setHttpStatus",0,tK,"setMeasurement",0,nV,"setTag",0,rv,"setTags",0,r_,"setUser",0,rb,"showReportDialog",0,dY,"spanStreamingIntegration",0,mL,"spanToBaggageHeader",0,nN,"spanToJSON",0,nc,"spanToTraceHeader",0,ni,"spotlightBrowserIntegration",0,m7,"startBrowserTracingNavigationSpan",0,sI,"startBrowserTracingPageLoadSpan",0,sC,"startInactiveSpan",0,function(e){return yQ()?yZ():n0(e)},"startNewTrace",0,n4,"startSession",0,rC,"startSpan",0,function(e,t){return yQ(t)?t(yZ()):nQ(e,t)},"startSpanManual",0,function(e,t){if(yQ(t)){let e=yZ();return t(e,()=>e.end())}return nZ(e,t)},"statsigIntegration",0,gs,"supabaseIntegration",0,dk,"suppressTracing",0,n3,"tanstackRouterBrowserTracingIntegration",0,gW,"thirdPartyErrorFilterIntegration",0,dU,"uiProfiler",0,dG,"unleashIntegration",0,gr,"updateSpanName",0,nT,"useProfiler",0,gA,"viewHierarchyIntegration",0,fa,"webWorkerIntegration",0,gu,"winjsStackLineParser",0,iq,"withActiveSpan",0,n2,"withErrorBoundary",0,gj,"withIsolationScope",0,tS,"withProfiler",0,gN,"withScope",0,tb,"withSentryConfig",0,function(e){return e},"withSentryReactRouterV6Routing",0,yD,"withSentryReactRouterV7Routing",0,yj,"withSentryRouting",0,gX,"withServerActionInstrumentation",0,function(...e){if("function"==typeof e[1]){let[t,n]=e;return y0(t,{},n)}{let[t,n,r]=e;return y0(t,n,r)}},"withStreamedSpan",0,nM,"wrapApiHandlerWithSentryVercelCrons",0,function(e,t){return new Proxy(e,{apply:(e,n,r)=>{let a;if(!r?.[0])return e.apply(n,r);let[i]=r,o="nextUrl"in i?i.nextUrl.pathname:i.url,s="nextUrl"in i?i.headers.get("user-agent"):i.headers["user-agent"];if(!t||!s?.includes("vercel-cron"))return e.apply(n,r);let l=t.find(e=>e.path===o);if(!l?.path||!l.schedule)return e.apply(n,r);let u=l.path,c=rE({monitorSlug:u,status:"in_progress"},{maxRuntime:720,schedule:{type:"crontab",value:l.schedule}}),d=ez()/1e3,f=()=>{rE({checkInId:c,monitorSlug:u,status:"error",duration:ez()/1e3-d})};try{a=e.apply(n,r)}catch(e){throw f(),e}return"object"==typeof a&&null!==a&&"then"in a?Promise.resolve(a).then(()=>{rE({checkInId:c,monitorSlug:u,status:"ok",duration:ez()/1e3-d})},()=>{f()}):rE({checkInId:c,monitorSlug:u,status:"ok",duration:ez()/1e3-d}),a}})},"wrapAppGetInitialPropsWithSentry",0,function(e){return new Proxy(e,{apply:async(e,t,n)=>
493{if(yJ())return e.apply(t,n);let[r]=n,{req:a,res:i}=r.ctx,o=y1(e);if(!a||!i)return o.apply(t,n);{let e=y2(o,a,i,{dataFetcherRouteName:"/_app",requestedRouteName:r.ctx.pathname,dataFetchingMethodName:"getInitialProps"}),{data:s,sentryTrace:l,baggage:u}=await e.apply(t,n);return"object"==typeof s&&null!==s&&(s.pageProps||(s.pageProps={}),l&&(s.pageProps._sentryTraceData=l),u&&(s.pageProps._sentryBaggage=u)),s}}})},"wrapCreateBrowserRouterV6",0,yM,"wrapCreateBrowserRouterV7",0,yF,"wrapCreateMemoryRouterV6",0,yL,"wrapCreateMemoryRouterV7",0,yz,"wrapDocumentGetInitialPropsWithSentry",0,function(e){return new Proxy(e,{apply:async(e,t,n)=>{if(yJ())return e.apply(t,n);let[r]=n,{req:a,res:i}=r,o=y1(e);if(!a||!i)return o.apply(t,n);{let e=y2(o,a,i,{dataFetcherRouteName:"/_document",requestedRouteName:r.pathname,dataFetchingMethodName:"getInitialProps"}),{data:s}=await e.apply(t,n);return s}}})},"wrapErrorGetInitialPropsWithSentry",0,function(e){return new Proxy(e,{apply:async(e,t,n)=>{if(yJ())return e.apply(t,n);let[r]=n,{req:a,res:i}=r,o=y1(e);if(!a||!i)return o.apply(t,n);{let e=y2(o,a,i,{dataFetcherRouteName:"/_error",requestedRouteName:r.pathname,dataFetchingMethodName:"getInitialProps"}),{data:s,baggage:l,sentryTrace:u}=await e.apply(t,n);return"object"==typeof s&&null!==s&&(u&&(s._sentryTraceData=u),l&&(s._sentryBaggage=l)),s}}})},"wrapGenerationFunctionWithSentry",0,function(e,t){return new Proxy(e,{apply:(e,n,r)=>{let a,i=t_();try{a=t.requestAsyncStorage?.getStore()?.headers}catch{}let o=a?yB(a):void 0;return i.setSDKProcessingMetadata({normalizedRequest:{headers:o}}),tz(()=>e.apply(n,r),e=>{let n=nk(),{componentRoute:r,componentType:a,generationFunctionIdentifier:o}=t,s=!0;i.setTransactionName(`${a}.${o} (${r})`),n&&(ot(e)?(s=!1,n.setStatus({code:2,message:"not_found"})):on(e)?(s=!1,n.setStatus({code:1})):n.setStatus({code:2,message:"internal_error"})),s&&rf(e,{mechanism:{handled:!1,type:"auto.function.nextjs.generation_function",data:{function:o}}})},()=>{yG(yV())})}})},"wrapGetInitialPropsWithSentry",0,function(e){return new Proxy(e,{apply:async(e,t,n)=>{if(yJ())return e.apply(t,n);let[r]=n,{req:a,res:i}=r,o=y1(e);if(!a||!i)return o.apply(t,n);{let e=y2(o,a,i,{dataFetcherRouteName:r.pathname,requestedRouteName:r.pathname,dataFetchingMethodName:"getInitialProps"}),{data:s,baggage:l,sentryTrace:u}=await e.apply(t,n)??{};return"object"==typeof s&&null!==s&&(u&&(s._sentryTraceData=u),l&&(s._sentryBaggage=l)),s}}})},"wrapGetServerSidePropsWithSentry",0,function(e,t){return new Proxy(e,{apply:async(e,n,r)=>{if(yJ())return e.apply(n,r);let[a]=r,{req:i,res:o}=a,s=y2(y1(e),i,o,{dataFetcherRouteName:t,requestedRouteName:t,dataFetchingMethodName:"getServerSideProps"}),{data:l,baggage:u,sentryTrace:c}=await s.apply(n,r);return"object"==typeof l&&null!==l&&"props"in l&&(c&&(l.props._sentryTraceData=c),u&&(l.props._sentryBaggage=u)),l}})},"wrapGetStaticPropsWithSentry",0,function(e,t){return new Proxy(e,{apply:async(e,t,n)=>yJ()?e.apply(t,n):y3(y1(e),n)})},"wrapMiddlewareWithSentry",0,function(e){return new Proxy(e,{apply:async(e,t,n)=>{let r="_sentryRewritesTunnelPath"in globalThis?globalThis._sentryRewritesTunnelPath:void 0;if(r&&"string"==typeof r){let e=n[0];if(e instanceof Request&&new URL(e.url).pathname.startsWith(r))return new Response(null,{status:200,headers:{"x-middleware-next":"1"}})}return tS(r=>{let a,i,o=n[0],s=ty();if(o instanceof Request){let e;r.setSDKProcessingMetadata({normalizedRequest:(e=yB(o.headers),{method:o.method,url:o.url,query_string:yq(o.url),headers:e})}),a=`middleware ${o.method}`,i="url"}else a="middleware",i="component";s.setTransactionName(a);let l=nk();if(l){a="middleware",i="component";let e=nw(l);e&&tZ(e,s,r)}return nQ({name:a,op:"http.server.middleware",attributes:{[tk]:i,[tR]:"auto.function.nextjs.wrap_middleware"}},()=>tz(()=>e.apply(t,n),e=>{rf(e,{mechanism:{type:"auto.function.nextjs.wrap_middleware",handled:!1}})},()=>{yG(yV())}))})}})},"wrapPageComponentWithSentry",0,function(e){return"function"==typeof e&&e?.prototype?.isReactComponent?class extends e{render(...e){return tS(()=>{let t=ty(),n="object"==typeof this.props&&null!==this.props&&"_sentryTraceData"in this.props&&"string"==typeof this.props._sentryTraceData?this.props._sentryTraceData:void 0;if(n){let e=t9(n);t.setContext("trace",{span_id:e?.parentSpanId,trace_id:e?.traceId})}try{return super.render(...e)}catch(t){let e=rf(t,{mechanism:{handled:!1,type:"auto.function.nextjs.page_class"}});throw y4(t,e),t}})}}:"function"==typeof e?new Proxy(e,{apply:(e,t,n)=>tS(()=>{let r=ty(),a=n?.[0]?._sentryTraceData;if(a){let e=t9(a);r.setContext("trace",{span_id:e?.parentSpanId,trace_id:e?.traceId})}try{return e.apply(t,n)}catch(t){let e=rf(t,{mechanism:{handled:!1,type:"auto.function.nextjs.page_function"}});throw y4(t,e),t}})}):e},"wrapRouteHandlerWithSentry",0,function(e,t){let{method:n,parameterizedRoute:r,headers:a}=t;return new Proxy(e,{apply:async(e,t,a)=>{let i=nk(),o=i?nw(i):void 0;
493return tS(t_(),()=>tb(async s=>{s.setTransactionName(`${n} ${r}`);let l=await tz(()=>e.apply(t,a),e=>{on(e)||(ot(e)?(i&&tK(i,404),o&&tK(o,404)):rf(e,{mechanism:{handled:!1,type:"auto.function.nextjs.route_handler"}}))},()=>{yG(yV())});try{l.status&&(i&&tK(i,l.status),o&&tK(o,l.status))}catch{}return l}))}})},"wrapServerComponentWithSentry",0,function(e,t){return new Proxy(e,{apply:(e,n,r)=>{let a=t_(),i=t.headers?yB(t.headers):void 0;return a.setSDKProcessingMetadata({normalizedRequest:{headers:i}}),tz(()=>e.apply(n,r),e=>{let n=nk(),{componentRoute:r,componentType:i}=t,o=!0;a.setTransactionName(`${i} Server Component (${r})`),n&&(ot(e)?(o=!1,n.setStatus({code:2,message:"not_found"})):on(e)?(o=!1,n.setStatus({code:1})):n.setStatus({code:2,message:"internal_error"})),o&&rf(e,{mechanism:{handled:!1,type:"auto.function.nextjs.server_component"}})},()=>{yG(yV())})}})},"wrapUseRoutesV6",0,yA,"wrapUseRoutesV7",0,yU,"zodErrorsIntegration",0,dV],701474);var y5=e.i(701474),y6=e.i(853723);"true"===Z.default.env.SENTRY_ENABLED||Z.default.env.NEXT_PUBLIC_SENTRY_ENABLED;let y8="false"!==Z.default.env.SENTRY_ENABLED&&"false"!==Z.default.env.NEXT_PUBLIC_SENTRY_ENABLED,y7=Z.default.env.SENTRY_RELEASE??"1164.master"??void 0,y9=Z.default.env.SENTRY_ENVIRONMENT??y6.APP_ENV,_e=y8&&"false"!==Z.default.env.SENTRY_ENABLE_LOGS,_t="true"===Z.default.env.SENTRY_DEBUG||"true"===Z.default.env.NEXT_PUBLIC_SENTRY_DEBUG;globalThis._sentryRouteManifest='{"dynamicRoutes":[{"path":"/:catchall*","regex":"^/(.+)$","paramNames":["catchall"],"hasOptionalPrefix":false},{"path":"/:locale","regex":"^/([^/]+)$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/:rest*","regex":"^/([^/]+)/(.+)$","paramNames":["locale","rest"],"hasOptionalPrefix":true},{"path":"/:locale/about","regex":"^/([^/]+)/about$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/academy","regex":"^/([^/]+)/academy$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/academy/:slug","regex":"^/([^/]+)/academy/([^/]+)$","paramNames":["locale","slug"],"hasOptionalPrefix":true},{"path":"/:locale/accessibility","regex":"^/([^/]+)/accessibility$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/affiliates","regex":"^/([^/]+)/affiliates$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/alternativas-preview/:slug","regex":"^/([^/]+)/alternativas-preview/([^/]+)$","paramNames":["locale","slug"],"hasOptionalPrefix":true},{"path":"/:locale/alternatives","regex":"^/([^/]+)/alternatives$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/alternatives/:slug","regex":"^/([^/]+)/alternatives/([^/]+)$","paramNames":["locale","slug"],"hasOptionalPrefix":true},{"path":"/:locale/alternatives/:slug/:modifier","regex":"^/([^/]+)/alternatives/([^/]+)/([^/]+)$","paramNames":["locale","slug","modifier"],"hasOptionalPrefix":true},{"path":"/:locale/ambassadors","regex":"^/([^/]+)/ambassadors$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/api","regex":"^/([^/]+)/api$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/blog","regex":"^/([^/]+)/blog$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/blog/:slug","regex":"^/([^/]+)/blog/([^/]+)$","paramNames":["locale","slug"],"hasOptionalPrefix":true},{"path":"/:locale/business","regex":"^/([^/]+)/business$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/business/:slug","regex":"^/([^/]+)/business/([^/]+)$","paramNames":["locale","slug"],"hasOptionalPrefix":true},{"path":"/:locale/business/commerce","regex":"^/([^/]+)/business/commerce$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/business/consulting-web3","regex":"^/([^/]+)/business/consulting-web3$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/business/contabilidad-reporting","regex":"^/([^/]+)/business/contabilidad-reporting$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/business/crypto-api","regex":"^/([^/]+)/business/crypto-api$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/business/custodia-institucional","regex":"^/([^/]+)/business/custodia-institucional$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/business/staking-rendimiento-institucional","regex":"^/([^/]+)/business/staking-rendimiento-institucional$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/buy-cryptocurrencies","regex":"^/([^/]+)/buy-cryptocurrencies$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/buy-currency/:slug","regex":"^/([^/]+)/buy-currency/([^/]+)$","paramNames":["locale","slug"],"hasOptionalPrefix":true},{"path":"/:locale/communication-preferences","regex":"^/([^/]+)/communication-preferences$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/communication-preferences/lead","regex":"^/([^/]+)/communication-preferences/lead$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/compare","regex":"^/([^/]+)/compare$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/compare/:slug","regex":"^/([^/]+)/compare/([^/]+)$","paramNames":["locale","slug"],"hasOptionalPrefix":true},{"path":"/:locale/consulting","regex":"^/([^/]+)/consulting$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/conversion","regex":"^/([^/]+)/conversion$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/conversion/:from/:to","regex":"^/([^/]+)/conversion/([^/]+)/([^/]+)$","paramNames":["locale","from","to"],"hasOptionalPrefix":true},{"path":"/:locale/country/:slug","regex":"^/([^/]+)/country/([^/]+)$","paramNames":["locale","slug"],"hasOptionalPrefix":true},{"path":"/:locale/criptomonedas/:pais","regex":"^/([^/]+)/criptomonedas/([^/]+)$","paramNames":["locale","pais"],"hasOptionalPrefix":true},{"path":"/:locale/criptomonedas/:pais/:activo","regex":"^/([^/]+)/criptomonedas/([^/]+)/([^/]+)$","paramNames":["locale","pais","activo"],"hasOptionalPrefix":true},{"path":"/:locale/crm-form","regex":"^/([^/]+)/crm-form$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/cryptotour","regex":"^/([^/]+)/cryptotour$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/experts","regex":"^/([^/]+)/experts$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/experts/:slug","regex":"^/([^/]+)/experts/([^/]+)$","paramNames":["locale","slug"],"hasOptionalPrefix":true},{"path":"/:locale/experts/episodes/:slug","regex":"^/([^/]+)/experts/episodes/([^/]+)$","paramNames":["locale","slug"],"hasOptionalPrefix":true},{"path":"/:locale/experts/people/:slug","regex":"^/([^/]+)/experts/people/([^/]+)$","paramNames":["locale","slug"],"hasOptionalPrefix":true},{"path":"/:locale/experts/topic/:topic","regex":"^/([^/]+)/experts/topic/([^/]+)$","paramNames":["locale","topic"],"hasOptionalPrefix":true},{"path":"/:locale/global","regex":"^/([^/]+)/global$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/news","regex":"^/([^/]+)/news$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/news/:slug","regex":"^/([^/]+)/news/([^/]+)$","paramNames":["locale","slug"],"hasOptionalPrefix":true},{"path":"/:locale/pay","regex":"^/([^/]+)/pay$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/press","regex":"^/([^/]+)/press$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/price","regex":"^/([^/]+)/price$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/price/:slug","regex":"^/([^/]+)/price/([^/]+)$","paramNames":["locale","slug"],"hasOptionalPrefix":true},{"path":"/:locale/price/bit2me-token","regex":"^/([^/]+)/price/bit2me-token$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/price/collection/:slugAndId*?","regex":"^/([^/]+)/price/collection(?:/(.*))?$","paramNames":["locale","slugAndId"],"hasOptionalPrefix":true},{"path":"/:locale/price-prediction","regex":"^/([^/]+)/price-prediction$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/price-prediction/:slug","regex":"^/([^/]+)/price-prediction/([^/]+)$","paramNames":["locale","slug"],"hasOptionalPrefix":true},{"path":"/:locale/referrals","regex":"^/([^/]+)/referrals$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/register","regex":"^/([^/]+)/register$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/security","regex":"^/([^/]+)/security$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/sell-currency","regex":"^/([^/]+)/sell-currency$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/sell-currency/:slug","regex":"^/([^/]+)/sell-currency/([^/]+)$","paramNames":["locale","slug"],"hasOptionalPrefix":true},{"path":"/:locale/space-center","regex":"^/([^/]+)/space-center$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/stx","regex":"^/([^/]+)/stx$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/suite","regex":"^/([^/]+)/suite$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/suite/app","regex":"^/([^/]+)/suite/app$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/suite/card","regex":"^/([^/]+)/suite/card$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/suite/commerce","regex":"^/([^/]+)/suite/commerce$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/suite/custody","regex":"^/([^/]+)/suite/custody$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/suite/earn","regex":"^/([^/]+)/suite/earn$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/suite/earn/:slug","regex":"^/([^/]+)/suite/earn/([^/]+)$","paramNames":["locale","slug"],"hasOptionalPrefix":true},{"path":"/:locale/suite/earn/casos-de-uso","regex":"^/([^/]+)/suite/earn/casos-de-uso$","paramNames":["locale"],"hasOptionalPrefix":true}
493,{"path":"/:locale/suite/earn/casos-de-uso/:caso","regex":"^/([^/]+)/suite/earn/casos-de-uso/([^/]+)$","paramNames":["locale","caso"],"hasOptionalPrefix":true},{"path":"/:locale/suite/invest","regex":"^/([^/]+)/suite/invest$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/suite/launchpad","regex":"^/([^/]+)/suite/launchpad$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/suite/launchpad/join","regex":"^/([^/]+)/suite/launchpad/join$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/suite/launchpad/project/:slug","regex":"^/([^/]+)/suite/launchpad/project/([^/]+)$","paramNames":["locale","slug"],"hasOptionalPrefix":true},{"path":"/:locale/suite/loan","regex":"^/([^/]+)/suite/loan$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/suite/loan/:slug","regex":"^/([^/]+)/suite/loan/([^/]+)$","paramNames":["locale","slug"],"hasOptionalPrefix":true},{"path":"/:locale/suite/loan/casos-de-uso","regex":"^/([^/]+)/suite/loan/casos-de-uso$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/suite/loan/casos-de-uso/:caso","regex":"^/([^/]+)/suite/loan/casos-de-uso/([^/]+)$","paramNames":["locale","caso"],"hasOptionalPrefix":true},{"path":"/:locale/suite/pro","regex":"^/([^/]+)/suite/pro$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/suite/recurring-buy","regex":"^/([^/]+)/suite/recurring-buy$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/suite/tax","regex":"^/([^/]+)/suite/tax$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/suite/tax/:slug","regex":"^/([^/]+)/suite/tax/([^/]+)$","paramNames":["locale","slug"],"hasOptionalPrefix":true},{"path":"/:locale/suite/tax/casos-de-uso","regex":"^/([^/]+)/suite/tax/casos-de-uso$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/suite/tax/casos-de-uso/:caso","regex":"^/([^/]+)/suite/tax/casos-de-uso/([^/]+)$","paramNames":["locale","caso"],"hasOptionalPrefix":true},{"path":"/:locale/suite/wallet","regex":"^/([^/]+)/suite/wallet$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/suite/wallet-currency/:slug","regex":"^/([^/]+)/suite/wallet-currency/([^/]+)$","paramNames":["locale","slug"],"hasOptionalPrefix":true},{"path":"/:locale/support","regex":"^/([^/]+)/support$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/supported-assets","regex":"^/([^/]+)/supported-assets$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/transactions","regex":"^/([^/]+)/transactions$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/verify","regex":"^/([^/]+)/verify$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/wealth","regex":"^/([^/]+)/wealth$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/whitelabel","regex":"^/([^/]+)/whitelabel$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/widget","regex":"^/([^/]+)/widget$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/widget/b2m-live/v1","regex":"^/([^/]+)/widget/b2m-live/v1$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/widget/buy/v1","regex":"^/([^/]+)/widget/buy/v1$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/widget/buy/v2","regex":"^/([^/]+)/widget/buy/v2$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/widget/chart/v1","regex":"^/([^/]+)/widget/chart/v1$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/widget/countdown/v1","regex":"^/([^/]+)/widget/countdown/v1$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/widget/crypto-carousel/v1","regex":"^/([^/]+)/widget/crypto-carousel/v1$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/widget/space-center-calculator","regex":"^/([^/]+)/widget/space-center-calculator$","paramNames":["locale"],"hasOptionalPrefix":true},{"path":"/:locale/widget/space-center-calculator/v1","regex":"^/([^/]+)/widget/space-center-calculator/v1$","paramNames":["locale"],"hasOptionalPrefix":true}],"staticRoutes":[{"path":"/admin"},{"path":"/admin/config"},{"path":"/admin/deeplinks"},{"path":"/admin/flags"},{"path":"/admin/login"},{"path":"/admin/logs"},{"path":"/admin/metrics"},{"path":"/admin/overview"},{"path":"/admin/promotions"},{"path":"/admin/redirects"},{"path":"/admin/redis"},{"path":"/admin/revalidate"},{"path":"/admin/seo"},{"path":"/admin/sync"},{"path":"/admin/translations"},{"path":"/app"},{"path":"/maintenance"}],"isrRoutes":["/:locale/alternatives","/:locale/alternatives/:slug","/:locale/alternatives/:slug/:modifier","/:locale/business/:slug","/:locale/criptomonedas/:pais","/:locale/criptomonedas/:pais/:activo","/:locale/experts/:slug","/:locale/experts/episodes/:slug","/:locale/experts/people/:slug","/:locale/experts/topic/:topic","/:locale/price/collection/:slugAndId*?","/:locale/suite/earn/:slug","/:locale/suite/earn/casos-de-uso
493/:caso","/:locale/suite/loan/:slug","/:locale/suite/loan/casos-de-uso/:caso","/:locale/suite/tax/:slug","/:locale/suite/tax/casos-de-uso/:caso"]}',globalThis._sentryNextJsVersion="16.3.3",globalThis._sentryRewritesTunnelPath="/api/monitoring";let _n=y5.captureRouterTransitionStart,_r={dsn:y8?"https://[email protected]/125":void 0,release:y7,environment:y9,enableLogs:_e,sendDefaultPii:!1,ignoreErrors:["ResizeObserver loop limit exceeded","ResizeObserver loop completed with undelivered notifications",/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^googletag is not defined$/,/^ReferenceError: googletag is not defined$/,/^Cannot redefine property: googletag$/,/can't redefine non-configurable property "solana"/,/^Can't find variable: gmo$/,/^Can't find variable: _AutofillCallbackHandler$/,/vv\(\)\.getRestrictions is not a function/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/^Java exception was raised during method invocation$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/Failed to fetch dynamically imported module.*usercentrics/i,"Non-Error promise rejection captured"],denyUrls:[/\/inpage\.js/i,/^chrome-extension:\/\//i,/^moz-extension:\/\//i,/^safari-web-extension:\/\//i],debug:_t};if(_r.dsn){y5.init({..._r,tunnel:"/api/monitoring",integrations:[]});{let e=window;e.__SENTRY_CAPTURE_EXCEPTION__=y5.captureException.bind(y5),e.__SENTRY_WITH_SCOPE__=y5.withScope.bind(y5)}}e.s(["onRouterTransitionStart",0,_n],471217)},780319,(e,t,n)=>{"use strict";{let n=e.f({"private-next-instrumentation-client":{id:()=>471217,module:()=>e.r(471217)}})("private-next-instrumentation-client");t.exports=Array.isArray(n)?n:[n]}},449033,(e,t,n)=>{"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){throw n})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]}),Object.hasOwn||(Object.hasOwn=function(e,t){if(null==e)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)}),"canParse"in URL||(URL.canParse=function(e,t){try{return new URL(e,t),!0}catch(e){return!1}})},600731,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),e.r(449033),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},195308,(e,t,n)=>{"use strict";function r(e,t){var n=e.length;for(e.push(t);0<n;){var r=n-1>>>1,a=e[r];if(0<o(a,t))e[r]=t,e[n]=a,n=r;else break}}function a(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;for(var r=0,a=e.length,i=a>>>1;r<i;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>o(l,n))u<a&&0>o(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else if(u<a&&0>o(c,n))e[r]=c,e[u]=n,r=u;else break}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(n.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var s,l=performance;n.unstable_now=function(){return l.now()}}else{var u=Date,c=u.now();n.unstable_now=function(){return u.now()-c}}var d=[],f=[],p=1,h=null,m=3,g=!1,y=!1,_=!1,v=!1,b="function"==typeof setTimeout?setTimeout:null,S="function"==typeof clearTimeout?clearTimeout:null,w="u">typeof setImmediate?setImmediate:null;function E(e){for(var t=a(f);null!==t;){if(null===t.callback)i(f);else if(t.startTime<=e)i(f),t.sortIndex=t.expirationTime,r(d,t);else break;t=a(f)}}function k(e){if(_=!1,E(e),!y)if(null!==a(d))y=!0,x||(x=!0,s());else{var t=a(f);null!==t&&A(k,t.startTime-e)}}var x=!1,T=-1,P=5,R=-1;function C(){return!!v||!(n.unstable_now()-R<P)}function I(){if(v=!1,x){var e=n.unstable_now();R=e;var t=!0;try{t:{y=!1,_&&(_=!1,S(T),T=-1),g=!0;var r=m;try{n:{for(E(e),h=a(d);null!==h&&!(h.expirationTime>e&&C());){var o=h.callback;if("function"==typeof o){h.callback=null,m=h.priorityLevel;var l=o(h.expirationTime<=e);if(e=n.unstable_now(),"function"==typeof l){h.callback=l,E(e),t=!0;break n}h===a(d)&&i(d),E(e)}else i(d);h=a(d)}if(null!==h)t=!0;else{var u=a(f);null!==u&&A(k,u.startTime-e),t=!1}}break t}finally{h=null,m=r,g=!1}}}finally{t?s():x=!1}}}if("function"==typeof w)s=function(){w(I)};else if("u">typeof MessageChannel){var O=new MessageChannel,N=O.port2;O.port1.onmessage=I,s=function(){N.postMessage(null)}}else s=function(){b(I,0)};function A(e,t){T=b(function(){e(n.unstable_now())},t)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(e){e.callback=null},n.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<e?Math.floor(1e3/e):5},n.unstable_getCurrentPriorityLevel=function(){return m},n.unstable_next=function(e){switch(m){case 1:case 2:case 3:var t=3;break;default:t=m}var n=m;m=t;try{return e()}finally{m=n}},n.unstable_requestPaint=function(){v=!0},n.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=m;m=e;try{return t()}finally{m=n}},n.unstable_scheduleCallback=function(e,t,i){var o=n.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?o+i:o,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=0x3fffffff;break;case 4:l=1e4;break;default:l=5e3}return l=i+l,e={id:p++,callback:t,priorityLevel:e,startTime:i,expirationTime:l,sortIndex:-1},i>o?(e.sortIndex=i,r(f,e),null===a(d)&&e===a(f)&&(_?(S(T),T=-1):_=!0,A(k,i-o))):(e.sortIndex=l,r(d,e),y||g||(y=!0,x||(x=!0,s()))),e},n.unstable_shouldYield=C,n.unstable_wrapCallback=function(e){var t=m;return function(){var n=m;m=t;try{return e.apply(this,arguments)}finally{m=n}}}},254128,(e,t,n)=>{"use strict";
493t.exports=e.r(195308)},551317,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"addLocale",{enumerable:!0,get:function(){return r}}),e.r(283090);let r=(e,...t)=>e;("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},586360,(e,t,n)=>{"use strict";function r(e,t){return e}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"removeLocale",{enumerable:!0,get:function(){return r}}),e.r(46417),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},869437,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"appBootstrap",{enumerable:!0,get:function(){return i}});let r=e.r(532683),a=e.r(65882);function i(e){var t,n;let i=(0,r.getAssetPrefix)();t=self.__next_s,n=()=>{e(i)},t&&t.length?t.reduce((e,[t,n])=>e.then(()=>new Promise((e,r)=>{let i=document.createElement("script");n&&(0,a.setAttributesFromProps)(i,n),t?(i.src=t,i.onload=()=>e(),i.onerror=r):n&&(i.innerHTML=n.children,setTimeout(e)),document.head.appendChild(i)})),Promise.resolve()).catch(e=>{console.error(e)}).then(()=>{n()}):n()}window.next={version:"16.3.3",appDir:!0},("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},386376,(e,t,n)=>{"use strict";let r,a,i,o;Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"hydrate",{enumerable:!0,get:function(){return z}});let s=e.r(836437),l=e.r(547750);e.r(600731);let u=s._(e.r(605269)),c=s._(e.r(181476)),d=e.r(906667),f=e.r(865221),p=e.r(887873),h=e.r(6243),m=e.r(702741),g=e.r(192359),y=e.r(816451),_=s._(e.r(387373)),v=e.r(162403);e.r(146940);let b=e.r(652555),S=e.r(118439),w=e.r(645277),E=e.r(275057),k=d.createFromReadableStream,x=d.createFromFetch,T=document,P=self.__next_instant_test?self.__next_instant_test:void 0,R=new TextEncoder,C=!1,I=!1,O=null;function N(e){if(0===e[0])i=[];else if(1===e[0]){if(!i)throw Object.defineProperty(Error("Unexpected server data: missing bootstrap script."),"__NEXT_ERROR_CODE",{value:"E18",enumerable:!1,configurable:!0});o?o.enqueue(R.encode(e[1])):i.push(e[1])}else if(2===e[0])O=e[1];else if(3===e[0]){if(!i)throw Object.defineProperty(Error("Unexpected server data: missing bootstrap script."),"__NEXT_ERROR_CODE",{value:"E18",enumerable:!1,configurable:!0});let n=atob(e[1]),r=new Uint8Array(n.length);for(var t=0;t<n.length;t++)r[t]=n.charCodeAt(t);o?o.enqueue(r):i.push(r)}}let A=function(){o&&!I&&(o.close(),I=!0,i=void 0),C=!0};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",A,!1):setTimeout(A);let M=self.__next_f=self.__next_f||[];M.forEach(N),M.length=0,M.push=N;let L=new ReadableStream({start(e){i&&(i.forEach(t=>{e.enqueue("string"==typeof t?R.encode(t):t)}),C&&!I)&&(null===e.desiredSize||e.desiredSize<0?P||e.error(Object.defineProperty(Error("The connection to the page was unexpectedly closed, possibly due to the stop button being clicked, loss of Wi-Fi, or an unstable internet connection."),"__NEXT_ERROR_CODE",{value:"E117",enumerable:!1,configurable:!0})):e.close(),I=!0,i=void 0),o=e}});if(P)a=Promise.resolve(x(P,{callServer:m.callServer,findSourceMapURL:g.findSourceMapURL,debugChannel:r,unstable_allowPartialStream:!0})).then(async e=>(0,b.createInitialRSCPayloadFromFallbackPrerender)(await P,e));else if(window.__NEXT_CLIENT_RESUME){let e=window.__NEXT_CLIENT_RESUME;a=Promise.resolve(x(e,{callServer:m.callServer,findSourceMapURL:g.findSourceMapURL,debugChannel:r})).then(async t=>(0,b.createInitialRSCPayloadFromFallbackPrerender)(await e,t))}else a=k(L,{callServer:m.callServer,findSourceMapURL:g.findSourceMapURL,debugChannel:r,startTime:0});function D({initialRSCPayload:e,actionQueue:t,webSocket:n,staticIndicatorState:r}){return(0,l.jsx)(_.default,{actionQueue:t,globalErrorState:e.G,webSocket:n,staticIndicatorState:r})}let $=c.default.StrictMode;function j({children:e}){return e}let F={onDefaultTransitionIndicator:function(){return()=>{}},onRecoverableError:p.onRecoverableError,onCaughtError:h.onCaughtError,onUncaughtError:h.onUncaughtError};async function z(e,t){let n,r,i=await a;i.b?(0,w.setNavigationBuildId)(i.b):(0,w.setNavigationBuildId)((0,S.getDeploymentId)()),(0,E.initializeRouterTransitionModules)(e);let o=Date.now(),s=(0,y.createMutableActionQueue)((0,v.createInitialRouterState)({navigatedAt:o,initialRSCPayload:i,initialFlightStreamForCache:null,location:window.location})),d=(0,l.jsx)($,{children:(0,l.jsx)(f.HeadManagerContext.Provider,{value:{appDir:!0},children:(0,l.jsx)(j,{children:(0,l.jsx)(D,{initialRSCPayload:i,actionQueue:s,webSocket:r,staticIndicatorState:n})})})});"__next_error__"===document.documentElement.id?u.default.createRoot(T,F).render(d):c.default.startTransition(()=>{u.default.hydrateRoot(T,d,{...F,formState:O})})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
493dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},587519,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),e.r(674558);let r=e.r(869437);e.r(887873),window.next.turbopack=!0,self.__webpack_hash__="";let a=e.r(780319);(0,r.appBootstrap)(t=>{let{hydrate:n}=e.r(386376);n(a,t)}),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},532683,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getAssetPrefix",{enumerable:!0,get:function(){return a}});let r=e.r(165142);function a(){let e=document.currentScript;if(!(e instanceof HTMLScriptElement))throw Object.defineProperty(new r.InvariantError(`Expected document.currentScript to be a <script> element. Received ${e} instead.`),"__NEXT_ERROR_CODE",{value:"E783",enumerable:!1,configurable:!0});let{pathname:t}=new URL(e.src),n=t.indexOf("/_next/");if(-1===n)throw Object.defineProperty(new r.InvariantError(`Expected document.currentScript src to contain '/_next/'. Received ${e.src} instead.`),"__NEXT_ERROR_CODE",{value:"E784",enumerable:!1,configurable:!0});return t.slice(0,n)}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},984618,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"AppRouterAnnouncer",{enumerable:!0,get:function(){return o}});let r=e.r(181476),a=e.r(215904),i="next-route-announcer";function o({tree:e}){let[t,n]=(0,r.useState)(null);(0,r.useEffect)(()=>(n(function(){let e=document.getElementsByName(i)[0];if(e?.shadowRoot?.childNodes[0])return e.shadowRoot.childNodes[0];{let e=document.createElement(i);e.style.cssText="position:absolute";let t=document.createElement("div");return t.ariaLive="assertive",t.id="__next-route-announcer__",t.role="alert",t.style.cssText="position:absolute;border:0;height:1px;margin:-1px;padding:0;width:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;word-wrap:normal",e.attachShadow({mode:"open"}).appendChild(t),document.body.appendChild(e),t}}()),()=>{let e=document.getElementsByTagName(i)[0];e?.isConnected&&document.body.removeChild(e)}),[]);let[s,l]=(0,r.useState)(""),u=(0,r.useRef)(void 0);return(0,r.useEffect)(()=>{let e="";if(document.title)e=document.title;else{let t=document.querySelector("h1");t&&(e=t.innerText||t.textContent||"")}void 0!==u.current&&u.current!==e&&l(e),u.current=e},[e]),t?(0,a.createPortal)(s,t):null}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},387373,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return A}});let r=e.r(836437),a=e.r(56421),i=e.r(547750),o=a._(e.r(181476)),s=e.r(146940),l=e.r(682017),u=e.r(77811),c=e.r(246821),d=e.r(820816),f=e.r(941883),p=e.r(984618),h=e.r(540033),m=e.r(168824),g=e.r(927496),y=e.r(64014),_=e.r(716821),v=e.r(837696),b=e.r(169184),S=e.r(816451),w=e.r(948377),E=e.r(589887),k=e.r(320949),x=r._(e.r(163696)),T=r._(e.r(604957)),P=e.r(973777);e.r(118439);let R={};function C({appRouterState:e}){return(0,o.useInsertionEffect)(()=>{let{tree:t,pushRef:n,canonicalUrl:r,renderedSearch:a}=e,i={...n.preserveCustomHistoryState?window.history.state:{},__NA:!0,__PRIVATE_NEXTJS_INTERNALS_TREE:{tree:t,renderedSearch:a}};n.pendingPush&&(0,u.createHrefFromUrl)(new URL(window.location.href))!==r?(n.pendingPush=!1,window.history.pushState(i,"",r)):window.history.replaceState(i,"",r),(0,f.setLastCommittedTree)(t)},[e]),(0,o.useEffect)(()=>{(0,k.pingVisibleLinks)(e.nextUrl,e.tree)},[e.nextUrl,e.tree]),null}function I(e){null==e&&(e={});let t=window.history.state,n=t?.__NA;n&&(e.__NA=n);let r=t?.__PRIVATE_NEXTJS_INTERNALS_TREE;return r&&(e.__PRIVATE_NEXTJS_INTERNALS_TREE=r),e}function O({headCacheNode:e}){let t=null!==e?e.head:null,n=null!==e?e.prefetchHead:null,r=null!==n?n:t;return(0,o.useDeferredValue)(t,r)}
493function N({actionQueue:e,globalError:t,webSocket:n,staticIndicatorState:r}){let a,u=(0,d.useActionQueue)(e),{canonicalUrl:f}=u,{searchParams:b,pathname:k}=(0,o.useMemo)(()=>{let e=new URL(f,"u"<typeof window?"http://n":window.location.href);return{searchParams:e.searchParams,pathname:(0,_.hasBasePath)(e.pathname)?(0,y.removeBasePath)(e.pathname):e.pathname}},[f]);(0,o.useEffect)(()=>{let e=(0,v.extractSourcePageFromFlightRouterState)(u.tree);void 0!==e?window.next.__internal_src_page=e:delete window.next.__internal_src_page},[u.tree]),(0,o.useEffect)(()=>{function e(e){e.persisted&&window.history.state?.__PRIVATE_NEXTJS_INTERNALS_TREE&&(R.pendingMpaPath=void 0,(0,d.dispatchAppRouterAction)({type:l.ACTION_RESTORE,url:new URL(window.location.href),historyState:window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE}))}return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}},[]),(0,o.useEffect)(()=>{function e(e){let t="reason"in e?e.reason:e.error;if((0,E.isRedirectError)(t)){e.preventDefault();let n=(0,w.getURLFromRedirectError)(t);"push"===(0,w.getRedirectTypeFromError)(t)?S.publicAppRouterInstance.push(n,{}):S.publicAppRouterInstance.replace(n,{})}}return window.addEventListener("error",e),window.addEventListener("unhandledrejection",e),()=>{window.removeEventListener("error",e),window.removeEventListener("unhandledrejection",e)}},[]);let{pushRef:T}=u;if(T.mpaNavigation){if(R.pendingMpaPath!==f){let e=window.location;
493T.pendingPush?e.assign(f):e.replace(f),R.pendingMpaPath=f}throw g.unresolvedThenable}(0,o.useEffect)(()=>{let e=window.history.pushState.bind(window.history),t=window.history.replaceState.bind(window.history),n=e=>{let t=window.location.href,n=window.history.state?.__PRIVATE_NEXTJS_INTERNALS_TREE;(0,o.startTransition)(()=>{(0,d.dispatchAppRouterAction)({type:l.ACTION_RESTORE,url:new URL(e??t,t),historyState:n})})};window.history.pushState=function(t,r,a){return t?.__NA||t?._N||(t=I(t),a&&n(a)),e(t,r,a)},window.history.replaceState=function(e,r,a){return e?.__NA||e?._N||(e=I(e),a&&n(a)),t(e,r,a)};let r=e=>{if(e.state){if(!e.state.__NA)return void window.location.reload();(0,o.startTransition)(()=>{(0,S.dispatchTraverseAction)(window.location.href,e.state.__PRIVATE_NEXTJS_INTERNALS_TREE)})}};return window.addEventListener("popstate",r),()=>{window.history.pushState=e,window.history.replaceState=t,window.removeEventListener("popstate",r)}},[]);let{cache:A,tree:M,nextUrl:L,focusAndScrollRef:D,previousNextUrl:$}=u,j=(0,o.useMemo)(()=>(0,m.findHeadInCache)(A,M[1]),[A,M]),F=(0,o.useMemo)(()=>(0,v.getSelectedParams)(M),[M]),z=(0,o.useMemo)(()=>({parentTree:M,parentCacheNode:A,parentSegmentPath:null,parentParams:{},parentLoadingData:null,debugNameContext:"/",url:f,isActive:!0}),[M,A,f]),U=(0,o.useMemo)(()=>({tree:M,focusAndScrollRef:D,nextUrl:L,previousNextUrl:$}),[M,D,L,$]);if(null!==j){let[e,t,n]=j;a=(0,i.jsx)(O,{headCacheNode:e},"u"<typeof window?n:t)}else a=null;let B=(0,i.jsxs)(h.RedirectBoundary,{children:[a,(0,i.jsx)(P.RootLayoutBoundary,{children:A.rsc}),(0,i.jsx)(p.AppRouterAnnouncer,{tree:M})]});return B=(0,i.jsx)(x.default,{errorComponent:t[0],errorStyles:t[1],children:B}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(C,{appRouterState:u}),null,(0,i.jsx)(c.NavigationPromisesContext.Provider,{value:null,children:(0,i.jsx)(c.PathParamsContext.Provider,{value:F,children:(0,i.jsx)(c.PathnameContext.Provider,{value:k,children:(0,i.jsx)(c.SearchParamsContext.Provider,{value:b,children:(0,i.jsx)(s.GlobalLayoutRouterContext.Provider,{value:U,children:(0,i.jsx)(s.AppRouterContext.Provider,{value:S.publicAppRouterInstance,children:(0,i.jsx)(s.LayoutRouterContext.Provider,{value:z,children:B})})})})})})})]})}function A({actionQueue:e,globalErrorState:t,webSocket:n,staticIndicatorState:r}){(0,b.useNavFailureHandler)();let a=(0,i.jsx)(N,{actionQueue:e,globalError:t,webSocket:n,staticIndicatorState:r});return(0,i.jsx)(x.default,{errorComponent:T.default,children:a})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},592010,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={WarningIcon:function(){return l},errorStyles:function(){return o},errorThemeCss:function(){return s}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});e.r(836437);let i=e.r(547750);e.r(181476);let o={container:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",display:"flex",alignItems:"center",justifyContent:"center"},card:{marginTop:"-32px",maxWidth:"325px",padding:"32px 28px",textAlign:"left"},icon:{marginBottom:"24px"},title:{fontSize:"24px",fontWeight:500,letterSpacing:"-0.02em",lineHeight:"32px",margin:"0 0 12px 0",color:"var(--next-error-title)"},message:{fontSize:"14px",fontWeight:400,lineHeight:"21px",margin:"0 0 20px 0",color:"var(--next-error-message)"},form:{margin:0},buttonGroup:{display:"flex",gap:"8px",alignItems:"center"},button:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-text)",background:"var(--next-error-btn-bg)",border:"var(--next-error-btn-border)"},buttonSecondary:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-secondary-text)",background:"var(--next-error-btn-secondary-bg)",border:"var(--next-error-btn-secondary-border)"},digestFooter:{position:"fixed",bottom:"32px",left:"0",right:"0",textAlign:"center",fontFamily:'ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace',fontSize:"12px",lineHeight:"18px",fontWeight:400,margin:"0",color:"var(--next-error-digest)"}},s=` 494:root { 495 --next-error-bg: #fff; 496 --next-error-text: #171717; 497 --next-error-title: #171717; 498 --next-error-message: #171717; 499 --next-error-digest: #666666; 500 --next-error-btn-text: #fff; 501 --next-error-btn-bg: #171717; 502 --next-error-btn-border: none; 503 --next-error-btn-secondary-text: #171717; 504 --next-error-btn-secondary-bg: transparent; 505 --next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08); 506} 507@media (prefers-color-scheme: dark) { 508 :root { 509 --next-error-bg: #0a0a0a; 510 --next-error-text: #ededed; 511 --next-error-title: #ededed; 512 --next-error-message: #ededed; 513 --next-error-digest: #a0a0a0; 514 --next-error-btn-text: #0a0a0a; 515 --next-error-btn-bg: #ededed; 516 --next-error-btn-border: none; 517 --next-error-btn-secondary-text: #ededed; 518 --next-error-btn-secondary-bg: transparent; 519 --next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14); 520 } 521} 522body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); } 523`.replace(/\n\s*/g,"");function l(){return(0,i.jsx)("svg",{width:"32",height:"32",viewBox:"-0.2 -1.5 32 32",fill:"none",style:o.icon,children:(0,i.jsx)("path",{d:"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z",fill:"var(--next-error-title)"})})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
523dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},604957,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return o}}),e.r(836437);let r=e.r(547750);e.r(181476);let a=e.r(466048),i=e.r(592010),o=function({error:e}){let t=e?.digest,n=!!t;return(0,a.handleISRError)({error:e}),(0,r.jsxs)("html",{id:"__next_error__",children:[(0,r.jsx)("head",{children:(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:i.errorThemeCss}})}),(0,r.jsxs)("body",{children:[(0,r.jsx)("div",{style:i.errorStyles.container,children:(0,r.jsxs)("div",{style:i.errorStyles.card,children:[(0,r.jsx)(i.WarningIcon,{}),(0,r.jsx)("h1",{style:i.errorStyles.title,children:"This page couldnât load"}),(0,r.jsx)("p",{style:i.errorStyles.message,children:n?"A server error occurred. Reload to try again.":"Reload to try again, or go back."}),(0,r.jsxs)("div",{style:i.errorStyles.buttonGroup,children:[(0,r.jsx)("form",{style:i.errorStyles.form,children:(0,r.jsx)("button",{type:"submit",style:i.errorStyles.button,children:"Reload"})}),!n&&(0,r.jsx)("button",{type:"button",style:i.errorStyles.buttonSecondary,onClick:()=>{window.history.length>1?window.history.back():window.location.href="/"},children:"Back"})]})]})}),t&&(0,r.jsxs)("p",{style:i.errorStyles.digestFooter,children:["ERROR ",t]})]})]})};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},6243,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={onCaughtError:function(){return f},onUncaughtError:function(){return p}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(836437),o=e.r(747800),s=e.r(834918),l=e.r(438865),u=e.r(995484),c=i._(e.r(604957)),d={decorateDevError:e=>e,handleClientError:()=>{},originConsoleError:console.error.bind(console)};function f(e,t){let n,r=t.errorBoundary?.constructor;if(n=n||r===u.ErrorBoundaryHandler&&t.errorBoundary.props.errorComponent===c.default)return p(e);(0,s.isBailoutToCSRError)(e)||(0,o.isNextRouterError)(e)||d.originConsoleError(e)}function p(e){(0,s.isBailoutToCSRError)(e)||(0,o.isNextRouterError)(e)||(0,l.reportGlobalError)(e)}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},160395,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={GracefulDegradeBoundary:function(){return s},default:function(){return l}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(547750),o=e.r(181476);class s extends o.Component{constructor(e){super(e),this.state={hasError:!1},this.rootHtml="",this.htmlAttributes={},this.htmlRef=(0,o.createRef)()}static getDerivedStateFromError(e){return{hasError:!0}}componentDidMount(){let e=this.htmlRef.current;this.state.hasError&&e&&Object.entries(this.htmlAttributes).forEach(([t,n])=>{e.setAttribute(t,n)})}render(){let{hasError:e}=this.state;return("u">typeof window&&!this.rootHtml&&(this.rootHtml=document.documentElement.innerHTML,this.htmlAttributes=function(e){let t={};for(let n=0;n<e.attributes.length;n++){let r=e.attributes[n];t[r.name]=r.value}return t}(document.documentElement)),e)?(0,i.jsx)("html",{ref:this.htmlRef,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:this.rootHtml}}):this.props.children}}let l=s;("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},163696,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return u}});let r=e.r(836437),a=e.r(547750);e.r(181476);let i=r._(e.r(160395)),o=e.r(995484),s=e.r(699271),l="u">typeof window&&(0,s.isBot)(window.navigator.userAgent);function u({children:e,errorComponent:t,errorStyles:n,errorScripts:r}){return l?(0,a.jsx)(i.default,{children:e}):(0,a.jsx)(o.ErrorBoundary,{errorComponent:t,errorStyles:n,errorScripts:r,children:e})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
523dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},162403,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"createInitialRouterState",{enumerable:!0,get:function(){return f}});let r=e.r(77811),a=e.r(837696),i=e.r(652555),o=e.r(770489),s=e.r(355402),l=e.r(569826),u=e.r(114059),c=e.r(667703),d=e.r(457127);function f({navigatedAt:e,initialRSCPayload:t,initialFlightStreamForCache:n,location:p}){let{c:h,f:m,q:g,i:y,S:_,s:v,l:b,h:S,r:w,p:E,d:k}=t,x=h.join("/"),{tree:T,seedData:P,head:R}=(0,i.getFlightDataPartsFromPath)(m[0]),C=p?(0,r.createHrefFromUrl)(p):x,I={metadataVaryPath:null,treeDivergedFromBase:!1},O=(0,s.convertRootFlightRouterStateToRouteTree)(T,g,I),N=I.metadataVaryPath,A=(0,o.createInitialCacheNodeForHydration)(e,O,P,R,(0,u.computeDynamicStaleAt)(e,k??u.UnknownDynamicStaleTime));if(null!==p&&null!==N){if((0,d.discoverKnownRoute)(Date.now(),p.pathname,p.search,null,null,O,N,y,C,_,!1),null!==P&&void 0!==v)if(void 0!==b&&null!=n)Promise.resolve(b).then(async e=>{let t=await (0,c.decodeStageUntilBoundary)(n,e,void 0),r=Date.now(),a=await (0,s.resolveStaleAt)(r,t.s);(0,s.writePrerenderResponseIntoCache)(r,l.FetchStrategy.PPR,t.f,void 0,t.h,t.r??null,a,T,g,!0,s.segmentCacheMap)}).catch(()=>{});else{let e=Date.now();(0,s.resolveStaleAt)(e,v).then(t=>{(0,s.writePrerenderResponseIntoCache)(e,l.FetchStrategy.PPR,m,void 0,S,w??null,t,T,g,!1,s.segmentCacheMap)}).catch(()=>{}),n?.cancel()}else n?.cancel();null!=E&&(0,s.processRuntimePrefetchStream)(Date.now(),E,T,g).then(e=>{null!==e&&(0,s.writeDynamicRenderResponseIntoCache)(Date.now(),l.FetchStrategy.PPRRuntime,e.flightDatas,e.buildId,e.isResponsePartial,e.headVaryParams,e.rootVaryParamsIterable,e.staleAt,e.navigationSeed,null,s.segmentCacheMap)}).catch(()=>{})}return{tree:A.route,cache:A.node,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:{scrollRef:null,forceScroll:!1,onlyHashChange:!1,hashFragment:null},canonicalUrl:C,renderedSearch:g,nextUrl:((0,a.extractPathFromFlightRouterState)(T)||p?.pathname)??null,previousNextUrl:null,debugInfo:null}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},168824,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"findHeadInCache",{enumerable:!0,get:function(){return i}});let r=e.r(315112),a=e.r(903943);function i(e,t){return function e(t,n,i,o){if(0===Object.keys(n).length)return[t,i,o];let s=Object.keys(n).filter(e=>"children"!==e);"children"in n&&s.unshift("children");let l=t.slots;if(null!==l)for(let t of s){let[o,s]=n[t];if(o===r.DEFAULT_SEGMENT_KEY)continue;let u=l[t];if(!u)continue;let c=e(u,s,i+"/"+(0,a.createRouterCacheKey)(o),i+"/"+(0,a.createRouterCacheKey)(o,!0));if(c)return c}return null}(e,t,"","")}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},925601,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"detectDomainLocale",{enumerable:!0,get:function(){return r}});let r=(...e)=>{};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},34807,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"resolvePromiseWithTimeout",{enumerable:!0,get:function(){return a}});let r=e.r(606855);function a(e,t,n){return new Promise((n,a)=>{let i=!1;e.then(e=>{i=!0,n(e)}).catch(a),(0,r.requestIdleCallback)(()=>setTimeout(()=>{i||a(t)},3800))})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},685186,(e,t,n)=>{"use strict";let r;Object.defineProperty(n,"__esModule",{value:!0});var a={createRouteLoader:function(){return _},getClientBuildManifest:function(){return g},isAssetError:function(){return h},markAssetError:function(){return p}};for(var i in a)Object.defineProperty(n,i,{enumerable:!0,get:a[i]});e.r(836437),e.r(795675);let o=e.r(61168),s=e.r(606855),l=e.r(118439),u=e.r(929308),c=e.r(34807);function d(e,t,n){let r,a=t.get(e);if(a)return"future"in a?a.future:Promise.resolve(a);let i=new Promise(e=>{r=e});return t.set(e,{resolve:r,future:i}),n?n().then(e=>(r(e),e)).catch(n=>{throw t.delete(e),n}):i}let f=Symbol("ASSET_LOAD_ERROR");function p(e){return Object.defineProperty(e,f,{})}function h(e){return e&&f in e}let m=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch{return!1}}();function g(){if(self.__BUILD_MANIFEST)return Promise.resolve(self.__BUILD_MANIFEST);let e=new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}});return(0,c.resolvePromiseWithTimeout)(e,p(Object.defineProperty(Error("Failed to load client build manifest"),"__NEXT_ERROR_CODE",{value:"E273",enumerable:!1,
523configurable:!0})),r)}function y(e,t){return g().then(n=>{if(!(t in n))throw p(Object.defineProperty(Error(`Failed to lookup route: ${t}`),"__NEXT_ERROR_CODE",{value:"E446",enumerable:!1,configurable:!0}));let r=n[t].map(t=>e+"/_next/"+(0,u.encodeURIPath)(t));return{scripts:r.filter(e=>e.endsWith(".js")).map(e=>(0,o.__unsafeCreateTrustedScriptURL)(e)+(0,l.getAssetTokenQuery)()),css:r.filter(e=>e.endsWith(".css")).map(e=>e+(0,l.getAssetTokenQuery)())}})}function _(e){let t=new Map,n=new Map,a=new Map,i=new Map;function o(e){{var t;let r=n.get(e.toString());return r?r:document.querySelector(`script[src^="${e}"]`)?Promise.resolve():(n.set(e.toString(),r=new Promise((n,r)=>{(t=document.createElement("script")).onload=n,t.onerror=()=>r(p(Object.defineProperty(Error(`Failed to load script: ${e}`),"__NEXT_ERROR_CODE",{value:"E74",enumerable:!1,configurable:!0}))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),r)}}function l(e){let t=a.get(e);return t||a.set(e,t=fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw Object.defineProperty(Error(`Failed to load stylesheet: ${e}`),"__NEXT_ERROR_CODE",{value:"E189",enumerable:!1,configurable:!0});return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw p(e)})),t}return{whenEntrypoint:e=>d(e,t),onEntrypoint(e,n){(n?Promise.resolve().then(()=>n()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(n=>{let r=t.get(e);r&&"resolve"in r?n&&(t.set(e,n),r.resolve(n)):(n?t.set(e,n):t.delete(e),i.delete(e))})},loadRoute(n,a){return d(n,i,()=>{let i;return(0,c.resolvePromiseWithTimeout)(y(e,n).then(({scripts:e,css:r})=>Promise.all([t.has(n)?[]:Promise.all(e.map(o)).then(e=>e),Promise.all(r.map(l))])).then(e=>this.whenEntrypoint(n).then(t=>({entrypoint:t,styles:e[1]}))),p(Object.defineProperty(Error(`Route did not complete loading: ${n}`),"__NEXT_ERROR_CODE",{value:"E12",enumerable:!1,configurable:!0})),r).then(({entrypoint:e,styles:t})=>{let n=Object.assign({styles:t},e);return"error"in e?e:n}).catch(e=>{if(a)throw e;return{error:e}}).finally(()=>i?.())})},prefetch(t){let n;return(n=navigator.connection)&&(n.saveData||/2g/.test(n.effectiveType))?Promise.resolve():y(e,t).then(e=>Promise.all(m?e.scripts.map(e=>{var t,n,r;return t=e.toString(),n="script",new Promise((e,a)=>{let i=` 524 link[rel="prefetch"][href^="${t}"], 525 link[rel="preload"][href^="${t}"], 526 script[src^="${t}"]`;if(document.querySelector(i))return e();r=document.createElement("link"),n&&(r.as=n),r.rel="prefetch",r.crossOrigin=void 0,r.onload=e,r.onerror=()=>a(p(Object.defineProperty(Error(`Failed to prefetch: ${t}`),"__NEXT_ERROR_CODE",{value:"E268",enumerable:!1,configurable:!0}))),r.href=t,document.head.appendChild(r)})}):[])).then(()=>{(0,s.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},674558,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});let r=(0,e.r(118439).getDeploymentId)();globalThis.NEXT_DEPLOYMENT_ID=r,("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},354426,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return i}}),e.r(836437);let r=e.r(547750);e.r(181476);let a=e.r(817610);function i(e){function t(t){return(0,r.jsx)(e,{router:(0,a.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},817610,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={Router:function(){return s.default},createRouter:function(){return y},default:function(){return m},makePublicRouterInstance:function(){return _},useRouter:function(){return g},withRouter:function(){return c.default}};
526for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(836437),o=i._(e.r(181476)),s=i._(e.r(229137)),l=e.r(552640),u=i._(e.r(141863)),c=i._(e.r(354426)),d={router:null,readyCallbacks:[],ready(e){if(this.router)return e();"u">typeof window&&this.readyCallbacks.push(e)}},f=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],p=["push","replace","reload","back","prefetch","beforePopState"];function h(){if(!d.router)throw Object.defineProperty(Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n'),"__NEXT_ERROR_CODE",{value:"E1044",enumerable:!1,configurable:!0});return d.router}Object.defineProperty(d,"events",{get:()=>s.default.events}),f.forEach(e=>{Object.defineProperty(d,e,{get:()=>h()[e]})}),p.forEach(e=>{d[e]=(...t)=>h()[e](...t)}),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach(e=>{d.ready(()=>{s.default.events.on(e,(...t)=>{let n=`on${e.charAt(0).toUpperCase()}${e.substring(1)}`;if(d[n])try{d[n](...t)}catch(e){console.error(`Error when running the Router event: ${n}`),console.error((0,u.default)(e)?`${e.message} 527${e.stack}`:e+"")}})})});let m=d;function g(){let e=o.default.useContext(l.RouterContext);if(!e)throw Object.defineProperty(Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted"),"__NEXT_ERROR_CODE",{value:"E509",enumerable:!1,configurable:!0});return e}function y(...e){return d.router=new s.default(...e),d.readyCallbacks.forEach(e=>e()),d.readyCallbacks=[],d.router}function _(e){let t={};for(let n of f){if("object"==typeof e[n]){t[n]=Object.assign(Array.isArray(e[n])?[]:{},e[n]);continue}t[n]=e[n]}return t.events=s.default.events,p.forEach(n=>{t[n]=(...t)=>e[n](...t)}),t}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},396161,(e,t,n)=>{t.exports=e.r(817610)},552954,(e,t,n)=>{"use strict";t.exports=["chrome 111","edge 111","firefox 111","safari 16.4"]},101851,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={UNDERSCORE_GLOBAL_ERROR_ROUTE:function(){return s},UNDERSCORE_GLOBAL_ERROR_ROUTE_ENTRY:function(){return l},UNDERSCORE_NOT_FOUND_ROUTE:function(){return i},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return o}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i="/_not-found",o=`${i}/page`,s="/_global-error",l=`${s}/page`},255986,(e,t,n)=>{"use strict";var r,a=e.i(171941);Object.defineProperty(n,"__esModule",{value:!0});var i={APP_CLIENT_INTERNALS:function(){return er},APP_PATHS_MANIFEST:function(){return b},APP_PATH_ROUTES_MANIFEST:function(){return S},AdapterOutputType:function(){return d},BARREL_OPTIMIZATION_PREFIX:function(){return X},BLOCKED_PAGES:function(){return W},BUILD_ID_FILE:function(){return B},BUILD_MANIFEST:function(){return w},CLIENT_PUBLIC_FILES_PATH:function(){return H},CLIENT_REFERENCE_MANIFEST:function(){return Y},CLIENT_STATIC_FILES_PATH:function(){return q},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return et},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return en},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return eo},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return es},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return ea},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return ei},COMPILER_INDEXES:function(){return c},COMPILER_NAMES:function(){return u},CONFIG_FILES:function(){return U},DEFAULT_RUNTIME_WEBPACK:function(){return el},DEFAULT_SANS_SERIF_FONT:function(){return ep},DEFAULT_SERIF_FONT:function(){return ef},DEV_CLIENT_MIDDLEWARE_MANIFEST:function(){return j},DEV_CLIENT_PAGES_MANIFEST:function(){return A},DYNAMIC_CSS_MANIFEST:function(){return ee},EDGE_RUNTIME_WEBPACK:function(){return eu},EDGE_UNSUPPORTED_NODE_APIS:function(){return e_},EXPORT_DETAIL:function(){return P},EXPORT_MARKER:function(){return T},FUNCTIONS_CONFIG_MANIFEST:function(){return E},IMAGES_MANIFEST:function(){return O},INTERCEPTION_ROUTE_REWRITE_MANIFEST:function(){return Z},MIDDLEWARE_BUILD_MANIFEST:function(){return J},MIDDLEWARE_MANIFEST:function(){return L},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return Q},MODERN_BROWSERSLIST_TARGET:function(){return s.default},NEXT_BUILTIN_DOCUMENT:function(){return G},NEXT_FONT_MANIFEST:function(){return x},PAGES_MANIFEST:function(){return v},PHASE_ANALYZE:function(){return p},PHASE_DEVELOPMENT_SERVER:function(){return g},PHASE_EXPORT:function(){return f},PHASE_INFO:function(){return _},PHASE_PRODUCTION_BUILD:function(){return h},PHASE_PRODUCTION_SERVER:function(){return m},PHASE_TEST:function(){return y},PREFETCH_HINTS:function(){return C},PRERENDER_MANIFEST:function(){return R},REACT_LOADABLE_MANIFEST:function(){return F},REQUEST_INSIGHTS_DEV_ENDPOINT:function(){return M},ROUTES_MANIFEST:function(){return I},RSC_MODULE_TYPES:function(){return ey},SERVER_DIRECTORY:function(){return z},SERVER_FILES_MANIFEST:function(){return N},SERVER_PROPS_ID:function(){return ed},SERVER_REFERENCE_MANIFEST:function(){return K},STATIC_PROPS_ID:function(){return ec},STATIC_STATUS_PAGES:function(){return eh},STRING_LITERAL_DROP_BUNDLE:function(){return V},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return k},SYSTEM_ENTRYPOINTS:function(){return ev},TRACE_OUTPUT_VERSION:function(){return em},TURBOPACK_CLIENT_BUILD_MANIFEST:function(){return $},TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST:function(){return D},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return eg},UNDERSCORE_GLOBAL_ERROR_ROUTE:function(){return l.UNDERSCORE_GLOBAL_ERROR_ROUTE},UNDERSCORE_GLOBAL_ERROR_ROUTE_ENTRY:function(){return l.UNDERSCORE_GLOBAL_ERROR_ROUTE_ENTRY},UNDERSCORE_NOT_FOUND_ROUTE:function(){return l.UNDERSCORE_NOT_FOUND_ROUTE},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return l.UNDERSCORE_NOT_FOUND_ROUTE_ENTRY}};for(var o in i)Object.defineProperty(n,o,{enumerable:!0,get:i[o]});let s=e.r(836437)._(e.r(552954)),l=e.r(101851),u={client:"client",server:"server",edgeServer:"edge-server"},c={[u.client]:0,[u.server]:1,[u.edgeServer]:2};var d=((r={}).PAGES="PAGES",r.PAGES_API="PAGES_API",r.APP_PAGE="APP_PAGE",r.APP_ROUTE="APP_ROUTE",r.PRERENDER="PRERENDER",r.STATIC_FILE="STATIC_FILE",r.MIDDLEWARE="MIDDLEWARE",r);let f="phase-export",p="phase-analyze",h="phase-production-build",m="phase-production-server",g="phase-development-server",y="phase-test",_="phase-info",v="pages-manifest.json",b="app-paths-manifest.json",S="app-path-routes-manifest.json",w="build-manifest.json",E="functions-config-manifest.json",k="subresource-integrity-manifest",x="next-font-manifest",T="export-marker.json",P="export-detail.json",R="prerender-manifest.json",C="prefetch-hints.json",I="routes-manifest.json",O="images-manifest.json",N="required-server-files",A="_devPagesManifest.json",M="/_next/development/request-insights",L="middleware-manifest.json",D="_clientMiddlewareManifest.js",$="client-build-manifest.json",j="_devMiddlewareManifest.json",F="react-loadable-manifest.json",z="server",U=["next.config.js","next.config.mjs","next.config.ts",...a.default?.features?.typescript?["next.config.mts"]:[]],B="BUILD_ID",W=["/_document","/_app","/_error"],H="public",q="static",V="__NEXT_DROP_CLIENT_FILE__",G="__NEXT_BUILTIN_DOCUMENT__",X="__barrel_optimize__",Y="client-reference-manifest",K="server-reference-manifest",J="middleware-build-manifest",Q="middleware-react-loadable-manifest",Z="interception-route-rewrite-manifest",ee="dynamic-css-manifest",et="main",en=`${et}-app`,er="app-pages-internals",ea="react-refresh",ei="webpack",eo="polyfills",es=Symbol(eo),el="webpack-runtime",eu="edge-runtime-webpack",ec="__N_SSG",ed="__N_SSP",ef={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},ep={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},eh=["/500"],em=1,eg=6e3,ey={client:"client",server:"server"},e_=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],ev=new Set([et,ea,en]);("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
527dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},798869,(e,t,n)=>{t.exports=e.r(255986)},598981,(e,t,n)=>{"use strict";var r,a=e.i(171941),i=e.r(254128),o=e.r(181476),s=e.r(215904);function l(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function c(e){for(var t=e,n=t;n&&!n.alternate;)0!=(4098&(t=n).flags)&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return 3===t.tag?e:null}function d(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function f(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function p(e){if(c(e)!==e)throw Error(l(188))}function h(e,t,n,r,a,i){for(;null!==e;){if((5===e.tag||6===e.tag)&&n(e,r,a,i)||(22!==e.tag||null===e.memoizedState)&&(t||5!==e.tag)&&h(e.child,t,n,r,a,i))return!0;e=e.sibling}return!1}function m(e){for(e=e.return;null!==e;){if(3===e.tag||5===e.tag)return e;e=e.return}return null}function g(e){switch(e.tag){case 5:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(l(559))}}var y=null,_=null;function v(e){return y=e,!0}function b(e,t,n){return e===n||e===t&&(y=e,!0)}function S(e,t,n){return e===n?(_=e,!1):e===t&&(null!==_&&(y=e),!0)}function w(e){if(null===e)return null;do e=null===e?null:e.return;while(e&&5!==e.tag&&27!==e.tag&&3!==e.tag)return e||null}function E(e,t,n){for(var r=0,a=e;a;a=n(a))r++;a=0;for(var i=t;i;i=n(i))a++;for(;0<r-a;)e=n(e),r--;for(;0<a-r;)t=n(t),a--;for(;r--;){if(e===t||null!==t&&e===t.alternate)return e;e=n(e),t=n(t)}return null}var k=Object.assign,x=Symbol.for("react.element"),T=Symbol.for("react.transitional.element"),P=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),O=Symbol.for("react.consumer"),N=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),$=Symbol.for("react.lazy");Symbol.for("react.scope");var j=Symbol.for("react.activity"),F=Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var z=Symbol.for("react.memo_cache_sentinel"),U=Symbol.for("react.view_transition"),B=Symbol.for("react.recoverable"),W=Symbol.iterator;function H(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=W&&e[W]||e["@@iterator"])?e:null}var q=Symbol.for("react.client.reference"),V=Array.isArray,G=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y={pending:!1,data:null,method:null,action:null},K=[],J=-1;function Q(e){return{current:e}}function Z(e){0>J||(e.current=K[J],K[J]=null,J--)}function ee(e,t){K[++J]=e.current,e.current=t}var et=Q(null),en=Q(null),er=Q(null),ea=Q(null);function ei(e,t){switch(ee(er,t),ee(en,e),ee(et,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?ch(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=cm(t=ch(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Z(et),ee(et,e)}function eo(){Z(et),Z(en),Z(er)}function es(e){var t=e.memoizedState;null!==t&&(dP._currentValue=t.memoizedState,ee(ea,e));var n=cm(t=et.current,e.type);t!==n&&(ee(en,e),ee(et,n))}function el(e){en.current===e&&(Z(et),Z(en)),ea.current===e&&(Z(ea),dP._currentValue=Y)}function eu(e){if(void 0===tJ)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);tJ=t&&t[1]||"",tQ=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+tJ+e+tQ}var ec=!1;function ed(e,t){if(!e||ec)return"";ec=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}
527else{try{n.call()}catch(e){r=e}n=!1;try{var a=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),n=!0,new e}finally{n&&(void 0!==a?Object.defineProperty(e.prototype,"props",a):delete e.prototype.props)}}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=r.DetermineComponentFrameRoot(),o=i[0],s=i[1];if(o&&s){var l=o.split("\n"),u=s.split("\n");for(a=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;a<u.length&&!u[a].includes("DetermineComponentFrameRoot");)a++;if(r===l.length||a===u.length)for(r=l.length-1,a=u.length-1;1<=r&&0<=a&&l[r]!==u[a];)a--;for(;1<=r&&0<=a;r--,a--)if(l[r]!==u[a]){if(1!==r||1!==a)do if(r--,a--,0>a||l[r]!==u[a]){var c="\n"+l[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=r&&0<=a)break}}}finally{ec=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?eu(n):""}function ef(e){try{var t="",n=null;do t+=function(e,t){switch(e.tag){case 26:case 27:case 5:return eu(e.type);case 16:return eu("Lazy");case 13:return e.child!==t&&null!==t?eu("Suspense Fallback"):eu("Suspense");case 19:return eu("SuspenseList");case 0:case 15:return ed(e.type,!1);case 11:return ed(e.type.render,!1);case 1:return ed(e.type,!0);case 31:return eu("Activity");case 30:return eu("ViewTransition");default:return""}}(e,n),n=e,e=e.return;while(e)return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var ep=Object.prototype.hasOwnProperty,eh=i.unstable_scheduleCallback,em=i.unstable_cancelCallback,eg=i.unstable_shouldYield,ey=i.unstable_requestPaint,e_=i.unstable_now,ev=i.unstable_getCurrentPriorityLevel,eb=i.unstable_ImmediatePriority,eS=i.unstable_UserBlockingPriority,ew=i.unstable_NormalPriority,eE=i.unstable_LowPriority,ek=i.unstable_IdlePriority,ex=(i.log,i.unstable_setDisableYieldValue,null),eT=null,eP=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(eR(e)/eC|0)|0},eR=Math.log,eC=Math.LN2,eI=256,eO=262144,eN=4194304;function eA(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:return 0x3c00000&e;case 0x4000000:return 0x4000000;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0;default:return e}}function eM(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var a=0,i=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=0x7ffffff&r;return 0!==s?0!=(r=s&~i)?a=eA(r):0!=(o&=s)?a=eA(o):n||0!=(n=s&~e)&&(a=eA(n)):0!=(s=r&~i)?a=eA(s):0!==o?a=eA(o):n||0!=(n=r&~e)&&(a=eA(n)),0===a?0:0!==t&&t!==a&&0==(t&i)&&((i=a&-a)>=(n=t&-t)||32===i&&0!=(4194048&n))?t:a}function eL(e,t){return 0==(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function eD(){var e=eN;return 0==(0x3c00000&(eN<<=1))&&(eN=4194304),e}function e$(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ej(e,t){e.pendingLanes|=t,0x10000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function eF(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-eP(t);e.entangledLanes|=t,e.entanglements[r]=0x40000000|e.entanglements[r]|261930&n}function ez(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-eP(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}function eU(e,t){var n=t&-t;return 0!=((n=0!=(42&n)?1:eB(n))&(e.suspendedLanes|t))?0:n}function eB(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 0x1000000:case 0x2000000:e=128;break;case 0x10000000:e=0x8000000;break;default:e=0}return e}function eW(e){return 2<(e&=-e)?8<e?0!=(0x7ffffff&e)?32:0x10000000:8:2}function eH(){var e=X.p;return 0!==e?e:void 0===(e=window.event)?32:dB(e.type)}function eq(e,t){var n=X.p;try{return X.p=e,t()}finally{X.p=n}}var eV=Math.random().toString(36).slice(2),eG="__reactFiber$"+eV,eX="__reactProps$"+eV,eY="__reactContainer$"+eV,eK="__reactEvents$"+eV,eJ="__reactListeners$"+eV,eQ="__reactHandles$"+eV,eZ="__reactResources$"+eV,e0="__reactMarker$"+eV,e1="__reactLoad$"+eV;function e2(e){delete e[eG],delete e[eX],delete e[eJ],delete e[eQ]}function e3(e){var t;if(t=e[eG])return t;for(var n=e.parentNode;n;){if(t=n[eY]||n[eG]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=c2(e);null!==e;){if(n=e[eG])return n;e=c2(e)}return t}n=(e=n).parentNode}return null}function e4(e){if(e=e[eG]||e[eY]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function e5(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(l(33))}function e6(e){var t=e[eZ];return t||(t=e[eZ]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function e8(e){e[e0]=!0}function e7(e){e[e1]=void 0}var e9=new Set,te={};function tt(e,t){tn(e,t),tn(e+"Capture",t)}function tn(e,t){for(te[e]=t,e=0;e<t.length;e++)e9.add(t[e])}
527var tr=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),ta={},ti={},to=!1;function ts(){var e=to;return to=!1,e}function tl(e,t,n){if(ep.call(ti,t)||!ep.call(ta,t)&&(tr.test(t)?ti[t]=!0:(ta[t]=!0,!1)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,n)}}function tu(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,n)}}function tc(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,r)}}function td(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function tf(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function tp(e){if(!e._valueTracker){var t=tf(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var a=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){n=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function th(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=tf(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}var tm=/[\n"\\]/g;function tg(e){return e.replace(tm,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function ty(e,t,n,r,a,i,o,s){e.name="",null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o?e.type=o:e.removeAttribute("type"),null!=t?"number"===o?(0===t&&""===e.value||e.value!=t)&&(e.value=""+td(t)):e.value!==""+td(t)&&(e.value=""+td(t)):"submit"!==o&&"reset"!==o||e.removeAttribute("value"),null!=t?"number"===o&&e.value==t?tv(e,td(e.value)):tv(e,td(t)):null!=n?tv(e,td(n)):null!=r&&e.removeAttribute("value"),null==a&&null!=i&&(e.defaultChecked=!!i),null!=a&&(e.checked=a&&"function"!=typeof a&&"symbol"!=typeof a),null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s?e.name=""+td(s):e.removeAttribute("name")}function t_(e,t,n,r,a,i,o,s){if(null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.type=i),null!=t||null!=n){if(("submit"===i||"reset"===i)&&null==t)return void tp(e);n=null!=n?""+td(n):"",t=null!=t?""+td(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:a)&&"symbol"!=typeof r&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.name=o),tp(e)}function tv(e,t){e.defaultValue!==""+t&&(e.defaultValue=""+t)}function tb(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+td(n),t=null,a=0;a<e.length;a++){if(e[a].value===n){e[a].selected=!0,r&&(e[a].defaultSelected=!0);return}null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function tS(e,t,n){if(null!=t&&((t=""+td(t))!==e.value&&(e.value=t),null==n)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=null!=n?""+td(n):""}function tw(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(l(92));if(V(r)){if(1<r.length)throw Error(l(93));r=r[0]}n=r}null==n&&(n=""),t=n}e.defaultValue=n=td(t),(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r),tp(e)}function tE(e,t){if(t){var n=e.firstChild;
527if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var tk=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function tx(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||tk.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function tT(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(l(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="",to=!0);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&(tx(e,a,r),to=!0)}else for(var i in t)t.hasOwnProperty(i)&&tx(e,i,t[i])}function tP(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var tR=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
527-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),tC=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function tI(e){return tC.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function tO(){}var tN=null;function tA(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var tM=null,tL=null;function tD(e){var t=e4(e);if(t&&(e=t.stateNode)){var n=e[eX]||null;switch(e=t.stateNode,t.type){case"input":if(ty(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+tg(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[eX]||null;if(!a)throw Error(l(90));ty(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&th(r)}break;case"textarea":tS(e,n.value,n.defaultValue);break;case"select":null!=(t=n.value)&&tb(e,!!n.multiple,t,!1)}}}var t$=!1;function tj(e,t,n){if(t$)return e(t,n);t$=!0;try{return e(t)}finally{if(t$=!1,(null!==tM||null!==tL)&&(uo(),tM&&(t=tM,e=tL,tL=tM=null,tD(t),e)))for(t=0;t<e.length;t++)tD(e[t])}}function tF(e,t){var n=e.stateNode;if(null===n)return null;var r=n[eX]||null;if(null===r)return null;switch(n=r[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r="button"!==(e=e.type)&&"input"!==e&&"select"!==e&&"textarea"!==e),e=!r;break;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(l(231,t,typeof n));return n}var tz="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement,tU=!1;if(tz)try{var tB={};Object.defineProperty(tB,"passive",{get:function(){tU=!0}}),window.addEventListener("test",tB,tB),window.removeEventListener("test",tB,tB)}catch(e){tU=!1}var tW=null,tH=null,tq=null;function tV(){if(tq)return tq;var e,t,n=tH,r=n.length,a="value"in tW?tW.value:tW.textContent,i=a.length;for(e=0;e<r&&n[e]===a[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===a[i-t];t++);return tq=a.slice(e,1<t?1-t:void 0)}function tG(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function tX(){return!0}function tY(){return!1}function tK(e){function t(t,n,r,a,i){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(a):a[o]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?tX:tY,this.isPropagationStopped=tY,this}return k(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=tX)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tX)},persist:function(){},isPersistent:tX}),t}var tJ,tQ,tZ,t0,t1,t2={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},t3=tK(t2),t4=k({},t2,{view:0,detail:0}),t5=tK(t4),t6=k({},t4,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ns,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.from
vendor: 4,389 bytes, line 527
527Element===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==t1&&(t1&&"mousemove"===e.type?(tZ=e.screenX-t1.screenX,t0=e.screenY-t1.screenY):t0=tZ=0,t1=e),tZ)},movementY:function(e){return"movementY"in e?e.movementY:t0}}),t8=tK(t6),t7=tK(k({},t6,{dataTransfer:0})),t9=tK(k({},t4,{relatedTarget:0})),ne=tK(k({},t2,{animationName:0,elapsedTime:0,pseudoElement:0})),nt=tK(k({},t2,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),nn=tK(k({},t2,{data:0})),nr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},na={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ni={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function no(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=ni[e])&&!!t[e]}function ns(){return no}var nl=tK(k({},t4,{key:function(e){if(e.key){var t=nr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tG(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?na[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ns,charCode:function(e){return"keypress"===e.type?tG(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tG(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),nu=tK(k({},t6,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),nc=tK(k({},t2,{submitter:0})),nd=tK(k({},t4,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ns})),nf=tK(k({},t2,{propertyName:0,elapsedTime:0,pseudoElement:0})),np=tK(k({},t6,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),nh=tK(k({},t2,{newState:0,oldState:0})),nm=[9,13,27,32],ng=tz&&"CompositionEvent"in window,ny=null;tz&&"documentMode"in document&&(ny=document.documentMode);var n_=tz&&"TextEvent"in window&&!ny,nv=tz&&(!ng||ny&&8<ny&&11>=ny),nb=!1;function nS(e,t){switch(e){case"keyup":return -1!==nm.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nw(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var nE=!1,nk={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function nx(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!nk[e.type]:"textarea"===t}function nT(e,t,n,r){tM?tL?tL.push(r):tL=[r]:tM=r,0<(t=u9(t,"onChange")).length&&(n=new t3("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var nP=null,nR=null;function nC(e){u1(e,0)}function nI(e){if(th(e5(e)))return e}function nO(e,t){if("change"===e)return t}var nN=!1;if(tz){if(tz){var nA="oninput"in document;if(!nA){var nM=document.createElement("div");nM.setAttribute("oninput","return;"),nA="function"==typeof nM.oninput}r=nA}else r=!1;nN=r&&(!document.documentMode||9<document.documentMode)}function nL(){nP&&(nP.detachEvent("onpropertychange",nD),nR=nP=null)}function nD(e){if("value"===e.propertyName&&nI(nR)){var t=[];nT(t,nR,e,tA(e)),tj(nC,t)}}function n$(e,t,n){"focusin"===e?(nL(),nP=t,nR=n,nP.attachEvent("onpropertychange",nD)):"focusout"===e&&nL()}function nj(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return nI(nR)}function nF(e,t){if("click"===e)return nI(t)}function nz(e,t){if("input"===e||"change"===e)return nI(t)}var nU="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function nB(e,t){if(nU(e,t))return!0;
527if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!ep.call(t,a)||!nU(e[a],t[a]))return!1}return!0}function nW(e){if(void 0===(e=e||("u">typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function nH(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nq(e,t){var n,r=nH(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}t:{for(;r;){if(r.nextSibling){r=r.nextSibling;break t}r=r.parentNode}r=void 0}r=nH(r)}}function nV(e){e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;for(var t=nW(e.document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=nW(e.document)}return t}function nG(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var nX=tz&&"documentMode"in document&&11>=document.documentMode,nY=null,nK=null,nJ=null,nQ=!1;function nZ(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;nQ||null==nY||nY!==nW(r)||(r="selectionStart"in(r=nY)&&nG(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},nJ&&nB(nJ,r)||(nJ=r,0<(r=u9(nK,"onSelect")).length&&(t=new t3("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=nY)))}function n0(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var n1={animationend:n0("Animation","AnimationEnd"),animationiteration:n0("Animation","AnimationIteration"),animationstart:n0("Animation","AnimationStart"),transitionrun:n0("Transition","TransitionRun"),transitionstart:n0("Transition","TransitionStart"),transitioncancel:n0("Transition","TransitionCancel"),transitionend:n0("Transition","TransitionEnd")},n2={},n3={};function n4(e){if(n2[e])return n2[e];if(!n1[e])return e;var t,n=n1[e];for(t in n)if(n.hasOwnProperty(t)&&t in n3)return n2[e]=n[t];return e}tz&&(n3=document.createElement("div").style,"AnimationEvent"in window||(delete n1.animationend.animation,delete n1.animationiteration.animation,delete n1.animationstart.animation),"TransitionEvent"in window||delete n1.transitionend.transition);var n5=n4("animationend"),n6=n4("animationiteration"),n8=n4("animationstart"),n7=n4("transitionrun"),n9=n4("transitionstart"),re=n4("transitioncancel"),rt=n4("transitionend"),rn=new Map,rr="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ra(e,t){rn.set(e,t),tt(t,[e])}rr.push("scrollEnd");var ri=0;function ro(e,t){return null!=e.name&&"auto"!==e.name?e.name:null!==t.autoName?t.autoName:t.autoName=e="_"+(e=lQ.identifierPrefix)+"t_"+(ri++).toString(32)+"_"}function rs(e){if(null==e||"string"==typeof e)return e;var t=null,n=l6;if(null!==n)for(var r=0;r<n.length;r++){var a=e[n[r]];if(null!=a){if("none"===a)return"none";t=null==t?a:t+" "+a}}return null==t?e.default:t}function rl(e,t){return e=rs(e),null==(t=rs(t))?"auto"===e?null:e:"auto"===t?null:t}var ru="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof a.default&&"function"==typeof a.default.emit)return void a.default.emit("uncaughtException",e);console.error(e)},rc=[],rd=0,rf=0;function rp(){for(var e=rd,t=rf=rd=0;t<e;){var n=rc[t];rc[t++]=null;var r=rc[t];rc[t++]=null;var a=rc[t];rc[t++]=null;
vendor: 4,479 bytes, line 527
527var i=rc[t];if(rc[t++]=null,null!==r&&null!==a){var o=r.pending;null===o?a.next=a:(a.next=o.next,o.next=a),r.pending=a}0!==i&&ry(n,a,i)}}function rh(e,t,n,r){rc[rd++]=e,rc[rd++]=t,rc[rd++]=n,rc[rd++]=r,rf|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function rm(e,t,n,r){return rh(e,t,n,r),r_(e)}function rg(e,t){return rh(e,null,null,t),r_(e)}function ry(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var a=!1,i=e.return;null!==i;)i.childLanes|=n,null!==(r=i.alternate)&&(r.childLanes|=n),22===i.tag&&(null===(e=i.stateNode)||1&e._visibility||(a=!0)),e=i,i=i.return;return 3===e.tag?(i=e.stateNode,a&&null!==t&&(a=31-eP(n),null===(r=(e=i.hiddenUpdates)[a])?e[a]=[t]:r.push(t),t.lane=0x20000000|n),i):null}function r_(e){if(50<l8)throw l8=0,l7=null,Error(l(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var rv={};function rb(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function rS(e,t,n,r){return new rb(e,t,n,r)}function rw(e){return!(!(e=e.prototype)||!e.isReactComponent)}function rE(e,t){var n=e.alternate;return null===n?((n=rS(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=0x47f00000&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function rk(e,t){e.flags&=0x47f00002;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,e.dependencies=null===(t=n.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function rx(e,t,n,r,a,i){var o=0;if("function"==typeof(r=e))rw(r)&&(o=1);else if("string"==typeof r)o=!function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;if("stylesheet"===t.rel)return e=t.disabled,"string"==typeof t.precedence&&null==e;return!0;case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,et.current)?"html"===e||"head"===e||"body"===e?27:5:26;else t:switch(r){case j:return(e=rS(31,n,t,a)).elementType=j,e.lanes=i,e;case R:return rT(n.children,a,i,t);case C:o=8,a|=24;break;case I:return(e=rS(12,n,t,2|a)).elementType=I,e.lanes=i,e;case M:return(e=rS(13,n,t,a)).elementType=M,e.lanes=i,e;case L:return(e=rS(19,n,t,a)).elementType=L,e.lanes=i,e;case F:case U:return(e=rS(30,n,t,e=32|a)).elementType=U,e.lanes=i,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if("object"==typeof r&&null!==r)switch(r.$$typeof){case N:o=10;break t;case O:o=9;break t;case A:o=11;break t;case D:o=14;break t;case $:o=16,r=null;break t}o=29,n=Error(l(130,null===e?"null":typeof e,"")),r=null}return(t=rS(o,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function rT(e,t,n,r){return(e=rS(7,e,r,t)).lanes=n,e}function rP(e,t,n){return(e=rS(6,e,null,t)).lanes=n,e}function rR(e){var t=rS(18,null,null,0);return t.stateNode=e,t}function rC(e,t,n){return(t=rS(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var rI=new WeakMap;function rO(e,t){if("object"==typeof e&&null!==e){var n=rI.get(e);return void 0!==n?n:(t={value:e,source:t,stack:ef(t)},rI.set(e,t),t)}return{value:e,source:t,stack:ef(t)}}var rN=[],rA=0,rM=null,rL=0,rD=[],r$=0,rj=null,rF=1,rz="";
527function rU(e,t){rN[rA++]=rL,rN[rA++]=rM,rM=e,rL=t}function rB(e,t,n){rD[r$++]=rF,rD[r$++]=rz,rD[r$++]=rj,rj=e;var r=rF;e=rz;var a=32-eP(r)-1;r&=~(1<<a),n+=1;var i=32-eP(t)+a;if(30<i){var o=a-a%5;i=(r&(1<<o)-1).toString(32),r>>=o,a-=o,rF=1<<32-eP(t)+a|n<<a|r,rz=i+e}else rF=1<<i|n<<a|r,rz=e}function rW(e){null!==e.return&&(rU(e,1),rB(e,1,0))}function rH(e){for(;e===rM;)rM=rN[--rA],rN[rA]=null,rL=rN[--rA],rN[rA]=null;for(;e===rj;)rj=rD[--r$],rD[r$]=null,rz=rD[--r$],rD[r$]=null,rF=rD[--r$],rD[r$]=null}function rq(e,t){rD[r$++]=rF,rD[r$++]=rz,rD[r$++]=rj,rF=t.id,rz=t.overflow,rj=e}var rV=null,rG=null,rX=!1,rY=null,rK=!1,rJ=Error(l(519));function rQ(e){var t=Error(l(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML",""));throw r4(rO(t,e)),rJ}function rZ(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[eG]=e,t[eX]=r,n){case"dialog":u2("cancel",t),u2("close",t);break;case"iframe":case"object":case"embed":u2("load",t);break;case"video":case"audio":for(n=0;n<uZ.length;n++)u2(uZ[n],t);break;case"source":u2("error",t);break;case"img":case"image":case"link":u2("error",t),u2("load",t);break;case"details":u2("toggle",t);break;case"input":u2("invalid",t),t_(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":u2("invalid",t);break;case"textarea":u2("invalid",t),tw(t,r.value,r.defaultValue,r.children)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||ci(t.textContent,n)?(null!=r.popover&&(u2("beforetoggle",t),u2("toggle",t)),null!=r.onScroll&&u2("scroll",t),null!=r.onScrollEnd&&u2("scrollend",t),null!=r.onClick&&(t.onclick=tO),t=!0):t=!1,t||rQ(e,!0)}function r0(e){for(rV=e.return;rV;)switch(rV.tag){case 5:case 31:case 13:rK=!1;return;case 27:case 3:rK=!0;return;default:rV=rV.return}}function r1(e){if(e!==rV)return!1;if(!rX)return r0(e),rX=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t="form"===(t=e.type)||"button"===t||cg(e.type,e.memoizedProps)),t=!t),t&&rG&&rQ(e),r0(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));rG=c1(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));rG=c1(e)}else 27===n?(n=rG,cE(e.type)?(e=c0,c0=null,rG=e):rG=n):rG=rV?cZ(e.stateNode.nextSibling):null;return!0}function r2(){rG=rV=null,rX=!1}function r3(){var e=rY;return null!==e&&(null===lH?lH=e:lH.push.apply(lH,e),rY=null),e}function r4(e){null===rY?rY=[e]:rY.push(e)}var r5=Q(null),r6=null,r8=null;function r7(e,t,n){ee(r5,t._currentValue),t._currentValue=n}function r9(e){e._currentValue=r5.current,Z(r5)}function ae(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function at(e,t,n,r){var a=e.child;for(null!==a&&(a.return=e);null!==a;){var i=a.dependencies;if(null!==i){var o=a.child;i=i.firstContext;t:for(;null!==i;){var s=i;i=a;for(var u=0;u<t.length;u++)if(s.context===t[u]){i.lanes|=n,null!==(s=i.alternate)&&(s.lanes|=n),ae(i.return,n,e),r||(o=null);break t}i=s.next}}else if(18===a.tag){if(null===(o=a.return))throw Error(l(341));o.lanes|=n,null!==(i=o.alternate)&&(i.lanes|=n),ae(o,n,e),o=null}else 13===a.tag&&null!==a.memoizedState&&null===a.memoizedState.dehydrated?(a.lanes|=n,null!==(o=a.alternate)&&(o.lanes|=n),ae(a.return,n,e),o=null!==(o=a.child)?o.sibling:null):o=a.child;if(null!==o)o.return=a;else for(o=a;null!==o;){if(o===e){o=null;break}if(null!==(a=o.sibling)){a.return=o.return,o=a;break}o=o.return}a=o}}function an(e,t,n,r){e=null;for(var a=t,i=!1;null!==a;){if(!i){if(0!=(524288&a.flags))i=!0;else if(0!=(262144&a.flags))break}if(10===a.tag){var o=a.alternate;if(null===o)throw Error(l(387));if(null!==(o=o.memoizedProps)){var s=a.type;nU(a.pendingProps.value,o.value)||(null!==e?e.push(s):e=[s])}}else if(a===ea.current){if(null===(o=a.alternate))throw Error(l(387));o.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(null!==e?e.push(dP):e=[dP])}a=a.return}return null!==e&&at(t,e,n,r),t.flags|=262144,null!==e}function ar(e){for(e=e.firstContext;null!==e;){if(!nU(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}
527function aa(e){r6=e,r8=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function ai(e){return as(r6,e)}function ao(e,t){return null===r6&&aa(e),as(e,t)}function as(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===r8){if(null===e)throw Error(l(308));r8=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else r8=r8.next=t;return n}var al="u">typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},au=i.unstable_scheduleCallback,ac=i.unstable_NormalPriority,ad={$$typeof:N,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function af(){return{controller:new al,data:new Map,refCount:0}}function ap(e){e.refCount--,0===e.refCount&&au(ac,function(){e.controller.abort()})}function ah(e,t){if(0!=(4194048&e.pendingLanes)){var n=e.transitionTypes;for(null===n&&(n=e.transitionTypes=[]),e=0;e<t.length;e++){var r=t[e];-1===n.indexOf(r)&&n.push(r)}}}var am=null,ag=null,ay=0,a_=0,av=null;function ab(){if(0==--ay&&(am=null,null!==ag)){null!==av&&(av.status="fulfilled");var e=ag;ag=null,a_=0,av=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var aS=G.S;G.S=function(e,t){if(lG=e_(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e){if(null===ag){var t=ag=[];ay=0,a_=uY(),av={status:"pending",value:void 0,then:function(e){t.push(e)}}}ay++,e.then(ab,ab)}(t),null!==am)for(var n=uD;null!==n;)ah(n,am),n=n.next;if(null!==(n=e.types)){for(var r=uD;null!==r;)ah(r,n),r=r.next;if(0!==a_){null===(r=am)&&(r=am=[]);for(var a=0;a<n.length;a++){var i=n[a];-1===r.indexOf(i)&&r.push(i)}}}null!==aS&&aS(e,t)};var aw=Q(null);function aE(){var e=aw.current;return null!==e?e:lR.pooledCache}function ak(e,t){null===t?ee(aw,aw.current):ee(aw,t.pool)}function ax(){var e=aE();return null===e?null:{parent:ad._currentValue,pool:e}}var aT=Error(l(460)),aP=Error(l(474)),aR=Error(l(542)),aC={then:function(){}};function aI(e){return"fulfilled"===(e=e.status)||"rejected"===e}function aO(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(tO,tO),t=n),t.status){case"fulfilled":return t.value;case"rejected":if(aL(e=t.reason),void 0===e&&!("reason"in t))throw Error(l(600));throw e;default:if("string"==typeof t.status)t.then(tO,tO);else{if(null!==(e=lR)&&100<e.shellSuspendCounter)throw Error(l(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw aL(e=t.reason),e}throw aA=t,aT}}function aN(e){try{return(0,e._init)(e._payload)}catch(e){if(null!==e&&"object"==typeof e&&"function"==typeof e.then)throw aA=e,aT;throw e}}var aA=null;function aM(){if(null===aA)throw Error(l(459));var e=aA;return aA=null,e}function aL(e){if(e===aT||e===aR)throw Error(l(483))}var aD=null,a$=0;function aj(e){var t=a$;return a$+=1,null===aD&&(aD=[]),aO(aD,e,t)}function aF(e,t){e.ref=void 0!==(t=t.props.ref)?t:null}function az(e,t){if(t.$$typeof===x)throw Error(l(525));throw Error(l(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function aU(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null===e.key?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return(e=rE(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return(t.index=r,e)?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=0x8000002,n):(t.flags|=1048576,n)}function o(t){return e&&null===t.alternate&&(t.flags|=0x8000002),t}function s(e,t,n,r){return null===t||6!==t.tag?(t=rP(n,e.mode,r)).return=e:(t=a(t,n)).return=e,t}function u(e,t,n,r){var i=n.type;return i===R?(aF(e=d(e,t,n.props.children,r,n.key),n),e):(null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===$&&aN(i)===t.type)?aF(t=a(t,n.props),n):aF(t=rx(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=rC(n,e.mode,r)).return=e:(t=a(t,n.children||[])).return=e,t}function d(e,t,n,r,i){return null===t||7!==t.tag?(t=rT(n,e.mode,r,i)).return=e:(t=a(t,n)).return=e,t}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=rP(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case T:return aF(n=rx(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case P:return(t=rC(t,e.mode,n)).return=e,t;case $:return f(e,t=aN(t),n)}if(V(t)||H(t))return(t=rT(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return f(e,aj(t),n);if(t.$$typeof===N)return f(e,ao(e,t),n);az(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==a?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case T:return n.key===a?u(e,t,n,r):null;case P:return n.key===a?c(e,t,n,r):null;case $:return p(e,t,n=aN(n),r)}if(V(n)||H(n))return null!==a?null:d(e,t,n,r,null);if("function"==typeof n.then)return p(e,t,aj(n),r);if(n.$$typeof===N)return p(e,t,ao(e,n),r);az(e,n)}return null}function h(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return s(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case T:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case P:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case $:return h(e,t,n,r=aN(r),a)}if(V(r)||H(r))return d(t,e=e.get(n)||null,r,a,null);if("function"==typeof r.then)return h(e,t,n,aj(r),a);if(r.$$typeof===N)return h(e,t,n,ao(t,r),a);az(t,r)}return null}return function(s,u,c,d){try{a$=0;var m=function s(u,c,d,m){if("object"==typeof d&&null!==d&&d.type===R&&null===d.key&&void 0===d.props.ref&&(d=d.props.children),"object"==typeof d&&null!==d){switch(d.$$typeof){case T:t:{for(var g=d.key;null!==c;){if(c.key===g){if((g=d.type)===R){if(7===c.tag){n(u,c.sibling),aF(m=a(c,d.props.children),d),m.return=u,u=m;break t}}else if(c.elementType===g||"object"==typeof g&&null!==g&&g.$$typeof===$&&aN(g)===c.type){n(u,c.sibling),aF(m=a(c,d.props),d),m.return=u,u=m;break t}n(u,c);break}t(u,c),c=c.sibling}d.type===R?aF(m=rT(d.props.children,u.mode,m,d.key),d):aF(m=rx(d.type,d.key,d.props,null,u.mode,m),d),m.return=u,u=m}return o(u);case P:t:{for(g=d.key;null!==c;){if(c.key===g)if(4===c.tag&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(u,c.sibling),(m=a(c,d.children||[])).return=u,u=m;break t}else{n(u,c);break}t(u,c),c=c.sibling}(m=rC(d,u.mode,m)).return=u,u=m}return o(u);case $:return s(u,c,d=aN(d),m)}if(V(d))return function(a,o,s,l){for(var u=null,c=null,d=o,m=o=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var y=p(a,d,s[m],l);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(a,d),o=i(y,o,m),null===c?u=y:c.sibling=y,c=y,d=g}if(m===s.length)return n(a,d),rX&&rU(a,m),u;if(null===d){for(;m<s.length;m++)null!==(d=f(a,s[m],l))&&(o=i(d,o,m),null===c?u=d:c.sibling=d,c=d);return rX&&rU(a,m),u}for(d=r(d);m<s.length;m++)null!==(g=h(d,a,m,s[m],l))&&(e&&null!==(y=g.alternate)&&d.delete(null===y.key?m:y.key),o=i(g,o,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach(function(e){return t(a,e)}),rX&&rU(a,m),u}(u,c,d,m);if(H(d)){if("function"!=typeof(g=H(d)))throw Error(l(150));return function(a,o,s,u){if(null==s)throw Error(l(151));for(var c=null,d=null,m=o,g=o=0,y=null,_=s.next();null!==m&&!_.done;g++,_=s.next()){m.index>g?(y=m,m=null):y=m.sibling;var v=p(a,m,_.value,u);if(null===v){null===m&&(m=y);break}e&&m&&null===v.alternate&&t(a,m),o=i(v,o,g),null===d?c=v:d.sibling=v,d=v,m=y}if(_.done)return n(a,m),rX&&rU(a,g),c;if(null===m){for(;!_.done;
527g++,_=s.next())null!==(_=f(a,_.value,u))&&(o=i(_,o,g),null===d?c=_:d.sibling=_,d=_);return rX&&rU(a,g),c}for(m=r(m);!_.done;g++,_=s.next())null!==(_=h(m,a,g,_.value,u))&&(e&&null!==(y=_.alternate)&&m.delete(null===y.key?g:y.key),o=i(_,o,g),null===d?c=_:d.sibling=_,d=_);return e&&m.forEach(function(e){return t(a,e)}),rX&&rU(a,g),c}(u,c,d=g.call(d),m)}if("function"==typeof d.then)return s(u,c,aj(d),m);if(d.$$typeof===N)return s(u,c,ao(u,d),m);az(u,d)}return"string"==typeof d&&""!==d||"number"==typeof d||"bigint"==typeof d?(d=""+d,null!==c&&6===c.tag?(n(u,c.sibling),(m=a(c,d)).return=u):(n(u,c),(m=rP(d,u.mode,m)).return=u),o(u=m)):n(u,c)}(s,u,c,d);return aD=null,m}catch(e){if(e===aT||e===aR)throw e;var g=rS(29,e,null,s.mode);return g.lanes=d,g.return=s,g}finally{}}}var aB=aU(!0),aW=aU(!1),aH=!1;function aq(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function aV(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function aG(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function aX(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&lP)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,t=r_(e),ry(e,null,n),t}return rh(e,r,t,n),r_(e)}function aY(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194048&n))){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ez(e,n)}}function aK(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===i?a=i=o:i=i.next=o,n=n.next}while(null!==n)null===i?a=i=t:i=i.next=t}else a=i=t;n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var aJ=!1;function aQ(){if(aJ){var e=av;if(null!==e)throw e}}function aZ(e,t,n,r){aJ=!1;var a=e.updateQueue;aH=!1;var i=a.firstBaseUpdate,o=a.lastBaseUpdate,s=a.shared.pending;if(null!==s){a.shared.pending=null;var l=s,u=l.next;l.next=null,null===o?i=u:o.next=u,o=l;var c=e.alternate;null!==c&&(s=(c=c.updateQueue).lastBaseUpdate)!==o&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l)}if(null!==i){var d=a.baseState;for(o=0,c=u=l=null,s=i;;){var f=-0x20000001&s.lane,p=f!==s.lane;if(p?(lI&f)===f:(r&f)===f){0!==f&&f===a_&&(aJ=!0),null!==c&&(c=c.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});t:{var h=e,m=s;switch(f=t,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(n,d,f);break t}d=h;break t;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(n,d,f):h))break t;d=k({},d,f);break t;case 2:aH=!0}}null!==(f=s.callback)&&(e.flags|=64,p&&(e.flags|=8192),null===(p=a.callbacks)?a.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=p,l=d):c=c.next=p,o|=f;if(null===(s=s.next))if(null===(s=a.shared.pending))break;else s=(p=s).next,p.next=null,a.lastBaseUpdate=p,a.shared.pending=null}null===c&&(l=d),a.baseState=l,a.firstBaseUpdate=u,a.lastBaseUpdate=c,null===i&&(a.shared.lanes=0),lj|=o,e.lanes=o,e.memoizedState=d}}function a0(e,t){if("function"!=typeof e)throw Error(l(191,e));e.call(t)}function a1(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)a0(n[e],t)}var a2=Q(null),a3=Q(0);function a4(e,t){ee(a3,e=lD),ee(a2,t),lD=e|t.baseLanes}function a5(){ee(a3,lD),ee(a2,a2.current)}function a6(){lD=a3.current,Z(a2),Z(a3)}var a8=Q(null),a7=null;function a9(e){var t=e.alternate;ee(ii,1&ii.current),ee(a8,e),null===a7&&(null===t||null!==a2.current?a7=e:null!==t.memoizedState&&(a7=e))}function ie(e){ee(ii,ii.current),ee(a8,e),null===a7&&(a7=e)}function it(e){22===e.tag?(ee(ii,ii.current),ee(a8,e),null===a7&&(a7=e)):ir()}function ir(){ee(ii,ii.current),ee(a8,a8.current)}function ia(e){Z(a8),a7===e&&(a7=null),Z(ii)}var ii=Q(0);function io(e,t){ee(a8,a8.current),ee(ii,t)}function is(e){Z(ii),Z(a8),a7===e&&(a7=null)}function il(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||cJ(n)||cQ(n)))return t}else if(19===t.tag&&"independent"!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var iu=0,ic=null,id=null,ip=null,ih=!1,im=!1,ig=!1,iy=0,i_=0,iv=null,ib=0;function iS(){throw Error(l(321))}function iw(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!nU(e[n],t[n]))return!1;return!0}function iE(e,t,n,r,a,i){return iu=i,ic=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,G.H=null===e||null===e.memoizedState?oC:oI,ig=!1,i=n(r,a),ig=!1,im&&(i=ix(t,n,r,a)),ik(e),i}function ik(e){G.H=oR;var t=null!==id&&null!==id.next;if(iu=0,ip=id=ic=null,ih=!1,i_=0,iv=null,t)throw Error(l(300));
527null===e||oV||null!==(e=e.dependencies)&&ar(e)&&(oV=!0)}function ix(e,t,n,r){ic=e;var a=0;do{if(im&&(iv=null),i_=0,im=!1,25<=a)throw Error(l(301));if(a+=1,ip=id=null,null!=e.updateQueue){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,null!=i.memoCache&&(i.memoCache.index=0)}G.H=oO,i=t(n,r)}while(im)return i}function iT(){var e=G.H,t=e.useState()[0];return t="function"==typeof t.then?iA(t):t,e=e.useState()[0],(null!==id?id.memoizedState:null)!==e&&(ic.flags|=1024),t}function iP(){var e=0!==iy;return iy=0,e}function iR(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function iC(e){if(ih){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}ih=!1}iu=0,ip=id=ic=null,im=!1,i_=iy=0,iv=null}function iI(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ip?ic.memoizedState=ip=e:ip=ip.next=e,ip}function iO(){if(null===id){var e=ic.alternate;e=null!==e?e.memoizedState:null}else e=id.next;var t=null===ip?ic.memoizedState:ip.next;if(null!==t)ip=t,id=e;else{if(null===e){if(null===ic.alternate)throw Error(l(467));throw Error(l(310))}e={memoizedState:(id=e).memoizedState,baseState:id.baseState,baseQueue:id.baseQueue,queue:id.queue,next:null},null===ip?ic.memoizedState=ip=e:ip=ip.next=e}return ip}function iN(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function iA(e){var t=i_;return i_+=1,null===iv&&(iv=[]),e=aO(iv,e,t),t=ic,null===(null===ip?t.memoizedState:ip.next)&&(G.H=null===(t=t.alternate)||null===t.memoizedState?oC:oI),e}function iM(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return iA(e);if(e.$$typeof===B)return;if(e.$$typeof===N)return ai(e)}throw Error(l(438,String(e)))}function iL(e){var t=null,n=ic.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=ic.alternate;null!==r&&null!==(r=r.updateQueue)&&null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})}if(null==t&&(t={data:[],index:0}),null===n&&(n=iN(),ic.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=z;return t.index++,n}function iD(e,t){return"function"==typeof t?t(e):t}function i$(e){return ij(iO(),id,e)}function ij(e,t,n){var r=e.queue;if(null===r)throw Error(l(311));r.lastRenderedReducer=n;var a=e.baseQueue,i=r.pending;if(null!==i){if(null!==a){var o=a.next;a.next=i.next,i.next=o}t.baseQueue=a=i,r.pending=null}if(i=e.baseState,null===a)e.memoizedState=i;else{t=a.next;var s=o=null,u=null,c=t,d=!1;do{var f=-0x20000001&c.lane;if(f!==c.lane?(lI&f)===f:(iu&f)===f){var p=c.revertLane;if(0===p)null!==u&&(u=u.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),f===a_&&(d=!0);else if((iu&p)===p){c=c.next,p===a_&&(d=!0);continue}else f={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(s=u=f,o=i):u=u.next=f,ic.lanes|=p,lj|=p;f=c.action,ig&&n(i,f),i=c.hasEagerState?c.eagerState:n(i,f)}else p={lane:f,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(s=u=p,o=i):u=u.next=p,ic.lanes|=f,lj|=f;c=c.next}while(null!==c&&c!==t)if(null===u?o=i:u.next=s,!nU(i,e.memoizedState)&&(oV=!0,d&&null!==(n=av)))throw n;e.memoizedState=i,e.baseState=o,e.baseQueue=u,r.lastRenderedState=i}return null===a&&(r.lanes=0),[e.memoizedState,r.dispatch]}function iF(e){var t=iO(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var o=a=a.next;do i=e(i,o.action),o=o.next;while(o!==a)nU(i,t.memoizedState)||(oV=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function iz(e,t,n){var r=ic,a=iO(),i=rX;if(i){if(void 0===n)throw Error(l(407));n=n()}else n=t();var o=!nU((id||a).memoizedState,n);if(o&&(a.memoizedState=n,oV=!0),a=a.queue,ot(iW.bind(null,r,a,e),[e]),i6((e=a.getSnapshot!==t||o||null!==ip&&0!=(1&ip.memoizedState.tag))?9:8,{destroy:void 0},iB.bind(null,r,a,n,t),null),e){if(r.flags|=2048,null===lR)throw Error(l(349));i||0!=(127&iu)||iU(r,t,n)}return n}function iU(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ic.updateQueue)?(t=iN(),ic.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function iB(e,t,n,r){t.value=n,t.getSnapshot=r,iH(t)&&iq(e)}function iW(e,t,n){return n(function(){iH(t)&&iq(e)})}function iH(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!nU(e,n)}catch(e){return!0}}function iq(e){var t=rg(e,2);null!==t&&un(t,e,2)}function iV(e){var t=iI();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:iD,lastRenderedState:e},t}function iG(e,t,n,r){return e.baseState=n,ij(e,id,"function"==typeof r?r:iD)}function iX(e,t,n,r,a){if(ox(e))throw Error(l(485));if(null!==(e=t.action)){var i={payload:a,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){i.listeners.push(e)}};null!==G.T?n(!0):i.isTransition=!1,r(i),null===(n=t.pending)?(i.next=t.pending=i,iY(t,i)):(i.next=n.next,t.pending=n.next=i)}}function iY(e,t){var n=t.action,r=t.payload,a=e.state;if(t.isTransition){var i=G.T,o={};o.types=null!==i?i.types:null,G.T=o;try{var s=n(a,r),l=G.S;null!==l&&l(o,s),iK(e,t,s)}
527catch(n){iQ(e,t,n)}finally{null!==i&&null!==o.types&&(i.types=o.types),G.T=i}}else try{i=n(a,r),iK(e,t,i)}catch(n){iQ(e,t,n)}}function iK(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){iJ(e,t,n)},function(n){return iQ(e,t,n)}):iJ(e,t,n)}function iJ(e,t,n){t.status="fulfilled",t.value=n,iZ(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,iY(e,n)))}function iQ(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do t.status="rejected",t.reason=n,iZ(t),t=t.next;while(t!==r)}e.action=null}function iZ(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function i0(e,t){return t}function i1(e,t){if(rX){var n=lR.formState;if(null!==n){t:{var r=ic;if(rX){if(rG){n:{for(var a=rG,i=rK;8!==a.nodeType;)if(!i||null===(a=cZ(a.nextSibling))){a=null;break n}a="F!"===(i=a.data)||"F"===i?a:null}if(a){rG=cZ(a.nextSibling),r="F!"===a.data;break t}}rQ(r)}r=!1}r&&(t=n[0])}}return(n=iI()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i0,lastRenderedState:t},n.queue=r,n=ow.bind(null,ic,r),r.dispatch=n,r=iV(!1),i=ok.bind(null,ic,!1,r.queue),r=iI(),a={state:t,dispatch:null,action:e,pending:null},r.queue=a,n=iX.bind(null,ic,a,i,n),a.dispatch=n,r.memoizedState=e,[t,n,!1]}function i2(e){return i3(iO(),id,e)}function i3(e,t,n){if(t=ij(e,t,i0)[0],e=i$(iD)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=iA(t)}catch(e){if(e===aT)throw aR;throw e}else r=t;var a=(t=iO()).queue,i=a.dispatch;return n!==t.memoizedState&&(ic.flags|=2048,i6(9,{destroy:void 0},i4.bind(null,a,n),null)),[r,i,e]}function i4(e,t){e.action=t}function i5(e){var t=iO(),n=id;if(null!==n)return i3(t,n,e);iO(),t=t.memoizedState;var r=(n=iO()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function i6(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=ic.updateQueue)&&(t=iN(),ic.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function i8(){return iO().memoizedState}function i7(e,t,n,r){var a=iI();ic.flags|=e,a.memoizedState=i6(1|t,{destroy:void 0},n,void 0===r?null:r)}function i9(e,t,n,r){var a=iO();r=void 0===r?null:r;var i=a.memoizedState.inst;null!==id&&null!==r&&iw(r,id.memoizedState.deps)?a.memoizedState=i6(t,i,n,r):(ic.flags|=e,a.memoizedState=i6(1|t,i,n,r))}function oe(e,t){i7(8390656,8,e,t)}function ot(e,t){i9(2048,8,e,t)}function on(e){var t=iO().memoizedState,n={ref:t,nextImpl:e};ic.flags|=4;var r=ic.updateQueue;if(null===r)r=iN(),ic.updateQueue=r,r.events=[n];else{var a=r.events;null===a?r.events=[n]:a.push(n)}return function(){if(0!=(2&lP))throw Error(l(440));return t.impl.apply(void 0,arguments)}}function or(e,t){return i9(4,2,e,t)}function oa(e,t){return i9(4,4,e,t)}function oi(e,t){if("function"==typeof t){var n=t(e=e());return function(){"function"==typeof n?n():t(null)}}if(null!=t)return t.current=e=e(),function(){t.current=null}}function oo(e,t,n){n=null!=n?n.concat([e]):null,i9(4,4,oi.bind(null,t,e),n)}function os(){}function ol(e,t){var n=iO();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&iw(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ou(e,t){var n=iO();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&iw(t,r[1])?r[0]:(n.memoizedState=[r=e(),t],r)}function oc(e,t,n){return void 0===n||0!=(0x40000000&iu)&&0==(261930&lI)?e.memoizedState=t:(e.memoizedState=n,e=ue(),ic.lanes|=e,lj|=e,n)}function od(e,t,n,r){return nU(n,t)?n:null!==a2.current?(nU(e=oc(e,n,r),t)||(oV=!0),e):0==(106&iu)||0!=(0x40000000&iu)&&0==(261930&lI)?(oV=!0,e.memoizedState=n):(e=ue(),ic.lanes|=e,lj|=e,t)}function of(e,t,n,r,a){var i=X.p;X.p=0!==i&&8>i?i:8;var o=G.T,s={};s.types=null!==o?o.types:null,G.T=s,ok(e,!1,t,n);try{var l=a(),u=G.S;if(null!==u&&u(s,l),null!==l&&"object"==typeof l&&"function"==typeof l.then){var c,d,f=(c=[],d={status:"pending",value:null,reason:null,then:function(e){c.push(e)}},l.then(function(){d.status="fulfilled",d.value=r;
527for(var e=0;e<c.length;e++)(0,c[e])(r)},function(e){for(d.status="rejected",d.reason=e,e=0;e<c.length;e++)(0,c[e])(void 0)}),d);oE(e,t,f,l9())}else oE(e,t,r,l9())}catch(n){oE(e,t,{then:function(){},status:"rejected",reason:n},l9())}finally{X.p=i,null!==o&&null!==s.types&&(o.types=s.types),G.T=o}}function op(){}function oh(e,t,n,r){if(5!==e.tag)throw Error(l(476));var a=om(e).queue;of(e,a,t,Y,null===n?op:function(){return og(e),n(r)})}function om(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:Y,baseState:Y,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:iD,lastRenderedState:Y},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:iD,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function og(e){var t=om(e);null===t.next&&(t=e.alternate.memoizedState),oE(e,t.next.queue,{},l9())}function oy(){return ai(dP)}function o_(){return iO().memoizedState}function ov(){return iO().memoizedState}function ob(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=l9(),r=aX(t,e=aG(n),n);null!==r&&(un(r,t,n),aY(r,t,n)),t={cache:af()},e.payload=t;return}t=t.return}}function oS(e,t,n){var r=l9();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},ox(e)?oT(t,n):null!==(n=rm(e,t,n,r))&&(un(n,e,r),oP(n,t,r))}function ow(e,t,n){oE(e,t,n,l9())}function oE(e,t,n,r){var a={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(ox(e))oT(t,a);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var o=t.lastRenderedState,s=i(o,n);if(a.hasEagerState=!0,a.eagerState=s,nU(s,o))return rh(e,t,a,0),null===lR&&rp(),!1}catch(e){}finally{}if(null!==(n=rm(e,t,a,r)))return un(n,e,r),oP(n,t,r),!0}return!1}function ok(e,t,n,r){if(r={lane:2,revertLane:uY(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},ox(e)){if(t)throw Error(l(479))}else null!==(t=rm(e,n,r,2))&&un(t,e,2)}function ox(e){var t=e.alternate;return e===ic||null!==t&&t===ic}function oT(e,t){im=ih=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function oP(e,t,n){if(0!=(4194048&n)){var r=t.lanes;r&=e.pendingLanes,t.lanes=n|=r,ez(e,n)}}var oR={readContext:ai,use:iM,useCallback:iS,useContext:iS,useEffect:iS,useImperativeHandle:iS,useLayoutEffect:iS,useInsertionEffect:iS,useMemo:iS,useReducer:iS,useRef:iS,useState:iS,useDebugValue:iS,useDeferredValue:iS,useTransition:iS,useSyncExternalStore:iS,useId:iS,useHostTransitionStatus:iS,useFormState:iS,useActionState:iS,useOptimistic:iS,useMemoCache:iS,useCacheRefresh:iS,useEffectEvent:iS},oC={readContext:ai,use:iM,useCallback:function(e,t){return iI().memoizedState=[e,void 0===t?null:t],e},useContext:ai,useEffect:oe,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,i7(4194308,4,oi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return i7(4194308,4,e,t)},useInsertionEffect:function(e,t){i7(4,2,e,t)},useMemo:function(e,t){var n=iI();t=void 0===t?null:t;var r=e();return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=iI();if(void 0!==n)var a=n(t);else a=t;return r.memoizedState=r.baseState=a,r.queue=e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:a},e=e.dispatch=oS.bind(null,ic,e),[r.memoizedState,e]},useRef:function(e){return iI().memoizedState={current:e}},useState:function(e){var t=(e=iV(e)).queue,n=ow.bind(null,ic,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:os,useDeferredValue:function(e,t){return oc(iI(),e,t)},useTransition:function(){var e=iV(!1);return e=of.bind(null,ic,e.queue,!0,!1),iI().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=ic,a=iI();if(rX){if(void 0===n)throw Error(l(407));n=n()}else{if(n=t(),null===lR)throw Error(l(349));0!=(127&lI)||iU(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,oe(iW.bind(null,r,i,e),[e]),r.flags|=2048,i6(9,{destroy:void 0},iB.bind(null,r,i,n,t),null),n},useId:function(){var e=iI(),t=lR.identifierPrefix;if(rX){var n=rz,r=rF;t="_"+t+"R_"+(n=(r&~(1<<32-eP(r)-1)).toString(32)+n),0<(n=iy++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=ib++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:oy,useFormState:i1,useActionState:i1,useOptimistic:function(e){var t=iI();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=ok.bind(null,ic,!0,n),n.dispatch=t,[e,t]},useMemoCache:iL,useCacheRefresh:function(){return iI().memoizedState=ob.bind(null,ic)},useEffectEvent:function(e){var t=iI(),n={impl:e};return t.memoizedState=n,function(){if(0!=(2&lP))throw Error(l(440));return n.impl.apply(void 0,arguments)}}},oI={readContext:ai,use:iM,useCallback:ol,useContext:ai,useEffect:ot,useImperativeHandle:oo,useInsertionEffect:or,useLayoutEffect:oa,useMemo:ou,useReducer:i$,useRef:i8,useState:function(){return i$(iD)}
vendor: 4,648 bytes, line 527
527,useDebugValue:os,useDeferredValue:function(e,t){return od(iO(),id.memoizedState,e,t)},useTransition:function(){var e=i$(iD)[0],t=iO().memoizedState;return["boolean"==typeof e?e:iA(e),t]},useSyncExternalStore:iz,useId:o_,useHostTransitionStatus:oy,useFormState:i2,useActionState:i2,useOptimistic:function(e,t){return iG(iO(),id,e,t)},useMemoCache:iL,useCacheRefresh:ov,useEffectEvent:on},oO={readContext:ai,use:iM,useCallback:ol,useContext:ai,useEffect:ot,useImperativeHandle:oo,useInsertionEffect:or,useLayoutEffect:oa,useMemo:ou,useReducer:iF,useRef:i8,useState:function(){return iF(iD)},useDebugValue:os,useDeferredValue:function(e,t){var n=iO();return null===id?oc(n,e,t):od(n,id.memoizedState,e,t)},useTransition:function(){var e=iF(iD)[0],t=iO().memoizedState;return["boolean"==typeof e?e:iA(e),t]},useSyncExternalStore:iz,useId:o_,useHostTransitionStatus:oy,useFormState:i5,useActionState:i5,useOptimistic:function(e,t){var n=iO();return null!==id?iG(n,id,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:iL,useCacheRefresh:ov,useEffectEvent:on};function oN(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:k({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var oA={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=l9(),a=aG(r);a.payload=t,null!=n&&(a.callback=n),null!==(t=aX(e,a,r))&&(un(t,e,r),aY(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=l9(),a=aG(r);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=aX(e,a,r))&&(un(t,e,r),aY(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=l9(),r=aG(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=aX(e,r,n))&&(un(t,e,n),aY(t,e,n))}};function oM(e,t,n,r,a,i,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,o):!t.prototype||!t.prototype.isPureReactComponent||!nB(n,r)||!nB(a,i)}function oL(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&oA.enqueueReplaceState(t,t.state,null)}function oD(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var a in n===t&&(n=k({},n)),e)void 0===n[a]&&(n[a]=e[a]);return n}function o$(e){ru(e)}function oj(e){console.error(e)}function oF(e){ru(e)}function oz(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function oU(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function oB(e,t,n){return(n=aG(n)).tag=3,n.payload={element:null},n.callback=function(){oz(e,t)},n}function oW(e){return(e=aG(e)).tag=3,e}function oH(e,t,n,r){var a=n.type.getDerivedStateFromError;if("function"==typeof a){var i=r.value;e.payload=function(){return a(i)},e.callback=function(){oU(t,n,r)}}var o=n.stateNode;null!==o&&"function"==typeof o.componentDidCatch&&(e.callback=function(){oU(t,n,r),"function"!=typeof a&&(null===lK?lK=new Set([this]):lK.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var oq=Error(l(461)),oV=!1;function oG(e,t,n,r){t.child=null===e?aW(t,null,n,r):aB(t,e.child,n,r)}function oX(e,t,n,r,a){n=n.render;var i=t.ref;if("ref"in r){var o={};for(var s in r)"ref"!==s&&(o[s]=r[s])}else o=r;return(aa(t),r=iE(e,t,n,o,i,a),s=iP(),null===e||oV)?(rX&&s&&rW(t),t.flags|=1,oG(e,t,r,a),t.child):(iR(e,t,a),sc(e,t,a))}function oY(e,t,n,r,a){if(null===e){var i=n.type;return"function"!=typeof i||rw(i)||void 0!==i.defaultProps||null!==n.compare?((e=rx(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,oK(e,t,i,r,a))}if(i=e.child,!sd(e,a)){var o=i.memoizedProps;if((n=null!==(n=n.compare)?n:nB)(o,r)&&e.ref===t.ref)return sc(e,t,a)}return t.flags|=1,(e=rE(i,r)).ref=t.ref,e.return=t,t.child=e}function oK(e,t,n,r,a){if(null!==e){var i=e.memoizedProps;if(nB(i,r)&&e.ref===t.ref)if(oV=!1,t.pendingProps=r=i,!sd(e,a))return t.lanes=e.lanes,sc(e,t,a);else 0!=(131072&e.flags)&&(oV=!0)}return o3(e,t,n,r,a)}function oJ(e,t,n,r){var a=r.children,i=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(0!=(128&t.flags)){if(i=null!==i?i.baseLanes|n:n,null!==e){for(r=t.child=e.child,a=0;null!==r;)a=a|r.lanes|r.childLanes,r=r.sibling;r=a&~i}else r=0,t.child=null;return oZ(e,t,i,n,r)}if(0==(0x20000000&n))return r=t.lanes=0x20000000,oZ(e,t,null!==i?i.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null}
527,null!==e&&ak(t,null!==i?i.cachePool:null),null!==i?a4(t,i):a5(),it(t)}else null!==i?(ak(t,i.cachePool),a4(t,i),ir(),t.memoizedState=null):(null!==e&&ak(t,null),a5(),ir());return oG(e,t,a,n),t.child}function oQ(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function oZ(e,t,n,r,a){var i=aE();return t.memoizedState={baseLanes:n,cachePool:i=null===i?null:{parent:ad._currentValue,pool:i}},null!==e&&ak(t,null),a5(),it(t),null!==e&&an(e,t,r,!0),t.childLanes=a,null}function o0(e,t){return(t=sn({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function o1(e,t,n){return aB(t,e.child,null,n),e=o0(t,t.pendingProps),e.flags|=2,ia(t),t.memoizedState=null,e}function o2(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(l(284));(null===e||e.ref!==n)&&(t.flags|=4194816)}}function o3(e,t,n,r,a){return(aa(t),n=iE(e,t,n,r,void 0,a),r=iP(),null===e||oV)?(rX&&r&&rW(t),t.flags|=1,oG(e,t,n,a),t.child):(iR(e,t,a),sc(e,t,a))}function o4(e,t,n,r,a,i){return(aa(t),t.updateQueue=null,n=ix(t,r,n,a),ik(e),r=iP(),null===e||oV)?(rX&&r&&rW(t),t.flags|=1,oG(e,t,n,i),t.child):(iR(e,t,i),sc(e,t,i))}function o5(e,t,n,r,a){if(aa(t),null===t.stateNode){var i=rv,o=n.contextType;"object"==typeof o&&null!==o&&(i=ai(o)),t.memoizedState=null!==(i=new n(r,i)).state&&void 0!==i.state?i.state:null,i.updater=oA,t.stateNode=i,i._reactInternals=t,(i=t.stateNode).props=r,i.state=t.memoizedState,i.refs={},aq(t),o=n.contextType,i.context="object"==typeof o&&null!==o?ai(o):rv,i.state=t.memoizedState,"function"==typeof(o=n.getDerivedStateFromProps)&&(oN(t,n,o,r),i.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(o=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),o!==i.state&&oA.enqueueReplaceState(i,i.state,null),aZ(t,r,i,a),aQ(),i.state=t.memoizedState),"function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){i=t.stateNode;var s=t.memoizedProps,l=oD(n,s);i.props=l;var u=i.context,c=n.contextType;o=rv,"object"==typeof c&&null!==c&&(o=ai(c));var d=n.getDerivedStateFromProps;c="function"==typeof d||"function"==typeof i.getSnapshotBeforeUpdate,s=t.pendingProps!==s,c||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s||u!==o)&&oL(t,i,r,o),aH=!1;var f=t.memoizedState;i.state=f,aZ(t,r,i,a),aQ(),u=t.memoizedState,s||f!==u||aH?("function"==typeof d&&(oN(t,n,d,r),u=t.memoizedState),(l=aH||oM(t,n,l,r,f,u,o))?(c||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=o,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,aV(e,t),c=oD(n,o=t.memoizedProps),i.props=c,d=t.pendingProps,f=i.context,u=n.contextType,l=rv,"object"==typeof u&&null!==u&&(l=ai(u)),(u="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(o!==d||f!==l)&&oL(t,i,r,l),aH=!1,f=t.memoizedState,i.state=f,aZ(t,r,i,a),aQ();var p=t.memoizedState;o!==d||f!==p||aH||null!==e&&null!==e.dependencies&&ar(e.dependencies)?("function"==typeof s&&(oN(t,n,s,r),p=t.memoizedState),(c=aH||oM(t,n,c,r,f,p,l)||null!==e&&null!==e.dependencies&&ar(e.dependencies))?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,p,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,p,l)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),i.props=r,i.state=p,i.context=l,r=c):("function"!=typeof i.componentDidUpdate||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return i=r,o2(e,t),r=0!=(128&t.flags),i||r?(i=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:i.render(),t.flags|=1,null!==e&&r?(t.child=aB(t,e.child,null,a),t.child=aB(t,null,n,a)):oG(e,t,n,a),t.memoizedState=i.state,e=t.child):e=sc(e,t,a),e}function o6(e,t,n,r){return r2(),t.flags|=256,oG(e,t,n,r),t.child}var o8={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function o7(e){return{baseLanes:e,cachePool:ax()}}function o9(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=lU),e}function se(e,t,n){var r,a=t.pendingProps,i=!1,o=0!=(128&t.flags);if((r=o)||(r=(null===e||null!==e.memoizedState)&&0!=(2&ii.current)),r&&(i=!0,t.flags&=-129),r=0!=(32&t.flags),t.flags&=-33,null===e){if(rX){if(i?a9(t):ir(),(e=rG)?null!==(e=null!==(e=cK(e,rK))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==rj?{id:rF,overflow:rz}:null,retryLane:0x20000000,hydrationErrors:null},(n=rR(e)).return=t,t.child=n,rV=t,rG=null):e=null,null===e)throw rQ(t);return cQ(e)?t.lanes=32:t.lanes=0x20000000,null}return(o=a.children,a=a.fallback,i)?(ir(),o=sn({mode:"hidden",children:o},i=t.mode),a=rT(a,i,n,null),o.return=t,a.return=t,o.sibling=a,t.child=o,(a=t.child).memoizedState=o7(n),a.childLanes=o9(e,r,n),t.memoizedState=o8,oQ(null,a)):(a9(t),st(t,o))}var s=e.memoizedState;if(null!==s){var u=s.dehydrated;if(null!==u){var c=e,d=t,f=o,p=r,h=a,m=u,g=s,y=n;
527if(f)return 256&d.flags?(a9(d),d.flags&=-257,sr(c,d,y)):null!==d.memoizedState?(ir(),d.child=c.child,d.flags|=128,null):(ir(),m=h.fallback,g=d.mode,h=sn({mode:"visible",children:h.children},g),m=rT(m,g,y,null),m.flags|=2,h.return=d,m.return=d,h.sibling=m,d.child=h,aB(d,c.child,null,y),(h=d.child).memoizedState=o7(y),h.childLanes=o9(c,p,y),d.memoizedState=o8,oQ(null,h));if(a9(d),cQ(m)){if(p=m.nextSibling&&m.nextSibling.dataset)var _=p.dgst;return""!==(p=_)&&((h=Error(l(419))).stack="",h.digest=p,r4({value:h,source:null,stack:null})),sr(c,d,y)}if(oV||an(c,d,y,!1),p=0!=(y&c.childLanes),oV||p){if(null!==a2.current)return sr(c,d,y);if(null!==(p=lR)&&0!==(h=eU(p,y))&&h!==g.retryLane)throw g.retryLane=h,rg(c,h),un(p,c,h),oq;return cJ(m)||up(),sr(c,d,y)}return cJ(m)?(d.flags|=192,d.child=c.child,null):(c=g.treeContext,rG=cZ(m.nextSibling),rV=d,rX=!0,rY=null,rK=!1,null!==c&&rq(d,c),d=st(d,h.children),d.flags|=0x8001000,d)}}return i?(ir(),i=a.fallback,o=t.mode,u=(s=e.child).sibling,(a=rE(s,{mode:"hidden",children:a.children})).subtreeFlags=0x47f00000&s.subtreeFlags,null!==u?i=rE(u,i):(i=rT(i,o,n,null),i.flags|=2),i.return=t,a.return=t,a.sibling=i,t.child=a,oQ(null,a),a=t.child,null===(i=e.child.memoizedState)?i=o7(n):(null!==(o=i.cachePool)?(s=ad._currentValue,o=o.parent!==s?{parent:s,pool:s}:o):o=ax(),i={baseLanes:i.baseLanes|n,cachePool:o}),a.memoizedState=i,a.childLanes=o9(e,r,n),t.memoizedState=o8,oQ(e.child,a)):(a9(t),e=(n=e.child).sibling,(n=rE(n,{mode:"visible",children:a.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function st(e,t){return(t=sn({mode:"visible",children:t},e.mode)).return=e,e.child=t}function sn(e,t){return(e=rS(22,e,null,t)).lanes=0,e}function sr(e,t,n){return aB(t,e.child,null,n),e=st(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function sa(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ae(e.return,t,n)}function si(e){for(var t=null;null!==e;){var n=e.alternate;null!==n&&null===il(n)&&(t=e),e=e.sibling}return t}function so(e,t,n,r,a,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a,treeForkCount:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a,o.treeForkCount=i)}function ss(e){var t=e.child;for(e.child=null;null!==t;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function sl(e,t,n){var r=t.pendingProps,a=r.revealOrder,i=r.tail;r=r.children;var o=ii.current;if(128&t.flags)return io(t,o),null;var s=0!=(2&o);if(s?(o=1&o|2,t.flags|=128):o&=1,io(t,o),"backwards"===a&&null!==e?(ss(e),oG(e,t,r,n),ss(e)):oG(e,t,r,n),r=rX?rL:0,!s&&null!==e&&0!=(128&e.flags))t:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&sa(e,n,t);else if(19===e.tag)sa(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break t;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(a){case"backwards":null===(n=si(t.child))?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null,ss(t)),so(t,!0,a,null,i,r);break;case"unstable_legacy-backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===il(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}so(t,!0,n,null,i,r);break;case"together":so(t,!1,null,null,void 0,r);break;case"independent":t.memoizedState=null;break;default:null===(n=si(t.child))?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),so(t,!1,a,n,i,r)}return t.child}function su(e,t,n){var r=t.pendingProps;return r7(t,t.type,r.value),oG(e,t,r.children,n),t.child}function sc(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),lj|=t.lanes,0==(n&t.childLanes)){if(null===e)return null;else if(an(e,t,n,!1),0==(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(l(153));if(null!==t.child){for(n=rE(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=rE(e,e.pendingProps)).return=t;n.sibling=null}return t.child}
527function sd(e,t){return 0!=(e.lanes&t)||!!(null!==(e=e.dependencies)&&ar(e))}function sf(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)oV=!0;else{if(!sd(e,n)&&0==(128&t.flags))return oV=!1,function(e,t,n){switch(t.tag){case 3:ei(t,t.stateNode.containerInfo),r7(t,ad,e.memoizedState.cache),r2();break;case 27:case 5:es(t);break;case 4:ei(t,t.stateNode.containerInfo);break;case 10:r7(t,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,ie(t),null;break;case 13:var r=t.memoizedState;if(null!==r){if(null!==r.dehydrated)return a9(t),t.flags|=128,null;r=an(e,t,n,!1);var a=t.child.childLanes;if(r||0!=(n&a))return se(e,t,n);return a9(t),null!==(e=sc(e,t,n))?e.sibling:null}a9(t);break;case 19:if(128&t.flags)return sl(e,t,n);if(a=0!=(128&e.flags),(r=0!=(n&t.childLanes))||(an(e,t,n,!1),r=0!=(n&t.childLanes)),a){if(r)return sl(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),io(t,ii.current),!r)return null;break;case 22:return t.lanes=0,oJ(e,t,n,t.pendingProps);case 24:r7(t,ad,e.memoizedState.cache)}return sc(e,t,n)}(e,t,n);oV=0!=(131072&e.flags)}else oV=!1,rX&&0!=(1048576&t.flags)&&rB(t,rL,t.index);switch(t.lanes=0,t.tag){case 16:t:{var r=t.pendingProps;if(e=aN(t.elementType),t.type=e,"function"==typeof e)rw(e)?(r=oD(e,r),t.tag=1,t=o5(null,t,e,r,n)):(t.tag=0,t=o3(null,t,e,r,n));else{if(null!=e){var a=e.$$typeof;if(a===A){t.tag=11,t=oX(null,t,e,r,n);break t}if(a===D){t.tag=14,t=oY(null,t,e,r,n);break t}if(a===N){t.tag=10,t.type=e,t=su(null,t,n);break t}}throw Error(l(306,t=function e(t){if(null==t)return null;if("function"==typeof t)return t.$$typeof===q?null:t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case R:return"Fragment";case I:return"Profiler";case C:return"StrictMode";case M:return"Suspense";case L:return"SuspenseList";case j:return"Activity";case U:return"ViewTransition"}if("object"==typeof t)switch(t.$$typeof){case P:return"Portal";case N:return t.displayName||"Context";case O:return(t._context.displayName||"Context")+".Consumer";case A:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case D:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case $:n=t._payload,t=t._init;try{return e(t(n))}catch(e){}}return null}(e)||e,""))}}return t;case 0:return o3(e,t,t.type,t.pendingProps,n);case 1:return a=oD(r=t.type,t.pendingProps),o5(e,t,r,a,n);case 3:t:{if(ei(t,t.stateNode.containerInfo),null===e)throw Error(l(387));r=t.pendingProps;var i=t.memoizedState;a=i.element,aV(e,t),aZ(t,r,null,n);var o=t.memoizedState;if(r7(t,ad,r=o.cache),r!==i.cache&&at(t,[ad],n,!0),aQ(),r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=o6(e,t,r,n);break t}else if(r!==a){r4(a=rO(Error(l(424)),t)),t=o6(e,t,r,n);break t}else for(rG=cZ((e=9===(e=t.stateNode.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e).firstChild),rV=t,rX=!0,rY=null,rK=!0,n=aW(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|0x8001000,n=n.sibling;else{if(r2(),r===a){t=sc(e,t,n);break t}oG(e,t,r,n)}t=t.child}return t;case 26:return o2(e,t),null===e?(n=dn(t.type,null,t.pendingProps,null))?t.memoizedState=n:rX||(n=t.type,e=t.pendingProps,(r=cp(er.current).createElement(n))[eG]=t,r[eX]=e,cl(r,n,e),e8(r),t.stateNode=r):t.memoizedState=dn(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return es(t),null===e&&rX&&(r=t.stateNode=c3(t.type,t.pendingProps,er.current),rV=t,rK=!0,a=rG,cE(t.type)?(c0=a,rG=cZ(r.firstChild)):rG=a),oG(e,t,t.pendingProps.children,n),o2(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&rX&&((a=r=rG)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[e0])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(a=e.getAttribute("rel"))&&e.hasAttribute("data-precedence")||a!==n.rel||e.getAttribute("href")!==(null==n.href||""===n.href?null:n.href)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin)||e.getAttribute("title")!==(null==n.title?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((a=e.getAttribute("src"))!==(null==n.src?null:n.src)||e.getAttribute("type")!==(null==n.type?null:n.type)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}
527else{if("input"!==t||"hidden"!==e.type)return e;var a=null==n.name?null:""+n.name;if("hidden"===n.type&&e.getAttribute("name")===a)return e}if(null===(e=cZ(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,rK))?(t.stateNode=r,rV=t,rG=cZ(r.firstChild),rK=!1,a=!0):a=!1),a||rQ(t)),es(t),a=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,r=i.children,cg(a,i)?r=null:null!==o&&cg(a,o)&&(t.flags|=32),null!==t.memoizedState&&(dP._currentValue=a=iE(e,t,iT,null,null,n)),o2(e,t),oG(e,t,r,n),t.child;case 6:return null===e&&rX&&((e=n=rG)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n||null===(e=cZ(e.nextSibling)))return null;return e}(n,t.pendingProps,rK))?(t.stateNode=n,rV=t,rG=null,e=!0):e=!1),e||rQ(t)),null;case 13:return se(e,t,n);case 4:return ei(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=aB(t,null,r,n):oG(e,t,r,n),t.child;case 11:return oX(e,t,t.type,t.pendingProps,n);case 7:return r=t.pendingProps,o2(e,t),oG(e,t,r,n),t.child;case 8:case 12:return oG(e,t,t.pendingProps.children,n),t.child;case 10:return su(e,t,n);case 9:return a=t.type._context,r=t.pendingProps.children,aa(t),r=r(a=ai(a)),t.flags|=1,oG(e,t,r,n),t.child;case 14:return oY(e,t,t.type,t.pendingProps,n);case 15:return oK(e,t,t.type,t.pendingProps,n);case 19:return sl(e,t,n);case 31:var s=e,u=t,c=n,d=u.pendingProps,f=0!=(128&u.flags);if(u.flags&=-129,null===s){if(rX){if("hidden"===d.mode)return s=o0(u,d),u.lanes=0x20000000,oQ(null,s);if(ie(u),(s=rG)?null!==(s=null!==(s=cK(s,rK))&&"&"===s.data?s:null)&&(u.memoizedState={dehydrated:s,treeContext:null!==rj?{id:rF,overflow:rz}:null,retryLane:0x20000000,hydrationErrors:null},(c=rR(s)).return=u,u.child=c,rV=u,rG=null):s=null,null===s)throw rQ(u);return u.lanes=0x20000000,null}return o0(u,d)}var p=s.memoizedState;if(null!==p){var h=p.dehydrated;if(ie(u),f)if(256&u.flags)u.flags&=-257,u=o1(s,u,c);else if(null!==u.memoizedState)u.child=s.child,u.flags|=128,u=null;else throw Error(l(558));else if(oV||an(s,u,c,!1),f=0!=(c&s.childLanes),oV||f){if(null===a2.current){if(null!==(d=lR)&&0!==(h=eU(d,c))&&h!==p.retryLane)throw p.retryLane=h,rg(s,h),un(d,s,h),oq;up()}u=o1(s,u,c)}else s=p.treeContext,rG=cZ(h.nextSibling),rV=u,rX=!0,rY=null,rK=!1,null!==s&&rq(u,s),u=o0(u,d),u.flags|=0x8001000;return u}return(s=rE(s.child,{mode:d.mode,children:d.children})).ref=u.ref,u.child=s,s.return=u,s;case 22:return oJ(e,t,n,t.pendingProps);case 24:return aa(t),r=ai(ad),null===e?(null===(a=aE())&&(a=lR,i=af(),a.pooledCache=i,i.refCount++,null!==i&&(a.pooledCacheLanes|=n),a=i),t.memoizedState={parent:r,cache:a},aq(t),r7(t,ad,a)):(0!=(e.lanes&n)&&(aV(e,t),aZ(t,null,null,n),aQ()),a=e.memoizedState,i=t.memoizedState,a.parent!==r?(a={parent:r,cache:r},t.memoizedState=a,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=a),r7(t,ad,r)):(r7(t,ad,r=i.cache),r!==a.cache&&at(t,[ad],n,!0))),oG(e,t,t.pendingProps.children,n),t.child;case 30:return null===t.stateNode&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),null!=(r=t.pendingProps).name&&"auto"!==r.name?t.flags|=null===e?0x1202000:0x1200000:rX&&rW(t),null!==e&&e.memoizedProps.name!==r.name?t.flags|=4194816:o2(e,t),oG(e,t,r.children,n),t.child;case 29:throw t.pendingProps}throw Error(l(156,t.tag))}function sp(e){e.flags|=4}function sh(e,t,n,r,a){var i;if((i=0!=(32&e.mode))&&(i=null===n?dg(t,r):dg(t,r)&&(r.src!==n.src||r.srcSet!==n.srcSet)),i){if(e.flags|=0x1000000,(0x13ffff40&a)===a)if(e.stateNode.complete)e.flags|=8192;else if(uc())e.flags|=8192;else throw aA=aC,aP}else e.flags&=-0x1000001}function sm(e,t){if("stylesheet"!==t.type||0!=(4&t.state.loading))e.flags&=-0x1000001;else if(e.flags|=0x1000000,!dy(t))if(uc())e.flags|=8192;else throw aA=aC,aP}function sg(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?eD():0x20000000,e.lanes|=t,lB|=t)}function sy(e,t){if(!rX)switch(e.tailMode){case"visible":break;case"collapsed":for(var n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null;break;default:for(t=e.tail,n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null}}function s_(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=0x47f00000&a.subtreeFlags,r|=0x47f00000&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function sv(e,t){switch(rH(t),t.tag){case 3:r9(ad),eo();break;case 26:case 27:case 5:el(t);break;case 4:eo();break;case 31:null!==t.memoizedState&&ia(t);break;case 13:ia(t);break;case 19:is(t);break;case 10:r9(t.type);break;case 22:case 23:ia(t),a6(),null!==e&&Z(aw);break;case 24:r9(ad)}}
527function sb(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var a=r.next;n=a;do{if((n.tag&e)===e){r=void 0;var i=n.create;n.inst.destroy=r=i()}n=n.next}while(n!==a)}}catch(e){uI(t,t.return,e)}}function sS(e,t,n){try{var r=t.updateQueue,a=null!==r?r.lastEffect:null;if(null!==a){var i=a.next;r=i;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(void 0!==s){o.destroy=void 0,a=t;try{s()}catch(e){uI(a,n,e)}}}r=r.next}while(r!==i)}}catch(e){uI(t,t.return,e)}}function sw(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{a1(t,n)}catch(t){uI(e,e.return,t)}}}function sE(e,t,n){n.props=oD(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){uI(e,t,n)}}function sk(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var a=e.stateNode,i=ro(e.memoizedProps,a);(null===a.ref||a.ref.name!==i)&&(a.ref=cA(i)),r=a.ref;break;case 7:if(null===e.stateNode){var o=new cM(e);h(e.child,!1,cV,o,void 0,void 0),e.stateNode=o}r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(n){uI(e,t,n)}}function sx(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(n){uI(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(n){uI(e,t,n)}else n.current=null}function sT(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){uI(e,e.return,t)}}function sP(e,t,n){try{var r=e.stateNode;(function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,i=null,o=null,s=null,u=null,c=null,d=null;for(h in n){var f=n[h];if(n.hasOwnProperty(h)&&null!=f)switch(h){case"checked":case"value":break;case"defaultValue":u=f;default:r.hasOwnProperty(h)||co(e,t,h,null,r,f)}}for(var p in r){var h=r[p];if(f=n[p],r.hasOwnProperty(p)&&(null!=h||null!=f))switch(p){case"type":h!==f&&(to=!0),i=h;break;case"name":h!==f&&(to=!0),a=h;break;case"checked":h!==f&&(to=!0),c=h;break;case"defaultChecked":h!==f&&(to=!0),d=h;break;case"value":h!==f&&(to=!0),o=h;break;case"defaultValue":h!==f&&(to=!0),s=h;break;case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(l(137,t));break;default:h!==f&&co(e,t,p,h,r,f)}}ty(e,o,s,u,c,d,i,a);return;case"select":for(i in h=o=s=p=null,n)if(u=n[i],n.hasOwnProperty(i)&&null!=u)switch(i){case"value":break;case"multiple":h=u;default:r.hasOwnProperty(i)||co(e,t,i,null,r,u)}for(a in r)if(i=r[a],u=n[a],r.hasOwnProperty(a)&&(null!=i||null!=u))switch(a){case"value":i!==u&&(to=!0),p=i;break;case"defaultValue":i!==u&&(to=!0),s=i;break;case"multiple":i!==u&&(to=!0),o=i;default:i!==u&&co(e,t,a,i,r,u)}t=s,n=o,r=h,null!=p?tb(e,!!n,p,!1):!!r!=!!n&&(null!=t?tb(e,!!n,t,!0):tb(e,!!n,n?[]:"",!1));return;case"textarea":for(s in h=p=null,n)if(a=n[s],n.hasOwnProperty(s)&&null!=a&&!r.hasOwnProperty(s))switch(s){case"value":case"children":break;default:co(e,t,s,null,r,a)}for(o in r)if(a=r[o],i=n[o],r.hasOwnProperty(o)&&(null!=a||null!=i))switch(o){case"value":a!==i&&(to=!0),p=a;break;case"defaultValue":a!==i&&(to=!0),h=a;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=a)throw Error(l(91));break;default:a!==i&&co(e,t,o,a,r,i)}tS(e,p,h);return;case"option":for(var m in n)p=n[m],n.hasOwnProperty(m)&&null!=p&&!r.hasOwnProperty(m)&&("selected"===m?e.selected=!1:co(e,t,m,null,r,p));for(u in r)p=r[u],h=n[u],r.hasOwnProperty(u)&&p!==h&&(null!=p||null!=h)&&("selected"===u?(p!==h&&(to=!0),e.selected=p&&"function"!=typeof p&&"symbol"!=typeof p):co(e,t,u,p,r,h));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)p=n[g],n.hasOwnProperty(g)&&null!=p&&!r.hasOwnProperty(g)&&co(e,t,g,null,r,p);for(c in r)if(p=r[c],h=n[c],r.hasOwnProperty(c)&&p!==h&&(null!=p||null!=h))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(l(137,t));break;default:co(e,t,c,p,r,h)}return;default:if(tP(t)){for(var y in n)p=n[y],n.hasOwnProperty(y)&&void 0!==p&&!r.hasOwnProperty(y)&&cs(e,t,y,void 0,r,p);
527for(d in r)p=r[d],h=n[d],r.hasOwnProperty(d)&&p!==h&&(void 0!==p||void 0!==h)&&cs(e,t,d,p,r,h);return}}for(var _ in n)p=n[_],n.hasOwnProperty(_)&&null!=p&&!r.hasOwnProperty(_)&&co(e,t,_,null,r,p);for(f in r)p=r[f],h=n[f],r.hasOwnProperty(f)&&p!==h&&(null!=p||null!=h)&&co(e,t,f,p,r,h)})(r,e.type,n,t),r[eX]=t}catch(t){uI(e,e.return,t)}}function sR(e,t){if((5===e.tag||6===e.tag)&&null===e.alternate&&null!==t)for(var n=0;n<t.length;n++)cX(e.stateNode,t[n])}function sC(e){for(var t=e.return;null!==t;){if(sO(t)){var n=t.stateNode,r=e.stateNode;if(3!==r.nodeType){var a=n._eventListeners;if(null!==a)for(var i=0;i<a.length;i++){var o=a[i];r.removeEventListener(o.type,o.listener,o.optionsOrUseCapture)}null!=r.reactFragments&&r.reactFragments.delete(n)}}if(sI(t))break;t=t.return}}function sI(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&cE(e.type)||4===e.tag}function sO(e){return e&&7===e.tag&&null!==e.stateNode}function sN(e){t:for(;;){for(;null===e.sibling;){if(null===e.return||sI(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&cE(e.type)||2&e.flags||null===e.child||4===e.tag)continue t;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function sA(e,t,n,r){var a=e.tag;if(5===a||6===a)a=e.stateNode,t?n.insertBefore(a,t):n.appendChild(a),sR(e,r),to=!0;else if(4!==a&&(27===a&&cE(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(sA(e,t,n,r),e=e.sibling;null!==e;)sA(e,t,n,r),e=e.sibling}function sM(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,a=t.attributes;a.length;)t.removeAttributeNode(a[0]);cl(t,r,n),t[eG]=e,t[eX]=n}catch(t){uI(e,e.return,t)}}var sL=!1,sD=null;function s$(e){(30===e.tag||0!=(0x2000000&e.subtreeFlags))&&(sL=!0)}var sj=null;function sF(){var e=sj;return sj=null,e}var sz=0;function sU(e,t,n,r,a){return sz=0,function e(t,n,r,a,i){for(var o=!1;null!==t;){if(5===t.tag){var s=t.stateNode;if(null!==a){var l=cC(s);a.push(l),l.view&&(o=!0)}else o||cC(s).view&&(o=!0);sL=!0,cT(s,0===sz?n:n+"_"+sz,r),sz++}else(22!==t.tag||null===t.memoizedState)&&(30===t.tag&&i||e(t.child,n,r,a,i)&&(o=!0));t=t.sibling}return o}(e.child,t,n,r,a)}function sB(e,t){for(;null!==e;)5===e.tag?cP(e.stateNode,e.memoizedProps):(22!==e.tag||null===e.memoizedState)&&(30===e.tag&&t||sB(e.child,t)),e=e.sibling}function sW(e){if(0!=(0x1200000&e.subtreeFlags))for(e=e.child;null!==e;){if((22!==e.tag||null===e.memoizedState)&&(sW(e),30===e.tag&&0!=(0x1200000&e.flags)&&e.stateNode.paired)){var t=e.memoizedProps;if(null==t.name||"auto"===t.name)throw Error(l(544));var n=t.name;"none"!==(t=rl(t.default,t.share))&&(sU(e,n,t,null,!1)||sB(e.child,!1))}e=e.sibling}}function sH(e,t){if(30===e.tag){var n=e.stateNode,r=e.memoizedProps,a=ro(r,n),i=rl(r.default,n.paired?r.share:r.enter);"none"!==i?sU(e,a,i,null,!1)?(sW(e),n.paired||t||ut(e,r.onEnter)):sB(e.child,!1):sW(e)}else if(0!=(0x2000000&e.subtreeFlags))for(e=e.child;null!==e;)sH(e,t),e=e.sibling;else sW(e)}function sq(e){if(null!==sD&&0!==sD.size){var t=sD;if(0!=(0x1200000&e.subtreeFlags))for(e=e.child;null!==e;){if(22!==e.tag||null===e.memoizedState){if(30===e.tag&&0!=(0x1200000&e.flags)){var n=e.memoizedProps,r=n.name;if(null!=r&&"auto"!==r){var a=t.get(r);if(void 0!==a){var i=rl(n.default,n.share);if("none"!==i&&(sU(e,r,i,null,!1)?(a.paired=i=e.stateNode,i.paired=a,ut(e,n.onShare)):sB(e.child,!1)),t.delete(r),0===t.size)break}}}sq(e)}e=e.sibling}}}function sV(e){if(30===e.tag){var t=e.memoizedProps,n=ro(t,e.stateNode),r=null!==sD?sD.get(n):void 0,a=rl(t.default,void 0!==r?t.share:t.exit);"none"!==a&&(sU(e,n,a,null,!1)?void 0!==r?(r.paired=a=e.stateNode,a.paired=r,sD.delete(n),ut(e,t.onShare)):ut(e,t.onExit):sB(e.child,!1)),null!==sD&&sq(e)}else if(0!=(0x2000000&e.subtreeFlags))for(e=e.child;null!==e;)sV(e),e=e.sibling;else null!==sD&&sq(e)}function sG(e){if(0!=(0x1200000&e.subtreeFlags))for(e=e.child;null!==e;){if(22!==e.tag||null===e.memoizedState){if(30===e.tag&&0!=(0x1200000&e.flags)){var t=e.stateNode;null!==t.paired&&(t.paired=null,sB(e.child,!1))}sG(e)}e=e.sibling}}function sX(e){if(30===e.tag)e.stateNode.paired=null,sB(e.child,!1),sG(e);else if(0!=(0x2000000&e.subtreeFlags))for(e=e.child;null!==e;)sX(e),e=e.sibling;else sG(e)}function sY(e,t,n,r,a,i,o){for(var s=!1;null!==t;){if(5===t.tag){var l=t.stateNode;if(null!==i&&sz<i.length){var u,c=i[sz],d=cC(l);if((c.view||d.view)&&(s=!0),u=0==(4&e.flags))if(d.clip)u=!0;else{u=c.rect;var f=d.rect;u=u.y!==f.y||u.x!==f.x||u.height!==f.height||u.width!==f.width}u&&(e.flags|=4),d.abs?d=!c.abs:(c=c.rect,d=d.rect,d=c.height!==d.height||c.width!==d.width),d&&(e.flags|=32)}else e.flags|=32;0!=(4&e.flags)&&cT(l,0===sz?n:n+"_"+sz,a),s&&0!=(4&e.flags)||(null===sj&&(sj=[]),sj.push(l,0===sz?r:r+"_"+sz,t.memoizedProps)),sz++}else(22!==t.tag||null===t.memoizedState)&&(30===t.tag&&o?e.flags|=32&t.flags:sY(e,t.child,n,r,a,i,o)&&(s=!0));t=t.sibling}return s}var sK=!1,sJ=!1,sQ=!1,sZ=!1,s0="function"==typeof WeakSet?WeakSet:Set,s1=null,s2=!1,s3=!1,s4=!1,s5=!1;function s6(e){for(;null!==s1;){var t=s1,n=e,r=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(0!=(1024&a)&&null!==r){n=void 0,a=r.memoizedProps,r=r.memoizedState;var i=t.stateNode;try{var o=oD(t.type,a);n=i.getSnapshotBeforeUpdate(o,r),i.__reactInternalSnapshotBeforeUpdate=n}catch(e){uI(t,t.return,e)}}break;
527case 3:if(0!=(1024&a)){if(9===(n=(r=t.stateNode.containerInfo).nodeType))cY(r);else if(1===n)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":cY(r);break;default:r.textContent=""}}break;case 30:n&&null!==r&&(n=ro(r.memoizedProps,r.stateNode),"none"!==(a=rl((a=t.memoizedProps).default,a.update))&&sU(r,n,a,r.memoizedState=[],!0));break;default:if(0!=(1024&a))throw Error(l(163))}if(null!==(r=t.sibling)){r.return=t.return,s1=r;break}s1=t.return}}function s8(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:lf(e,n),4&r&&sb(5,n);break;case 1:if(lf(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(e){uI(n,n.return,e)}else{var a=oD(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(a,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){uI(n,n.return,e)}}64&r&&sw(n),512&r&&sk(n,n.return);break;case 3:if(lf(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{a1(e,t)}catch(e){uI(n,n.return,e)}}break;case 27:null===t&&4&r&&sM(n);case 26:case 5:lf(e,n),null===t&&4&r&&sT(n),512&r&&sk(n,n.return);break;case 12:lf(e,n);break;case 31:lf(e,n),4&r&&lr(e,n);break;case 13:lf(e,n),4&r&&la(e,n),64&r&&null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=uM.bind(null,n));break;case 22:if(!(r=null!==n.memoizedState||sK)){var i=null!==t&&null!==t.memoizedState||sJ;t=sK,a=sJ,sK=r,(sJ=i)&&!a?(r=2,0!=(8772&n.subtreeFlags)&&(r|=1),function e(t,n,r){for(r=0!=(8772&n.subtreeFlags)?r:-2&r,n=n.child;null!==n;){var a=n.alternate,i=t,o=n,s=o.flags,l=0!=(1&r);switch(o.tag){case 0:case 11:case 15:e(i,o,r),sb(4,o);break;case 1:if(e(i,o,r),"function"==typeof(i=(a=o).stateNode).componentDidMount)try{i.componentDidMount()}catch(e){uI(a,a.return,e)}if(null!==(i=(a=o).updateQueue)){var u=a.stateNode;try{var c=i.shared.hiddenCallbacks;if(null!==c)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)a0(c[i],u)}catch(e){uI(a,a.return,e)}}l&&64&s&&sw(o),sk(o,o.return);break;case 27:0!=(2&r)&&sM(o);case 26:case 5:if(5===o.tag){u=o;for(var d=u.return;null!==d&&(sO(d)&&cX(u.stateNode,d.stateNode),!sI(d));)d=d.return}e(i,o,r),l&&null===a&&4&s&&sT(o),sk(o,o.return);break;case 12:e(i,o,r);break;case 31:e(i,o,r),l&&4&s&&lr(i,o);break;case 13:e(i,o,r),l&&4&s&&la(i,o);break;case 22:null===o.memoizedState&&e(i,o,r),sk(o,o.return);break;case 30:e(i,o,r),sk(o,o.return);break;case 7:sk(o,o.return);default:e(i,o,r)}n=n.sibling}}(e,n,r)):lf(e,n),sK=t,sJ=a}break;case 30:lf(e,n),512&r&&sk(n,n.return);break;case 7:512&r&&sk(n,n.return);default:lf(e,n)}}function s7(e,t){for(e=e.child;null!==e;)(function e(t,n){switch(t.tag){case 5:case 26:try{var r=t.stateNode;if(n){var a=r.style;"function"==typeof a.setProperty?a.setProperty("display","none","important"):a.display="none"}else{var i=t.stateNode,o=t.memoizedProps.style,s=null!=o&&o.hasOwnProperty("display")?o.display:null;i.style.display=null==s||"boolean"==typeof s?"":(""+s).trim()}}catch(e){uI(t,t.return,e)}!function t(n,r){if(0x4000000&n.subtreeFlags)for(n=n.child;null!==n;){t:{var a=n;switch(a.tag){case 4:e(a,r);break t;case 22:null===a.memoizedState&&t(a,r);break t;default:t(a,r)}}n=n.sibling}}(t,n);break;case 6:try{t.stateNode.nodeValue=n?"":t.memoizedProps,to=!0}catch(e){uI(t,t.return,e)}break;case 18:try{var l=t.stateNode;n?cx(l,!0):cx(t.stateNode,!1)}catch(e){uI(t,t.return,e)}break;case 22:case 23:null===t.memoizedState&&s7(t,n);break;default:s7(t,n)}})(e,t),e=e.sibling}var s9=null,le=!1;function lt(e,t,n){for(n=n.child;null!==n;)ln(e,t,n),n=n.sibling}
527function ln(e,t,n){if(eT&&"function"==typeof eT.onCommitFiberUnmount)try{eT.onCommitFiberUnmount(ex,n)}catch(e){}switch(n.tag){case 26:sJ||sx(n,t),lt(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:sJ||sx(n,t);var r=s9,a=le;cE(n.type)&&(s9=n.stateNode,le=!1),lt(e,t,n),c4(n.stateNode,n.type,n.memoizedProps),s9=r,le=a;break;case 5:sJ||sx(n,t),5!==n.tag&&6!==n.tag||sC(n);case 6:if(r=s9,a=le,s9=null,lt(e,t,n),s9=r,le=a,null!==s9)if(le)try{(9===s9.nodeType?s9.body:"HTML"===s9.nodeName?s9.ownerDocument.body:s9).removeChild(n.stateNode),to=!0}catch(e){uI(n,t,e)}else try{s9.removeChild(n.stateNode),to=!0}catch(e){uI(n,t,e)}break;case 18:null!==s9&&(le?(ck(9===(e=s9).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),d6(e)):ck(s9,n.stateNode));break;case 4:r=s9,a=le,s9=n.stateNode.containerInfo,le=!0,lt(e,t,n),s9=r,le=a;break;case 0:case 11:case 14:case 15:sS(2,n,t),sJ||sS(4,n,t),lt(e,t,n);break;case 1:sJ||(sx(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&sE(n,t,r)),lt(e,t,n);break;case 21:default:lt(e,t,n);break;case 22:sJ=(r=sJ)||null!==n.memoizedState,lt(e,t,n),sJ=r;break;case 30:sx(n,t),lt(e,t,n);break;case 7:sJ||sx(n,t),lt(e,t,n)}}function lr(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)){e=e.dehydrated;try{d6(e)}catch(e){uI(t,t.return,e)}}}function la(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{d6(e)}catch(e){uI(t,t.return,e)}}function li(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new s0),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new s0),t;default:throw Error(l(435,e.tag))}}(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=uL.bind(null,e,t);t.then(r,r)}})}function lo(e,t,n){var r=t.deletions;if(null!==r)for(var a=0;a<r.length;a++){var i=r[a],o=e,s=t,u=s;t:for(;null!==u;){switch(u.tag){case 27:if(cE(u.type)){s9=u.stateNode,le=!1;break t}break;case 5:s9=u.stateNode,le=!1;break t;case 3:case 4:s9=u.stateNode.containerInfo,le=!0;break t}u=u.return}if(null===s9)throw Error(l(160));ln(o,s,i),s9=null,le=!1,null!==(o=i.alternate)&&(o.return=null),i.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)ll(t,e,n),t=t.sibling}var ls=null;function ll(e,t,n){var r=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(4&a&&null!==(r=null!==(r=e.updateQueue)?r.events:null))for(var i=0;i<r.length;i++){var o=r[i];o.ref.impl=o.nextImpl}lo(t,e,n),lu(e),4&a&&(sS(3,e,e.return),sb(3,e),sS(5,e,e.return));break;case 1:lo(t,e,n),lu(e),512&a&&(sJ||null===r||sx(r,r.return)),64&a&&sK&&null!==(e=e.updateQueue)&&null!==(t=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?t:n.concat(t));break;case 26:if(i=ls,lo(t,e,n),lu(e),512&a&&(sJ||null===r||sx(r,r.return)),4&a)if(n=null!==r?r.memoizedState:null,t=e.memoizedState,null===r)if(null===t)if(null===e.stateNode){t:{t=e.type,n=e.memoizedProps,r=i.ownerDocument||i;n:switch(t){case"title":(!(a=r.getElementsByTagName("title")[0])||a[e0]||a[eG]||"http://www.w3.org/2000/svg"===a.namespaceURI||a.hasAttribute("itemprop"))&&(a=r.createElement(t),r.head.insertBefore(a,r.querySelector("head > title"))),cl(a,t,n),a[eG]=e,e8(a),t=a;break t;case"link":if(i=dh("link","href",r).get(t+(n.href||""))){for(o=0;o<i.length;o++)if((a=i[o]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&a.getAttribute("rel")===(null==n.rel?null:n.rel)&&a.getAttribute("title")===(null==n.title?null:n.title)&&a.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){i.splice(o,1);break n}}cl(a=r.createElement(t),t,n),r.head.appendChild(a);break;case"meta":if(i=dh("meta","content",r).get(t+(n.content||""))){for(o=0;o<i.length;o++)if((a=i[o]).getAttribute("content")===(null==n.content?null:""+n.content)&&a.getAttribute("name")===(null==n.name?null:n.name)&&a.getAttribute("property")===(null==n.property?null:n.property)&&a.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&a.getAttribute("charset")===(null==n.charSet?null:n.charSet)){i.splice(o,1);break n}}cl(a=r.createElement(t),t,n),r.head.appendChild(a);break;default:throw Error(l(468,t))}a[eG]=e,e8(a),t=a}e.stateNode=t}else dm(i,e.type,e.stateNode);else e.stateNode=du(i,t,e.memoizedProps);else n!==t?(null===n?null!==r.stateNode&&(n=r.stateNode).parentNode.removeChild(n):n.count--,null===t?dm(i,e.type,e.stateNode):du(i,t,e.memoizedProps)):null===t&&null!==e.stateNode&&sP(e,e.memoizedProps,r.memoizedProps);break;case 27:lo(t,e,n),lu(e),512&a&&(sJ||null===r||sx(r,r.return)),null!==r&&4&a&&sP(e,e.memoizedProps,r.memoizedProps);break;case 5:if(i=sQ,sQ=!1,lo(t,e,n),sQ=i,lu(e),512&a&&(sJ||null===r||sx(r,r.return)),32&e.flags){t=e.stateNode;try{tE(t,""),to=!0}catch(t){uI(e,e.return,t)}}4&a&&null!=e.stateNode&&(t=e.memoizedProps,sP(e,t,null!==r?r.memoizedProps:t)),1024&a&&(sZ=!0);break;case 6:if(lo(t,e,n),lu(e),4&a){if(null===e.stateNode)throw Error(l(162));t=e.memoizedProps,n=e.stateNode;try{n.nodeValue=t,to=!0}catch(t){uI(e,e.return,t)}}break;case 3:if(to=!1,dp=null,i=ls,ls=c7(t.containerInfo),lo(t,e,n),ls=i,lu(e),4&a&&null!==r&&r.memoizedState.isDehydrated)try{d6(t.containerInfo)}catch(t){uI(e,e.return,t)}sZ&&(sZ=!1,function e(t){if(1024&t.subtreeFlags)for(t=t.child;null!==t;){var n=t;e(n),5===n.tag&&1024&n.flags&&(n=n.stateNode,dL=!0,n.reset(),dL=!1),t=t.sibling}}(e)),to=!1;break;case 4:r=sQ,sQ=sK,a=ts(),i=ls,ls=c7(e.stateNode.containerInfo),lo(t,e,n),lu(e),ls=i,to&&s3&&(s4=!0),to=a,sQ=r;break;case 12:lo(t,e,n),lu(e);break;case 31:case 19:lo(t,e,n),lu(e),4&a&&null!==(t=e.updateQueue)&&(e.updateQueue=null,li(e,t));break;case 13:lo(t,e,n),lu(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==r&&null!==r.memoizedState)&&(lV=e_()),4&a&&null!==(t=e.updateQueue)&&(e.updateQueue=null,li(e,t));break;case 22:i=null!==e.memoizedState,o=null!==r&&null!==r.memoizedState;var s=sK,u=sJ,c=sQ;sK=s||i,sQ=c||i,sJ=u||o,lo(t,e,n),sJ=u,sQ=c,sK=s,lu(e),8192&a&&((t=e.stateNode)._visibility=i?-2&t._visibility:1|t._visibility,i&&(null===r||o||sK||sJ||function e(t,n){for(t=t.child;null!==t;){var r=t;switch(r.tag){case 0:case 11:case 14:case 15:sS(4,r,r.return),e(r,n);break;case 1:sx(r,r.return);var a=r.stateNode;"function"==typeof a.componentWillUnmount&&sE(r,r.return,a),e(r,n);break;case 27:0!=(2&n)&&c4(r.stateNode,r.type,r.memoizedProps);case 26:case 5:sx(r,r.return),5!==r.tag&&6!==r.tag||sC(r),e(r,n);break;case 22:null===r.memoizedState&&e(r,n);break;case 30:sx(r,r.return),e(r,n);break;case 7:sx(r,r.return);default:e(r,n)}t=t.sibling}}(e,2)),!i&&sQ||s7(e,i)),4&a&&null!==(t=e.updateQueue)&&null!==(n=t.retryQueue)&&(t.retryQueue=null,li(e,n));break;case 30:512&a&&(sJ||null===r||sx(r,r.return)),a=ts(),i=s3,o=(0x13ffff00&n)===n,s=e.memoizedProps,s3=o&&"none"!==rl(s.default,s.update),lo(t,e,n),lu(e),o&&null!==r&&to&&(e.flags|=4),s3=i,to=a;break;case 21:break;case 7:r&&null!==r.stateNode&&(r.stateNode._fragmentFiber=e);default:lo(t,e,n),lu(e)}}function lu(e){var t=e.flags;if(2&t){try{for(var n,r=null,a=e.return;null!==a;){if(sO(a)){var i=a.stateNode;null===r?r=[i]:r.push(i)}
527if(sI(a)){n=a;break}a=a.return}if(null==n)throw Error(l(160));switch(n.tag){case 27:var o=n.stateNode,s=sN(e);sA(e,s,o,r);break;case 5:var u=n.stateNode;32&n.flags&&(tE(u,""),n.flags&=-33);var c=sN(e);sA(e,c,u,r);break;case 3:case 4:var d=n.stateNode.containerInfo,f=sN(e);!function e(t,n,r,a){var i=t.tag;if(5===i||6===i)i=t.stateNode,n?(9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).insertBefore(i,n):((n=9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).appendChild(i),null!=(r=r._reactRootContainer)||null!==n.onclick||(n.onclick=tO)),sR(t,a),to=!0;else if(4!==i&&(27===i&&cE(t.type)&&(r=t.stateNode,n=null),null!==(t=t.child)))for(e(t,n,r,a),t=t.sibling;null!==t;)e(t,n,r,a),t=t.sibling}(e,f,d,r);break;default:throw Error(l(161))}}catch(t){uI(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function lc(e,t){if(9270&t.subtreeFlags)for(t=t.child;null!==t;)ld(t,e),t=t.sibling;else!function e(t,n){for(t=t.child;null!==t;){if(30===t.tag){var r=t.memoizedProps,a=t.stateNode,i=ro(r,a),o=rl(r.default,r.update);if(n)var s=null===(a=a.clones)?null:a.map(cI);else s=t.memoizedState,t.memoizedState=null;a=t;var l=t.child;sz=0,i=sY(a,l,i,i,o,s,!1),0!=(4&t.flags)&&i&&(n||ut(t,r.onUpdate))}else 0!=(0x2000000&t.subtreeFlags)&&e(t,n);t=t.sibling}}(t,!1)}function ld(e,t){var n=e.alternate;if(null===n)sH(e,!1);else switch(e.tag){case 3:if(s5=s2=!1,sF(),lc(t,e),!s2&&!s4){if(null!==(e=sj))for(var r=0;r<e.length;r+=3){n=e[r];var a=e[r+1];cP(n,e[r+2]),null!==(n=n.ownerDocument.documentElement)&&n.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+a+")"})}null!==(e=9===(e=t.containerInfo).nodeType?e.documentElement:e.ownerDocument.documentElement)&&""===e.style.viewTransitionName&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),s5=!0}sj=null;break;case 5:default:lc(t,e);break;case 4:r=s2,s2=!1,lc(t,e),s2&&(s4=!0),s2=r;break;case 22:null===e.memoizedState&&(null!==n.memoizedState?sH(e,!1):lc(t,e));break;case 30:r=s2,a=sF(),s2=!1,lc(t,e),s2&&(e.flags|=4);var i=e.memoizedProps,o=e.stateNode;t=ro(i,o),o=ro(n.memoizedProps,o);var s=rl(i.default,i.update);"none"===s?t=!1:(i=n.memoizedState,n.memoizedState=null,n=e.child,sz=0,t=sY(e,n,t,o,s,i,!0),sz!==(null===i?0:i.length)&&(e.flags|=32)),0!=(4&e.flags)&&t?(ut(e,e.memoizedProps.onUpdate),sj=a):null!==a&&(a.push.apply(a,sj),sj=a),s2=0!=(32&e.flags)||r}}function lf(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)s8(e,t.alternate,t),t=t.sibling}function lp(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&ap(n))}function lh(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&ap(e))}function lm(e,t,n,r){var a=(0x13ffff00&n)===n;if(t.subtreeFlags&(a?10262:10256))for(t=t.child;null!==t;)lg(e,t,n,r),t=t.sibling;else a&&function e(t){for(t=t.child;null!==t;)30===t.tag?sB(t.child,!1):0!=(0x2000000&t.subtreeFlags)&&e(t),t=t.sibling}(t)}function lg(e,t,n,r){var a=(0x13ffff00&n)===n;a&&null===t.alternate&&null!==t.return&&null!==t.return.alternate&&sX(t);var i=t.flags;switch(t.tag){case 0:case 11:case 15:lm(e,t,n,r),2048&i&&sb(9,t);break;case 1:case 31:case 13:default:lm(e,t,n,r);break;case 3:lm(e,t,n,r),a&&s5&&("root"===(e=9===(e=e.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e).style.viewTransitionName&&(e.style.viewTransitionName=""),null!==(e=e.ownerDocument.documentElement)&&"none"===e.style.viewTransitionName&&(e.style.viewTransitionName="")),2048&i&&(i=null,null!==t.alternate&&(i=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==i&&(t.refCount++,null!=i&&ap(i)));break;case 12:if(2048&i){lm(e,t,n,r),i=t.stateNode;try{var o=t.memoizedProps,s=o.id,l=o.onPostCommit;"function"==typeof l&&l(s,null===t.alternate?"mount":"update",i.passiveEffectDuration,-0)}catch(e){uI(t,t.return,e)}}else lm(e,t,n,r);break;case 23:break;case 22:o=t.stateNode,s=t.alternate,null!==t.memoizedState?(a&&null!==s&&null===s.memoizedState&&sX(s),2&o._visibility?lm(e,t,n,r):ly(e,t)):(a&&null!==s&&null!==s.memoizedState&&sX(t),2&o._visibility?lm(e,t,n,r):(o._visibility|=2,function e(t,n,r,a,i){for(i=i&&0!=(10256&n.subtreeFlags),n=n.child;null!==n;){var o=n,s=o.flags;switch(o.tag){case 0:case 11:case 15:e(t,o,r,a,i),sb(8,o);break;case 23:break;case 22:var l=o.stateNode;null!==o.memoizedState?2&l._visibility?e(t,o,r,a,i):ly(t,o):(l._visibility|=2,e(t,o,r,a,i)),i&&2048&s&&lp(o.alternate,o);break;case 24:e(t,o,r,a,i),i&&2048&s&&lh(o.alternate,o);break;default:e(t,o,r,a,i)}n=n.sibling}}(e,t,n,r,0!=(10256&t.subtreeFlags)))),2048&i&&lp(s,t);break;case 24:lm(e,t,n,r),2048&i&&lh(t.alternate,t);break;case 30:a&&null!==(i=t.alternate)&&(sB(i.child,!0),sB(t.child,!0)),lm(e,t,n,r)}}function ly(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=t,r=n.flags;switch(n.tag){case 22:ly(e,n),2048&r&&lp(n.alternate,n);break;case 24:ly(e,n),2048&r&&lh(n.alternate,n);break;default:ly(e,n)}t=t.sibling}}var l_=8192;function lv(e,t,n){if(e.subtreeFlags&l_)for(e=e.child;null!==e;)lb(e,t,n),e=e.sibling}function lb(e,t,n){switch(e.tag){case 26:lv(e,t,n),e.flags&l_&&(null!==e.memoizedState?function(e,t,n,r){if("stylesheet"===n.type&&("string"!=typeof r.media||!1!==matchMedia(r.media).matches)&&0==(4&n.state.loading)){if(null===n.instance){var a=dr(r.href),i=t.querySelector(da(a));if(i){null!==(t=i._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=dw.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=i,e8(i);return}i=t.ownerDocument||t,r=di(r),(a=c6.get(a))&&dd(r,a),e8(i=i.createElement("link"));var o=i;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),cl(i,"link",r),n.instance=i}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),
527(t=n.state.preload)&&0==(3&n.state.loading)&&(e.count++,n=dw.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,ls,e.memoizedState,e.memoizedProps):(e=e.stateNode,(0x13ffff40&t)===t&&dv(n,e)));break;case 5:lv(e,t,n),e.flags&l_&&(e=e.stateNode,(0x13ffff40&t)===t&&dv(n,e));break;case 3:case 4:var r=ls;ls=c7(e.stateNode.containerInfo),lv(e,t,n),ls=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=l_,l_=0x1000000,lv(e,t,n),l_=r):lv(e,t,n));break;case 30:if(0!=(e.flags&l_)&&null!=(r=e.memoizedProps.name)&&"auto"!==r){var a=e.stateNode;a.paired=null,null===sD&&(sD=new Map),sD.set(r,a)}lv(e,t,n);break;default:lv(e,t,n)}}function lS(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(null!==e)}}function lw(e){var t=e.deletions;if(0!=(16&e.flags)){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];s1=r,lk(r,e)}lS(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)lE(e),e=e.sibling}function lE(e){switch(e.tag){case 0:case 11:case 15:lw(e),2048&e.flags&&sS(9,e,e.return);break;case 3:case 12:default:lw(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,function e(t){var n=t.deletions;if(0!=(16&t.flags)){if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];s1=a,lk(a,t)}lS(t)}for(t=t.child;null!==t;){switch((n=t).tag){case 0:case 11:case 15:sS(8,n,n.return),e(n);break;case 22:2&(r=n.stateNode)._visibility&&(r._visibility&=-3,e(n));break;default:e(n)}t=t.sibling}}(e)):lw(e)}}function lk(e,t){for(;null!==s1;){var n=s1;switch(n.tag){case 0:case 11:case 15:sS(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:ap(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,s1=r;else for(n=e;null!==s1;){var a=(r=s1).sibling,i=r.return;if(!function e(t){var n=t.alternate;null!==n&&(t.alternate=null,e(n)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(n=t.stateNode)&&e2(n),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(r),r===n){s1=null;break}if(null!==a){a.return=i,s1=a;break}s1=i}}}var lx={getCacheForType:function(e){var t=ai(ad),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ai(ad).controller.signal}},lT="function"==typeof WeakMap?WeakMap:Map,lP=0,lR=null,lC=null,lI=0,lO=0,lN=null,lA=!1,lM=!1,lL=!1,lD=0,l$=0,lj=0,lF=0,lz=0,lU=0,lB=0,lW=null,lH=null,lq=!1,lV=0,lG=0,lX=1/0,lY=null,lK=null,lJ=0,lQ=null,lZ=null,l0=0,l1=0,l2=null,l3=null,l4=null,l5=null,l6=null,l8=0,l7=null;function l9(){return 0!=(2&lP)&&0!==lI?lI&-lI:null!==G.T?uY():eH()}function ue(){if(0===lU)if(0==(0x20000000&lI)||rX){var e=eO;0==(3932160&(eO<<=1))&&(eO=262144),lU=e}else lU=0x20000000;return null!==(e=a8.current)&&(e.flags|=32),lU}function ut(e,t){if(null!=t){var n=e.stateNode,r=n.ref;null===r&&(r=n.ref=cA(ro(e.memoizedProps,n))),null===l5&&(l5=[]),l5.push(t.bind(null,r))}}function un(e,t,n){(e===lR&&(2===lO||9===lO)||null!==e.cancelPendingCommit)&&(ul(e,0),ui(e,lI,lU,!1)),ej(e,n),(0==(2&lP)||e!==lR)&&(e===lR&&(0==(2&lP)&&(lF|=n),4===l$&&ui(e,lI,lU,!1)),uB(e))}function ur(e,t,n){if(0!=(6&lP))throw Error(l(327));for(var r=!n&&0==(127&t)&&0==(t&e.expiredLanes)||eL(e,t),a=r?function(e,t){var n=lP;lP|=2;var r=ud(),a=uf();lR!==e||lI!==t?(lY=null,lX=e_()+500,ul(e,t)):lM=eL(e,t);t:for(;;)try{if(0!==lO&&null!==lC){t=lC;var i=lN;n:switch(lO){case 1:lO=0,lN=null,uy(e,t,i,1);break;case 2:case 9:if(aI(i)){lO=0,lN=null,ug(t);break}t=function(){2!==lO&&9!==lO||lR!==e||(lO=7),uB(e)},i.then(t,t);break t;case 3:lO=7;break t;case 4:lO=5;break t;case 7:aI(i)?(lO=0,lN=null,ug(t)):(lO=0,lN=null,uy(e,t,i,7));break;case 5:var o=null;switch(lC.tag){case 26:o=lC.memoizedState;case 5:case 27:var s=lC;if(o?dy(o):s.stateNode.complete){lO=0,lN=null;var u=s.sibling;if(null!==u)lC=u;else{var c=s.return;null!==c?(lC=c,u_(c)):lC=null}break n}}lO=0,lN=null,uy(e,t,i,5);break;case 6:lO=0,lN=null,uy(e,t,i,6);break;case 8:us(),l$=6;break t;default:throw Error(l(462))}}for(;null!==lC&&!eg();)um(lC);break}catch(t){uu(e,t)}return(r8=r6=null,G.H=r,G.A=a,lP=n,null!==lC)?0:(lR=null,lI=0,rp(),l$)}(e,t):uh(e,t,!0),i=r;;){if(0===a)lM&&!r&&ui(e,t,0,!1);else{if(n=e.current.alternate,i&&!function(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&null!==(n=t.updateQueue)&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],i=a.getSnapshot;a=a.value;try{if(!nU(i(),a))return!1}catch(e){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(n)){a=uh(e,t,!1),i=!1;continue}if(2===a){if(i=t,e.errorRecoveryDisabledLanes&i)var o=0;else o=0!=(o=-0x20000001&e.pendingLanes)?o:0x20000000&o?0x20000000:0;if(0!==o){t=o;t:{a=lW;var s=e.current.memoizedState.isDehydrated;if(s&&(ul(e,o).flags|=256),2!==(o=uh(e,o,!1))&&6!==o){if(lL&&!s){e.errorRecoveryDisabledLanes|=i,lF|=i,a=4;break t}i=lH,lH=a,null!==i&&(null===lH?lH=i:lH.push.apply(lH,i))}a=o}if(i=!1,2!==a)continue}}if(1===a){ul(e,0),ui(e,t,0,!0);break}t:{switch(r=e,i=a){case 0:case 1:throw Error(l(345));case 4:if((4194048&t)!==t&&(0x3c00000&t)!==t)break;case 6:ui(r,t,lU,!lA);break t;case 2:lH=null;break;case 3:case 5:break;default:throw Error(l(329))}if((0x3c00000&t)===t&&10<(a=lV+300-e_())){if(ui(r,t,lU,!lA),0!==eM(r,0,!0))break t;l0=t,r.timeoutHandle=c_(ua.bind(null,r,n,lH,lY,lq,t,lU,lF,lB,lA,i,"Throttled",-0,0),a);break t}ua(r,n,lH,lY,lq,t,lU,lF,lB,lA,i,null,-0,0)}}break}uB(e)}function ua(e,t,n,r,a,i,o,s,l,u,c,d,f,p){e.timeoutHandle=-1;var h,m,g=t.subtreeFlags,y=(0x13ffff00&i)===i;if(d=null,(y||8192&g||0x1002000==(0x1002000&g))&&(sD=null,lb(t,i,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:tO}),y&&(g=d,null!=(y=(9===(y=e.containerInfo).nodeType?y:y.ownerDocument).__reactViewTransition)&&(g.count++,g.waitingForViewTransition=!0,g=dw.bind(g),y.finished.then(g,g))),null!==(h=d,m=g=(0x3c00000&i)===i?lV-e_():(4194048&i)===i?lG-e_():0,h.stylesheets&&0===h.count&&dx(h,h.stylesheets),g=0<h.count||0<h.imgCount?function(e){var t=setTimeout(function(){if(h.stylesheets&&dx(h,h.stylesheets),h.unsuspend){var e=h.unsuspend;h.unsuspend=null,e()}},6e4+m);0<h.imgBytes&&0===db&&(db=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var a=n[r],i=a.transferSize,o=a.initiatorType,s=a.duration;if(i&&s&&cc(o)){for(o=0,s=a.responseEnd,r+=1;r<n.length;r++){var l=n[r],u=l.startTime;if(u>s)break;var c=l.transferSize,d=l.initiatorType;c&&cc(d)&&(o+=c*((l=l.responseEnd)<s?1:(s-u)/(l-u)))}if(--r,t+=8*(i+o)/(a.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&"number"==typeof(e=navigator.connection.downlink)?e:5}());var n=setTimeout(function(){if(h.waitingForImages=!1,0===h.count&&(h.stylesheets&&dx(h,h.stylesheets),h.unsuspend)){var e=h.unsuspend;h.unsuspend=null,e()}},(h.imgBytes>db?50:800)+m);return h.unsuspend=e,function(){h.unsuspend=null,clearTimeout(t),clearTimeout(n)}}:null))){l0=i,e.cancelPendingCommit=g(ub.bind(null,e,t,i,n,r,a,o,s,l,u,c,d,null,f,p)),ui(e,i,o,!u);return}ub(e,t,i,n,r,a,o,s,l,u,c,d)}function ui(e,t,n,r){t&=~lz,t&=~lF,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var a=t;0<a;){var i=31-eP(a),o=1<<i;r[i]=-1,a&=~o}0!==n&&eF(e,n,t)}function uo(){return 0!=(6&lP)||(uW(0,!1),!1)}
527function us(){if(null!==lC){if(0===lO)var e=lC.return;else e=lC,r8=r6=null,iC(e),aD=null,a$=0,e=lC;for(;null!==e;)sv(e.alternate,e),e=e.return;lC=null}}function ul(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,cv(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),l0=0,us(),lR=e,lC=n=rE(e.current,null),lI=t,lO=0,lN=null,lA=!1,lM=eL(e,t),lL=!1,lB=lU=lz=lF=lj=l$=0,lH=lW=null,lq=!1,0!=(8&t)&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var a=31-eP(r),i=1<<a;t|=e[a],r&=~i}return lD=t,rp(),n}function uu(e,t){ic=null,G.H=oR,t===aT||t===aR?(t=aM(),lO=3):t===aP?(t=aM(),lO=4):lO=t===oq?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,lN=t,null===lC&&(l$=1,oz(e,rO(t,e.current)))}function uc(){var e=a8.current;return null===e||((4194048&lI)===lI?null===a7:((0x3c00000&lI)===lI||0!=(0x20000000&lI))&&e===a7)}function ud(){var e=G.H;return G.H=oR,null===e?oR:e}function uf(){var e=G.A;return G.A=lx,e}function up(){l$=4,lA||(4194048&lI)!==lI&&null!==a8.current||(lM=!0),0==(0x7ffffff&lj)&&0==(0x7ffffff&lF)||null===lR||ui(lR,lI,lU,!1)}function uh(e,t,n){var r=lP;lP|=2;var a=ud(),i=uf();(lR!==e||lI!==t)&&(lY=null,ul(e,t)),t=!1;var o=l$;t:for(;;)try{if(0!==lO&&null!==lC){var s=lC,l=lN;switch(lO){case 8:us(),o=6;break t;case 3:case 2:case 9:case 6:null===a8.current&&(t=!0);var u=lO;if(lO=0,lN=null,uy(e,s,l,u),n&&lM){o=0;break t}break;default:u=lO,lO=0,lN=null,uy(e,s,l,u)}}(function(){for(;null!==lC;)um(lC)})(),o=l$;break}catch(t){uu(e,t)}return t&&e.shellSuspendCounter++,r8=r6=null,lP=r,G.H=a,G.A=i,null===lC&&(lR=null,lI=0,rp()),o}function um(e){var t=sf(e.alternate,e,lD);e.memoizedProps=e.pendingProps,null===t?u_(e):lC=t}function ug(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=o4(n,t,t.pendingProps,t.type,void 0,lI);break;case 11:t=o4(n,t,t.pendingProps,t.type.render,t.ref,lI);break;case 5:iC(t);var r=t;r===rV&&(rX?(r0(r),5===r.tag&&null!=r.stateNode&&(rG=r.stateNode)):(r0(r),rX=!0));default:sv(n,t),t=sf(n,t=lC=rk(t,lD),lD)}e.memoizedProps=e.pendingProps,null===t?u_(e):lC=t}function uy(e,t,n,r){r8=r6=null,iC(t),aD=null,a$=0;var a=t.return;try{if(function(e,t,n,r,a){if(n.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&an(t,n,a,!0),null!==(n=a8.current)){switch(n.tag){case 31:case 13:case 19:return null===a7?up():null===n.alternate&&0===l$&&(l$=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===aC?
527n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),uO(e,r,a)),!1;case 22:return n.flags|=65536,r===aC?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),uO(e,r,a)),!1}throw Error(l(435,n.tag))}return uO(e,r,a),up(),!1}if(rX)return null!==(t=a8.current)?(0==(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==rJ&&r4(rO(e=Error(l(422),{cause:r}),n))):(r!==rJ&&r4(rO(t=Error(l(423),{cause:r}),n)),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=rO(r,n),a=oB(e.stateNode,r,a),aK(e,a),4!==l$&&(l$=2)),!1;var i=Error(l(520),{cause:r});if(i=rO(i,n),null===lW?lW=[i]:lW.push(i),4!==l$&&(l$=2),null===t)return!0;r=rO(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=oB(n.stateNode,r,e),aK(n,e),!1;case 1:if(t=n.type,i=n.stateNode,0==(128&n.flags)&&("function"==typeof t.getDerivedStateFromError||null!==i&&"function"==typeof i.componentDidCatch&&(null===lK||!lK.has(i))))return n.flags|=65536,a&=-a,n.lanes|=a,oH(a=oW(a),e,n,r),aK(n,a),!1;break;case 22:if(null!==n.memoizedState)return n.flags|=65536,!1}n=n.return}while(null!==n)return!1}(e,a,t,n,lI)){l$=1,oz(e,rO(n,e.current)),lC=null;return}}catch(t){if(null!==a)throw lC=a,t;l$=1,oz(e,rO(n,e.current)),lC=null;return}32768&t.flags?(rX||1===r?e=!0:lM||0!=(0x20000000&lI)?e=!1:(lA=e=!0,(2===r||9===r||3===r||6===r)&&null!==(r=a8.current)&&13===r.tag&&(r.flags|=16384)),uv(t,e)):u_(t)}function u_(e){var t=e;do{if(0!=(32768&t.flags))return void uv(t,lA);e=t.return;var n=function(e,t,n){var r=t.pendingProps;switch(rH(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return s_(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),r9(ad),eo(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(null===e||null===e.child)&&(r1(t)?sp(t):null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,r3())),s_(t),null;case 26:var a=t.type,i=t.memoizedState;return null===e?(sp(t),null!==i?(s_(t),sm(t,i)):(s_(t),sh(t,a,null,r,n))):i?i!==e.memoizedState?(sp(t),s_(t),sm(t,i)):(s_(t),t.flags&=-0x1000001):((e=e.memoizedProps)!==r&&sp(t),s_(t),sh(t,a,e,r,n)),null;case 27:if(el(t),n=er.current,a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&sp(t);else{if(!r){if(null===t.stateNode)throw Error(l(166));return s_(t),t.subtreeFlags&=-0x2000001,null}e=et.current,r1(t)?rZ(t):(t.stateNode=e=c3(a,r,n),sp(t))}return s_(t),t.subtreeFlags&=-0x2000001,null;case 5:if(el(t),a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&sp(t);else{if(!r){if(null===t.stateNode)throw Error(l(166));return s_(t),t.subtreeFlags&=-0x2000001,null}if(i=et.current,r1(t))rZ(t);else{var o=cp(er.current);switch(i){case 1:i=o.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:i=o.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":i=o.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":i=o.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":(i=o.createElement("div")).innerHTML="<script></script>",i=i.removeChild(i.firstChild);break;case"select":i="string"==typeof r.is?o.createElement("select",{is:r.is}):o.createElement("select"),r.multiple?i.multiple=!0:r.size&&(i.size=r.size);break;default:i="string"==typeof r.is?o.createElement(a,{is:r.is}):o.createElement(a)}}i[eG]=t,i[eX]=r;t:for(o=t.child;null!==o;){if(5===o.tag||6===o.tag)i.appendChild(o.stateNode);else if(4!==o.tag&&27!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)break t;o=o.return}o.sibling.return=o.return,o=o.sibling}switch(t.stateNode=i,cl(i,a,r),a){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break;case"img":r=!0;break;default:r=!1}r&&sp(t)}}return s_(t),t.subtreeFlags&=-0x2000001,sh(t,t.type,null===e?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&sp(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(l(166));if(e=er.current,r1(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(a=rV))switch(a.tag){case 27:case 5:r=a.memoizedProps}
527e[eG]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||ci(e.nodeValue,n)))||rQ(t,!0)}else(e=cp(e).createTextNode(r))[eG]=t,t.stateNode=e}return s_(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(r=r1(t),null!==n){if(null===e){if(!r)throw Error(l(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(l(557));e[eG]=t}else r2(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;s_(t),e=!1}else n=r3(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e){if(256&t.flags)return ia(t),t;return ia(t),null}if(0!=(128&t.flags))throw Error(l(558))}return s_(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(a=r1(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(l(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(l(317));a[eG]=t}else r2(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;s_(t),a=!1}else a=r3(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a){if(256&t.flags)return ia(t),t;return ia(t),null}}if(ia(t),0!=(128&t.flags))return t.lanes=n,t;return n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(r=t.child,a=null,null!==r.alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(a=r.alternate.memoizedState.cachePool.pool),i=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(i=r.memoizedState.cachePool.pool),i!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),sg(t,t.updateQueue),s_(t),null;case 4:return eo(),null===e&&u5(t.stateNode.containerInfo),t.flags|=0x4000000,s_(t),null;case 10:return r9(t.type),s_(t),null;case 19:if(is(t),null===(r=t.memoizedState))return s_(t),null;if(a=0!=(128&t.flags),null===(i=r.rendering))if(a)sy(r,!1);else{if(0!==l$||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(i=il(e))){for(t.flags|=128,sy(r,!1),t.updateQueue=e=i.updateQueue,sg(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)rk(n,e),n=n.sibling;return io(t,1&ii.current|2),rX&&rU(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&e_()>lX&&(t.flags|=128,a=!0,sy(r,!1),t.lanes=4194304)}else{if(!a)if(null!==(e=il(i))){if(t.flags|=128,a=!0,t.updateQueue=e=e.updateQueue,sg(t,e),sy(r,!0),null===r.tail&&"collapsed"!==r.tailMode&&"visible"!==r.tailMode&&!i.alternate&&!rX)return s_(t),null}else 2*e_()-r.renderingStartTime>lX&&0x20000000!==n&&(t.flags|=128,a=!0,sy(r,!1),t.lanes=4194304);r.isBackwards?(i.sibling=t.child,t.child=i):(null!==(e=r.last)?e.sibling=i:t.child=i,r.last=i)}if(null!==r.tail){e=r.tail;t:{for(n=e;null!==n;){if(null!==n.alternate){n=!1;break t}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=e_(),e.sibling=null,i=ii.current,i=a?1&i|2:1&i,"visible"===r.tailMode||"collapsed"===r.tailMode||!n||rX?io(t,i):(n=i,ee(a8,t),ee(ii,n),null===a7&&(a7=t)),rX&&rU(t,r.treeForkCount),e}return s_(t),null;case 22:case 23:return ia(t),a6(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?0!=(0x20000000&n)&&0==(128&t.flags)&&(s_(t),6&t.subtreeFlags&&(t.flags|=8192)):s_(t),null!==(n=t.updateQueue)&&sg(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&Z(aw),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),r9(ad),s_(t),null;case 25:return null;case 30:return t.flags|=0x2000000,s_(t),null}throw Error(l(156,t.tag))}(t.alternate,t,lD);if(null!==n){lC=n;return}if(null!==(t=t.sibling)){lC=t;return}lC=t=e}while(null!==t)0===l$&&(l$=5)}function uv(e,t){do{var n=function(e,t){switch(rH(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return r9(ad),eo(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return el(t),null;case 31:if(null!==t.memoizedState){if(ia(t),null===t.alternate)throw Error(l(340));r2()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(ia(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(l(340));r2()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return is(t),65536&(e=t.flags)?(t.flags=-65537&e|128,null!==(e=t.memoizedState)&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return eo(),null;case 10:return r9(t.type),null;case 22:case 23:return ia(t),a6(),null!==e&&Z(aw),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return r9(ad),null;default:return null}}(e.alternate,e);if(null!==n){n.flags&=32767,lC=n;return}if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deleti
527ons=null),!t&&null!==(e=e.sibling)){lC=e;return}lC=e=n}while(null!==e)l$=6,lC=null}function ub(e,t,n,r,a,i,o,s,u,c,d,f){e.cancelPendingCommit=null;do uP();while(0!==lJ)if(0!=(6&lP))throw Error(l(327));if(null!==t){if(t===e.current)throw Error(l(177));e===lR&&(lC=lR=null,lI=0),lZ=t,lQ=e,l0=n,l2=a,l3=r,function(e,t,n,r,a,i,o){var s,l=t.lanes|t.childLanes;if(l1=l,!function(e,t,n,r,a,i){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,u=e.hiddenUpdates;for(n=o&~n;0<n;){var c=31-eP(n),d=1<<c;s[c]=0,l[c]=-1;var f=u[c];if(null!==f)for(u[c]=null,c=0;c<f.length;c++){var p=f[c];null!==p&&(p.lane&=-0x20000001)}n&=~d}0!==r&&eF(e,r,0),0!==i&&0===a&&0!==e.tag&&(e.suspendedLanes|=i&~(o&~t))}(e,n,l|=rf,r,a,i),l5=null,(0x13ffff00&n)===n?(s=e.transitionTypes,e.transitionTypes=null,l6=s,r=10262):(l6=null,r=10256),0!=(t.subtreeFlags&r)||0!=(t.flags&r)?(e.callbackNode=null,e.callbackPriority=0,eh(ew,function(){return uR(),null})):(e.callbackNode=null,e.callbackPriority=0),sL=!1,r=0!=(13878&t.flags),0!=(13878&t.subtreeFlags)||r){r=G.T,G.T=null,a=X.p,X.p=2,i=lP,lP|=4;try{!function(e,t,n){if(e=e.containerInfo,cd=dL,nG(e=nV(e))){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else t:{var a=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(a&&0!==a.rangeCount){r=a.anchorNode;var i,o=a.anchorOffset,s=a.focusNode;a=a.focusOffset;try{r.nodeType,s.nodeType}catch(e){r=null;break t}var l=0,u=-1,c=-1,d=0,f=0,p=e,h=null;n:for(;;){for(;p!==r||0!==o&&3!==p.nodeType||(u=l+o),p!==s||0!==a&&3!==p.nodeType||(c=l+a),3===p.nodeType&&(l+=p.nodeValue.length),null!==(i=p.firstChild);)h=p,p=i;for(;;){if(p===e)break n;if(h===r&&++d===o&&(u=l),h===s&&++f===a&&(c=l),null!==(i=p.nextSibling))break;h=(p=h).parentNode}p=i}r=-1===u||-1===c?null:{start:u,end:c}}else r=null}r=r||{start:0,end:0}}else r=null;for(cf={focusedElem:e,selectionRange:r},dL=!1,n=(0x13ffff00&n)===n,s1=t,t=n?9270:1024;null!==s1;){if(e=s1,n&&null!==(r=e.deletions))for(o=0;o<r.length;o++)n&&sV(r[o]);if(null===e.alternate&&0!=(2&e.flags))n&&s$(e),s6(n);else{if(22===e.tag){if(r=e.alternate,null!==e.memoizedState){null!==r&&null===r.memoizedState&&n&&sV(r),s6(n);continue}else if(null!==r&&null!==r.memoizedState){n&&s$(e),s6(n);continue}}r=e.child,0!=(e.subtreeFlags&t)&&null!==r?(r.return=e,s1=r):(n&&function e(t){for(t=t.child;null!==t;){if(30===t.tag){var n=t.memoizedProps,r=ro(n,t.stateNode);n=rl(n.default,n.update),t.flags&=-5,"none"!==n&&sU(t,r,n,t.memoizedState=[],!1)}else 0!=(0x2000000&t.subtreeFlags)&&e(t);t=t.sibling}}(e),s6(n))}}sD=null}(e,t,n)}finally{lP=i,X.p=a,G.T=r}}lJ=1,sL?l4=function(e,t,n,r,a,i,o,s,l){var u=9===t.nodeType?t:t.ownerDocument;try{var c=u.startViewTransition({update:function(){var t=u.defaultView,n=t.navigation&&t.navigation.transition,o=u.fonts.status;r();var s=[];if("loaded"===o&&(u.documentElement.clientHeight,"loading"===u.fonts.status&&s.push(u.fonts.ready)),o=s.length,null!==e)for(var l=e.suspenseyImages,c=0,d=0;d<l.length;d++){var f=l[d];if(!f.complete){var p=f.getBoundingClientRect();if(0<p.bottom&&0<p.right&&p.top<t.innerHeight&&p.left<t.innerWidth){if((c+=d_(f))>db){s.length=o;break}f=new Promise(cO.bind(f)),s.push(f)}}}return 0<s.length?(t=Promise.race([Promise.all(s),new Promise(function(e){return setTimeout(e,500)})]).then(a,a),(n?Promise.allSettled([n.finished,t]):t).then(i,i)):(a(),n)?n.finished.then(i,i):void i()},types:n});u.__reactViewTransition=c;var d=[];return c.ready.then(function(){for(var e=u.documentElement.getAnimations({subtree:!0}),t=0;t<e.length;t++){var n=e[t],r=n.effect,a=r.pseudoElement;if(null!=a&&a.startsWith("::view-transition")){d.push(n),n=r.getKeyframes();for(var i=a=void 0,s=!0,l=0;l<n.length;l++){var c=n[l],f=c.width;if(void 0===a)a=f;else if(a!==f){s=!1;break}if(f=c.height,void 0===i)i=f;else if(i!==f){s=!1;break}delete c.width,delete c.height,"none"===c.transform&&delete c.transform}s&&void 0!==a&&void 0!==i&&(r.setKeyframes(n),(s=getComputedStyle(r.target,r.pseudoElement)).width!==a||s.height!==i)&&((s=n[0]).width=a,s.height=i,(s=n[n.length-1]).width=a,s.height=i,r.setKeyframes(n))}}o()},function(e){u.__reactViewTransition===c&&(u.__reactViewTransition=null);try{"object"==typeof e&&null!==e&&"InvalidStateError"===e.name&&("View transition was skipped because document visibility state is hidden."===e.message||"Skipping view transition because document visibility state has become hidden."===e.message||"Skipping view transition because viewport size changed."===e.message||"Transition was aborted because of invalid state"===e.message)&&(e=null),null!==e&&l(e)}finally{r(),a(),o()}}),c.finished.finally(function(){for(var e=0;e<d.length;e++)d[e].cancel();u.__reactViewTransition===c&&(u.__reactViewTransition=null),s()}),c}catch(e){return r(),a(),o(),null}}(o,e.containerInfo,l6,uE,uk,uw,ux,uR,uS):(uE(),uk(),ux())}(e,t,n,o,s,u,f)}}function uS(e){0!==lJ&&(0,lQ.onRecoverableError)(e,{componentStack:null})}function uw(){3===lJ&&(lJ=0,ld(lZ,lQ),lJ=4)}function uE(){if(1===lJ){lJ=0;var e=lQ,t=lZ,n=l0,r=0!=(13878&t.flags);if(0!=(13878&t.subtreeFlags)||r){r=G.T,G.T=null;var a=X.p;X.p=2;var i=lP;lP|=4;try{s3=s4=!1,ll(t,e,n),n=cf;var o=nV(e.containerInfo),s=n.focusedElem,l=n.selectionRange;if(o!==s&&s&&s.ownerDocument&&function e(t,n){return!!t&&!!n&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(s.ownerDocument.documentElement,s)){if(null!==l&&nG(s)){var u=l.start,c=l.end;if(void 0===c&&(c=u),"selectionStart"in s)s.selectionStart=u,s.selectionEnd=Math.min(c,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),h=s.textContent.length,m=Math.min(l.start,h),g=void 0===l.end?m:Math.min(l.end,h);!p.extend&&m>g&&(o=g,g=m,m=o);var y=nq(s,m),_=nq(s,g);if(y&&_&&(1!==p.rangeCount||p.anchorNode!==y.node||p.anchorOffset!==y.offset||p.focusNode!==_.n
527ode||p.focusOffset!==_.offset)){var v=d.createRange();v.setStart(y.node,y.offset),p.removeAllRanges(),m>g?(p.addRange(v),p.extend(_.node,_.offset)):(v.setEnd(_.node,_.offset),p.addRange(v))}}}}for(d=[],p=s;p=p.parentNode;)1===p.nodeType&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof s.focus&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}dL=!!cd,cf=cd=null}finally{lP=i,X.p=a,G.T=r}}e.current=t,lJ=2}}function uk(){if(2===lJ){lJ=0;var e=lQ,t=lZ,n=0!=(8772&t.flags);if(0!=(8772&t.subtreeFlags)||n){n=G.T,G.T=null;var r=X.p;X.p=2;var a=lP;lP|=4;try{s8(e,t.alternate,t)}finally{lP=a,X.p=r,G.T=n}}lJ=3}}function ux(){if(4===lJ||3===lJ){lJ=0;var e=l4;l4=null,ey();var t=lQ,n=lZ,r=l0,a=l3,i=(0x13ffff00&r)===r?10262:10256;if(0!=(n.subtreeFlags&i)||0!=(n.flags&i)?lJ=5:(lJ=0,lZ=lQ=null,uT(t,t.pendingLanes)),0===(i=t.pendingLanes)&&(lK=null),eW(r),n=n.stateNode,eT&&"function"==typeof eT.onCommitFiberRoot)try{eT.onCommitFiberRoot(ex,n,void 0,128==(128&n.current.flags))}catch(e){}if(null!==a){n=G.T,i=X.p,X.p=2,G.T=null;try{for(var o=t.onRecoverableError,s=0;s<a.length;s++){var l=a[s];o(l.value,{componentStack:l.stack})}}finally{G.T=n,X.p=i}}if(a=l5,o=l6,l6=null,null!==a&&(l5=null,null===o&&(o=[]),null!==e))for(l=0;l<a.length;l++)void 0!==(n=(0,a[l])(o))&&e.finished.finally(n);0!=(3&l0)&&uP(),uB(t),i=t.pendingLanes,0!=(261930&r)&&0!=(42&i)?t===l7?l8++:(l8=0,l7=t):(l8=0,l7=null),uW(0,!1)}}function uT(e,t){0==(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,ap(t))}function uP(){return null!==l4&&(l4.skipTransition(),l4=null),uE(),uk(),ux(),uR()}function uR(){if(5!==lJ)return!1;var e=lQ,t=l1;l1=0;var n=eW(l0),r=G.T,a=X.p;try{X.p=32>n?32:n,G.T=null,n=l2,l2=null;var i=lQ,o=l0;if(lJ=0,lZ=lQ=null,l0=0,0!=(6&lP))throw Error(l(331));var s=lP;if(lP|=4,lE(i.current),lg(i,i.current,o,n),lP=s,uW(0,!1),eT&&"function"==typeof eT.onPostCommitFiberRoot)try{eT.onPostCommitFiberRoot(ex,i)}catch(e){}return!0}finally{X.p=a,G.T=r,uT(e,t)}}function uC(e,t,n){t=rO(n,t),t=oB(e.stateNode,t,2),null!==(e=aX(e,t,2))&&(ej(e,2),uB(e))}function uI(e,t,n){if(3===e.tag)uC(e,e,n);else for(;null!==t;){if(3===t.tag){uC(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===lK||!lK.has(r))){e=rO(n,e),null!==(r=aX(t,n=oW(2),2))&&(oH(n,r,t,e),ej(r,2),uB(r));break}}t=t.return}}function uO(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new lT;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(lL=!0,a.add(n),e=uN.bind(null,e,t,n),t.then(e,e))}function uN(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,lR===e&&(lI&n)===n&&((4===l$||3===l$&&(0x3c00000&lI)===lI&&300>e_()-lV)&&0==(2&lP)?ul(e,0):lz|=n,lB===lI&&(lB=0)),uB(e)}function uA(e,t){0===t&&(t=eD()),null!==(e=rg(e,t))&&(ej(e,t),uB(e))}function uM(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),uA(e,n)}function uL(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(l(314))}null!==r&&r.delete(t),uA(e,n)}var uD=null,u$=null,uj=!1,uF=!1,uz=!1,uU=0;function uB(e){e!==u$&&null===e.next&&(null===u$?uD=u$=e:u$=u$.next=e),uF=!0,uj||(uj=!0,cS(function(){0!=(6&lP)?eh(eb,uH):uq()}))}function uW(e,t){if(!uz&&uF){uz=!0;do for(var n=!1,r=uD;null!==r;){if(!t)if(0!==e){var a=r.pendingLanes;if(0===a)var i=0;else{var o=r.suspendedLanes,s=r.pingedLanes;i=0xc000095&(i=(1<<31-eP(42|e)+1)-1&(a&~(o&~s)))?0xc000095&i|1:i?2|i:0}0!==i&&(n=!0,uX(r,i))}else i=lI,0==(3&(i=eM(r,r===lR?i:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||eL(r,i)||(n=!0,uX(r,i));r=r.next}while(n)uz=!1}}function uH(){uq()}function uq(){uF=uj=!1;var e,t=0;
5270===uU||((e=window.event)&&"popstate"===e.type?e===cy||(cy=e,0):(cy=null,1))||(t=uU);for(var n=e_(),r=null,a=uD;null!==a;){var i=a.next,o=uV(a,n);0===o?(a.next=null,null===r?uD=i:r.next=i,null===i&&(u$=r)):(r=a,(0!==t||0!=(3&o))&&(uF=!0)),a=i}0!==lJ&&5!==lJ||uW(t,!1),0!==uU&&(uU=0)}function uV(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,i=-0x3c00001&e.pendingLanes;0<i;){var o=31-eP(i),s=1<<o,l=a[o];-1===l?(0==(s&n)||0!=(s&r))&&(a[o]=function(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}if(t=lR,n=lI,n=eM(e,e===t?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===lO||9===lO)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&em(r),e.callbackNode=null,e.callbackPriority=0;if(0==(3&n)||eL(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&em(r),eW(n)){case 2:case 8:n=eS;break;case 32:default:n=ew;break;case 0x10000000:n=ek}return n=eh(n,r=uG.bind(null,e)),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&em(r),e.callbackPriority=2,e.callbackNode=null,2}function uG(e,t){if(0!==lJ&&5!==lJ)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(uP()&&e.callbackNode!==n)return null;var r=lI;return 0===(r=eM(e,e===lR?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(ur(e,r,t),uV(e,e_()),null!=e.callbackNode&&e.callbackNode===n?uG.bind(null,e):null)}function uX(e,t){if(uP())return null;ur(e,t,!0)}function uY(){if(0===uU){var e=a_;0===e&&(e=eI,0==(261888&(eI<<=1))&&(eI=256)),uU=e}return uU}function uK(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:tI(e)}for(var uJ=0;uJ<rr.length;uJ++){var uQ=rr[uJ];ra(uQ.toLowerCase(),"on"+(uQ[0].toUpperCase()+uQ.slice(1)))}ra(n5,"onAnimationEnd"),ra(n6,"onAnimationIteration"),ra(n8,"onAnimationStart"),ra("dblclick","onDoubleClick"),ra("focusin","onFocus"),ra("focusout","onBlur"),ra(n7,"onTransitionRun"),ra(n9,"onTransitionStart"),ra(re,"onTransitionCancel"),ra(rt,"onTransitionEnd"),tn("onMouseEnter",["mouseout","mouseover"]),tn("onMouseLeave",["mouseout","mouseover"]),tn("onPointerEnter",["pointerout","pointerover"]),tn("onPointerLeave",["pointerout","pointerover"]),tt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),tt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),tt("onBeforeInput",["compositionend","keypress","textInput","paste"]),tt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),tt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),tt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var uZ="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),u0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(uZ));function u1(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;t:{var i=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==i&&a.isPropagationStopped())break t;i=s,a.currentTarget=u;try{i(a)}catch(e){ru(e)}a.currentTarget=null,i=l}else for(o=0;o<r.length;o++){if(l=(s=r[o]).instance,u=s.currentTarget,s=s.listener,l!==i&&a.isPropagationStopped())break t;i=s,a.currentTarget=u;try{i(a)}catch(e){ru(e)}a.currentTarget=null,i=l}}}}function u2(e,t){var n=t[eK];void 0===n&&(n=t[eK]=new Set);var r=e+"__bubble";n.has(r)||(u6(t,e,2,!1),n.add(r))}function u3(e,t,n){var r=0;t&&(r|=4),u6(n,e,r,t)}var u4="_reactListening"+Math.random().toString(36).slice(2);function u5(e){if(!e[u4]){e[u4]=!0,e9.forEach(function(t){"selectionchange"!==t&&(u0.has(t)||u3(t,!1,e),u3(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[u4]||(t[u4]=!0,u3("selectionchange",!1,t))}}function u6(e,t,n,r){switch(dB(t)){case 2:var a=dD;break;case 8:a=d$;break;default:a=dj}n=a.bind(null,t,n,e),a=void 0,tU&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function u8(e,t,n,r,a){var i=r;if(0==(1&t)&&0==(2&t)&&null!==r)t:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var s=r.stateNode.containerInfo;
527if(s===a)break;if(4===o)for(o=r.return;null!==o;){var l=o.tag;if((3===l||4===l)&&o.stateNode.containerInfo===a)return;o=o.return}for(;null!==s;){if(null===(o=e3(s)))return;if(5===(l=o.tag)||6===l||26===l||27===l){r=i=o;continue t}s=s.parentNode}}r=r.return}tj(function(){var r=i,a=tA(n),o=[];t:{var s=rn.get(e);if(void 0!==s){var l=t3,u=e;switch(e){case"keypress":if(0===tG(n))break t;case"keydown":case"keyup":l=nl;break;case"focusin":u="focus",l=t9;break;case"focusout":u="blur",l=t9;break;case"beforeblur":case"afterblur":l=t9;break;case"click":if(2===n.button)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=t8;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=t7;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=nd;break;case n5:case n6:case n8:l=ne;break;case rt:l=nf;break;case"scroll":case"scrollend":l=t5;break;case"wheel":l=np;break;case"copy":case"cut":case"paste":l=nt;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=nu;break;case"submit":l=nc;break;case"toggle":case"beforetoggle":l=nh}var d=0!=(4&t),f=!d&&("scroll"===e||"scrollend"===e),p=d?null!==s?s+"Capture":null:s;d=[];for(var h,m=r;null!==m;){var g=m;if(h=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===h||null===p||null!=(g=tF(m,p))&&d.push(u7(m,g,h)),f)break;m=m.return}0<d.length&&(s=new l(s,u,null,n,a),o.push({event:s,listeners:d}))}}if(0==(7&t)){l="mouseover"===e||"pointerover"===e,s="mouseout"===e||"pointerout"===e,!(l&&n!==tN&&(u=n.relatedTarget||n.fromElement)&&(e3(u)||u[eY]))&&(s||l)&&(u=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,s?(l=n.relatedTarget||n.toElement,s=r,null!==(l=l?e3(l):null)&&(f=c(l),d=l.tag,l!==f||5!==d&&27!==d&&6!==d)&&(l=null)):(s=null,l=r),s!==l&&(d=t8,g="onMouseLeave",p="onMouseEnter",m="mouse",("pointerout"===e||"pointerover"===e)&&(d=nu,g="onPointerLeave",p="onPointerEnter",m="pointer"),f=null==s?u:e5(s),h=null==l?u:e5(l),(u=new d(g,m+"leave",s,n,a)).target=f,u.relatedTarget=h,g=null,e3(a)===r&&((d=new d(p,m+"enter",l,n,a)).target=h,d.relatedTarget=f,g=d),f=g,d=s&&l?E(s,l,ce):null,null!==s&&ct(o,u,s,d,!1),null!==l&&null!==f&&ct(o,f,l,d,!0)));t:{if("select"===(l=(s=r?e5(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var y,_=nO;else if(nx(s))if(nN)_=nz;else{_=nj;var v=n$}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)?_=nF:r&&tP(r.elementType)&&(_=nO);if(_&&(_=_(e,r))){nT(o,_,n,a);break t}v&&v(e,s,r)}switch(v=r?e5(r):window,e){case"focusin":(nx(v)||"true"===v.contentEditable)&&(nY=v,nK=r,nJ=null);break;case"focusout":nJ=nK=nY=null;break;case"mousedown":nQ=!0;break;case"contextmenu":case"mouseup":case"dragend":nQ=!1,nZ(o,n,a);break;case"selectionchange":if(nX)break;case"keydown":case"keyup":nZ(o,n,a)}if(ng)n:{switch(e){case"compositionstart":var b="onCompositionStart";break n;case"compositionend":b="onCompositionEnd";break n;case"compositionupdate":b="onCompositionUpdate";break n}b=void 0}else nE?nS(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(nv&&"ko"!==n.locale&&(nE||"onCompositionStart"!==b?"onCompositionEnd"===b&&nE&&(y=tV()):(tH="value"in(tW=a)?tW.value:tW.textContent,nE=!0)),0<(v=u9(r,b)).length&&(b=new nn(b,e,null,n,a),o.push({event:b,listeners:v}),y?b.data=y:null!==(y=nw(n))&&(b.data=y))),(y=n_?function(e,t){switch(e){case"compositionend":return nw(t);case"keypress":if(32!==t.which)return null;return nb=!0," ";case"textInput":return" "===(e=t.data)&&nb?null:e;default:return null}}(e,n):function(e,t){if(nE)return"compositionend"===e||!ng&&nS(e,t)?(e=tV(),tq=tH=tW=null,nE=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return nv&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(b=u9(r,"onBeforeInput")).length&&(v=new nn("onBeforeInput","beforeinput",null,n,a),o.push({event:v,listeners:b}),v.data=y);var S=e;if("submit"===S&&r&&r.stateNode===a){var w=uK((a[eX]||null).action),k=n.submitter;k&&null!==(S=(S=k[eX]||null)?uK(S.formAction):k.getAttribute("formAction"))&&(w=S,k=null);var x=new t3("action","action",null,n,a);o.push({event:x,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(0!==uU){var e=new FormData(a,k);oh(r,{pending:!0,data:e,method:a.method,action:w},null,e)}}else"function"==typeof w&&(x.preventDefault(),oh(r,{pending:!0,data:e=new FormData(a,k),method:a.method,action:w},w,e))},currentTarget:a}]})}}u1(o,t)})}function u7(e,t,n){return{instance:e,listener:t,currentTarget:n}}function u9(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,i=a.stateNode;if(5!==(a=a.tag)&&26!==a&&27!==a||null===i||(null!=(a=tF(e,n))&&r.unshift(u7(e,a,i)),null!=(a=tF(e,t))&&r.push(u7(e,a,i))),3===e.tag)return r;e=e.return}return[]}function ce(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag&&27!==e.tag)return e||null}function ct(e,t,n,r,a){for(var i=t._reactName,o=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(s=s.tag,null!==l&&l===r)break;5!==s&&26!==s&&27!==s||null===u||(l=u,a?null!=(u=tF(n,i))&&o.unshift(u7(n,u,l)):a||null!=(u=tF(n,i))&&o.push(u7(n,u,l))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}var cn=/\r\n?/g,cr=/\u0000|\uFFFD/g;function ca(e){return("string"==typeof e?e:""+e).replace(cn,"\n").replace(cr,"")}
527function ci(e,t){return t=ca(t),ca(e)===t}function co(e,t,n,r,a,i){switch(n){case"children":if("string"==typeof r)"body"===t||"textarea"===t&&""===r||tE(e,r);else{if("number"!=typeof r&&"bigint"!=typeof r)return;"body"!==t&&tE(e,""+r)}break;case"className":tu(e,"class",r);break;case"tabIndex":tu(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":tu(e,n,r);break;case"style":tT(e,r,i);return;case"data":if("object"!==t){tu(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)||null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=tI(r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof i&&("formAction"===n?("input"!==t&&co(e,t,"name",a.name,a,null),co(e,t,"formEncType",a.formEncType,a,null),co(e,t,"formMethod",a.formMethod,a,null),co(e,t,"formTarget",a.formTarget,a,null)):(co(e,t,"encType",a.encType,a,null),co(e,t,"method",a.method,a,null),co(e,t,"target",a.target,a,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=tI(r),e.setAttribute(n,r);break;case"onClick":null!=r&&(e.onclick=tO);return;case"onScroll":null!=r&&u2("scroll",e);return;case"onScrollEnd":null!=r&&u2("scrollend",e);return;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(l(61));if(null!=(n=r.__html)){if(null!=a.children)throw Error(l(60));(null!=i?i.__html:void 0)!==n&&(e.innerHTML=n)}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}n=tI(r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":u2("beforetoggle",e),u2("toggle",e),tl(e,"popover",r);break;case"xlinkActuate":tc(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":tc(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":tc(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":tc(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":tc(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":tc(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":tc(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":tc(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":tc(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":tl(e,"is",r);break;case"innerText":case"textContent":return;default:if(2<n.length&&("o"===n[0]||"O"===n[0])&&("n"===n[1]||"N"===n[1]))return;tl(e,n=tR.get(n)||n,r)}to=!0}function cs(e,t,n,r,a,i){switch(n){case"style":tT(e,r,i);return;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(l(61));if(null!=(n=r.__html)){if(null!=a.children)throw Error(l(60));(null!=i?i.__html:void 0)!==n&&(e.innerHTML=n)}}break;case"children":if("string"==typeof r)tE(e,r);else{if("number"!=typeof r&&"bigint"!=typeof r)return;tE(e,""+r)}break;case"onScroll":null!=r&&u2("scroll",e);return;case"onScrollEnd":null!=r&&u2("scrollend",e);return;case"onClick":null!=r&&(e.onclick=tO);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":return;default:if(!te.hasOwnProperty(n))t:{if("o"===n[0]&&"n"===n[1]&&(a=n.endsWith("Capture"),i=n.slice(2,a?n.length-7:void 0),"function"==typeof(t=null!=(t=e[eX]||null)?t[n]:null)&&e.removeEventListener(i,t,a),"function"==typeof r)){"function"!=typeof t&&null!==t&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(i,r,a);break t}to=!0,n in e?e[n]=r:!0===r?e.setAttribute(n,""):tl(e,n,r)}return}to=!0}function cl(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":u2("error",e),u2("load",e);var r,a=!1,i=!1;for(r in n)if(n.hasOwnProperty(r)){var o=n[r];if(null!=o)switch(r){case"src":a=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:co(e,t,r,o,n,null)}}i&&co(e,t,"srcSet",n.srcSet,n,null),a&&co(e,t,"src",n.src,n,null);return;case"input":u2("invalid",e);var s=r=o=i=null,u=null,c=null;for(a in n)if(n.hasOwnProperty(a)){var d=n[a];if(null!=d)switch(a){case"name":i=d;break;case"type":o=d;break;case"checked":u=d;break;case"defaultChecked":c=d;break;case"value":r=d;break;case"defaultValue":s=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(l(137,t));break;default:co(e,t,a,d,n,null)}}t_(e,r,s,u,c,o,i,!1);return;case"select":for(i in u2("invalid",e),a=o=r=null,n)if(n.hasOwnProperty(i)&&null!=(s=n[i]))switch(i){case"value":r=s;break;case"defaultValue":o=s;break;case"multiple":a=s;default:co(e,t,i,s,n,null)}t=r,n=o,e.multiple=!!a,null!=t?tb(e,!!a,t,!1):null!=n&&tb(e,!!a,n,!0);return;case"textarea":for(o in u2("invalid",e),r=i=a=null,n)if(n.hasOwnProperty(o)&&null!=(s=n[o]))switch(o){case"value":a=s;break;case"defaultValue":i=s;break;case"children":r=s;break;case"dangerouslySetInnerHTML":if(null!=s)throw Error(l(91));break;default:co(e,t,o,s,n,null)}tw(e,a,i,r);return;case"option":for(u in n)n.hasOwnProperty(u)&&null!=(a=n[u])&&("selected"===u?e.selected=a&&"function"!=typeof a&&"symbol"!=typeof a:co(e,t,u,a,n,null));return;case"dialog":u2("beforetoggle",e),u2("toggle",e),u2("cancel",e),u2("close",e);break;case"iframe":case"object":u2("load",e);break;case"video":case"audio":for(a=0;a<uZ.length;a++)u2(uZ[a],e);break;case"image":u2("error",e),u2("load",e);break;case"details":u2("toggle",e);break;case"embed":case"source":case"link":u2("error",e),u2("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&null!=(a=n[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:co(e,t,c,a,n,null)}return;default:if(tP(t)){for(d in n)n.hasOwnProperty(d)&&void 0!==(a=n[d])&&cs(e,t,d,a,n,void 0);return}}for(s in n)n.hasOwnProperty(s)&&null!=(a=n[s])&&co(e,t,s,a,n,null)}var cu={};function cc(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var cd=null,cf=null;
527function cp(e){return 9===e.nodeType?e:e.ownerDocument}function ch(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function cm(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function cg(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var cy=null,c_="function"==typeof setTimeout?setTimeout:void 0,cv="function"==typeof clearTimeout?clearTimeout:void 0,cb="function"==typeof Promise?Promise:void 0,cS="function"==typeof queueMicrotask?queueMicrotask:void 0!==cb?function(e){return cb.resolve(null).then(e).catch(cw)}:c_;function cw(e){setTimeout(function(){throw e})}function cE(e){return"head"===e}function ck(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)||"/&"===n){if(0===r){e.removeChild(a),d6(t);return}r--}else if("$"===n||"$?"===n||"$~"===n||"$!"===n||"&"===n)r++;else if("html"===n)c5(e.ownerDocument.documentElement);else if("head"===n){c5(n=e.ownerDocument.head);for(var i=n.firstChild;i;){var o=i.nextSibling,s=i.nodeName;i[e0]||"SCRIPT"===s||"STYLE"===s||"LINK"===s&&"stylesheet"===i.rel.toLowerCase()||n.removeChild(i),i=o}}else"body"===n&&c5(e.ownerDocument.body);n=a}while(n)d6(t)}function cx(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if("/$"===(n=r.data))if(0===e)break;else e--;else"$"!==n&&"$?"!==n&&"$~"!==n&&"$!"!==n||e++;n=r}while(n)}function cT(e,t,n){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,null!=n&&(e.style.viewTransitionClass=n),"inline"===(n=getComputedStyle(e)).display){if(1===(t=e.getClientRects()).length)var r=1;else for(var a=r=0;a<t.length;a++){var i=t[a];0<i.width&&0<i.height&&r++}1===r&&((e=e.style).display=1===t.length?"inline-block":"block",e.marginTop="-"+n.paddingTop,e.marginBottom="-"+n.paddingBottom)}}function cP(e,t){e=e.style;var n=null!=(t=t.style)?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=null==n||"boolean"==typeof n?"":(""+n).trim(),n=null!=t?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=null==n||"boolean"==typeof n?"":(""+n).trim(),"inline-block"===e.display&&(null==t?e.display=e.margin="":(n=t.display,e.display=null==n||"boolean"==typeof n?"":n,null!=(n=t.margin)?e.margin=n:(n=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=null==n||"boolean"==typeof n?"":n,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=null==t||"boolean"==typeof t?"":t)))}function cR(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:"absolute"===t.position||"fixed"===t.position,clip:"none"!==t.clipPath||"visible"!==t.overflow||"none"!==t.filter||"none"!==t.mask||"none"!==t.mask||"0px"!==t.borderRadius,view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function cC(e){return cR(e.getBoundingClientRect(),getComputedStyle(e),e)}function cI(e){var t=e.getBoundingClientRect();return cR(t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height),getComputedStyle(e),e)}function cO(e){this.addEventListener("load",e),this.addEventListener("error",e)}function cN(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}function cA(e){return{name:e,group:new cN("group",e),imagePair:new cN("image-pair",e),old:new cN("old",e),new:new cN("new",e)}}function cM(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}function cL(e,t,n,r){return g(e).addEventListener(t,n,r),!1}function cD(e,t,n,r){return g(e).removeEventListener(t,n,r),!1}function c$(e){return null==e?"0":"boolean"==typeof e?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function cj(e,t,n,r){if(0===e.length)return -1;r=c$(r);for(var a=0;a<e.length;a++){var i=e[a];if(i.type===t&&i.listener===n&&c$(i.optionsOrUseCapture)===r)return a}return -1}function cF(e,t){return 6!==e.tag&&function(e,t){function n(){r=!0}if(e.ownerDocument.activeElement===e)return!0;var r=!1;try{e.ownerDocument.addEventListener("focus",n,!0),(e.focus||HTMLElement.prototype.focu
527s).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",n,!0)}return r}(e=g(e),t)}function cz(e,t){return t.push(e),!1}function cU(e,t){return 6!==e.tag&&!!((e=g(e))===t||e.contains(t))&&(t.blur(),!0)}function cB(e,t){return 6!==e.tag&&(e=g(e),t.observe(e),!1)}function cW(e,t){return 6!==e.tag&&(e=g(e),t.unobserve(e),!1)}function cH(e,t){if(6===e.tag){var n=(e=e.stateNode).ownerDocument.createRange();n.selectNodeContents(e),t.push.apply(t,n.getClientRects())}else e=g(e),t.push.apply(t,e.getClientRects());return!1}function cq(e,t){var n=e.ownerDocument.createRange();n.selectNodeContents(e),e=n.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}function cV(e,t){return cG(e=g(e),t),!1}function cG(e,t){null==e.reactFragments&&(e.reactFragments=new Set),e.reactFragments.add(t)}function cX(e,t){if(3!==e.nodeType){var n=t._eventListeners;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];e.addEventListener(a.type,a.listener,a.optionsOrUseCapture)}null!==t._observers&&t._observers.forEach(function(t){t.observe(e)}),cG(e,t)}}function cY(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":cY(n),e2(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function cK(e,t){for(;8!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t||null===(e=cZ(e.nextSibling)))return null;return e}function cJ(e){return"$?"===e.data||"$~"===e.data}function cQ(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function cZ(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}cN.prototype.animate=function(e,t){return(t="number"==typeof t?{duration:t}:k({},t)).pseudoElement=this._selector,this._scope.animate(e,t)},cN.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),r=[],a=0;a<n.length;a++){var i=n[a].effect;null!==i&&i.target===e&&i.pseudoElement===t&&r.push(n[a])}return r},cN.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)},cM.prototype.addEventListener=function(e,t,n){null===this._eventListeners&&(this._eventListeners=[]);var r=this._eventListeners;-1===cj(r,e,t,n)&&(r.push({type:e,listener:t,optionsOrUseCapture:n}),h(this._fragmentFiber.child,!1,cL,e,t,n)),this._eventListeners=r},cM.prototype.removeEventListener=function(e,t,n){var r=this._eventListeners;null!=r&&0<r.length&&(h(this._fragmentFiber.child,!1,cD,e,t,n),e=cj(r,e,t,n),null!==this._eventListeners&&this._eventListeners.splice(e,1))},cM.prototype.dispatchEvent=function(e){var t=m(this._fragmentFiber);if(null===t)return!0;t=g(t);var n=this._eventListeners;if(null!==n&&0<n.length||!e.bubbles){var r=document.createTextNode("");if(n)for(var a=0;a<n.length;a++){var i=n[a];r.addEventListener(i.type,i.listener,i.optionsOrUseCapture)}if(t.appendChild(r),e=r.dispatchEvent(e),n)for(a=0;a<n.length;a++)i=n[a],r.removeEventListener(i.type,i.listener,i.optionsOrUseCapture);return t.removeChild(r),e}return t.dispatchEvent(e)},cM.prototype.focus=function(e){h(this._fragmentFiber.child,!0,cF,e,void 0,void 0)},cM.prototype.focusLast=function(e){var t=[];h(this._fragmentFiber.child,!0,cz,t,void 0,void 0);for(var n=t.length-1;0<=n&&!cF(t[n],e);n--);},cM.prototype.blur=function(){var e=m(this._fragmentFiber);
527if(null!==e){var t=cp(e=g(e)).activeElement;null!==t&&e.contains(t)&&h(this._fragmentFiber.child,!1,cU,t,void 0,void 0)}},cM.prototype.observeUsing=function(e){null===this._observers&&(this._observers=new Set),this._observers.add(e),h(this._fragmentFiber.child,!1,cB,e,void 0,void 0)},cM.prototype.unobserveUsing=function(e){var t=this._observers;null!==t&&t.has(e)&&(t.delete(e),h(this._fragmentFiber.child,!1,cW,e,void 0,void 0))},cM.prototype.getClientRects=function(){var e=[];return h(this._fragmentFiber.child,!1,cH,e,void 0,void 0),e},cM.prototype.getRootNode=function(e){var t=m(this._fragmentFiber);return null===t?this:g(t).getRootNode(e)},cM.prototype.compareDocumentPosition=function(e){var t=m(this._fragmentFiber);if(null===t)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];h(this._fragmentFiber.child,!1,cz,n,void 0,void 0);var r=g(t);if(0===n.length){n=this._fragmentFiber;var a=r.compareDocumentPosition(e);return t=a,r===e?t=Node.DOCUMENT_POSITION_CONTAINS:a&Node.DOCUMENT_POSITION_CONTAINED_BY&&(h(n.sibling,!1,v),n=y,y=null,t=null===n?Node.DOCUMENT_POSITION_PRECEDING:0===(e=g(n).compareDocumentPosition(e))||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING),t|Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=g(n[0]),a=g(n[n.length-1]);for(var i=!1,o=this._fragmentFiber.return;null!==o&&(4===o.tag&&(i=!0),3!==o.tag&&5!==o.tag);)o=o.return;if(null==(i=i?t.parentElement:r))return Node.DOCUMENT_POSITION_DISCONNECTED;r=i.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,i=i.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_CONTAINED_BY,o=t.compareDocumentPosition(e);var s=a.compareDocumentPosition(e),l=o&Node.DOCUMENT_POSITION_CONTAINED_BY||s&Node.DOCUMENT_POSITION_CONTAINED_BY;return s=r&&i&&o&Node.DOCUMENT_POSITION_FOLLOWING&&s&Node.DOCUMENT_POSITION_PRECEDING,(t=r&&t===e||i&&a===e||l||s?Node.DOCUMENT_POSITION_CONTAINED_BY:(r||t!==e)&&(i||a!==e)?o:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||function(e,t,n,r,a){var i=e3(a);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!i)t:{for(;null!==i;){if(7===i.tag&&(i===t||i.alternate===t)){n=!0;break t}i=i.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(null===i)return i=a.ownerDocument,a===i||a===i.body;t:{for(i=t,t=m(t);null!==i;){if((5===i.tag||3===i.tag)&&(i===t||i.alternate===t)){i=!0;break t}i=i.return}i=!1}return i}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!i)&&!(t=i===n)&&(null===(t=E(n,i,w))?t=!1:(h(t,!0,b,i,n),i=y,y=null,t=null!==i)),t):!!(e&Node.DOCUMENT_POSITION_FOLLOWING)&&((t=!!i)&&!(t=i===r)&&(null===(t=E(r,i,w))?t=!1:(h(t,!0,S,i,r),i=y,_=y=null,t=null!==i)),t)}(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC},cM.prototype.scrollIntoView=function(e){if("object"==typeof e)throw Error(l(566));var t=[];h(this._fragmentFiber.child,!1,cz,t,void 0,void 0);var n=!1!==e;if(0===t.length){var r=this._fragmentFiber,a=[null,null],i=m(r);if(null!==i&&function e(t,n,r){for(var a=3<arguments.length&&void 0!==arguments[3]&&arguments[3];null!==r;){if(r===n)if(a=!0,!r.sibling)return!0;else r=r.sibling;if(5===r.tag||6===r.tag){if(a)return t[1]=r,!0;t[0]=r}else if((22!==r.tag||null===r.memoizedState)&&e(t,n,r.child,a))return!0;r=r.sibling}return!1}(a,r,i.child),null===(r=n?a[1]||a[0]||m(this._fragmentFiber):a[0]||a[1]))return;if(6===r.tag)return void cq(e=g(r),n);if(9!==(r=g(r)).nodeType){if(11===r.nodeType){null!==(n="host"in r?r.host:null)&&n.scrollIntoView(e);return}r.scrollIntoView(e)}}for(r=n?t.length-1:0;r!==(n?-1:t.length);)6===(a=t[r]).tag?cq(a=g(a),n):g(a).scrollIntoView(e),r+=n?-1:1};var c0=null;function c1(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n||"/&"===n){if(0===t)return cZ(e.nextSibling);t--}else"$"!==n&&"$!"!==n&&"$?"!==n&&"$~"!==n&&"&"!==n||t++}e=e.nextSibling}return null}function c2(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n||"$~"===n||"&"===n){if(0===t)return e;t--}else"/$"!==n&&"/&"!==n||t++}e=e.previousSibling}return null}function c3(e,t,n){switch(t=cp(n),e){case"html":if(!(e=t.documentElement))throw Error(l(452));return e;
527case"head":if(!(e=t.head))throw Error(l(453));return e;case"body":if(!(e=t.body))throw Error(l(454));return e;default:throw Error(l(451))}}function c4(e,t,n){for(var r in n){var a=n[r];n.hasOwnProperty(r)&&null!=a&&co(e,t,r,null,cu,a)}null!=n.dangerouslySetInnerHTML&&(e.textContent=""),e.onclick===tO&&(e.onclick=null),e2(e)}function c5(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);e2(e)}var c6=new Map,c8=new Set;function c7(e){if("function"==typeof e.getRootNode){var t=e.getRootNode();if(9===t.nodeType||11===t.nodeType)return t}return 9===e.nodeType?e:e.ownerDocument}var c9=X.d;X.d={f:function(){var e=c9.f(),t=uo();return e||t},r:function(e){var t=e4(e);null!==t&&5===t.tag&&"form"===t.type?og(t):c9.r(e)},D:function(e){c9.D(e),dt("dns-prefetch",e,null)},C:function(e,t){c9.C(e,t),dt("preconnect",e,t)},L:function(e,t,n){if(c9.L(e,t,n),de&&e&&t){var r='link[rel="preload"][as="'+tg(t)+'"]';"image"===t&&n&&n.imageSrcSet?(r+='[imagesrcset="'+tg(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(r+='[imagesizes="'+tg(n.imageSizes)+'"]')):r+='[href="'+tg(e)+'"]';var a=r;switch(t){case"style":a=dr(e);break;case"script":a=ds(e)}if(!(c6.has(a)||(e=k({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),c6.set(a,e),null!==de.querySelector(r)||"style"===t&&de.querySelector(da(a))||"script"===t&&de.querySelector(dl(a))))){var i=de.createElement("link");cl(i,"link",e),"style"===t&&(i[e1]=!0,i.onload=i.onerror=function(){e7(i)}),e8(i),de.head.appendChild(i)}}},m:function(e,t){if(c9.m(e,t),de&&e){var n=t&&"string"==typeof t.as?t.as:"script",r='link[rel="modulepreload"][as="'+tg(n)+'"][href="'+tg(e)+'"]',a=r;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=ds(e)}if(!c6.has(a)&&(e=k({rel:"modulepreload",href:e},t),c6.set(a,e),null===de.querySelector(r))){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(de.querySelector(dl(a)))return}cl(n=de.createElement("link"),"link",e),e8(n),de.head.appendChild(n)}}},X:function(e,t){if(c9.X(e,t),de&&e){var n=e6(de).hoistableScripts,r=ds(e),a=n.get(r);a||((a=de.querySelector(dl(r)))||(e=k({src:e,async:!0},t),(t=c6.get(r))&&df(e,t),e8(a=de.createElement("script")),cl(a,"link",e),de.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},n.set(r,a))}},S:function(e,t,n){if(c9.S(e,t,n),de&&e){var r=e6(de).hoistableStyles,a=dr(e);t=t||"default";var i=r.get(a);if(!i){var o={loading:0,preload:null};if(i=de.querySelector(da(a)))o.loading=5;else{e=k({rel:"stylesheet",href:e,"data-precedence":t},n),(n=c6.get(a))&&dd(e,n);var s=i=de.createElement("link");e8(s),cl(s,"link",e),s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),s.addEventListener("load",function(){o.loading|=1}),s.addEventListener("error",function(){o.loading|=2}),o.loading|=4,dc(i,t,de)}i={type:"stylesheet",instance:i,count:1,state:o},r.set(a,i)}}},M:function(e,t){if(c9.M(e,t),de&&e){var n=e6(de).hoistableScripts,r=ds(e),a=n.get(r);a||((a=de.querySelector(dl(r)))||(e=k({src:e,async:!0,type:"module"},t),(t=c6.get(r))&&df(e,t),e8(a=de.createElement("script")),cl(a,"link",e),de.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},n.set(r,a))}}};var de="u"<typeof document?null:document;function dt(e,t,n){if(de&&"string"==typeof t&&t){var r=tg(t);r='link[rel="'+e+'"][href="'+r+'"]',"string"==typeof n&&(r+='[crossorigin="'+n+'"]'),c8.has(r)||(c8.add(r),e={rel:e,crossOrigin:n,href:t},null===de.querySelector(r)&&(cl(t=de.createElement("link"),"link",e),e8(t),de.head.appendChild(t)))}}function dn(e,t,n,r){var a=(a=er.current)?c7(a):null;if(!a)throw Error(l(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(n=dr(n.href),(r=(t=e6(a).hoistableStyles).get(n))||(r={type:"style",instance:null,count:0,state:null},t.set(n,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=dr(n.href);var i=e6(a).hoistableStyles,o=i.get(e);if(o||(a=a.ownerDocument||a,o={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,o),(i=a.querySelector(da(e)))?i._p||(o.instance=i,o.state.loading=5):((i=c6.get(e))||(i={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},c6.set(e,i)),function(e,t,n,r){if(t=e.querySelector('link[rel="preload"][as="style"]['+t+"]")){if(!0!==t[e1]){r.loading=1;return}}else(t=e.createElement("link"))[e1]=!0,t.onload=t.onerror=e7.bind(null,t),cl(t,"link",n),e8(t),e.head.appendChild(t);r.preload=t,t.addEventListener("load",function(){return r.loading|=1}),t.addEventListener("error",function(){return r.loading|=2})}(a,e,i,o.state))),t&&null===r)throw Error(l(528,""));return o}if(t&&null!==r)throw Error(l(529,""));return null;
527case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(n=ds(n),(r=(t=e6(a).hoistableScripts).get(n))||(r={type:"script",instance:null,count:0,state:null},t.set(n,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,e))}}function dr(e){return'href="'+tg(e)+'"'}function da(e){return'link[rel="stylesheet"]['+e+"]"}function di(e){return k({},e,{"data-precedence":e.precedence,precedence:null})}function ds(e){return'[src="'+tg(e)+'"]'}function dl(e){return"script[async]"+e}function du(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+tg(n.href)+'"]');if(r)return t.instance=r,e8(r),r;var a=k({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return e8(r=(e.ownerDocument||e).createElement("style")),cl(r,"style",a),dc(r,n.precedence,e),t.instance=r;case"stylesheet":a=dr(n.href);var i=e.querySelector(da(a));if(i)return t.state.loading|=4,t.instance=i,e8(i),i;r=di(n),(a=c6.get(a))&&dd(r,a),e8(i=(e.ownerDocument||e).createElement("link"));var o=i;return o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),cl(i,"link",r),t.state.loading|=4,dc(i,n.precedence,e),t.instance=i;case"script":if(i=ds(n.src),a=e.querySelector(dl(i)))return t.instance=a,e8(a),a;return r=n,(a=c6.get(i))&&df(r=k({},n),a),e8(a=(e=e.ownerDocument||e).createElement("script")),cl(a,"link",r),e.head.appendChild(a),t.instance=a;case"void":return null;default:throw Error(l(443,t.type))}return"stylesheet"===t.type&&0==(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,dc(r,n.precedence,e)),t.instance}function dc(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=r.length?r[r.length-1]:null,i=a,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)i=s;else if(i!==a)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function dd(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function df(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var dp=null;function dh(e,t,n){if(null===dp){var r=new Map,a=dp=new Map;a.set(n,r)}else(r=(a=dp).get(n))||(r=new Map,a.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),a=0;a<n.length;a++){var i=n[a];if(!(i[e0]||i[eG]||"link"===e&&"stylesheet"===i.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==i.namespaceURI){var o=i.getAttribute(t)||"";o=e+o;var s=r.get(o);s?s.push(i):r.set(o,[i])}}return r}function dm(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function dg(e,t){return"img"===e&&null!=t.src&&""!==t.src&&null==t.onLoad&&"lazy"!==t.loading}function dy(e){return"stylesheet"!==e.type||0!=(3&e.state.loading)}function d_(e){return(e.width||100)*(e.height||100)*("number"==typeof devicePixelRatio?devicePixelRatio:1)*.25}function dv(e,t){"function"==typeof t.decode&&(e.imgCount++,t.complete||(e.imgBytes+=d_(t),e.suspenseyImages.push(t)),e=dE.bind(e),t.decode().then(e,e))}var db=0;function dS(e){if(0===e.count&&(0===e.imgCount||!e.waitingForImages)){if(e.stylesheets)dx(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function dw(){this.count--,dS(this)}function dE(){this.imgCount--,dS(this)}var dk=null;function dx(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,dk=new Map,t.forEach(dT,e),dk=null,dw.call(e))}function dT(e,t){if(!(4&t.state.loading)){var n=dk.get(e);if(n)var r=n.get(null);else{n=new Map,dk.set(e,n);for(var a=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<a.length;i++){var o=a[i];("LINK"===o.nodeName||"not all"!==o.getAttribute("media"))&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}o=(a=t.instance).getAttribute("data-precedence"),(i=n.get(o)||r)===r&&n.set(null,a),n.set(o,a),this.count++,r=dw.bind(this),a.addEventListener("load",r),a.addEventListener("error",r),i?i.parentNode.insertBefore(a,i.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(a,e.firstChild),t.state.loading|=4}}var dP={$$typeof:N,Provider:null,Consumer:null,_currentValue:Y,_currentValue2:Y,_threadCount:0};function dR(e,t,n,r,a,i,o,s,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=e$(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=e$(0),this.hiddenUpdates=e$(null),this.identifierPrefix=r,this.onUncaughtError=a,this.onCaughtError=i,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.transitionTypes=null,this.incompleteTransitions=new Map}function dC(e,t,n,r,a,i,o,s,l,u,c,d){return e=new dR(e,t,n,o,l,u,c,d,s),t=1,!0===i&&(t|=24),i=rS(3,null,null,t),e.current=i,i.stateNode=e,t=af
vendor: 4,421 bytes, line 527
527(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:r,isDehydrated:n,cache:t},aq(i),e}function dI(e,t,n,r,a,i){a=a?rv:rv,null===r.context?r.context=a:r.pendingContext=a,(r=aG(t)).payload={element:n},null!==(i=void 0===i?null:i)&&(r.callback=i),null!==(n=aX(e,r,t))&&(un(n,e,t),aY(n,e,t))}function dO(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function dN(e,t){dO(e,t),(e=e.alternate)&&dO(e,t)}function dA(e){if(13===e.tag||31===e.tag){var t=rg(e,0x4000000);null!==t&&un(t,e,0x4000000),dN(e,0x4000000)}}function dM(e){if(13===e.tag||31===e.tag){var t=l9(),n=rg(e,t=eB(t));null!==n&&un(n,e,t),dN(e,t)}}var dL=!0;function dD(e,t,n,r){var a=G.T;G.T=null;var i=X.p;try{X.p=2,dj(e,t,n,r)}finally{X.p=i,G.T=a}}function d$(e,t,n,r){var a=G.T;G.T=null;var i=X.p;try{X.p=8,dj(e,t,n,r)}finally{X.p=i,G.T=a}}function dj(e,t,n,r){if(dL){var a=dF(r);if(null===a)u8(e,t,r,dz,n),dJ(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return dH=dQ(dH,e,t,n,r,a),!0;case"dragenter":return dq=dQ(dq,e,t,n,r,a),!0;case"mouseover":return dV=dQ(dV,e,t,n,r,a),!0;case"pointerover":var i=a.pointerId;return dG.set(i,dQ(dG.get(i)||null,e,t,n,r,a)),!0;case"gotpointercapture":return i=a.pointerId,dX.set(i,dQ(dX.get(i)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(dJ(e,r),4&t&&-1<dK.indexOf(e)){for(;null!==a;){var i=e4(a);if(null!==i)switch(i.tag){case 3:if((i=i.stateNode).current.memoizedState.isDehydrated){var o=eA(i.pendingLanes);if(0!==o){var s=i;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var l=1<<31-eP(o);s.entanglements[1]|=l,o&=~l}uB(i),0==(6&lP)&&(lX=e_()+500,uW(0,!1))}}break;case 31:case 13:null!==(s=rg(i,2))&&un(s,i,2),uo(),dN(i,2)}if(null===(i=dF(r))&&u8(e,t,r,dz,n),i===a)break;a=i}null!==a&&r.stopPropagation()}else u8(e,t,r,null,n)}}function dF(e){return dU(e=tA(e))}var dz=null;function dU(e){if(dz=null,null!==(e=e3(e))){var t=c(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=d(t)))return e;e=null}else if(31===n){if(null!==(e=f(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return dz=e,null}function dB(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ev()){case eb:return 2;case eS:return 8;case ew:case eE:return 32;case ek:return 0x10000000;default:return 32}default:return 32}}var dW=!1,dH=null,dq=null,dV=null,dG=new Map,dX=new Map,dY=[],dK="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function dJ(e,t){switch(e){case"focusin":case"focusout":dH=null;break;case"dragenter":case"dragleave":dq=null;break;case"mouseover":case"mouseout":dV=null;break;case"pointerover":case"pointerout":dG.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":dX.delete(t.pointerId)}}function dQ(e,t,n,r,a,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[a]},null!==t&&null!==(t=e4(t))&&dA(t)):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.pu
527sh(a)),e}function dZ(e){var t=e3(e.target);if(null!==t){var n=c(t);if(null!==n){if(13===(t=n.tag)){if(null!==(t=d(n))){e.blockedOn=t,eq(e.priority,function(){dM(n)});return}}else if(31===t){if(null!==(t=f(n))){e.blockedOn=t,eq(e.priority,function(){dM(n)});return}}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===n.tag?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function d0(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=dF(e.nativeEvent);if(null!==n)return null!==(t=e4(n))&&dA(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);tN=r,n.target.dispatchEvent(r),tN=null,t.shift()}return!0}function d1(e,t,n){d0(e)&&n.delete(t)}function d2(){dW=!1,null!==dH&&d0(dH)&&(dH=null),null!==dq&&d0(dq)&&(dq=null),null!==dV&&d0(dV)&&(dV=null),dG.forEach(d1),dX.forEach(d1)}function d3(e,t){e.blockedOn===t&&(e.blockedOn=null,dW||(dW=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,d2)))}var d4=null;function d5(e){d4!==e&&(d4=e,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){d4===e&&(d4=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],a=e[t+2];if("function"!=typeof r)if(null===dU(r||n))continue;else break;var i=e4(n);null!==i&&(e.splice(t,3),t-=3,oh(i,{pending:!0,data:a,method:n.method,action:r},r,a))}}))}function d6(e){function t(t){return d3(t,e)}null!==dH&&d3(dH,e),null!==dq&&d3(dq,e),null!==dV&&d3(dV,e),dG.forEach(t),dX.forEach(t);for(var n=0;n<dY.length;n++){var r=dY[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<dY.length&&null===(n=dY[0]).blockedOn;)dZ(n),null===n.blockedOn&&dY.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var a=n[r],i=n[r+1],o=a[eX]||null;if("function"==typeof i)o||d5(n);else if(o){var s=null;if(i&&i.hasAttribute("formAction")){if(a=i,o=i[eX]||null)s=o.formAction;else if(null!==dU(a))continue}else s=o.action;"function"==typeof s?n[r+1]=s:(n.splice(r,3),r-=3),d5(n)}}}function d8(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return a=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==a&&(a(),a=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var r=!1,a=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==a&&(a(),a=null)}}}function d7(e){this._internalRoot=e}function d9(e){this._internalRoot=e}d9.prototype.render=d7.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(l(409));dI(t.current,l9(),e,t,null,null)},d9.prototype.unmount=d7.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dI(e.current,2,null,e,null,null),uo(),t[eY]=null}},d9.prototype.unstable_scheduleHydration=function(e){if(e){var t=eH();e={blockedOn:null,target:e,priority:t};for(var n=0;n<dY.length&&0!==t&&t<dY[n].priority;n++);dY.splice(n,0,e),0===n&&dZ(e)}};var fe=o.version;if("19.3.0-canary-cbb046ab-20260731"!==fe)throw Error(l(527,fe,"19.3.0-canary-cbb046ab-20260731"));if(X.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(l(188));throw Error(l(268,e=Object.keys(e).join(",")))}return null===(e=null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=c(e)))throw Error(l(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(r=a.return)){n=r;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return p(a),e;if(i===r)return p(a),t;i=i.sibling}throw Error(l(188))}if(n.return!==r.return)n=a,r=i;else{for(var o=!1,s=a.child;s;){if(s===n){o=!0,n=a,r=i;break}if(s===r){o=!0,r=a,n=i;break}s=s.sibling}if(!o){for(s=i.child;s;){if(s===n){o=!0,n=i,r=a;break}if(s===r){o=!0,r=i,n=a;break}s=s.sibling}if(!o)throw Error(l(189))}}if(n.alternate!==r)throw Error(l(190))}if(3!==n.tag)throw Error(l(188));return n.stateNode.current===n?e:t}(t))?function e(t){var n=t.tag;if(5===n||26===n||27===n||6===n)return t;for(t=t.child;null!==t;){if(null!==(n=e(t)))return n;t=t.sibling}return null}(e):null)?null:e.stateNode},"u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ft=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ft.isDisabled&&ft.supportsFiber)try{ex=ft.inject({bundleType:0,version:"19.3.0-canary-cbb046ab-20260731",rendererPackageName:"react-dom",currentDispatcherRef:G,reconcilerVersion:"19.3.0-canary-cbb046ab-20260731"}),eT=ft}catch(e){}}n.createRoot=function(e,t){if(!u(e))throw Error(l(299));var n=!1,r="",a=o$,i=oj,o=oF;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(a=t.onUncaughtError),void 0!==t.onCaughtError&&(i=t.onCaughtError),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=dC(e,1,!1,null,null,n,r,null,a,i,o,d8),e[eY]=t.current,u5(e),new d7(t)},n.hydrateRoot=function(e,t,n){if(!u(e))throw Error(l(299));var r,a=!1,i="",o=o$,s=oj,c=oF,d=null;return null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onUncaughtError&&(o=n.onUncaughtError),void 0!==n.onCaughtError&&(s=n.onCaughtError),void 0!==n.onRecoverableError&&(c=n.onRecoverableError),void 0!==n.formState&&(d=n.formState)),(t=dC(e,1,!0,t,null!=n?n:null,a,i,d,o,s,c,d8)).context=(r=null,rv),n=t.current,(i=aG
527(a=eB(a=l9()))).callback=null,aX(n,i,a),n=a,t.current.lanes=n,ej(t,n),uB(t),e[eY]=t.current,u5(e),new d9(t)},n.version="19.3.0-canary-cbb046ab-20260731"},605269,(e,t,n)=>{"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),t.exports=e.r(598981)},733769,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BloomFilter",{enumerable:!0,get:function(){return r}});class r{constructor(e,t=1e-4){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}static from(e,t=1e-4){let n=new r(e.length,t);for(let t of e)n.add(t);return n}export(){return{numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray}}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){this.getHashValues(e).forEach(e=>{this.bitArray[e]=1})}contains(e){return this.getHashValues(e).every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let n=1;n<=this.numHashes;n++){let r=function(e){let t=0;for(let n=0;n<e.length;n++)t=Math.imul(t^e.charCodeAt(n),0x5bd1e995),t^=t>>>13,t=Math.imul(t,0x5bd1e995);return t>>>0}(`${e}${n}`)%this.numBits;t.push(r)}return t}}},43108,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"escapeStringRegexp",{enumerable:!0,get:function(){return i}});let r=/[|\\{}()[\]^$+*?.-]/,a=/[|\\{}()[\]^$+*?.-]/g;function i(e){return r.test(e)?e.replace(a,"\\$&"):e}},694612,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={getObjectClassLabel:function(){return i},isPlainObject:function(){return o}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});function i(e){return Object.prototype.toString.call(e)}function o(e){if("[object Object]"!==i(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}},141863,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={default:function(){return o},getProperError:function(){return s}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(694612);function o(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function s(e){let t;return o(e)?e:Object.defineProperty(Error((0,i.isPlainObject)(e)?(t=new WeakSet,JSON.stringify(e,(e,n)=>{if("object"==typeof n&&null!==n){if(t.has(n))return"[Circular]";t.add(n)}return n})):e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}},438865,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"reportGlobalError",{enumerable:!0,get:function(){return r}});let r="function"==typeof reportError?reportError:e=>{globalThis.console.error(e)};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},887873,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={isRecoverableError:function(){return c},onRecoverableError:function(){return d}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(836437),o=e.r(834918),s=i._(e.r(141863)),l=e.r(438865),u=new WeakSet;function c(e){return u.has(e)}let d=e=>{let t=(0,s.default)(e)&&"cause"in e?e.cause:e;(0,o.isBailoutToCSRError)(t)||(0,l.reportGlobalError)(t)};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},139180,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"addPathSuffix",{enumerable:!0,get:function(){return a}});let r=e.r(46417);function a(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:n,query:a,hash:i}=(0,r.parsePath)(e);return`${n}${t}${a}${i}`}},861192,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"addLocale",{enumerable:!0,get:function(){return i}});let r=e.r(224672),a=e.r(463505);function i(e,t,n,i){if(!t||t===n)return e;let o=e.toLowerCase();return!i&&((0,a.pathHasPrefix)(o,"/api")||(0,a.pathHasPrefix)(o,`/${t.toLowerCase()}`))?e:(0,r.addPathPrefix)(e,`/${t}`)}},117827,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});let r=e.r(953208),a=e.r(224672),i=e.r(139180),o=e.r(861192);function s(e){let t=(0,o.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,r.removeTrailingSlash)(t)),e.buildId&&(t=(0,i.addPathSuffix)((0,a.addPathPrefix)(t,`/_next/data/${e.buildId}`),"/"===e.pathname?"index.json":".json")),t=(0,a.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,i.addPathSuffix)(t,"/"):(0,r.removeTrailingSlash)(t)}},590506,(e,t,n)=>{"use strict";function r(e,t){let n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let r=n.length;r--;){let a=n[r];if("query"===a){let n=Object.keys(e.query);if(n.length!==Object.keys(t.query).length)return!1;for(let r=n.length;r--;){let a=n[r];if(!t.query.hasOwnProperty(a)||e.query[a]!==t.query[a])return!1}}else if(!t.hasOwnProperty(a)||e[a]!==t[a])return!1}return!0}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"compareRouterStates",{enumerable:!0,get:function(){return r}})},795675,(e,t,n)=>{"use strict";function r(e,t=""){return("/"===e?"/index":/^\/index(\/|$)/.test(e)?`/index${e}`:e)+t}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r}})},61168,(e,t,n)=>{"use strict";let r;function a(e){return(void 0===r&&"u">typeof window&&(r=window.trustedTypes?.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})||null),r)?.createScriptURL(e)||e}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return a}}),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
527dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},20491,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"interpolateAs",{enumerable:!0,get:function(){return i}});let r=e.r(195398),a=e.r(892521);function i(e,t,n){let i="",o=(0,a.getRouteRegex)(e),s=o.groups,l=(t!==e?(0,r.getRouteMatcher)(o)(t):"")||n;i=e;let u=Object.keys(s);return u.every(e=>{let t=l[e]||"",{repeat:n,optional:r}=s[e],a=`[${n?"...":""}${e}]`;return r&&(a=`${!t?"/":""}[${a}]`),n&&!Array.isArray(t)&&(t=[t]),(r||e in l)&&(i=i.replace(a,n?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(i=""),{params:u,result:i}}},154100,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"resolveHref",{enumerable:!0,get:function(){return p}});let r=e.r(614945),a=e.r(634835),i=e.r(349645),o=e.r(557829),s=e.r(283090),l=e.r(280777),u=e.r(61319),c=e.r(20491),d=e.r(892521),f=e.r(195398);function p(e,t,n){let p,h="string"==typeof t?t:(0,a.formatWithValidation)(t),m=h.match(/^[a-z][a-z0-9+.-]*:\/\//i),g=m?h.slice(m[0].length):h;if((g.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error(`Invalid href '${h}' passed to next/router in page: '${e.pathname}'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.`);let t=(0,o.normalizeRepeatedSlashes)(g);h=(m?m[0]:"")+t}if(!(0,l.isLocalURL)(h))return n?[h]:h;try{let t=h.startsWith("#")?e.asPath:e.pathname;if(h.startsWith("?")&&(t=e.asPath,(0,u.isDynamicRoute)(e.pathname))){t=e.pathname;let n=(0,d.getRouteRegex)(e.pathname);(0,f.getRouteMatcher)(n)(e.asPath)||(t=e.asPath)}p=new URL(t,"http://n")}catch(e){p=new URL("/","http://n")}try{let e=new URL(h,p);e.pathname=(0,s.normalizePathTrailingSlash)(e.pathname);let t="";if((0,u.isDynamicRoute)(e.pathname)&&e.searchParams&&n){let n=(0,r.searchParamsToUrlQuery)(e.searchParams),{result:o,params:s}=(0,c.interpolateAs)(e.pathname,e.pathname,n);o&&(t=(0,a.formatWithValidation)({pathname:o,hash:e.hash,query:(0,i.omit)(n,s)}))}let o=e.origin===p.origin?e.href.slice(e.origin.length):e.href;return n?[o,t||o]:o}catch(e){return n?[h]:h}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},416653,(e,t,n)=>{"use strict";function r(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"isAPIRoute",{enumerable:!0,get:function(){return r}})},513315,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"isDynamicRoute",{enumerable:!0,get:function(){return o}});let r=e.r(140164),a=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,i=/\/\[[^/]+\](?=\/|$)/;function o(e,t=!0){return((0,r.isInterceptionRouteAppPath)(e)&&(e=(0,r.extractInterceptionRouteInformation)(e).interceptedRoute),t)?i.test(e):a.test(e)}},61319,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={getSortedRouteObjects:function(){return i.getSortedRouteObjects},getSortedRoutes:function(){return i.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(316266),o=e.r(513315)},496212,(e,t,n)=>{"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"normalizePathSep",{enumerable:!0,get:function(){return r}})},124301,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"denormalizePagePath",{enumerable:!0,get:function(){return i}});let r=e.r(61319),a=e.r(496212);function i(e){let t=(0,a.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,r.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},725829,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"normalizeLocalePath",{enumerable:!0,get:function(){return a}});let r=new WeakMap;function a(e,t){let n;if(!t)return{pathname:e};let a=r.get(t);a||(a=t.map(e=>e.toLowerCase()),r.set(t,a));let i=e.split("/",2);if(!i[1])return{pathname:e};let o=i[1].toLowerCase(),s=a.indexOf(o);return s<0?{pathname:e}:(n=t[s],{pathname:e=e.slice(n.length+1)||"/",detectedLocale:n})}},950934,(e,t,n)=>{"use strict";function r(){let e=Object.create(null);return{on(t,n){(e[t]||(e[t]=[])).push(n)},off(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit(t,...n){(e[t]||[]).slice().map(e=>{e(...n)})}}}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r}})},349645,(e,t,n)=>{"use strict";function r(e,t){let n={};return Object.keys(e).forEach(r=>{t.includes(r)||(n[r]=e[r])}),n}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"omit",{enumerable:!0,get:function(){return r}})},440864,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"parseLoaderTree",{enumerable:!0,get:function(){return a}});let r=e.r(315112);function a(e){let[t,n,a,i]=e,{layout:o,template:s}=a,{page:l}=a;l=t===r.DEFAULT_SEGMENT_KEY?a.defaultPage:l;let u=o?.[1]||s?.[1]||l?.[1];return{page:l,segment:t,modules:a,conventionPath:u,parallelRoutes:n,staticSiblings:i}}},67158,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={getParamProperties:function(){return l},getSegmentParam:function(){return o},isCatchAll:function(){return s}};
527for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(140164);function o(e){let t=i.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t));return(t&&(e=e.slice(t.length)),e.startsWith("[[...")&&e.endsWith("]]"))?{paramType:"optional-catchall",paramName:e.slice(5,-2)}:e.startsWith("[...")&&e.endsWith("]")?{paramType:t?`catchall-intercepted-${t}`:"catchall",paramName:e.slice(4,-1)}:e.startsWith("[")&&e.endsWith("]")?{paramType:t?`dynamic-intercepted-${t}`:"dynamic",paramName:e.slice(1,-1)}:null}function s(e){return"catchall"===e||"catchall-intercepted-(..)(..)"===e||"catchall-intercepted-(.)"===e||"catchall-intercepted-(..)"===e||"catchall-intercepted-(...)"===e||"optional-catchall"===e}function l(e){let t=!1,n=!1;switch(e){case"catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":t=!0;break;case"optional-catchall":t=!0,n=!0}return{repeat:t,optional:n}}},709019,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={isInterceptionAppRoute:function(){return c},isNormalizedAppRoute:function(){return u},parseAppRouteSegment:function(){return l},parseAppRouteWithSlots:function(){return p},parseNormalizedAppRoute:function(){return f}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(165142),o=e.r(67158),s=e.r(140164);function l(e){if(""===e)return null;let t=s.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),n=(0,o.getSegmentParam)(e);return n?{type:"dynamic",name:e,param:n,interceptionMarker:t}:e.startsWith("(")&&e.endsWith(")")?{type:"route-group",name:e,interceptionMarker:t}:e.startsWith("@")?{type:"parallel-route",name:e,interceptionMarker:t}:{type:"static",name:e,interceptionMarker:t}}function u(e){return e.normalized}function c(e){return void 0!==e.interceptionMarker&&void 0!==e.interceptingRoute&&void 0!==e.interceptedRoute}function d(e,t){let n,r,a,s=e.split("/").filter(Boolean),u=[];for(let c of s){let s=l(function(e){if(!/%5b|%5d/i.test(e))return e;try{let t=decodeURIComponent(e);return(0,o.getSegmentParam)(t)?t:e}catch{return e}}(c));if(s){if("route-group"===s.type&&!(2&t))throw Object.defineProperty(new i.InvariantError(`${e} is being parsed as a normalized route, but it has a route group segment.`),"__NEXT_ERROR_CODE",{value:"E1151",enumerable:!1,configurable:!0});if("parallel-route"===s.type&&!(1&t))throw Object.defineProperty(new i.InvariantError(`${e} is being parsed as a normalized route, but it has a parallel route segment.`),"__NEXT_ERROR_CODE",{value:"E1152",enumerable:!1,configurable:!0});if(u.push(s),s.interceptionMarker){let i=e.split(s.interceptionMarker);if(2!==i.length)throw Object.defineProperty(Error(`Invalid interception route: ${e}`),"__NEXT_ERROR_CODE",{value:"E924",enumerable:!1,configurable:!0});r=d(i[0],t),a=d(i[1],t),n=s.interceptionMarker}}}let c=u.filter(e=>"dynamic"===e.type);return{normalized:0===t,pathname:e,segments:u,dynamicSegments:c,interceptionMarker:n,interceptingRoute:r,interceptedRoute:a}}function f(e){return d(e,0)}function p(e){return d(e,1)}},99102,(e,t,n)=>{"use strict";function r(e){switch(e){case"catchall-intercepted-(..)(..)":case"dynamic-intercepted-(..)(..)":return"(..)(..)";case"catchall-intercepted-(.)":case"dynamic-intercepted-(.)":return"(.)";case"catchall-intercepted-(..)":case"dynamic-intercepted-(..)":return"(..)";case"catchall-intercepted-(...)":case"dynamic-intercepted-(...)":return"(...)";default:return null}}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"interceptionPrefixFromParamType",{enumerable:!0,get:function(){return r}})},795754,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"resolveParamValue",{enumerable:!0,get:function(){return i}});let r=e.r(165142),a=e.r(99102);function i(e,t,n,i,o){switch(t){case"catchall":case"optional-catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":let s=[];for(let e=n;e<i.segments.length;e++){let r=i.segments[e];if("static"===r.type){let i=r.name,o=(0,a.interceptionPrefixFromParamType)(t);o&&e===n&&o===r.interceptionMarker&&(i=i.replace(r.interceptionMarker,"")),s.push(i)}else{if(!o.hasOwnProperty(r.param.paramName)){if("optional-catchall"===r.param.paramType)break;return}let e=o[r.param.paramName];
527Array.isArray(e)?s.push(...e):s.push(e)}}if(s.length>0)return s;if("optional-catchall"===t)return;throw Object.defineProperty(new r.InvariantError(`Unexpected empty path segments match for a route "${i.pathname}" with param "${e}" of type "${t}"`),"__NEXT_ERROR_CODE",{value:"E931",enumerable:!1,configurable:!0});case"dynamic":case"dynamic-intercepted-(..)(..)":case"dynamic-intercepted-(.)":case"dynamic-intercepted-(..)":case"dynamic-intercepted-(...)":if(n<i.segments.length){let e=i.segments[n];if("dynamic"===e.type&&!o.hasOwnProperty(e.param.paramName))return;return"dynamic"===e.type?o[e.param.paramName]:(0,a.interceptionPrefixFromParamType)(t)===e.interceptionMarker?e.name.replace(e.interceptionMarker,""):e.name}return}}},914350,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={PARAMETER_PATTERN:function(){return d},getDynamicParam:function(){return c},interpolateParallelRouteParams:function(){return u},parseMatchedParameter:function(){return p},parseParameter:function(){return f}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(165142),o=e.r(440864),s=e.r(709019),l=e.r(795754);function u(e,t,n,r){let a=structuredClone(t),u=[{tree:e,depth:0}],c=(0,s.parseNormalizedAppRoute)(n);for(;u.length>0;){let{tree:e,depth:t}=u.pop(),{segment:n,parallelRoutes:d}=(0,o.parseLoaderTree)(e),f=(0,s.parseAppRouteSegment)(n);if(f?.type==="dynamic"&&!a.hasOwnProperty(f.param.paramName)&&!r?.has(f.param.paramName)){let{paramName:e,paramType:n}=f.param,r=(0,l.resolveParamValue)(e,n,t,c,a);if(void 0!==r)a[e]=r;else if("optional-catchall"!==n)throw Object.defineProperty(new i.InvariantError(`Could not resolve param value for segment: ${e}`),"__NEXT_ERROR_CODE",{value:"E932",enumerable:!1,configurable:!0})}let p=t;for(let e of(f&&"route-group"!==f.type&&"parallel-route"!==f.type&&p++,Object.values(d)))u.push({tree:e,depth:p})}return a}function c(e,t,n,r,a){let o=function(e,t,n){let r=e[t];if(n?.has(t)){let[e]=n.get(t);r=e}else Array.isArray(r)?r=r.map(e=>encodeURIComponent(e)):"string"==typeof r&&(r=encodeURIComponent(r));return r}(e,t,r);if(!o||0===o.length){if("oc"===n)return{param:t,value:null,type:n,treeSegment:[t,"",n,a]};throw Object.defineProperty(new i.InvariantError(`Missing value for segment key: "${t}" with dynamic param type: ${n}`),"__NEXT_ERROR_CODE",{value:"E864",enumerable:!1,configurable:!0})}let s=Array.isArray(o)?o.join("/"):o;return{param:t,value:o,treeSegment:[t,s,n,a],type:n}}let d=/^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;function f(e){let t=e.match(d);return t?p(t[2]):p(e)}function p(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let n=e.startsWith("...");return n&&(e=e.slice(3)),{key:e,repeat:n,optional:t}}},892521,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={getNamedMiddlewareRegex:function(){return m},getNamedRouteRegex:function(){return h},getRouteRegex:function(){return d}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(505789),o=e.r(140164),s=e.r(43108),l=e.r(953208),u=e.r(914350);function c(e,t,n){let r={},a=1,i=[];for(let c of(0,l.removeTrailingSlash)(e).slice(1).split("/")){let e=o.INTERCEPTION_ROUTE_MARKERS.find(e=>c.startsWith(e)),l=c.match(u.PARAMETER_PATTERN);if(e&&l&&l[2]){let{key:t,optional:n,repeat:o}=(0,u.parseMatchedParameter)(l[2]);r[t]={pos:a++,repeat:o,optional:n},i.push(`/${(0,s.escapeStringRegexp)(e)}([^/]+?)`)}else if(l&&l[2]){let{key:e,repeat:t,optional:o}=(0,u.parseMatchedParameter)(l[2]);r[e]={pos:a++,repeat:t,optional:o},n&&l[1]&&i.push(`/${(0,s.escapeStringRegexp)(l[1])}`);let c=t?o?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)";n&&l[1]&&(c=c.substring(1)),i.push(c)}else i.push(`/${(0,s.escapeStringRegexp)(c)}`);t&&l&&l[3]&&i.push((0,s.escapeStringRegexp)(l[3]))}return{parameterizedRoute:i.join(""),groups:r}}function d(e,{includeSuffix:t=!1,includePrefix:n=!1,excludeOptionalTrailingSlash:r=!1}={}){let{parameterizedRoute:a,groups:i}=c(e,t,n),o=a;return r||(o+="(?:/)?"),{re:RegExp(`^${o}$`),groups:i}}function f({interceptionMarker:e,getSafeRouteKey:t,segment:n,routeKeys:r,keyPrefix:a,backreferenceDuplicateKeys:i}){let o,{key:l,optional:c,repeat:d}=(0,u.parseMatchedParameter)(n),p=l.replace(/\W/g,"");a&&(p=`${a}${p}`);let h=!1;(0===p.length||p.length>30)&&(h=!0),isNaN(parseInt(p.slice(0,1)))||(h=!0),h&&(p=t());let m=p in r;a?r[p]=`${a}${l}`:r[p]=l;let g=e?(0,s.escapeStringRegexp)(e):"";return o=m&&i?`\\k<${p}>`:d?`(?<${p}>.+?)`:`(?<${p}>
527[^/]+?)`,{key:l,pattern:c?`(?:/${g}${o})?`:`/${g}${o}`,cleanedKey:p,optional:c,repeat:d}}function p(e,t,n,r,a,c={names:{},intercepted:{}}){let d,h=(d=0,()=>{let e="",t=++d;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),m={},g=[],y=[];for(let d of(c=structuredClone(c),(0,l.removeTrailingSlash)(e).slice(1).split("/"))){let e,l=o.INTERCEPTION_ROUTE_MARKERS.some(e=>d.startsWith(e)),p=d.match(u.PARAMETER_PATTERN),_=l?p?.[1]:void 0;if(_&&p?.[2]?(e=t?i.NEXT_INTERCEPTION_MARKER_PREFIX:void 0,c.intercepted[p[2]]=_):e=p?.[2]&&c.intercepted[p[2]]?t?i.NEXT_INTERCEPTION_MARKER_PREFIX:void 0:t?i.NEXT_QUERY_PARAM_PREFIX:void 0,_&&p&&p[2]){let{key:t,pattern:n,cleanedKey:r,repeat:i,optional:o}=f({getSafeRouteKey:h,interceptionMarker:_,segment:p[2],routeKeys:m,keyPrefix:e,backreferenceDuplicateKeys:a});g.push(n),y.push(`/${p[1]}:${c.names[t]??r}${i?o?"*":"+":""}`),c.names[t]??=r}else if(p&&p[2]){r&&p[1]&&(g.push(`/${(0,s.escapeStringRegexp)(p[1])}`),y.push(`/${p[1]}`));let{key:t,pattern:n,cleanedKey:i,repeat:o,optional:l}=f({getSafeRouteKey:h,segment:p[2],routeKeys:m,keyPrefix:e,backreferenceDuplicateKeys:a}),u=n;r&&p[1]&&(u=u.substring(1)),g.push(u),y.push(`/:${c.names[t]??i}${o?l?"*":"+":""}`),c.names[t]??=i}else g.push(`/${(0,s.escapeStringRegexp)(d)}`),y.push(`/${d}`);n&&p&&p[3]&&(g.push((0,s.escapeStringRegexp)(p[3])),y.push(p[3]))}return{namedParameterizedRoute:g.join(""),routeKeys:m,pathToRegexpPattern:y.join(""),reference:c}}
527function h(e,t){let n=p(e,t.prefixRouteKeys,t.includeSuffix??!1,t.includePrefix??!1,t.backreferenceDuplicateKeys??!1,t.reference),r=n.namedParameterizedRoute;return t.excludeOptionalTrailingSlash||(r+="(?:/)?"),{...d(e,t),namedRegex:`^${r}$`,routeKeys:n.routeKeys,pathToRegexpPattern:n.pathToRegexpPattern,reference:n.reference}}function m(e,t){let{parameterizedRoute:n}=c(e,!1,!1),{catchAll:r=!0}=t;if("/"===n)return{namedRegex:`^/${r?".*":""}$`};let{namedParameterizedRoute:a}=p(e,!1,!1,!1,!1,void 0);return{namedRegex:`^${a}${r?"(?:(/.*)?)":""}$`}}},986670,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={DYNAMIC_FILTER_PLACEHOLDER:function(){return i},hasDynamicFilterCandidate:function(){return o}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i="[]";function o(e,t,n){let r=e.split("/"),a=t.split("/"),o=r[r.length-1]??"";if(!(o.startsWith("[...")||o.startsWith("[[..."))&&r.length!==a.length)return!1;let s=[];for(let e=1;e<a.length;e++){if(""===a[e])continue;let t=r[e];(void 0===t||t.startsWith("["))&&s.push(e)}if(0===s.length||s.length>8)return!1;let l=(1<<s.length)-1;for(let e=0;e<l;e++){let t=a.slice();for(let n=0;n<s.length;n++)(e&1<<n)==0&&(t[s[n]]=i);if(n(t.join("/")))return!0}return!1}},35646,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"parseRelativeUrl",{enumerable:!0,get:function(){return i}});let r=e.r(557829),a=e.r(614945);function i(e,t,n=!0){let o=new URL("u"<typeof window?"http://n":(0,r.getLocationOrigin)()),s=t?new URL(t,o):e.startsWith(".")?new URL("u"<typeof window?"http://n":window.location.href):o,{pathname:l,searchParams:u,search:c,hash:d,href:f,origin:p}=e.startsWith("/")?new URL(`${s.protocol}//${s.host}${e}`):new URL(e,s);if(p!==o.origin)throw Object.defineProperty(Error(`invariant: invalid relative URL, router received ${e}`),"__NEXT_ERROR_CODE",{value:"E159",enumerable:!1,configurable:!0});return{auth:null,host:null,hostname:null,pathname:l,port:null,protocol:null,query:n?(0,a.searchParamsToUrlQuery)(u):void 0,search:c,hash:d,href:f.slice(p.length),slashes:null}}},315586,(e,t,n)=>{(()=>{"use strict";"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab="/ROOT/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected]_@types+_aa616e7558fd99b886a3958acf48ffda/node_modules/next/dist/compiled/path-to-regexp/");var e={};(()=>{function t(e,t){void 0===t&&(t={});for(var n=function(e){for(var t=[],n=0;n<e.length;){var r=e[n];if("*"===r||"+"===r||"?"===r){t.push({type:"MODIFIER",index:n,value:e[n++]});continue}if("\\"===r){t.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});continue}if("{"===r){t.push({type:"OPEN",index:n,value:e[n++]});continue}if("}"===r){t.push({type:"CLOSE",index:n,value:e[n++]});continue}if(":"===r){for(var a="",i=n+1;i<e.length;){var o=e.charCodeAt(i);if(o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122||95===o){a+=e[i++];continue}break}if(!a)throw TypeError("Missing parameter name at ".concat(n));t.push({type:"NAME",index:n,value:a}),n=i;continue}if("("===r){var s=1,l="",i=n+1;if("?"===e[i])throw TypeError('Pattern cannot start with "?" at '.concat(i));for(;i<e.length;){if("\\"===e[i]){l+=e[i++]+e[i++];continue}if(")"===e[i]){if(0==--s){i++;break}}else if("("===e[i]&&(s++,"?"!==e[i+1]))throw TypeError("Capturing groups are not allowed at ".concat(i));l+=e[i++]}if(s)throw TypeError("Unbalanced pattern at ".concat(n));if(!l)throw TypeError("Missing pattern at ".concat(n));t.push({type:"PATTERN",index:n,value:l}),n=i;continue}t.push({type:"CHAR",index:n,value:e[n++]})}return t.push({type:"END",index:n,value:""}),t}(e),r=t.prefixes,i=void 0===r?"./":r,o=t.delimiter,s=void 0===o?"/#?":o,l=[],u=0,c=0,d="",f=function(e){if(c<n.length&&n[c].type===e)return n[c++].value},p=function(e){var t=f(e);if(void 0!==t)return t;var r=n[c],a=r.type,i=r.index;throw TypeError("Unexpected ".concat(a," at ").concat(i,", expected ").concat(e))},h=function(){for(var e,t="";e=f("CHAR")||f("ESCAPED_CHAR");)t+=e;return t},m=function(e){for(var t=0;t<s.length;t++){var n=s[t];if(e.indexOf(n)>-1)return!0}return!1},g=function(e){var t=l[l.length-1],n=e||(t&&"string"==typeof t?t:"");
527if(t&&!n)throw TypeError('Must have text between two parameters, missing text after "'.concat(t.name,'"'));return!n||m(n)?"[^".concat(a(s),"]+?"):"(?:(?!".concat(a(n),")[^").concat(a(s),"])+?")};c<n.length;){var y=f("CHAR"),_=f("NAME"),v=f("PATTERN");if(_||v){var b=y||"";-1===i.indexOf(b)&&(d+=b,b=""),d&&(l.push(d),d=""),l.push({name:_||u++,prefix:b,suffix:"",pattern:v||g(b),modifier:f("MODIFIER")||""});continue}var S=y||f("ESCAPED_CHAR");if(S){d+=S;continue}if(d&&(l.push(d),d=""),f("OPEN")){var b=h(),w=f("NAME")||"",E=f("PATTERN")||"",k=h();p("CLOSE"),l.push({name:w||(E?u++:""),pattern:w&&!E?g(b):E,prefix:b,suffix:k,modifier:f("MODIFIER")||""});continue}p("END")}return l}function n(e,t){void 0===t&&(t={});var n=i(t),r=t.encode,a=void 0===r?function(e){return e}:r,o=t.validate,s=void 0===o||o,l=e.map(function(e){if("object"==typeof e)return new RegExp("^(?:".concat(e.pattern,")$"),n)});return function(t){for(var n="",r=0;r<e.length;r++){var i=e[r];if("string"==typeof i){n+=i;continue}var o=t?t[i.name]:void 0,u="?"===i.modifier||"*"===i.modifier,c="*"===i.modifier||"+"===i.modifier;if(Array.isArray(o)){if(!c)throw TypeError('Expected "'.concat(i.name,'" to not repeat, but got an array'));if(0===o.length){if(u)continue;throw TypeError('Expected "'.concat(i.name,'" to not be empty'))}for(var d=0;d<o.length;d++){var f=a(o[d],i);if(s&&!l[r].test(f))throw TypeError('Expected all "'.concat(i.name,'" to match "').concat(i.pattern,'", but got "').concat(f,'"'));n+=i.prefix+f+i.suffix}continue}if("string"==typeof o||"number"==typeof o){var f=a(String(o),i);if(s&&!l[r].test(f))throw TypeError('Expected "'.concat(i.name,'" to match "').concat(i.pattern,'", but got "').concat(f,'"'));n+=i.prefix+f+i.suffix;continue}if(!u){var p=c?"an array":"a string";throw TypeError('Expected "'.concat(i.name,'" to be ').concat(p))}}return n}}function r(e,t,n){void 0===n&&(n={});var r=n.decode,a=void 0===r?function(e){return e}:r;return function(n){var r=e.exec(n);if(!r)return!1;for(var i=r[0],o=r.index,s=Object.create(null),l=1;l<r.length;l++)!function(e){if(void 0!==r[e]){var n=t[e-1];"*"===n.modifier||"+"===n.modifier?s[n.name]=r[e].split(n.prefix+n.suffix).map(function(e){return a(e,n)}):s[n.name]=a(r[e],n)}}(l);return{path:i,index:o,params:s}}}function a(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function i(e){return e&&e.sensitive?"":"i"}function o(e,t,n){void 0===n&&(n={});for(var r=n.strict,o=void 0!==r&&r,s=n.start,l=n.end,u=n.encode,c=void 0===u?function(e){return e}:u,d=n.delimiter,f=n.endsWith,p="[".concat(a(void 0===f?"":f),"]|$"),h="[".concat(a(void 0===d?"/#?":d),"]"),m=void 0===s||s?"^":"",g=0;g<e.length;g++){var y=e[g];if("string"==typeof y)m+=a(c(y));else{var _=a(c(y.prefix)),v=a(c(y.suffix));if(y.pattern)if(t&&t.push(y),_||v)if("+"===y.modifier||"*"===y.modifier){var b="*"===y.modifier?"?":"";m+="(?:".concat(_,"((?:").concat(y.pattern,")(?:").concat(v).concat(_,"(?:").concat(y.pattern,"))*)").concat(v,")").concat(b)}else m+="(?:".concat(_,"(").concat(y.pattern,")").concat(v,")").concat(y.modifier);else{if("+"===y.modifier||"*"===y.modifier)throw TypeError('Can not repeat "'.concat(y.name,'" without a prefix and suffix'));m+="(".concat(y.pattern,")").concat(y.modifier)}else m+="(?:".concat(_).concat(v,")").concat(y.modifier)}}if(void 0===l||l)o||(m+="".concat(h,"?")),m+=n.endsWith?"(?=".concat(p,")"):"$";else{var S=e[e.length-1],w="string"==typeof S?h.indexOf(S[S.length-1])>-1:void 0===S;o||(m+="(?:".concat(h,"(?=").concat(p,"))?")),w||(m+="(?=".concat(h,"|").concat(p,")"))}return new RegExp(m,i(n))}function s(e,n,r){if(e instanceof RegExp){var a;if(!n)return e;for(var l=/\((?:\?<(.*?)>)?(?!\?)/g,u=0,c=l.exec(e.source);c;)n.push({name:c[1]||u++,prefix:"",suffix:"",modifier:"",pattern:""}),c=l.exec(e.source);return e}return Array.isArray(e)?(a=e.map(function(e){return s(e,n,r).source}),new RegExp("(?:".concat(a.join("|"),")"),i(r))):o(t(e,r),n,r)}Object.defineProperty(e,"__esModule",{value:!0}),e.pathToRegexp=e.tokensToRegexp=e.regexpToFunction=e.match=e.tokensToFunction=e.compile=e.parse=void 0,e.parse=t,e.compile=function(e,r){return n(t(e,r),r)},e.tokensToFunction=n,e.match=function(e,t){var n=[];return r(s(e,n,t),n,t)},e.regexpToFunction=r,e.tokensToRegexp=o,e.pathToRegexp=s})(),t.exports=e})()},614243,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={PARAM_SEPARATOR:function(){return i},hasAdjacentParameterIssues:function(){return o},normalizeAdjacentParameters:function(){return s},normalizeTokensForRegexp:function(){return l},stripNormalizedSeparators:function(){return u},stripParameterSeparators:function(){return c}};
527for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i="_NEXTSEP_";function o(e){return"string"==typeof e&&!!(/\/\(\.{1,3}\):[^/\s]+/.test(e)||/:[a-zA-Z_][a-zA-Z0-9_]*:[a-zA-Z_][a-zA-Z0-9_]*/.test(e))}function s(e){let t=e;return(t=t.replace(/(\([^)]*\)):([^/\s]+)/g,`$1${i}:$2`)).replace(/:([^:/\s)]+)(?=:)/g,`:$1${i}`)}function l(e){return e.map(e=>"object"==typeof e&&null!==e&&"modifier"in e&&("*"===e.modifier||"+"===e.modifier)&&"prefix"in e&&"suffix"in e&&""===e.prefix&&""===e.suffix?{...e,prefix:"/"}:e)}function u(e){return e.replace(RegExp(`\\)${i}`,"g"),")")}function c(e){let t={};for(let[n,r]of Object.entries(e))"string"==typeof r?t[n]=r.replace(RegExp(`^${i}`),""):Array.isArray(r)?t[n]=r.map(e=>"string"==typeof e?e.replace(RegExp(`^${i}`),""):e):t[n]=r;return t}},272910,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={safeCompile:function(){return l},safePathToRegexp:function(){return s},safeRegexpToFunction:function(){return u},safeRouteMatcher:function(){return c}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(315586),o=e.r(614243);function s(e,t,n){if("string"!=typeof e)return(0,i.pathToRegexp)(e,t,n);let r=(0,o.hasAdjacentParameterIssues)(e),a=r?(0,o.normalizeAdjacentParameters)(e):e;try{return(0,i.pathToRegexp)(a,t,n)}catch(a){if(!r)try{let r=(0,o.normalizeAdjacentParameters)(e);return(0,i.pathToRegexp)(r,t,n)}catch(e){}throw a}}function l(e,t){let n=(0,o.hasAdjacentParameterIssues)(e),r=n?(0,o.normalizeAdjacentParameters)(e):e;try{let e=(0,i.compile)(r,t);if(n)return t=>(0,o.stripNormalizedSeparators)(e(t));return e}catch(r){if(!n)try{let n=(0,o.normalizeAdjacentParameters)(e),r=(0,i.compile)(n,t);return e=>(0,o.stripNormalizedSeparators)(r(e))}catch(e){}throw r}}function u(e,t){let n=(0,i.regexpToFunction)(e,t||[]);return e=>{let t=n(e);return!!t&&{...t,params:(0,o.stripParameterSeparators)(t.params)}}}function c(e){return t=>{let n=e(t);return!!n&&(0,o.stripParameterSeparators)(n)}}},195398,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getRouteMatcher",{enumerable:!0,get:function(){return i}});let r=e.r(557829),a=e.r(272910);function i({re:e,groups:t}){return(0,a.safeRouteMatcher)(n=>{let a=e.exec(n);if(!a)return!1;let i=e=>{try{return decodeURIComponent(e)}catch{throw Object.defineProperty(new r.DecodeError("failed to decode param"),"__NEXT_ERROR_CODE",{value:"E528",enumerable:!1,configurable:!0})}},o={};for(let[e,n]of Object.entries(t)){let t=a[n.pos];void 0!==t&&(n.repeat?o[e]=t.split("/").map(e=>i(e)):o[e]=i(t))}return o})}},567440,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getPathMatch",{enumerable:!0,get:function(){return a}});let r=e.r(315586);function a(e,t){let n=[],a=(0,r.pathToRegexp)(e,n,{delimiter:"/",sensitive:"boolean"==typeof t?.sensitive&&t.sensitive,strict:t?.strict}),i=(0,r.regexpToFunction)(t?.regexModifier?new RegExp(t.regexModifier(a.source),a.flags):a,n);return(e,r)=>{if("string"!=typeof e)return!1;let a=i(e);if(!a)return!1;if(t?.removeUnnamedParams)for(let e of n)"number"==typeof e.name&&delete a.params[e.name];return{...r,...a.params}}}},14264,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"parseUrl",{enumerable:!0,get:function(){return i}});let r=e.r(614945),a=e.r(35646);function i(e){if(e.startsWith("/"))return(0,a.parseRelativeUrl)(e);let t=new URL(e),n=t.username,i=t.password,o=n?i?`${n}:${i}`:n:null,s=t.pathname,l=t.search;return{auth:o,hash:t.hash,hostname:t.hostname,href:t.href,pathname:s,port:t.port,protocol:t.protocol,query:(0,r.searchParamsToUrlQuery)(t.searchParams),search:l,origin:t.origin,slashes:"//"===t.href.slice(t.protocol.length,t.protocol.length+2)}}},5810,(e,t,n)=>{(()=>{"use strict";"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab="/ROOT/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected]_@types+_aa616e7558fd99b886a3958acf48ffda/node_modules/next/dist/compiled/cookie/");var e,n,r,a,i={};i.parse=function(t,n){if("string"!=typeof t)throw TypeError("argument str must be a string");for(var a={},i=t.split(r),o=(n||{}).decode||e,s=0;s<i.length;s++){var l=i[s],u=l.indexOf("=");if(!(u<0)){var c=l.substr(0,u).trim(),d=l.substr(++u,l.length).trim();'"'==d[0]&&(d=d.slice(1,-1)),void 0==a[c]&&(a[c]=function(e,t){try{return t(e)}catch(t){return e}}(d,o))}}return a},i.serialize=function(e,t,r){var i=r||{},o=i.encode||n;if("function"!=typeof o)throw TypeError("option encode is invali
527d");if(!a.test(e))throw TypeError("argument name is invalid");var s=o(t);if(s&&!a.test(s))throw TypeError("argument val is invalid");var l=e+"="+s;if(null!=i.maxAge){var u=i.maxAge-0;if(isNaN(u)||!isFinite(u))throw TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(u)}if(i.domain){if(!a.test(i.domain))throw TypeError("option domain is invalid");l+="; Domain="+i.domain}if(i.path){if(!a.test(i.path))throw TypeError("option path is invalid");l+="; Path="+i.path}if(i.expires){if("function"!=typeof i.expires.toUTCString)throw TypeError("option expires is invalid");l+="; Expires="+i.expires.toUTCString()}if(i.httpOnly&&(l+="; HttpOnly"),i.secure&&(l+="; Secure"),i.sameSite)switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:case"strict":l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"none":l+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return l},e=decodeURIComponent,n=encodeURIComponent,r=/; */,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,t.exports=i})()},31406,(e,t,n)=>{"use strict";function r(t){return function(){let{cookie:n}=t;if(!n)return{};let{parse:r}=e.r(5810);return r(Array.isArray(n)?n.join("; "):n)}}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getCookieParser",{enumerable:!0,get:function(){return r}})},839608,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={compileNonPath:function(){return f},matchHas:function(){return d},parseDestination:function(){return p},prepareDestination:function(){return h}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(43108),o=e.r(14264),s=e.r(140164),l=e.r(31406),u=e.r(272910);function c(e){return e.replace(/__ESC_COLON_/gi,":")}function d(e,t,n=[],r=[]){let a={},i=n=>{let r,i=n.key;switch(n.type){case"header":i=i.toLowerCase(),r=e.headers[i];break;case"cookie":r="cookies"in e?e.cookies[n.key]:(0,l.getCookieParser)(e.headers)()[n.key];break;case"query":r=t[i];break;case"host":{let{host:t}=e?.headers||{};r=t?.split(":",1)[0].toLowerCase()}}if(!n.value&&r)return a[function(e){let t="";for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);(r>64&&r<91||r>96&&r<123)&&(t+=e[n])}return t}(i)]=r,!0;if(r){let e=RegExp(`^${n.value}$`),t=Array.isArray(r)?r.slice(-1)[0].match(e):r.match(e);if(t)return Array.isArray(t)&&(t.groups?Object.keys(t.groups).forEach(e=>{a[e]=t.groups[e]}):"host"===n.type&&t[0]&&(a.host=t[0])),!0}return!1};return!(!n.every(e=>i(e))||r.some(e=>i(e)))&&a}function f(e,t){if(!e.includes(":"))return e;for(let n of Object.keys(t))e.includes(`:${n}`)&&(e=e.replace(RegExp(`:${n}\\*`,"g"),`:${n}--ESCAPED_PARAM_ASTERISKS`).replace(RegExp(`:${n}\\?`,"g"),`:${n}--ESCAPED_PARAM_QUESTION`).replace(RegExp(`:${n}\\+`,"g"),`:${n}--ESCAPED_PARAM_PLUS`).replace(RegExp(`:${n}(?!\\w)`,"g"),`--ESCAPED_PARAM_COLON${n}`));return e=e.replace(/(:|\*|\?|\+|\(|\)|\{|\})/g,"\\$1").replace(/--ESCAPED_PARAM_PLUS/g,"+").replace(/--ESCAPED_PARAM_COLON/g,":").replace(/--ESCAPED_PARAM_QUESTION/g,"?").replace(/--ESCAPED_PARAM_ASTERISKS/g,"*"),(0,u.safeCompile)(`/${e}`,{validate:!1})(t).slice(1)}function p(e){let t=e.destination;for(let n of Object.keys({...e.params,...e.query}))n&&(t=t.replace(RegExp(`:${(0,i.escapeStringRegexp)(n)}`,"g"),`__ESC_COLON_${n}`));let n=(0,o.parseUrl)(t),r=n.pathname;r&&(r=c(r));let a=n.href;a&&(a=c(a));let s=n.hostname;s&&(s=c(s));let l=n.hash;l&&(l=c(l));let u=n.search;u&&(u=c(u));let d=n.origin;return d&&(d=c(d)),{...n,pathname:r,hostname:s,href:a,hash:l,search:u,origin:d}}function h(e){let t,n,r=p(e),{hostname:a,query:i,search:o}=r,l=r.pathname;r.hash&&(l=`${l}${r.hash}`);let d=[],h=[];for(let e of((0,u.safePathToRegexp)(l,h),h))d.push(e.name);if(a){let e=[];for(let t of((0,u.safePathToRegexp)(a,e),e))d.push(t.name)}let m=(0,u.safeCompile)(l,{validate:!1});for(let[n,r]of(a&&(t=(0,u.safeCompile)(a,{validate:!1,encode:encodeURIComponent})),Object.entries(i)))Array.isArray(r)?i[n]=r.map(t=>f(c(t),e.params)):"string"==typeof r&&(i[n]=f(c(r),e.params));let g=Object.keys(e.params).filter(e=>"nextInternalLocale"!==e);if(e.appendParamsToQuery&&!g.some(e=>d.includes(e)))for(let t of g)t in i||(i[t]=e.params[t]);if((0,s.isInterceptionRouteAppPath)(l))for(let t of l.split("/")){let n=s.INTERCEPTION_ROUTE_MARKERS.find(e=>t.startsWith(e));if(n){"(..)(..)"===n?(e.params["0"]="(..)",e.params["1"]="(..)"):e.params["0"]=n;break}}try{let[a,i]=(n=m(e.params)).split("#",2);t&&(r.hostname=t(e.params)),r.pathname=a,r.hash=`${i?"#":""}${i||""}`,r.search=o?f(o,e.params):""}catch(e){if(e.message.match(/Expected .*? to not repeat, but got an array/))throw Object.defineProperty(Error("To use a multi-match in the destination you must add `*` at the end of the param name to signify it should repeat. https://nextjs.org/docs/messages/invalid-multi-match"),"__NEXT_ERROR_CODE",{value:"E329",enumerable:!1,
527configurable:!0});throw e}return r.query={...e.query,...r.query},{newUrl:n,destQuery:i,parsedDestination:r}}},794561,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return u}});let r=e.r(567440),a=e.r(839608),i=e.r(953208),o=e.r(725829),s=e.r(64014),l=e.r(35646);function u(e,t,n,u,c,d){let f,p=!1,h=!1,m=(0,l.parseRelativeUrl)(e),g=(0,i.removeTrailingSlash)((0,o.normalizeLocalePath)((0,s.removeBasePath)(m.pathname),d).pathname),y=n=>{let l=(0,r.getPathMatch)(n.source+"",{removeUnnamedParams:!0,strict:!0})(m.pathname);if((n.has||n.missing)&&l){let e=(0,a.matchHas)({headers:{host:document.location.hostname,"user-agent":navigator.userAgent},cookies:document.cookie.split("; ").reduce((e,t)=>{let[n,...r]=t.split("=");return e[n]=r.join("="),e},{})},m.query,n.has,n.missing);e?Object.assign(l,e):l=!1}if(l){if(!n.destination)return h=!0,!0;let r=(0,a.prepareDestination)({appendParamsToQuery:!0,destination:n.destination,params:l,query:u});if(m=r.parsedDestination,e=r.newUrl,Object.assign(u,r.parsedDestination.query),g=(0,i.removeTrailingSlash)((0,o.normalizeLocalePath)((0,s.removeBasePath)(e),d).pathname),t.includes(g))return p=!0,f=g,!0;if((f=c(g))!==e&&t.includes(f))return p=!0,!0}},_=!1;for(let e=0;e<n.beforeFiles.length;e++)y(n.beforeFiles[e]);if(!(p=t.includes(g))){if(!_){for(let e=0;e<n.afterFiles.length;e++)if(y(n.afterFiles[e])){_=!0;break}}if(_||(f=c(g),_=p=t.includes(f)),!_){for(let e=0;e<n.fallback.length;e++)if(y(n.fallback[e])){_=!0;break}}}return{asPath:e,parsedAs:m,matchedPage:p,resolvedHref:f,externalDest:h}}},229137,(e,t,n)=>{"use strict";let r;Object.defineProperty(n,"__esModule",{value:!0});var a={createKey:function(){return K},default:function(){return Z},matchesMiddleware:function(){return B}};for(var i in a)Object.defineProperty(n,i,{enumerable:!0,get:a[i]});let o=e.r(836437),s=e.r(56421),l=e.r(953208),u=e.r(685186),c=e.r(223061),d=s._(e.r(141863)),f=e.r(124301),p=e.r(725829),h=o._(e.r(950934)),m=e.r(557829),g=e.r(513315),y=e.r(35646),_=e.r(195398),v=e.r(892521),b=e.r(986670),S=e.r(634835);e.r(925601);let w=e.r(46417),E=e.r(551317),k=e.r(586360),x=e.r(64014),T=e.r(90861),P=e.r(716821),R=e.r(154100),C=e.r(416653),I=e.r(915028),O=e.r(117827),N=e.r(590506),A=e.r(280777),M=e.r(699271),L=e.r(349645),D=e.r(20491),$=e.r(912383),j=e.r(505789),F=e.r(118439),z=e.r(374841);function U(){return Object.assign(Object.defineProperty(Error("Route Cancelled"),"__NEXT_ERROR_CODE",{value:"E315",enumerable:!1,configurable:!0}),{cancelled:!0})}async function B(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:n}=(0,w.parsePath)(e.asPath),r=(0,P.hasBasePath)(n)?(0,x.removeBasePath)(n):n,a=(0,T.addBasePath)((0,E.addLocale)(r,e.locale));return t.some(e=>new RegExp(e.regexp).test(a))}function W(e){let t=(0,m.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function H(e,t,n){let[r,a]=(0,R.resolveHref)(e,t,!0),i=(0,m.getLocationOrigin)(),o=r.startsWith(i),s=a&&a.startsWith(i);r=W(r),a=a?W(a):a;let l=o?r:(0,T.addBasePath)(r),u=n?W((0,R.resolveHref)(e,n)):a||r;return{url:l,as:s?u:(0,T.addBasePath)(u)}}function q(e,t){let n=(0,l.removeTrailingSlash)((0,f.denormalizePagePath)(e));return"/404"===n||"/_error"===n?e:(t.includes(n)||t.some(t=>{if((0,g.isDynamicRoute)(t)&&(0,v.getRouteRegex)(t).re.test(n))return e=t,!0}),(0,l.removeTrailingSlash)(e))}async function V(e){if(!await B(e)||!e.fetchData)return null;let t=await e.fetchData(),n=await function(e,t,n){let a={basePath:n.router.basePath,i18n:{locales:n.router.locales},trailingSlash:!1},i=t.headers.get("x-nextjs-rewrite"),o=i||t.headers.get("x-nextjs-matched-path"),s=t.headers.get(j.MATCHED_PATH_HEADER);if(!s||o||s.includes("__next_data_catchall")||s.includes("/_error")||s.includes("/404")||(o=s),o){if(o.startsWith("/")){let t=(0,y.parseRelativeUrl)(o),s=(0,I.getNextPathnameInfo)(t.pathname,{nextConfig:a,parseData:!0}),c=(0,l.removeTrailingSlash)(s.pathname);return Promise.all([n.router.pageLoader.getPageList(),(0,u.getClientBuildManifest)()]).then(([o,{__rewrites:l}])=>{let u=(0,E.addLocale)(s.pathname,s.locale);if((0,g.isDynamicRoute)(u)||!i&&o.includes((0,p.normalizeLocalePath)((0,x.removeBasePath)(u),n.router.locales).pathname)){let n=(0,I.getNextPathnameInfo)((0,y.parseRelativeUrl)(e).pathname,{nextConfig:{basePath:a.basePath,trailingSlash:a.trailingSlash},parseData:!0}
527);t.pathname=u=(0,T.addBasePath)(n.pathname)}{let e=r(u,o,l,t.query,e=>q(e,o),n.router.locales);e.matchedPage&&(t.pathname=e.parsedAs.pathname,u=t.pathname,Object.assign(t.query,e.parsedAs.query))}let d=o.includes(c)?c:q((0,p.normalizeLocalePath)((0,x.removeBasePath)(t.pathname),n.router.locales).pathname,o);if((0,g.isDynamicRoute)(d)){let e=(0,_.getRouteMatcher)((0,v.getRouteRegex)(d))(u);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:d}})}let t=(0,w.parsePath)(e),s=(0,O.formatNextPathnameInfo)({...(0,I.getNextPathnameInfo)(t.pathname,{nextConfig:a,parseData:!0}),defaultLocale:n.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-external",destination:`${s}${t.query}${t.hash}`})}let c=t.headers.get("x-nextjs-redirect");if(c){if(c.startsWith("/")){let e=(0,w.parsePath)(c),t=(0,O.formatNextPathnameInfo)({...(0,I.getNextPathnameInfo)(e.pathname,{nextConfig:a,parseData:!0}),defaultLocale:n.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:`${t}${e.query}${e.hash}`,newUrl:`${t}${e.query}${e.hash}`})}return Promise.resolve({type:"redirect-external",destination:c})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:n}}r=e.r(794561).default;let G=Symbol("SSG_DATA_NOT_FOUND");function X(e){try{return JSON.parse(e)}catch(e){return null}}function Y({dataHref:e,inflightCache:t,isPrefetch:n,hasMiddleware:r,isServerRender:a,parseJSON:i,persistCache:o,isBackground:s,unstable_skipClientCache:l}){let{href:c}=new URL(e,window.location.href),d=(0,F.getDeploymentId)(),f=s=>(function e(t,n,r){return fetch(t,{credentials:"same-origin",method:r.method||"GET",headers:Object.assign({},r.headers,{"x-nextjs-data":"1"})}).then(a=>!a.ok&&n>1&&a.status>=500?e(t,n-1,r):a)})(e,a?3:1,{headers:Object.assign({},n?{purpose:"prefetch"}:{},n&&r?{"x-middleware-prefetch":"1"}:{},d?{"x-deployment-id":d}:{}),method:s?.method??"GET"}).then(t=>t.ok&&s?.method==="HEAD"?{dataHref:e,response:t,text:"",json:{},cacheKey:c}:t.text().then(n=>{if(!t.ok){if(r&&[301,302,307,308].includes(t.status))return{dataHref:e,response:t,text:n,json:{},cacheKey:c};if(404===t.status&&X(n)?.notFound)return{dataHref:e,json:{notFound:G},response:t,text:n,cacheKey:c};let i=Object.defineProperty(Error("Failed to load static props"),"__NEXT_ERROR_CODE",{value:"E124",enumerable:!1,configurable:!0});throw a||(0,u.markAssetError)(i),i}let o=t.headers.get(j.NEXT_NAV_DEPLOYMENT_ID_HEADER);if(null!=o&&o!==d){let e=Object.defineProperty(Error("Loaded static props were from an outdated deployment, forcing a hard reload"),"__NEXT_ERROR_CODE",{value:"E989",enumerable:!1,configurable:!0});throw a||(0,u.markAssetError)(e),e}return{dataHref:e,json:i?X(n):null,response:t,text:n,cacheKey:c}})).then(e=>(o&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete t[c],e)).catch(e=>{throw l||delete t[c],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,u.markAssetError)(e),e});return l&&o?f({}).then(e=>("no-cache"!==e.response.headers.get("x-middleware-cache")&&(t[c]=Promise.resolve(e)),e)):void 0!==t[c]?t[c]:t[c]=f(s?{method:"HEAD"}:{})}function K(){return Math.random().toString(36).slice(2,10)}function J({url:e,router:t}){if(e===(0,T.addBasePath)((0,E.addLocale)(t.asPath,t.locale)))throw Object.defineProperty(Error(`Invariant: attempted to hard navigate to the same URL ${e} ${location.href}`),"__NEXT_ERROR_CODE",{value:"E282",enumerable:!1,configurable:!0});window.location.href=e}let Q=({route:e,router:t})=>{let n=!1,r=t.clc=()=>{n=!0};return()=>{if(n){let t=Object.defineProperty(Error(`Abort fetching component for route: "${e}"`),"__NEXT_ERROR_CODE",{value:"E483",enumerable:!1,configurable:!0});throw t.cancelled=!0,t}r===t.clc&&(t.clc=null)}};class Z{static{this.events=(0,h.default)()}constructor(e,t,n,{initialProps:r,pageLoader:a,App:i,wrapApp:o,Component:s,err:u,subscription:c,isFallback:d,locale:f,locales:p,defaultLocale:h,domainLocales:_,isPreview:v}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=K(),this.onPopState=e=>{let t,{isFirstPopStateEvent:n}=this;this.isFirstPopStateEvent=!1;let r=e.state;if(!r){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,S.formatWithValidation)({pathname:(0,T.addBasePath)(e),query:t}),(0,m.getURL)());return}if(r.__NA)return void window.location.reload();if(!r.__N||n&&this.locale===r.options.locale&&r.as===this.asPath)return;let{url:a,as:i,options:o,key:s}=r;this._key=s;let{pathname:l}=(0,y.parseRelativeUrl)(a);this.isSsr&&i===(0,T.addBasePath)(this.asPath)&&l===(0,T.addBasePath)(this.pathname)||(!this._bps||this._bps(r))&&this.change("replaceState",a,i,Object.assign({},o,{shallow:o.shallow&&this._shallow,locale:o.locale||this.defaultLocale,_h:0}),t)};const b=(0,l.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[b]={Component:s,initial:!0,props:r,err:u,__N_SSG:r&&r.__N_SSG,__N_SSP:r&&r.__N_SSP}),this.components["/_app"]={Component:i,styleSheets:[]},this.events=Z.events,this.pageLoader=a;const w=(0,g.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=c,this.clc=null,this._wrapApp=o,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!w&&!self.location.search&&0),this.state={route:b,pathname:e,query:t,asPath:w?e:n,isPreview:!!v,locale:void 0,isFallback:d},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),"u">typeof window){if(!n.startsWith("//")){const r={locale:f},a=(0,m.getURL)();this._initialMatchesMiddlewarePromise=B({router:this,locale:f,asPath:a}).then(i=>(r._shouldResolveHref=n!==e,this.changeState("replaceState",i?a:(0,S.formatWithValidation)({pathname:(0,T.addBasePath)(e),query:t}),a,r),i))}window.addEventListener("popstate",this.onPopState)}}reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,n={}){if((0,z.isJavaScriptURLString)(e.toString())||t&&(0,z.isJavaScriptURLString)(t.toString()))throw Object.defineProperty(Error("Next.js has blocked a javascript: URL as a security precaution."),"__NEXT_ERROR_CODE",{value:"E978",enumerable:!1,
527configurable:!0});return{url:e,as:t}=H(this,e,t),this.change("pushState",e,t,n)}replace(e,t,n={}){if((0,z.isJavaScriptURLString)(e.toString())||t&&(0,z.isJavaScriptURLString)(t.toString()))throw Object.defineProperty(Error("Next.js has blocked a javascript: URL as a security precaution."),"__NEXT_ERROR_CODE",{value:"E978",enumerable:!1,configurable:!0});return{url:e,as:t}=H(this,e,t),this.change("replaceState",e,t,n)}async _bfl(t,n,r,a){{if(!this._bfl_s&&!this._bfl_d){let n,i,{BloomFilter:o}=e.r(733769);try{({__routerFilterStatic:n,__routerFilterDynamic:i}=await (0,u.getClientBuildManifest)())}catch(e){if(console.error(e),a)return!0;return J({url:(0,T.addBasePath)((0,E.addLocale)(t,r||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}let s={numItems:106,errorRate:1e-4,numBits:2033,numHashes:14,bitArray:[0,0,0,0,0,1,1,0,1,0,0,1,0,0,0,1,1,1,0,1,0,1,1,1,0,0,1,0,1,1,0,1,0,0,0,0,0,1,1,1,1,1,1,0,0,1,0,0,1,1,1,0,0,1,0,1,1,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,1,0,1,1,0,0,1,0,0,1,1,0,1,0,1,1,0,0,1,1,1,1,1,1,0,0,1,0,0,1,1,0,0,0,0,0,1,0,1,1,0,1,0,1,1,0,1,0,0,1,0,0,1,0,1,1,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,0,0,1,0,1,0,0,0,0,1,1,1,1,0,0,1,1,1,1,1,0,1,1,0,0,1,1,1,1,0,0,1,1,1,1,1,0,0,1,1,0,1,0,1,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,1,0,1,1,0,0,1,0,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,1,1,0,0,0,0,1,1,0,0,0,1,0,1,1,1,1,0,1,1,0,0,1,0,1,0,1,0,1,0,1,1,1,0,0,1,0,0,1,0,1,1,0,0,1,1,0,0,1,0,1,1,0,1,1,0,0,1,1,1,1,1,0,0,0,1,1,0,0,0,1,1,0,0,0,1,1,0,1,0,0,1,0,0,1,1,1,0,0,0,1,1,0,0,1,0,1,0,0,1,1,0,1,1,1,0,0,1,0,1,1,0,0,1,0,0,0,0,1,0,1,1,0,0,1,1,1,1,1,0,1,1,0,0,1,1,0,1,1,0,0,1,1,0,0,0,1,0,1,0,1,0,1,1,0,0,1,0,1,1,1,1,1,1,1,0,0,0,1,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,0,0,0,1,0,0,1,0,1,0,0,1,1,0,0,0,0,0,0,1,1,1,0,0,1,0,0,1,1,0,0,1,1,0,0,0,1,0,1,1,1,0,1,0,1,0,0,1,1,0,1,1,0,0,1,0,1,0,1,1,0,1,0,1,0,1,0,0,0,0,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,0,1,0,0,1,1,0,0,1,0,1,0,0,0,1,0,0,1,0,1,0,0,0,0,1,1,0,1,0,0,1,1,0,1,0,1,1,1,0,0,0,0,0,1,1,1,0,0,1,0,0,1,1,0,1,1,0,1,0,1,1,1,0,0,0,0,0,0,1,1,1,0,1,1,1,1,0,0,0,1,0,0,1,1,1,1,0,1,1,0,1,0,1,1,0,1,1,1,0,1,1,1,1,1,0,1,0,0,0,1,0,0,0,1,1,0,1,0,0,1,1,0,1,0,0,0,1,0,0,0,0,1,1,1,1,1,1,1,0,1,1,0,1,0,1,1,0,0,1,0,1,1,1,0,1,1,0,1,0,0,1,0,1,0,0,1,1,0,0,1,0,0,1,0,1,0,0,1,1,1,1,0,0,0,1,0,1,0,0,1,1,0,1,0,0,1,0,0,0,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,0,0,0,0,1,0,1,1,1,1,1,1,0,0,1,0,1,0,1,1,0,1,1,0,1,1,0,0,0,0,1,0,0,1,1,0,1,1,0,0,0,1,0,1,0,1,0,0,1,0,1,1,0,1,0,0,0,0,0,0,1,1,0,1,1,0,0,0,0,1,1,1,0,1,1,0,0,0,0,1,0,0,0,0,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,0,1,0,0,0,1,0,0,1,0,0,1,0,1,0,0,1,0,1,1,0,1,0,1,1,0,0,0,0,1,1,1,1,1,0,0,1,0,1,1,0,1,1,1,1,1,1,0,1,1,1,1,0,1,1,0,0,0,0,1,1,1,1,0,1,1,1,0,0,0,0,1,0,0,0,1,1,1,0,1,0,0,1,0,1,1,1,0,1,0,0,0,1,1,0,0,0,0,1,1,1,0,1,1,0,0,1,0,1,0,0,0,0,0,1,1,0,1,1,1,1,1,0,0,0,0,0,1,0,0,0,1,1,0,0,0,1,1,0,0,1,0,1,1,1,0,0,1,0,0,1,0,1,0,0,0,1,0,0,0,0,1,1,0,1,1,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,1,0,0,0,1,0,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,0,1,0,0,1,1,0,0,0,0,0,1,0,1,1,1,0,0,1,1,0,0,0,1,1,1,0,1,0,0,0,0,1,0,0,0,1,1,0,0,1,1,1,1,1,0,0,1,1,0,1,1,1,0,1,0,0,1,0,0,1,0,1,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,0,0,1,0,0,0,1,1,1,1,1,0,1,0,1,1,1,0,0,1,0,1,1,1,0,0,0,1,0,0,1,0,0,1,0,1,1,0,1,1,0,1,1,1,0,0,1,1,0,0,1,1,0,0,1,1,1,0,0,0,0,0,1,0,0,1,1,0,1,0,1,1,1,1,1,0,1,0,0,1,1,0,1,0,1,1,0,0,1,1,0,1,1,1,0,1,0,1,0,1,0,1,1,0,1,1,1,0,1,0,1,0,0,0,0,1,0,1,0,0,1,1,0,1,1,1,0,1,1,1,1,0,1,0,1,0,1,1,0,1,1,1,1,0,0,1,0,0,0,0,1,0,1,0,1,1,0,0,0,1,1,1,0,0,0,1,1,1,0,0,1,1,1,0,1,1,0,1,0,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,0,1,1,0,0,1,1,1,0,1,0,0,1,0,0,0,0,0,0,1,1,1,1,0,1,0,0,0,0,0,0,1,0,1,0,1,0,0,1,0,0,1,0,1,1,0,1,0,1,1,1,0,0,0,0,1,0,1,0,1,1,1,1,0,1,0,0,1,0,1,0,0,1,1,1,0,0,1,0,0,0,0,0,1,0,1,1,0,0,0,0,0,0,1,0,0,1,0,1,0,0,0,0,1,0,0,1,1,1,1,1,0,1,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,1,1,1,0,1,0,1,1,0,1,1,1,0,0,0,1,0,0,0,0,0,1,1,1,0,1,1,1,1,0,0,0,0,1,1,1,1,1,1,0,1,0,1,0,0,1,0,1,0,0,0,0,0,0,0,0,1,0,1,1,1,1,0,0,1,0,0,0,0,0,0,1,1,1,0,1,1,0,1,0,1,0,0,0,1,1,0,1,0,0,1,1,0,1,1,1,0,1,0,0,0,1,0,1,0,0,0,1,1,1,0,1,1,1,1,0,1,0,0,1,1,0,1,0,0,0,0,1,0,0,1,1,1,0,1,0,0,1,0,1,0,0,1,1,0,0,1,1,0,1,1,1,0,0,0,1,1,0,1,0,0,1,1,1,1,0,0,0,1,0,1,1,0,0,1,0,1,0,0,0,1,0,1,1,0,1,1,0,0,1,1,0,0,0,0,1,0,0,0,1,1,0,0,0,1,1,1,0,1,0,1,1,1,1,1,0,1,0,0,1,1,1,1,0,1,1,1,1,1,0,1,1,0,1,0,1,1,1,1,1,0,1,0,0,0,1,1,1,1,1,1,0,1,0,1,0,0,0,0,1,0,1,1,1,1,0,0,1,1,0,1,1,1,0,1,1,1,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,0,0,0,0,1,0,1,0,1,1,0,1,0,0,0,1,0,1,0,1,0,0,0,0,1,1,1,1,0,1,1,1,1,1,1,1,0,0,0,1,0,0,0,0,1,0,1,1,0,0,1,1,1,0,0,1,0,0,0,0,1,0,0,0,1,1,0,1,0,1,0,0,0,0,0,1,1,0,1,1,1,1,0,1,0,0,1,1,1,1,0,0,0,0,1,0,1,0,0,1,1,1,1,1,0,1,0,0,1,1,0,0,0,1,1,0,0,0,0,1,1,1,1,1,0,1,1,0,0,1,1,1,1,1,1,0,1,0,0,1,1,1,0,0,1,1,0,0,0,0,1,0,1,1,0,0,1,0,1,1,0,0,1,1,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,1,1,0,0,1,0,1,1,0,1,0,1,0,0,0,1,0,1,0,0,1,1,1,0,1,1,0,0,0,0,1,0,1,1,1,1,1,0,0,0,0,0,1,0,1,0,0,1,0,1,0,1,1,0,1,1,0,1,0,0,0,0,1,1,0,0,0,0,1,0,1,1,0,0,1,0,1,0,0,0,1,0,1,0,1,1,0,0,0]};!n&&s&&(n=s||void 0);let l={numItems:117,errorRate:1e-4,numBits:2243,numHashes:14,bitArray:[1,0,1,1,0,0,0,0,1,1,0,1,1,0,0,1,1,0,0,0,1,1,1,1,0,1,0,1,1,1,1,1,1,0,1,1,1,1,0,1,1,0,0,0,0,1,0,0,0,1,1,1,0,0,0,1,1,0,0,0,0,0,0,1,0,1,0,1,0,0,1,0,0,0,0,1,0,0,1,0,1,1,1,0,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,0,0,1,1,1,0,1,0,1,1,0,1,1,0,1,0,0,0,0,1,0,1,1,0,0,1,1,0,0,1,0,1,1,1,0,0,1,0,1,1,0,0,0,1,0,1,0,1,1,1,0,0,1,0,0,0,1,0,0,0,1,0,0,1,0,0,0,1,0,0,0,0,0,1,0,1,1,1,1,1,1,1,0,0,1,1,1,0,0,0,1,1,0,0,1,0,0,1,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,1,0,1,0,1,1,1,1,0,0,0,0,1,1,0,0,0,1,0,0,0,0,1,1,1,0,0,1,1,1,1,1,1,0,1,0,0,1,1,0,1,1,1,1,0,1,0,0,1,1,0,0,1,0,0,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,0,1,0,0,0,1,1,0,1,0,0,1,0,0,1,0,1,0,0,1,1,0,1,1,1,1,1,1,1,1,0,1,0,0,1,1,1,0,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,1,0,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,1,0,0,0,1,1,1,0,0,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,0,1,0,1,1,0,0,1,1,1,0,0,0,0,1,0,0,0,1,1,1,0,1,0,0,1,0,1,0,1,0,0,0,1,1,0,1,1,1,1,0,1,1,1,0,0,0,0,0,1,0,0,0,1,0,1,1,1,1,1,0,0,1,1,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,1,1,1,1,0,0,1,0,1,1,1,0,1,1,1,0,1,1,1,1,1,1,0,1,0,0,1,1,1,0,1,1,0,0,0,0,0,1,1,1,0,0,1,1,0,1,0,0,0,0,1,1,0,1,1,0,1,0,1,1,0,0,0,1,1,1,0,0,0,0,0,0,1,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1,1,0,0,0,1,1,1,1,1,0,1,1,1,1,1,1,1,0,0,0,1,0,0,1,1,1,1,0,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,1,0,0,1,1,1,1,0,1,0,1,1,1,0,1,1,1,1,0,1,1,0,0,1,1,0,1,0,1,1,0,1,0,0,1,1,1,1,0,1,1,1,1,0,0,0,1,1,0,0,1,1,0,1,0,0,0,0,1,1,0,1,1,1,0,1,0,0,0,1,0,0,1,0,0,1,0,1,1,1,1,1,0,1,0,1,0,1,1,1,1,1,0,0,0,0,1,1,1,0,1,0,0,0,0,0,1,1,0,1,0,1,1,1,0,1,1,0,1,1,1,1,0,1,1,0,0,1,0,0,0,1,0,0,0,1,0,1,1,0,1,1,0,0,1,0,0,1,0,1,0,1,0,0,0,1,1,1,0,0,0,0,1,1,0,1,0,1,1,1,0,1,1,0,0,1,1,1,0,1,0,1,0,1,1,1,0,0,0,0,0,1,0,1,0,0,1,0,1,1,0,1,0,1,0,0,0,1,0,1,0,1,1,0,1,0,1,1,1,1,0,0,1,1,0,0,0,1,0,1,0,0,0,0,1,0,0,1,0,0,0,1,0,0,1,1,1,1,1,0,1,1,0,0,1,1,0,1,0,0,0,1,1,0,1,1,1,1,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,1,1,1,1,1,0,0,0,1,0,1,1,1,0,0,0,0,1,1,0,1,0,1,1,0,0,1,0,1,1,0,0,0,1,0,1,1,0,0,0,0,0,0,1,1,0,0,0,1,1,0,0,0,0,0,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,0,0,1,0,0,0,1,0,1,1,0,1,0,1,1,1,0,1,1,0,1,1,0,0,1,0,1,1,1,0,1,1,1,0,1,1,0,1,1,1,0,1,1,1,0,1,0,0,1,1,0,1,1,0,1,0,0,1,0,0,0,1,1,1,0,1,0,1,1,0,1,1,1,0,0,0,1,1,0,1,1,1,0,1,1,0,0,1,1,0,1,0,1,1,0,0,1,0,1,1,0,1,0,1,1,0,1,0,1,1,1,1,0,1,1,1,1,1,0,0,1,1,1,1,0,0,0,0,1,0,1,0,1,1,0,0,0,1,0,0,0,1,1,0,0,1,1,1,0,1,1,0,0,1,1,1,1,1,1,0,1,0,1,1,0,0,1,0,0,1,1,0,1,1,0,1,1,1,0,1,0,0,1,1,1,0,1,0,1,1,1,1,0,1,1,0,1,0,1,1,0,1,1,0,0,0,1,1,0,0,1,1,1,1,0,1,0,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,0,0,1,0,0,0,1,0,0,0,0,0,0,1,1,1,0,0,1,1,0,1,0,0,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,0,1,1,0,1,1,1,1,1,0,0,1,0,1,0,1,0,1,0,1,1,0,1,1,0,0,1,1,0,0,0,1,0,1,1,0,0,1,1,1,0,1,1,1,0,1,0,1,0,0,1,1,0,0,0,1,0,0,0,0,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,1,0,1,1,1,1,1,0,0,1,0,1,1,1,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,0,0,0,1,1,0,0,0,0,1,0,1,1,1,1,1,1,0,1,1,0,1,0,0,1,0,0,1,0,1,1,1,1,1,0,0,0,1,0,0,0,0,0,0,1,1,0,1,1,1,1,1,0,0,0,1,0,0,1,1,0,0,1,1,1,1,0,0,0,1,0,0,0,1,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,0,1,0,0,1,1,0,1,1,0,1,1,1,1,0,1,1,0,0,0,1,1,1,0,0,1,0,0,1,0,1,1,1,0,1,0,1,1,0,1,1,0,1,0,1,0,0,1,1,1,1,0,0,0,0,0,0,1,1,0,1,1,1,0,0,1,1,0,0,1,0,1,1,1,0,1,1,1,0,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,1,1,0,1,0,0,0,1,1,0,0,1,0,1,1,1,0,1,1,1,0,1,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,1,0,1,1,0,0,0,1,1,1,0,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1,1,0,1,0,0,0,0,1,1,0,1,1,1,1,1,1,1,0,0,0,0,1,1,0,0,1,1,0,1,1,0,0,1,1,1,0,1,1,0,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,1,0,0,0,1,0,1,1,0,1,0,1,0,0,1,0,1,0,0,0,0,1,1,0,1,1,0,1,1,0,1,0,0,0,1,1,0,1,0,1,0,1,0,0,0,0,1,1,0,0,1,0,1,1,1,1,1,1,1,0,0,1,0,0,1,0,1,0,0,0,1,0,1,0,1,0,1,0,0,0,1,1,0,1,0,0,1,1,1,0,1,0,0,1,1,0,0,1,1,0,0,1,0,0,0,0,0,1,0,1,0,1,1,1,0,1,0,0,0,1,1,1,0,1,0,1,1,0,1,1,1,0,0,1,1,1,0,0,0,0,1,0,1,0,0,1,1,0,0,1,0,0,1,1,0,1,0,1,0,1,1,1,1,0,0,0,1,1,1,1,1,0,0,0,1,1,1,0,1,1,0,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,0,1,1,1,1,1,1,0,0,1,1,0,0,0,0,1,1,0,1,0,0,1,0,1,1,1,0,0,0,1,1,1,0,0,1,1,1,0,0,0,1,0,1,1,1,0,1,0,1,1,1,0,0,1,0,0,1,0,0,1,1,0,1,1,1,0,1,1,0,0,0,1,0,0,0,1,1,1,1,0,1,1,0,0,1,1,0,0,1,0,0,0,0,1,1,1,0,0,0,1,1,1,1,0,1,0,1,0,1,0,0,0,1,0,0,0,0,0,1,1,1,1,0,1,1,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,1,1,0,1,1,1,1,1,1,1,0,0,1,1,1,1,0,0,0,1,1,1,0,1,1,0,0,0,1,1,1,1,0,1,0,0,0,1,1,0,1,1,1,0,0,1,1,0,1,0,1,1,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,1,0,1,0,1,0,1,1,0,0,1,1,0,1,1,1,1,1,0,1,1,1,0,1,1,0,1,0,1,0,1,0,1,0,0,1,1,0,1,0,0,1,0,0,1,1,1,0,1,0,0,0,1,1,0,1,0,0,1,0,0,0,1,1,1,0,0,1,1,1,0,1,1,0,0,1,0,0,0,1,0,0,0,1,1,1,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,0,0,0,0,1,0,0,1,0,1,0,0,0,0,1,1,1,1,1,1,0,0,1,0,0,0,0,0,0,0,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,0,1,1,1,0,0,0,1,0,0,1,1,1,0,0,0,0,1,0,0,0,1,0,0,0,1,1,0,1,1,1,1,1,0,1,1,1,1,0,0,0,0,0,1,1,1,0]};!i&&l&&(i=l||void 0),n?.numHashes&&(this._bfl_s=new o(n.numItems,n.errorRate),this._bfl_s.import(n)),i?.numHashes&&(this._bfl_d=new o(i.numItems,i.errorRate),this._bfl_d.import(i))}let i=!1,o=!1;for(let{as:e,allowMatchCurrent:s}of[{as:t},{as:n}])if(e){let n=(0,l.removeTrailingSlash)(new URL(e,"http://n").pathname),u=(0,T.addBasePath)((0,E.addLocale)(n,r||this.locale));if(s||n!==(0,l.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){for(let e of(i=i||!!this._bfl_s?.contains(n)||!!this._bfl_s?.contains(u),[n,u])){let t=e.split("/");for(let e=0;!o&&e<t.length+1;e++){let n=t.slice(0,e).join("/");if(n&&this._bfl_d?.contains(n)){o=!0;break}}}if(i||o){if(a)return!0;return J({url:(0,T.addBasePath)((0,E.addLocale)(t,r||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}}}}return!1}async change(e,t,n,a,i){let o,s;if(!(0,A.isLocalURL)(t))return J({url:t,router:this}),!1;let f=1===a._h;f||a.shallow||await this._bfl(n,void 0,a.locale);let p=f||a._shouldResolveHref||(0,w.parsePath)(t).pathname===(0,w.parsePath)(n).pathname,h={...this.state},R=!0!==this.isReady;this.isReady=!0;let C=this.isSsr;if(f||(this.isSsr=!1),f&&this.clc)return!1;let I=h.locale;m.ST&&performance.mark("routeChange");let{shallow:O=!1,scroll:M=!0}=a,$={shallow:O};this._inFlightRoute&&this.clc&&(C||Z.events.emit("routeChangeError",U(),this._inFlightRoute,$),this.clc(),this.clc=null),n=(0,T.addBasePath)((0,E.addLocale)((0,P.hasBasePath)(n)?(0,x.removeBasePath)(n):n,a.locale,this.defaultLocale));let j=(0,k.removeLocale)((0,P.hasBasePath)(n)?(0,x.removeBasePath)(n):n,h.locale);this._inFlightRoute=n;let F=I!==h.locale;if(!f&&this.onlyAHashChange(j)&&!F){h.asPath=j,Z.events.emit("hashChangeStart",n,$),this.changeState(e,t,n,{...a,scroll:!1}),M&&this.scrollToHash(j);try{await this.set(h,this.components[h.route],null)}catch(e){throw(0,d.default)(e)&&e.cancelled&&Z.events.emit("routeChangeError",e,j,$),e}return Z.events.emit("hashChangeComplete",n,$),!0}let z=(0,y.parseRelativeUrl)(t),{pathname:W,query:V}=z;try{[o,{__rewrites:s}
527]=await Promise.all([this.pageLoader.getPageList(),(0,u.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return J({url:n,router:this}),!1}this.urlIsNew(j)||F||(e="replaceState");let X=n;W=W?(0,l.removeTrailingSlash)((0,x.removeBasePath)(W)):W;let Y=(0,l.removeTrailingSlash)(W),K=n.startsWith("/")&&(0,y.parseRelativeUrl)(n).pathname;if(this.components[W]?.__appRouter)return J({url:n,router:this}),new Promise(()=>{});let Q=!!(K&&Y!==K&&(!(0,g.isDynamicRoute)(Y)||!(0,_.getRouteMatcher)((0,v.getRouteRegex)(Y))(K))),ee=!a.shallow&&await B({asPath:n,locale:h.locale,router:this});if(f&&ee&&(p=!1),p&&"/_error"!==W)if(a._shouldResolveHref=!0,n.startsWith("/")){let e=r((0,T.addBasePath)((0,E.addLocale)(j,h.locale),!0),o,s,V,e=>q(e,o),this.locales);if(e.externalDest)return J({url:n,router:this}),!0;ee||(X=e.asPath),e.matchedPage&&e.resolvedHref&&(W=e.resolvedHref,z.pathname=(0,T.addBasePath)(W),ee||(t=(0,S.formatWithValidation)(z)))}else z.pathname=q(W,o),z.pathname!==W&&(W=z.pathname,z.pathname=(0,T.addBasePath)(W),ee||(t=(0,S.formatWithValidation)(z)));if(!f&&!a.shallow&&this._bfl_d&&(0,g.isDynamicRoute)(W)){let e=(0,l.removeTrailingSlash)((0,y.parseRelativeUrl)(j).pathname);if((0,b.hasDynamicFilterCandidate)(W,e,e=>!!this._bfl_d?.contains(e)))return J({url:n,router:this}),new Promise(()=>{})}if(!(0,A.isLocalURL)(n))return J({url:n,router:this}),!1;X=(0,k.removeLocale)((0,x.removeBasePath)(X),h.locale),Y=(0,l.removeTrailingSlash)(W);let et=!1;if((0,g.isDynamicRoute)(Y)){let e=(0,y.parseRelativeUrl)(X),r=e.pathname,a=(0,v.getRouteRegex)(Y);et=(0,_.getRouteMatcher)(a)(r);let i=Y===r,o=i?(0,D.interpolateAs)(Y,r,V):{};if(et&&(!i||o.result))i?n=(0,S.formatWithValidation)(Object.assign({},e,{pathname:o.result,query:(0,L.omit)(V,o.params)})):Object.assign(V,et);else{let e=Object.keys(a.groups).filter(e=>!V[e]&&!a.groups[e].optional);if(e.length>0&&!ee)throw Object.defineProperty(Error((i?`The provided \`href\` (${t}) value is missing query values (${e.join(", ")}) to be interpolated properly. `:`The provided \`as\` value (${r}) is incompatible with the \`href\` value (${Y}). `)+`Read more: https://nextjs.org/docs/messages/${i?"href-interpolation-failed":"incompatible-href-as"}`),"__NEXT_ERROR_CODE",{value:"E344",enumerable:!1,configurable:!0})}}f||Z.events.emit("routeChangeStart",n,$);let en="/404"===this.pathname||"/_error"===this.pathname;try{let r=await this.getRouteInfo({route:Y,pathname:W,query:V,as:n,resolvedAs:X,routeProps:$,locale:h.locale,isPreview:h.isPreview,hasMiddleware:ee,unstable_skipClientCache:a.unstable_skipClientCache,isQueryUpdating:f&&!this.isFallback,isMiddlewareRewrite:Q});if(f||a.shallow||await this._bfl(n,"resolvedAs"in r?r.resolvedAs:void 0,h.locale),"route"in r&&ee){Y=W=r.route||Y,$.shallow||(V=Object.assign({},r.query||{},V));let e=(0,P.hasBasePath)(z.pathname)?(0,x.removeBasePath)(z.pathname):z.pathname;if(et&&W!==e&&Object.keys(et).forEach(e=>{et&&V[e]===et[e]&&delete V[e]}),(0,g.isDynamicRoute)(W)){let e=!$.shallow&&r.resolvedAs?r.resolvedAs:(0,T.addBasePath)((0,E.addLocale)(new URL(n,location.href).pathname,h.locale),!0);(0,P.hasBasePath)(e)&&(e=(0,x.removeBasePath)(e));let t=(0,v.getRouteRegex)(W),a=(0,_.getRouteMatcher)(t)(new URL(e,location.href).pathname);a&&Object.assign(V,a)}}if("type"in r)if("redirect-internal"===r.type)return this.change(e,r.newUrl,r.newAs,a);else return J({url:r.destination,router:this}),new Promise(()=>{});let s=r.Component;if(s&&s.unstable_scriptLoader&&[].concat(s.unstable_scriptLoader()).forEach(e=>{(0,c.handleClientScriptLoad)(e.props)}),(r.__N_SSG||r.__N_SSP)&&r.props){if(r.props.pageProps&&r.props.pageProps.__N_REDIRECT){a.locale=!1;let t=r.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==r.props.pageProps.__N_REDIRECT_BASE_PATH){let n=(0,y.parseRelativeUrl)(t);n.pathname=q(n.pathname,o);let{url:r,as:i}=H(this,t,t);return this.change(e,r,i,a)}return J({url:t,router:this}),new Promise(()=>{})}if(h.isPreview=!!r.props.__N_PREVIEW,r.props.notFound===G){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(r=await this.getRouteInfo({route:e,pathname:e,query:V,as:n,resolvedAs:X,routeProps:{shallow:!1},locale:h.locale,isPreview:h.isPreview,isNotFound:!0}),"type"in r)throw Object.defineProperty(Error("Unexpected middleware effect on /404"),"__NEXT_ERROR_CODE",{value:"E158",enumerable:!1,
527configurable:!0})}}f&&"/_error"===this.pathname&&self.__NEXT_DATA__.props?.pageProps?.statusCode===500&&r.props?.pageProps&&(r.props.pageProps.statusCode=500);let l=a.shallow&&h.route===(r.route??Y),u=a.scroll??(!f&&!l),p=i??(u?{x:0,y:0}:null),m={...h,route:Y,pathname:W,query:V,asPath:j,isFallback:!1};if(f&&en){if(r=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:V,as:n,resolvedAs:X,routeProps:{shallow:!1},locale:h.locale,isPreview:h.isPreview,isQueryUpdating:f&&!this.isFallback}),"type"in r)throw Object.defineProperty(Error(`Unexpected middleware effect on ${this.pathname}`),"__NEXT_ERROR_CODE",{value:"E225",enumerable:!1,configurable:!0});"/_error"===this.pathname&&self.__NEXT_DATA__.props?.pageProps?.statusCode===500&&r.props?.pageProps&&(r.props.pageProps.statusCode=500);try{await this.set(m,r,p)}catch(e){throw(0,d.default)(e)&&e.cancelled&&Z.events.emit("routeChangeError",e,j,$),e}return!0}if(Z.events.emit("beforeHistoryChange",n,$),this.changeState(e,t,n,a),!(f&&!p&&!R&&!F&&(0,N.compareRouterStates)(m,this.state))){try{await this.set(m,r,p)}catch(e){if(e.cancelled)r.error=r.error||e;else throw e}if(r.error)throw f||Z.events.emit("routeChangeError",r.error,j,$),r.error;f||Z.events.emit("routeChangeComplete",n,$),u&&/#.+$/.test(n)&&this.scrollToHash(n)}return!0}catch(e){if((0,d.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,n,r={}){("pushState"!==e||(0,m.getURL)()!==n)&&(this._shallow=r.shallow,window.history[e]({url:t,as:n,options:r,__N:!0,key:this._key="pushState"!==e?this._key:K()},"",n))}async handleRouteInfoError(e,t,n,r,a,i){if(e.cancelled)throw e;if((0,u.isAssetError)(e)||i)throw Z.events.emit("routeChangeError",e,r,a),J({url:r,router:this}),U();console.error(e);try{let r,{page:a,styleSheets:i}=await this.fetchComponent("/_error"),o={props:r,Component:a,styleSheets:i,err:e,error:e};if(!o.props)try{o.props=await this.getInitialProps(a,{err:e,pathname:t,query:n})}catch(e){console.error("Error in error page `getInitialProps`: ",e),o.props={}}return o}catch(e){return this.handleRouteInfoError((0,d.default)(e)?e:Object.defineProperty(Error(e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0}),t,n,r,a,!0)}}async getRouteInfo({route:e,pathname:t,query:n,as:r,resolvedAs:a,routeProps:i,locale:o,hasMiddleware:s,isPreview:u,unstable_skipClientCache:c,isQueryUpdating:f,isMiddlewareRewrite:h,isNotFound:m}){let g=e;try{let e=this.components[g];if(i.shallow&&e&&this.route===g)return e;let d=Q({route:g,router:this});s&&(e=void 0);let y=!e||"initial"in e?void 0:e,_={dataHref:this.pageLoader.getDataHref({href:(0,S.formatWithValidation)({pathname:t,query:n}),skipInterpolation:!0,asPath:m?"/404":a,locale:o}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:f?this.sbc:this.sdc,persistCache:!u,isPrefetch:!1,unstable_skipClientCache:c,isBackground:f},v=f&&!h?null:await V({fetchData:()=>Y(_),asPath:m?"/404":a,locale:o,router:this}).catch(e=>{if(f)return null;throw e});if(v&&("/_error"===t||"/404"===t)&&(v.effect=void 0),f&&(v?v.json=self.__NEXT_DATA__.props:v={json:self.__NEXT_DATA__.props}),d(),v?.effect?.type==="redirect-internal"||v?.effect?.type==="redirect-external")return v.effect;if(v?.effect?.type==="rewrite"){let r=(0,l.removeTrailingSlash)(v.effect.resolvedHref),o=await this.pageLoader.getPageList();if((!f||o.includes(r))&&(g=r,t=v.effect.resolvedHref,n={...n,...v.effect.parsedAs.query},a=(0,x.removeBasePath)((0,p.normalizeLocalePath)(v.effect.parsedAs.pathname,this.locales).pathname),e=this.components[g],i.shallow&&e&&this.route===g&&!s))return{...e,route:g}}if((0,C.isAPIRoute)(g))return J({url:r,router:this}),new Promise(()=>{});let b=y||await this.fetchComponent(g).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),w=v?.response?.headers.get("x-middleware-skip"),E=b.__N_SSG||b.__N_SSP;w&&v?.dataHref&&delete this.sdc[v.dataHref];let{props:k,cacheKey:T}=await this._getData(async()=>{if(E){if(v?.json&&!w)return{cacheKey:v.cacheKey,props:v.json};let e=v?.dataHref?v.dataHref:this.pageLoader.getDataHref({href:(0,S.formatWithValidation)({pathname:t,query:n}),asPath:a,locale:o}),r=await Y({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:w?{}
527:this.sdc,persistCache:!u,isPrefetch:!1,unstable_skipClientCache:c});return{cacheKey:r.cacheKey,props:r.json||{}}}return{headers:{},props:await this.getInitialProps(b.Component,{pathname:t,query:n,asPath:r,locale:o,locales:this.locales,defaultLocale:this.defaultLocale})}});return b.__N_SSP&&_.dataHref&&T&&delete this.sdc[T],this.isPreview||!b.__N_SSG||f||Y(Object.assign({},_,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),k.pageProps=Object.assign({},k.pageProps),b.props=k,b.route=g,b.query=n,b.resolvedAs=a,this.components[g]=b,b}catch(e){return this.handleRouteInfoError((0,d.getProperError)(e),t,n,r,i)}}set(e,t,n){return this.state=e,this.sub(t,this.components["/_app"].Component,n)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,n]=this.asPath.split("#",2),[r,a]=e.split("#",2);return!!a&&t===r&&n===a||t===r&&n!==a}scrollToHash(e){let[,t=""]=e.split("#",2);(0,$.disableSmoothScrollDuringRouteTransition)(()=>{if(""===t||"top"===t)return void window.scrollTo(0,0);let e=decodeURIComponent(t),n=document.getElementById(e);if(n)return void n.scrollIntoView();let r=document.getElementsByName(e)[0];r&&r.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t=e,n={}){if("u">typeof window&&(0,M.isBot)(window.navigator.userAgent))return;let a=(0,y.parseRelativeUrl)(e),i=a.pathname,{pathname:o,query:s}=a,c=o,d=await this.pageLoader.getPageList(),f=t,p=void 0!==n.locale?n.locale||void 0:this.locale,h=await B({asPath:t,locale:p,router:this});if(t.startsWith("/")){let n;({__rewrites:n}=await (0,u.getClientBuildManifest)());let i=r((0,T.addBasePath)((0,E.addLocale)(t,this.locale),!0),d,n,a.query,e=>q(e,d),this.locales);if(i.externalDest)return;h||(f=(0,k.removeLocale)((0,x.removeBasePath)(i.asPath),this.locale)),i.matchedPage&&i.resolvedHref&&(a.pathname=o=i.resolvedHref,h||(e=(0,S.formatWithValidation)(a)))}a.pathname=q(a.pathname,d),(0,g.isDynamicRoute)(a.pathname)&&(o=a.pathname,a.pathname=o,Object.assign(s,(0,_.getRouteMatcher)((0,v.getRouteRegex)(a.pathname))((0,w.parsePath)(t).pathname)||{}),h||(e=(0,S.formatWithValidation)(a)));let m=await V({fetchData:()=>Y({dataHref:this.pageLoader.getDataHref({href:(0,S.formatWithValidation)({pathname:c,query:s}),skipInterpolation:!0,asPath:f,locale:p}),hasMiddleware:!0,isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:p,router:this});if(m?.effect.type==="rewrite"&&(a.pathname=m.effect.resolvedHref,o=m.effect.resolvedHref,s={...s,...m.effect.parsedAs.query},f=m.effect.parsedAs.pathname,e=(0,S.formatWithValidation)(a)),m?.effect.type==="redirect-external")return;let b=(0,l.removeTrailingSlash)(o);await this._bfl(t,f,n.locale,!0)&&(this.components[i]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(b).then(t=>!!t&&Y({dataHref:m?.json?m?.dataHref:this.pageLoader.getDataHref({href:e,asPath:f,locale:p}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:n.unstable_skipClientCache||n.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[n.priority?"loadPage":"prefetch"](b)])}async fetchComponent(e){let t=Q({route:e,router:this});try{let n=await this.pageLoader.loadPage(e);return t(),n}catch(e){throw t(),e}}_getData(e){let t=!1,n=()=>{t=!0};return this.clc=n,e().then(e=>{if(n===this.clc&&(this.clc=null),t){let e=Object.defineProperty(Error("Loading initial props cancelled"),"__NEXT_ERROR_CODE",{value:"E405",enumerable:!1,configurable:!0});throw e.cancelled=!0,e}return e})}getInitialProps(e,t){let{Component:n}=this.components["/_app"],r=this._wrapApp(n);return t.AppTree=r,(0,m.loadGetInitialProps)(n,{AppTree:r,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}}},182846,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"removePathPrefix",{enumerable:!0,get:function(){return a}});let r=e.r(463505);function a(e,t){if(!(0,r.pathHasPrefix)(e,t))return e;let n=e.slice(t.length);return n.startsWith("/")?n:`/${n}`}},915028,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getNextPathnameInfo",{enumerable:!0,get:function(){return o}});let r=e.r(725829),a=e.r(182846),i=e.r(463505);function o(e,t){let{basePath:n,i18n:o,trailingSlash:s}=t.nextConfig??{},l={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):s};n&&(0,i.pathHasPrefix)(l.pathname,n)&&(l.pathname=(0,a.removePathPrefix)(l.pathname,n),l.basePath=n);let u=l.pathname;if(l.pathname.startsWith("/_next/data/")&&l.pathname.endsWith(".json")){let e=l.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");l.buildId=e[0],u="index"!==e[1]?`/${e.slice(1).join("/")}`:"/",!0===t.parseData&&(l.pathname=u)}
527if(o){let e=t.i18nProvider?t.i18nProvider.analyze(l.pathname):(0,r.normalizeLocalePath)(l.pathname,o.locales);l.locale=e.detectedLocale,l.pathname=e.pathname??l.pathname,!e.detectedLocale&&l.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(u):(0,r.normalizeLocalePath)(u,o.locales)).detectedLocale&&(l.locale=e.detectedLocale)}return l}},316266,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={getSortedRouteObjects:function(){return s},getSortedRoutes:function(){return o}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});class i{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e="/"){let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let n=t.map(t=>this.children.get(t)._smoosh(`${e}${t}/`)).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&n.push(...this.children.get("[]")._smoosh(`${e}[${this.slugName}]/`)),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error(`You cannot define a route with the same specificity as a optional catch-all route ("${t}" and "${t}[[...${this.optionalRestSlugName}]]").`),"__NEXT_ERROR_CODE",{value:"E458",enumerable:!1,configurable:!0});n.unshift(t)}return null!==this.restSlugName&&n.push(...this.children.get("[...]")._smoosh(`${e}[...${this.restSlugName}]/`)),null!==this.optionalRestSlugName&&n.push(...this.children.get("[[...]]")._smoosh(`${e}[[...${this.optionalRestSlugName}]]/`)),n}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Object.defineProperty(Error("Catch-all must be the last part of the URL."),"__NEXT_ERROR_CODE",{value:"E392",enumerable:!1,configurable:!0});let r=e[0];if(r.startsWith("[")&&r.endsWith("]")){let i=r.slice(1,-1),o=!1;if(i.startsWith("[")&&i.endsWith("]")&&(i=i.slice(1,-1),o=!0),i.startsWith("â¦"))throw Object.defineProperty(Error(`Detected a three-dot character ('â¦') at ('${i}'). Did you mean ('...')?`),"__NEXT_ERROR_CODE",{value:"E147",enumerable:!1,configurable:!0});if(i.startsWith("...")&&(i=i.substring(3),n=!0),i.startsWith("[")||i.endsWith("]"))throw Object.defineProperty(Error(`Segment names may not start or end with extra brackets ('${i}').`),"__NEXT_ERROR_CODE",{value:"E421",enumerable:!1,configurable:!0});if(i.startsWith("."))throw Object.defineProperty(Error(`Segment names may not start with erroneous periods ('${i}').`),"__NEXT_ERROR_CODE",{value:"E288",enumerable:!1,configurable:!0});function a(e,n){if(null!==e&&e!==n)throw Object.defineProperty(Error(`You cannot use different slug names for the same dynamic path ('${e}' !== '${n}').`),"__NEXT_ERROR_CODE",{value:"E337",enumerable:!1,configurable:!0});t.forEach(e=>{if(e===n)throw Object.defineProperty(Error(`You cannot have the same slug name "${n}" repeat within a single dynamic path`),"__NEXT_ERROR_CODE",{value:"E247",enumerable:!1,configurable:!0});if(e.replace(/\W/g,"")===r.replace(/\W/g,""))throw Object.defineProperty(Error(`You cannot have the slug names "${e}" and "${n}" differ only by non-word symbols within a single dynamic path`),"__NEXT_ERROR_CODE",{value:"E499",enumerable:!1,configurable:!0})}),t.push(n)}if(n)if(o){if(null!=this.restSlugName)throw Object.defineProperty(Error(`You cannot use both an required and optional catch-all route at the same level ("[...${this.restSlugName}]" and "${e[0]}" ).`),"__NEXT_ERROR_CODE",{value:"E299",enumerable:!1,configurable:!0});a(this.optionalRestSlugName,i),this.optionalRestSlugName=i,r="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error(`You cannot use both an optional and required catch-all route at the same level ("[[...${this.optionalRestSlugName}]]" and "${e[0]}").`),"__NEXT_ERROR_CODE",{value:"E300",enumerable:!1,configurable:!0});a(this.restSlugName,i),this.restSlugName=i,r="[...]"}else{if(o)throw Object.defineProperty(Error(`Optional route parameters are not yet supported ("${e[0]}
527").`),"__NEXT_ERROR_CODE",{value:"E435",enumerable:!1,configurable:!0});a(this.slugName,i),this.slugName=i,r="[]"}}this.children.has(r)||this.children.set(r,new i),this.children.get(r)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function o(e){let t=new i;return e.forEach(e=>t.insert(e)),t.smoosh()}function s(e,t){let n={},r=[];for(let a=0;a<e.length;a++){let i=t(e[a]);n[i]=a,r[a]=i}return o(r).map(t=>e[n[t]])}}]); 528 529//# debugId=207864dc-c03a-b8c0-d3df-a2a29862c464
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.