<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&amp;&amp;(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="41dbbccf-2c19-58ea-aa08-04161129eddf")}catch(e){}}();
import{j as Ht}from"./jsx-runtime-Cf8x2fCZ.js";import{r as Ve,d as Ps}from"./dayjs.min-By0gEVcE.js";import{i as Ns,p as Tn,s as Ae,_ as ot,a as Fs,b as Bs,c as Hs,d as Us,e as js,f as zs,g as Ws,u as qs,h as $s,j as Ys,k as Xs,l as Vs,S as Gs,m as Ks,n as Js,o as Mr,q as Qs,r as Zs,t as ei,v as ti}from"./performance--NEEPFzJ.js";import{E as ni,F as ri,P as si,Q as ii,r as J,S as oi,M as Be,g as ai,a as ci}from"./index-CnhpwU98.js";import{G as ln,d as xr,a as ui,b as Cr,e as li,s as Rn,S as di,f as Ee,l as Ut,h as Ir,i as fi,j as hi,k as Tr,n as Rr,m as Or,r as On,o as pi,u as mi,p as gi,q as yi,t as _i,v as Si,w as wi,c as vi,g as bi}from"./AppGlobals-CCvI5bTR.js";import{i as Gt}from"./i18next-BGmvVs3U.js";import{i as Ei,g as ki,h as Mi,s as xi,j as Ci,k as Ii,l as Ti,m as Ri,R as Oi,n as Ai,o as Di,p as Li,b as Pi}from"./components-MUvJN_Vi.js";import{s as Ni,b as Fi,I as Bi}from"./context-D-2EtPe0.js";import"./index-yBjzXJbu.js";function Hi(e,t){for(var n=0;n&lt;t.length;n++){const r=t[n];if(typeof r!="string"&amp;&amp;!Array.isArray(r)){for(const s in r)if(s!=="default"&amp;&amp;!(s in e)){const i=Object.getOwnPropertyDescriptor(r,s);i&amp;&amp;Object.defineProperty(e,s,i.get?i:{enumerable:!0,get:()=&gt;r[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var at={exports:{}},Ui=at.exports,An;function ji(){return An||(An=1,function(e,t){(function(n,r){e.exports=r()})(Ui,function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(n){var r=["th","st","nd","rd"],s=n%100;return"["+n+(r[(s-20)%10]||r[s]||r[0])+"]"}}})}(at)),at.exports}ji();var ct={exports:{}},zi=ct.exports,Dn;function Wi(){return Dn||(Dn=1,function(e,t){(function(n,r){e.exports=r(Ve())})(zi,function(n){function r(o){return o&amp;&amp;typeof o=="object"&amp;&amp;"default"in o?o:{default:o}}var s=r(n),i={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(o){return o+"º"}};return s.default.locale(i,null,!0),i})}(ct)),ct.exports}Wi();var ut={exports:{}},qi=ut.exports,Ln;function $i(){return Ln||(Ln=1,function(e,t){(function(n,r){e.exports=r(Ve())})(qi,function(n){function r(a){return a&amp;&amp;typeof a=="object"&amp;&amp;"default"in a?a:{default:a}}var s=r(n),i={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function o(a,u,d){var l=i[d];return Array.isArray(l)&amp;&amp;(l=l[u?0:1]),l.replace("%d",a)}var c={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(a){return a+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o}};return s.default.locale(c,null,!0),c})}(ut)),ut.exports}$i();var lt={exports:{}},Yi=lt.exports,Pn;function Xi(){return Pn||(Pn=1,function(e,t){(function(n,r){e.exports=r(Ve())})(Yi,function(n){function r(o){return o&amp;&amp;typeof o=="object"&amp;&amp;"default"in o?o:{default:o}}var s=r(n),i={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(o){return""+o+(o===1?"er":"")}};return s.default.locale(i,null,!0),i})}(lt)),lt.exports}Xi();var dt={exports:{}},Vi=dt.exports,Nn;function Gi(){return Nn||(Nn=1,function(e,t){(function(n,r){e.exports=r(Ve())})(Vi,function(n){function r(o){return o&amp;&amp;typeof o=="object"&amp;&amp;"default"in o?o:{default:o}}var s=r(n),i={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(o){return o+"º"}};return s.default.locale(i,null,!0),i})}(dt)),dt.exports}Gi();var ft={exports:{}},Ki=ft.exports,Fn;function Ji(){return Fn||(Fn=1,function(e,t){(function(n,r){e.exports=r(Ve())})(Ki,function(n){function r(o){return o&amp;&amp;typeof o=="object"&amp;&amp;"default"in o?o:{default:o}}var s=r(n),i={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(o){return o+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return s.default.locale(i,null,!0),i})}(ft)),ft.exports}Ji();class dn{static defaultOptions={prefix:"remix-pwa",styles:{debug:{background:"#7f8c8d",color:"white","border-radius":"0.5em","font-weight":"bold",padding:"2px 0.5em"},info:{background:"#3498db",color:"white","border-radius":"0.5em","font-weight":"bold",padding:"2px 0.5em"},log:{background:"#2ecc71",color:"white","border-radius":"0.5em","font-weight":"bold",padding:"2px 0.5em"},warn:{background:"#f39c12",color:"white","border-radius":"0.5em","font-weight":"bold",padding:"2px 0.5em"},error:{background:"#c0392b",color:"white","border-radius":"0.5em","font-weight":"bold",padding:"2px 0.5em"},groupCollapsed:{background:"#3498db",color:"white","border-radius":"0.5em","font-weight":"bold",padding:"2px 0.5em"},groupEnd:{background:null,color:"white","border-radius":"0.5em","font-weight":"bold",padding:"2px 0.5em"}},logLevel:"debug",isProductionEnv:!0};options;inGroup=!1;constructor(t){this.options={...dn.defaultOptions,...t}}setLogLevel(t){this.options.logLevel=t}setStyles(t){this.options.styles={...this.options.styles,...t}}print(t,n){const{isProductionEnv:r,styles:s}=this.options;if(r)return;const i=t;if(i==="groupCollapsed"&amp;&amp;/^((?!chrome|android).*safari)/i.test(navigator.userAgent))return void console[i](...n);const o=Object.entries(s[t]).map(([a,u])=&gt;`${a}: ${u}`).join("; "),c=this.inGroup?[]:[`%c${this.options.prefix}`,o];console[i](...c,...n),i==="groupCollapsed"&amp;&amp;(this.inGroup=!0),i==="groupEnd"&amp;&amp;(this.inGroup=!1)}debug(...t){this.shouldLog("debug")&amp;&amp;this.print("debug",t)}info(...t){this.shouldLog("info")&amp;&amp;this.print("info",t)}log(...t){this.shouldLog("log")&amp;&amp;this.print("log",t)}warn(...t){this.shouldLog("warn")&amp;&amp;this.print("warn",t)}error(...t){this.shouldLog("error")&amp;&amp;this.print("error",t)}groupCollapsed(...t){this.print("groupCollapsed",t)}groupEnd(){this.print("groupEnd",[])}shouldLog(t){const{logLevel:n}=this.options,r=["debug","info","log","warn","error"];return r.indexOf(t)&gt;=r.indexOf(n)}}const jt=new dn;/**
 * @remix-run/react v2.16.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function Qi(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,s]of t)if(s&amp;&amp;s.__type==="RouteErrorResponse")n[r]=new ni(s.status,s.statusText,s.data,s.internal===!0);else if(s&amp;&amp;s.__type==="Error"){if(s.__subType){let i=window[s.__subType];if(typeof i=="function")try{let o=new i(s.message);o.stack=s.stack,n[r]=o}catch{}}if(n[r]==null){let i=new Error(s.message);i.stack=s.stack,n[r]=i}}else n[r]=s;return n}/**
 * @remix-run/react v2.16.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */let ue,ee,zt=!1,Kt;new Promise(e=&gt;{Kt=e}).catch(()=&gt;{});function Zi(e){if(!ee){if(window.__remixContext.future.v3_singleFetch){if(!ue){let c=window.__remixContext.stream;Ei(c,"No stream found for single fetch decoding"),window.__remixContext.stream=void 0,ue=ki(c,window).then(a=&gt;{window.__remixContext.state=a.value,ue.value=!0}).catch(a=&gt;{ue.error=a})}if(ue.error)throw ue.error;if(!ue.value)throw ue}let i=Mi(window.__remixManifest.routes,window.__remixRouteModules,window.__remixContext.state,window.__remixContext.future,window.__remixContext.isSpaMode),o;if(!window.__remixContext.isSpaMode){o={...window.__remixContext.state,loaderData:{...window.__remixContext.state.loaderData}};let c=ri(i,window.location,window.__remixContext.basename);if(c)for(let a of c){let u=a.route.id,d=window.__remixRouteModules[u],l=window.__remixManifest.routes[u];d&amp;&amp;xi(l,d,window.__remixContext.isSpaMode)&amp;&amp;(d.HydrateFallback||!l.hasLoader)?o.loaderData[u]=void 0:l&amp;&amp;!l.hasLoader&amp;&amp;(o.loaderData[u]=null)}o&amp;&amp;o.errors&amp;&amp;(o.errors=Qi(o.errors))}ee=si({routes:i,history:ii(),basename:window.__remixContext.basename,future:{v7_normalizeFormMethod:!0,v7_fetcherPersist:window.__remixContext.future.v3_fetcherPersist,v7_partialHydration:!0,v7_prependBasename:!0,v7_relativeSplatPath:window.__remixContext.future.v3_relativeSplatPath,v7_skipActionErrorRevalidation:window.__remixContext.future.v3_singleFetch===!0},hydrationData:o,mapRouteProperties:oi,dataStrategy:window.__remixContext.future.v3_singleFetch&amp;&amp;!window.__remixContext.isSpaMode?Ii(window.__remixManifest,window.__remixRouteModules,()=&gt;ee):void 0,patchRoutesOnNavigation:Ci(window.__remixManifest,window.__remixRouteModules,window.__remixContext.future,window.__remixContext.isSpaMode,window.__remixContext.basename)}),ee.state.initialized&amp;&amp;(zt=!0,ee.initialize()),ee.createRoutesForHMR=Ti,window.__remixRouter=ee,Kt&amp;&amp;Kt(ee)}let[t,n]=J.useState(void 0),[r,s]=J.useState(ee.state.location);return J.useLayoutEffect(()=&gt;{zt||(zt=!0,ee.initialize())},[]),J.useLayoutEffect(()=&gt;ee.subscribe(i=&gt;{i.location!==r&amp;&amp;s(i.location)}),[r]),Ri(ee,window.__remixManifest,window.__remixRouteModules,window.__remixContext.future,window.__remixContext.isSpaMode),J.createElement(J.Fragment,null,J.createElement(Oi.Provider,{value:{manifest:window.__remixManifest,routeModules:window.__remixRouteModules,future:window.__remixContext.future,criticalCss:t,isSpaMode:window.__remixContext.isSpaMode}},J.createElement(Ai,{location:r},J.createElement(Di,{router:ee,fallbackElement:null,future:{v7_startTransition:!0}}))),window.__remixContext.future.v3_singleFetch?J.createElement(J.Fragment,null):null)}function eo({scope:e="/",serviceWorkerRegistrationCallback:t=i=&gt;{i.update()},serviceWorkerUrl:n="/entry.worker.js",type:r="classic",updateViaCache:s}={scope:"/",type:"classic",serviceWorkerRegistrationCallback:i=&gt;{i.update()},serviceWorkerUrl:"/entry.worker.js"}){if("serviceWorker"in navigator){async function i(){const o=(c=navigator.serviceWorker)=&gt;{c.controller?.postMessage({type:"SYNC_REMIX_MANIFEST",manifest:window.__remixManifest})};try{const c=await navigator.serviceWorker.register(n,{scope:e,type:r,updateViaCache:s||"none"});window.$ServiceWorkerHMRHandler$=async()=&gt;{await t?.(c)},await navigator.serviceWorker.ready,jt.debug("Syncing manifest..."),navigator.serviceWorker.controller?o():navigator.serviceWorker.addEventListener("controllerchange",()=&gt;{jt.debug("Syncing manifest..."),o()})}catch(c){jt.error("Service worker registration failed",c)}}document.readyState==="complete"||document.readyState==="interactive"?i():window.addEventListener("load",i)}}function to(e,t){const n=t&amp;&amp;t.getDsn(),r=t&amp;&amp;t.getOptions().tunnel;return ro(e,n)||no(e,r)}function no(e,t){return t?Bn(e)===Bn(t):!1}function ro(e,t){return t?e.includes(t.host):!1}function Bn(e){return e[e.length-1]==="/"?e.slice(0,-1):e}function Hn(){return typeof window&lt;"u"&amp;&amp;(!Ns()||so())}function so(){const e=ln.process;return!!e&amp;&amp;e.type==="renderer"}function io(e,t){return e??t()}const q=ln,fn="sentryReplaySession",oo="replay_event",hn="Unable to send Replay",ao=3e5,co=9e5,uo=5e3,lo=5500,fo=6e4,ho=5e3,po=3,Un=15e4,Ze=5e3,mo=3e3,go=300,pn=2e7,yo=4999,_o=15e3,jn=36e5;function Jt(e,t){return e??t()}function ze(e){let t,n=e[0],r=1;for(;r&lt;e.length;){const s=e[r],i=e[r+1];if(r+=2,(s==="optionalAccess"||s==="optionalCall")&amp;&amp;n==null)return;s==="access"||s==="optionalAccess"?(t=n,n=i(n)):(s==="call"||s==="optionalCall")&amp;&amp;(n=i((...o)=&gt;n.call(t,...o)),t=void 0)}return n}var G;(function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"})(G||(G={}));function So(e){return e.nodeType===e.ELEMENT_NODE}function He(e){const t=ze([e,"optionalAccess",n=&gt;n.host]);return ze([t,"optionalAccess",n=&gt;n.shadowRoot])===e}function Ue(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function wo(e){return e.includes(" background-clip: text;")&amp;&amp;!e.includes(" -webkit-background-clip: text;")&amp;&amp;(e=e.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),e}function vo(e){const{cssText:t}=e;if(t.split('"').length&lt;3)return t;const n=["@import",`url(${JSON.stringify(e.href)})`];return e.layerName===""?n.push("layer"):e.layerName&amp;&amp;n.push(`layer(${e.layerName})`),e.supportsText&amp;&amp;n.push(`supports(${e.supportsText})`),e.media.length&amp;&amp;n.push(e.media.mediaText),n.join(" ")+";"}function pt(e){try{const t=e.rules||e.cssRules;return t?wo(Array.from(t,Ar).join("")):null}catch{return null}}function bo(e){let t="";for(let n=0;n&lt;e.style.length;n++){const r=e.style,s=r[n],i=r.getPropertyPriority(s);t+=`${s}:${r.getPropertyValue(s)}${i?" !important":""};`}return`${e.selectorText} { ${t} }`}function Ar(e){let t;if(ko(e))try{t=pt(e.styleSheet)||vo(e)}catch{}else if(Mo(e)){let n=e.cssText;const r=e.selectorText.includes(":"),s=typeof e.style.all=="string"&amp;&amp;e.style.all;if(s&amp;&amp;(n=bo(e)),r&amp;&amp;(n=Eo(n)),r||s)return n}return t||e.cssText}function Eo(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}function ko(e){return"styleSheet"in e}function Mo(e){return"selectorText"in e}class Dr{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(t){if(!t)return-1;const n=ze([this,"access",r=&gt;r.getMeta,"call",r=&gt;r(t),"optionalAccess",r=&gt;r.id]);return Jt(n,()=&gt;-1)}getNode(t){return this.idNodeMap.get(t)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(t){return this.nodeMetaMap.get(t)||null}removeNodeFromMap(t){const n=this.getId(t);this.idNodeMap.delete(n),t.childNodes&amp;&amp;t.childNodes.forEach(r=&gt;this.removeNodeFromMap(r))}has(t){return this.idNodeMap.has(t)}hasNode(t){return this.nodeMetaMap.has(t)}add(t,n){const r=n.id;this.idNodeMap.set(r,t),this.nodeMetaMap.set(t,n)}replace(t,n){const r=this.getNode(t);if(r){const s=this.nodeMetaMap.get(r);s&amp;&amp;this.nodeMetaMap.set(n,s)}this.idNodeMap.set(t,n)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function xo(){return new Dr}function kt({maskInputOptions:e,tagName:t,type:n}){return t==="OPTION"&amp;&amp;(t="SELECT"),!!(e[t.toLowerCase()]||n&amp;&amp;e[n]||n==="password"||t==="INPUT"&amp;&amp;!n&amp;&amp;e.text)}function We({isMasked:e,element:t,value:n,maskInputFn:r}){let s=n||"";return e?(r&amp;&amp;(s=r(s,t)),"*".repeat(s.length)):s}function De(e){return e.toLowerCase()}function Qt(e){return e.toUpperCase()}const zn="__rrweb_original__";function Co(e){const t=e.getContext("2d");if(!t)return!0;const n=50;for(let r=0;r&lt;e.width;r+=n)for(let s=0;s&lt;e.height;s+=n){const i=t.getImageData,o=zn in i?i[zn]:i;if(new Uint32Array(o.call(t,r,s,Math.min(n,e.width-r),Math.min(n,e.height-s)).data.buffer).some(a=&gt;a!==0))return!1}return!0}function mn(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?De(t):null}function mt(e,t,n){return t==="INPUT"&amp;&amp;(n==="radio"||n==="checkbox")?e.getAttribute("value")||"":e.value}function Lr(e,t){let n;try{n=new URL(e,Jt(t,()=&gt;window.location.href))}catch{return null}const r=/\.([0-9a-z]+)(?:$)/i,s=n.pathname.match(r);return Jt(ze([s,"optionalAccess",i=&gt;i[1]]),()=&gt;null)}const Wn={};function Pr(e){const t=Wn[e];if(t)return t;const n=window.document;let r=window[e];if(n&amp;&amp;typeof n.createElement=="function")try{const s=n.createElement("iframe");s.hidden=!0,n.head.appendChild(s);const i=s.contentWindow;i&amp;&amp;i[e]&amp;&amp;(r=i[e]),n.head.removeChild(s)}catch{}return Wn[e]=r.bind(window)}function Zt(...e){return Pr("setTimeout")(...e)}function Nr(...e){return Pr("clearTimeout")(...e)}function Fr(e){try{return e.contentDocument}catch{}}let Io=1;const To=new RegExp("[^a-z0-9-_:]"),qe=-2;function gn(){return Io++}function Ro(e){if(e instanceof HTMLFormElement)return"form";const t=De(e.tagName);return To.test(t)?"div":t}function Oo(e){let t="";return e.indexOf("//")&gt;-1?t=e.split("/").slice(0,3).join("/"):t=e.split("/")[0],t=t.split("?")[0],t}let ke,qn;const Ao=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,Do=/^(?:[a-z+]+:)?\/\//i,Lo=/^www\..*/i,Po=/^(data:)([^,]*),(.*)/i;function gt(e,t){return(e||"").replace(Ao,(n,r,s,i,o,c)=&gt;{const a=s||o||c,u=r||i||"";if(!a)return n;if(Do.test(a)||Lo.test(a))return`url(${u}${a}${u})`;if(Po.test(a))return`url(${u}${a}${u})`;if(a[0]==="/")return`url(${u}${Oo(t)+a}${u})`;const d=t.split("/"),l=a.split("/");d.pop();for(const h of l)h!=="."&amp;&amp;(h===".."?d.pop():d.push(h));return`url(${u}${d.join("/")}${u})`})}const No=/^[^ \t\n\r\u000c]+/,Fo=/^[, \t\n\r\u000c]+/;function Bo(e,t){if(t.trim()==="")return t;let n=0;function r(i){let o;const c=i.exec(t.substring(n));return c?(o=c[0],n+=o.length,o):""}const s=[];for(;r(Fo),!(n&gt;=t.length);){let i=r(No);if(i.slice(-1)===",")i=Ie(e,i.substring(0,i.length-1)),s.push(i);else{let o="";i=Ie(e,i);let c=!1;for(;;){const a=t.charAt(n);if(a===""){s.push((i+o).trim());break}else if(c)a===")"&amp;&amp;(c=!1);else if(a===","){n+=1,s.push((i+o).trim());break}else a==="("&amp;&amp;(c=!0);o+=a,n+=1}}}return s.join(", ")}const $n=new WeakMap;function Ie(e,t){return!t||t.trim()===""?t:Mt(e,t)}function Ho(e){return!!(e.tagName==="svg"||e.ownerSVGElement)}function Mt(e,t){let n=$n.get(e);if(n||(n=e.createElement("a"),$n.set(e,n)),!t)t="";else if(t.startsWith("blob:")||t.startsWith("data:"))return t;return n.setAttribute("href",t),n.href}function Br(e,t,n,r,s,i){return r&amp;&amp;(n==="src"||n==="href"&amp;&amp;!(t==="use"&amp;&amp;r[0]==="#")||n==="xlink:href"&amp;&amp;r[0]!=="#"||n==="background"&amp;&amp;(t==="table"||t==="td"||t==="th")?Ie(e,r):n==="srcset"?Bo(e,r):n==="style"?gt(r,Mt(e)):t==="object"&amp;&amp;n==="data"?Ie(e,r):typeof i=="function"?i(n,r,s):r)}function Hr(e,t,n){return(e==="video"||e==="audio")&amp;&amp;t==="autoplay"}function Uo(e,t,n,r){try{if(r&amp;&amp;e.matches(r))return!1;if(typeof t=="string"){if(e.classList.contains(t))return!0}else for(let s=e.classList.length;s--;){const i=e.classList[s];if(t.test(i))return!0}if(n)return e.matches(n)}catch{}return!1}function jo(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}function ve(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r&gt;n?-1:t(e)?r:ve(e.parentNode,t,n,r+1)}function Te(e,t){return n=&gt;{const r=n;if(r===null)return!1;try{if(e){if(typeof e=="string"){if(r.matches(`.${e}`))return!0}else if(jo(r,e))return!0}return!!(t&amp;&amp;r.matches(t))}catch{return!1}}}function Le(e,t,n,r,s,i){try{const o=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(o===null)return!1;if(o.tagName==="INPUT"){const u=o.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(u))return!0}let c=-1,a=-1;if(i){if(a=ve(o,Te(r,s)),a&lt;0)return!0;c=ve(o,Te(t,n),a&gt;=0?a:1/0)}else{if(c=ve(o,Te(t,n)),c&lt;0)return!1;a=ve(o,Te(r,s),c&gt;=0?c:1/0)}return c&gt;=0?a&gt;=0?c&lt;=a:!0:a&gt;=0?!1:!!i}catch{}return!!i}function zo(e,t,n){const r=e.contentWindow;if(!r)return;let s=!1,i;try{i=r.document.readyState}catch{return}if(i!=="complete"){const c=Zt(()=&gt;{s||(t(),s=!0)},n);e.addEventListener("load",()=&gt;{Nr(c),s=!0,t()});return}const o="about:blank";if(r.location.href!==o||e.src===o||e.src==="")return Zt(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}function Wo(e,t,n){let r=!1,s;try{s=e.sheet}catch{return}if(s)return;const i=Zt(()=&gt;{r||(t(),r=!0)},n);e.addEventListener("load",()=&gt;{Nr(i),r=!0,t()})}function qo(e,t){const{doc:n,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:c,maskAttributeFn:a,maskTextClass:u,unmaskTextClass:d,maskTextSelector:l,unmaskTextSelector:h,inlineStylesheet:m,maskInputOptions:g={},maskTextFn:y,maskInputFn:w,dataURLOptions:S={},inlineImages:T,recordCanvas:j,keepIframeSrcFn:L,newlyAddedElement:I=!1}=t,v=$o(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode!=="CSS1Compat"?{type:G.Document,childNodes:[],compatMode:e.compatMode}:{type:G.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:G.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:v};case e.ELEMENT_NODE:return Xo(e,{doc:n,blockClass:s,blockSelector:i,unblockSelector:o,inlineStylesheet:m,maskAttributeFn:a,maskInputOptions:g,maskInputFn:w,dataURLOptions:S,inlineImages:T,recordCanvas:j,keepIframeSrcFn:L,newlyAddedElement:I,rootId:v,maskTextClass:u,unmaskTextClass:d,maskTextSelector:l,unmaskTextSelector:h});case e.TEXT_NODE:return Yo(e,{doc:n,maskAllText:c,maskTextClass:u,unmaskTextClass:d,maskTextSelector:l,unmaskTextSelector:h,maskTextFn:y,maskInputOptions:g,maskInputFn:w,rootId:v});case e.CDATA_SECTION_NODE:return{type:G.CDATA,textContent:"",rootId:v};case e.COMMENT_NODE:return{type:G.Comment,textContent:e.textContent||"",rootId:v};default:return!1}}function $o(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return n===1?void 0:n}function Yo(e,t){const{maskAllText:n,maskTextClass:r,unmaskTextClass:s,maskTextSelector:i,unmaskTextSelector:o,maskTextFn:c,maskInputOptions:a,maskInputFn:u,rootId:d}=t,l=e.parentNode&amp;&amp;e.parentNode.tagName;let h=e.textContent;const m=l==="STYLE"?!0:void 0,g=l==="SCRIPT"?!0:void 0,y=l==="TEXTAREA"?!0:void 0;if(m&amp;&amp;h){try{e.nextSibling||e.previousSibling||ze([e,"access",S=&gt;S.parentNode,"access",S=&gt;S.sheet,"optionalAccess",S=&gt;S.cssRules])&amp;&amp;(h=pt(e.parentNode.sheet))}catch(S){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${S}`,e)}h=gt(h,Mt(t.doc))}g&amp;&amp;(h="SCRIPT_PLACEHOLDER");const w=Le(e,r,i,s,o,n);if(!m&amp;&amp;!g&amp;&amp;!y&amp;&amp;h&amp;&amp;w&amp;&amp;(h=c?c(h,e.parentElement):h.replace(/[\S]/g,"*")),y&amp;&amp;h&amp;&amp;(a.textarea||w)&amp;&amp;(h=u?u(h,e.parentNode):h.replace(/[\S]/g,"*")),l==="OPTION"&amp;&amp;h){const S=kt({type:null,tagName:l,maskInputOptions:a});h=We({isMasked:Le(e,r,i,s,o,S),element:e,value:h,maskInputFn:u})}return{type:G.Text,textContent:h||"",isStyle:m,rootId:d}}function Xo(e,t){const{doc:n,blockClass:r,blockSelector:s,unblockSelector:i,inlineStylesheet:o,maskInputOptions:c={},maskAttributeFn:a,maskInputFn:u,dataURLOptions:d={},inlineImages:l,recordCanvas:h,keepIframeSrcFn:m,newlyAddedElement:g=!1,rootId:y,maskTextClass:w,unmaskTextClass:S,maskTextSelector:T,unmaskTextSelector:j}=t,L=Uo(e,r,s,i),I=Ro(e);let v={};const D=e.attributes.length;for(let _=0;_&lt;D;_++){const x=e.attributes[_];x.name&amp;&amp;!Hr(I,x.name,x.value)&amp;&amp;(v[x.name]=Br(n,I,De(x.name),x.value,e,a))}if(I==="link"&amp;&amp;o){const _=Array.from(n.styleSheets).find(z=&gt;z.href===e.href);let x=null;_&amp;&amp;(x=pt(_)),x&amp;&amp;(v.rel=null,v.href=null,v.crossorigin=null,v._cssText=gt(x,_.href))}if(I==="style"&amp;&amp;e.sheet&amp;&amp;!(e.innerText||e.textContent||"").trim().length){const _=pt(e.sheet);_&amp;&amp;(v._cssText=gt(_,Mt(n)))}if(I==="input"||I==="textarea"||I==="select"||I==="option"){const _=e,x=mn(_),z=mt(_,Qt(I),x),P=_.checked;if(x!=="submit"&amp;&amp;x!=="button"&amp;&amp;z){const X=Le(_,w,T,S,j,kt({type:x,tagName:Qt(I),maskInputOptions:c}));v.value=We({isMasked:X,element:_,value:z,maskInputFn:u})}P&amp;&amp;(v.checked=P)}if(I==="option"&amp;&amp;(e.selected&amp;&amp;!c.select?v.selected=!0:delete v.selected),I==="canvas"&amp;&amp;h){if(e.__context==="2d")Co(e)||(v.rr_dataURL=e.toDataURL(d.type,d.quality));else if(!("__context"in e)){const _=e.toDataURL(d.type,d.quality),x=n.createElement("canvas");x.width=e.width,x.height=e.height;const z=x.toDataURL(d.type,d.quality);_!==z&amp;&amp;(v.rr_dataURL=_)}}if(I==="img"&amp;&amp;l){ke||(ke=n.createElement("canvas"),qn=ke.getContext("2d"));const _=e,x=_.currentSrc||_.getAttribute("src")||"&lt;unknown-src&gt;",z=_.crossOrigin,P=()=&gt;{_.removeEventListener("load",P);try{ke.width=_.naturalWidth,ke.height=_.naturalHeight,qn.drawImage(_,0,0),v.rr_dataURL=ke.toDataURL(d.type,d.quality)}catch(X){if(_.crossOrigin!=="anonymous"){_.crossOrigin="anonymous",_.complete&amp;&amp;_.naturalWidth!==0?P():_.addEventListener("load",P);return}else console.warn(`Cannot inline img src=${x}! Error: ${X}`)}_.crossOrigin==="anonymous"&amp;&amp;(z?v.crossOrigin=z:_.removeAttribute("crossorigin"))};_.complete&amp;&amp;_.naturalWidth!==0?P():_.addEventListener("load",P)}if((I==="audio"||I==="video")&amp;&amp;(v.rr_mediaState=e.paused?"paused":"played",v.rr_mediaCurrentTime=e.currentTime),g||(e.scrollLeft&amp;&amp;(v.rr_scrollLeft=e.scrollLeft),e.scrollTop&amp;&amp;(v.rr_scrollTop=e.scrollTop)),L){const{width:_,height:x}=e.getBoundingClientRect();v={class:v.class,rr_width:`${_}px`,rr_height:`${x}px`}}I==="iframe"&amp;&amp;!m(v.src)&amp;&amp;(!L&amp;&amp;!Fr(e)&amp;&amp;(v.rr_src=v.src),delete v.src);let A;try{customElements.get(I)&amp;&amp;(A=!0)}catch{}return{type:G.Element,tagName:I,attributes:v,childNodes:[],isSVG:Ho(e)||void 0,needBlock:L,rootId:y,isCustom:A}}function W(e){return e==null?"":e.toLowerCase()}function Vo(e,t){if(t.comment&amp;&amp;e.type===G.Comment)return!0;if(e.type===G.Element){if(t.script&amp;&amp;(e.tagName==="script"||e.tagName==="link"&amp;&amp;(e.attributes.rel==="preload"||e.attributes.rel==="modulepreload")||e.tagName==="link"&amp;&amp;e.attributes.rel==="prefetch"&amp;&amp;typeof e.attributes.href=="string"&amp;&amp;Lr(e.attributes.href)==="js"))return!0;if(t.headFavicon&amp;&amp;(e.tagName==="link"&amp;&amp;e.attributes.rel==="shortcut icon"||e.tagName==="meta"&amp;&amp;(W(e.attributes.name).match(/^msapplication-tile(image|color)$/)||W(e.attributes.name)==="application-name"||W(e.attributes.rel)==="icon"||W(e.attributes.rel)==="apple-touch-icon"||W(e.attributes.rel)==="shortcut icon")))return!0;if(e.tagName==="meta"){if(t.headMetaDescKeywords&amp;&amp;W(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&amp;&amp;(W(e.attributes.property).match(/^(og|twitter|fb):/)||W(e.attributes.name).match(/^(og|twitter):/)||W(e.attributes.name)==="pinterest"))return!0;if(t.headMetaRobots&amp;&amp;(W(e.attributes.name)==="robots"||W(e.attributes.name)==="googlebot"||W(e.attributes.name)==="bingbot"))return!0;if(t.headMetaHttpEquiv&amp;&amp;e.attributes["http-equiv"]!==void 0)return!0;if(t.headMetaAuthorship&amp;&amp;(W(e.attributes.name)==="author"||W(e.attributes.name)==="generator"||W(e.attributes.name)==="framework"||W(e.attributes.name)==="publisher"||W(e.attributes.name)==="progid"||W(e.attributes.property).match(/^article:/)||W(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&amp;&amp;(W(e.attributes.name)==="google-site-verification"||W(e.attributes.name)==="yandex-verification"||W(e.attributes.name)==="csrf-token"||W(e.attributes.name)==="p:domain_verify"||W(e.attributes.name)==="verify-v1"||W(e.attributes.name)==="verification"||W(e.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function Re(e,t){const{doc:n,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:c,maskTextClass:a,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:l,skipChild:h=!1,inlineStylesheet:m=!0,maskInputOptions:g={},maskAttributeFn:y,maskTextFn:w,maskInputFn:S,slimDOMOptions:T,dataURLOptions:j={},inlineImages:L=!1,recordCanvas:I=!1,onSerialize:v,onIframeLoad:D,iframeLoadTimeout:A=5e3,onStylesheetLoad:_,stylesheetLoadTimeout:x=5e3,keepIframeSrcFn:z=()=&gt;!1,newlyAddedElement:P=!1}=t;let{preserveWhiteSpace:X=!0}=t;const V=qo(e,{doc:n,mirror:r,blockClass:s,blockSelector:i,maskAllText:c,unblockSelector:o,maskTextClass:a,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:l,inlineStylesheet:m,maskInputOptions:g,maskAttributeFn:y,maskTextFn:w,maskInputFn:S,dataURLOptions:j,inlineImages:L,recordCanvas:I,keepIframeSrcFn:z,newlyAddedElement:P});if(!V)return console.warn(e,"not serialized"),null;let f;r.hasNode(e)?f=r.getId(e):Vo(V,T)||!X&amp;&amp;V.type===G.Text&amp;&amp;!V.isStyle&amp;&amp;!V.textContent.replace(/^\s+|\s+$/gm,"").length?f=qe:f=gn();const p=Object.assign(V,{id:f});if(r.add(e,p),f===qe)return null;v&amp;&amp;v(e);let b=!h;if(p.type===G.Element){b=b&amp;&amp;!p.needBlock,delete p.needBlock;const k=e.shadowRoot;k&amp;&amp;Ue(k)&amp;&amp;(p.isShadowHost=!0)}if((p.type===G.Document||p.type===G.Element)&amp;&amp;b){T.headWhitespace&amp;&amp;p.type===G.Element&amp;&amp;p.tagName==="head"&amp;&amp;(X=!1);const k={doc:n,mirror:r,blockClass:s,blockSelector:i,maskAllText:c,unblockSelector:o,maskTextClass:a,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:l,skipChild:h,inlineStylesheet:m,maskInputOptions:g,maskAttributeFn:y,maskTextFn:w,maskInputFn:S,slimDOMOptions:T,dataURLOptions:j,inlineImages:L,recordCanvas:I,preserveWhiteSpace:X,onSerialize:v,onIframeLoad:D,iframeLoadTimeout:A,onStylesheetLoad:_,stylesheetLoadTimeout:x,keepIframeSrcFn:z};for(const B of Array.from(e.childNodes)){const R=Re(B,k);R&amp;&amp;p.childNodes.push(R)}if(So(e)&amp;&amp;e.shadowRoot)for(const B of Array.from(e.shadowRoot.childNodes)){const R=Re(B,k);R&amp;&amp;(Ue(e.shadowRoot)&amp;&amp;(R.isShadow=!0),p.childNodes.push(R))}}return e.parentNode&amp;&amp;He(e.parentNode)&amp;&amp;Ue(e.parentNode)&amp;&amp;(p.isShadow=!0),p.type===G.Element&amp;&amp;p.tagName==="iframe"&amp;&amp;zo(e,()=&gt;{const k=Fr(e);if(k&amp;&amp;D){const B=Re(k,{doc:k,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:c,maskTextClass:a,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:l,skipChild:!1,inlineStylesheet:m,maskInputOptions:g,maskAttributeFn:y,maskTextFn:w,maskInputFn:S,slimDOMOptions:T,dataURLOptions:j,inlineImages:L,recordCanvas:I,preserveWhiteSpace:X,onSerialize:v,onIframeLoad:D,iframeLoadTimeout:A,onStylesheetLoad:_,stylesheetLoadTimeout:x,keepIframeSrcFn:z});B&amp;&amp;D(e,B)}},A),p.type===G.Element&amp;&amp;p.tagName==="link"&amp;&amp;typeof p.attributes.rel=="string"&amp;&amp;(p.attributes.rel==="stylesheet"||p.attributes.rel==="preload"&amp;&amp;typeof p.attributes.href=="string"&amp;&amp;Lr(p.attributes.href)==="css")&amp;&amp;Wo(e,()=&gt;{if(_){const k=Re(e,{doc:n,mirror:r,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:c,maskTextClass:a,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:l,skipChild:!1,inlineStylesheet:m,maskInputOptions:g,maskAttributeFn:y,maskTextFn:w,maskInputFn:S,slimDOMOptions:T,dataURLOptions:j,inlineImages:L,recordCanvas:I,preserveWhiteSpace:X,onSerialize:v,onIframeLoad:D,iframeLoadTimeout:A,onStylesheetLoad:_,stylesheetLoadTimeout:x,keepIframeSrcFn:z});k&amp;&amp;_(e,k)}},x),p}function Go(e,t){const{mirror:n=new Dr,blockClass:r="rr-block",blockSelector:s=null,unblockSelector:i=null,maskAllText:o=!1,maskTextClass:c="rr-mask",unmaskTextClass:a=null,maskTextSelector:u=null,unmaskTextSelector:d=null,inlineStylesheet:l=!0,inlineImages:h=!1,recordCanvas:m=!1,maskAllInputs:g=!1,maskAttributeFn:y,maskTextFn:w,maskInputFn:S,slimDOM:T=!1,dataURLOptions:j,preserveWhiteSpace:L,onSerialize:I,onIframeLoad:v,iframeLoadTimeout:D,onStylesheetLoad:A,stylesheetLoadTimeout:_,keepIframeSrcFn:x=()=&gt;!1}=t||{};return Re(e,{doc:e,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,maskAllText:o,maskTextClass:c,unmaskTextClass:a,maskTextSelector:u,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:l,maskInputOptions:g===!0?{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}:g===!1?{}:g,maskAttributeFn:y,maskTextFn:w,maskInputFn:S,slimDOMOptions:T===!0||T==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:T==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:T===!1?{}:T,dataURLOptions:j,inlineImages:h,recordCanvas:m,preserveWhiteSpace:L,onSerialize:I,onIframeLoad:v,iframeLoadTimeout:D,onStylesheetLoad:A,stylesheetLoadTimeout:_,keepIframeSrcFn:x,newlyAddedElement:!1})}function le(e){let t,n=e[0],r=1;for(;r&lt;e.length;){const s=e[r],i=e[r+1];if(r+=2,(s==="optionalAccess"||s==="optionalCall")&amp;&amp;n==null)return;s==="access"||s==="optionalAccess"?(t=n,n=i(n)):(s==="call"||s==="optionalCall")&amp;&amp;(n=i((...o)=&gt;n.call(t,...o)),t=void 0)}return n}function Z(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=&gt;n.removeEventListener(e,t,r)}const Ce=`Please stop import mirror directly. Instead of that,\r
now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
or you can use record.mirror to access the mirror instance during recording.`;let Yn={map:{},getId(){return console.error(Ce),-1},getNode(){return console.error(Ce),null},removeNodeFromMap(){console.error(Ce)},has(){return console.error(Ce),!1},reset(){console.error(Ce)}};typeof window&lt;"u"&amp;&amp;window.Proxy&amp;&amp;window.Reflect&amp;&amp;(Yn=new Proxy(Yn,{get(e,t,n){return t==="map"&amp;&amp;console.error(Ce),Reflect.get(e,t,n)}}));function $e(e,t,n={}){let r=null,s=0;return function(...i){const o=Date.now();!s&amp;&amp;n.leading===!1&amp;&amp;(s=o);const c=t-(o-s),a=this;c&lt;=0||c&gt;t?(r&amp;&amp;(na(r),r=null),s=o,e.apply(a,i)):!r&amp;&amp;n.trailing!==!1&amp;&amp;(r=xt(()=&gt;{s=n.leading===!1?0:Date.now(),r=null,e.apply(a,i)},c))}}function Ur(e,t,n,r,s=window){const i=s.Object.getOwnPropertyDescriptor(e,t);return s.Object.defineProperty(e,t,r?n:{set(o){xt(()=&gt;{n.set.call(this,o)},0),i&amp;&amp;i.set&amp;&amp;i.set.call(this,o)}}),()=&gt;Ur(e,t,i||{},!0)}function yn(e,t,n){try{if(!(t in e))return()=&gt;{};const r=e[t],s=n(r);return typeof s=="function"&amp;&amp;(s.prototype=s.prototype||{},Object.defineProperties(s,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=s,()=&gt;{e[t]=r}}catch{return()=&gt;{}}}let yt=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(yt=()=&gt;new Date().getTime());function jr(e){const t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:e.pageXOffset!==void 0?e.pageXOffset:le([t,"optionalAccess",n=&gt;n.documentElement,"access",n=&gt;n.scrollLeft])||le([t,"optionalAccess",n=&gt;n.body,"optionalAccess",n=&gt;n.parentElement,"optionalAccess",n=&gt;n.scrollLeft])||le([t,"optionalAccess",n=&gt;n.body,"optionalAccess",n=&gt;n.scrollLeft])||0,top:t.scrollingElement?t.scrollingElement.scrollTop:e.pageYOffset!==void 0?e.pageYOffset:le([t,"optionalAccess",n=&gt;n.documentElement,"access",n=&gt;n.scrollTop])||le([t,"optionalAccess",n=&gt;n.body,"optionalAccess",n=&gt;n.parentElement,"optionalAccess",n=&gt;n.scrollTop])||le([t,"optionalAccess",n=&gt;n.body,"optionalAccess",n=&gt;n.scrollTop])||0}}function zr(){return window.innerHeight||document.documentElement&amp;&amp;document.documentElement.clientHeight||document.body&amp;&amp;document.body.clientHeight}function Wr(){return window.innerWidth||document.documentElement&amp;&amp;document.documentElement.clientWidth||document.body&amp;&amp;document.body.clientWidth}function qr(e){return e?e.nodeType===e.ELEMENT_NODE?e:e.parentElement:null}function te(e,t,n,r,s){if(!e)return!1;const i=qr(e);if(!i)return!1;const o=Te(t,n);if(!s){const u=r&amp;&amp;i.matches(r);return o(i)&amp;&amp;!u}const c=ve(i,o);let a=-1;return c&lt;0?!1:(r&amp;&amp;(a=ve(i,Te(null,r))),c&gt;-1&amp;&amp;a&lt;0?!0:c&lt;a)}function Ko(e,t){return t.getId(e)!==-1}function Wt(e,t){return t.getId(e)===qe}function $r(e,t){if(He(e))return!1;const n=t.getId(e);return t.has(n)?e.parentNode&amp;&amp;e.parentNode.nodeType===e.DOCUMENT_NODE?!1:e.parentNode?$r(e.parentNode,t):!0:!0}function en(e){return!!e.changedTouches}function Jo(e=window){"NodeList"in e&amp;&amp;!e.NodeList.prototype.forEach&amp;&amp;(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&amp;&amp;!e.DOMTokenList.prototype.forEach&amp;&amp;(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...t)=&gt;{let n=t[0];if(!(0 in t))throw new TypeError("1 argument is required");do if(this===n)return!0;while(n=n&amp;&amp;n.parentNode);return!1})}function Yr(e,t){return!!(e.nodeName==="IFRAME"&amp;&amp;t.getMeta(e))}function Xr(e,t){return!!(e.nodeName==="LINK"&amp;&amp;e.nodeType===e.ELEMENT_NODE&amp;&amp;e.getAttribute&amp;&amp;e.getAttribute("rel")==="stylesheet"&amp;&amp;t.getMeta(e))}function tn(e){return!!le([e,"optionalAccess",t=&gt;t.shadowRoot])}class Qo{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(t){return io(this.styleIDMap.get(t),()=&gt;-1)}has(t){return this.styleIDMap.has(t)}add(t,n){if(this.has(t))return this.getId(t);let r;return n===void 0?r=this.id++:r=n,this.styleIDMap.set(t,r),this.idStyleMap.set(r,t),r}getStyle(t){return this.idStyleMap.get(t)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function Vr(e){let t=null;return le([e,"access",n=&gt;n.getRootNode,"optionalCall",n=&gt;n(),"optionalAccess",n=&gt;n.nodeType])===Node.DOCUMENT_FRAGMENT_NODE&amp;&amp;e.getRootNode().host&amp;&amp;(t=e.getRootNode().host),t}function Zo(e){let t=e,n;for(;n=Vr(t);)t=n;return t}function ea(e){const t=e.ownerDocument;if(!t)return!1;const n=Zo(e);return t.contains(n)}function Gr(e){const t=e.ownerDocument;return t?t.contains(e)||ea(e):!1}const Xn={};function _n(e){const t=Xn[e];if(t)return t;const n=window.document;let r=window[e];if(n&amp;&amp;typeof n.createElement=="function")try{const s=n.createElement("iframe");s.hidden=!0,n.head.appendChild(s);const i=s.contentWindow;i&amp;&amp;i[e]&amp;&amp;(r=i[e]),n.head.removeChild(s)}catch{}return Xn[e]=r.bind(window)}function ta(...e){return _n("requestAnimationFrame")(...e)}function xt(...e){return _n("setTimeout")(...e)}function na(...e){return _n("clearTimeout")(...e)}var O=(e=&gt;(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(O||{}),C=(e=&gt;(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(C||{}),Q=(e=&gt;(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(Q||{}),ae=(e=&gt;(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(ae||{}),Vn;(function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"})(Vn||(Vn={}));var Gn;(function(e){e[e.PLACEHOLDER=0]="PLACEHOLDER",e[e.ELEMENT_NODE=1]="ELEMENT_NODE",e[e.ATTRIBUTE_NODE=2]="ATTRIBUTE_NODE",e[e.TEXT_NODE=3]="TEXT_NODE",e[e.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",e[e.ENTITY_REFERENCE_NODE=5]="ENTITY_REFERENCE_NODE",e[e.ENTITY_NODE=6]="ENTITY_NODE",e[e.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",e[e.COMMENT_NODE=8]="COMMENT_NODE",e[e.DOCUMENT_NODE=9]="DOCUMENT_NODE",e[e.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",e[e.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE"})(Gn||(Gn={}));function Sn(e){try{return e.contentDocument}catch{}}function ra(e){try{return e.contentWindow}catch{}}function sa(e){let t,n=e[0],r=1;for(;r&lt;e.length;){const s=e[r],i=e[r+1];if(r+=2,(s==="optionalAccess"||s==="optionalCall")&amp;&amp;n==null)return;s==="access"||s==="optionalAccess"?(t=n,n=i(n)):(s==="call"||s==="optionalCall")&amp;&amp;(n=i((...o)=&gt;n.call(t,...o)),t=void 0)}return n}function Kn(e){return"__ln"in e}class ia{constructor(){this.length=0,this.head=null,this.tail=null}get(t){if(t&gt;=this.length)throw new Error("Position outside of list range");let n=this.head;for(let r=0;r&lt;t;r++)n=sa([n,"optionalAccess",s=&gt;s.next])||null;return n}addNode(t){const n={value:t,previous:null,next:null};if(t.__ln=n,t.previousSibling&amp;&amp;Kn(t.previousSibling)){const r=t.previousSibling.__ln.next;n.next=r,n.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=n,r&amp;&amp;(r.previous=n)}else if(t.nextSibling&amp;&amp;Kn(t.nextSibling)&amp;&amp;t.nextSibling.__ln.previous){const r=t.nextSibling.__ln.previous;n.previous=r,n.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=n,r&amp;&amp;(r.next=n)}else this.head&amp;&amp;(this.head.previous=n),n.next=this.head,this.head=n;n.next===null&amp;&amp;(this.tail=n),this.length++}removeNode(t){const n=t.__ln;this.head&amp;&amp;(n.previous?(n.previous.next=n.next,n.next?n.next.previous=n.previous:this.tail=n.previous):(this.head=n.next,this.head?this.head.previous=null:this.tail=null),t.__ln&amp;&amp;delete t.__ln,this.length--)}}const Jn=(e,t)=&gt;`${e}@${t}`;class oa{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=t=&gt;{t.forEach(this.processMutation),this.emit()},this.emit=()=&gt;{if(this.frozen||this.locked)return;const t=[],n=new Set,r=new ia,s=a=&gt;{let u=a,d=qe;for(;d===qe;)u=u&amp;&amp;u.nextSibling,d=u&amp;&amp;this.mirror.getId(u);return d},i=a=&gt;{if(!a.parentNode||!Gr(a))return;const u=He(a.parentNode)?this.mirror.getId(Vr(a)):this.mirror.getId(a.parentNode),d=s(a);if(u===-1||d===-1)return r.addNode(a);const l=Re(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:h=&gt;{Yr(h,this.mirror)&amp;&amp;!te(h,this.blockClass,this.blockSelector,this.unblockSelector,!1)&amp;&amp;this.iframeManager.addIframe(h),Xr(h,this.mirror)&amp;&amp;this.stylesheetManager.trackLinkElement(h),tn(a)&amp;&amp;this.shadowDomManager.addShadowRoot(a.shadowRoot,this.doc)},onIframeLoad:(h,m)=&gt;{te(h,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(this.iframeManager.attachIframe(h,m),h.contentWindow&amp;&amp;this.canvasManager.addWindow(h.contentWindow),this.shadowDomManager.observeAttachShadow(h))},onStylesheetLoad:(h,m)=&gt;{this.stylesheetManager.attachLinkElement(h,m)}});l&amp;&amp;(t.push({parentId:u,nextId:d,node:l}),n.add(l.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const a of this.movedSet)Qn(this.removes,a,this.mirror)&amp;&amp;!this.movedSet.has(a.parentNode)||i(a);for(const a of this.addedSet)!Zn(this.droppedSet,a)&amp;&amp;!Qn(this.removes,a,this.mirror)||Zn(this.movedSet,a)?i(a):this.droppedSet.add(a);let o=null;for(;r.length;){let a=null;if(o){const u=this.mirror.getId(o.value.parentNode),d=s(o.value);u!==-1&amp;&amp;d!==-1&amp;&amp;(a=o)}if(!a){let u=r.tail;for(;u;){const d=u;if(u=u.previous,d){const l=this.mirror.getId(d.value.parentNode);if(s(d.value)===-1)continue;if(l!==-1){a=d;break}else{const m=d.value;if(m.parentNode&amp;&amp;m.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const g=m.parentNode.host;if(this.mirror.getId(g)!==-1){a=d;break}}}}}}if(!a){for(;r.head;)r.removeNode(r.head.value);break}o=a.previous,r.removeNode(a.value),i(a.value)}const c={texts:this.texts.map(a=&gt;({id:this.mirror.getId(a.node),value:a.value})).filter(a=&gt;!n.has(a.id)).filter(a=&gt;this.mirror.has(a.id)),attributes:this.attributes.map(a=&gt;{const{attributes:u}=a;if(typeof u.style=="string"){const d=JSON.stringify(a.styleDiff),l=JSON.stringify(a._unchangedStyles);d.length&lt;u.style.length&amp;&amp;(d+l).split("var(").length===u.style.split("var(").length&amp;&amp;(u.style=a.styleDiff)}return{id:this.mirror.getId(a.node),attributes:u}}).filter(a=&gt;!n.has(a.id)).filter(a=&gt;this.mirror.has(a.id)),removes:this.removes,adds:t};!c.texts.length&amp;&amp;!c.attributes.length&amp;&amp;!c.removes.length&amp;&amp;!c.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(c))},this.processMutation=t=&gt;{if(!Wt(t.target,this.mirror))switch(t.type){case"characterData":{const n=t.target.textContent;!te(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)&amp;&amp;n!==t.oldValue&amp;&amp;this.texts.push({value:Le(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&amp;&amp;n?this.maskTextFn?this.maskTextFn(n,qr(t.target)):n.replace(/[\S]/g,"*"):n,node:t.target});break}case"attributes":{const n=t.target;let r=t.attributeName,s=t.target.getAttribute(r);if(r==="value"){const o=mn(n),c=n.tagName;s=mt(n,c,o);const a=kt({maskInputOptions:this.maskInputOptions,tagName:c,type:o}),u=Le(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,a);s=We({isMasked:u,element:n,value:s,maskInputFn:this.maskInputFn})}if(te(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||s===t.oldValue)return;let i=this.attributeMap.get(t.target);if(n.tagName==="IFRAME"&amp;&amp;r==="src"&amp;&amp;!this.keepIframeSrcFn(s))if(!Sn(n))r="rr_src";else return;if(i||(i={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(i),this.attributeMap.set(t.target,i)),r==="type"&amp;&amp;n.tagName==="INPUT"&amp;&amp;(t.oldValue||"").toLowerCase()==="password"&amp;&amp;n.setAttribute("data-rr-is-password","true"),!Hr(n.tagName,r)&amp;&amp;(i.attributes[r]=Br(this.doc,De(n.tagName),De(r),s,n,this.maskAttributeFn),r==="style")){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}const o=this.unattachedDoc.createElement("span");t.oldValue&amp;&amp;o.setAttribute("style",t.oldValue);for(const c of Array.from(n.style)){const a=n.style.getPropertyValue(c),u=n.style.getPropertyPriority(c);a!==o.style.getPropertyValue(c)||u!==o.style.getPropertyPriority(c)?u===""?i.styleDiff[c]=a:i.styleDiff[c]=[a,u]:i._unchangedStyles[c]=[a,u]}for(const c of Array.from(o.style))n.style.getPropertyValue(c)===""&amp;&amp;(i.styleDiff[c]=!1)}break}case"childList":{if(te(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;t.addedNodes.forEach(n=&gt;this.genAdds(n,t.target)),t.removedNodes.forEach(n=&gt;{const r=this.mirror.getId(n),s=He(t.target)?this.mirror.getId(t.target.host):this.mirror.getId(t.target);te(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||Wt(n,this.mirror)||!Ko(n,this.mirror)||(this.addedSet.has(n)?(nn(this.addedSet,n),this.droppedSet.add(n)):this.addedSet.has(t.target)&amp;&amp;r===-1||$r(t.target,this.mirror)||(this.movedSet.has(n)&amp;&amp;this.movedMap[Jn(r,s)]?nn(this.movedSet,n):this.removes.push({parentId:s,id:r,isShadow:He(t.target)&amp;&amp;Ue(t.target)?!0:void 0})),this.mapRemoves.push(n))});break}}},this.genAdds=(t,n)=&gt;{if(!this.processedNodeManager.inOtherBuffer(t,this)&amp;&amp;!(this.addedSet.has(t)||this.movedSet.has(t))){if(this.mirror.hasNode(t)){if(Wt(t,this.mirror))return;this.movedSet.add(t);let r=null;n&amp;&amp;this.mirror.hasNode(n)&amp;&amp;(r=this.mirror.getId(n)),r&amp;&amp;r!==-1&amp;&amp;(this.movedMap[Jn(this.mirror.getId(t),r)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);te(t,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(t.childNodes.forEach(r=&gt;this.genAdds(r)),tn(t)&amp;&amp;t.shadowRoot.childNodes.forEach(r=&gt;{this.processedNodeManager.add(r,this),this.genAdds(r,t)}))}}}init(t){["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"].forEach(n=&gt;{this[n]=t[n]})}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 nn(e,t){e.delete(t),t.childNodes.forEach(n=&gt;nn(e,n))}function Qn(e,t,n){return e.length===0?!1:aa(e,t,n)}function aa(e,t,n){let r=t.parentNode;for(;r;){const s=n.getId(r);if(e.some(i=&gt;i.id===s))return!0;r=r.parentNode}return!1}function Zn(e,t){return e.size===0?!1:Kr(e,t)}function Kr(e,t){const{parentNode:n}=t;return n?e.has(n)?!0:Kr(e,n):!1}let je;function ca(e){je=e}function ua(){je=void 0}const F=e=&gt;je?(...n)=&gt;{try{return e(...n)}catch(r){if(je&amp;&amp;je(r)===!0)return()=&gt;{};throw r}}:e;function se(e){let t,n=e[0],r=1;for(;r&lt;e.length;){const s=e[r],i=e[r+1];if(r+=2,(s==="optionalAccess"||s==="optionalCall")&amp;&amp;n==null)return;s==="access"||s==="optionalAccess"?(t=n,n=i(n)):(s==="call"||s==="optionalCall")&amp;&amp;(n=i((...o)=&gt;n.call(t,...o)),t=void 0)}return n}const Oe=[];function Ge(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&amp;&amp;e.path.length)return e.path[0]}catch{}return e&amp;&amp;e.target}function Jr(e,t){const n=new oa;Oe.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver;const s=se([window,"optionalAccess",o=&gt;o.Zone,"optionalAccess",o=&gt;o.__symbol__,"optionalCall",o=&gt;o("MutationObserver")]);s&amp;&amp;window[s]&amp;&amp;(r=window[s]);const i=new r(F(o=&gt;{e.onMutation&amp;&amp;e.onMutation(o)===!1||n.processMutations.bind(n)(o)}));return i.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),i}function la({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(t.mousemove===!1)return()=&gt;{};const s=typeof t.mousemove=="number"?t.mousemove:50,i=typeof t.mousemoveCallback=="number"?t.mousemoveCallback:500;let o=[],c;const a=$e(F(l=&gt;{const h=Date.now()-c;e(o.map(m=&gt;(m.timeOffset-=h,m)),l),o=[],c=null}),i),u=F($e(F(l=&gt;{const h=Ge(l),{clientX:m,clientY:g}=en(l)?l.changedTouches[0]:l;c||(c=yt()),o.push({x:m,y:g,id:r.getId(h),timeOffset:yt()-c}),a(typeof DragEvent&lt;"u"&amp;&amp;l instanceof DragEvent?C.Drag:l instanceof MouseEvent?C.MouseMove:C.TouchMove)}),s,{trailing:!1})),d=[Z("mousemove",u,n),Z("touchmove",u,n),Z("drag",u,n)];return F(()=&gt;{d.forEach(l=&gt;l())})}function da({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,sampling:o}){if(o.mouseInteraction===!1)return()=&gt;{};const c=o.mouseInteraction===!0||o.mouseInteraction===void 0?{}:o.mouseInteraction,a=[];let u=null;const d=l=&gt;h=&gt;{const m=Ge(h);if(te(m,r,s,i,!0))return;let g=null,y=l;if("pointerType"in h){switch(h.pointerType){case"mouse":g=ae.Mouse;break;case"touch":g=ae.Touch;break;case"pen":g=ae.Pen;break}g===ae.Touch?Q[l]===Q.MouseDown?y="TouchStart":Q[l]===Q.MouseUp&amp;&amp;(y="TouchEnd"):ae.Pen}else en(h)&amp;&amp;(g=ae.Touch);g!==null?(u=g,(y.startsWith("Touch")&amp;&amp;g===ae.Touch||y.startsWith("Mouse")&amp;&amp;g===ae.Mouse)&amp;&amp;(g=null)):Q[l]===Q.Click&amp;&amp;(g=u,u=null);const w=en(h)?h.changedTouches[0]:h;if(!w)return;const S=n.getId(m),{clientX:T,clientY:j}=w;F(e)({type:Q[y],id:S,x:T,y:j,...g!==null&amp;&amp;{pointerType:g}})};return Object.keys(Q).filter(l=&gt;Number.isNaN(Number(l))&amp;&amp;!l.endsWith("_Departed")&amp;&amp;c[l]!==!1).forEach(l=&gt;{let h=De(l);const m=d(l);if(window.PointerEvent)switch(Q[l]){case Q.MouseDown:case Q.MouseUp:h=h.replace("mouse","pointer");break;case Q.TouchStart:case Q.TouchEnd:return}a.push(Z(h,m,t))}),F(()=&gt;{a.forEach(l=&gt;l())})}function Qr({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,sampling:o}){const c=F($e(F(a=&gt;{const u=Ge(a);if(!u||te(u,r,s,i,!0))return;const d=n.getId(u);if(u===t&amp;&amp;t.defaultView){const l=jr(t.defaultView);e({id:d,x:l.left,y:l.top})}else e({id:d,x:u.scrollLeft,y:u.scrollTop})}),o.scroll||100));return Z("scroll",c,t)}function fa({viewportResizeCb:e},{win:t}){let n=-1,r=-1;const s=F($e(F(()=&gt;{const i=zr(),o=Wr();(n!==i||r!==o)&amp;&amp;(e({width:Number(o),height:Number(i)}),n=i,r=o)}),200));return Z("resize",s,t)}const ha=["INPUT","TEXTAREA","SELECT"],er=new WeakMap;function pa({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,ignoreClass:o,ignoreSelector:c,maskInputOptions:a,maskInputFn:u,sampling:d,userTriggeredOnInput:l,maskTextClass:h,unmaskTextClass:m,maskTextSelector:g,unmaskTextSelector:y}){function w(D){let A=Ge(D);const _=D.isTrusted,x=A&amp;&amp;Qt(A.tagName);if(x==="OPTION"&amp;&amp;(A=A.parentElement),!A||!x||ha.indexOf(x)&lt;0||te(A,r,s,i,!0))return;const z=A;if(z.classList.contains(o)||c&amp;&amp;z.matches(c))return;const P=mn(A);let X=mt(z,x,P),V=!1;const f=kt({maskInputOptions:a,tagName:x,type:P}),p=Le(A,h,g,m,y,f);(P==="radio"||P==="checkbox")&amp;&amp;(V=A.checked),X=We({isMasked:p,element:A,value:X,maskInputFn:u}),S(A,l?{text:X,isChecked:V,userTriggered:_}:{text:X,isChecked:V});const b=A.name;P==="radio"&amp;&amp;b&amp;&amp;V&amp;&amp;t.querySelectorAll(`input[type="radio"][name="${b}"]`).forEach(k=&gt;{if(k!==A){const B=We({isMasked:p,element:k,value:mt(k,x,P),maskInputFn:u});S(k,l?{text:B,isChecked:!V,userTriggered:!1}:{text:B,isChecked:!V})}})}function S(D,A){const _=er.get(D);if(!_||_.text!==A.text||_.isChecked!==A.isChecked){er.set(D,A);const x=n.getId(D);F(e)({...A,id:x})}}const j=(d.input==="last"?["change"]:["input","change"]).map(D=&gt;Z(D,F(w),t)),L=t.defaultView;if(!L)return()=&gt;{j.forEach(D=&gt;D())};const I=L.Object.getOwnPropertyDescriptor(L.HTMLInputElement.prototype,"value"),v=[[L.HTMLInputElement.prototype,"value"],[L.HTMLInputElement.prototype,"checked"],[L.HTMLSelectElement.prototype,"value"],[L.HTMLTextAreaElement.prototype,"value"],[L.HTMLSelectElement.prototype,"selectedIndex"],[L.HTMLOptionElement.prototype,"selected"]];return I&amp;&amp;I.set&amp;&amp;j.push(...v.map(D=&gt;Ur(D[0],D[1],{set(){F(w)({target:this,isTrusted:!1})}},!1,L))),F(()=&gt;{j.forEach(D=&gt;D())})}function _t(e){const t=[];function n(r,s){if(et("CSSGroupingRule")&amp;&amp;r.parentRule instanceof CSSGroupingRule||et("CSSMediaRule")&amp;&amp;r.parentRule instanceof CSSMediaRule||et("CSSSupportsRule")&amp;&amp;r.parentRule instanceof CSSSupportsRule||et("CSSConditionRule")&amp;&amp;r.parentRule instanceof CSSConditionRule){const o=Array.from(r.parentRule.cssRules).indexOf(r);s.unshift(o)}else if(r.parentStyleSheet){const o=Array.from(r.parentStyleSheet.cssRules).indexOf(r);s.unshift(o)}return s}return n(e,t)}function de(e,t,n){let r,s;return e?(e.ownerNode?r=t.getId(e.ownerNode):s=n.getId(e),{styleId:s,id:r}):{}}function ma({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=&gt;{};const s=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(s,{apply:F((d,l,h)=&gt;{const[m,g]=h,{id:y,styleId:w}=de(l,t,n.styleMirror);return(y&amp;&amp;y!==-1||w&amp;&amp;w!==-1)&amp;&amp;e({id:y,styleId:w,adds:[{rule:m,index:g}]}),d.apply(l,h)})});const i=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(i,{apply:F((d,l,h)=&gt;{const[m]=h,{id:g,styleId:y}=de(l,t,n.styleMirror);return(g&amp;&amp;g!==-1||y&amp;&amp;y!==-1)&amp;&amp;e({id:g,styleId:y,removes:[{index:m}]}),d.apply(l,h)})});let o;r.CSSStyleSheet.prototype.replace&amp;&amp;(o=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(o,{apply:F((d,l,h)=&gt;{const[m]=h,{id:g,styleId:y}=de(l,t,n.styleMirror);return(g&amp;&amp;g!==-1||y&amp;&amp;y!==-1)&amp;&amp;e({id:g,styleId:y,replace:m}),d.apply(l,h)})}));let c;r.CSSStyleSheet.prototype.replaceSync&amp;&amp;(c=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(c,{apply:F((d,l,h)=&gt;{const[m]=h,{id:g,styleId:y}=de(l,t,n.styleMirror);return(g&amp;&amp;g!==-1||y&amp;&amp;y!==-1)&amp;&amp;e({id:g,styleId:y,replaceSync:m}),d.apply(l,h)})}));const a={};tt("CSSGroupingRule")?a.CSSGroupingRule=r.CSSGroupingRule:(tt("CSSMediaRule")&amp;&amp;(a.CSSMediaRule=r.CSSMediaRule),tt("CSSConditionRule")&amp;&amp;(a.CSSConditionRule=r.CSSConditionRule),tt("CSSSupportsRule")&amp;&amp;(a.CSSSupportsRule=r.CSSSupportsRule));const u={};return Object.entries(a).forEach(([d,l])=&gt;{u[d]={insertRule:l.prototype.insertRule,deleteRule:l.prototype.deleteRule},l.prototype.insertRule=new Proxy(u[d].insertRule,{apply:F((h,m,g)=&gt;{const[y,w]=g,{id:S,styleId:T}=de(m.parentStyleSheet,t,n.styleMirror);return(S&amp;&amp;S!==-1||T&amp;&amp;T!==-1)&amp;&amp;e({id:S,styleId:T,adds:[{rule:y,index:[..._t(m),w||0]}]}),h.apply(m,g)})}),l.prototype.deleteRule=new Proxy(u[d].deleteRule,{apply:F((h,m,g)=&gt;{const[y]=g,{id:w,styleId:S}=de(m.parentStyleSheet,t,n.styleMirror);return(w&amp;&amp;w!==-1||S&amp;&amp;S!==-1)&amp;&amp;e({id:w,styleId:S,removes:[{index:[..._t(m),y]}]}),h.apply(m,g)})})}),F(()=&gt;{r.CSSStyleSheet.prototype.insertRule=s,r.CSSStyleSheet.prototype.deleteRule=i,o&amp;&amp;(r.CSSStyleSheet.prototype.replace=o),c&amp;&amp;(r.CSSStyleSheet.prototype.replaceSync=c),Object.entries(a).forEach(([d,l])=&gt;{l.prototype.insertRule=u[d].insertRule,l.prototype.deleteRule=u[d].deleteRule})})}function Zr({mirror:e,stylesheetManager:t},n){let r=null;n.nodeName==="#document"?r=e.getId(n):r=e.getId(n.host);const s=n.nodeName==="#document"?se([n,"access",o=&gt;o.defaultView,"optionalAccess",o=&gt;o.Document]):se([n,"access",o=&gt;o.ownerDocument,"optionalAccess",o=&gt;o.defaultView,"optionalAccess",o=&gt;o.ShadowRoot]),i=se([s,"optionalAccess",o=&gt;o.prototype])?Object.getOwnPropertyDescriptor(se([s,"optionalAccess",o=&gt;o.prototype]),"adoptedStyleSheets"):void 0;return r===null||r===-1||!s||!i?()=&gt;{}:(Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get(){return se([i,"access",o=&gt;o.get,"optionalAccess",o=&gt;o.call,"call",o=&gt;o(this)])},set(o){const c=se([i,"access",a=&gt;a.set,"optionalAccess",a=&gt;a.call,"call",a=&gt;a(this,o)]);if(r!==null&amp;&amp;r!==-1)try{t.adoptStyleSheets(o,r)}catch{}return c}}),F(()=&gt;{Object.defineProperty(n,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get:i.get,set:i.set})}))}function ga({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:s}){const i=s.CSSStyleDeclaration.prototype.setProperty;s.CSSStyleDeclaration.prototype.setProperty=new Proxy(i,{apply:F((c,a,u)=&gt;{const[d,l,h]=u;if(n.has(d))return i.apply(a,[d,l,h]);const{id:m,styleId:g}=de(se([a,"access",y=&gt;y.parentRule,"optionalAccess",y=&gt;y.parentStyleSheet]),t,r.styleMirror);return(m&amp;&amp;m!==-1||g&amp;&amp;g!==-1)&amp;&amp;e({id:m,styleId:g,set:{property:d,value:l,priority:h},index:_t(a.parentRule)}),c.apply(a,u)})});const o=s.CSSStyleDeclaration.prototype.removeProperty;return s.CSSStyleDeclaration.prototype.removeProperty=new Proxy(o,{apply:F((c,a,u)=&gt;{const[d]=u;if(n.has(d))return o.apply(a,[d]);const{id:l,styleId:h}=de(se([a,"access",m=&gt;m.parentRule,"optionalAccess",m=&gt;m.parentStyleSheet]),t,r.styleMirror);return(l&amp;&amp;l!==-1||h&amp;&amp;h!==-1)&amp;&amp;e({id:l,styleId:h,remove:{property:d},index:_t(a.parentRule)}),c.apply(a,u)})}),F(()=&gt;{s.CSSStyleDeclaration.prototype.setProperty=i,s.CSSStyleDeclaration.prototype.removeProperty=o})}function ya({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:s,sampling:i,doc:o}){const c=F(u=&gt;$e(F(d=&gt;{const l=Ge(d);if(!l||te(l,t,n,r,!0))return;const{currentTime:h,volume:m,muted:g,playbackRate:y}=l;e({type:u,id:s.getId(l),currentTime:h,volume:m,muted:g,playbackRate:y})}),i.media||500)),a=[Z("play",c(0),o),Z("pause",c(1),o),Z("seeked",c(2),o),Z("volumechange",c(3),o),Z("ratechange",c(4),o)];return F(()=&gt;{a.forEach(u=&gt;u())})}function _a({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=&gt;{};const r=[],s=new WeakMap,i=n.FontFace;n.FontFace=function(a,u,d){const l=new i(a,u,d);return s.set(l,{family:a,buffer:typeof u!="string",descriptors:d,fontSource:typeof u=="string"?u:JSON.stringify(Array.from(new Uint8Array(u)))}),l};const o=yn(t.fonts,"add",function(c){return function(a){return xt(F(()=&gt;{const u=s.get(a);u&amp;&amp;(e(u),s.delete(a))}),0),c.apply(this,[a])}});return r.push(()=&gt;{n.FontFace=i}),r.push(o),F(()=&gt;{r.forEach(c=&gt;c())})}function Sa(e){const{doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:i,selectionCb:o}=e;let c=!0;const a=F(()=&gt;{const u=t.getSelection();if(!u||c&amp;&amp;se([u,"optionalAccess",h=&gt;h.isCollapsed]))return;c=u.isCollapsed||!1;const d=[],l=u.rangeCount||0;for(let h=0;h&lt;l;h++){const m=u.getRangeAt(h),{startContainer:g,startOffset:y,endContainer:w,endOffset:S}=m;te(g,r,s,i,!0)||te(w,r,s,i,!0)||d.push({start:n.getId(g),startOffset:y,end:n.getId(w),endOffset:S})}o({ranges:d})});return a(),Z("selectionchange",a)}function wa({doc:e,customElementCb:t}){const n=e.defaultView;return!n||!n.customElements?()=&gt;{}:yn(n.customElements,"define",function(s){return function(i,o,c){try{t({define:{name:i}})}catch{}return s.apply(this,[i,o,c])}})}function va(e,t={}){const n=e.doc.defaultView;if(!n)return()=&gt;{};let r;e.recordDOM&amp;&amp;(r=Jr(e,e.doc));const s=la(e),i=da(e),o=Qr(e),c=fa(e,{win:n}),a=pa(e),u=ya(e);let d=()=&gt;{},l=()=&gt;{},h=()=&gt;{},m=()=&gt;{};e.recordDOM&amp;&amp;(d=ma(e,{win:n}),l=Zr(e,e.doc),h=ga(e,{win:n}),e.collectFonts&amp;&amp;(m=_a(e)));const g=Sa(e),y=wa(e),w=[];for(const S of e.plugins)w.push(S.observer(S.callback,n,S.options));return F(()=&gt;{Oe.forEach(S=&gt;S.reset()),se([r,"optionalAccess",S=&gt;S.disconnect,"call",S=&gt;S()]),s(),i(),o(),c(),a(),u(),d(),l(),h(),m(),g(),y(),w.forEach(S=&gt;S())})}function et(e){return typeof window[e]&lt;"u"}function tt(e){return!!(typeof window[e]&lt;"u"&amp;&amp;window[e].prototype&amp;&amp;"insertRule"in window[e].prototype&amp;&amp;"deleteRule"in window[e].prototype)}class rn{constructor(t){this.generateIdFn=t,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(t,n,r,s){const i=r||this.getIdToRemoteIdMap(t),o=s||this.getRemoteIdToIdMap(t);let c=i.get(n);return c||(c=this.generateIdFn(),i.set(n,c),o.set(c,n)),c}getIds(t,n){const r=this.getIdToRemoteIdMap(t),s=this.getRemoteIdToIdMap(t);return n.map(i=&gt;this.getId(t,i,r,s))}getRemoteId(t,n,r){const s=r||this.getRemoteIdToIdMap(t);if(typeof n!="number")return n;const i=s.get(n);return i||-1}getRemoteIds(t,n){const r=this.getRemoteIdToIdMap(t);return n.map(s=&gt;this.getRemoteId(t,s,r))}reset(t){if(!t){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(t),this.iframeRemoteIdToIdMap.delete(t)}getIdToRemoteIdMap(t){let n=this.iframeIdToRemoteIdMap.get(t);return n||(n=new Map,this.iframeIdToRemoteIdMap.set(t,n)),n}getRemoteIdToIdMap(t){let n=this.iframeRemoteIdToIdMap.get(t);return n||(n=new Map,this.iframeRemoteIdToIdMap.set(t,n)),n}}function tr(e){let t,n=e[0],r=1;for(;r&lt;e.length;){const s=e[r],i=e[r+1];if(r+=2,(s==="optionalAccess"||s==="optionalCall")&amp;&amp;n==null)return;s==="access"||s==="optionalAccess"?(t=n,n=i(n)):(s==="call"||s==="optionalCall")&amp;&amp;(n=i((...o)=&gt;n.call(t,...o)),t=void 0)}return n}class ba{constructor(){this.crossOriginIframeMirror=new rn(gn),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class Ea{constructor(t){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new rn(gn),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new rn(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=t.mirror,this.recordCrossOriginIframes&amp;&amp;window.addEventListener("message",this.handleMessage.bind(this))}addIframe(t){this.iframes.set(t,!0),t.contentWindow&amp;&amp;this.crossOriginIframeMap.set(t.contentWindow,t)}addLoadListener(t){this.loadListener=t}attachIframe(t,n){this.mutationCb({adds:[{parentId:this.mirror.getId(t),nextId:null,node:n}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),tr([this,"access",s=&gt;s.loadListener,"optionalCall",s=&gt;s(t)]);const r=Sn(t);r&amp;&amp;r.adoptedStyleSheets&amp;&amp;r.adoptedStyleSheets.length&gt;0&amp;&amp;this.stylesheetManager.adoptStyleSheets(r.adoptedStyleSheets,this.mirror.getId(r))}handleMessage(t){const n=t;if(n.data.type!=="rrweb"||n.origin!==n.data.origin||!t.source)return;const s=this.crossOriginIframeMap.get(t.source);if(!s)return;const i=this.transformCrossOriginEvent(s,n.data.event);i&amp;&amp;this.wrappedEmit(i,n.data.isCheckout)}transformCrossOriginEvent(t,n){switch(n.type){case O.FullSnapshot:{this.crossOriginIframeMirror.reset(t),this.crossOriginIframeStyleMirror.reset(t),this.replaceIdOnNode(n.data.node,t);const r=n.data.node.id;return this.crossOriginIframeRootIdMap.set(t,r),this.patchRootIdOnNode(n.data.node,r),{timestamp:n.timestamp,type:O.IncrementalSnapshot,data:{source:C.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:n.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case O.Meta:case O.Load:case O.DomContentLoaded:return!1;case O.Plugin:return n;case O.Custom:return this.replaceIds(n.data.payload,t,["id","parentId","previousId","nextId"]),n;case O.IncrementalSnapshot:switch(n.data.source){case C.Mutation:return n.data.adds.forEach(r=&gt;{this.replaceIds(r,t,["parentId","nextId","previousId"]),this.replaceIdOnNode(r.node,t);const s=this.crossOriginIframeRootIdMap.get(t);s&amp;&amp;this.patchRootIdOnNode(r.node,s)}),n.data.removes.forEach(r=&gt;{this.replaceIds(r,t,["parentId","id"])}),n.data.attributes.forEach(r=&gt;{this.replaceIds(r,t,["id"])}),n.data.texts.forEach(r=&gt;{this.replaceIds(r,t,["id"])}),n;case C.Drag:case C.TouchMove:case C.MouseMove:return n.data.positions.forEach(r=&gt;{this.replaceIds(r,t,["id"])}),n;case C.ViewportResize:return!1;case C.MediaInteraction:case C.MouseInteraction:case C.Scroll:case C.CanvasMutation:case C.Input:return this.replaceIds(n.data,t,["id"]),n;case C.StyleSheetRule:case C.StyleDeclaration:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleId"]),n;case C.Font:return n;case C.Selection:return n.data.ranges.forEach(r=&gt;{this.replaceIds(r,t,["start","end"])}),n;case C.AdoptedStyleSheet:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleIds"]),tr([n,"access",r=&gt;r.data,"access",r=&gt;r.styles,"optionalAccess",r=&gt;r.forEach,"call",r=&gt;r(s=&gt;{this.replaceStyleIds(s,t,["styleId"])})]),n}}return!1}replace(t,n,r,s){for(const i of s)!Array.isArray(n[i])&amp;&amp;typeof n[i]!="number"||(Array.isArray(n[i])?n[i]=t.getIds(r,n[i]):n[i]=t.getId(r,n[i]));return n}replaceIds(t,n,r){return this.replace(this.crossOriginIframeMirror,t,n,r)}replaceStyleIds(t,n,r){return this.replace(this.crossOriginIframeStyleMirror,t,n,r)}replaceIdOnNode(t,n){this.replaceIds(t,n,["id","rootId"]),"childNodes"in t&amp;&amp;t.childNodes.forEach(r=&gt;{this.replaceIdOnNode(r,n)})}patchRootIdOnNode(t,n){t.type!==G.Document&amp;&amp;!t.rootId&amp;&amp;(t.rootId=n),"childNodes"in t&amp;&amp;t.childNodes.forEach(r=&gt;{this.patchRootIdOnNode(r,n)})}}class ka{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class Ma{constructor(t){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=t.mutationCb,this.scrollCb=t.scrollCb,this.bypassOptions=t.bypassOptions,this.mirror=t.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(t,n){if(!Ue(t)||this.shadowDoms.has(t))return;this.shadowDoms.add(t),this.bypassOptions.canvasManager.addShadowRoot(t);const r=Jr({...this.bypassOptions,doc:n,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},t);this.restoreHandlers.push(()=&gt;r.disconnect()),this.restoreHandlers.push(Qr({...this.bypassOptions,scrollCb:this.scrollCb,doc:t,mirror:this.mirror})),xt(()=&gt;{t.adoptedStyleSheets&amp;&amp;t.adoptedStyleSheets.length&gt;0&amp;&amp;this.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,this.mirror.getId(t.host)),this.restoreHandlers.push(Zr({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},t))},0)}observeAttachShadow(t){const n=Sn(t),r=ra(t);!n||!r||this.patchAttachShadow(r.Element,n)}patchAttachShadow(t,n){const r=this;this.restoreHandlers.push(yn(t.prototype,"attachShadow",function(s){return function(i){const o=s.call(this,i);return this.shadowRoot&amp;&amp;Gr(this)&amp;&amp;r.addShadowRoot(this.shadowRoot,n),o}}))}reset(){this.restoreHandlers.forEach(t=&gt;{try{t()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}class nr{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class xa{constructor(t){this.trackedLinkElements=new WeakSet,this.styleMirror=new Qo,this.mutationCb=t.mutationCb,this.adoptedStyleSheetCb=t.adoptedStyleSheetCb}attachLinkElement(t,n){"_cssText"in n.attributes&amp;&amp;this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:n.id,attributes:n.attributes}]}),this.trackLinkElement(t)}trackLinkElement(t){this.trackedLinkElements.has(t)||(this.trackedLinkElements.add(t),this.trackStylesheetInLinkElement(t))}adoptStyleSheets(t,n){if(t.length===0)return;const r={id:n,styleIds:[]},s=[];for(const i of t){let o;this.styleMirror.has(i)?o=this.styleMirror.getId(i):(o=this.styleMirror.add(i),s.push({styleId:o,rules:Array.from(i.rules||CSSRule,(c,a)=&gt;({rule:Ar(c),index:a}))})),r.styleIds.push(o)}s.length&gt;0&amp;&amp;(r.styles=s),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(t){}}class Ca{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(t,n){const r=this.nodeMap.get(t);return r&amp;&amp;Array.from(r).some(s=&gt;s!==n)}add(t,n){this.active||(this.active=!0,ta(()=&gt;{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(n))}destroy(){}}let Y,St;try{if(Array.from([1],e=&gt;e*2)[0]!==2){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=ot([e,"access",t=&gt;t.contentWindow,"optionalAccess",t=&gt;t.Array,"access",t=&gt;t.from])||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}const re=xo();function ce(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:s="rr-block",blockSelector:i=null,unblockSelector:o=null,ignoreClass:c="rr-ignore",ignoreSelector:a=null,maskAllText:u=!1,maskTextClass:d="rr-mask",unmaskTextClass:l=null,maskTextSelector:h=null,unmaskTextSelector:m=null,inlineStylesheet:g=!0,maskAllInputs:y,maskInputOptions:w,slimDOMOptions:S,maskAttributeFn:T,maskInputFn:j,maskTextFn:L,maxCanvasSize:I=null,packFn:v,sampling:D={},dataURLOptions:A={},mousemoveWait:_,recordDOM:x=!0,recordCanvas:z=!1,recordCrossOriginIframes:P=!1,recordAfter:X=e.recordAfter==="DOMContentLoaded"?e.recordAfter:"load",userTriggeredOnInput:V=!1,collectFonts:f=!1,inlineImages:p=!1,plugins:b,keepIframeSrcFn:k=()=&gt;!1,ignoreCSSAttributes:B=new Set([]),errorHandler:R,onMutation:ge,getCanvasManager:Ot}=e;ca(R);const K=P?window.parent===window:!0;let ie=!1;if(!K)try{window.parent.document&amp;&amp;(ie=!1)}catch{ie=!0}if(K&amp;&amp;!t)throw new Error("emit function is required");if(!K&amp;&amp;!ie)return()=&gt;{};_!==void 0&amp;&amp;D.mousemove===void 0&amp;&amp;(D.mousemove=_),re.reset();const At=y===!0?{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}:w!==void 0?w:{},Dt=S===!0||S==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:S==="all",headMetaDescKeywords:S==="all"}:S||{};Jo();let Lt,Pt=0;const Cn=H=&gt;{for(const ne of b||[])ne.eventProcessor&amp;&amp;(H=ne.eventProcessor(H));return v&amp;&amp;!ie&amp;&amp;(H=v(H)),H};Y=(H,ne)=&gt;{const N=H;if(N.timestamp=yt(),ot([Oe,"access",$=&gt;$[0],"optionalAccess",$=&gt;$.isFrozen,"call",$=&gt;$()])&amp;&amp;N.type!==O.FullSnapshot&amp;&amp;!(N.type===O.IncrementalSnapshot&amp;&amp;N.data.source===C.Mutation)&amp;&amp;Oe.forEach($=&gt;$.unfreeze()),K)ot([t,"optionalCall",$=&gt;$(Cn(N),ne)]);else if(ie){const $={type:"rrweb",event:Cn(N),origin:window.location.origin,isCheckout:ne};window.parent.postMessage($,"*")}if(N.type===O.FullSnapshot)Lt=N,Pt=0;else if(N.type===O.IncrementalSnapshot){if(N.data.source===C.Mutation&amp;&amp;N.data.isAttachIframe)return;Pt++;const $=r&amp;&amp;Pt&gt;=r,U=n&amp;&amp;Lt&amp;&amp;N.timestamp-Lt.timestamp&gt;n;($||U)&amp;&amp;Bt(!0)}};const Je=H=&gt;{Y({type:O.IncrementalSnapshot,data:{source:C.Mutation,...H}})},In=H=&gt;Y({type:O.IncrementalSnapshot,data:{source:C.Scroll,...H}}),As=H=&gt;Y({type:O.IncrementalSnapshot,data:{source:C.CanvasMutation,...H}}),Ds=H=&gt;Y({type:O.IncrementalSnapshot,data:{source:C.AdoptedStyleSheet,...H}}),ye=new xa({mutationCb:Je,adoptedStyleSheetCb:Ds}),_e=typeof __RRWEB_EXCLUDE_IFRAME__=="boolean"&amp;&amp;__RRWEB_EXCLUDE_IFRAME__?new ba:new Ea({mirror:re,mutationCb:Je,stylesheetManager:ye,recordCrossOriginIframes:P,wrappedEmit:Y});for(const H of b||[])H.getMirror&amp;&amp;H.getMirror({nodeMirror:re,crossOriginIframeMirror:_e.crossOriginIframeMirror,crossOriginIframeStyleMirror:_e.crossOriginIframeStyleMirror});const Nt=new Ca,Ft=Ta(Ot,{mirror:re,win:window,mutationCb:H=&gt;Y({type:O.IncrementalSnapshot,data:{source:C.CanvasMutation,...H}}),recordCanvas:z,blockClass:s,blockSelector:i,unblockSelector:o,maxCanvasSize:I,sampling:D.canvas,dataURLOptions:A,errorHandler:R}),Qe=typeof __RRWEB_EXCLUDE_SHADOW_DOM__=="boolean"&amp;&amp;__RRWEB_EXCLUDE_SHADOW_DOM__?new ka:new Ma({mutationCb:Je,scrollCb:In,bypassOptions:{onMutation:ge,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:u,maskTextClass:d,unmaskTextClass:l,maskTextSelector:h,unmaskTextSelector:m,inlineStylesheet:g,maskInputOptions:At,dataURLOptions:A,maskAttributeFn:T,maskTextFn:L,maskInputFn:j,recordCanvas:z,inlineImages:p,sampling:D,slimDOMOptions:Dt,iframeManager:_e,stylesheetManager:ye,canvasManager:Ft,keepIframeSrcFn:k,processedNodeManager:Nt},mirror:re}),Bt=(H=!1)=&gt;{if(!x)return;Y({type:O.Meta,data:{href:window.location.href,width:Wr(),height:zr()}},H),ye.reset(),Qe.init(),Oe.forEach(N=&gt;N.lock());const ne=Go(document,{mirror:re,blockClass:s,blockSelector:i,unblockSelector:o,maskAllText:u,maskTextClass:d,unmaskTextClass:l,maskTextSelector:h,unmaskTextSelector:m,inlineStylesheet:g,maskAllInputs:At,maskAttributeFn:T,maskInputFn:j,maskTextFn:L,slimDOM:Dt,dataURLOptions:A,recordCanvas:z,inlineImages:p,onSerialize:N=&gt;{Yr(N,re)&amp;&amp;_e.addIframe(N),Xr(N,re)&amp;&amp;ye.trackLinkElement(N),tn(N)&amp;&amp;Qe.addShadowRoot(N.shadowRoot,document)},onIframeLoad:(N,$)=&gt;{_e.attachIframe(N,$),N.contentWindow&amp;&amp;Ft.addWindow(N.contentWindow),Qe.observeAttachShadow(N)},onStylesheetLoad:(N,$)=&gt;{ye.attachLinkElement(N,$)},keepIframeSrcFn:k});if(!ne)return console.warn("Failed to snapshot the document");Y({type:O.FullSnapshot,data:{node:ne,initialOffset:jr(window)}}),Oe.forEach(N=&gt;N.unlock()),document.adoptedStyleSheets&amp;&amp;document.adoptedStyleSheets.length&gt;0&amp;&amp;ye.adoptStyleSheets(document.adoptedStyleSheets,re.getId(document))};St=Bt;try{const H=[],ne=$=&gt;F(va)({onMutation:ge,mutationCb:Je,mousemoveCb:(U,Se)=&gt;Y({type:O.IncrementalSnapshot,data:{source:Se,positions:U}}),mouseInteractionCb:U=&gt;Y({type:O.IncrementalSnapshot,data:{source:C.MouseInteraction,...U}}),scrollCb:In,viewportResizeCb:U=&gt;Y({type:O.IncrementalSnapshot,data:{source:C.ViewportResize,...U}}),inputCb:U=&gt;Y({type:O.IncrementalSnapshot,data:{source:C.Input,...U}}),mediaInteractionCb:U=&gt;Y({type:O.IncrementalSnapshot,data:{source:C.MediaInteraction,...U}}),styleSheetRuleCb:U=&gt;Y({type:O.IncrementalSnapshot,data:{source:C.StyleSheetRule,...U}}),styleDeclarationCb:U=&gt;Y({type:O.IncrementalSnapshot,data:{source:C.StyleDeclaration,...U}}),canvasMutationCb:As,fontCb:U=&gt;Y({type:O.IncrementalSnapshot,data:{source:C.Font,...U}}),selectionCb:U=&gt;{Y({type:O.IncrementalSnapshot,data:{source:C.Selection,...U}})},customElementCb:U=&gt;{Y({type:O.IncrementalSnapshot,data:{source:C.CustomElement,...U}})},blockClass:s,ignoreClass:c,ignoreSelector:a,maskAllText:u,maskTextClass:d,unmaskTextClass:l,maskTextSelector:h,unmaskTextSelector:m,maskInputOptions:At,inlineStylesheet:g,sampling:D,recordDOM:x,recordCanvas:z,inlineImages:p,userTriggeredOnInput:V,collectFonts:f,doc:$,maskAttributeFn:T,maskInputFn:j,maskTextFn:L,keepIframeSrcFn:k,blockSelector:i,unblockSelector:o,slimDOMOptions:Dt,dataURLOptions:A,mirror:re,iframeManager:_e,stylesheetManager:ye,shadowDomManager:Qe,processedNodeManager:Nt,canvasManager:Ft,ignoreCSSAttributes:B,plugins:ot([b,"optionalAccess",U=&gt;U.filter,"call",U=&gt;U(Se=&gt;Se.observer),"optionalAccess",U=&gt;U.map,"call",U=&gt;U(Se=&gt;({observer:Se.observer,options:Se.options,callback:Ls=&gt;Y({type:O.Plugin,data:{plugin:Se.name,payload:Ls}})}))])||[]},{});_e.addLoadListener($=&gt;{try{H.push(ne($.contentDocument))}catch(U){console.warn(U)}});const N=()=&gt;{Bt(),H.push(ne(document))};return document.readyState==="interactive"||document.readyState==="complete"?N():(H.push(Z("DOMContentLoaded",()=&gt;{Y({type:O.DomContentLoaded,data:{}}),X==="DOMContentLoaded"&amp;&amp;N()})),H.push(Z("load",()=&gt;{Y({type:O.Load,data:{}}),X==="load"&amp;&amp;N()},window))),()=&gt;{H.forEach($=&gt;$()),Nt.destroy(),St=void 0,ua()}}catch(H){console.warn(H)}}function Ia(e){if(!St)throw new Error("please take full snapshot after start recording");St(e)}ce.mirror=re;ce.takeFullSnapshot=Ia;function Ta(e,t){try{return e?e(t):new nr}catch{return console.warn("Unable to initialize CanvasManager"),new nr}}const Ra=3,Oa=5;function wn(e){return e&gt;9999999999?e:e*1e3}function qt(e){return e&gt;9999999999?e/1e3:e}function Ke(e,t){t.category!=="sentry.transaction"&amp;&amp;(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=&gt;(e.throttledAddEvent({type:O.Custom,timestamp:(t.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:Rr(t,10,1e3)}}),t.category==="console")))}const Aa="button,a";function es(e){return e.closest(Aa)||e}function ts(e){const t=ns(e);return!t||!(t instanceof Element)?t:es(t)}function ns(e){return Da(e)?e.target:e}function Da(e){return typeof e=="object"&amp;&amp;!!e&amp;&amp;"target"in e}let fe;function La(e){return fe||(fe=[],Pa()),fe.push(e),()=&gt;{const t=fe?fe.indexOf(e):-1;t&gt;-1&amp;&amp;fe.splice(t,1)}}function Pa(){pi(q,"open",function(e){return function(...t){if(fe)try{fe.forEach(n=&gt;n())}catch{}return e.apply(q,t)}})}const Na=new Set([C.Mutation,C.StyleSheetRule,C.StyleDeclaration,C.AdoptedStyleSheet,C.CanvasMutation,C.Selection,C.MediaInteraction]);function Fa(e,t,n){e.handleClick(t,n)}class Ba{constructor(t,n,r=Ke){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=n.timeout/1e3,this._threshold=n.threshold/1e3,this._scrollTimeout=n.scrollTimeout/1e3,this._replay=t,this._ignoreSelector=n.ignoreSelector,this._addBreadcrumbEvent=r}addListeners(){const t=La(()=&gt;{this._lastMutation=rr()});this._teardown=()=&gt;{t(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&amp;&amp;this._teardown(),this._checkClickTimeout&amp;&amp;clearTimeout(this._checkClickTimeout)}handleClick(t,n){if(Ua(n,this._ignoreSelector)||!ja(t))return;const r={timestamp:qt(t.timestamp),clickBreadcrumb:t,clickCount:0,node:n};this._clicks.some(s=&gt;s.node===r.node&amp;&amp;Math.abs(s.timestamp-r.timestamp)&lt;1)||(this._clicks.push(r),this._clicks.length===1&amp;&amp;this._scheduleCheckClicks())}registerMutation(t=Date.now()){this._lastMutation=qt(t)}registerScroll(t=Date.now()){this._lastScroll=qt(t)}registerClick(t){const n=es(t);this._handleMultiClick(n)}_handleMultiClick(t){this._getClicks(t).forEach(n=&gt;{n.clickCount++})}_getClicks(t){return this._clicks.filter(n=&gt;n.node===t)}_checkClicks(){const t=[],n=rr();this._clicks.forEach(r=&gt;{!r.mutationAfter&amp;&amp;this._lastMutation&amp;&amp;(r.mutationAfter=r.timestamp&lt;=this._lastMutation?this._lastMutation-r.timestamp:void 0),!r.scrollAfter&amp;&amp;this._lastScroll&amp;&amp;(r.scrollAfter=r.timestamp&lt;=this._lastScroll?this._lastScroll-r.timestamp:void 0),r.timestamp+this._timeout&lt;=n&amp;&amp;t.push(r)});for(const r of t){const s=this._clicks.indexOf(r);s&gt;-1&amp;&amp;(this._generateBreadcrumbs(r),this._clicks.splice(s,1))}this._clicks.length&amp;&amp;this._scheduleCheckClicks()}_generateBreadcrumbs(t){const n=this._replay,r=t.scrollAfter&amp;&amp;t.scrollAfter&lt;=this._scrollTimeout,s=t.mutationAfter&amp;&amp;t.mutationAfter&lt;=this._threshold,i=!r&amp;&amp;!s,{clickCount:o,clickBreadcrumb:c}=t;if(i){const a=Math.min(t.mutationAfter||this._timeout,this._timeout)*1e3,u=a&lt;this._timeout*1e3?"mutation":"timeout",d={type:"default",message:c.message,timestamp:c.timestamp,category:"ui.slowClickDetected",data:{...c.data,url:q.location.href,route:n.getCurrentRoute(),timeAfterClickMs:a,endReason:u,clickCount:o||1}};this._addBreadcrumbEvent(n,d);return}if(o&gt;1){const a={type:"default",message:c.message,timestamp:c.timestamp,category:"ui.multiClick",data:{...c.data,url:q.location.href,route:n.getCurrentRoute(),clickCount:o,metric:!0}};this._addBreadcrumbEvent(n,a)}}_scheduleCheckClicks(){this._checkClickTimeout&amp;&amp;clearTimeout(this._checkClickTimeout),this._checkClickTimeout=Ae(()=&gt;this._checkClicks(),1e3)}}const Ha=["A","BUTTON","INPUT"];function Ua(e,t){return!!(!Ha.includes(e.tagName)||e.tagName==="INPUT"&amp;&amp;!["submit","button"].includes(e.getAttribute("type")||"")||e.tagName==="A"&amp;&amp;(e.hasAttribute("download")||e.hasAttribute("target")&amp;&amp;e.getAttribute("target")!=="_self")||t&amp;&amp;e.matches(t))}function ja(e){return!!(e.data&amp;&amp;typeof e.data.nodeId=="number"&amp;&amp;e.timestamp)}function rr(){return Date.now()/1e3}function za(e,t){try{if(!Wa(t))return;const{source:n}=t.data;if(Na.has(n)&amp;&amp;e.registerMutation(t.timestamp),n===C.Scroll&amp;&amp;e.registerScroll(t.timestamp),qa(t)){const{type:r,id:s}=t.data,i=ce.mirror.getNode(s);i instanceof HTMLElement&amp;&amp;r===Q.Click&amp;&amp;e.registerClick(i)}}catch{}}function Wa(e){return e.type===Ra}function qa(e){return e.data.source===C.MouseInteraction}function oe(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var wt;(function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"})(wt||(wt={}));const $a=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function Ya(e){const t={};!e["data-sentry-component"]&amp;&amp;e["data-sentry-element"]&amp;&amp;(e["data-sentry-component"]=e["data-sentry-element"]);for(const n in e)if($a.has(n)){let r=n;(n==="data-testid"||n==="data-test-id")&amp;&amp;(r="testId"),t[r]=e[n]}return t}const Xa=e=&gt;t=&gt;{if(!e.isEnabled())return;const n=Va(t);if(!n)return;const r=t.name==="click",s=r?t.event:void 0;r&amp;&amp;e.clickDetector&amp;&amp;s&amp;&amp;s.target&amp;&amp;!s.altKey&amp;&amp;!s.metaKey&amp;&amp;!s.ctrlKey&amp;&amp;!s.shiftKey&amp;&amp;Fa(e.clickDetector,n,ts(t.event)),Ke(e,n)};function rs(e,t){const n=ce.mirror.getId(e),r=n&amp;&amp;ce.mirror.getNode(n),s=r&amp;&amp;ce.mirror.getMeta(r),i=s&amp;&amp;Ka(s)?s:null;return{message:t,data:i?{nodeId:n,node:{id:n,tagName:i.tagName,textContent:Array.from(i.childNodes).map(o=&gt;o.type===wt.Text&amp;&amp;o.textContent).filter(Boolean).map(o=&gt;o.trim()).join(""),attributes:Ya(i.attributes)}}:{}}}function Va(e){const{target:t,message:n}=Ga(e);return oe({category:`ui.${e.name}`,...rs(t,n)})}function Ga(e){const t=e.name==="click";let n,r=null;try{r=t?ts(e.event):ns(e.event),n=Or(r,{maxStringLength:200})||"&lt;unknown&gt;"}catch{n="&lt;unknown&gt;"}return{target:r,message:n}}function Ka(e){return e.type===wt.Element}function Ja(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=Qa(t);n&amp;&amp;Ke(e,n)}function Qa(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:s,key:i,target:o}=e;if(!o||Za(o)||!i)return null;const c=t||r||s,a=i.length===1;if(!c&amp;&amp;a)return null;const u=Or(o,{maxStringLength:200})||"&lt;unknown&gt;",d=rs(o,u);return oe({category:"ui.keyDown",message:u,data:{...d.data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:s,key:i}})}function Za(e){return e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable}const ec={resource:ic,paint:rc,navigation:sc};function nt(e,t){return({metric:n})=&gt;void t.replayPerformanceEntries.push(e(n))}function tc(e){return e.map(nc).filter(Boolean)}function nc(e){const t=ec[e.entryType];return t?t(e):null}function Pe(e){return((Si||q.performance.timeOrigin)+e)/1e3}function rc(e){const{duration:t,entryType:n,name:r,startTime:s}=e,i=Pe(s);return{type:n,name:r,start:i,end:i+t,data:void 0}}function sc(e){const{entryType:t,name:n,decodedBodySize:r,duration:s,domComplete:i,encodedBodySize:o,domContentLoadedEventStart:c,domContentLoadedEventEnd:a,domInteractive:u,loadEventStart:d,loadEventEnd:l,redirectCount:h,startTime:m,transferSize:g,type:y}=e;return s===0?null:{type:`${t}.${y}`,start:Pe(m),end:Pe(i),name:n,data:{size:g,decodedBodySize:r,encodedBodySize:o,duration:s,domInteractive:u,domContentLoadedEventStart:c,domContentLoadedEventEnd:a,loadEventStart:d,loadEventEnd:l,domComplete:i,redirectCount:h}}}function ic(e){const{entryType:t,initiatorType:n,name:r,responseEnd:s,startTime:i,decodedBodySize:o,encodedBodySize:c,responseStatus:a,transferSize:u}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:Pe(i),end:Pe(s),name:r,data:{size:u,statusCode:a,decodedBodySize:o,encodedBodySize:c}}}function oc(e){const t=e.entries[e.entries.length-1],n=t&amp;&amp;t.element?[t.element]:void 0;return Ct(e,"largest-contentful-paint",n)}function ac(e){return e.sources!==void 0}function cc(e){const t=[],n=[];for(const r of e.entries)if(ac(r)){const s=[];for(const i of r.sources)if(i.node){n.push(i.node);const o=ce.mirror.getId(i.node);o&amp;&amp;s.push(o)}t.push({value:r.value,nodeIds:s.length?s:void 0})}return Ct(e,"cumulative-layout-shift",n,t)}function uc(e){const t=e.entries[e.entries.length-1],n=t&amp;&amp;t.target?[t.target]:void 0;return Ct(e,"first-input-delay",n)}function lc(e){const t=e.entries[e.entries.length-1],n=t&amp;&amp;t.target?[t.target]:void 0;return Ct(e,"interaction-to-next-paint",n)}function Ct(e,t,n,r){const s=e.value,i=e.rating,o=Pe(s);return{type:"web-vital",name:t,start:o,end:o,data:{value:s,size:s,rating:i,nodeIds:n?n.map(c=&gt;ce.mirror.getId(c)):void 0,attributions:r}}}function dc(e){function t(s){e.performanceEntries.includes(s)||e.performanceEntries.push(s)}function n({entries:s}){s.forEach(t)}const r=[];return["navigation","paint","resource"].forEach(s=&gt;{r.push(Hs(s,n))}),r.push(Us(nt(oc,e)),js(nt(cc,e)),zs(nt(uc,e)),Ws(nt(lc,e))),()=&gt;{r.forEach(s=&gt;s())}}const E=typeof __SENTRY_DEBUG__&gt;"u"||__SENTRY_DEBUG__,fc='var 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]),a=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=function(t,e){for(var i=new n(31),a=0;a&lt;31;++a)i[a]=e+=1&lt;&lt;t[a-1];var s=new r(i[30]);for(a=1;a&lt;30;++a)for(var o=i[a];o&lt;i[a+1];++o)s[o]=o-i[a]&lt;&lt;5|a;return{b:i,r:s}},o=s(e,2),f=o.b,h=o.r;f[28]=258,h[258]=28;for(var l=s(i,0).r,u=new n(32768),c=0;c&lt;32768;++c){var v=(43690&amp;c)&gt;&gt;1|(21845&amp;c)&lt;&lt;1;v=(61680&amp;(v=(52428&amp;v)&gt;&gt;2|(13107&amp;v)&lt;&lt;2))&gt;&gt;4|(3855&amp;v)&lt;&lt;4,u[c]=((65280&amp;v)&gt;&gt;8|(255&amp;v)&lt;&lt;8)&gt;&gt;1}var d=function(t,r,e){for(var i=t.length,a=0,s=new n(r);a&lt;i;++a)t[a]&amp;&amp;++s[t[a]-1];var o,f=new n(r);for(a=1;a&lt;r;++a)f[a]=f[a-1]+s[a-1]&lt;&lt;1;if(e){o=new n(1&lt;&lt;r);var h=15-r;for(a=0;a&lt;i;++a)if(t[a])for(var l=a&lt;&lt;4|t[a],c=r-t[a],v=f[t[a]-1]++&lt;&lt;c,d=v|(1&lt;&lt;c)-1;v&lt;=d;++v)o[u[v]&gt;&gt;h]=l}else for(o=new n(i),a=0;a&lt;i;++a)t[a]&amp;&amp;(o[a]=u[f[t[a]-1]++]&gt;&gt;15-t[a]);return o},g=new t(288);for(c=0;c&lt;144;++c)g[c]=8;for(c=144;c&lt;256;++c)g[c]=9;for(c=256;c&lt;280;++c)g[c]=7;for(c=280;c&lt;288;++c)g[c]=8;var w=new t(32);for(c=0;c&lt;32;++c)w[c]=5;var p=d(g,9,0),y=d(w,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==e||e&gt;n.length)&amp;&amp;(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&amp;&amp;Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r&lt;&lt;=7&amp;n;var e=n/8|0;t[e]|=r,t[e+1]|=r&gt;&gt;8},_=function(t,n,r){r&lt;&lt;=7&amp;n;var e=n/8|0;t[e]|=r,t[e+1]|=r&gt;&gt;8,t[e+2]|=r&gt;&gt;16},x=function(r,e){for(var i=[],a=0;a&lt;r.length;++a)r[a]&amp;&amp;i.push({s:a,f:r[a]});var s=i.length,o=i.slice();if(!s)return{t:F,l:0};if(1==s){var f=new t(i[0].s+1);return f[i[0].s]=1,{t:f,l:1}}i.sort((function(t,n){return t.f-n.f})),i.push({s:-1,f:25001});var h=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:h.f+l.f,l:h,r:l};c!=s-1;)h=i[i[u].f&lt;i[v].f?u++:v++],l=i[u!=c&amp;&amp;i[u].f&lt;i[v].f?u++:v++],i[c++]={s:-1,f:h.f+l.f,l:h,r:l};var d=o[0].s;for(a=1;a&lt;s;++a)o[a].s&gt;d&amp;&amp;(d=o[a].s);var g=new n(d+1),w=A(i[c-1],g,0);if(w&gt;e){a=0;var p=0,y=w-e,m=1&lt;&lt;y;for(o.sort((function(t,n){return g[n.s]-g[t.s]||t.f-n.f}));a&lt;s;++a){var b=o[a].s;if(!(g[b]&gt;e))break;p+=m-(1&lt;&lt;w-g[b]),g[b]=e}for(p&gt;&gt;=y;p&gt;0;){var M=o[a].s;g[M]&lt;e?p-=1&lt;&lt;e-g[M]++-1:++a}for(;a&gt;=0&amp;&amp;p;--a){var E=o[a].s;g[E]==e&amp;&amp;(--g[E],++p)}w=e}return{t:new t(g),l:w}},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&amp;&amp;!t[--r];);for(var e=new n(++r),i=0,a=t[0],s=1,o=function(t){e[i++]=t},f=1;f&lt;=r;++f)if(t[f]==a&amp;&amp;f!=r)++s;else{if(!a&amp;&amp;s&gt;2){for(;s&gt;138;s-=138)o(32754);s&gt;2&amp;&amp;(o(s&gt;10?s-11&lt;&lt;5|28690:s-3&lt;&lt;5|12305),s=0)}else if(s&gt;3){for(o(a),--s;s&gt;6;s-=6)o(8304);s&gt;2&amp;&amp;(o(s-3&lt;&lt;5|8208),s=0)}for(;s--;)o(a);s=1,a=t[f]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e&lt;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&amp;e,t[i+1]=e&gt;&gt;8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var a=0;a&lt;e;++a)t[i+a+4]=r[a];return 8*(i+4+e)},U=function(t,r,s,o,f,h,l,u,c,v,m){z(r,m++,s),++f[256];for(var b=x(f,15),M=b.t,E=b.l,A=x(h,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&lt;I.length;++B)++q[31&amp;I[B]];for(B=0;B&lt;O.length;++B)++q[31&amp;O[B]];for(var G=x(q,7),H=G.t,J=G.l,K=19;K&gt;4&amp;&amp;!H[a[K-1]];--K);var N,P,Q,R,V=v+5&lt;&lt;3,W=T(f,g)+T(h,w)+l,X=T(f,M)+T(h,U)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c&gt;=0&amp;&amp;V&lt;=W&amp;&amp;V&lt;=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X&lt;W)),m+=2,X&lt;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&lt;K;++B)z(r,m+3*B,H[a[B]]);m+=3*K;for(var Z=[I,O],$=0;$&lt;2;++$){var tt=Z[$];for(B=0;B&lt;tt.length;++B){var nt=31&amp;tt[B];z(r,m,Y[nt]),m+=H[nt],nt&gt;15&amp;&amp;(z(r,m,tt[B]&gt;&gt;5&amp;127),m+=tt[B]&gt;&gt;12)}}}else N=p,P=g,Q=y,R=w;for(B=0;B&lt;u;++B){var rt=o[B];if(rt&gt;255){_(r,m,N[(nt=rt&gt;&gt;18&amp;31)+257]),m+=P[nt+257],nt&gt;7&amp;&amp;(z(r,m,rt&gt;&gt;23&amp;31),m+=e[nt]);var et=31&amp;rt;_(r,m,Q[et]),m+=R[et],et&gt;3&amp;&amp;(_(r,m,rt&gt;&gt;5&amp;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&lt;256;++n){for(var r=n,e=9;--e;)r=(1&amp;r&amp;&amp;-306674912)^r&gt;&gt;&gt;1;t[n]=r}return t}(),S=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e&lt;n.length;++e)r=I[255&amp;r^n[e]]^r&gt;&gt;&gt;8;t=r},d:function(){return~t}}},L=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,a=0|r.length,s=0;s!=a;){for(var o=Math.min(s+2655,a);s&lt;o;++s)i+=e+=r[s];e=(65535&amp;e)+15*(e&gt;&gt;16),i=(65535&amp;i)+15*(i&gt;&gt;16)}t=e,n=i},d:function(){return(255&amp;(t%=65521))&lt;&lt;24|(65280&amp;t)&lt;&lt;8|(255&amp;(n%=65521))&lt;&lt;8|n&gt;&gt;8}}},O=function(a,s,o,f,u){if(!u&amp;&amp;(u={l:1},s.dictionary)){var c=s.dictionary.subarray(-32768),v=new t(c.length+a.length);v.set(c),v.set(a,c.length),a=v,u.w=c.length}return function(a,s,o,f,u,c){var v=c.z||a.length,d=new t(f+v+5*(1+Math.ceil(v/7e3))+u),g=d.subarray(f,d.length-u),w=c.l,p=7&amp;(c.r||0);if(s){p&amp;&amp;(g[0]=c.r&gt;&gt;3);for(var y=C[s-1],M=y&gt;&gt;13,E=8191&amp;y,z=(1&lt;&lt;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(a[t]^a[t+1]&lt;&lt;A^a[t+2]&lt;&lt;D)&amp;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&lt;v;++j){var H=T(j),J=32767&amp;j,K=x[H];if(_[J]=K,x[H]=J,B&lt;=j){var N=v-j;if((L&gt;7e3||q&gt;24576)&amp;&amp;(N&gt;423||!w)){p=U(a,g,0,F,I,S,O,q,G,j-G,p),q=L=O=0,G=j;for(var P=0;P&lt;286;++P)I[P]=0;for(P=0;P&lt;30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&amp;32767;if(N&gt;2&amp;&amp;H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W&lt;=Y&amp;&amp;--V&amp;&amp;J!=K;){if(a[j+Q]==a[j+Q-W]){for(var $=0;$&lt;Z&amp;&amp;a[j+$]==a[j+$-W];++$);if($&gt;Q){if(Q=$,R=W,$&gt;X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P&lt;tt;++P){var rt=j-W+P&amp;32767,et=rt-_[rt]&amp;32767;et&gt;nt&amp;&amp;(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&amp;32767}if(R){F[q++]=268435456|h[Q]&lt;&lt;18|l[R];var it=31&amp;h[Q],at=31&amp;l[R];O+=e[it]+i[at],++I[257+it],++S[at],B=j+Q,++L}else F[q++]=a[j],++I[a[j]]}}for(j=Math.max(j,B);j&lt;v;++j)F[q++]=a[j],++I[a[j]];p=U(a,g,w,F,I,S,O,q,G,j-G,p),w||(c.r=7&amp;p|g[p/8|0]&lt;&lt;3,p-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j&lt;v+w;j+=65535){var st=j+65535;st&gt;=v&amp;&amp;(g[p/8|0]=w,st=v),p=k(g,p+1,a.subarray(j,st))}c.i=v}return b(d,0,f+m(p)+u)}(a,null==s.level?6:s.level,null==s.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(a.length)))):12+s.mem,o,f,u)},j=function(t,n,r){for(;r;++n)t[n]=r,r&gt;&gt;&gt;=8},q=function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level&lt;2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&amp;&amp;j(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e&lt;=r.length;++e)t[e+10]=r.charCodeAt(e)}},B=function(t){return 10+(t.filename?t.filename.length+1:0)},G=function(){function n(n,r){if("function"==typeof n&amp;&amp;(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(O(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&amp;&amp;E(4);var e=n.length+this.s.z;if(e&gt;this.b.length){if(e&gt;2*this.b.length-32768){var i=new t(-32768&amp;e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var a=this.b.length-this.s.z;a&amp;&amp;(this.b.set(n.subarray(0,a),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(a),32768),this.s.z=n.length-a+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&amp;r,(this.s.z&gt;this.s.w+8191||r)&amp;&amp;(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n}();var H=function(){function t(t,n){this.c=L(),this.v=1,G.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),G.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=O(t,this.o,this.v&amp;&amp;(this.o.dictionary?6:2),n&amp;&amp;4,this.s);this.v&amp;&amp;(function(t,n){var r=n.level,e=0==r?0:r&lt;6?1:9==r?3:2;if(t[0]=120,t[1]=e&lt;&lt;6|(n.dictionary&amp;&amp;32),t[1]|=31-(t[0]&lt;&lt;8|t[1])%31,n.dictionary){var i=L();i.p(n.dictionary),j(t,2,i.d())}}(r,this.o),this.v=0),n&amp;&amp;j(r,r.length-4,this.c.d()),this.ondata(r,n)},t}(),J="undefined"!=typeof TextEncoder&amp;&amp;new TextEncoder,K="undefined"!=typeof TextDecoder&amp;&amp;new TextDecoder;try{K.decode(F,{stream:!0})}catch(t){}var N=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&amp;&amp;E(4),this.ondata(P(t),this.d=n||!1)},t}();function P(n,r){if(J)return J.encode(n);for(var e=n.length,i=new t(n.length+(n.length&gt;&gt;1)),a=0,s=function(t){i[a++]=t},o=0;o&lt;e;++o){if(a+5&gt;i.length){var f=new t(a+8+(e-o&lt;&lt;1));f.set(i),i=f}var h=n.charCodeAt(o);h&lt;128||r?s(h):h&lt;2048?(s(192|h&gt;&gt;6),s(128|63&amp;h)):h&gt;55295&amp;&amp;h&lt;57344?(s(240|(h=65536+(1047552&amp;h)|1023&amp;n.charCodeAt(++o))&gt;&gt;18),s(128|h&gt;&gt;12&amp;63),s(128|h&gt;&gt;6&amp;63),s(128|63&amp;h)):(s(224|h&gt;&gt;12),s(128|h&gt;&gt;6&amp;63),s(128|63&amp;h))}return b(i,0,a)}function Q(t){return function(t,n){n||(n={});var r=S(),e=t.length;r.p(t);var i=O(t,n,B(n),8),a=i.length;return q(i,n),j(i,a-8,r.d()),j(i,a-4,e),i}(P(t))}const R=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&lt;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 H,this.deflate.ondata=(t,n)=&gt;{this._deflatedData.push(t)},this.stream=new N(((t,n)=&gt;{this.deflate.push(t,n)})),this.stream.push("[")}},V={clear:()=&gt;{R.clear()},addEvent:t=&gt;R.addEvent(t),finish:()=&gt;R.finish(),compress:t=&gt;Q(t)};addEventListener("message",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in V&amp;&amp;"function"==typeof V[n])try{const t=V[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});';function hc(){const e=new Blob([fc]);return URL.createObjectURL(e)}const sr=["info","warn","error","log"],ht="[Replay] ";function $t(e,t="info"){Ks({category:"console",data:{logger:"replay"},level:t,message:`${ht}${e}`},{level:t})}function pc(){let e=!1,t=!1;const n={exception:()=&gt;{},infoTick:()=&gt;{},setConfig:r=&gt;{e=r.captureExceptions,t=r.traceInternals}};return E?(sr.forEach(r=&gt;{n[r]=(...s)=&gt;{Ut[r](ht,...s),t&amp;&amp;$t(s.join(""),Js(r))}}),n.exception=(r,...s)=&gt;{s.length&amp;&amp;n.error&amp;&amp;n.error(...s),Ut.error(ht,r),e?vi(r):t&amp;&amp;$t(r,"error")},n.infoTick=(...r)=&gt;{Ut.info(ht,...r),t&amp;&amp;setTimeout(()=&gt;$t(r[0]),0)}):sr.forEach(r=&gt;{n[r]=()=&gt;{}}),n}const M=pc();class vn extends Error{constructor(){super(`Event buffer exceeded maximum size of ${pn}.`)}}class ss{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return this.events.length&gt;0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(t){const n=JSON.stringify(t).length;if(this._totalSize+=n,this._totalSize&gt;pn)throw new vn;this.events.push(t)}finish(){return new Promise(t=&gt;{const n=this.events;this.clear(),t(JSON.stringify(n))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){const t=this.events.map(n=&gt;n.timestamp).sort()[0];return t?wn(t):null}}class mc{constructor(t){this._worker=t,this._id=0}ensureReady(){return this._ensureReadyPromise?this._ensureReadyPromise:(this._ensureReadyPromise=new Promise((t,n)=&gt;{this._worker.addEventListener("message",({data:r})=&gt;{r.success?t():n()},{once:!0}),this._worker.addEventListener("error",r=&gt;{n(r)},{once:!0})}),this._ensureReadyPromise)}destroy(){E&amp;&amp;M.info("Destroying compression worker"),this._worker.terminate()}postMessage(t,n){const r=this._getAndIncrementId();return new Promise((s,i)=&gt;{const o=({data:c})=&gt;{const a=c;if(a.method===t&amp;&amp;a.id===r){if(this._worker.removeEventListener("message",o),!a.success){E&amp;&amp;M.error("Error in compression worker: ",a.response),i(new Error("Error in compression worker"));return}s(a.response)}};this._worker.addEventListener("message",o),this._worker.postMessage({id:r,method:t,arg:n})})}_getAndIncrementId(){return this._id++}}class gc{constructor(t){this._worker=new mc(t),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(t){const n=wn(t.timestamp);(!this._earliestTimestamp||n&lt;this._earliestTimestamp)&amp;&amp;(this._earliestTimestamp=n);const r=JSON.stringify(t);return this._totalSize+=r.length,this._totalSize&gt;pn?Promise.reject(new vn):this._sendEventToWorker(r)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,t=&gt;{E&amp;&amp;M.exception(t,'Sending "clear" message to worker failed',t)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(t){return this._worker.postMessage("addEvent",t)}async _finishRequest(){const t=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,t}}class yc{constructor(t){this._fallback=new ss,this._compression=new gc(t),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(t){this._used.hasCheckout=t}set waitForCheckout(t){this._used.waitForCheckout=t}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(t){return this._used.addEvent(t)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(t){E&amp;&amp;M.exception(t,"Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:t,hasCheckout:n,waitForCheckout:r}=this._fallback,s=[];for(const i of t)s.push(this._compression.addEvent(i));this._compression.hasCheckout=n,this._compression.waitForCheckout=r,this._used=this._compression;try{await Promise.all(s),this._fallback.clear()}catch(i){E&amp;&amp;M.exception(i,"Failed to add events when switching buffers.")}}}function _c({useCompression:e,workerUrl:t}){if(e&amp;&amp;window.Worker){const n=Sc(t);if(n)return n}return E&amp;&amp;M.info("Using simple buffer"),new ss}function Sc(e){try{const t=e||wc();if(!t)return;E&amp;&amp;M.info(`Using compression worker${e?` from ${e}`:""}`);const n=new Worker(t);return new yc(n)}catch(t){E&amp;&amp;M.exception(t,"Failed to create compression worker")}}function wc(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__&gt;"u"||!__SENTRY_EXCLUDE_REPLAY_WORKER__?hc():""}function bn(){try{return"sessionStorage"in q&amp;&amp;!!q.sessionStorage}catch{return!1}}function vc(e){bc(),e.session=void 0}function bc(){if(bn())try{q.sessionStorage.removeItem(fn)}catch{}}function is(e){return e===void 0?!1:Math.random()&lt;e}function os(e){const t=Date.now(),n=e.id||mi(),r=e.started||t,s=e.lastActivity||t,i=e.segmentId||0,o=e.sampled,c=e.previousSessionId;return{id:n,started:r,lastActivity:s,segmentId:i,sampled:o,previousSessionId:c}}function En(e){if(bn())try{q.sessionStorage.setItem(fn,JSON.stringify(e))}catch{}}function Ec(e,t){return is(e)?"session":t?"buffer":!1}function ir({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){const s=Ec(e,t),i=os({sampled:s,previousSessionId:r});return n&amp;&amp;En(i),i}function kc(){if(!bn())return null;try{const e=q.sessionStorage.getItem(fn);if(!e)return null;const t=JSON.parse(e);return E&amp;&amp;M.infoTick("Loading existing session"),os(t)}catch{return null}}function sn(e,t,n=+new Date){return e===null||t===void 0||t&lt;0?!0:t===0?!1:e+t&lt;=n}function as(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return sn(e.started,t,r)||sn(e.lastActivity,n,r)}function cs(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!(!as(e,{sessionIdleExpire:t,maxReplayDuration:n})||e.sampled==="buffer"&amp;&amp;e.segmentId===0)}function Yt({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:n},r){const s=r.stickySession&amp;&amp;kc();return s?cs(s,{sessionIdleExpire:e,maxReplayDuration:t})?(E&amp;&amp;M.infoTick("Session in sessionStorage is expired, creating new one..."),ir(r,{previousSessionId:s.id})):s:(E&amp;&amp;M.infoTick("Creating new session"),ir(r,{previousSessionId:n}))}function Mc(e){return e.type===O.Custom}function kn(e,t,n){return ls(e,t)?(us(e,t,n),!0):!1}function xc(e,t,n){return ls(e,t)?us(e,t,n):Promise.resolve(null)}async function us(e,t,n){const{eventBuffer:r}=e;if(!r||r.waitForCheckout&amp;&amp;!n)return null;const s=e.recordingMode==="buffer";try{n&amp;&amp;s&amp;&amp;r.clear(),n&amp;&amp;(r.hasCheckout=!0,r.waitForCheckout=!1);const i=e.getOptions(),o=Cc(t,i.beforeAddRecordingEvent);return o?await r.addEvent(o):void 0}catch(i){const o=i&amp;&amp;i instanceof vn,c=o?"addEventSizeExceeded":"addEvent";if(o&amp;&amp;s)return r.clear(),r.waitForCheckout=!0,null;e.handleException(i),await e.stop({reason:c});const a=Ee();a&amp;&amp;a.recordDroppedEvent("internal_sdk_error","replay")}}function ls(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;const n=wn(t.timestamp);return n+e.timeouts.sessionIdlePause&lt;Date.now()?!1:n&gt;e.getContext().initialTimestamp+e.getOptions().maxReplayDuration?(E&amp;&amp;M.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),!1):!0}function Cc(e,t){try{if(typeof t=="function"&amp;&amp;Mc(e))return t(e)}catch(n){return E&amp;&amp;M.exception(n,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}function Mn(e){return!e.type}function on(e){return e.type==="transaction"}function Ic(e){return e.type==="replay_event"}function or(e){return e.type==="feedback"}function Tc(e){return(t,n)=&gt;{if(!e.isEnabled()||!Mn(t)&amp;&amp;!on(t))return;const r=n&amp;&amp;n.statusCode;if(!(!r||r&lt;200||r&gt;=300)){if(on(t)){Rc(e,t);return}Oc(e,t)}}}function Rc(e,t){const n=e.getContext();t.contexts&amp;&amp;t.contexts.trace&amp;&amp;t.contexts.trace.trace_id&amp;&amp;n.traceIds.size&lt;100&amp;&amp;n.traceIds.add(t.contexts.trace.trace_id)}function Oc(e,t){const n=e.getContext();if(t.event_id&amp;&amp;n.errorIds.size&lt;100&amp;&amp;n.errorIds.add(t.event_id),e.recordingMode!=="buffer"||!t.tags||!t.tags.replayId)return;const{beforeErrorSampling:r}=e.getOptions();typeof r=="function"&amp;&amp;!r(t)||Ae(async()=&gt;{try{await e.sendBufferedReplayOrFlush()}catch(s){e.handleException(s)}})}function Ac(e){return t=&gt;{!e.isEnabled()||!Mn(t)||Dc(e,t)}}function Dc(e,t){const n=t.exception&amp;&amp;t.exception.values&amp;&amp;t.exception.values[0]&amp;&amp;t.exception.values[0].value;if(typeof n=="string"&amp;&amp;(n.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i))){const r=oe({category:"replay.hydrate-error",data:{url:gi()}});Ke(e,r)}}function Lc(e){const t=Ee();t&amp;&amp;t.on("beforeAddBreadcrumb",n=&gt;Pc(e,n))}function Pc(e,t){if(!e.isEnabled()||!ds(t))return;const n=Nc(t);n&amp;&amp;Ke(e,n)}function Nc(e){return!ds(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui.")?null:e.category==="console"?Fc(e):oe(e)}function Fc(e){const t=e.data&amp;&amp;e.data.arguments;if(!Array.isArray(t)||t.length===0)return oe(e);let n=!1;const r=t.map(s=&gt;{if(!s)return s;if(typeof s=="string")return s.length&gt;Ze?(n=!0,`${s.slice(0,Ze)}…`):s;if(typeof s=="object")try{const i=Rr(s,7);return JSON.stringify(i).length&gt;Ze?(n=!0,`${JSON.stringify(i,null,2).slice(0,Ze)}…`):i}catch{}return s});return oe({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}function ds(e){return!!e.category}function Bc(e,t){return e.type||!e.exception||!e.exception.values||!e.exception.values.length?!1:!!(t.originalException&amp;&amp;t.originalException.__rrweb__)}function fs(){const e=Ir().getPropagationContext().dsc;e&amp;&amp;delete e.replay_id;const t=Cr();if(t){const n=fi(t);delete n.replay_id}}function Hc(e,t){e.triggerUserActivity(),e.addUpdate(()=&gt;t.timestamp?(e.throttledAddEvent({type:O.Custom,timestamp:t.timestamp*1e3,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1):!0)}function Uc(e,t){return e.recordingMode!=="buffer"||t.message===hn||!t.exception||t.type?!1:is(e.getOptions().errorSampleRate)}function jc(e){return Object.assign((t,n)=&gt;!e.isEnabled()||e.isPaused()?t:Ic(t)?(delete t.breadcrumbs,t):!Mn(t)&amp;&amp;!on(t)&amp;&amp;!or(t)?t:e.checkAndHandleExpiredSession()?or(t)?(e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),Hc(e,t),t):Bc(t,n)&amp;&amp;!e.getOptions()._experiments.captureExceptions?(E&amp;&amp;M.log("Ignoring error from rrweb internals",t),null):((Uc(e,t)||e.recordingMode==="session")&amp;&amp;(t.tags={...t.tags,replayId:e.getSessionId()}),t):(fs(),t),{id:"Replay"})}function It(e,t){return t.map(({type:n,start:r,end:s,name:i,data:o})=&gt;{const c=e.throttledAddEvent({type:O.Custom,timestamp:r,data:{tag:"performanceSpan",payload:{op:n,description:i,startTimestamp:r,endTimestamp:s,data:o}}});return typeof c=="string"?Promise.resolve(null):c})}function zc(e){const{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}function Wc(e){return t=&gt;{if(!e.isEnabled())return;const n=zc(t);n!==null&amp;&amp;(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=&gt;(It(e,[n]),!1)))}}function qc(e,t){return E&amp;&amp;e.getOptions()._experiments.traceInternals?!1:to(t,Ee())}function hs(e,t){e.isEnabled()&amp;&amp;t!==null&amp;&amp;(qc(e,t.name)||e.addUpdate(()=&gt;(It(e,[t]),!0)))}function Tt(e){if(!e)return;const t=new TextEncoder;try{if(typeof e=="string")return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){const n=ys(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function ps(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function ms(e){try{if(typeof e=="string")return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[ys(e)];if(!e)return[void 0]}catch(t){return E&amp;&amp;M.exception(t,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return E&amp;&amp;M.info("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function vt(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};const n={...e._meta},r=n.warnings||[];return n.warnings=[...r,t],e._meta=n,e}function gs(e,t){if(!t)return null;const{startTimestamp:n,endTimestamp:r,url:s,method:i,statusCode:o,request:c,response:a}=t;return{type:e,start:n/1e3,end:r/1e3,name:s,data:xr({method:i,statusCode:o,request:c,response:a})}}function Ye(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function pe(e,t,n){if(!t&amp;&amp;Object.keys(e).length===0)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};const r={headers:e,size:t},{body:s,warnings:i}=$c(n);return r.body=s,i&amp;&amp;i.length&gt;0&amp;&amp;(r._meta={warnings:i}),r}function an(e,t){return Object.entries(e).reduce((n,[r,s])=&gt;{const i=r.toLowerCase();return t.includes(i)&amp;&amp;e[r]&amp;&amp;(n[i]=s),n},{})}function ys(e){return new URLSearchParams(e).toString()}function $c(e){if(!e||typeof e!="string")return{body:e};const t=e.length&gt;Un,n=Yc(e);if(t){const r=e.slice(0,Un);return n?{body:r,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${r}…`,warnings:["TEXT_TRUNCATED"]}}if(n)try{return{body:JSON.parse(e)}}catch{}return{body:e}}function Yc(e){const t=e[0],n=e[e.length-1];return t==="["&amp;&amp;n==="]"||t==="{"&amp;&amp;n==="}"}function bt(e,t){const n=Xc(e);return wi(n,t)}function Xc(e,t=q.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(q.location.origin))return e;const n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;const r=n.href;return!e.endsWith("/")&amp;&amp;r.endsWith("/")?r.slice(0,-1):r}async function Vc(e,t,n){try{const r=await Kc(e,t,n),s=gs("resource.fetch",r);hs(n.replay,s)}catch(r){E&amp;&amp;M.exception(r,"Failed to capture fetch breadcrumb")}}function Gc(e,t){const{input:n,response:r}=t,s=n?_s(n):void 0,i=Tt(s),o=r?ps(r.headers.get("content-length")):void 0;i!==void 0&amp;&amp;(e.data.request_body_size=i),o!==void 0&amp;&amp;(e.data.response_body_size=o)}async function Kc(e,t,n){const r=Date.now(),{startTimestamp:s=r,endTimestamp:i=r}=t,{url:o,method:c,status_code:a=0,request_body_size:u,response_body_size:d}=e.data,l=bt(o,n.networkDetailAllowUrls)&amp;&amp;!bt(o,n.networkDetailDenyUrls),h=l?Jc(n,t.input,u):Ye(u),m=await Qc(l,n,t.response,d);return{startTimestamp:s,endTimestamp:i,url:o,method:c,statusCode:a,request:h,response:m}}function Jc({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const s=n?tu(n,t):{};if(!e)return pe(s,r,void 0);const i=_s(n),[o,c]=ms(i),a=pe(s,r,o);return c?vt(a,c):a}async function Qc(e,{networkCaptureBodies:t,networkResponseHeaders:n},r,s){if(!e&amp;&amp;s!==void 0)return Ye(s);const i=r?Ss(r.headers,n):{};if(!r||!t&amp;&amp;s!==void 0)return pe(i,s,void 0);const[o,c]=await eu(r),a=Zc(o,{networkCaptureBodies:t,responseBodySize:s,captureDetails:e,headers:i});return c?vt(a,c):a}function Zc(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:s}){try{const i=e&amp;&amp;e.length&amp;&amp;n===void 0?Tt(e):n;return r?t?pe(s,i,e):pe(s,i,void 0):Ye(i)}catch(i){return E&amp;&amp;M.exception(i,"Failed to serialize response body"),pe(s,n,void 0)}}async function eu(e){const t=nu(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{return[await ru(t)]}catch(n){return n instanceof Error&amp;&amp;n.message.indexOf("Timeout")&gt;-1?(E&amp;&amp;M.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"]):(E&amp;&amp;M.exception(n,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"])}}function _s(e=[]){if(!(e.length!==2||typeof e[1]!="object"))return e[1].body}function Ss(e,t){const n={};return t.forEach(r=&gt;{e.get(r)&amp;&amp;(n[r]=e.get(r))}),n}function tu(e,t){return e.length===1&amp;&amp;typeof e[0]!="string"?ar(e[0],t):e.length===2?ar(e[1],t):{}}function ar(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?Ss(n,t):Array.isArray(n)?{}:an(n,t):{}}function nu(e){try{return e.clone()}catch(t){E&amp;&amp;M.exception(t,"Failed to clone response body")}}function ru(e){return new Promise((t,n)=&gt;{const r=Ae(()=&gt;n(new Error("Timeout while trying to read response body")),500);su(e).then(s=&gt;t(s),s=&gt;n(s)).finally(()=&gt;clearTimeout(r))})}async function su(e){return await e.text()}async function iu(e,t,n){try{const r=au(e,t,n),s=gs("resource.xhr",r);hs(n.replay,s)}catch(r){E&amp;&amp;M.exception(r,"Failed to capture xhr breadcrumb")}}function ou(e,t){const{xhr:n,input:r}=t;if(!n)return;const s=Tt(r),i=n.getResponseHeader("content-length")?ps(n.getResponseHeader("content-length")):du(n.response,n.responseType);s!==void 0&amp;&amp;(e.data.request_body_size=s),i!==void 0&amp;&amp;(e.data.response_body_size=i)}function au(e,t,n){const r=Date.now(),{startTimestamp:s=r,endTimestamp:i=r,input:o,xhr:c}=t,{url:a,method:u,status_code:d=0,request_body_size:l,response_body_size:h}=e.data;if(!a)return null;if(!c||!bt(a,n.networkDetailAllowUrls)||bt(a,n.networkDetailDenyUrls)){const v=Ye(l),D=Ye(h);return{startTimestamp:s,endTimestamp:i,url:a,method:u,statusCode:d,request:v,response:D}}const m=c[Gs],g=m?an(m.request_headers,n.networkRequestHeaders):{},y=an(cu(c),n.networkResponseHeaders),[w,S]=n.networkCaptureBodies?ms(o):[void 0],[T,j]=n.networkCaptureBodies?uu(c):[void 0],L=pe(g,l,w),I=pe(y,h,T);return{startTimestamp:s,endTimestamp:i,url:a,method:u,statusCode:d,request:S?vt(L,S):L,response:j?vt(I,j):I}}function cu(e){const t=e.getAllResponseHeaders();return t?t.split(`\r
`).reduce((n,r)=&gt;{const[s,i]=r.split(": ");return i&amp;&amp;(n[s.toLowerCase()]=i),n},{}):{}}function uu(e){const t=[];try{return[e.responseText]}catch(n){t.push(n)}try{return lu(e.response,e.responseType)}catch(n){t.push(n)}return E&amp;&amp;M.warn("Failed to get xhr response body",...t),[void 0]}function lu(e,t){try{if(typeof e=="string")return[e];if(e instanceof Document)return[e.body.outerHTML];if(t==="json"&amp;&amp;e&amp;&amp;typeof e=="object")return[JSON.stringify(e)];if(!e)return[void 0]}catch(n){return E&amp;&amp;M.exception(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return E&amp;&amp;M.info("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function du(e,t){try{const n=t==="json"&amp;&amp;e&amp;&amp;typeof e=="object"?JSON.stringify(e):e;return Tt(n)}catch{return}}function fu(e){const t=Ee();try{const{networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:s,networkRequestHeaders:i,networkResponseHeaders:o}=e.getOptions(),c={replay:e,networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:s,networkRequestHeaders:i,networkResponseHeaders:o};t&amp;&amp;t.on("beforeAddBreadcrumb",(a,u)=&gt;hu(c,a,u))}catch{}}function hu(e,t,n){if(t.data)try{pu(t)&amp;&amp;gu(n)&amp;&amp;(ou(t,n),iu(t,n,e)),mu(t)&amp;&amp;yu(n)&amp;&amp;(Gc(t,n),Vc(t,n,e))}catch(r){E&amp;&amp;M.exception(r,"Error when enriching network breadcrumb")}}function pu(e){return e.category==="xhr"}function mu(e){return e.category==="fetch"}function gu(e){return e&amp;&amp;e.xhr}function yu(e){return e&amp;&amp;e.response}function _u(e){const t=Ee();Fs(Xa(e)),Bs(Wc(e)),Lc(e),fu(e);const n=jc(e);hi(n),t&amp;&amp;(t.on("beforeSendEvent",Ac(e)),t.on("afterSendEvent",Tc(e)),t.on("createDsc",r=&gt;{const s=e.getSessionId();s&amp;&amp;e.isEnabled()&amp;&amp;e.recordingMode==="session"&amp;&amp;e.checkAndHandleExpiredSession()&amp;&amp;(r.replay_id=s)}),t.on("spanStart",r=&gt;{e.lastActiveSpan=r}),t.on("spanEnd",r=&gt;{e.lastActiveSpan=r}),t.on("beforeSendFeedback",(r,s)=&gt;{const i=e.getSessionId();s&amp;&amp;s.includeReplay&amp;&amp;e.isEnabled()&amp;&amp;i&amp;&amp;r.contexts&amp;&amp;r.contexts.feedback&amp;&amp;(r.contexts.feedback.replay_id=i)}))}async function Su(e){try{return Promise.all(It(e,[wu(q.performance.memory)]))}catch{return[]}}function wu(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,s=Date.now()/1e3;return{type:"memory",name:"memory",start:s,end:s,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}function vu(e,t,n){let r,s,i;const o=n&amp;&amp;n.maxWait?Math.max(n.maxWait,t):0;function c(){return a(),r=e(),r}function a(){s!==void 0&amp;&amp;clearTimeout(s),i!==void 0&amp;&amp;clearTimeout(i),s=i=void 0}function u(){return s!==void 0||i!==void 0?c():r}function d(){return s&amp;&amp;clearTimeout(s),s=Ae(c,t),o&amp;&amp;i===void 0&amp;&amp;(i=Ae(c,o)),r}return d.cancel=a,d.flush=u,d}const we=ln.navigator;function bu(){return/iPhone|iPad|iPod/i.test(we&amp;&amp;we.userAgent||"")||/Macintosh/i.test(we&amp;&amp;we.userAgent||"")&amp;&amp;we&amp;&amp;we.maxTouchPoints&amp;&amp;we.maxTouchPoints&gt;1?{sampling:{mousemove:!1}}:{}}function Eu(e){let t=!1;return(n,r)=&gt;{if(!e.checkAndHandleExpiredSession()){E&amp;&amp;M.warn("Received replay event after session expired.");return}const s=r||!t;t=!0,e.clickDetector&amp;&amp;za(e.clickDetector,n),e.addUpdate(()=&gt;{if(e.recordingMode==="buffer"&amp;&amp;s&amp;&amp;e.setInitialState(),!kn(e,n,s))return!0;if(!s)return!1;const i=e.session;if(Mu(e,s),e.recordingMode==="buffer"&amp;&amp;i&amp;&amp;e.eventBuffer){const o=e.eventBuffer.getEarliestTimestamp();o&amp;&amp;(E&amp;&amp;M.info(`Updating session start time to earliest event in buffer to ${new Date(o)}`),i.started=o,e.getOptions().stickySession&amp;&amp;En(i))}return i&amp;&amp;i.previousSessionId||e.recordingMode==="session"&amp;&amp;e.flush(),!0})}}function ku(e){const t=e.getOptions();return{type:O.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?e.eventBuffer.type==="worker":!1,networkDetailHasUrls:t.networkDetailAllowUrls.length&gt;0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length&gt;0,networkResponseHasHeaders:t.networkResponseHeaders.length&gt;0}}}}function Mu(e,t){!t||!e.session||e.session.segmentId!==0||kn(e,ku(e),!1)}function xu(e,t,n,r){return Ys(Xs(e,Vs(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:typeof t=="string"?new TextEncoder().encode(t).length:t.length},t]])}function Cu({recordingData:e,headers:t}){let n;const r=`${JSON.stringify(t)}
`;if(typeof e=="string")n=`${r}${e}`;else{const i=new TextEncoder().encode(r);n=new Uint8Array(i.length+e.length),n.set(i),n.set(e,i.length)}return n}async function Iu({client:e,scope:t,replayId:n,event:r}){const s=typeof e._integrations=="object"&amp;&amp;e._integrations!==null&amp;&amp;!Array.isArray(e._integrations)?Object.keys(e._integrations):void 0,i={event_id:n,integrations:s};e.emit("preprocessEvent",r,i);const o=await yi(e.getOptions(),r,i,t,e,_i());if(!o)return null;o.platform=o.platform||"javascript";const c=e.getSdkMetadata(),{name:a,version:u}=c&amp;&amp;c.sdk||{};return o.sdk={...o.sdk,name:a||"sentry.javascript.unknown",version:u||"0.0.0"},o}async function Tu({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:s,session:i}){const o=Cu({recordingData:e,headers:{segment_id:n}}),{urls:c,errorIds:a,traceIds:u,initialTimestamp:d}=r,l=Ee(),h=Ir(),m=l&amp;&amp;l.getTransport(),g=l&amp;&amp;l.getDsn();if(!l||!m||!g||!i.sampled)return On({});const y={type:oo,replay_start_timestamp:d/1e3,timestamp:s/1e3,error_ids:a,trace_ids:u,urls:c,replay_id:t,segment_id:n,replay_type:i.sampled},w=await Iu({scope:h,client:l,replayId:t,event:y});if(!w)return l.recordDroppedEvent("event_processor","replay",y),E&amp;&amp;M.info("An event processor returned `null`, will not send event."),On({});delete w.sdkProcessingMetadata;const S=xu(w,o,g,l.getOptions().tunnel);let T;try{T=await m.send(S)}catch(L){const I=new Error(hn);try{I.cause=L}catch{}throw I}if(typeof T.statusCode=="number"&amp;&amp;(T.statusCode&lt;200||T.statusCode&gt;=300))throw new ws(T.statusCode);const j=qs({},T);if($s(j,"replay"))throw new xn(j);return T}class ws extends Error{constructor(t){super(`Transport returned status code ${t}`)}}class xn extends Error{constructor(t){super("Rate limit hit"),this.rateLimits=t}}async function vs(e,t={count:0,interval:ho}){const{recordingData:n,onError:r}=e;if(n.length)try{return await Tu(e),!0}catch(s){if(s instanceof ws||s instanceof xn)throw s;if(Tr("Replays",{_retryCount:t.count}),r&amp;&amp;r(s),t.count&gt;=po){const i=new Error(`${hn} - max retries exceeded`);try{i.cause=s}catch{}throw i}return t.interval*=++t.count,new Promise((i,o)=&gt;{Ae(async()=&gt;{try{await vs(e,t),i(!0)}catch(c){o(c)}},t.interval)})}}const bs="__THROTTLED",Ru="__SKIPPED";function Ou(e,t,n){const r=new Map,s=c=&gt;{const a=c-n;r.forEach((u,d)=&gt;{d&lt;a&amp;&amp;r.delete(d)})},i=()=&gt;[...r.values()].reduce((c,a)=&gt;c+a,0);let o=!1;return(...c)=&gt;{const a=Math.floor(Date.now()/1e3);if(s(a),i()&gt;=t){const d=o;return o=!0,d?Ru:bs}o=!1;const u=r.get(a)||0;return r.set(a,u+1),e(...c)}}class he{constructor({options:t,recordingOptions:n}){he.prototype.__init.call(this),he.prototype.__init2.call(this),he.prototype.__init3.call(this),he.prototype.__init4.call(this),he.prototype.__init5.call(this),he.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:ao,sessionIdleExpire:co},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=n,this._options=t,this._debouncedFlush=vu(()=&gt;this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=Ou((o,c)=&gt;xc(this,o,c),300,5);const{slowClickTimeout:r,slowClickIgnoreSelectors:s}=this.getOptions(),i=r?{threshold:Math.min(mo,r),timeout:r,scrollTimeout:go,ignoreSelector:s?s.join(","):""}:void 0;if(i&amp;&amp;(this.clickDetector=new Ba(this,i)),E){const o=t._experiments;M.setConfig({captureExceptions:!!o.captureExceptions,traceInternals:!!o.traceInternals})}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(t){E&amp;&amp;M.exception(t),this._options.onError&amp;&amp;this._options.onError(t)}initializeSampling(t){const{errorSampleRate:n,sessionSampleRate:r}=this._options,s=n&lt;=0&amp;&amp;r&lt;=0;if(this._requiresManualStart=s,!s){if(this._initializeSessionForSampling(t),!this.session){E&amp;&amp;M.exception(new Error("Unable to initialize and create session"));return}this.session.sampled!==!1&amp;&amp;(this.recordingMode=this.session.sampled==="buffer"&amp;&amp;this.session.segmentId===0?"buffer":"session",E&amp;&amp;M.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&amp;&amp;this.recordingMode==="session"){E&amp;&amp;M.info("Recording is already in progress");return}if(this._isEnabled&amp;&amp;this.recordingMode==="buffer"){E&amp;&amp;M.info("Buffering is in progress, call `flush()` to save the replay");return}E&amp;&amp;M.infoTick("Starting replay in session mode"),this._updateUserActivity();const t=Yt({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=t,this._initializeRecording()}startBuffering(){if(this._isEnabled){E&amp;&amp;M.info("Buffering is in progress, call `flush()` to save the replay");return}E&amp;&amp;M.infoTick("Starting replay in buffer mode");const t=Yt({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=t,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const t=this._canvas;this._stopRecording=ce({...this._recordingOptions,...this.recordingMode==="buffer"?{checkoutEveryNms:fo}:this._options._experiments.continuousCheckout&amp;&amp;{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:Eu(this),...bu(),onMutation:this._onMutationHandler,...t?{recordCanvas:t.recordCanvas,getCanvasManager:t.getCanvasManager,sampling:t.sampling,dataURLOptions:t.dataURLOptions}:{}})}catch(t){this.handleException(t)}}stopRecording(){try{return this._stopRecording&amp;&amp;(this._stopRecording(),this._stopRecording=void 0),!0}catch(t){return this.handleException(t),!1}}async stop({forceFlush:t=!1,reason:n}={}){if(this._isEnabled){this._isEnabled=!1;try{E&amp;&amp;M.info(`Stopping Replay${n?` triggered by ${n}`:""}`),fs(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),t&amp;&amp;await this._flush({force:!0}),this.eventBuffer&amp;&amp;this.eventBuffer.destroy(),this.eventBuffer=null,vc(this)}catch(r){this.handleException(r)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),E&amp;&amp;M.info("Pausing replay"))}resume(){!this._isPaused||!this._checkSession()||(this._isPaused=!1,this.startRecording(),E&amp;&amp;M.info("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:t=!0}={}){if(this.recordingMode==="session")return this.flushImmediate();const n=Date.now();E&amp;&amp;M.info("Converting buffer to session"),await this.flushImmediate();const r=this.stopRecording();!t||!r||this.recordingMode!=="session"&amp;&amp;(this.recordingMode="session",this.session&amp;&amp;(this._updateUserActivity(n),this._updateSessionActivity(n),this._maybeSaveSession()),this.startRecording())}addUpdate(t){const n=t();this.recordingMode!=="buffer"&amp;&amp;n!==!0&amp;&amp;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 this.recordingMode==="buffer"?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session&amp;&amp;this.session.id}checkAndHandleExpiredSession(){if(this._lastActivity&amp;&amp;sn(this._lastActivity,this.timeouts.sessionIdlePause)&amp;&amp;this.session&amp;&amp;this.session.sampled==="session"){this.pause();return}return!!this._checkSession()}setInitialState(){const t=`${q.location.pathname}${q.location.hash}${q.location.search}`,n=`${q.location.origin}${t}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=n,this._context.initialTimestamp=Date.now(),this._context.urls.push(n)}throttledAddEvent(t,n){const r=this._throttledAddEvent(t,n);if(r===bs){const s=oe({category:"replay.throttled"});this.addUpdate(()=&gt;!kn(this,{type:Oa,timestamp:s.timestamp||0,data:{tag:"breadcrumb",payload:s,metric:!0}}))}return r}getCurrentRoute(){const t=this.lastActiveSpan||Cr(),n=t&amp;&amp;li(t),s=(n&amp;&amp;Rn(n).data||{})[di];if(!(!n||!s||!["route","custom"].includes(s)))return Rn(n).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=_c({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_initializeSessionForSampling(t){const n=this._options.errorSampleRate&gt;0,r=Yt({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:t},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:n});this.session=r}_checkSession(){if(!this.session)return!1;const t=this.session;return cs(t,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})?(this._refreshSession(t),!1):!0}async _refreshSession(t){this._isEnabled&amp;&amp;(await this.stop({reason:"refresh session"}),this.initializeSampling(t.id))}_addListeners(){try{q.document.addEventListener("visibilitychange",this._handleVisibilityChange),q.addEventListener("blur",this._handleWindowBlur),q.addEventListener("focus",this._handleWindowFocus),q.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&amp;&amp;this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(_u(this),this._hasInitializedCoreListeners=!0)}catch(t){this.handleException(t)}this._performanceCleanupCallback=dc(this)}_removeListeners(){try{q.document.removeEventListener("visibilitychange",this._handleVisibilityChange),q.removeEventListener("blur",this._handleWindowBlur),q.removeEventListener("focus",this._handleWindowFocus),q.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&amp;&amp;this.clickDetector.removeListeners(),this._performanceCleanupCallback&amp;&amp;this._performanceCleanupCallback()}catch(t){this.handleException(t)}}__init(){this._handleVisibilityChange=()=&gt;{q.document.visibilityState==="visible"?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init2(){this._handleWindowBlur=()=&gt;{const t=oe({category:"ui.blur"});this._doChangeToBackgroundTasks(t)}}__init3(){this._handleWindowFocus=()=&gt;{const t=oe({category:"ui.focus"});this._doChangeToForegroundTasks(t)}}__init4(){this._handleKeyboardEvent=t=&gt;{Ja(this,t)}}_doChangeToBackgroundTasks(t){!this.session||as(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(t&amp;&amp;this._createCustomBreadcrumb(t),this.conditionalFlush())}_doChangeToForegroundTasks(t){if(!this.session)return;if(!this.checkAndHandleExpiredSession()){E&amp;&amp;M.info("Document has become active, but session has expired");return}t&amp;&amp;this._createCustomBreadcrumb(t)}_updateUserActivity(t=Date.now()){this._lastActivity=t}_updateSessionActivity(t=Date.now()){this.session&amp;&amp;(this.session.lastActivity=t,this._maybeSaveSession())}_createCustomBreadcrumb(t){this.addUpdate(()=&gt;{this.throttledAddEvent({type:O.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t}})})}_addPerformanceEntries(){let t=tc(this.performanceEntries).concat(this.replayPerformanceEntries);if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){const n=this._context.initialTimestamp/1e3;t=t.filter(r=&gt;r.start&gt;=n)}return Promise.all(It(this,t))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:t,eventBuffer:n}=this;if(!t||!n||this._requiresManualStart||t.segmentId)return;const r=n.getEarliestTimestamp();r&amp;&amp;r&lt;this._context.initialTimestamp&amp;&amp;(this._context.initialTimestamp=r)}_popEventContext(){const t={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(),t}async _runFlush(){const t=this.getSessionId();if(!this.session||!this.eventBuffer||!t){E&amp;&amp;M.error("No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),!(!this.eventBuffer||!this.eventBuffer.hasEvents)&amp;&amp;(await Su(this),!!this.eventBuffer&amp;&amp;t===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();const n=Date.now();if(n-this._context.initialTimestamp&gt;this._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");const r=this._popEventContext(),s=this.session.segmentId++;this._maybeSaveSession();const i=await this.eventBuffer.finish();await vs({replayId:t,recordingData:i,segmentId:s,eventContext:r,session:this.session,timestamp:n,onError:o=&gt;this.handleException(o)})}catch(n){this.handleException(n),this.stop({reason:"sendReplay"});const r=Ee();if(r){const s=n instanceof xn?"ratelimit_backoff":"send_error";r.recordDroppedEvent(s,"replay")}}}__init5(){this._flush=async({force:t=!1}={})=&gt;{if(!this._isEnabled&amp;&amp;!t)return;if(!this.checkAndHandleExpiredSession()){E&amp;&amp;M.error("Attempting to finish replay event after session expired.");return}if(!this.session)return;const n=this.session.started,s=Date.now()-n;this._debouncedFlush.cancel();const i=s&lt;this._options.minReplayDuration,o=s&gt;this._options.maxReplayDuration+5e3;if(i||o){E&amp;&amp;M.info(`Session duration (${Math.floor(s/1e3)}s) is too ${i?"short":"long"}, not sending replay.`),i&amp;&amp;this._debouncedFlush();return}const c=this.eventBuffer;c&amp;&amp;this.session.segmentId===0&amp;&amp;!c.hasCheckout&amp;&amp;E&amp;&amp;M.info("Flushing initial segment without checkout.");const a=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(u){this.handleException(u)}finally{this._flushLock=void 0,a&amp;&amp;this._debouncedFlush()}}}_maybeSaveSession(){this.session&amp;&amp;this._options.stickySession&amp;&amp;En(this.session)}__init6(){this._onMutationHandler=t=&gt;{const n=t.length,r=this._options.mutationLimit,s=this._options.mutationBreadcrumbLimit,i=r&amp;&amp;n&gt;r;if(n&gt;s||i){const o=oe({category:"replay.mutations",data:{count:n,limit:i}});this._createCustomBreadcrumb(o)}return i?(this.stop({reason:"mutationLimit",forceFlush:this.recordingMode==="session"}),!1):!0}}}function Fe(e,t){return[...e,...t].join(",")}function Au({mask:e,unmask:t,block:n,unblock:r,ignore:s}){const i=["base","iframe[srcdoc]:not([src])"],o=Fe(e,[".sentry-mask","[data-sentry-mask]"]),c=Fe(t,[]);return{maskTextSelector:o,unmaskTextSelector:c,blockSelector:Fe(n,[".sentry-block","[data-sentry-block]",...i]),unblockSelector:Fe(r,[]),ignoreSelector:Fe(s,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}function Du({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:s,value:i}){return!r||s.unmaskTextSelector&amp;&amp;e.matches(s.unmaskTextSelector)?i:n.includes(t)||t==="value"&amp;&amp;e.tagName==="INPUT"&amp;&amp;["submit","button"].includes(e.getAttribute("type")||"")?i.replace(/[\S]/g,"*"):i}const cr='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',Lu=["content-length","content-type","accept"];let ur=!1;const Pu=e=&gt;new Rt(e);class Rt{static __initStatic(){this.id="Replay"}constructor({flushMinDelay:t=uo,flushMaxDelay:n=lo,minReplayDuration:r=yo,maxReplayDuration:s=jn,stickySession:i=!0,useCompression:o=!0,workerUrl:c,_experiments:a={},maskAllText:u=!0,maskAllInputs:d=!0,blockAllMedia:l=!0,mutationBreadcrumbLimit:h=750,mutationLimit:m=1e4,slowClickTimeout:g=7e3,slowClickIgnoreSelectors:y=[],networkDetailAllowUrls:w=[],networkDetailDenyUrls:S=[],networkCaptureBodies:T=!0,networkRequestHeaders:j=[],networkResponseHeaders:L=[],mask:I=[],maskAttributes:v=["title","placeholder"],unmask:D=[],block:A=[],unblock:_=[],ignore:x=[],maskFn:z,beforeAddRecordingEvent:P,beforeErrorSampling:X,onError:V}={}){this.name=Rt.id;const f=Au({mask:I,unmask:D,block:A,unblock:_,ignore:x});if(this._recordingOptions={maskAllInputs:d,maskAllText:u,maskInputOptions:{password:!0},maskTextFn:z,maskInputFn:z,maskAttributeFn:(p,b,k)=&gt;Du({maskAttributes:v,maskAllText:u,privacyOptions:f,key:p,value:b,el:k}),...f,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:p=&gt;{try{p.__rrweb__=!0}catch{}}},this._initialOptions={flushMinDelay:t,flushMaxDelay:n,minReplayDuration:Math.min(r,_o),maxReplayDuration:Math.min(s,jn),stickySession:i,useCompression:o,workerUrl:c,blockAllMedia:l,maskAllInputs:d,maskAllText:u,mutationBreadcrumbLimit:h,mutationLimit:m,slowClickTimeout:g,slowClickIgnoreSelectors:y,networkDetailAllowUrls:w,networkDetailDenyUrls:S,networkCaptureBodies:T,networkRequestHeaders:lr(j),networkResponseHeaders:lr(L),beforeAddRecordingEvent:P,beforeErrorSampling:X,onError:V,_experiments:a},this._initialOptions.blockAllMedia&amp;&amp;(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${cr}`:cr),this._isInitialized&amp;&amp;Hn())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return ur}set _isInitialized(t){ur=t}afterAllSetup(t){!Hn()||this._replay||(this._setup(t),this._initialize(t))}start(){this._replay&amp;&amp;this._replay.start()}startBuffering(){this._replay&amp;&amp;this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:this._replay.recordingMode==="session"}):Promise.resolve()}flush(t){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(t):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(){if(!(!this._replay||!this._replay.isEnabled()))return this._replay.getSessionId()}getRecordingMode(){if(!(!this._replay||!this._replay.isEnabled()))return this._replay.recordingMode}_initialize(t){this._replay&amp;&amp;(this._maybeLoadFromReplayCanvasIntegration(t),this._replay.initializeSampling())}_setup(t){const n=Nu(this._initialOptions,t);this._replay=new he({options:n,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(t){try{const n=t.getIntegrationByName("ReplayCanvas");if(!n)return;this._replay._canvas=n.getOptions()}catch{}}}Rt.__initStatic();function Nu(e,t){const n=t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...xr(e)},s=Tn(n.replaysSessionSampleRate),i=Tn(n.replaysOnErrorSampleRate);return s==null&amp;&amp;i==null&amp;&amp;ui(()=&gt;{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),s!=null&amp;&amp;(r.sessionSampleRate=s),i!=null&amp;&amp;(r.errorSampleRate=i),r}function lr(e){return[...Lu,...e.map(t=&gt;t.toLowerCase())]}function Fu(e){const t={...e};return Mr(t,"react"),Tr("react",{version:J.version}),Qs(t)}function Bu(e){const{instrumentPageLoad:t=!0,instrumentNavigation:n=!0,useEffect:r,useLocation:s,useMatches:i}=e;ti({useEffect:r,useLocation:s,useMatches:i,instrumentNavigation:n});const o=Zs({...e,instrumentPageLoad:!1,instrumentNavigation:!1});return{...o,afterAllSetup(c){o.afterAllSetup(c),t&amp;&amp;ei(c)}}}function Hu(e){const t={...e,environment:e.environment||"production"};return Mr(t,"remix",["remix","react"]),Fu(t)}const{slice:Uu,forEach:ju}=[];function zu(e){return ju.call(Uu.call(arguments,1),t=&gt;{if(t)for(const n in t)e[n]===void 0&amp;&amp;(e[n]=t[n])}),e}const dr=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,Wu=function(e,t){const r=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:{path:"/"},s=encodeURIComponent(t);let i=`${e}=${s}`;if(r.maxAge&gt;0){const o=r.maxAge-0;if(Number.isNaN(o))throw new Error("maxAge should be a Number");i+=`; Max-Age=${Math.floor(o)}`}if(r.domain){if(!dr.test(r.domain))throw new TypeError("option domain is invalid");i+=`; Domain=${r.domain}`}if(r.path){if(!dr.test(r.path))throw new TypeError("option path is invalid");i+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!="function")throw new TypeError("option expires is invalid");i+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&amp;&amp;(i+="; HttpOnly"),r.secure&amp;&amp;(i+="; Secure"),r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"strict":i+="; SameSite=Strict";break;case"none":i+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return i},fr={create(e,t,n,r){let s=arguments.length&gt;4&amp;&amp;arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&amp;&amp;(s.expires=new Date,s.expires.setTime(s.expires.getTime()+n*60*1e3)),r&amp;&amp;(s.domain=r),document.cookie=Wu(e,encodeURIComponent(t),s)},read(e){const t=`${e}=`,n=document.cookie.split(";");for(let r=0;r&lt;n.length;r++){let s=n[r];for(;s.charAt(0)===" ";)s=s.substring(1,s.length);if(s.indexOf(t)===0)return s.substring(t.length,s.length)}return null},remove(e){this.create(e,"",-1)}};var qu={name:"cookie",lookup(e){let{lookupCookie:t}=e;if(t&amp;&amp;typeof document&lt;"u")return fr.read(t)||void 0},cacheUserLanguage(e,t){let{lookupCookie:n,cookieMinutes:r,cookieDomain:s,cookieOptions:i}=t;n&amp;&amp;typeof document&lt;"u"&amp;&amp;fr.create(n,e,r,s,i)}},$u={name:"querystring",lookup(e){let{lookupQuerystring:t}=e,n;if(typeof window&lt;"u"){let{search:r}=window.location;!window.location.search&amp;&amp;window.location.hash?.indexOf("?")&gt;-1&amp;&amp;(r=window.location.hash.substring(window.location.hash.indexOf("?")));const i=r.substring(1).split("&amp;");for(let o=0;o&lt;i.length;o++){const c=i[o].indexOf("=");c&gt;0&amp;&amp;i[o].substring(0,c)===t&amp;&amp;(n=i[o].substring(c+1))}}return n}};let Me=null;const hr=()=&gt;{if(Me!==null)return Me;try{if(Me=typeof window&lt;"u"&amp;&amp;window.localStorage!==null,!Me)return!1;const e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{Me=!1}return Me};var Yu={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&amp;&amp;hr())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:n}=t;n&amp;&amp;hr()&amp;&amp;window.localStorage.setItem(n,e)}};let xe=null;const pr=()=&gt;{if(xe!==null)return xe;try{if(xe=typeof window&lt;"u"&amp;&amp;window.sessionStorage!==null,!xe)return!1;const e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{xe=!1}return xe};var Xu={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&amp;&amp;pr())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:n}=t;n&amp;&amp;pr()&amp;&amp;window.sessionStorage.setItem(n,e)}},Vu={name:"navigator",lookup(e){const t=[];if(typeof navigator&lt;"u"){const{languages:n,userLanguage:r,language:s}=navigator;if(n)for(let i=0;i&lt;n.length;i++)t.push(n[i]);r&amp;&amp;t.push(r),s&amp;&amp;t.push(s)}return t.length&gt;0?t:void 0}},Gu={name:"htmlTag",lookup(e){let{htmlTag:t}=e,n;const r=t||(typeof document&lt;"u"?document.documentElement:null);return r&amp;&amp;typeof r.getAttribute=="function"&amp;&amp;(n=r.getAttribute("lang")),n}},Ku={name:"path",lookup(e){let{lookupFromPathIndex:t}=e;if(typeof window&gt;"u")return;const n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(n)?n[typeof t=="number"?t:0]?.replace("/",""):void 0}},Ju={name:"subdomain",lookup(e){let{lookupFromSubdomainIndex:t}=e;const n=typeof t=="number"?t+1:1,r=typeof window&lt;"u"&amp;&amp;window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[n]}};let Es=!1;try{document.cookie,Es=!0}catch{}const ks=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];Es||ks.splice(1,1);const Qu=()=&gt;({order:ks,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=&gt;e});class Ms{constructor(t){let n=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(t,n)}init(){let t=arguments.length&gt;0&amp;&amp;arguments[0]!==void 0?arguments[0]:{languageUtils:{}},n=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:{},r=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:{};this.services=t,this.options=zu(n,this.options||{},Qu()),typeof this.options.convertDetectedLanguage=="string"&amp;&amp;this.options.convertDetectedLanguage.indexOf("15897")&gt;-1&amp;&amp;(this.options.convertDetectedLanguage=s=&gt;s.replace("-","_")),this.options.lookupFromUrlIndex&amp;&amp;(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(qu),this.addDetector($u),this.addDetector(Yu),this.addDetector(Xu),this.addDetector(Vu),this.addDetector(Gu),this.addDetector(Ku),this.addDetector(Ju)}addDetector(t){return this.detectors[t.name]=t,this}detect(){let t=arguments.length&gt;0&amp;&amp;arguments[0]!==void 0?arguments[0]:this.options.order,n=[];return t.forEach(r=&gt;{if(this.detectors[r]){let s=this.detectors[r].lookup(this.options);s&amp;&amp;typeof s=="string"&amp;&amp;(s=[s]),s&amp;&amp;(n=n.concat(s))}}),n=n.map(r=&gt;this.options.convertDetectedLanguage(r)),this.services&amp;&amp;this.services.languageUtils&amp;&amp;this.services.languageUtils.getBestMatchFromCodes?n:n.length&gt;0?n[0]:null}cacheUserLanguage(t){let n=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:this.options.caches;n&amp;&amp;(this.options.excludeCacheFor&amp;&amp;this.options.excludeCacheFor.indexOf(t)&gt;-1||n.forEach(r=&gt;{this.detectors[r]&amp;&amp;this.detectors[r].cacheUserLanguage(t,this.options)}))}}Ms.type="languageDetector";function cn(e){"@babel/helpers - typeof";return cn=typeof Symbol=="function"&amp;&amp;typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&amp;&amp;typeof Symbol=="function"&amp;&amp;t.constructor===Symbol&amp;&amp;t!==Symbol.prototype?"symbol":typeof t},cn(e)}function xs(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest&gt;"u"?"undefined":cn(XMLHttpRequest))==="object"}function Zu(e){return!!e&amp;&amp;typeof e.then=="function"}function el(e){return Zu(e)?e:Promise.resolve(e)}function tl(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var rt={exports:{}},st={exports:{}},mr;function nl(){return mr||(mr=1,function(e,t){var n=typeof globalThis&lt;"u"&amp;&amp;globalThis||typeof self&lt;"u"&amp;&amp;self||typeof Be&lt;"u"&amp;&amp;Be,r=function(){function i(){this.fetch=!1,this.DOMException=n.DOMException}return i.prototype=n,new i}();(function(i){(function(o){var c=typeof i&lt;"u"&amp;&amp;i||typeof self&lt;"u"&amp;&amp;self||typeof c&lt;"u"&amp;&amp;c,a={searchParams:"URLSearchParams"in c,iterable:"Symbol"in c&amp;&amp;"iterator"in Symbol,blob:"FileReader"in c&amp;&amp;"Blob"in c&amp;&amp;function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in c,arrayBuffer:"ArrayBuffer"in c};function u(f){return f&amp;&amp;DataView.prototype.isPrototypeOf(f)}if(a.arrayBuffer)var d=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(f){return f&amp;&amp;d.indexOf(Object.prototype.toString.call(f))&gt;-1};function h(f){if(typeof f!="string"&amp;&amp;(f=String(f)),/[^a-z0-9\-#$%&amp;'*+.^_`|~!]/i.test(f)||f==="")throw new TypeError('Invalid character in header field name: "'+f+'"');return f.toLowerCase()}function m(f){return typeof f!="string"&amp;&amp;(f=String(f)),f}function g(f){var p={next:function(){var b=f.shift();return{done:b===void 0,value:b}}};return a.iterable&amp;&amp;(p[Symbol.iterator]=function(){return p}),p}function y(f){this.map={},f instanceof y?f.forEach(function(p,b){this.append(b,p)},this):Array.isArray(f)?f.forEach(function(p){this.append(p[0],p[1])},this):f&amp;&amp;Object.getOwnPropertyNames(f).forEach(function(p){this.append(p,f[p])},this)}y.prototype.append=function(f,p){f=h(f),p=m(p);var b=this.map[f];this.map[f]=b?b+", "+p:p},y.prototype.delete=function(f){delete this.map[h(f)]},y.prototype.get=function(f){return f=h(f),this.has(f)?this.map[f]:null},y.prototype.has=function(f){return this.map.hasOwnProperty(h(f))},y.prototype.set=function(f,p){this.map[h(f)]=m(p)},y.prototype.forEach=function(f,p){for(var b in this.map)this.map.hasOwnProperty(b)&amp;&amp;f.call(p,this.map[b],b,this)},y.prototype.keys=function(){var f=[];return this.forEach(function(p,b){f.push(b)}),g(f)},y.prototype.values=function(){var f=[];return this.forEach(function(p){f.push(p)}),g(f)},y.prototype.entries=function(){var f=[];return this.forEach(function(p,b){f.push([b,p])}),g(f)},a.iterable&amp;&amp;(y.prototype[Symbol.iterator]=y.prototype.entries);function w(f){if(f.bodyUsed)return Promise.reject(new TypeError("Already read"));f.bodyUsed=!0}function S(f){return new Promise(function(p,b){f.onload=function(){p(f.result)},f.onerror=function(){b(f.error)}})}function T(f){var p=new FileReader,b=S(p);return p.readAsArrayBuffer(f),b}function j(f){var p=new FileReader,b=S(p);return p.readAsText(f),b}function L(f){for(var p=new Uint8Array(f),b=new Array(p.length),k=0;k&lt;p.length;k++)b[k]=String.fromCharCode(p[k]);return b.join("")}function I(f){if(f.slice)return f.slice(0);var p=new Uint8Array(f.byteLength);return p.set(new Uint8Array(f)),p.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(f){this.bodyUsed=this.bodyUsed,this._bodyInit=f,f?typeof f=="string"?this._bodyText=f:a.blob&amp;&amp;Blob.prototype.isPrototypeOf(f)?this._bodyBlob=f:a.formData&amp;&amp;FormData.prototype.isPrototypeOf(f)?this._bodyFormData=f:a.searchParams&amp;&amp;URLSearchParams.prototype.isPrototypeOf(f)?this._bodyText=f.toString():a.arrayBuffer&amp;&amp;a.blob&amp;&amp;u(f)?(this._bodyArrayBuffer=I(f.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&amp;&amp;(ArrayBuffer.prototype.isPrototypeOf(f)||l(f))?this._bodyArrayBuffer=I(f):this._bodyText=f=Object.prototype.toString.call(f):this._bodyText="",this.headers.get("content-type")||(typeof f=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&amp;&amp;this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&amp;&amp;URLSearchParams.prototype.isPrototypeOf(f)&amp;&amp;this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&amp;&amp;(this.blob=function(){var f=w(this);if(f)return f;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var f=w(this);return f||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else return this.blob().then(T)}),this.text=function(){var f=w(this);if(f)return f;if(this._bodyBlob)return j(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(L(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&amp;&amp;(this.formData=function(){return this.text().then(x)}),this.json=function(){return this.text().then(JSON.parse)},this}var D=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function A(f){var p=f.toUpperCase();return D.indexOf(p)&gt;-1?p:f}function _(f,p){if(!(this instanceof _))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');p=p||{};var b=p.body;if(f instanceof _){if(f.bodyUsed)throw new TypeError("Already read");this.url=f.url,this.credentials=f.credentials,p.headers||(this.headers=new y(f.headers)),this.method=f.method,this.mode=f.mode,this.signal=f.signal,!b&amp;&amp;f._bodyInit!=null&amp;&amp;(b=f._bodyInit,f.bodyUsed=!0)}else this.url=String(f);if(this.credentials=p.credentials||this.credentials||"same-origin",(p.headers||!this.headers)&amp;&amp;(this.headers=new y(p.headers)),this.method=A(p.method||this.method||"GET"),this.mode=p.mode||this.mode||null,this.signal=p.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&amp;&amp;b)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(b),(this.method==="GET"||this.method==="HEAD")&amp;&amp;(p.cache==="no-store"||p.cache==="no-cache")){var k=/([?&amp;])_=[^&amp;]*/;if(k.test(this.url))this.url=this.url.replace(k,"$1_="+new Date().getTime());else{var B=/\?/;this.url+=(B.test(this.url)?"&amp;":"?")+"_="+new Date().getTime()}}}_.prototype.clone=function(){return new _(this,{body:this._bodyInit})};function x(f){var p=new FormData;return f.trim().split("&amp;").forEach(function(b){if(b){var k=b.split("="),B=k.shift().replace(/\+/g," "),R=k.join("=").replace(/\+/g," ");p.append(decodeURIComponent(B),decodeURIComponent(R))}}),p}function z(f){var p=new y,b=f.replace(/\r?\n[\t ]+/g," ");return b.split("\r").map(function(k){return k.indexOf(`
`)===0?k.substr(1,k.length):k}).forEach(function(k){var B=k.split(":"),R=B.shift().trim();if(R){var ge=B.join(":").trim();p.append(R,ge)}}),p}v.call(_.prototype);function P(f,p){if(!(this instanceof P))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');p||(p={}),this.type="default",this.status=p.status===void 0?200:p.status,this.ok=this.status&gt;=200&amp;&amp;this.status&lt;300,this.statusText=p.statusText===void 0?"":""+p.statusText,this.headers=new y(p.headers),this.url=p.url||"",this._initBody(f)}v.call(P.prototype),P.prototype.clone=function(){return new P(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},P.error=function(){var f=new P(null,{status:0,statusText:""});return f.type="error",f};var X=[301,302,303,307,308];P.redirect=function(f,p){if(X.indexOf(p)===-1)throw new RangeError("Invalid status code");return new P(null,{status:p,headers:{location:f}})},o.DOMException=c.DOMException;try{new o.DOMException}catch{o.DOMException=function(p,b){this.message=p,this.name=b;var k=Error(p);this.stack=k.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function V(f,p){return new Promise(function(b,k){var B=new _(f,p);if(B.signal&amp;&amp;B.signal.aborted)return k(new o.DOMException("Aborted","AbortError"));var R=new XMLHttpRequest;function ge(){R.abort()}R.onload=function(){var K={status:R.status,statusText:R.statusText,headers:z(R.getAllResponseHeaders()||"")};K.url="responseURL"in R?R.responseURL:K.headers.get("X-Request-URL");var ie="response"in R?R.response:R.responseText;setTimeout(function(){b(new P(ie,K))},0)},R.onerror=function(){setTimeout(function(){k(new TypeError("Network request failed"))},0)},R.ontimeout=function(){setTimeout(function(){k(new TypeError("Network request failed"))},0)},R.onabort=function(){setTimeout(function(){k(new o.DOMException("Aborted","AbortError"))},0)};function Ot(K){try{return K===""&amp;&amp;c.location.href?c.location.href:K}catch{return K}}R.open(B.method,Ot(B.url),!0),B.credentials==="include"?R.withCredentials=!0:B.credentials==="omit"&amp;&amp;(R.withCredentials=!1),"responseType"in R&amp;&amp;(a.blob?R.responseType="blob":a.arrayBuffer&amp;&amp;B.headers.get("Content-Type")&amp;&amp;B.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&amp;&amp;(R.responseType="arraybuffer")),p&amp;&amp;typeof p.headers=="object"&amp;&amp;!(p.headers instanceof y)?Object.getOwnPropertyNames(p.headers).forEach(function(K){R.setRequestHeader(K,m(p.headers[K]))}):B.headers.forEach(function(K,ie){R.setRequestHeader(ie,K)}),B.signal&amp;&amp;(B.signal.addEventListener("abort",ge),R.onreadystatechange=function(){R.readyState===4&amp;&amp;B.signal.removeEventListener("abort",ge)}),R.send(typeof B._bodyInit&gt;"u"?null:B._bodyInit)})}return V.polyfill=!0,c.fetch||(c.fetch=V,c.Headers=y,c.Request=_,c.Response=P),o.Headers=y,o.Request=_,o.Response=P,o.fetch=V,o})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var s=n.fetch?n:r;t=s.fetch,t.default=s.fetch,t.fetch=s.fetch,t.Headers=s.Headers,t.Request=s.Request,t.Response=s.Response,e.exports=t}(st,st.exports)),st.exports}var gr;function rl(){return gr||(gr=1,function(e,t){var n=typeof fetch=="function"?fetch:void 0;if(typeof Be&lt;"u"&amp;&amp;Be.fetch?n=Be.fetch:typeof window&lt;"u"&amp;&amp;window.fetch&amp;&amp;(n=window.fetch),typeof tl&lt;"u"&amp;&amp;typeof window&gt;"u"){var r=n||nl();r.default&amp;&amp;(r=r.default),t.default=r,e.exports=t.default}}(rt,rt.exports)),rt.exports}var Cs=rl();const Is=ai(Cs),yr=Hi({__proto__:null,default:Is},[Cs]);function _r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function Sr(e){for(var t=1;t&lt;arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_r(Object(n),!0).forEach(function(r){sl(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_r(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function sl(e,t,n){return(t=il(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function il(e){var t=ol(e,"string");return be(t)=="symbol"?t:t+""}function ol(e,t){if(be(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(be(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function be(e){"@babel/helpers - typeof";return be=typeof Symbol=="function"&amp;&amp;typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&amp;&amp;typeof Symbol=="function"&amp;&amp;t.constructor===Symbol&amp;&amp;t!==Symbol.prototype?"symbol":typeof t},be(e)}var me=typeof fetch=="function"?fetch:void 0;typeof global&lt;"u"&amp;&amp;global.fetch?me=global.fetch:typeof window&lt;"u"&amp;&amp;window.fetch&amp;&amp;(me=window.fetch);var Xe;xs()&amp;&amp;(typeof global&lt;"u"&amp;&amp;global.XMLHttpRequest?Xe=global.XMLHttpRequest:typeof window&lt;"u"&amp;&amp;window.XMLHttpRequest&amp;&amp;(Xe=window.XMLHttpRequest));var Et;typeof ActiveXObject=="function"&amp;&amp;(typeof global&lt;"u"&amp;&amp;global.ActiveXObject?Et=global.ActiveXObject:typeof window&lt;"u"&amp;&amp;window.ActiveXObject&amp;&amp;(Et=window.ActiveXObject));!me&amp;&amp;yr&amp;&amp;!Xe&amp;&amp;!Et&amp;&amp;(me=Is||yr);typeof me!="function"&amp;&amp;(me=void 0);var un=function(t,n){if(n&amp;&amp;be(n)==="object"){var r="";for(var s in n)r+="&amp;"+encodeURIComponent(s)+"="+encodeURIComponent(n[s]);if(!r)return t;t=t+(t.indexOf("?")!==-1?"&amp;":"?")+r.slice(1)}return t},wr=function(t,n,r,s){var i=function(a){if(!a.ok)return r(a.statusText||"Error",{status:a.status});a.text().then(function(u){r(null,{status:a.status,data:u})}).catch(r)};if(s){var o=s(t,n);if(o instanceof Promise){o.then(i).catch(r);return}}typeof fetch=="function"?fetch(t,n).then(i).catch(r):me(t,n).then(i).catch(r)},vr=!1,al=function(t,n,r,s){t.queryStringParams&amp;&amp;(n=un(n,t.queryStringParams));var i=Sr({},typeof t.customHeaders=="function"?t.customHeaders():t.customHeaders);typeof window&gt;"u"&amp;&amp;typeof global&lt;"u"&amp;&amp;typeof global.process&lt;"u"&amp;&amp;global.process.versions&amp;&amp;global.process.versions.node&amp;&amp;(i["User-Agent"]="i18next-http-backend (node/".concat(global.process.version,"; ").concat(global.process.platform," ").concat(global.process.arch,")")),r&amp;&amp;(i["Content-Type"]="application/json");var o=typeof t.requestOptions=="function"?t.requestOptions(r):t.requestOptions,c=Sr({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:i},vr?{}:o),a=typeof t.alternateFetch=="function"&amp;&amp;t.alternateFetch.length&gt;=1?t.alternateFetch:void 0;try{wr(n,c,s,a)}catch(u){if(!o||Object.keys(o).length===0||!u.message||u.message.indexOf("not implemented")&lt;0)return s(u);try{Object.keys(o).forEach(function(d){delete c[d]}),wr(n,c,s,a),vr=!0}catch(d){s(d)}}},cl=function(t,n,r,s){r&amp;&amp;be(r)==="object"&amp;&amp;(r=un("",r).slice(1)),t.queryStringParams&amp;&amp;(n=un(n,t.queryStringParams));try{var i;Xe?i=new Xe:i=new Et("MSXML2.XMLHTTP.3.0"),i.open(r?"POST":"GET",n,1),t.crossDomain||i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.withCredentials=!!t.withCredentials,r&amp;&amp;i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.overrideMimeType&amp;&amp;i.overrideMimeType("application/json");var o=t.customHeaders;if(o=typeof o=="function"?o():o,o)for(var c in o)i.setRequestHeader(c,o[c]);i.onreadystatechange=function(){i.readyState&gt;3&amp;&amp;s(i.status&gt;=400?i.statusText:null,{status:i.status,data:i.responseText})},i.send(r)}catch(a){console&amp;&amp;console.log(a)}},ul=function(t,n,r,s){if(typeof r=="function"&amp;&amp;(s=r,r=void 0),s=s||function(){},me&amp;&amp;n.indexOf("file:")!==0)return al(t,n,r,s);if(xs()||typeof ActiveXObject=="function")return cl(t,n,r,s);s(new Error("No fetch and no xhr implementation found!"))};function Ne(e){"@babel/helpers - typeof";return Ne=typeof Symbol=="function"&amp;&amp;typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&amp;&amp;typeof Symbol=="function"&amp;&amp;t.constructor===Symbol&amp;&amp;t!==Symbol.prototype?"symbol":typeof t},Ne(e)}function br(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&amp;&amp;(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function Xt(e){for(var t=1;t&lt;arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?br(Object(n),!0).forEach(function(r){Ts(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):br(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ll(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dl(e,t){for(var n=0;n&lt;t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&amp;&amp;(r.writable=!0),Object.defineProperty(e,Rs(r.key),r)}}function fl(e,t,n){return t&amp;&amp;dl(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ts(e,t,n){return(t=Rs(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rs(e){var t=hl(e,"string");return Ne(t)=="symbol"?t:t+""}function hl(e,t){if(Ne(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ne(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var pl=function(){return{loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",parse:function(n){return JSON.parse(n)},stringify:JSON.stringify,parsePayload:function(n,r,s){return Ts({},r,s||"")},parseLoadPayload:function(n,r){},request:ul,reloadInterval:typeof window&lt;"u"?!1:60*60*1e3,customHeaders:{},queryStringParams:{},crossDomain:!1,withCredentials:!1,overrideMimeType:!1,requestOptions:{mode:"cors",credentials:"same-origin",cache:"default"}}},Os=function(){function e(t){var n=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:{},r=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:{};ll(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return fl(e,[{key:"init",value:function(n){var r=this,s=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:{},i=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:{};if(this.services=n,this.options=Xt(Xt(Xt({},pl()),this.options||{}),s),this.allOptions=i,this.services&amp;&amp;this.options.reloadInterval){var o=setInterval(function(){return r.reload()},this.options.reloadInterval);Ne(o)==="object"&amp;&amp;typeof o.unref=="function"&amp;&amp;o.unref()}}},{key:"readMulti",value:function(n,r,s){this._readAny(n,n,r,r,s)}},{key:"read",value:function(n,r,s){this._readAny([n],n,[r],r,s)}},{key:"_readAny",value:function(n,r,s,i,o){var c=this,a=this.options.loadPath;typeof this.options.loadPath=="function"&amp;&amp;(a=this.options.loadPath(n,s)),a=el(a),a.then(function(u){if(!u)return o(null,{});var d=c.services.interpolator.interpolate(u,{lng:n.join("+"),ns:s.join("+")});c.loadUrl(d,o,r,i)})}},{key:"loadUrl",value:function(n,r,s,i){var o=this,c=typeof s=="string"?[s]:s,a=typeof i=="string"?[i]:i,u=this.options.parseLoadPayload(c,a);this.options.request(this.options,n,u,function(d,l){if(l&amp;&amp;(l.status&gt;=500&amp;&amp;l.status&lt;600||!l.status))return r("failed loading "+n+"; status code: "+l.status,!0);if(l&amp;&amp;l.status&gt;=400&amp;&amp;l.status&lt;500)return r("failed loading "+n+"; status code: "+l.status,!1);if(!l&amp;&amp;d&amp;&amp;d.message){var h=d.message.toLowerCase(),m=["failed","fetch","network","load"].find(function(w){return h.indexOf(w)&gt;-1});if(m)return r("failed loading "+n+": "+d.message,!0)}if(d)return r(d,!1);var g,y;try{typeof l.data=="string"?g=o.options.parse(l.data,s,i):g=l.data}catch{y="failed parsing "+n+" to json"}if(y)return r(y,!1);r(null,g)})}},{key:"create",value:function(n,r,s,i,o){var c=this;if(this.options.addPath){typeof n=="string"&amp;&amp;(n=[n]);var a=this.options.parsePayload(r,s,i),u=0,d=[],l=[];n.forEach(function(h){var m=c.options.addPath;typeof c.options.addPath=="function"&amp;&amp;(m=c.options.addPath(h,r));var g=c.services.interpolator.interpolate(m,{lng:h,ns:r});c.options.request(c.options,g,a,function(y,w){u+=1,d.push(y),l.push(w),u===n.length&amp;&amp;typeof o=="function"&amp;&amp;o(d,l)})})}}},{key:"reload",value:function(){var n=this,r=this.services,s=r.backendConnector,i=r.languageUtils,o=r.logger,c=s.language;if(!(c&amp;&amp;c.toLowerCase()==="cimode")){var a=[],u=function(l){var h=i.toResolveHierarchy(l);h.forEach(function(m){a.indexOf(m)&lt;0&amp;&amp;a.push(m)})};u(c),this.allOptions.preload&amp;&amp;this.allOptions.preload.forEach(function(d){return u(d)}),a.forEach(function(d){n.allOptions.ns.forEach(function(l){s.read(d,l,"read",null,null,function(h,m){h&amp;&amp;o.warn("loading namespace ".concat(l," for language ").concat(d," failed"),h),!h&amp;&amp;m&amp;&amp;o.log("loaded namespace ".concat(l," for language ").concat(d),m),s.loaded("".concat(d,"|").concat(l),h,m)})})})}}}])}();Os.type="backend";var it={},Er;function ml(){if(Er)return it;Er=1;var e=Li();return it.createRoot=e.createRoot,it.hydrateRoot=e.hydrateRoot,it}var gl=ml();const yl={type:"3rdParty",init(e){Ni(e.options.react),Fi(e)}};function _l(e){let{i18n:t,defaultNS:n,children:r}=e;const s=J.useMemo(()=&gt;({i18n:t,defaultNS:n}),[t,n]);return J.createElement(Bi.Provider,{value:s},r)}function Sl(){return[...Object.values(window.__remixRouteModules).flatMap(t=&gt;typeof t?.handle!="object"?[]:t.handle?"i18n"in t.handle?typeof t.handle.i18n=="string"?[t.handle.i18n]:Array.isArray(t.handle.i18n)&amp;&amp;t.handle.i18n.every(n=&gt;typeof n=="string")?t.handle.i18n:[]:[]:[])]}const wl={supportedLngs:["de","en","es","fr","id","pt"],fallbackLng:"en",defaultNS:"common"};window._pxOnCaptchaSuccess=e=&gt;{console.log("Captcha success",e)};Object.hasOwn||(Object.hasOwn=(e,t)=&gt;Object.prototype.hasOwnProperty.call(e,t));const Vt=bi();eo();Hu({dsn:Vt.SENTRY_CLIENT_DSN,environment:Vt.SENTRY_ENV,release:Vt.SENTRY_RELEASE||"local",tracesSampleRate:0,replaysSessionSampleRate:0,replaysOnErrorSampleRate:0,beforeSend(e,t){const n=e?.tags&amp;&amp;e?.tags?.keyword==="remix-error-boundary",r=e.exception?.values?.some(o=&gt;o.stacktrace?.frames?.some(c=&gt;c.filename?.includes("/assets/"))),s=[/googletagmanager\.com\/gtm\.js/],i=e.exception?.values?.some(o=&gt;o.stacktrace?.frames?.some(c=&gt;s.some(a=&gt;c.abs_path&amp;&amp;a.test(c.abs_path))));return!n||!r||i?null:e},integrations:[Bu({useEffect:J.useEffect,useLocation:ci,useMatches:Pi}),Pu()]});async function kr(){await Gt.use(yl).use(Ms).use(Os).init({...wl,ns:Sl(),backend:{loadPath:"/locales/{{lng}}/{{ns}}.json"},detection:{order:["htmlTag"],caches:[]}}),J.startTransition(()=&gt;{gl.hydrateRoot(document,Ht.jsx(_l,{i18n:Gt,children:Ht.jsx(J.StrictMode,{children:Ht.jsx(Zi,{})})}))})}Ps.locale(Gt.language);window.requestIdleCallback?window.requestIdleCallback(kr):window.setTimeout(kr,1);
//# sourceMappingURL=entry.client-u_HpKf0S.js.map

//# debugId=41dbbccf-2c19-58ea-aa08-04161129eddf
</pre></body></html>