PageSourceSearch

https://smartpozyczka.pl/widgets-for-wp-pl/index.js?ver=1791336183

js smartpozyczka.pl collected 2026-10-07 01:23:20 UTC 884,084 bytes, 53 lines download raw bytes

1(function(){
2(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`170edaa9-1539-4181-a615-41bed5462463`,e._sentryDebugIdIdentifier=`sentry-dbid-170edaa9-1539-4181-a615-41bed5462463`)}catch{}})();var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,o)=>(o=n==null?{}:e(i(n)),l(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n)),d=e=>a.call(e,`module.exports`)?e[`module.exports`]:l(t({},`__esModule`,{value:!0}),e);(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var f=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,p=globalThis,m=`10.75.1`;function h(){return g(p),p}function g(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||`10.75.1`,t[m]=t[`10.75.1`]||{}}function _(e,t,n=p){let r=n.__SENTRY__=n.__SENTRY__||{},i=r[m]=r[`10.75.1`]||{};return i[e]||(i[e]=t())}var v=[`debug`,`info`,`warn`,`error`,`log`,`assert`,`trace`],y=`Sentry Logger `,b={};function x(e){if(!(`console`in p))return e();let t=p.console,n={},r=Object.keys(b);r.forEach(e=>{let r=b[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}function S(){ee().enabled=!0}function C(){ee().enabled=!1}function w(){return ee().enabled}function T(...e){O(`log`,...e)}function E(...e){O(`warn`,...e)}function D(...e){O(`error`,...e)}function O(e,...t){f&&w()&&x(()=>{p.console[e](`${y}[${e}]:`,...t)})}function ee(){return f?_(`loggerSettings`,()=>({enabled:!1})):{enabled:!1}}var k={enable:S,disable:C,isEnabled:w,log:T,warn:E,error:D},te=50,A=/\(error: (.*)\)/,ne=/captureMessage|captureException/;function j(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{let i=[],a=e.split(`
3`);for(let e=n;e<a.length;e++){let n=a[e];n.length>1024&&(n=n.slice(0,1024));let o=A.test(n)?n.replace(A,`$1`):n;if(!o.includes(`Error: `)){for(let e of t){let t=e(o);if(t){i.push(t);break}}if(i.length>=te+r)break}}return ie(i.slice(r))}}function re(e){return Array.isArray(e)?j(...e):e}function ie(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(ae(t).function||``)&&t.pop(),t.reverse(),ne.test(ae(t).function||``)&&(t.pop(),ne.test(ae(t).function||``)&&t.pop()),t.slice(0,te).map(e=>({...e,filename:e.filename||ae(t).filename,function:e.function||`?`}))}function ae(e){return e[e.length-1]||{}}var oe=`<anonymous>`;function se(e){try{return!e||typeof e!=`function`?oe:e.name||oe}catch{return oe}}function ce(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{return}}}var le={},ue={};function de(e,t){return le[e]=le[e]||[],le[e].push(t),()=>{let n=le[e];if(n){let e=n.indexOf(t);e!==-1&&n.splice(e,1)}}}function fe(e,t){if(!ue[e]){ue[e]=!0;try{t()}catch(t){f&&k.error(`Error while instrumenting ${e}`,t)}}}function pe(e,t){let n=e&&le[e];if(n)for(let r of n)try{r(t)}catch(t){f&&k.error(`Error while triggering instrumentation handler.
4Type: ${e}
5Name: ${se(r)}
6Error:`,t)}}var me=null;function he(e){let t=`error`;de(t,e),fe(t,M)}function M(){me=p.onerror,p.onerror=function(e,t,n,r,i){return pe(`error`,{column:r,error:i,line:n,msg:e,url:t}),me?me.apply(this,arguments):!1},p.onerror.__SENTRY_INSTRUMENTED__=!0}var N=null;function ge(e){let t=`unhandledrejection`;de(t,e),fe(t,_e)}function _e(){N=p.onunhandledrejection,p.onunhandledrejection=function(e){return pe(`unhandledrejection`,e),!N||N.apply(this,arguments)},p.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}var ve=Object.prototype.toString;function ye(e){switch(ve.call(e)){case`[object Error]`:case`[object E
6xception]`:case`[object DOMException]`:case`[object WebAssembly.Exception]`:return!0;default:return Me(e,Error)}}function be(e,t){return ve.call(e)===`[object ${t}]`}function xe(e){return be(e,`ErrorEvent`)}function Se(e){return be(e,`DOMError`)}function Ce(e){return be(e,`DOMException`)}function we(e){return be(e,`String`)}function Te(e){return typeof e==`object`&&!!e&&`__sentry_template_string__`in e&&`__sentry_template_values__`in e}function Ee(e){return e===null||Te(e)||typeof e!=`object`&&typeof e!=`function`}function De(e){return be(e,`Object`)}function Oe(e){return typeof e==`object`&&!!e}function ke(e){return typeof Event<`u`&&Me(e,Event)}function Ae(e){return be(e,`RegExp`)}function je(e){return!!(e?.then&&typeof e.then==`function`)}function Me(e,t){try{return e instanceof t}catch{return!1}}function Ne(e){return typeof Request<`u`&&Me(e,Request)}function Pe(e,t,n){if(!(t in e))return;let r=e[t];if(typeof r!=`function`)return;let i=n(r);typeof i==`function`&&Ie(i,r);try{e[t]=i}catch{f&&k.log(`Failed to replace method "${t}" in object`,e)}}function Fe(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{f&&k.log(`Failed to add non-enumerable property "${String(t)}" to object`,e)}}function Ie(e,t){try{e.prototype=t.prototype=t.prototype||{},Fe(e,`__sentry_original__`,t)}catch{}}function Le(e){return e.__sentry_original__}function Re(e){if(ye(e))return{message:e.message,name:e.name,stack:e.stack,...ze(e)};if(ke(e)){let{type:t,target:n,currentTarget:r,detail:i}=e;return{type:t,target:n,currentTarget:r,...i?{detail:i}:{},...ze(e)}}return e}function ze(e){return Oe(e)?Object.fromEntries(Object.entries(e)):{}}function Be(e){let t=Object.keys(Re(e));return t.sort(),t[0]?t.join(`, `):`[object has no keys]`}var Ve;function He(e){if(Ve!==void 0)return Ve?Ve(e):e();let t=Symbol.for(`__SENTRY_SAFE_RANDOM_ID_WRAPPER__`),n=p;return t in n&&typeof n[t]==`function`?(Ve=n[t],Ve(e)):(Ve=null,e())}function Ue(){return He(()=>Math.random())}function We(){return He(()=>Date.now())}var Ge=Symbol.for(`sentry.skipNormalization`),Ke=Symbol.for(`sentry.overrideNormalizationDepth`);function qe(e){return!!e[Ge]}function Je(e){let t=e[Ke];return typeof t==`number`?t:void 0}var Ye;function Xe(e){Ye=e}function Ze(e,t=100,n=1/0){try{return $e(``,e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function Qe(e,t=3,n=102400){let r=Ze(e,t);return rt(r)>n?Qe(e,t-1,n):r}function $e(e,t,n=1/0,r=1/0,i=it()){let[a,o]=i;if(t==null||[`boolean`,`string`].includes(typeof t)||typeof t==`number`&&Number.isFinite(t))return t;let s=et(e,t);if(!s.startsWith(`[object `))return s;if(qe(t))return t;let c=Je(t),l=c===void 0?n:c;if(l===0)return s.replace(`object `,``);if(a(t))return`[Circular ~]`;let u=t;if(u&&typeof u.toJSON==`function`)try{return $e(``,u.toJSON(),l-1,r,i)}catch{}let d=Array.isArray(t)?[]:{},f=0,p=Re(t);for(let e in p){if(!Object.prototype.hasOwnProperty.call(p,e))continue;if(f>=r){d[e]=`[MaxProperties ~]`;break}let t=p[e];d[e]=$e(e,t,l-1,r,i),f++}return o(t),d}function et(e,t){try{if(Ye){let e=Ye(t);if(e)return e}return typeof global<`u`&&t===global?`[Global]`:typeof t==`number`&&!Number.isFinite(t)?`[${t}]`:typeof t==`function`?`[Function: ${se(t)}]`:typeof t==`symbol`?`[${String(t)}]`:typeof t==`bigint`?`[BigInt: ${String(t)}]`:`[object ${tt(t)}]`}catch(e){return`**non-serializable** (${e})`}}function tt(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:`null prototype`}function nt(e){return~-encodeURI(e).split(/%..|./).length}function rt(e){return nt(JSON.stringify(e))}function it(){let e=new WeakSet;function t(t){return e.has(t)?!0:(e.add(t),!1)}function n(t){e.delete(t)}return[t,n]}function at(e,t=0){return typeof e!=`string`||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function ot(e,t){if(!Array.isArray(e))return``;let n=[];for(let t=0;t<e.length;t++){let r=e[t];Ee(r)?n.push(String(r)):r instanceof Error?n.push(r.message?`${r.name}: ${r.message}`:r.name):n.push(et(void 0,r))}return n.join(t)}function st(e,t,n=!1){return we(e)?Ae(t)?t.test(e):we(t)?n?e===t:e.includes(t):typeof t==`function`&&t(e):!1}
6function ct(e,t=[],n=!1){for(let r of t)if(st(e,r,n))return!0;return!1}function lt(){let e=p;return e.crypto||e.msCrypto}var ut;function dt(){return Ue()*16}function ft(e=lt()){try{if(e?.randomUUID)return He(()=>e.randomUUID()).replace(/-/g,``)}catch{}return ut||=`10000000100040008000100000000000`,ut.replace(/[018]/g,e=>(e^(dt()&15)>>e/4).toString(16))}function pt(e){return e.exception?.values?.[0]}function mt(e){let{message:t,event_id:n}=e;if(t)return t;let r=pt(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||`<unknown>`:n||`<unknown>`}function ht(e,t,n){let r=e.exception=e.exception||{},i=r.values=r.values||[],a=i[0]=i[0]||{};a.value||=t||``,a.type||=n||`Error`}function gt(e,t){let n=pt(e);if(!n)return;let r={type:`generic`,handled:!0},i=n.mechanism;if(n.mechanism={...r,...i,...t},t&&`data`in t){let e={...i?.data,...t.data};n.mechanism.data=e}}function _t(e){if(vt(e))return!0;try{Fe(e,`__sentry_captured__`,!0)}catch{}return!1}function vt(e){try{return e.__sentry_captured__}catch{}}var yt=1e3;function bt(){return We()/yt}function xt(){let{performance:e}=p;if(!e?.now||!e.timeOrigin)return bt;let t=e.timeOrigin;return()=>(t+He(()=>e.now()))/yt}var St;function Ct(){return(St??=xt())()}var wt=null;function Tt(){let{performance:e}=p;if(!e?.now)return;let t=3e5,n=He(()=>e.now()),r=We(),i=e.timeOrigin;if(typeof i==`number`&&Math.abs(i+n-r)<t)return i;let a=e.timing?.navigationStart;return typeof a==`number`&&Math.abs(a+n-r)<t?a:r-n}function Et(){return wt===null&&(wt=Tt()),wt}function Dt(e){let t=Ct(),n={sid:ft(),init:!0,timestamp:t,started:t,duration:0,status:`ok`,errors:0,ignoreDuration:!1,toJSON:()=>At(n)};return e&&Ot(n,e),n}function Ot(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||Ct(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:ft()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started==`number`&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration==`number`)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors==`number`&&(e.errors=t.errors),t.status&&(e.status=t.status)}function kt(e,t){let n={};t?n={status:t}:e.status===`ok`&&(n={status:`exited`}),Ot(e,n)}function At(e){return{sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did==`number`||typeof e.did==`string`?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}function jt(e,t,n=2){if(!t||typeof t!=`object`||n<=0)return t;if(e&&Object.keys(t).length===0)return e;let r={...e};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=jt(r[e],t[e],n-1));return r}function Mt(){return ft()}function Nt(){return ft().substring(16)}function Pt(e){try{let t=p.WeakRef;if(typeof t==`function`)return new t(e)}catch{}return e}function Ft(e){if(e){if(typeof e==`object`&&`deref`in e&&typeof e.deref==`function`)try{return e.deref()}catch{return}return e}}var It=`_sentrySpan`;function Lt(e,t){t?Fe(e,It,Pt(t)):delete e[It]}function Rt(e){return Ft(e[It])}var zt=100,Bt=class e{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Mt(),sampleRand:Ue()}}clone(){let t=new e;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,t._conversationId=this._conversationId,Lt(t,Rt(this)),t}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Ot(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return t===null?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;let n=typeof t==`function`?t(this):t,{tags:r,attributes:i,extra:a,user:o,contexts:s,level:c,fingerprint:l=[],propagationContext:u,conversationId:d}=(n instanceof e?n.getScopeData():De(n)?t:void 0)||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...i},this._extra={...this._extra,...a},this._contexts={...this._contexts,...s},o&&Object.keys(o).length&&(this._user=o),c&&(this._level=c),l.length&&(this._fingerprint=l),u&&(this._propagationContext=u),d&&(this._conversationId=d),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,Lt(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Mt
6(),sampleRand:Ue()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n=typeof t==`number`?t:zt;if(n<=0)return this;let r={timestamp:bt(),...e,message:e.message?at(e.message,2048):e.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent(`buffer_overflow`,`log_item`)),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Rt(this),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=jt(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t?.event_id||ft();if(!this._client)return f&&k.warn(`No client configured on scope - will not capture exception!`),n;let r=Error(`Sentry syntheticException`);return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){let r=n?.event_id||ft();if(!this._client)return f&&k.warn(`No client configured on scope - will not capture message!`),r;let i=n?.syntheticException??Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){let n=e.event_id||t?.event_id||ft();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(f&&k.warn(`No client configured on scope - will not capture event!`),n)}_notifyScopeListeners(){this._notifyingListeners||=(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),!1)}};function Vt(){return _(`defaultCurrentScope`,()=>new Bt)}function Ht(){return _(`defaultIsolationScope`,()=>new Bt)}var Ut=e=>e instanceof Promise&&!e[Wt],Wt=Symbol(`chained PromiseLike`),Gt=(e,t,n)=>{let r=e.then(e=>(t(e),e),e=>{throw n(e),e});return Ut(r)&&Ut(e)?r:Kt(e,r)},Kt=(e,t)=>{if(!t)return e;let n=!1;for(let r in e){if(r in t)continue;n=!0;let i=e[r];typeof i==`function`?Object.defineProperty(t,r,{value:(...t)=>i.apply(e,t),enumerable:!0,configurable:!0,writable:!0}):t[r]=i}return n&&Object.assign(t,{[Wt]:!0}),t},qt=class{constructor(e,t){let n;n=e||new Bt;let r;r=t||new Bt,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){let t=this._pushScope(),n;try{n=e(t)}catch(e){throw this._popScope(),e}return je(n)?Gt(n,()=>this._popScope(),()=>this._popScope()):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}};function Jt(){let e=g(h());return e.stack=e.stack||new qt(Vt(),Ht())}function Yt(e){return Jt().withScope(e)}function Xt(e,t){let n=Jt();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function Zt(e){return Jt().withScope(()=>e(Jt().getIsolationScope()))}function Qt(){return{withIsolationScope:Zt,withScope:Yt,withSetScope:Xt,withSetIsolationScope:(e,t)=>Zt(t),getCurrentScope:()=>Jt().getScope(),getIsolationScope:()=>Jt().getIsolationScope()}}function $t(e){let t=g(e);return t.acs?t.acs:Qt()}function en(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&Object.keys(e).includes(`value`)}function tn(e,t){let{value:n,unit:r}=en(e)?e:{value:e,unit:void 0},i=rn(n),a=r&&typeof r==`string`?{unit:r}:{};if(i)return{...i,...a};
6if(!t||t===`skip-undefined`&&n===void 0)return;let o=``;try{o=JSON.stringify(n)??``}catch{}return{value:o,type:`string`,...a}}function nn(e,t=!1){let n={};for(let[r,i]of Object.entries(e??{})){let e=tn(i,t);e&&(n[r]=e)}return n}function rn(e){if(Array.isArray(e))return{value:e,type:`array`};let t=typeof e==`string`?`string`:typeof e==`boolean`?`boolean`:typeof e==`number`&&!Number.isNaN(e)?Number.isInteger(e)?`integer`:`double`:null;if(t)return{value:e,type:t}}function an(){return!1}function P(){return $t(h()).getCurrentScope()}function on(){return $t(h()).getIsolationScope()}function sn(){return _(`globalScope`,()=>new Bt)}function cn(...e){let t=$t(h());if(e.length===2){let[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}return t.withScope(e[0])}function F(){return P().getClient()}function ln(e){let{traceId:t,parentSpanId:n,propagationSpanId:r}=e.getPropagationContext(),i={trace_id:t,span_id:r||Nt()};return n&&(i.parent_span_id=n),i}var un=`sentry.source`,dn=`sentry.sample_rate`,fn=`sentry.previous_trace_sample_rate`,pn=`sentry.op`,mn=`sentry.origin`,hn=`sentry.idle_span_finish_reason`,gn=`sentry.measurement_unit`,_n=`sentry.measurement_value`,vn=`sentry.custom_span_name`,yn=`sentry.profile_id`,bn=`sentry.exclusive_time`,xn=`sentry.link.type`,Sn=`gen_ai.conversation.id`;function Cn(e){if(e<400&&e>=100)return{code:1};if(e>=400&&e<500)switch(e){case 401:return{code:2,message:`unauthenticated`};case 403:return{code:2,message:`permission_denied`};case 404:return{code:2,message:`not_found`};case 409:return{code:2,message:`already_exists`};case 413:return{code:2,message:`failed_precondition`};case 429:return{code:2,message:`resource_exhausted`};case 499:return{code:2,message:`cancelled`};default:return{code:2,message:`invalid_argument`}}if(e>=500&&e<600)switch(e){case 501:return{code:2,message:`unimplemented`};case 503:return{code:2,message:`unavailable`};case 504:return{code:2,message:`deadline_exceeded`};default:return{code:2,message:`internal_error`}}return{code:2,message:`internal_error`}}function wn(e,t){e.setAttribute(`http.response.status_code`,t);let n=Cn(t);n.message!==`unknown_error`&&e.setStatus(n)}var Tn=`_sentryScope`,En=`_sentryIsolationScope`,Dn=Symbol.for(`sentry.otelSourceInference`),On=Symbol.for(`sentry.otelSourceExplicitlySet`),kn=Symbol.for(`sentry.tracerProviderSpan`);function An(e,t,n){e&&(Fe(e,En,Pt(n)),Fe(e,Tn,t))}function jn(e){let t=e;return{scope:t[Tn],isolationScope:Ft(t[En])}}function Mn(e){return e[Dn]===!0}function Nn(e){Fe(e,On,!0)}function Pn(e){return e[kn]===!0}var Fn=`sentry-`;function In(e){let t=Rn(e);if(!t)return;let n=Object.entries(t).reduce((e,[t,n])=>{if(t.startsWith(`sentry-`)){let r=t.slice(7);e[r]=n}return e},{});if(Object.keys(n).length>0)return n}function Ln(e){if(e)return Bn(Object.entries(e).reduce((e,[t,n])=>(n&&(e[`${Fn}${t}`]=n),e),{}))}function Rn(e){if(e&&(we(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>{let n=zn(t);return Object.entries(n).forEach(([t,n])=>{e[t]=n}),e},{}):zn(e)}function zn(e){return e.split(`,`).map(e=>{let t=e.indexOf(`=`);return t===-1?[]:[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}function Bn(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((e,[t,n],r)=>{let i=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,a=r===0?i:`${e},${i}`;return a.length>8192?(f&&k.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):a},``)}var Vn=/^o(\d+)\./,Hn=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function Un(e){return e===`http`||e===`https`}function Wn(e,t=!1){let{host:n,path:r,pass:i,port:a,projectId:o,protocol:s,publicKey:c}=e;return`${s}://${c}${t&&i?`:${i}`:``}@${n}${a?`:${a}`:``}/${r&&`${r}/`}${o}`}function Gn(e){let t=Hn.exec(e);if(!t){x(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[n,r,i=``,a=``,o=``,s=``]=t.slice(1),c=``,l=s,u=l.split(`/`);if(u.length>1&&(c=u.slice(0,-1).join(`/`),l=u.pop()),l){let e=l.match(/^\d+/);e&&(l=e[0])}return Kn({host:a,pass:i,path:c,projectId:l,port:o,protocol:n,publicKey:r})}function Kn(e){return{protocol:e.protocol,publicKey:e.publicKey||``,pass:e.pass||``,host:e.host,port:e.port||``,path:e.path||``,projectId:e.projectId}}function qn(e){if(!f)return!0;let{port:t,projectId:n,protocol:r}=e;return[`protocol`,`publicKey`,`host`,`projectId`].find(t=>!e[t]&&(k.error(`Invalid Sentry Dsn: ${t} missing`),!0))?!1:n.match(/^\d+$/)?Un(r)?t&&isNaN(parseInt(t,10))?(k.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(k.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(k.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function Jn(e){return e.match(Vn)?.[1]}function Yn(e){let t=e.getOptions(),{host:n}=e.getDsn()||{},r;return t.orgId?r=String(t.orgId):n&&(r=Jn(n)),r}function Xn(e){let t=typeof e==`string`?Gn(e):Kn(e);if(t&&qn(t))return t}function Zn(e){if(typeof e==`boolean`)return Number(e);let t=typeof e==`string`?parseFloat(e):e;if(!(typeof t!=`number`||isNaN(t)||t<0||t>1))return t}var Qn=RegExp(`^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$`);function $n(e){if(!e)return;let t=e.match(Qn);if(!t)return;let n;return t[3]===`1`?n=!0:t[3]===`0`&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function er(e,t){let n=$n(e),r=In(t);
6if(!n?.traceId)return{traceId:Mt(),sampleRand:Ue()};let i=rr(n,r);r&&(r.sample_rand=i.toString());let{traceId:a,parentSpanId:o,parentSampled:s}=n;return{traceId:a,parentSpanId:o,sampled:s,dsc:r||{},sampleRand:i}}function tr(e=Mt(),t=Nt(),n){let r=``;return n!==void 0&&(r=n?`-1`:`-0`),`${e}-${t}${r}`}function nr(e=Mt(),t=Nt(),n){return`00-${e}-${t}-${n?`01`:`00`}`}function rr(e,t){let n=Zn(t?.sample_rand);if(n!==void 0)return n;let r=Zn(t?.sample_rate);return r&&e?.parentSampled!==void 0?e.parentSampled?Ue()*r:r+Ue()*(1-r):Ue()}var ir=!1;function ar(e){let{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:a,status:o,origin:s,links:c}=pr(e);return{parent_span_id:a,span_id:t,trace_id:n,data:r,op:i,status:o,origin:s,links:c}}function or(e){let{spanId:t,traceId:n,isRemote:r}=e.spanContext(),i=r?t:pr(e).parent_span_id,a=jn(e).scope;return{parent_span_id:i,span_id:r?a?.getPropagationContext().propagationSpanId||Nt():t,trace_id:n}}function sr(e){let{traceId:t,spanId:n}=e.spanContext();return tr(t,n,yr(e))}function cr(e){let{traceId:t,spanId:n}=e.spanContext();return nr(t,n,yr(e))}function lr(e){if(e&&e.length>0)return e.map(({context:{spanId:e,traceId:t,traceFlags:n,...r},attributes:i})=>({span_id:e,trace_id:t,sampled:n===1,attributes:i,...r}))}function ur(e){if(e?.length)return e.map(({context:{spanId:e,traceId:t,traceFlags:n},attributes:r})=>({span_id:e,trace_id:t,sampled:n===1,attributes:r}))}function dr(e){return typeof e==`number`?fr(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?fr(e.getTime()):Ct()}function fr(e){return e>9999999999?e/1e3:e}function pr(e){if(vr(e))return e.getSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(_r(e)){let{attributes:r,startTime:i,name:a,endTime:o,status:s,links:c}=e;return{span_id:t,trace_id:n,data:r,description:a,parent_span_id:hr(e),start_timestamp:dr(i),timestamp:dr(o)||void 0,status:br(s),op:r[pn],origin:r[mn],links:lr(c)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function mr(e){if(vr(e))return e.getStreamedSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(_r(e)){let{attributes:r,startTime:i,name:a,endTime:o,status:s,links:c}=e;return{name:a,span_id:t,trace_id:n,parent_span_id:hr(e),start_timestamp:dr(i),end_timestamp:dr(o),is_segment:e===kr(e),status:xr(s),attributes:Sr(r,s),links:ur(c)}}return{span_id:t,trace_id:n,start_timestamp:0,name:``,end_timestamp:0,status:`ok`,is_segment:e===kr(e)}}function hr(e){return`parentSpanId`in e?e.parentSpanId:`parentSpanContext`in e?e.parentSpanContext?.spanId:void 0}function gr(e){return{...e,attributes:nn(e.attributes),links:e.links?.map(e=>({...e,attributes:nn(e.attributes)}))}}function _r(e){let t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function vr(e){return typeof e.getSpanJSON==`function`}function yr(e){let{traceFlags:t}=e.spanContext();return t===1}function br(e){if(e&&e.code!==0)return e.code===1?`ok`:e.message||`internal_error`}function xr(e){return!e||e.code===1||e.code===0||e.message===`cancelled`?`ok`:`error`}function Sr(e,t){let n=xr(t)===`error`?t?.message:void 0;return{...n&&{"sentry.status.message":n},...e}}var Cr=`_sentryChildSpans`,wr=`_sentryRootSpan`;function Tr(e,t){let n=e[wr]||e;Fe(t,wr,n),yr(e)&&(e.isRecording()||n.isRecording())&&(e[Cr]?e[Cr].add(t):Fe(e,Cr,new Set([t])))}function Er(e,t){e[Cr]&&e[Cr].delete(t)}function Dr(e){let t=new Set;function n(e){if(!t.has(e)&&yr(e)){t.add(e);let r=e[Cr]?Array.from(e[Cr]):[];for(let e of r)n(e)}}return n(e),Array.from(t)}var Or=kr;function kr(e){return e[wr]||e}function Ar(){let e=$t(h());return e.getActiveSpan?e.getActiveSpan():Rt(P())}function jr(){ir||=(x(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),!0)}var Mr=!1;function Nr(){if(Mr)return;function e(){let e=Ar(),t=e&&Or(e);if(t){let e=`internal_error`;f&&k.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:2,message:e})}}Mr=!0,he(e),ge(e)}function Pr(e){if(typeof __SENTRY_TRACING__==`boolean`&&!__SENTRY_TRACING__)return!1;let t=e||F()?.getOptions();return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}function Fr(e){k.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function Ir(e,t){if(!t?.length)return!1;for(let n of t){if(zr(n)){if(e.description&&st(e.description,n))return f&&Fr(e),!0;continue}let t=!!n.attributes&&Object.keys(n.attributes).length>0;if(!n.name&&!n.op&&!t)continue;let r=!n.name||e.description&&st(e.description,n.name),i=!n.op||e.op&&st(e.op,n.op),a=!n.attributes||Object.entries(n.attributes).every(([t,n])=>Lr(e.attributes?.[t],n));if(r&&i&&a)return f&&Fr(e),!0}return!1}function Lr(e,t){return typeof e==`string`&&(typeof t==`string`||t instanceof RegExp)?st(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e===t}function Rr(e,t){let n=t.parent_span_id,r=t.span_id;if(n)for(let t of e)t.parent_span_id===r&&(t.parent_span_id=n)}function zr(e){return typeof e==`string`||e instanceof RegExp}var Br=Symbol.for(`sentry.nonRecordingSpan`),Vr=class{constructor(e={}){this._traceId=e.traceId||Mt(),this._spanId=e.spanId||Nt(),this.dropReason=e.dropReason,Fe(this,Br,!0)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}
6addEvent(e,t,n){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}};function Hr(e){return!!e&&e[Br]===!0}var Ur=`production`,Wr=`_frozenDsc`;function Gr(e,t){Fe(e,Wr,t)}function Kr(e,t){let n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i={environment:n.environment||`production`,release:n.release,public_key:r,trace_id:e,org_id:Yn(t)};return t.emit(`createDsc`,i),i}function qr(e,t){let n=t.getPropagationContext();return n.dsc||Kr(n.traceId,e)}function Jr(e){let t=F();if(!t)return{};let n=Or(e),r=pr(n),i=r.data,a=n.spanContext().traceState,o=a?.get(`sentry.sample_rate`)??i[`sentry.sample_rate`]??i[`sentry.previous_trace_sample_rate`];function s(e){return(typeof o==`number`||typeof o==`string`)&&(e.sample_rate=`${o}`),e}let c=n[Wr];if(c)return s(c);let l=Hr(n),u=l&&n.dropReason===`ignored`;if(l&&(!Pr(t.getOptions())||u)){let e=jn(n).scope;if(e){let n={...qr(t,e)};return u&&(n.sampled=`false`),s(n)}}let d=a?.get(`sentry.dsc`),f=d&&In(d);if(f)return s(f);let p=Kr(e.spanContext().traceId,t),m=i[`sentry.source`]??i[`sentry.segment.name.source`],h=r.description;return m!==`url`&&h&&(p.transaction=h),Pr()&&(p.sampled=String(yr(n)),p.sample_rand=a?.get(`sentry.sample_rand`)??jn(n).scope?.getPropagationContext().sampleRand.toString()),s(p),t.emit(`createDsc`,p,n),p}function Yr(e){return!!e&&typeof e==`function`&&`_streamed`in e&&!!e._streamed}function Xr(e,t=[]){return[e,t]}function Zr(e,t){let[n,r]=e;return[n,[...r,t]]}function Qr(e,t){let n=e[1];for(let e of n){let n=e[0].type;if(t(e,n))return!0}return!1}function $r(e,t){return Qr(e,(e,n)=>t.includes(n))}function ei(e){let t=g(p);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function ti(e){let[t,n]=e,r=JSON.stringify(t);function i(e){typeof r==`string`?r=typeof e==`string`?r+e:[ei(r),e]:r.push(typeof e==`string`?ei(e):e)}for(let e of n){let[t,n]=e;if(i(`
7${JSON.stringify(t)}
8`),typeof n==`string`||n instanceof Uint8Array)i(n);else{let e;try{e=JSON.stringify(n)}catch{e=JSON.stringify(Ze(n))}i(e)}}return typeof r==`string`?r:ni(r)}function ni(e){let t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.length;return n}function ri(e){return[{type:`span`},e]}function ii(e){let t=typeof e.data==`string`?ei(e.data):e.data;return[{type:`attachment`,length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}var ai={sessions:`session`,event:`error`,client_report:`internal`,user_report:`default`,profile_chunk:`profile`,replay_event:`replay`,replay_recording:`replay`,check_in:`monitor`,raw_security:`security`,log:`log_item`,trace_metric:`metric`};function oi(e){return e in ai}function si(e){return oi(e)?ai[e]:e}function ci(e){if(!e?.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}function li(e,t,n,r){let i=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date(We()).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:Wn(r)},...i&&{trace:i}}}function ui(e,t){if(!t)return e;let n=e.sdk||{};return e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0},e}function di(e,t,n,r){let i=ci(n);return Xr({sent_at:new Date(We()).toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:Wn(t)}},[`aggregates`in e?[{type:`sessions`},e]:[{type:`session`},e.toJSON()]])}function fi(e,t,n,r){let i=ci(n),a=e.type&&e.type!==`replay_event`?e.type:`event`;ui(e,n?.sdk);let o=li(e,i,r,t);return delete e.sdkProcessingMetadata,Xr(o,[[{type:a},e]])}function pi(e,t){function n(e){return!!e.trace_id&&!!e.public_key}let r=Jr(e[0]),i=t?.getDsn(),a=t?.getOptions().tunnel,o={sent_at:new Date(We()).toISOString(),...n(r)&&{trace:r},...!!a&&i&&{dsn:Wn(i)}},{beforeSendSpan:s,ignoreSpans:c}=t?.getOptions()||{},l=c?.length?e.filter(e=>{let t=pr(e);return!Ir({description:t.description,op:t.op,attributes:t.data},c)}):e,u=e.length-l.length;u&&t?.recordDroppedEvent(`before_send`,`span`,u);let d=s?e=>{let t=pr(e);return(Yr(s)?t:s(t))||(jr(),t)}:pr,f=[];for(let e of l){let t=d(e);t&&f.push(ri(t))}return Xr(o,f)}function mi(e){if(!f)return;let{description:t=`< unknown name >`,op:n=`< unknown op >`,parent_span_id:r}=pr(e),{spanId:i}=e.spanContext(),a=yr(e),o=Or(e),s=o===e,c=`[Tracing] Starting ${a?`sampled`:`unsampled`} ${s?`root `:``}span`,l=[`op: ${n}`,`name: ${t}`,`ID: ${i}`];
8if(r&&l.push(`parent ID: ${r}`),!s){let{op:e,description:t}=pr(o);l.push(`root ID: ${o.spanContext().spanId}`),e&&l.push(`root op: ${e}`),t&&l.push(`root description: ${t}`)}k.log(`${c}
9  ${l.join(`
10  `)}`)}function hi(e){if(!f)return;let{description:t=`< unknown name >`,op:n=`< unknown op >`}=pr(e),{spanId:r}=e.spanContext(),i=`[Tracing] Finishing "${n}" ${Or(e)===e?`root `:``}span "${t}" with ID ${r}`;k.log(i)}function gi(e,t,n,r=Ar()){let i=r&&Or(r);i&&(f&&k.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),i.addEvent(e,{[_n]:t,[gn]:n}))}function _i(e){if(!e||e.length===0)return;let t={};return e.forEach(e=>{let n=e.attributes||{},r=n[gn],i=n[_n];typeof r==`string`&&typeof i==`number`&&(t[e.name]={value:i,unit:r})}),t}function vi(){return g(h()).segmentSpanCaptureStrategy}function yi(e){return e.getOptions().traceLifecycle===`stream`}var bi=1e3,xi=class{constructor(e={}){this._traceId=e.traceId||Mt(),this._spanId=e.spanId||Nt(),this._startTime=e.startTimestamp||Ct(),this._links=e.links,this._attributes={},this.setAttributes({[mn]:`manual`,[pn]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),`sampled`in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this._frozen||(this._links?this._links.push(e):this._links=[e]),this}addLinks(e){return this._frozen||(this._links?this._links.push(...e):this._links=e),this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:+!!n}}setAttribute(e,t){return this._frozen?this:(t===void 0?delete this._attributes[e]:this._attributes[e]=t,e===`sentry.source`&&t!==void 0&&Mn(this)&&Nn(this),this)}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._frozen||(this._startTime=dr(e))}setStatus(e){return this._frozen||(this._status=e),this}updateName(e){return this._frozen?this:(this._name=e,Mn(this)||this.setAttribute(un,`custom`),this)}end(e){if(this._endTime){this._frozen=Pn(this);return}this._endTime=dr(e),hi(this),this._onSpanEnded(),this._frozen=Pn(this)}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[pn],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:br(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[mn],profile_id:this._attributes[yn],exclusive_time:this._attributes[bn],measurements:_i(this._events),is_segment:this._isStandaloneSpan&&Or(this)===this||void 0,segment_id:this._isStandaloneSpan?Or(this).spanContext().spanId:void 0,links:lr(this._links)}}getStreamedSpanJSON(){return{name:this._name??``,span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===Or(this),status:xr(this._status),attributes:Sr(this._attributes,this._status),links:ur(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){if(this._frozen)return this;f&&k.log(`[Tracing] Adding an event to span:`,e);let r=Si(t)?t:n||Ct(),i=Si(t)?{}:t||{},a={name:e,time:dr(r),attributes:i};return this._events.push(a),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=F();e&&(e.emit(`spanEnd`,this),this._isStandaloneSpan||e.emit(`afterSpanEnd`,this));let t=Or(this),n=this._isStandaloneSpan||this===t;if(this._isStandaloneSpan){this._sampled?Ti(pi([this],e)):(f&&k.log(`[Tracing] Discarding standalone span because its trace was not chosen to be sampled.`),e&&e.recordDroppedEvent(`sample_rate`,`span`));return}if(!n){let e=vi();if(e){let n=jn(this).scope||P();e.onChildSpanEnded(this,t,e=>this._convertSpanToTransaction(e),n)}return}if(e&&yi(e)){e.emit(`afterSegmentSpanEnd`,this);return}let r=jn(this).scope||P(),i=vi();if(i)i.onSegmentSpanEnded(e=>this._convertSpanToTransaction(e),r);else{let e=this._convertSpanToTransaction();e&&r.captureEvent(e)}}_convertSpanToTransaction(e={}){if(!Ci(pr(this)))return;this._name||=(f&&k.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),`<unlabeled transaction>`);let{scope:t,isolationScope:n}=jn(this),r=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(this._sampled!==!0)return;e.onSpanCaptured?.(this);let i=[];for(let t of Dr(this)){if(t===this||wi(t)||e.isSpanAlreadyCaptured?.(t))continue;let n=pr(t);Ci(n)&&(e.onSpanCaptured?.(t),i.push(n))}let a=this._attributes[un];delete this._attributes[vn];let o=!1;
10i.forEach(e=>{delete e.data[vn],e.op?.startsWith(`gen_ai.`)&&(o=!0)});let s={contexts:{trace:ar(this)},spans:i.length>bi?i.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,bi):i,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:`transaction`,sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,dynamicSamplingContext:Jr(this),hasGenAiSpans:o},request:r,...a&&{transaction_info:{source:a}}},c=_i(this._events);return c&&Object.keys(c).length&&(f&&k.log(`[Measurements] Adding measurements to transaction event`,JSON.stringify(c,void 0,2)),s.measurements=c),s}};function Si(e){return e&&typeof e==`number`||e instanceof Date||Array.isArray(e)}function Ci(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function wi(e){return e instanceof xi&&e.isStandaloneSpan()}function Ti(e){let t=F();if(!t)return;let n=e[1];if(!n||n.length===0){t.recordDroppedEvent(`before_send`,`span`);return}t.sendEnvelope(e)}function Ei(e,t,n){if(!Pr(e))return[!1];let r,i;typeof e.tracesSampler==`function`?(i=e.tracesSampler({...t,inheritOrSampleWith:e=>typeof t.parentSampleRate==`number`?t.parentSampleRate:typeof t.parentSampled==`boolean`?Number(t.parentSampled):e}),r=!0):t.parentSampled===void 0?e.tracesSampleRate!==void 0&&(i=e.tracesSampleRate,r=!0):i=t.parentSampled;let a=Zn(i);if(a===void 0)return f&&k.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(i)} of type ${JSON.stringify(typeof i)}.`),[!1];if(!a)return f&&k.log(`[Tracing] Discarding transaction because ${typeof e.tracesSampler==`function`?`tracesSampler returned 0 or false`:`a negative sampling decision was inherited or tracesSampleRate is set to 0`}`),[!1,a,r];let o=n<a;return o||f&&k.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(i)})`),[o,a,r]}var Di=`__SENTRY_SUPPRESS_TRACING__`;function Oi(e){let t=Fi();return t.startInactiveSpan?t.startInactiveSpan(e):ki(e)}function ki(e){let t=Pi(e),{forceTransaction:n,parentSpan:r}=e;return(e.scope?t=>cn(e.scope,t):r===void 0?e=>e():e=>Ai(r,e))(()=>{let i=P(),a=Ri(i,r),o=F();return e.onlyIfParent&&!a?Mi(i,o):Ni({parentSpan:a,spanArguments:t,forceTransaction:n,scope:i})})}function Ai(e,t){let n=Fi();return n.withActiveSpan?n.withActiveSpan(e,t):cn(n=>(Lt(n,e||void 0),t(n)))}function ji(e=P()){let t=Fi();return t.isTracingSuppressed?t.isTracingSuppressed(e):e.getScopeData().sdkProcessingMetadata[Di]===!0}function Mi(e,t){t?.recordDroppedEvent(`no_parent_span`,`span`);let n=new Vr({traceId:e.getPropagationContext().traceId});return An(n,e,on()),n}function Ni({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){let i=on();if(!Pr()){let t=r.getPropagationContext(),a=new Vr({traceId:e?e.spanContext().traceId:t.traceId});return e&&!n&&Tr(e,a),An(a,r,i),a}let a=F();if(zi(a,t)){ji(r)||a?.recordDroppedEvent(`ignored`,`span`);let t=new Vr({dropReason:`ignored`,traceId:e?.spanContext().traceId??r.getPropagationContext().traceId});return e&&!n&&Tr(e,t),An(t,r,i),t}let o;if(e&&!n)o=Li(e,r,t,i),Tr(e,o);else if(e){let n=Jr(e),{traceId:a,spanId:s}=e.spanContext(),c=yr(e);o=Ii({traceId:a,parentSpanId:s,...t},r,i,c),Gr(o,n)}else{let{traceId:e,dsc:n,parentSpanId:a,sampled:s}=r.getPropagationContext();o=Ii({traceId:e,parentSpanId:a,...t},r,i,s),n&&Gr(o,n)}return mi(o),o}function Pi(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let n={...t};return n.startTimestamp=dr(e.startTime),delete n.startTime,n}return t}function Fi(){return $t(h())}function Ii(e,t,n,r){let i=F(),a=i?.getOptions()||{},{name:o=``}=e,s={spanAttributes:{...e.attributes},spanName:o,parentSampled:r};i?.emit(`beforeSampling`,s,{decision:!1});let c=s.parentSampled??r,l=s.spanAttributes,u=t.getPropagationContext(),d=ji(t),[p,m,h]=d?[!1]:Ei(a,{name:o,parentSampled:c,attributes:l,normalizedRequest:n.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:Zn(u.dsc?.sample_rate)},u.sampleRand),g=new xi({...e,attributes:{[un]:`custom`,[dn]:m!==void 0&&h?m:void 0,...l},sampled:p});return!p&&i&&!d&&(f&&k.log(`[Tracing] Discarding root span because its trace was not chosen to be sampled.`),i.recordDroppedEvent(`sample_rate`,yi(i)?`span`:`transaction`)),An(g,t,n),i&&i.emit(`spanStart`,g),g}function Li(e,t,n,r){let{spanId:i,traceId:a}=e.spanContext(),o=ji(t),s=!o&&yr(e),c=s?new xi({...n,parentSpanId:i,traceId:a,sampled:s}):new Vr({traceId:a});Tr(e,c),An(c,t,r);let l=F();return l?(yi(l)&&Hr(c)&&(Hr(e)&&e.dropReason?(c.dropReason=e.dropReason,l.recordDroppedEvent(e.dropReason,`span`)):o||(c.dropReason=`sample_rate`,l.recordDroppedEvent(`sample_rate`,`span`))),l.emit(`spanStart`,c),n.endTimestamp&&(l.emit(`spanEnd`,c),l.emit(`afterSpanEnd`,c)),c):c}function Ri(e,t){if(t)return t;if(t===null)return;let n=Rt(e);
10if(!n)return;let r=F();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?Or(n):n}function zi(e,t){let n=e?.getOptions().ignoreSpans;return!e||!yi(e)||!n?.length?!1:Ir({description:t.name||``,op:t.attributes?.[`sentry.op`]||t.op,attributes:t.attributes},n)}function Bi(e){return Hr(e)&&e.dropReason===`ignored`}var Vi={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},Hi=`heartbeatFailed`,Ui=`idleTimeout`,Wi=`finalTimeout`,Gi=`externalFinish`;function Ki(e,t={}){let n=new Map,r=!1,i,a,o=Gi,s=!t.disableAutoFinish,c=[],{idleTimeout:l=Vi.idleTimeout,finalTimeout:u=Vi.finalTimeout,childSpanTimeout:d=Vi.childSpanTimeout,beforeSpanEnd:p,trimIdleSpanEndTimestamp:m=!0}=t,h=F(),g=P();if(!h||!Pr()){let e=new Vr({traceId:g.getPropagationContext().traceId});return An(e,g,on()),e}let _=Ar(),v=qi(e);v.end=new Proxy(v.end,{apply(e,t,n){if(p&&p(v),Hr(t))return;let[r,...i]=n,a=dr(r||Ct()),o=Dr(v).filter(e=>e!==v),s=pr(v);if(!o.length||!m)return T(a),Reflect.apply(e,t,[a,...i]);let c=h.getOptions().ignoreSpans,l=o?.reduce((e,t)=>{let n=pr(t);return!n.timestamp||c&&Ir({description:n.description,op:n.op,attributes:n.data},c)?e:e?Math.max(e,n.timestamp):n.timestamp},void 0),d=s.start_timestamp,f=Math.min(d?d+u/1e3:1/0,Math.max(d||-1/0,Math.min(a,l||1/0)));return T(f),Reflect.apply(e,t,[f,...i])}});function y(){i&&=(clearTimeout(i),void 0)}function b(){a&&=(clearTimeout(a),void 0)}function x(e){y(),i=setTimeout(()=>{!r&&n.size===0&&s&&(o=Ui,v.end(e))},l)}function S(e){b(),a=setTimeout(()=>{!r&&s&&(o=Hi,v.end(e))},d)}function C(e){y(),n.set(e,!0),S(Ct()+d/1e3)}function w(e){n.has(e)&&n.delete(e),n.size===0&&(x(Ct()+l/1e3),b())}function T(e){r=!0,n.clear(),c.forEach(e=>e()),Lt(g,_);let t=pr(v),{start_timestamp:i}=t;if(!i)return;t.data[`sentry.idle_span_finish_reason`]||v.setAttribute(hn,o);let a=t.status;(!a||a===`unknown`)&&v.setStatus({code:1}),k.log(`[Tracing] Idle span "${t.op}" finished`);let s=Dr(v).filter(e=>e!==v),d=0;s.forEach(t=>{t.isRecording()&&(t.setStatus({code:2,message:`cancelled`}),t.end(e),f&&k.log(`[Tracing] Cancelling span since span ended early`,JSON.stringify(t,void 0,2)));let{timestamp:n=0,start_timestamp:r=0}=pr(t),i=r<=e,a=(u+l)/1e3,o=n-r<=a;if(f){let e=JSON.stringify(t,void 0,2);i?o||k.log(`[Tracing] Discarding span since it finished after idle span final timeout`,e):k.log(`[Tracing] Discarding span since it happened after idle span was finished`,e)}(!o||!i)&&(Er(v,t),d++)}),d>0&&v.setAttribute(`sentry.idle_span_discarded_spans`,d)}return c.push(h.on(`spanStart`,e=>{r||e===v||pr(e).timestamp||e instanceof xi&&e.isStandaloneSpan()||Dr(v).includes(e)&&C(e.spanContext().spanId)})),c.push(h.on(`spanEnd`,e=>{r||w(e.spanContext().spanId)})),c.push(h.on(`idleSpanEnableAutoFinish`,e=>{e===v&&(s=!0,x(),n.size&&S())})),t.disableAutoFinish||x(),setTimeout(()=>{r||(v.setStatus({code:2,message:`deadline_exceeded`}),o=Wi,v.end())},u),v}function qi(e){let t=Oi(e);return Lt(P(),t),f&&k.log(`[Tracing] Started span is an idle span`),t}function Ji(e,t,n){let r,i,a,o=n?.maxWait?Math.max(n.maxWait,t):0,s=n?.setTimeoutImpl||setTimeout;function c(){return l(),r=e(),r}function l(){i!==void 0&&clearTimeout(i),a!==void 0&&clearTimeout(a),i=a=void 0}function u(){return i!==void 0||a!==void 0?c():r}function d(){return i&&clearTimeout(i),i=s(c,t),o&&a===void 0&&(a=s(c,o)),r}return d.cancel=l,d.flush=u,d}function Yi(e,t){let{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:a}=t;$i(e,t),r&&na(e,r),ra(e,n),ea(e,i),ta(e,a)}function Xi(e,t){let{extra:n,tags:r,attributes:i,user:a,contexts:o,level:s,sdkProcessingMetadata:c,breadcrumbs:l,fingerprint:u,eventProcessors:d,attachments:f,propagationContext:p,transactionName:m,span:h}=t;Zi(e,`extra`,n),Zi(e,`tags`,r),Zi(e,`attributes`,i),Zi(e,`user`,a),Zi(e,`contexts`,o),e.sdkProcessingMetadata=jt(e.sdkProcessingMetadata,c,2),s&&(e.level=s),m&&(e.transactionName=m),h&&(e.span=h),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,...p}}function Zi(e,t,n){e[t]=jt(e[t],n,1)}function Qi(e,t){let n=sn().getScopeData();return e&&Xi(n,e.getScopeData()),t&&Xi(n,t.getScopeData()),n}function $i(e,t){let{extra:n,tags:r,user:i,contexts:a,level:o,transactionName:s}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(i).length&&(e.user={...i,...e.user}),Object.keys(a).length&&(e.contexts={...a,...e.contexts}),o&&(e.level=o),s&&e.type!==`transaction`&&(e.transaction=s)}function ea(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function ta(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function na(e,t){e.contexts={trace:or(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:Jr(t),...e.sdkProcessingMetadata};let n=pr(Or(t)).description;n&&!e.transaction&&e.type===`transaction`&&(e.transaction=n)}function ra(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}var ia=`http.url`,aa=`sentry.segment.name`,oa=`sentry.transaction`,sa=`url.full`,ca=`user_agent.original`;function la(e,t){let n=e.attributes??={};Object.entries(t).forEach(([e,t])=>{t!=null&&!(e in n)&&(n[e]=t)})}var ua=0,da=1,fa=2;function pa(e){return new ha(t=>{t(e)})}function ma(e){return new ha((t,n)=>{n(e)})}var ha=class e{constructor(e){this._state=ua,this._handlers=[],this._runExecutor(e)}then(t,n){return new e((e,r)=>{this._handlers.push([!1,n=>
10{if(!t)e(n);else try{e(t(n))}catch(e){r(e)}},t=>{if(!n)r(t);else try{e(n(t))}catch(e){r(e)}}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(t){return new e((e,n)=>{let r,i;return this.then(e=>{i=!1,r=e,t&&t()},e=>{i=!0,r=e,t&&t()}).then(()=>{if(i){n(r);return}e(r)})})}_executeHandlers(){if(this._state===ua)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||=(this._state===da&&e[1](this._value),this._state===fa&&e[2](this._value),!0)})}_runExecutor(e){let t=(e,t)=>{if(this._state===ua){if(je(t)){t.then(n,r);return}this._state=e,this._value=t,this._executeHandlers()}},n=e=>{t(da,e)},r=e=>{t(fa,e)};try{e(n,r)}catch(e){r(e)}}};function ga(e,t,n,r=0){try{let i=_a(t,n,e,r);return je(i)?i:pa(i)}catch(e){return ma(e)}}function _a(e,t,n,r){let i=n[r];if(!e||!i)return e;let a=i({...e},t);return f&&a===null&&k.log(`Event processor "${i.id||`?`}" dropped event`),je(a)?a.then(e=>_a(e,t,n,r+1)):_a(a,t,n,r+1)}var va,ya,ba,xa;function Sa(e){let t=p._sentryDebugIds,n=p._debugIds;if(!t&&!n)return{};let r=t?Object.keys(t):[],i=n?Object.keys(n):[];if(xa&&r.length===ya&&i.length===ba)return xa;ya=r.length,ba=i.length,xa={},va||={};let a=(t,n)=>{for(let r of t){let t=n[r],i=va?.[r];if(i&&xa&&t)xa[i[0]]=t,va&&(va[r]=[i[0],t]);else if(t){let n=e(r);for(let e=n.length-1;e>=0;e--){let i=n[e]?.filename;if(i&&xa&&va){xa[i]=t,va[r]=[i,t];break}}}}};return t&&a(r,t),n&&a(i,n),xa}function Ca(e,t,n,r,i,a){let{normalizeDepth:o=3,normalizeMaxBreadth:s=1e3}=e,c={...t,event_id:t.event_id||n.event_id||ft(),timestamp:t.timestamp||bt()},l=n.integrations||e.integrations.map(e=>e.name);wa(c,e),Da(c,l),i&&i.emit(`applyFrameMetadata`,t),t.type===void 0&&Ta(c,e.stackParser);let u=ka(r,n.captureContext);n.mechanism&&gt(c,n.mechanism);let d=i?i.getEventProcessors():[],f=Qi(a,u),p=[...n.attachments||[],...f.attachments];p.length&&(n.attachments=p),Yi(c,f);let m=[...d,...f.eventProcessors];return(n.data&&n.data.__sentry__===!0?pa(c):ga(m,c,n)).then(e=>(e&&Ea(e),typeof o==`number`&&o>0?Oa(e,o,s):e))}function wa(e,t){let{environment:n,release:r,dist:i,maxValueLength:a}=t;e.environment=e.environment||n||`production`,!e.release&&r&&(e.release=r),!e.dist&&i&&(e.dist=i);let o=e.request;o?.url&&a&&(o.url=at(o.url,a)),a&&e.exception?.values?.forEach(e=>{e.value&&=at(e.value,a)})}function Ta(e,t){let n=Sa(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=n[e.filename])})})}function Ea(e){let t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:`sourcemap`,code_file:e,debug_id:t})})}function Da(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function Oa(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:Ze(e.data,t,n)}}))},...e.user&&{user:Ze(e.user,t,n)},...e.contexts&&{contexts:Ze(e.contexts,t,n)},...e.extra&&{extra:Ze(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=Ze(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:Ze(e.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=Ze(e.contexts.flags,3,n)),r}function ka(e,t){if(!t)return e;let n=e?e.clone():new Bt;return n.update(t),n}function Aa(e){if(e)return ja(e)||Na(e)?{captureContext:e}:e}function ja(e){return e instanceof Bt||typeof e==`function`}var Ma=[`user`,`level`,`extra`,`contexts`,`tags`,`fingerprint`,`propagationContext`];function Na(e){return Object.keys(e).some(e=>Ma.includes(e))}function Pa(e,t){return P().captureException(e,Aa(t))}function Fa(e,t){return P().captureEvent(e,t)}function Ia(e,t){on().setContext(e,t)}function La(){let e=F();return e?.getOptions().enabled!==!1&&!!e?.getTransport()}function Ra(e){on().addEventProcessor(e)}function za(e){let t=on(),{user:n}=Qi(t,P()),{userAgent:r}=p.navigator||{},i=Dt({user:n,...r&&{userAgent:r},...e}),a=t.getSession();return a?.status===`ok`&&Ot(a,{status:`exited`}),Ba(),t.setSession(i),i}function Ba(){let e=on(),t=P().getSession()||e.getSession();t&&kt(t),Va(),e.setSession()}function Va(){let e=on(),t=F(),n=e.getSession();n&&t&&t.captureSession(n)}function Ha(e=!1){if(e){Ba();return}Va()}function Ua(e){return typeof e==`object`&&typeof e.unref==`function`&&e.unref(),e}function Wa(e){let t=e.protocol?`${e.protocol}:`:``,n=e.port?`:${e.port}`:``;return`${t}//${e.host}${n}${e.path?`/${e.path}`:``}/api/`}function Ga(e){return`${Wa(e)}${e.projectId}/envelope/`}function Ka(e,t){let n={sentry_version:`7`};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}function qa(e,t,n){return t||`${Ga(e)}?${Ka(e,n)}`}var Ja=[];function Ya(e){let t={};
10return e.forEach(e=>{let{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}function Xa(e){let t=e.defaultIntegrations||[],n=e.integrations;t.forEach(e=>{e.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n==`function`){let e=n(t);r=Array.isArray(e)?e:[e]}else r=t;return Ya(r)}function Za(e,t){let n={};return t.forEach(t=>{t?.beforeSetup&&t.beforeSetup(e)}),t.forEach(t=>{t&&$a(e,t,n)}),n}function Qa(e,t){for(let n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function $a(e,t,n){if(n[t.name]){f&&k.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,!Ja.includes(t.name)&&typeof t.setupOnce==`function`&&(t.setupOnce(),Ja.push(t.name)),t.setup&&typeof t.setup==`function`&&t.setup(e),typeof t.preprocessEvent==`function`){let n=t.preprocessEvent.bind(t);e.on(`preprocessEvent`,(t,r)=>n(t,r,e))}if(typeof t.processEvent==`function`){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}[`processSpan`,`processSegmentSpan`].forEach(n=>{let r=t[n];typeof r==`function`&&e.on(n,n=>r.call(t,n,e))}),f&&k.log(`Integration installed: ${t.name}`)}function eo(e){return e}function to(){return typeof __SENTRY_BROWSER_BUNDLE__<`u`&&!!__SENTRY_BROWSER_BUNDLE__}function no(){return`npm`}function ro(){return!to()&&Object.prototype.toString.call(typeof process<`u`?process:0)===`[object process]`}function io(){return typeof window<`u`&&(!ro()||ao())}function ao(){return p.process?.type===`renderer`}function oo(e,t){let n=t?`auto`:`never`;return[{type:`log`,item_count:e.length,content_type:`application/vnd.sentry.items.log+json`},{version:2,...io()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function so(e,t,n,r,i){let a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(a.dsn=Wn(r)),Xr(a,[oo(e,i)])}function co(e,t){let n=t??lo(e)??[];if(n.length===0)return;let r=e.getOptions(),i=so(n,r._metadata,r.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);uo().set(e,[]),e.emit(`flushLogs`),e.sendEnvelope(i)}function lo(e){return uo().get(e)}function uo(){return _(`clientToLogBufferMap`,()=>new WeakMap)}function fo(e,t){let n=t?`auto`:`never`;return[{type:`trace_metric`,item_count:e.length,content_type:`application/vnd.sentry.items.trace-metric+json`},{version:2,...io()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function po(e,t,n,r,i){let a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(a.dsn=Wn(r)),Xr(a,[fo(e,i)])}function mo(e,t){let n=t??ho(e)??[];if(n.length===0)return;let r=e.getOptions(),i=po(n,r._metadata,r.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);go().set(e,[]),e.emit(`flushMetrics`),e.sendEnvelope(i)}function ho(e){return go().get(e)}function go(){return _(`clientToMetricBufferMap`,()=>new WeakMap)}function _o(e){return gr({trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,name:e.description||``,start_timestamp:e.start_timestamp,end_timestamp:e.timestamp||e.start_timestamp,status:!e.status||e.status===`ok`||e.status===`cancelled`?`ok`:`error`,is_segment:!1,attributes:{...e.data},links:e.links})}function vo(e,t){if(e.type!==`transaction`||!e.spans?.length||!e.sdkProcessingMetadata?.hasGenAiSpans||t.getOptions().streamGenAiSpans===!1||yi(t))return;let n=[],r=[];for(let t of e.spans)t.op?.startsWith(`gen_ai.`)?n.push(_o(t)):r.push(t);if(n.length===0)return;e.spans=r;let i=t.getDataCollectionOptions().userInfo?`auto`:`never`;return[{type:`span`,item_count:n.length,content_type:`application/vnd.sentry.items.span.v2+json`},{version:2,...io()&&{ingest_settings:{infer_ip:i,infer_user_agent:i}},items:n}]}var yo=Symbol.for(`SentryBufferFullError`);function bo(e=100){let t=new Set;function n(){return t.size<e}function r(e){t.delete(e)}function i(e){if(!n())return ma(yo);let i=e();return t.add(i),i.then(()=>r(i),()=>r(i)),i}function a(e){if(!t.size)return pa(!0);let n=Promise.allSettled(Array.from(t)).then(()=>!0);if(!e)return n;let r=[n,new Promise(t=>Ua(setTimeout(()=>t(!1),e)))];return Promise.race(r)}return{get $(){return Array.from(t)},add:i,drain:a}}var xo=6e4;function So(e,t=We()){let n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;let r=Date.parse(`${e}`);return isNaN(r)?xo:r-t}function Co(e,t){return e[t]||e.all||0}function wo(e,t,n=We()){return Co(e,t)>n}function To(e,{statusCode:t,headers:n},r=We()){let i={...e},a=n?.[`x-sentry-rate-limits`],o=n?.[`retry-after`];if(a)for(let e of a.trim().split(`,`)){let[t,n,,,a]=e.split(`:`,5),o=parseInt(t,10),s=(isNaN(o)?60:o)*1e3;if(!n)i.all=r+s;else for(let e of n.split(`;`))e===`metric_bucket`?(!a||a.split(`;`).includes(`custom`))&&(i[e]=r+s):i[e]=r+s}else o?i.all=r+So(o,r):t===429&&(i.all=r+6e4);return i}function Eo(e,t,n=bo(e.bufferSize||64)){let r={},i=e=>n.drain(e);function a(i){let a=[];if(Qr(i,(t,n)=>{let i=si(n);wo(r,i)?e.recordDroppedEvent(`ratelimit_backoff`,i):a.push(t)}),a.length===0)return Promise.resolve({});let o=Xr(i[0],a),s=t=>{if($r(o,[`client_report`])){f&&k.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);return}
10Qr(o,(n,r)=>{e.recordDroppedEvent(t,si(r))})};return n.add(()=>t({body:ti(o)}).then(e=>e.statusCode===413?(f&&k.error(`Sentry responded with status code 413. Envelope was discarded due to exceeding size limits.`),s(`send_error`),e):(f&&e.statusCode!==void 0&&(e.statusCode<200||e.statusCode>=300)&&k.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=To(r,e),e),e=>{throw s(`network_error`),f&&k.error(`Encountered error running transport request:`,e),e})).then(e=>e,e=>{if(e===yo)return f&&k.error(`Skipped sending event because buffer is full.`),s(`queue_overflow`),Promise.resolve({});throw e})}return{send:a,flush:i}}function Do(e,t,n){let r=[{type:`client_report`},{timestamp:n||bt(),discarded_events:e}];return Xr(t?{dsn:t}:{},[r])}function Oo(e){let t=[];e.message&&t.push(e.message);try{let n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}function ko(e){let{trace_id:t,parent_span_id:n,span_id:r,status:i,origin:a,data:o,op:s}=e.contexts?.trace??{};return{data:o??{},description:e.transaction,op:s,parent_span_id:n,span_id:r??``,start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:t??``,origin:a,profile_id:o?.[yn],exclusive_time:o?.[bn],measurements:e.measurements,is_segment:!0}}function Ao(e){return{type:`transaction`,timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{"sentry.profile_id":e.profile_id},...e.exclusive_time&&{"sentry.exclusive_time":e.exclusive_time}}}},measurements:e.measurements}}var jo=[`forwarded`,`-ip`,`remote-`,`via`,`-user`];function Mo(e){return e===!0?{userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:[`incomingRequest`,`outgoingRequest`,`incomingResponse`,`outgoingResponse`],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:7}:{userInfo:!1,cookies:{deny:jo},httpHeaders:{request:{deny:jo},response:{deny:jo}},httpBodies:[],urlQueryParams:{deny:jo},graphQL:{document:!0,variables:!0},genAI:{inputs:!1,outputs:!1},databaseQueryData:!1,stackFrameVariables:!0,frameContextLines:7}}var No={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:[`incomingRequest`,`outgoingRequest`,`incomingResponse`,`outgoingResponse`],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:5};function Po(e){return typeof e==`boolean`||`allow`in e||`deny`in e}function Fo(e,t){return e===void 0?{...t.httpHeaders}:Po(e)?{request:e,response:e}:{request:e.request??t.httpHeaders.request,response:e.response??t.httpHeaders.response}}function Io(e){let t=e.dataCollection==null?Mo(e.sendDefaultPii):No,n=e.dataCollection??{};return{userInfo:n.userInfo??t.userInfo,cookies:n.cookies??t.cookies,httpHeaders:Fo(n.httpHeaders,t),httpBodies:n.httpBodies??t.httpBodies,urlQueryParams:n.urlQueryParams??n.queryParams??t.urlQueryParams,graphQL:{document:n.graphQL?.document??t.graphQL.document,variables:n.graphQL?.variables??t.graphQL.variables},genAI:{inputs:n.genAI?.inputs??t.genAI.inputs,outputs:n.genAI?.outputs??t.genAI.outputs},databaseQueryData:n.databaseQueryData??t.databaseQueryData,stackFrameVariables:n.stackFrameVariables??t.stackFrameVariables,frameContextLines:n.frameContextLines??t.frameContextLines}}var Lo=`Not capturing exception because it's already been captured.`,Ro=`Discarded session because of missing or non-string release`,zo=Symbol.for(`SentryInternalError`),Bo=Symbol.for(`SentryDoNotSendEventError`),Vo=5e3;function Ho(e){return{message:e,[zo]:!0}}function Uo(e){return{message:e,[Bo]:!0}}function Wo(e){return Oe(e)&&zo in e}function I(e){return Oe(e)&&Bo in e}function Go(e,t,n,r,i){let a=0,o,s=!1;e.on(n,()=>{a=0,clearTimeout(o),s=!1}),e.on(t,t=>{if(a+=r(t),a>=8e5)i(e);else if(!s){let t=e.getOptions()._flushInterval??Vo;t>0&&(s=!0,o=Ua(setTimeout(()=>{i(e)},t)))}}),e.on(`flush`,()=>{i(e)})}var Ko=class{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=bo(e.transportOptions?.bufferSize??64),this._dataCollection=Io(e),e.dsn?this._dsn=Xn(e.dsn):f&&k.warn(`No DSN provided, client will not send events.`),this._dsn){let t=qa(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs??!0,this._options.enableLogs&&Go(this,`afterCaptureLog`,`flushLogs`,$o,co),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&Go(this,`afterCaptureMetric`,`flushMetrics`,Qo,mo)}captureException(e,t,n){let r=ft();if(_t(e))return f&&k.log(Lo),r;let i={event_id:r,...t};return this._process(()=>this.eventFromException(e,i).then(e=>this._captureEvent(e,i,n)).then(e=>e),`error`),i.event_id}captureMessage(e,t,n,r){let i={event_id:ft(),...n}
10,a=Te(e)?e:String(e),o=Ee(e),s=o?this.eventFromMessage(a,t,i):this.eventFromException(e,i);return this._process(()=>s.then(e=>this._captureEvent(e,i,r)),o?`unknown`:`error`),i.event_id}captureEvent(e,t,n){let r=ft();if(t?.originalException&&_t(t.originalException))return f&&k.log(Lo),r;let i={event_id:r,...t},a=e.sdkProcessingMetadata||{},o=a.capturedSpanScope,s=a.capturedSpanIsolationScope,c=qo(e.type);return this._process(()=>this._captureEvent(e,i,o||n,s),c),i.event_id}captureSession(e){this.sendSession(e),Ot(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let t=this._transport;if(this.emit(`flush`),!t)return!0;let n=await this._isClientDoneProcessing(e),r=await t.flush(e);return n&&r}async close(e){let t=await this.flush(e);return this.getOptions().enabled=!1,this.emit(`close`),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith(`Spotlight`)))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(e){let t=this._integrations[e.name];!t&&e.beforeSetup&&e.beforeSetup(this),$a(this,e,this._integrations),t||Qa(this,[e])}sendEvent(e,t={}){this.emit(`beforeSendEvent`,e,t);let n=vo(e,this),r=fi(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])r=Zr(r,ii(e));n&&(r=Zr(r,n)),this.sendEnvelope(r).then(t=>this.emit(`afterSendEvent`,e,t))}sendSession(e){let{release:t,environment:n=Ur}=this._options;if(`aggregates`in e){let r=e.attrs||{};if(!r.release&&!t){f&&k.warn(Ro);return}r.release=r.release||t,r.environment=r.environment||n,e.attrs=r}else{if(!e.release&&!t){f&&k.warn(Ro);return}e.release=e.release||t,e.environment=e.environment||n}this.emit(`beforeSendSession`,e);let r=di(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){let r=`${e}:${t}`;f&&k.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:``}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){let n=this._hooks[e]=this._hooks[e]||new Set,r=(...e)=>t(...e);return n.add(r),()=>{n.delete(r)}}emit(e,...t){let n=this._hooks[e];n&&n.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit(`beforeEnvelope`,e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return f&&k.error(`Error while sending envelope:`,e),{}}return f&&k.error(`Transport disabled`),{}}registerCleanup(e){}dispose(){}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=Za(this,e),Qa(this,e)}_updateSessionFromEvent(e,t){let n=t.level===`fatal`,r=!1,i=t.exception?.values;if(i){r=!0,n=!1;for(let e of i)if(e.mechanism?.handled===!1){n=!0;break}}let a=e.status===`ok`;(a&&e.errors===0||a&&n)&&(Ot(e,{...n&&{status:`crashed`},errors:e.errors||Number(r||n)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(e,t,n,r){let i=this.getOptions(),a=this.getIntegrationNames();return!t.integrations&&a.length&&(t.integrations=a),this.emit(`preprocessEvent`,e,t),e.type||r.setLastEventId(e.event_id||t.event_id),Ca(i,e,t,n,this,r).then(e=>e===null?e:(this.emit(`postprocessEvent`,e,t),e.contexts={trace:{...e.contexts?.trace,...ln(n)},...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:qr(this,n),...e.sdkProcessingMetadata},e))}_captureEvent(e,t={},n=P(),r=on()){return f&&Xo(e)&&k.log(`Captured error event \`${Oo(e)[0]||`<unknown>`}\``),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{f&&(I(e)?k.log(e.message):Wo(e)?k.warn(e.message):k.warn(e))})}_processEvent(e,t,n,r){let i=this.getOptions(),{sampleRate:a}=i,o=Zo(e),s=Xo(e),c=`before send for type \`${e.type||`error`}\``,l=a===void 0?void 0:Zn(a),u=qo(e.type);return this._prepareEvent(e,t,n,r).then(e=>{if(e===null)throw this.recordDroppedEvent(`event_processor`,u),Uo("An event processor returned `null`, will not send event.");return t.data?.__sentry__===!0?e:Jo(Yo(this,i,e,t),c)}).then(i=>{if(i===null){if(this.recordDroppedEvent(`before_send`,u),o){let t=1+(e.spans||[]).length;this.recordDroppedEvent(`before_send`,`span`,t)}throw Uo(`${c} returned \`null\`, will not send event.`)}
10let d=n.getSession()||r.getSession();if(s&&d&&this._updateSessionFromEvent(d,i),s&&typeof l==`number`&&Ue()>l)throw this.recordDroppedEvent(`sample_rate`,`error`),Uo(`Discarding event because it's not included in the random sample (sampling rate = ${a})`);if(o){let e=(i.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);e>0&&this.recordDroppedEvent(`before_send`,`span`,e)}let f=i.transaction_info;return o&&f&&i.transaction!==e.transaction&&(i.transaction_info={...f,source:`custom`}),this.sendEvent(i,t),i}).then(null,e=>{throw I(e)||Wo(e)?e:(this.captureException(e,{mechanism:{handled:!1,type:`internal`},data:{__sentry__:!0},originalException:e}),Ho(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
11Reason: ${e}`))})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===yo&&this.recordDroppedEvent(`queue_overflow`,t),e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[n,r]=e.split(`:`);return{reason:n,category:r,quantity:t}})}_flushOutcomes(){f&&k.log(`Flushing outcomes...`);let e=this._clearOutcomes();if(e.length===0){f&&k.log(`No outcomes to send`);return}if(!this._dsn){f&&k.log(`No dsn provided, will not send outcomes`);return}f&&k.log(`Sending outcomes:`,e);let t=Do(e,this._options.tunnel&&Wn(this._dsn));this.sendEnvelope(t)}};function qo(e){return e===`replay_event`?`replay`:e||`error`}function Jo(e,t){let n=`${t} must return \`null\` or a valid event.`;if(je(e))return e.then(e=>{if(!De(e)&&e!==null)throw Ho(n);return e},e=>{throw Ho(`${t} rejected with ${e}`)});if(!De(e)&&e!==null)throw Ho(n);return e}function Yo(e,t,n,r){let{beforeSend:i,beforeSendTransaction:a,ignoreSpans:o}=t,s=!Yr(t.beforeSendSpan)&&t.beforeSendSpan,c=n;if(Xo(c)&&i)return i(c,r);if(Zo(c)){if(s||o){let t=ko(c);if(o?.length&&Ir({description:t.description,op:t.op,attributes:t.data},o))return null;if(s){let e=s(t);e?c=jt(n,Ao(e)):jr()}if(c.spans){let t=[],n=c.spans;for(let e of n){if(o?.length&&Ir({description:e.description,op:e.op,attributes:e.data},o)){Rr(n,e);continue}if(s){let n=s(e);n?t.push(n):(jr(),t.push(e))}else t.push(e)}let r=c.spans.length-t.length;r&&e.recordDroppedEvent(`before_send`,`span`,r),c.spans=t}}if(a){if(c.spans){let e=c.spans.length;c.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return a(c,r)}}return c}function Xo(e){return e.type===void 0}function Zo(e){return e.type===`transaction`}function Qo(e){let t=0;return e.name&&(t+=e.name.length*2),t+=8,t+es(e.attributes)}function $o(e){let t=0;return e.message&&(t+=e.message.length*2),t+es(e.attributes)}function es(e){if(!e)return 0;let t=0;return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*ts(e[0]):Ee(e)?t+=ts(e):t+=100}),t}function ts(e){return typeof e==`string`?e.length*2:typeof e==`number`?8:typeof e==`boolean`?4:0}function ns(e,t){t.debug===!0&&(f?k.enable():x(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),P().update(t.initialScope);let n=new e(t);return rs(n),n.init(),n}function rs(e){P().setClient(e)}var is=`thismessage:/`;function as(e){return`isRelative`in e}function os(e,t){let n=e.indexOf(`://`)<=0&&e.indexOf(`//`)!==0,r=t??(n?is:void 0);try{if(`canParse`in URL&&!URL.canParse(e,r))return;let t=new URL(e,r);return n?{isRelative:n,pathname:t.pathname,search:t.search,hash:t.hash}:t}catch{}}function ss(e){if(as(e))return e.pathname;let t=new URL(e);return t.search=``,t.hash=``,[`80`,`443`].includes(t.port)&&(t.port=``),t.password&&=`%filtered%`,t.username&&=`%filtered%`,t.toString()}function cs(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||``,r=t[8]||``;return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function ls(e){return e.split(/[?#]/,1)[0]}function us(e,t=!0){if(e.startsWith(`data:`)){let n=e.match(/^data:([^;,]+)/),r=n?n[1]:`text/plain`,i=e.includes(`;base64,`),a=e.indexOf(`,`),o=``;if(t&&a!==-1){let t=e.slice(a+1);o=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${r}${i?`,base64`:``}${o?`,${o}`:``}`}return e}function ds(e,t){let n=t?.getDsn(),r=t?.getOptions().tunnel;return ps(e,n)||fs(e,r)}function fs(e,t){return t?hs(e)===hs(t):!1}function ps(e,t){let n=os(e);
11return!n||as(n)||!t?!1:ms(n.hostname,t.host)&&/(^|&|\?)sentry_key=/.test(n.search)}function ms(e,t){return e===t||t.length>0&&e.endsWith(`.${t}`)}function hs(e){return e[e.length-1]===`/`?e.slice(0,-1):e}function gs(e){`aggregates`in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:`{{auto}}`}):e.ipAddress===void 0&&(e.ipAddress=`{{auto}}`)}function _s(e,t,n=[t],r=`npm`){let i=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};i.name||(i.name=`sentry.javascript.${t}`,i.packages=n.map(e=>({name:`${r}:@sentry/${e}`,version:m})),i.version=m)}function vs(e={}){let t=e.client||F();if(!La()||!t)return{};let n=$t(h());if(n.getTraceData)return n.getTraceData(e);let r=e.scope||P(),i=e.span||Ar(),a=Hr(i)&&!Pr(t.getOptions());if(!i&&an())return{};let o=i&&!a?sr(i):ys(r),s=Ln(i?Jr(i):qr(t,r));if(!Qn.test(o))return k.warn(`Invalid sentry-trace data. Cannot generate trace data`),{};let c={"sentry-trace":o,baggage:s};return e.propagateTraceparent&&(c.traceparent=i&&!a?cr(i):bs(r)),c}function ys(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return tr(t,r,n)}function bs(e){let{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return nr(t,r,n)}var xs=100;function Ss(e,t){let n=F(),r=on();if(!n)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:a=xs}=n.getOptions();if(a<=0)return;let o={timestamp:bt(),...e},s=i?x(()=>i(o,t)):o;s!==null&&(n.emit&&n.emit(`beforeAddBreadcrumb`,s,t),r.addBreadcrumb(s,a))}var Cs=`FunctionToString`,ws=new WeakMap,Ts=eo((()=>({name:Cs,setupOnce(){let e=Function.prototype.toString;try{Function.prototype.toString=function(...t){let n=Le(this),r;try{ws.has(F())&&n!==void 0&&(r=n)}catch{}return e.apply(r??this,t)}}catch{}},setup(e){ws.set(e,!0)}}))),Es=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/Java exception was raised during method invocation$/,/Java object is gone$/],Ds=`EventFilters`,Os=eo((e={})=>{let t;return{name:Ds,setup(n){t=As(e,n.getOptions())},processEvent(n,r,i){return t||=As(e,i.getOptions()),js(n,t)?null:n}}}),ks=eo(((e={})=>({...Os(e),name:`InboundFilters`})));function As(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:Es],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function js(e,t){if(!e.type){if(Ms(e,t.ignoreErrors))return f&&k.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
12Event: ${mt(e)}`),!0;if(Rs(e))return f&&k.warn(`Event dropped due to not having an error message, error type or stacktrace.
13Event: ${mt(e)}`),!0;if(Ps(e,t.denyUrls))return f&&k.warn(`Event dropped due to being matched by \`denyUrls\` option.
14Event: ${mt(e)}.
15Url: ${Ls(e)}`),!0;if(!Fs(e,t.allowUrls))return f&&k.warn(`Event dropped due to not being matched by \`allowUrls\` option.
16Event: ${mt(e)}.
17Url: ${Ls(e)}`),!0}else if(e.type===`transaction`&&Ns(e,t.ignoreTransactions))return f&&k.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
18Event: ${mt(e)}`),!0;return!1}function Ms(e,t){return t?.length?Oo(e).some(e=>ct(e,t)):!1}function Ns(e,t){if(!t?.length)return!1;let n=e.transaction;return n?ct(n,t):!1}function Ps(e,t){if(!t?.length)return!1;let n=Ls(e);return n?ct(n,t):!1}function Fs(e,t){if(!t?.length)return!0;let n=Ls(e);return!n||ct(n,t)}function Is(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&n.filename!==`<anonymous>`&&n.filename!==`[native code]`)return n.filename||null}return null}function Ls(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length)?.stacktrace?.frames;return t?Is(t):null}catch{return f&&k.error(`Cannot extract url for event ${mt(e)}`),null}}function Rs(e){return e.exception?.values?.length?!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&e.type!==`Error`||e.value):!1}function zs(e,t,n,r,i,a){if(!i.exception?.values||!a||!ye(a.originalException))return;let o=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;o&&(i.exception.values=Bs(e,t,r,a.originalException,n,i.exception.values,o,0))}
18function Bs(e,t,n,r,i,a,o,s){if(a.length>=n+1)return a;let c=[...a];if(ye(r[i])){Hs(o,s,r);let a=e(t,r[i]),l=c.length;Us(a,i,l,s),c=Bs(e,t,n,r[i],i,[a,...c],a,l)}return Vs(r)&&r.errors.forEach((a,l)=>{if(ye(a)){Hs(o,s,r);let u=e(t,a),d=c.length;Us(u,`errors[${l}]`,d,s),c=Bs(e,t,n,a,i,[u,...c],u,d)}}),c}function Vs(e){return Array.isArray(e.errors)}function Hs(e,t,n){e.mechanism={handled:!0,type:`auto.core.linked_errors`,...Vs(n)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function Us(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:`chained`,source:t,exception_id:n,parent_id:r}}function Ws(e){return ye(e)&&`__sentry_fetch_url_host__`in e&&typeof e.__sentry_fetch_url_host__==`string`}function Gs(e){return Ws(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}var Ks=new Set([]);function qs(e){let t=`console`,n=de(t,e);return fe(t,Ys),n}var Js=new Set;function Ys(){`console`in p&&v.forEach(function(e){!Js.has(e)&&e in p.console&&(Js.add(e),Pe(p.console,e,function(t){return b[e]=t,function(...t){let n=t[0],r=b[e],i=Ks.size&&typeof n==`string`&&ct(n,Ks);i||pe(`console`,{args:t,level:e}),(!i||f&&k.isEnabled())&&r?.apply(p.console,t)}}))})}function Xs(e){return e===`warn`?`warning`:[`fatal`,`error`,`warning`,`log`,`info`,`debug`].includes(e)?e:`log`}var Zs=`Dedupe`,Qs=eo((()=>{let e;return{name:Zs,processEvent(t){if(t.type)return t;try{if($s(t,e))return f&&k.warn(`Event dropped due to being a duplicate of previously captured event.`),null}catch{}return e=t}}}));function $s(e,t){return t?!!(ec(e,t)||tc(e,t)):!1}function ec(e,t){let n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!rc(e,t)||!nc(e,t))}function tc(e,t){let n=ic(t),r=ic(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!rc(e,t)||!nc(e,t))}function nc(e,t){let n=ce(e),r=ce(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function rc(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join(``)===r.join(``)}catch{return!1}}function ic(e){return e.exception?.values?.[0]}var ac=`ConversationId`,oc=eo((()=>({name:ac,setup(e){e.on(`spanStart`,e=>{let t=P().getScopeData(),n=on().getScopeData(),r=t.conversationId||n.conversationId;if(r){let{op:t,data:n,description:i}=pr(e);if(!t?.startsWith(`gen_ai.`)&&!n[`ai.operationId`]&&!i?.startsWith(`ai.`))return;e.setAttribute(Sn,r)}})}})));function sc(e,t,n,r,i){if(!e.fetchData)return;let{method:a,url:o}=e.fetchData,s=Pr()&&t(o);if(e.endTimestamp){let t=e.fetchData.__span;if(!t)return;let n=r[t];n&&(s&&(uc(n,e),cc(n,e,i)),delete r[t]);return}let{spanOrigin:c=`auto.http.browser`,propagateTraceparent:l=!1}=typeof i==`object`?i:{spanOrigin:i},u=F(),d=!!Ar(),f=d||!!u&&yi(u),p=s&&f?Oi(mc(o,a,c)):new Vr,m=Bi(p)&&d?void 0:p;if(s&&!f&&u?.recordDroppedEvent(`no_parent_span`,`span`),e.fetchData.__span=p.spanContext().spanId,r[p.spanContext().spanId]=p,n(e.fetchData.url)){let t=e.args[0],n={...e.args[1]||{}},r=lc(t,n,Pr()&&f?m:void 0,l);r&&(e.args[1]=n,n.headers=r)}if(u){let t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};u.emit(`beforeOutgoingRequestSpan`,p,t)}return p}function cc(e,t,n){(typeof n==`object`&&n?n.onRequestSpanEnd:void 0)?.(e,{headers:t.response?.headers,error:t.error})}function lc(e,t,n,r){let i=vs({span:n,propagateTraceparent:r}),a=i[`sentry-trace`],o=i.baggage,s=i.traceparent;if(!a)return;let c=t.headers||(Ne(e)?e.headers:void 0);if(!c)return{"sentry-trace":a,...o&&{baggage:o},...s&&{traceparent:s}};if(fc(c)){let e=new Headers(c);if(e.get(`sentry-trace`)||e.set(`sentry-trace`,a),r&&s&&!e.get(`traceparent`)&&e.set(`traceparent`,s),o){let t=e.get(`baggage`);t?dc(t)||e.set(`baggage`,`${t},${o}`):e.set(`baggage`,o)}return e}if(pc(c)){let e=[...c];e.find(e=>e[0]===`sentry-trace`)||e.push([`sentry-trace`,a]),r&&s&&!e.find(e=>e[0]===`traceparent`)&&e.push([`traceparent`,s]);let t=c.find(e=>e[0]===`baggage`&&typeof e[1]==`string`&&dc(e[1]));return o&&!t&&e.push([`baggage`,o]),e}{let e=`sentry-trace`in c?c[`sentry-trace`]:void 0,t=`traceparent`in c?c.traceparent:void 0,n=`baggage`in c?c.baggage:void 0,i=n?Array.isArray(n)?[...n]:[n]:[],l=n&&(Array.isArray(n)?n.find(e=>dc(e)):dc(n));o&&!l&&i.push(o);let u=Object.assign({},c,{"sentry-trace":e??a,...i.length>0&&{baggage:i.join(`,`)}});return r&&s&&!t&&(u.traceparent=s),u}}function uc(e,t){if(t.response){wn(e,t.response.status);let n=t.response?.headers?.get(`content-length`);if(n){let t=parseInt(n);t>0&&e.setAttribute(`http.response_content_length`,t)}}else t.error&&e.setStatus({code:2,message:`internal_error`});e.end()}function dc(e){return typeof e==`string`&&e.split(`,`).some(e=>e.trim().startsWith(Fn))}function fc(e){return typeof Headers<`u`&&Me(e,Headers)}function pc(e){return Array.isArray(e)?e.every(e=>Array.isArray(e)&&e.length===2&&typeof e[0]==`string`):!1}function mc(e,t,n){if(e.startsWith(`data:`))return{name:`${t} ${us(e)}`,attributes:hc(e,void 0,t,n)};let r=os(e);return{name:`${t} ${r?ss(r):e}`,attributes:hc(e,r,t,n)}}function hc(e,t,n,r){let i={url:us(e),type:`fetch`,"http.method":n,[mn]:r,[pn]:`http.client`};return t&&(as(t)||(i[ia]=us(t.href),i[sa]=us(t.href),i[`server.address`]=t.host),t.search&&(i[`http.query`]=t.search),t.hash&&(i[`http.fragment`]=t.hash)),i}function gc(e){if(e!==void 0){if(e>=400&&e<500)return`warning`;if(e>=500)return`error`}}var _c=p;function vc(){return`history`in _c&&!!_c.history}function yc(){if(!(`fetch`in _c))return!1;
18try{return new Headers,new Request(`data:,`),new Response,!0}catch{return!1}}function bc(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function xc(){if(typeof EdgeRuntime==`string`)return!0;if(!yc())return!1;if(bc(_c.fetch))return!0;let e=!1,t=_c.document;if(t&&typeof t.createElement==`function`)try{let n=t.createElement(`iframe`);n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=bc(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){f&&k.warn(`Could not create sandbox iframe for pure fetch check, bailing to window.fetch: `,e)}return e}function Sc(e,t){let n=`fetch`,r=de(n,e);return fe(n,()=>wc(void 0,t)),r}function Cc(e){let t=`fetch-body-resolved`,n=de(t,e);return fe(t,()=>wc(Ec)),n}function wc(e,t=!1){(!t||xc())&&Pe(p,`fetch`,function(t){return function(...n){let r=Error(),{method:i,url:a}=kc(n),o={args:n,fetchData:{method:i,url:a},startTimestamp:Ct()*1e3,virtualError:r,headers:Ac(n)};return e||pe(`fetch`,{...o}),t.apply(p,n).then(async t=>(e?e(t):pe(`fetch`,{...o,endTimestamp:Ct()*1e3,response:t}),t),e=>{pe(`fetch`,{...o,endTimestamp:Ct()*1e3,error:e}),ye(e)&&e.stack===void 0&&(e.stack=r.stack,Fe(e,`framesToPop`,1));let t=F()?.getOptions().enhanceFetchErrorMessages??`always`;if(t!==!1&&ye(e)&&e.name===`TypeError`&&(e.message===`Failed to fetch`||e.message===`Load failed`||e.message===`NetworkError when attempting to fetch resource.`))try{let n=new URL(o.fetchData.url).host;t===`always`?e.message=`${e.message} (${n})`:Fe(e,`__sentry_fetch_url_host__`,n)}catch{}throw e})}})}async function Tc(e,t){if(e?.body){let n=e.body,r=n.getReader(),i=setTimeout(()=>{n.cancel().then(null,()=>{})},9e4),a=!0;for(;a;){let e;try{e=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);let{done:i}=await r.read();clearTimeout(e),i&&(t(),a=!1)}catch{a=!1}finally{clearTimeout(e)}}clearTimeout(i),r.releaseLock(),n.cancel().then(null,()=>{})}}function Ec(e){let t;try{t=e.clone()}catch{return}Tc(t,()=>{pe(`fetch-body-resolved`,{endTimestamp:Ct()*1e3,response:e})})}function Dc(e,t){return Oe(e)&&!!e[t]}function Oc(e){return typeof e==`string`?e:e?Dc(e,`url`)?e.url:e.toString?e.toString():``:``}function kc(e){if(e.length===0)return{method:`GET`,url:``};if(e.length===2){let[t,n]=e;return{url:Oc(t),method:Dc(n,`method`)?String(n.method).toUpperCase():Ne(t)&&Dc(t,`method`)?String(t.method).toUpperCase():`GET`}}let t=e[0];return{url:Oc(t),method:Dc(t,`method`)?String(t.method).toUpperCase():`GET`}}function Ac(e){let[t,n]=e;try{if(typeof n==`object`&&n&&`headers`in n&&n.headers)return new Headers(n.headers);if(Ne(t))return new Headers(t.headers)}catch{}}var jc=p;function Mc(){try{return jc.document.location.href}catch{return``}}function Nc(e,t=5){if(!jc.HTMLElement)return null;let n=e;for(let e=0;e<t;e++){if(!n)return null;if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null}var Pc=p,Fc=0;function Ic(){return Fc>0}function Lc(){Fc++,setTimeout(()=>{Fc--})}function Rc(e,t={}){function n(e){return typeof e==`function`}if(!n(e))return e;try{if(Object.prototype.hasOwnProperty.call(e,`__sentry_wrapped__`)){let t=e.__sentry_wrapped__;return typeof t==`function`?t:e}if(Le(e))return e}catch{return e}let r=function(...n){p._sentryWrappedDepth=(p._sentryWrappedDepth||0)+1;try{let r=n.map(e=>Rc(e,t));return e.apply(this,r)}catch(e){throw Lc(),cn(r=>{r.addEventProcessor(e=>(t.mechanism&&(ht(e,void 0,void 0),gt(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),Pa(e)}),e}finally{p._sentryWrappedDepth=(p._sentryWrappedDepth||0)-1}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch{}Ie(r,e),Fe(e,`__sentry_wrapped__`,r);try{Object.getOwnPropertyDescriptor(r,`name`).configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function zc(){let e=Mc(),{referrer:t}=Pc.document||{},{userAgent:n}=Pc.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}function Bc(e,t){let n=Uc(e,t),r={type:Jc(t),value:Yc(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===``&&(r.value=`Unrecoverable error caught`),r}function Vc(e,t,n,r){let i=F()?.getOptions().normalizeDepth,a=nl(t),o={__serialized__:Qe(t,i)};if(a)return{exception:{values:[Bc(e,a)]},extra:o};let s={exception:{values:[{type:ke(t)?t.constructor.name:r?`UnhandledRejection`:`Error`,value:el(t,{isUnhandledRejection:r})}]},extra:o};if(n){let t=Uc(e,n);t.length&&(s.exception.values[0].stacktrace={frames:t})}return s}function Hc(e,t){return{exception:{values:[Bc(e,t)]}}}function Uc(e,t){let n=t.stacktrace||t.stack||``,r=Gc(t),i=Kc(t);try{return e(n,r,i)}catch{}return[]}var Wc=/Minified React error #\d+;/i;function Gc(e){return e&&Wc.test(e.message)?1:0}function Kc(e){return typeof e.framesToPop==`number`?e.framesToPop:0}function qc(e){return typeof WebAssembly<`u`&&WebAssembly.Exception!==void 0&&e instanceof WebAssembly.Exception}
18function Jc(e){let t=e?.name;return!t&&qc(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:`WebAssembly.Exception`:t}function Yc(e){let t=e?.message;return qc(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:`wasm exception`:t?t.error&&typeof t.error.message==`string`?Gs(t.error):Gs(e):`No error message`}function Xc(e,t,n,r){let i=Qc(e,t,n?.syntheticException||void 0,r);return gt(i),i.level=`error`,n?.event_id&&(i.event_id=n.event_id),pa(i)}function Zc(e,t,n=`info`,r,i){let a=$c(e,t,r?.syntheticException||void 0,i);return a.level=n,r?.event_id&&(a.event_id=r.event_id),pa(a)}function Qc(e,t,n,r,i){let a;if(xe(t)&&t.error)return Hc(e,t.error);if(Se(t)||Ce(t)){let i=t;if(`stack`in t){a=Hc(e,t);let i=a.exception?.values?.[0];if(r&&n&&i&&!i.stacktrace){let t=Uc(e,n);t.length&&(i.stacktrace={frames:t},gt(a,{synthetic:!0}))}}else{let t=i.name||(Se(i)?`DOMError`:`DOMException`),o=i.message?`${t}: ${i.message}`:t;a=$c(e,o,n,r),ht(a,o)}return`code`in i&&(a.tags={...a.tags,"DOMException.code":`${i.code}`}),a}return ye(t)?Hc(e,t):De(t)||ke(t)?(a=Vc(e,t,n,i),gt(a,{synthetic:!0}),a):(a=$c(e,t,n,r),ht(a,`${t}`,void 0),gt(a,{synthetic:!0}),a)}function $c(e,t,n,r){let i={};if(r&&n){let r=Uc(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),gt(i,{synthetic:!0})}if(Te(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}function el(e,{isUnhandledRejection:t}){let n=Be(e),r=t?`promise rejection`:`exception`;return xe(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:ke(e)?`Event \`${tl(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function tl(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function nl(e){return Object.values(e).find(ye)}var rl=class extends Ko{constructor(e){let t=il(e);_s(t,`browser`,[`browser`],Pc.SENTRY_SDK_SOURCE||no()),super(t);let{userInfo:n}=this.getDataCollectionOptions();t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:n?`auto`:`never`,...t._metadata.sdk.settings});let{sendClientReports:r}=this._options;Pc.document&&Pc.document.addEventListener(`visibilitychange`,()=>{Pc.document.visibilityState===`hidden`&&(r&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}),n&&this.on(`beforeSendSession`,gs)}eventFromException(e,t){return Xc(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t=`info`,n){return Zc(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||`javascript`,super._prepareEvent(e,t,n,r)}};function il(e){return{release:typeof __SENTRY_RELEASE__==`string`?__SENTRY_RELEASE__:Pc.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}var al=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,L=p,ol=(e,t)=>e>t[1]?`poor`:e>t[0]?`needs-improvement`:`good`,sl=(e,t,n,r)=>{let i,a;return o=>{t.value>=0&&(o||r)&&(a=t.value-(i??0),(a||i===void 0)&&(i=t.value,t.delta=a,t.rating=ol(t.value,n),e(t)))}},cl=(e=!0)=>{let t=L.performance?.getEntriesByType?.(`navigation`)[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},ll=()=>cl()?.activationStart??0;function ul(e,t,n){L.document&&L.addEventListener(e,t,n)}function dl(e,t,n){L.document&&L.removeEventListener(e,t,n)}var fl=-1,pl=new Set,ml=()=>L.document?.visibilityState===`hidden`&&!L.document?.prerendering?0:1/0,hl=e=>{if(_l(e)&&fl>-1){if(e.type===`visibilitychange`||e.type===`pagehide`)for(let e of pl)e();isFinite(fl)||(fl=e.type===`visibilitychange`?e.timeStamp:0,dl(`prerenderingchange`,hl,!0))}},gl=()=>{if(L.document&&fl<0){let e=ll();fl=(L.document.prerendering?void 0:globalThis.performance.getEntriesByType(`visibility-state`).filter(t=>t.name===`hidden`&&t.startTime>e)[0]?.startTime)??ml(),ul(`visibilitychange`,hl,!0),ul(`pagehide`,hl,!0),ul(`prerenderingchange`,hl,!0)}return{get firstHiddenTime(){return fl},onHidden(e){pl.add(e)}}};function _l(e){return e.type===`pagehide`||L.document?.visibilityState===`hidden`}var vl=()=>`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+0xe8d4a51000}`,yl=(e,t=-1)=>
18{let n=cl(),r=`navigate`;return n&&(L.document?.prerendering||ll()>0?r=`prerender`:L.document?.wasDiscarded?r=`restore`:n.type&&(r=n.type.replace(/_/g,`-`))),{name:e,value:t,rating:`good`,delta:0,entries:[],id:vl(),navigationType:r}},bl=new WeakMap;function xl(e,t){try{return bl.get(e)||bl.set(e,new t),bl.get(e)}catch{return new t}}var Sl=class{constructor(){this._sessionValue=0,this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;let t=this._sessionEntries[0],n=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}},Cl=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}},wl=e=>{let t=!1;return()=>{t||=(e(),!0)}},Tl=e=>{L.document?.prerendering?addEventListener(`prerenderingchange`,()=>e(),!0):e()},El=[1800,3e3],Dl=(e,t={})=>{Tl(()=>{let n=gl(),r=yl(`FCP`),i,a=Cl(`paint`,e=>{for(let t of e)t.name===`first-contentful-paint`&&(a.disconnect(),t.startTime<n.firstHiddenTime&&(r.value=Math.max(t.startTime-ll(),0),r.entries.push(t),i(!0)))});a&&(i=sl(e,r,El,t.reportAllChanges))})},Ol=[.1,.25],kl=(e,t={})=>{Dl(wl(()=>{let n=yl(`CLS`,0),r,i=gl(),a=xl(t,Sl),o=e=>{for(let t of e)a._processEntry(t);a._sessionValue>n.value&&(n.value=a._sessionValue,n.entries=a._sessionEntries,r())},s=Cl(`layout-shift`,o);s&&(r=sl(e,n,Ol,t.reportAllChanges),i.onHidden(()=>{o(s.takeRecords()),r(!0)}),L?.setTimeout?.(r))}))},Al=0,jl=1/0,Ml=0,Nl=e=>{e.forEach(e=>{e.interactionId&&(jl=Math.min(jl,e.interactionId),Ml=Math.max(Ml,e.interactionId),Al=Ml?(Ml-jl)/7+1:0)})},Pl,Fl=()=>Pl?Al:performance.interactionCount||0,Il=()=>{`interactionCount`in performance||Pl||(Pl=Cl(`event`,Nl,{type:`event`,buffered:!0,durationThreshold:0}))},Ll=10,Rl=0,zl=()=>Fl()-Rl,Bl=class{constructor(){this._longestInteractionList=[],this._longestInteractionMap=new Map}_resetInteractions(){Rl=Fl(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){let e=Math.min(this._longestInteractionList.length-1,Math.floor(zl()/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!(e.interactionId||e.entryType===`first-input`))return;let t=this._longestInteractionList.at(-1),n=this._longestInteractionMap.get(e.interactionId);if(n||this._longestInteractionList.length<Ll||e.duration>t._latency){if(n?e.duration>n._latency?(n.entries=[e],n._latency=e.duration):e.duration===n._latency&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(n.id,n),this._longestInteractionList.push(n)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>Ll){let e=this._longestInteractionList.splice(Ll);for(let t of e)this._longestInteractionMap.delete(t.id)}this._onAfterProcessingINPCandidate?.(n)}}},Vl=e=>{let t=L.requestIdleCallback||L.setTimeout;L.document?.visibilityState===`hidden`?e():(e=wl(e),ul(`visibilitychange`,e,{once:!0,capture:!0}),ul(`pagehide`,e,{once:!0,capture:!0}),t(()=>{e(),dl(`visibilitychange`,e,{capture:!0}),dl(`pagehide`,e,{capture:!0})}))},Hl=[200,500],Ul=40,Wl=(e,t={})=>{if(!(globalThis.PerformanceEventTiming&&`interactionId`in PerformanceEventTiming.prototype))return;let n=gl();Tl(()=>{Il();let r=yl(`INP`),i,a=xl(t,Bl),o=e=>{Vl(()=>{for(let t of e)a._processEntry(t);let t=a._estimateP98LongestInteraction();t&&t._latency!==r.value&&(r.value=t._latency,r.entries=t.entries,i())})},s=Cl(`event`,o,{durationThreshold:t.durationThreshold??Ul});i=sl(e,r,Hl,t.reportAllChanges),s&&(s.observe({type:`first-input`,buffered:!0}),n.onHidden(()=>{o(s.takeRecords()),i(!0)}))})},Gl=class{_processEntry(e){this._onBeforeProcessingEntry?.(e)}},Kl=[2500,4e3],ql=(e,t={})=>{Tl(()=>{let n=gl(),r=yl(`LCP`),i,a=xl(t,Gl),o=e=>{t.reportAllChanges||(e=e.slice(-1));for(let t of e)t&&(a._processEntry(t),t.startTime<n.firstHiddenTime&&(r.value=Math.max(t.startTime-ll(),0),r.entries=[t],i()))},s=Cl(`largest-contentful-paint`,o);if(s){i=sl(e,r,Kl,t.reportAllChanges);let n=wl(()=>{o(s.takeRecords()),s.disconnect(),i(!0)}),a=e=>{e.isTrusted&&(Vl(n),dl(e.type,a,{capture:!0}))};for(let e of[`keydown`,`click`,`visibilitychange`])ul(e,a,{capture:!0})}})},Jl=[800,1800],Yl=e=>{L.document?.prerendering?Tl(()=>Yl(e)):L.document?.readyState===`complete`?setTimeout(e):addEventListener(`load`,()=>Yl(e),!0)},Xl=(e,t={})=>{let n=yl(`TTFB`),r=sl(e,n,Jl,t.reportAllChanges);Yl(()=>{let e=cl();e&&(n.value=Math.max(e.responseStart-ll(),0),n.entries=[e],r(!0))})},Zl={},Ql={},$l,eu,tu,nu;function ru(e,t=!1){return pu(`cls`,e,lu,$l,t)}function iu(e,t=!1){return pu(`lcp`,e,uu,eu,t)}function au(e){return pu(`ttfb`,e,du,tu)}function ou(e){return pu(`inp`,e,fu,nu)}function su(e,t){return hu(e,t),Ql[e]||(mu(e),Ql[e]=!0),gu(e,t)}function cu(e,t){let n=Zl[e];if(n?.length)for(let r of n)try{r(t)}catch(t){al&&k.error(`Error while triggering instrumentation handler.
19Type: ${e}
20Name: ${se(r)}
21Error:`,t)}}function lu(){return kl(e=>{cu(`cls`,{metric:e}),$l=e},{reportAllChanges:!0})}function uu(){return ql(e=>{cu(`lcp`,{metric:e}),eu=e},{reportAllChanges:!0})}function du(){return Xl(e=>{cu(`ttfb`,{metric:e}),tu=e})}function fu(){return Wl(e=>{cu(`inp`,{metric:e}),nu=e})}function pu(e,t,n,r,i=!1){hu(e,t);let a;return Ql[e]||(a=n(),Ql[e]=!0),r&&t({metric:r}),gu(e,t,i?a:void 0)}function mu(e){let t={};e===`event`&&(t.durationThreshold=0),Cl(e,t=>{cu(e,{entries:t})},t)}function hu(e,t){Zl[e]=Zl[e]||[],Zl[e].push(t)}function gu(e,t,n){return()=>{n&&n();let r=Zl[e];if(!r)return;let i=r.indexOf(t);i!==-1&&r.splice(i,1)}}function _u(e){return`duration`in e}var vu=80,yu={};try{typeof Node<`u`&&(yu.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,`parentNode`).get),typeof Element<`u`&&(yu.tagName=Object.getOwnPropertyDescriptor(Element.prototype,`tagName`).get,yu.id=Object.getOwnPropertyDescriptor(Element.prototype,`id`).get,yu.className=Object.getOwnPropertyDescriptor(Element.prototype,`className`).get,yu.getAttribute=Element.prototype.getAttribute),typeof HTMLElement<`u`&&(yu.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,`dataset`).get)}catch{}function bu(e,t,n){let r=yu[t];if(r)try{return r.call(e,n)}catch{}let i=e[t];return typeof i==`function`?i.call(e,n):i}function xu(e,t={}){if(!e)return`<unknown>`;try{let n=e,r=[],i=0,a=0,o,s=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||vu;for(;n&&i++<5&&(o=Su(n,s),!(o===`html`||i>1&&a+r.length*3+o.length>=c));)r.push(o),a+=o.length,n=bu(n,`parentNode`);return r.reverse().join(` > `)}catch{return`<unknown>`}}function Su(e,t){let n=[],r=bu(e,`tagName`);if(!r)return``;if(typeof HTMLElement<`u`&&e instanceof HTMLElement){let t=bu(e,`dataset`);if(t){if(t.sentryComponent)return t.sentryComponent;if(t.sentryElement)return t.sentryElement}}n.push(r.toLowerCase());let i=t?.length?t.filter(t=>bu(e,`getAttribute`,t)).map(t=>[t,bu(e,`getAttribute`,t)]):null;
21if(i?.length)i.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{let t=bu(e,`id`);t&&n.push(`#${t}`);let r=bu(e,`className`);if(r&&we(r)){let e=r.split(/\s+/);for(let t of e)n.push(`.${t}`)}}for(let t of[`aria-label`,`type`,`name`,`title`,`alt`]){let r=bu(e,`getAttribute`,t);r&&n.push(`[${t}="${r}"]`)}return n.join(``)}var Cu=e=>{let t=t=>{(t.type===`pagehide`||L.document?.visibilityState===`hidden`)&&e(t)};ul(`visibilitychange`,t,{capture:!0,once:!0}),ul(`pagehide`,t,{capture:!0,once:!0})};function wu(e){return typeof e==`number`&&isFinite(e)}function Tu(e,t,n,{...r}){let i=pr(e).start_timestamp;return i&&i>t&&typeof e.updateStartTime==`function`&&e.updateStartTime(t),Ai(e,()=>{let e=Oi({startTime:t,...r});return e&&e.end(n),e})}function Eu(e){let t=F();if(!t)return;let{name:n,transaction:r,attributes:i,startTime:a}=e,{release:o,environment:s}=t.getOptions(),{userInfo:c}=t.getDataCollectionOptions(),l=t.getIntegrationByName(`Replay`)?.getReplayId(),u=P(),d=u.getUser(),f=d===void 0?void 0:d.email||d.id||d.ip_address,p;try{p=u.getScopeData().contexts.profile.profile_id}catch{}return Oi({name:n,attributes:{release:o,environment:s,user:f||void 0,profile_id:p||void 0,replay_id:l||void 0,transaction:r,"user_agent.original":L.navigator?.userAgent,"client.address":c?`{{auto}}`:void 0,...i},startTime:a,experimental:{standalone:!0}})}function Du(){return L.addEventListener&&L.performance}function Ou(e){return e/1e3}function ku(e){let t=`unknown`,n=`unknown`,r=``;for(let i of e){if(i===`/`){[t,n]=e.split(`/`);break}if(!isNaN(Number(i))){t=r===`h`?`http`:r,n=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:n}}function Au(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function ju(e,t){let n,r=!1;function i(e){!r&&n&&t(e,n.spanContext().spanId,n),r=!0}Cu(()=>{i(`pagehide`)});let a=e.on(`beforeStartNavigationSpan`,(e,t)=>{t?.isRedirect||(i(`navigation`),a(),o())}),o=e.on(`afterStartPageLoadSpan`,e=>{n=e,o()})}function Mu(e){let t=0,n;if(!Au(`layout-shift`))return;let r=ru(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&(t=e.value,n=r)},!0);ju(e,(e,i)=>{Nu(t,n,i,e),r()})}function Nu(e,t,n,r){al&&k.log(`Sending CLS span (${e})`);let i=t?Ou((Et()||0)+t.startTime):Ct(),a=P().getScopeData().transactionName,o=t?xu(t.sources[0]?.node):`Layout shift`,s={[mn]:`auto.http.browser.cls`,[pn]:`ui.webvital.cls`,[bn]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t?.sources&&t.sources.forEach((e,t)=>{s[`cls.source.${t+1}`]=xu(e.node)});let c=Eu({name:o,transaction:a,attributes:s,startTime:i});c&&(c.addEvent(`cls`,{[gn]:``,[_n]:e}),c.end(i))}function Pu(e){return e!=null&&e>0&&e<=6e4}function Fu(e){let t=0,n;if(!Au(`largest-contentful-paint`))return;let r=iu(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&Pu(e.value)&&(t=e.value,n=r)},!0);ju(e,(e,i)=>{Iu(t,n,i,e),r()})}function Iu(e,t,n,r){if(!Pu(e))return;al&&k.log(`Sending LCP span (${e})`);let i=Ou((Et()||0)+(t?.startTime||0)),a=P().getScopeData().transactionName,o=t?xu(t.element):`Largest contentful paint`,s={[mn]:`auto.http.browser.lcp`,[pn]:`ui.webvital.lcp`,[bn]:0,"sentry.pageload.span_id":n,"sentry.report_event":r};t&&(t.element&&(s[`lcp.element`]=xu(t.element)),t.id&&(s[`lcp.id`]=t.id),t.url&&(s[`lcp.url`]=t.url),t.loadTime!=null&&(s[`lcp.loadTime`]=t.loadTime),t.renderTime!=null&&(s[`lcp.renderTime`]=t.renderTime),t.size!=null&&(s[`lcp.size`]=t.size));let c=Eu({name:o,transaction:a,attributes:s,startTime:i});c&&(c.addEvent(`lcp`,{[gn]:`millisecond`,[_n]:e}),c.end(i))}function Lu(e){return e&&((Et()||performance.timeOrigin)+e)/1e3}function Ru(e){let t={};if(e.nextHopProtocol!=null){let{name:n,version:r}=ku(e.nextHopProtocol);t[`network.protocol.version`]=r,t[`network.protocol.name`]=n}return Et()||Du()?.timeOrigin?zu({...t,"http.request.redirect_start":Lu(e.redirectStart),"http.request.redirect_end":Lu(e.redirectEnd),"http.request.worker_start":Lu(e.workerStart),"http.request.fetch_start":Lu(e.fetchStart),"http.request.domain_lookup_start":Lu(e.domainLookupStart),"http.request.domain_lookup_end":Lu(e.domainLookupEnd),"http.request.connect_start":Lu(e.connectStart),"http.request.secure_connection_start":Lu(e.secureConnectionStart),"http.request.connection_end":Lu(e.connectEnd),"http.request.request_start":Lu(e.requestStart),"http.request.response_start":Lu(e.responseStart),"http.request.response_end":Lu(e.responseEnd),"http.request.time_to_first_byte":e.responseStart==null?void 0:e.responseStart/1e3}):t}function zu(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>e!=null))}var Bu=2147483647,Vu=0,Hu={},Uu,Wu;function Gu({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:n}){let r=Du();
21if(r&&Et()){r.mark&&L.performance.mark(`sentry-tracing-init`);let i=t?Fu(n):t===!1?Xu():void 0,a=e?Mu(n):e===!1?Yu():void 0,o=Zu(),s=Qu();return()=>{o(),s(),i?.(),a?.()}}return()=>void 0}function Ku(){su(`longtask`,({entries:e})=>{let t=Ar();if(!t)return;let{op:n,start_timestamp:r}=pr(t);for(let i of e){let e=Ou(Et()+i.startTime),a=Ou(i.duration);n===`navigation`&&r&&e<r||Tu(t,e,e+a,{name:`Main UI thread blocked`,op:`ui.long-task`,attributes:{[mn]:`auto.ui.browser.metrics`}})}})}function qu(){new PerformanceObserver(e=>{let t=Ar();if(t)for(let n of e.getEntries()){if(!n.scripts[0])continue;let e=Ou(Et()+n.startTime),{start_timestamp:r,op:i}=pr(t);if(i===`navigation`&&r&&e<r)continue;let a=Ou(n.duration),o={[mn]:`auto.ui.browser.metrics`},{invoker:s,invokerType:c,sourceURL:l,sourceFunctionName:u,sourceCharPosition:d}=n.scripts[0];o[`browser.script.invoker`]=s,o[`browser.script.invoker_type`]=c,l&&(o[`code.filepath`]=l),u&&(o[`code.function`]=u),d!==-1&&(o[`browser.script.source_char_position`]=d),Tu(t,e,e+a,{name:`Main UI thread blocked`,op:`ui.long-animation-frame`,attributes:o})}}).observe({type:`long-animation-frame`,buffered:!0})}function Ju(){su(`event`,({entries:e})=>{let t=Ar();if(t){for(let n of e)if(n.name===`click`){let e=Ou(Et()+n.startTime),r=Ou(n.duration),i={name:xu(n.target),op:`ui.interaction.${n.name}`,startTime:e,attributes:{[mn]:`auto.ui.browser.metrics`}},a=Nc(n.target);a&&(i.attributes[`ui.component_name`]=a),Tu(t,e,e+r,i)}}})}function Yu(){return ru(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(Hu.cls={value:e.value,unit:``},Wu=t)},!0)}function Xu(){return iu(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&Pu(e.value)&&(Hu.lcp={value:e.value,unit:`millisecond`},Uu=t)},!0)}function Zu(){return au(({metric:e})=>{e.entries[e.entries.length-1]&&(Hu.ttfb={value:e.value,unit:`millisecond`})})}function Qu(){return su(`paint`,({entries:e})=>{let t=gl();for(let n of e){let e=n.startTime<t.firstHiddenTime;n.name===`first-paint`&&e&&(Hu.fp={value:n.startTime,unit:`millisecond`}),n.name===`first-contentful-paint`&&e&&(Hu.fcp={value:n.startTime,unit:`millisecond`})}})}function $u(e,t){let n=Du(),r=Et();if(!n?.getEntries||!r)return;let{spanStreamingEnabled:i,ignorePerformanceApiSpans:a,ignoreResourceSpans:o}=t,s=Ou(r),c=n.getEntries(),{op:l,start_timestamp:u}=pr(e);c.slice(Vu).forEach(t=>{let n=Ou(t.startTime),r=Ou(Math.max(0,t.duration));if(!(l===`navigation`&&u&&s+n<u))switch(t.entryType){case`navigation`:ad(e,t,s);break;case`mark`:case`paint`:case`measure`:rd(e,t,n,r,s,a);break;case`resource`:ld(e,t,t.name,n,r,s,o)}}),Vu=Math.max(c.length-1,0),ud(e,i)}function ed(e,t){let n=Et();if(!Du()?.getEntries||!n){td();return}let{spanStreamingEnabled:r,recordClsOnPageloadSpan:i,recordLcpOnPageloadSpan:a}=t,o=Ou(n);if(pr(e).op===`pageload`){if(pd(Hu),r){let t=(t,n,r)=>{let i=r??`browser.web_vital.${t}.value`;e.setAttribute(i,n),al&&k.log(`Setting web vital attribute`,{[i]:n},`on pageload span`)};[`ttfb`,`fp`,`fcp`].forEach(e=>{Hu[e]&&t(e,Hu[e].value)}),Hu[`ttfb.requestTime`]&&t(`ttfb.requestTime`,Hu[`ttfb.requestTime`].value,`browser.web_vital.ttfb.request_time`)}else i||delete Hu.cls,a||delete Hu.lcp,Object.entries(Hu).forEach(([t,n])=>{gi(t,n.value,n.unit,e)}),dd(e,t);e.setAttribute(r?`browser.performance.time_origin`:`performance.timeOrigin`,o),e.setAttribute(r?`browser.performance.navigation.activation_start`:`performance.activationStart`,ll())}td()}function td(){Uu=void 0,Wu=void 0,Hu={}}function nd(e){if(e?.entryType===`measure`)try{return e.detail.devtools.track===`Components ⚛`}catch{return}}function rd(e,t,n,r,i,a){if(nd(t)||[`mark`,`measure`].includes(t.entryType)&&ct(t.name,a))return;let o=cl(!1),s=Ou(o?o.requestStart:0),c=i+Math.max(n,s),l=i+n,u=l+r,d={[mn]:`auto.resource.browser.metrics`};c!==l&&(d[`sentry.browser.measure_happened_before_request`]=!0,d[`sentry.browser.measure_start_time`]=c),id(d,t),c<=u&&Tu(e,c,u,{name:t.name,op:t.entryType,attributes:d})}function id(e,t){try{let n=t.detail;if(!n)return;if(typeof n==`object`){for(let[t,r]of Object.entries(n))if(r&&Ee(r))e[`sentry.browser.measure.detail.${t}`]=r;else if(r!==void 0)try{e[`sentry.browser.measure.detail.${t}`]=JSON.stringify(r)}catch{}return}if(Ee(n)){e[`sentry.browser.measure.detail`]=n;return}try{e[`sentry.browser.measure.detail`]=JSON.stringify(n)}catch{}}catch{}}
21function ad(e,t,n){[`unloadEvent`,`redirect`,`domContentLoadedEvent`,`loadEvent`,`connect`].forEach(r=>{od(e,t,r,n)}),od(e,t,`secureConnection`,n,`TLS/SSL`),od(e,t,`fetch`,n,`cache`),od(e,t,`domainLookup`,n,`DNS`),cd(e,t,n)}function od(e,t,n,r,i=n){let a=t[sd(n)],o=t[`${n}Start`];o&&a&&Tu(e,r+Ou(o),r+Ou(a),{op:`browser.${i}`,name:t.name,attributes:{[mn]:`auto.ui.browser.metrics`,...n===`redirect`&&t.redirectCount!=null?{"http.redirect_count":t.redirectCount}:{}}})}function sd(e){return e===`secureConnection`?`connectEnd`:e===`fetch`?`domainLookupStart`:`${e}End`}function cd(e,t,n){let r=n+Ou(t.requestStart),i=n+Ou(t.responseEnd),a=n+Ou(t.responseStart);t.responseEnd&&(Tu(e,r,i,{op:`browser.request`,name:t.name,attributes:{[mn]:`auto.ui.browser.metrics`}}),Tu(e,a,i,{op:`browser.response`,name:t.name,attributes:{[mn]:`auto.ui.browser.metrics`}}))}function ld(e,t,n,r,i,a,o){if(t.initiatorType===`xmlhttprequest`||t.initiatorType===`fetch`)return;let s=t.initiatorType?`resource.${t.initiatorType}`:`resource.other`;if(o?.includes(s))return;let c={[mn]:`auto.resource.browser.metrics`},l=cs(n);l.protocol&&(c[`url.scheme`]=l.protocol.split(`:`).pop()),l.host&&(c[`server.address`]=l.host),c[`url.same_origin`]=n.includes(L.location.origin),c[sa]=n,fd(t,c,[[`responseStatus`,`http.response.status_code`],[`transferSize`,`http.response_transfer_size`],[`encodedBodySize`,`http.response_content_length`],[`decodedBodySize`,`http.decoded_response_content_length`],[`renderBlockingStatus`,`resource.render_blocking_status`],[`deliveryType`,`http.response_delivery_type`]]);let u={...c,...Ru(t)},d=a+r;Tu(e,d,d+i,{name:n.replace(L.location.origin,``),op:s,attributes:u})}function ud(e,t){let n=L.navigator;if(!n)return;let r=n.connection;r&&(r.effectiveType&&e.setAttribute(t?`network.connection.effective_type`:`effectiveConnectionType`,r.effectiveType),r.type&&e.setAttribute(t?`network.connection.type`:`connectionType`,r.type),wu(r.rtt)&&(t?e.setAttribute(`network.connection.rtt`,r.rtt):pr(e).op===`pageload`&&gi(`connection.rtt`,r.rtt,`millisecond`))),wu(n.deviceMemory)&&(t?e.setAttribute(`device.memory.estimated_capacity`,n.deviceMemory):e.setAttribute(`deviceMemory`,`${n.deviceMemory} GB`)),wu(n.hardwareConcurrency)&&(t?e.setAttribute(`device.processor_count`,n.hardwareConcurrency):e.setAttribute(`hardwareConcurrency`,String(n.hardwareConcurrency)))}function dd(e,t){Uu&&t.recordLcpOnPageloadSpan&&(Uu.element&&e.setAttribute(`lcp.element`,xu(Uu.element)),Uu.id&&e.setAttribute(`lcp.id`,Uu.id),Uu.url&&e.setAttribute(`lcp.url`,Uu.url.trim().slice(0,200)),Uu.loadTime!=null&&e.setAttribute(`lcp.loadTime`,Uu.loadTime),Uu.renderTime!=null&&e.setAttribute(`lcp.renderTime`,Uu.renderTime),e.setAttribute(`lcp.size`,Uu.size)),Wu?.sources&&t.recordClsOnPageloadSpan&&Wu.sources.forEach((t,n)=>e.setAttribute(`cls.source.${n+1}`,xu(t.node)))}function fd(e,t,n){n.forEach(([n,r])=>{let i=e[n];i!=null&&(typeof i==`number`&&i<Bu||typeof i==`string`)&&(t[r]=i)})}function pd(e){let t=cl(!1);if(!t)return;let{responseStart:n,requestStart:r}=t;r<=n&&(e[`ttfb.requestTime`]={value:n-r,unit:`millisecond`})}var md=[],hd=new Map,gd=new Map;function _d(){if(Du()&&Et()){let e=yd();return()=>{e()}}return()=>void 0}var vd={click:`click`,pointerdown:`click`,pointerup:`click`,mousedown:`click`,mouseup:`click`,touchstart:`click`,touchend:`click`,mouseover:`hover`,mouseout:`hover`,mouseenter:`hover`,mouseleave:`hover`,pointerover:`hover`,pointerout:`hover`,pointerenter:`hover`,pointerleave:`hover`,dragstart:`drag`,dragend:`drag`,drag:`drag`,dragenter:`drag`,dragleave:`drag`,dragover:`drag`,drop:`drag`,keydown:`press`,keyup:`press`,keypress:`press`,input:`press`};function yd(){return ou(bd)}var bd=({metric:e})=>{if(e.value==null)return;let t=Ou(e.value);if(t>60)return;let n=e.entries.find(t=>t.duration===e.value&&vd[t.name]);if(!n)return;let{interactionId:r}=n,i=vd[n.name],a=Ou(Et()+n.startTime),o=Ar(),s=o?Or(o):void 0,c=r==null?void 0:hd.get(r),l=c?.span||s,u=l?pr(l).description:P().getScopeData().transactionName,d=Eu({name:c?.elementName||xu(n.target),transaction:u,attributes:{[mn]:`auto.http.browser.inp`,[pn]:`ui.interaction.${i}`,[bn]:n.duration},startTime:a});d&&(d.addEvent(`inp`,{[gn]:`millisecond`,[_n]:e.value}),d.end(a+t))};function xd(e){return e==null?void 0:hd.get(e)}function Sd(){let e=Object.keys(vd);
21io()&&e.forEach(e=>{L.addEventListener(e,t,{capture:!0,passive:!0})});function t(e){let t=e.target;if(!t)return;let n=xu(t),r=Math.round(e.timeStamp);if(gd.set(r,n),gd.size>50){let e=gd.keys().next().value;e!==void 0&&gd.delete(e)}}function n(e){let t=Math.round(e.startTime),n=gd.get(t);if(!n)for(let e=-5;e<=5;e++){let r=gd.get(t+e);if(r){n=r;break}}return n||`<unknown>`}let r=({entries:e})=>{let t=Ar(),r=t&&Or(t);e.forEach(e=>{if(!_u(e))return;let t=e.interactionId;if(t==null||hd.has(t))return;let i=e.target?xu(e.target):n(e);if(md.length>10){let e=md.shift();hd.delete(e)}md.push(t),hd.set(t,{span:r,elementName:i})})};su(`event`,r),su(`first-input`,r)}function Cd(e){let{name:t,op:n,origin:r,metricName:i,value:a,attributes:o,parentSpan:s,reportEvent:c,startTime:l,endTime:u}=e,d=P().getScopeData().transactionName,f={[mn]:r,[pn]:n,[bn]:0,[`browser.web_vital.${i}.value`]:a,[oa]:d,[aa]:d,"user_agent.original":L.navigator?.userAgent,...o};s&&mr(s).attributes?.[`sentry.op`]===`pageload`&&(f[`sentry.pageload.span_id`]=s.spanContext().spanId),c&&(f[`browser.web_vital.${i}.report_event`]=c);let p=Oi({name:t,attributes:f,startTime:l,parentSpan:s});p&&p.end(u??l)}function wd(e){let t=0,n;if(!Au(`largest-contentful-paint`))return;let r=iu(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&Pu(e.value)&&(t=e.value,n=r)},!0);ju(e,(e,i,a)=>{Td(t,n,a,e),r()})}function Td(e,t,n,r){if(!Pu(e))return;al&&k.log(`Sending LCP span (${e})`);let i=Et()||0,a=Ou(i),o=Ou(i+(t?.startTime||0)),s=t?xu(t.element):`Largest contentful paint`,c={};t?.element&&(c[`browser.web_vital.lcp.element`]=xu(t.element)),t?.id&&(c[`browser.web_vital.lcp.id`]=t.id),t?.url&&(c[`browser.web_vital.lcp.url`]=t.url),t?.loadTime!=null&&(c[`browser.web_vital.lcp.load_time`]=t.loadTime),t?.renderTime!=null&&(c[`browser.web_vital.lcp.render_time`]=t.renderTime),t?.size!=null&&(c[`browser.web_vital.lcp.size`]=t.size),Cd({name:s,op:`ui.webvital.lcp`,origin:`auto.http.browser.lcp`,metricName:`lcp`,value:e,attributes:c,parentSpan:n,reportEvent:r,startTime:a,endTime:o})}function Ed(e){let t=0,n;if(!Au(`layout-shift`))return;let r=ru(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&(t=e.value,n=r)},!0);ju(e,(e,i,a)=>{Dd(t,n,a,e),r()})}function Dd(e,t,n,r){al&&k.log(`Sending CLS span (${e})`);let i=t?Ou((Et()||0)+t.startTime):Ct(),a=t?xu(t.sources[0]?.node):`Layout shift`,o={};t?.sources&&t.sources.forEach((e,t)=>{o[`browser.web_vital.cls.source.${t+1}`]=xu(e.node)}),Cd({name:a,op:`ui.webvital.cls`,origin:`auto.http.browser.cls`,metricName:`cls`,value:e,attributes:o,parentSpan:n,reportEvent:r,startTime:i})}function Od(){Du()&&Et()&&ou(({metric:e})=>{if(e.value==null||Ou(e.value)>60)return;let t=e.entries.find(t=>t.duration===e.value&&vd[t.name]);t&&kd(e.value,t)})}function kd(e,t){al&&k.log(`Sending INP span (${e})`);let n=Ou(Et()+t.startTime),r=Ou(e),i=vd[t.name],a=xd(t.interactionId),o=Ar(),s=o?Or(o):void 0,c=a?.span||s,l=c?mr(c).name:P().getScopeData().transactionName;Cd({name:a?.elementName||xu(t.target),op:`ui.interaction.${i}`,origin:`auto.http.browser.inp`,metricName:`inp`,value:e,attributes:{[bn]:t.duration,[oa]:l,[aa]:l},startTime:n,endTime:n+r,parentSpan:c})}var Ad=1e3,jd,Md,Nd;function Pd(e){de(`dom`,e),fe(`dom`,Fd)}function Fd(){if(!L.document)return;let e=pe.bind(null,`dom`),t=Rd(e,!0);L.document.addEventListener(`click`,t,!1),L.document.addEventListener(`keypress`,t,!1),[`EventTarget`,`Node`].forEach(t=>{let n=L[t]?.prototype;n?.hasOwnProperty?.(`addEventListener`)&&(Pe(n,`addEventListener`,function(t){return function(n,r,i){if(n===`click`||n==`keypress`)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=r[n]=r[n]||{refCount:0};if(!a.handler){let r=Rd(e);a.handler=r,t.call(this,n,r,i)}a.refCount++}catch{}return t.call(this,n,r,i)}}),Pe(n,`removeEventListener`,function(e){return function(t,n,r){if(t===`click`||t==`keypress`)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),Object.keys(n).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function Id(e){if(e.type!==Md)return!1;try{if(!e.target||e.target._sentryId!==Nd)return!1}catch{}return!0}function Ld(e,t){return e===`keypress`?!t?.tagName||!(t.tagName===`INPUT`||t.tagName===`TEXTAREA`||t.isContentEditable):!1}function Rd(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;let r=zd(n);if(Ld(n.type,r))return;Fe(n,`_sentryCaptured`,!0),r&&!r._sentryId&&Fe(r,`_sentryId`,ft());let i=n.type===`keypress`?`input`:n.type;Id(n)||(e({event:n,name:i,global:t}),Md=n.type,Nd=r?r._sentryId:void 0),clearTimeout(jd),jd=L.setTimeout(()=>{Nd=void 0,Md=void 0},Ad)}}function zd(e){try{return e.target}catch{return null}}var Bd;function Vd(e){let t=`history`;de(t,e),fe(t,Hd)}function Hd(){if(L.addEventListener(`popstate`,()=>{let e=L.location.href,t=Bd;Bd=e,t!==e&&pe(`history`,{from:t,to:e})}),!vc())return;function e(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let r=Bd,i=Ud(String(n));if(Bd=i,r===i)return e.apply(this,t);pe(`history`,{from:r,to:i})}return e.apply(this,t)}}Pe(L.history,`pushState`,e),Pe(L.history,`replaceState`,e)}function Ud(e){try{return new URL(e,L.location.origin).toString()}catch{return e}}var Wd={};function Gd(e){let t=Wd[e];if(t)return t;let n=L[e];if(bc(n))return Wd[e]=n.bind(L);let r=L.document;if(r&&typeof r.createElement==`function`)try{let t=r.createElement(`iframe`);t.hidden=!0,r.head.appendChild(t);let i=t.contentWindow;i?.[e]&&(n=i[e]),r.head.removeChild(t)}catch(t){al&&k.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n&&(Wd[e]=n.bind(L))}function Kd(e){Wd[e]=void 0}function qd(...e){return Gd(`setTimeout`)(...e)}var Jd=`__sentry_xhr_v3__`;function Yd(e){de(`xhr`,e),fe(`xhr`,Xd)}
21function Xd(){if(!L.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),i=Ct()*1e3,a=we(n[0])?n[0].toUpperCase():void 0,o=Zd(n[1]);if(!a||!o)return e.apply(t,n);t[Jd]={method:a,url:o,request_headers:{}},a===`POST`&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let s=()=>{let e=t[Jd];if(e&&t.readyState===4){try{e.status_code=t.status}catch{}pe(`xhr`,{endTimestamp:Ct()*1e3,startTimestamp:i,xhr:t,virtualError:r}),r=void 0,t.removeEventListener(`readystatechange`,s)}};return`onreadystatechange`in t&&typeof t.onreadystatechange==`function`?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply(e,t,n){return s(),e.apply(t,n)}}):t.addEventListener(`readystatechange`,s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,i]=n,a=t[Jd];return a&&we(r)&&we(i)&&(a.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[Jd];return r?(n[0]!==void 0&&(r.body=n[0]),pe(`xhr`,{startTimestamp:Ct()*1e3,xhr:t}),e.apply(t,n)):e.apply(t,n)}})}function Zd(e){if(we(e))return e;try{return e.toString()}catch{}}var Qd=Symbol.for(`sentry__originalRequestBody`);function $d(e){return new URLSearchParams(e).toString()}function ef(e,t=k){try{if(typeof e==`string`)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[$d(e)];if(!e)return[void 0]}catch(n){return al&&t.error(n,`Failed to serialize body`,e),[void 0,`BODY_PARSE_ERROR`]}return al&&t.log(`Skipping network body because of body type`,e),[void 0,`UNPARSEABLE_BODY_TYPE`]}function tf(e=[]){if(e.length>=2&&e[1]&&typeof e[1]==`object`&&`body`in e[1])return e[1].body;if(e.length>=1&&e[0]instanceof Request){let t=e[0][Qd];return t===void 0?void 0:t}}function nf(e){let t;try{t=e.getAllResponseHeaders()}catch(t){return al&&k.error(t,`Failed to get xhr response headers`,e),{}}return t?t.split(`\r
22`).reduce((e,t)=>{let[n,r]=t.split(`: `);return r&&(e[n.toLowerCase()]=r),e},{}):{}}function rf(e){if(typeof Element>`u`)return!1;try{return e instanceof Element}catch{return!1}}var af=40;function of(e,t=Gd(`fetch`)){let n=0,r=0;async function i(i){let a=i.body.length;n+=a,r++;let o={body:i.body,method:`POST`,referrerPolicy:`strict-origin`,headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{let n=await t(e.url,o);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get(`X-Sentry-Rate-Limits`),"retry-after":n.headers.get(`Retry-After`)}}}catch(e){throw Kd(`fetch`),e}finally{n-=a,r--}}return Eo(e,i,bo(e.bufferSize||af))}var sf=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,cf=30,lf=50;function uf(e,t,n,r){let i={filename:e,function:t===`<anonymous>`?`?`:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}var df=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,ff=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,pf=/\((\S*)(?::(\d+))(?::(\d+))\)/,mf=/at (.+?) ?\(data:(.+?),/,hf=[cf,e=>{let t=e.match(mf);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};let n=df.exec(e);if(n){let[,e,t,r]=n;return uf(e,`?`,+t,+r)}let r=ff.exec(e);if(r){if(r[2]?.indexOf(`eval`)===0){let e=pf.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}let[e,t]=yf(r[1]||`?`,r[2]);return uf(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],gf=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,_f=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,vf=j(hf,[lf,e=>{let t=gf.exec(e);if(t){if(t[3]&&t[3].indexOf(` > eval`)>-1){let e=_f.exec(t[3]);e&&(t[1]=t[1]||`eval`,t[3]=e[1],t[4]=e[2],t[5]=``)}let e=t[3],n=t[1]||`?`;return[n,e]=yf(n,e),uf(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),yf=(e,t)=>{let n=e.indexOf(`safari-extension`)!==-1,r=e.indexOf(`safari-web-extension`)!==-1;return n||r?[e.indexOf(`@`)===-1?`?`:e.split(`@`)[0],n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},bf=1024,xf=`Breadcrumbs`,Sf=eo(((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:xf,setup(e){t.console&&qs(Tf(e)),t.dom&&Pd(wf(e,t.dom)),t.xhr&&Yd(Ef(e)),t.fetch&&Sc(Df(e)),t.history&&Vd(Of(e)),t.sentry&&e.on(`beforeSendEvent`,Cf(e))}}}));function Cf(e){return function(t){F()===e&&Ss({category:`sentry.${t.type===`transaction`?`transaction`:`event`}`,event_id:t.event_id,level:t.level,message:mt(t)},{event:t})}}function wf(e,t){return function(n){if(F()!==e)return;let r,i,a=typeof t==`object`?t.serializeAttribute:void 0,o=typeof t==`object`&&typeof t.maxStringLength==`number`?t.maxStringLength:void 0;o&&o>bf&&(sf&&k.warn(`\`dom.maxStringLength\` cannot exceed ${bf}, but a value of ${o} was configured. Sentry will use ${bf} instead.`),o=bf),typeof a==`string`&&(a=[a]);try{let e=n.event,t=kf(e)?e.target:e;r=xu(t,{keyAttrs:a,maxStringLength:o}),i=Nc(t)}catch{r=`<unknown>`}if(r.length===0)return;let s={category:`ui.${n.name}`,message:r};
22i&&(s.data={"ui.component_name":i}),Ss(s,{event:n.event,name:n.name,global:n.global})}}function Tf(e){return function(t){if(F()!==e)return;let n={category:`console`,data:{arguments:t.args,logger:`console`},level:Xs(t.level),message:ot(t.args,` `)};if(t.level===`assert`){if(t.args[0]===!1)n.message=`Assertion failed: ${ot(t.args.slice(1),` `)||`console.assert`}`,n.data.arguments=t.args.slice(1);else return}Ss(n,{input:t.args,level:t.level})}}function Ef(e){return function(t){if(F()!==e)return;let{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[Jd];if(!n||!r||!i)return;let{method:a,url:o,status_code:s,body:c}=i,l={method:a,url:o,status_code:s},u={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r},d={category:`xhr`,data:l,type:`http`,level:gc(s)};e.emit(`beforeOutgoingRequestBreadcrumb`,d,u),Ss(d,u)}}function Df(e){return function(t){if(F()!==e)return;let{startTimestamp:n,endTimestamp:r}=t;if(r&&!(t.fetchData.url.match(/sentry_key/)&&t.fetchData.method===`POST`)){if(t.error){let i={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},a={category:`fetch`,data:t.fetchData,level:`error`,type:`http`};e.emit(`beforeOutgoingRequestBreadcrumb`,a,i),Ss(a,i)}else{let i=t.response,a={...t.fetchData,status_code:i?.status},o={input:t.args,response:i,startTimestamp:n,endTimestamp:r},s={category:`fetch`,data:a,type:`http`,level:gc(a.status_code)};e.emit(`beforeOutgoingRequestBreadcrumb`,s,o),Ss(s,o)}}}}function Of(e){return function(t){if(F()!==e)return;let n=t.from,r=t.to,i=cs(Pc.location.href),a=n?cs(n):void 0,o=cs(r);a?.path||(a=i),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),Ss({category:`navigation`,data:{from:n,to:r}})}}function kf(e){return!!e&&!!e.target}var Af=`EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload`.split(`,`),jf=`BrowserApiErrors`,Mf=eo(((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:jf,setupOnce(){t.setTimeout&&Pe(Pc,`setTimeout`,Nf),t.setInterval&&Pe(Pc,`setInterval`,Nf),t.requestAnimationFrame&&Pe(Pc,`requestAnimationFrame`,Pf),t.XMLHttpRequest&&`XMLHttpRequest`in Pc&&Pe(XMLHttpRequest.prototype,`send`,Ff);let e=t.eventTarget;e&&(Array.isArray(e)?e:Af).forEach(e=>If(e,t))}}}));function Nf(e){return function(...t){let n=t[0];return t[0]=Rc(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${se(e)}`}}),e.apply(this,t)}}function Pf(e){return function(t){return e.apply(this,[Rc(t,{mechanism:{data:{handler:se(e)},handled:!1,type:`auto.browser.browserapierrors.requestAnimationFrame`}})])}}function Ff(e){return function(...t){let n=this;return[`onload`,`onerror`,`onprogress`,`onreadystatechange`].forEach(e=>{e in n&&typeof n[e]==`function`&&Pe(n,e,function(t){let n={mechanism:{data:{handler:se(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=Le(t);return r&&(n.mechanism.data.handler=se(r)),Rc(t,n)})}),e.apply(this,t)}}function If(e,t){let n=Pc[e]?.prototype;n?.hasOwnProperty?.(`addEventListener`)&&(Pe(n,`addEventListener`,function(n){return function(r,i,a){try{Lf(i)&&(i.handleEvent=Rc(i.handleEvent,{mechanism:{data:{handler:se(i),target:e},handled:!1,type:`auto.browser.browserapierrors.handleEvent`}}))}catch{}return t.unregisterOriginalCallbacks&&Rf(this,r,i),n.apply(this,[r,Rc(i,{mechanism:{data:{handler:se(i),target:e},handled:!1,type:`auto.browser.browserapierrors.addEventListener`}}),a])}}),Pe(n,`removeEventListener`,function(e){return function(t,n,r){try{if(Object.prototype.hasOwnProperty.call(n,`__sentry_wrapped__`)){let i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}}catch{}return e.call(this,t,n,r)}}))}function Lf(e){return typeof e.handleEvent==`function`}function Rf(e,t,n){e&&typeof e==`object`&&`removeEventListener`in e&&typeof e.removeEventListener==`function`&&e.removeEventListener(t,n)}var zf=eo((e={})=>{let t=e.lifecycle??`route`;return{name:`BrowserSession`,setupOnce(){if(Pc.document===void 0){sf&&k.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}za({ignoreDuration:!0});let e=!1;Vl(()=>{e||=(Ha(),!0)});let n=on(),r=n.getUser();n.addScopeListener(t=>{let n=t.getUser();(r?.id!==n?.id||r?.ip_address!==n?.ip_address)&&(r=n,e&&Ha())}),t===`route`&&Vd(({from:t,to:n})=>{t!==n&&(za({ignoreDuration:!0}),Ha(),e=!0)})}}}),Bf=`CultureContext`,Vf=eo((()=>({name:Bf,preprocessEvent(e){let t=Hf();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})},processSegmentSpan(e){let t=Hf();t&&la(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}})));function Hf(){try{let e=Pc.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}var Uf=`GlobalHandlers`,Wf=eo(((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:Uf,setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(Gf(e),Xf(`onerror`)),t.onunhandledrejection&&(Kf(e),Xf(`onunhandledrejection`))}}}));function Gf(e){he(t=>{let{stackParser:n,attachStacktrace:r}=Zf();if(F()!==e||Ic())return;let{msg:i,url:a,line:o,column:s,error:c}=t,l=Yf(Qc(n,c||i,void 0,r,!1),a,o,s);l.level=`error`,Fa(l,{originalException:c,mechanism:{handled:!1,type:`auto.browser.global_handlers.onerror`}})})}function Kf(e){ge(t=>{let{stackParser:n,attachStacktrace:r}=Zf();if(F()!==e||Ic())return;let i=qf(t),a=Ee(i)?Jf(i):Qc(n,i,void 0,r,!0);a.level=`error`,Fa(a,{originalException:i,mechanism:{handled:!1,type:`auto.browser.global_handlers.onunhandledrejection`}})})}function qf(e){if(Ee(e))return e;try{if(`reason`in e)return e.reason;if(`detail`in e&&`reason`in e.detail)return e.detail.reason}catch{}return e}function Jf(e){return{exception:{values:[{type:`UnhandledRejection`,value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function Yf(e,t,n,r){let i=e.exception=e.exception||{},a=i.values=i.values||[],o=a[0]=a[0]||{},s=o.stacktrace=o.stacktrace||{},c=s.frames=s.frames||[];
22return c.length===0&&c.push({colno:r,lineno:n,filename:Qf(t)??Mc(),function:`?`,in_app:!0}),e}function Xf(e){sf&&k.log(`Global Handler attached: ${e}`)}function Zf(){return F()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function Qf(e){if(we(e)&&e.length!==0)return e.startsWith(`data:`)?`<${us(e,!1)}>`:e}var $f=eo(()=>({name:`HttpContext`,preprocessEvent(e){if(!Pc.navigator&&!Pc.location&&!Pc.document)return;let t=zc(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}},processSpan(e){if(!Pc.navigator&&!Pc.location&&!Pc.document)return;let t=zc();la(e,{[ca]:t.headers[`User-Agent`],...e.is_segment&&{"url.full":e.attributes?.[`sentry.op`]===`http.client`?void 0:t.url,"http.request.header.referer":t.headers.Referer}})}})),ep=`cause`,tp=5,np=`LinkedErrors`,rp=eo(((e={})=>{let t=e.limit||tp,n=e.key||ep;return{name:np,preprocessEvent(e,r,i){zs(Bc,i.getOptions().stackParser,n,t,e,r)}}})),ip=/^HTML(\w*)Element$/;function ap(e){if(typeof window<`u`&&e===window)return`[Window]`;if(typeof document<`u`&&e===document)return`[Document]`;if(rf(e)){let t=op(e);if(ip.test(t))return`[HTMLElement: ${xu(e)}]`}}function op(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:`null prototype`}function sp(){return cp()?(sf&&x(()=>{console.error(`[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/`)}),!0):!1}function cp(){if(Pc.window===void 0)return!1;let e=Pc;if(e.nw||!(e.chrome||e.browser)?.runtime?.id)return!1;let t=Mc();return!(Pc===Pc.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(t))}function lp(e){return[ks(),Ts(),oc(),Mf(),Sf(),Wf(),rp(),Qs(),$f(),Vf(),zf()]}function up(e={}){let t=!e.skipBrowserExtensionCheck&&sp(),n=e.defaultIntegrations==null?lp():e.defaultIntegrations,r={...e,enabled:!t&&e.enabled,stackParser:re(e.stackParser||vf),integrations:Xa({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||of};return Xe(ap),ns(rl,r)}var dp=p,fp=`sentryReplaySession`,pp=`replay_event`,mp=`Unable to send Replay`,hp=3e5,gp=9e5,_p=5e3,vp=5500,yp=6e4,bp=5e3,xp=3,Sp=15e4,Cp=5e3,wp=3e3,Tp=300,Ep=2e7,Dp=4999,Op=5e4,kp=36e5,Ap=Object.defineProperty,jp=(e,t,n)=>t in e?Ap(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Mp=(e,t,n)=>jp(e,typeof t==`symbol`?t:t+``,n),Np=(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`,e))(Np||{});function Pp(e){return e.nodeType===e.ELEMENT_NODE}function Fp(e){return e?.host?.shadowRoot===e}function Ip(e){return Object.prototype.toString.call(e)===`[object ShadowRoot]`}function Lp(e){return e.includes(` background-clip: text;`)&&!e.includes(` -webkit-background-clip: text;`)&&(e=e.replace(/\sbackground-clip:\s*text;/g,` -webkit-background-clip: text; background-clip: text;`)),e}function Rp(e){let{cssText:t}=e;if(t.split(`"`).length<3)return t;let n=[`@import`,`url(${JSON.stringify(e.href)})`];return e.layerName===``?n.push(`layer`):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(` `)+`;`}function zp(e){try{let t=e.rules||e.cssRules;return t?Lp(Array.from(t,Vp).join(``)):null}catch{return null}}function Bp(e){let t=``;for(let n=0;n<e.style.length;n++){let r=e.style,i=r[n],a=r.getPropertyPriority(i);t+=`${i}:${r.getPropertyValue(i)}${a?` !important`:``};`}return`${e.selectorText} { ${t} }`}function Vp(e){let t;if(Up(e))try{t=zp(e.styleSheet)||Rp(e)}catch{}else if(Wp(e)){let t=e.cssText,n=e.selectorText.includes(`:`),r=typeof e.style.all==`string`&&e.style.all;if(r&&(t=Bp(e)),n&&(t=Hp(t)),n||r)return t}return t||e.cssText}function Hp(e){return e.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,`$1\\$2`)}function Up(e){return`styleSheet`in e}function Wp(e){return`selectorText`in e}var Gp=class{constructor(){Mp(this,`idNodeMap`,new Map),Mp(this,`nodeMetaMap`,new WeakMap)}getId(e){return e?this.getMeta(e)?.id??-1:-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){let t=this.getId(e);
22this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(e=>this.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){let n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){let n=this.getNode(e);if(n){let e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}};function Kp(){return new Gp}function qp({maskInputOptions:e,tagName:t,type:n}){return t===`OPTION`&&(t=`SELECT`),!!(e[t.toLowerCase()]||n&&e[n]||n===`password`||t===`INPUT`&&!n&&e.text)}function Jp({isMasked:e,element:t,value:n,maskInputFn:r}){let i=n||``;return e?(r&&(i=r(i,t)),`*`.repeat(i.length)):i}function Yp(e){return e.toLowerCase()}function Xp(e){return e.toUpperCase()}var Zp=`__rrweb_original__`;function Qp(e){let t=e.getContext(`2d`);if(!t)return!0;for(let n=0;n<e.width;n+=50)for(let r=0;r<e.height;r+=50){let i=t.getImageData,a=Zp in i?i[Zp]:i;if(new Uint32Array(a.call(t,n,r,Math.min(50,e.width-n),Math.min(50,e.height-r)).data.buffer).some(e=>e!==0))return!1}return!0}function $p(e){let t=e.type;return e.hasAttribute(`data-rr-is-password`)?`password`:t?Yp(t):null}function em(e,t,n){return t===`INPUT`&&(n===`radio`||n===`checkbox`)?e.getAttribute(`value`)||``:e.value}function tm(e,t){let n;try{n=new URL(e,t??window.location.href)}catch{return null}return n.pathname.match(/\.([0-9a-z]+)(?:$)/i)?.[1]??null}var nm={};function rm(e){let t=nm[e];if(t)return t;let n=window.document,r=window[e];if(n&&typeof n.createElement==`function`)try{let t=n.createElement(`iframe`);t.hidden=!0,n.head.appendChild(t);let i=t.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(t)}catch{}return nm[e]=r.bind(window)}function im(...e){return rm(`setTimeout`)(...e)}function am(...e){return rm(`clearTimeout`)(...e)}function om(e){try{return e.contentDocument}catch{}}function sm(e){try{return e.contentWindow}catch{}}var cm=1,lm=RegExp(`[^a-z0-9-_:]`),um=-2;function dm(){return cm++}function fm(e){if(e instanceof HTMLFormElement)return`form`;let t=Yp(e.tagName);return lm.test(t)?`div`:t}function pm(e){let t=``;return t=e.indexOf(`//`)>-1?e.split(`/`).slice(0,3).join(`/`):e.split(`/`)[0],t=t.split(`?`)[0],t}var mm,hm,gm=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,_m=/^(?:[a-z+]+:)?\/\//i,vm=/^www\..*/i,ym=/^(data:)([^,]*),(.*)/i;function bm(e,t){if(!e||t.size===0)return e;try{let n=e.split(`;`),r=[];for(let e of n){if(e=e.trim(),!e)continue;let n=e.indexOf(`:`);if(n===-1){r.push(e);continue}let i=e.slice(0,n).trim();t.has(i)||r.push(e)}return r.join(`; `)+(r.length>0&&e.endsWith(`;`)?`;`:``)}catch(t){return console.warn(`Error filtering CSS properties:`,t),e}}function xm(e,t){return(e||``).replace(gm,(e,n,r,i,a,o)=>{let s=r||a||o,c=n||i||``;if(!s)return e;if(_m.test(s)||vm.test(s)||ym.test(s))return`url(${c}${s}${c})`;if(s[0]===`/`)return`url(${c}${pm(t)+s}${c})`;let l=t.split(`/`),u=s.split(`/`);l.pop();for(let e of u)if(e===`.`)continue;else e===`..`?l.pop():l.push(e);return`url(${c}${l.join(`/`)}${c})`})}var Sm=/^[^ \t\n\r\u000c]+/,Cm=/^[, \t\n\r\u000c]+/;function wm(e,t){if(t.trim()===``)return t;let n=0;function r(e){let r,i=e.exec(t.substring(n));return i?(r=i[0],n+=r.length,r):``}let i=[];for(;r(Cm),!(n>=t.length);){let a=r(Sm);if(a.slice(-1)===`,`)a=Em(e,a.substring(0,a.length-1)),i.push(a);else{let r=``;a=Em(e,a);let o=!1;for(;;){let e=t.charAt(n);if(e===``){i.push((a+r).trim());break}if(o)e===`)`&&(o=!1);else{if(e===`,`){n+=1,i.push((a+r).trim());break}e===`(`&&(o=!0)}r+=e,n+=1}}}return i.join(`, `)}var Tm=new WeakMap;function Em(e,t){return!t||t.trim()===``?t:Om(e,t)}function Dm(e){return!!(e.tagName===`svg`||e.ownerSVGElement)}function Om(e,t){let n=Tm.get(e);if(n||(n=e.createElement(`a`),Tm.set(e,n)),!t)t=``;else if(t.startsWith(`blob:`)||t.startsWith(`data:`))return t;return n.setAttribute(`href`,t),n.href}function km(e,t,n,r,i,a,o){if(!r)return r;if(n===`src`||n===`href`&&(t!==`use`||r[0]!==`#`)||n===`xlink:href`&&r[0]!==`#`||n===`background`&&(t===`table`||t===`td`||t===`th`))return Em(e,r);if(n===`srcset`)return wm(e,r);if(n===`style`){let t=xm(r,Om(e));return o&&o.size>0&&(t=bm(t,o)),t}return t===`object`&&n===`data`?Em(e,r):typeof a==`function`?a(n,r,i):r}function Am(e,t,n){return(e===`video`||e===`audio`)&&t===`autoplay`}function jm(e,t,n,r){try{if(r&&e.matches(r))return!1;if(typeof t==`string`){if(e.classList.contains(t))return!0}else for(let n=e.classList.length;n--;){let r=e.classList[n];if(t.test(r))return!0}if(n)return e.matches(n)}catch{}return!1}function Mm(e,t){for(let n=e.classList.length;n--;){let r=e.classList[n];if(t.test(r))return!0}return!1}function Nm(e,t,n=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:Nm(e.parentNode,t,n,r+1)}function Pm(e,t){return n=>{let r=n;if(r===null)return!1;try{if(e){if(typeof e==`string`){if(r.matches(`.${e}`))return!0}else if(Mm(r,e))return!0}return!!(t&&r.matches(t))}catch{return!1}}}function Fm(e,t,n,r,i,a){try{let o=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(o===null)return!1;if(o.tagName===`INPUT`){let e=o.getAttribute(`autocomplete`);if([`current-password`,`new-password`,`cc-number`,`cc-exp`,`cc-exp-month`,`cc-exp-year`,`cc-csc`].includes(e))return!0}let s=-1,c=-1;if(a){if(c=Nm(o,Pm(r,i)),c<0)return!0;s=Nm(o,Pm(t,n),c>=0?c:1/0)}else{if(s=Nm(o,Pm(t,n)),s<0)return!1;c=Nm(o,Pm(r,i),s>=0?s:1/0)}return s>=0?c>=0?s<=c:!0:c>=0?!1:!!a}catch{}return!!a}function Im(e,t,n){let r=sm(e);if(!r)return;let i=!1,a;try{a=r.document.readyState}catch{return}if(a!==`complete`){let r=im(()=>{i||=(t(),!0)},n);e.addEventListener(`load`,()=>{am(r),i=!0,t()});return}let o=`about:blank`;if(r.location.href!==o||e.src===o||e.src===``)return im(t,0),e.addEventListener(`load`,t);e.addEventListener(`load`,t)}function Lm(e,t,n){let r=!1,i;try{i=e.sheet}catch{i=null}if(i)return;let a=im(()=>{r||=(t(),!0)},n);e.addEventListener(`load`,()=>{am(a),r=!0,t()})}function Rm(e,t){let{doc:n,mirror:r,blockClass:i,blockSelector:a,unblockSelector:o,maskAllText:s,maskAttributeFn:c,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:f,inlineStylesheet:p,maskInputOptions:m={}
22,maskTextFn:h,maskInputFn:g,dataURLOptions:_={},inlineImages:v,recordCanvas:y,keepIframeSrcFn:b,newlyAddedElement:x=!1,ignoreCSSAttributes:S}=t,C=zm(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode===`CSS1Compat`?{type:Np.Document,childNodes:[]}:{type:Np.Document,childNodes:[],compatMode:e.compatMode};case e.DOCUMENT_TYPE_NODE:return{type:Np.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:C};case e.ELEMENT_NODE:return Vm(e,{doc:n,blockClass:i,blockSelector:a,unblockSelector:o,inlineStylesheet:p,maskAttributeFn:c,maskInputOptions:m,maskInputFn:g,dataURLOptions:_,inlineImages:v,recordCanvas:y,keepIframeSrcFn:b,newlyAddedElement:x,rootId:C,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:f,ignoreCSSAttributes:S});case e.TEXT_NODE:return Bm(e,{doc:n,maskAllText:s,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:f,maskTextFn:h,maskInputOptions:m,maskInputFn:g,rootId:C});case e.CDATA_SECTION_NODE:return{type:Np.CDATA,textContent:``,rootId:C};case e.COMMENT_NODE:return{type:Np.Comment,textContent:e.textContent||``,rootId:C};default:return!1}}function zm(e,t){if(!t.hasNode(e))return;let n=t.getId(e);return n===1?void 0:n}function Bm(e,t){let{maskAllText:n,maskTextClass:r,unmaskTextClass:i,maskTextSelector:a,unmaskTextSelector:o,maskTextFn:s,maskInputOptions:c,maskInputFn:l,rootId:u}=t,d=e.parentNode&&e.parentNode.tagName,f=e.textContent,p=d===`STYLE`||void 0,m=d===`SCRIPT`||void 0,h=d===`TEXTAREA`||void 0;if(p&&f){try{e.nextSibling||e.previousSibling||e.parentNode.sheet?.cssRules&&(f=zp(e.parentNode.sheet))}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}f=xm(f,Om(t.doc))}m&&(f=`SCRIPT_PLACEHOLDER`);let g=Fm(e,r,a,i,o,n);return!p&&!m&&!h&&f&&g&&(f=s?s(f,e.parentElement):f.replace(/[\S]/g,`*`)),h&&f&&(c.textarea||g)&&(f=l?l(f,e.parentNode):f.replace(/[\S]/g,`*`)),d===`OPTION`&&f&&(f=Jp({isMasked:Fm(e,r,a,i,o,qp({type:null,tagName:d,maskInputOptions:c})),element:e,value:f,maskInputFn:l})),{type:Np.Text,textContent:f||``,isStyle:p,rootId:u}}function Vm(e,t){let{doc:n,blockClass:r,blockSelector:i,unblockSelector:a,inlineStylesheet:o,maskInputOptions:s={},maskAttributeFn:c,maskInputFn:l,dataURLOptions:u={},inlineImages:d,recordCanvas:f,keepIframeSrcFn:p,newlyAddedElement:m=!1,rootId:h,maskTextClass:g,unmaskTextClass:_,maskTextSelector:v,unmaskTextSelector:y,ignoreCSSAttributes:b}=t,x=jm(e,r,i,a),S=fm(e),C={},w=e.attributes.length;for(let t=0;t<w;t++){let r=e.attributes[t];r.name&&!Am(S,r.name,r.value)&&(C[r.name]=km(n,S,Yp(r.name),r.value,e,c,b))}if(S===`link`&&o){let t=Array.from(n.styleSheets).find(t=>t.href===e.href),r=null;t&&(r=zp(t)),r&&(C.rel=null,C.href=null,C.crossorigin=null,C._cssText=xm(r,t.href))}if(S===`style`&&e.sheet&&!(e.innerText||e.textContent||``).trim().length){let t=zp(e.sheet);t&&(C._cssText=xm(t,Om(n)))}if(S===`input`||S===`textarea`||S===`select`||S===`option`){let t=e,n=$p(t),r=em(t,Xp(S),n),i=t.checked;if(n!==`submit`&&n!==`button`&&r){let e=Fm(t,g,v,_,y,qp({type:n,tagName:Xp(S),maskInputOptions:s}));C.value=Jp({isMasked:e,element:t,value:r,maskInputFn:l})}i&&(C.checked=i)}if(S===`option`&&(e.selected&&!s.select?C.selected=!0:delete C.selected),S===`canvas`&&f){if(e.__context===`2d`)Qp(e)||(C.rr_dataURL=e.toDataURL(u.type,u.quality));else if(!(`__context`in e)){let t=e.toDataURL(u.type,u.quality),r=n.createElement(`canvas`);r.width=e.width,r.height=e.height,t!==r.toDataURL(u.type,u.quality)&&(C.rr_dataURL=t)}}if(S===`img`&&d){mm||(mm=n.createElement(`canvas`),hm=mm.getContext(`2d`));let t=e,r=t.currentSrc||t.getAttribute(`src`)||`<unknown-src>`,i=t.crossOrigin,a=()=>{t.removeEventListener(`load`,a);try{mm.width=t.naturalWidth,mm.height=t.naturalHeight,hm.drawImage(t,0,0),C.rr_dataURL=mm.toDataURL(u.type,u.quality)}catch(e){if(t.crossOrigin!==`anonymous`){t.crossOrigin=`anonymous`,t.complete&&t.naturalWidth!==0?a():t.addEventListener(`load`,a);return}console.warn(`Cannot inline img src=${r}! Error: ${e}`)}t.crossOrigin===`anonymous`&&(i?C.crossOrigin=i:t.removeAttribute(`crossorigin`))};
22t.complete&&t.naturalWidth!==0?a():t.addEventListener(`load`,a)}if((S===`audio`||S===`video`)&&(C.rr_mediaState=e.paused?`paused`:`played`,C.rr_mediaCurrentTime=e.currentTime),m||(e.scrollLeft&&(C.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(C.rr_scrollTop=e.scrollTop)),x){let{width:t,height:n}=e.getBoundingClientRect();C={class:C.class,rr_width:`${t}px`,rr_height:`${n}px`}}S===`iframe`&&!p(C.src)&&(!x&&!om(e)&&(C.rr_src=C.src),delete C.src);let T;try{customElements.get(S)&&(T=!0)}catch{}return{type:Np.Element,tagName:S,attributes:C,childNodes:[],isSVG:Dm(e)||void 0,needBlock:x,rootId:h,isCustom:T}}function Hm(e){return e==null?``:e.toLowerCase()}function Um(e,t){return!!(t.comment&&e.type===Np.Comment||e.type===Np.Element&&(t.script&&(e.tagName===`script`||e.tagName===`link`&&(e.attributes.rel===`preload`||e.attributes.rel===`modulepreload`)||e.tagName===`link`&&e.attributes.rel===`prefetch`&&typeof e.attributes.href==`string`&&tm(e.attributes.href)===`js`)||t.headFavicon&&(e.tagName===`link`&&e.attributes.rel===`shortcut icon`||e.tagName===`meta`&&(Hm(e.attributes.name).match(/^msapplication-tile(image|color)$/)||Hm(e.attributes.name)===`application-name`||Hm(e.attributes.rel)===`icon`||Hm(e.attributes.rel)===`apple-touch-icon`||Hm(e.attributes.rel)===`shortcut icon`))||e.tagName===`meta`&&(t.headMetaDescKeywords&&Hm(e.attributes.name).match(/^description|keywords$/)||t.headMetaSocial&&(Hm(e.attributes.property).match(/^(og|twitter|fb):/)||Hm(e.attributes.name).match(/^(og|twitter):/)||Hm(e.attributes.name)===`pinterest`)||t.headMetaRobots&&(Hm(e.attributes.name)===`robots`||Hm(e.attributes.name)===`googlebot`||Hm(e.attributes.name)===`bingbot`)||t.headMetaHttpEquiv&&e.attributes[`http-equiv`]!==void 0||t.headMetaAuthorship&&(Hm(e.attributes.name)===`author`||Hm(e.attributes.name)===`generator`||Hm(e.attributes.name)===`framework`||Hm(e.attributes.name)===`publisher`||Hm(e.attributes.name)===`progid`||Hm(e.attributes.property).match(/^article:/)||Hm(e.attributes.property).match(/^product:/))||t.headMetaVerification&&(Hm(e.attributes.name)===`google-site-verification`||Hm(e.attributes.name)===`yandex-verification`||Hm(e.attributes.name)===`csrf-token`||Hm(e.attributes.name)===`p:domain_verify`||Hm(e.attributes.name)===`verify-v1`||Hm(e.attributes.name)===`verification`||Hm(e.attributes.name)===`shopify-checkout-api-token`))))}function Wm(e,t){let{doc:n,mirror:r,blockClass:i,blockSelector:a,unblockSelector:o,maskAllText:s,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:f=!1,inlineStylesheet:p=!0,maskInputOptions:m={},maskAttributeFn:h,maskTextFn:g,maskInputFn:_,slimDOMOptions:v,dataURLOptions:y={},inlineImages:b=!1,recordCanvas:x=!1,onSerialize:S,onIframeLoad:C,iframeLoadTimeout:w=5e3,onBlockedImageLoad:T,onStylesheetLoad:E,stylesheetLoadTimeout:D=5e3,keepIframeSrcFn:O=()=>!1,newlyAddedElement:ee=!1,ignoreCSSAttributes:k}=t,{preserveWhiteSpace:te=!0}=t,A=Rm(e,{doc:n,mirror:r,blockClass:i,blockSelector:a,maskAllText:s,unblockSelector:o,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,inlineStylesheet:p,maskInputOptions:m,maskAttributeFn:h,maskTextFn:g,maskInputFn:_,dataURLOptions:y,inlineImages:b,recordCanvas:x,keepIframeSrcFn:O,newlyAddedElement:ee,ignoreCSSAttributes:k});if(!A)return console.warn(e,`not serialized`),null;let ne;ne=r.hasNode(e)?r.getId(e):Um(A,v)||!te&&A.type===Np.Text&&!A.isStyle&&!A.textContent.trim().length?um:dm();let j=Object.assign(A,{id:ne});if(r.add(e,j),ne===um)return null;S&&S(e);let re=!f;if(j.type===Np.Element){re&&=!j.needBlock;let t=e.shadowRoot;t&&Ip(t)&&(j.isShadowHost=!0)}if((j.type===Np.Document||j.type===Np.Element)&&re){v.headWhitespace&&j.type===Np.Element&&j.tagName===`head`&&(te=!1);let t={doc:n,mirror:r,blockClass:i,blockSelector:a,maskAllText:s,unblockSelector:o,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:f,inlineStylesheet:p,maskInputOptions:m,maskAttributeFn:h,maskTextFn:g,maskInputFn:_,slimDOMOptions:v,dataURLOptions:y,inlineImages:b,recordCanvas:x,preserveWhiteSpace:te,onSerialize:S,onIframeLoad:C,iframeLoadTimeout:w,onBlockedImageLoad:T,onStylesheetLoad:E,stylesheetLoadTimeout:D,keepIframeSrcFn:O,ignoreCSSAttributes:k},ee=e.childNodes?Array.from(e.childNodes):[];for(let e of ee){let n=Wm(e,t);n&&j.childNodes.push(n)}if(Pp(e)&&e.shadowRoot)for(let n of Array.from(e.shadowRoot.childNodes)){let r=Wm(n,t);r&&(Ip(e.shadowRoot)&&(r.isShadow=!0),j.childNodes.push(r))}}if(e.parentNode&&Fp(e.parentNode)&&Ip(e.parentNode)&&(j.isShadow=!0),j.type===Np.Element&&j.tagName===`iframe`&&!j.needBlock&&Im(e,()=>
22{let t=om(e);if(t&&C){let n=Wm(t,{doc:t,mirror:r,blockClass:i,blockSelector:a,unblockSelector:o,maskAllText:s,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:p,maskInputOptions:m,maskAttributeFn:h,maskTextFn:g,maskInputFn:_,slimDOMOptions:v,dataURLOptions:y,inlineImages:b,recordCanvas:x,preserveWhiteSpace:te,onSerialize:S,onIframeLoad:C,iframeLoadTimeout:w,onStylesheetLoad:E,stylesheetLoadTimeout:D,keepIframeSrcFn:O,ignoreCSSAttributes:k});n&&C(e,n)}},w),j.type===Np.Element&&j.tagName===`img`&&!e.complete&&j.needBlock){let t=e,n=()=>{if(t.isConnected&&!t.complete&&T)try{let e=t.getBoundingClientRect();e.width>0&&e.height>0&&T(t,j,e)}catch{}t.removeEventListener(`load`,n)};t.isConnected&&t.addEventListener(`load`,n)}return j.type===Np.Element&&j.tagName===`link`&&typeof j.attributes.rel==`string`&&(j.attributes.rel===`stylesheet`||j.attributes.rel===`preload`&&typeof j.attributes.href==`string`&&tm(j.attributes.href)===`css`)&&Lm(e,()=>{if(E){let t=Wm(e,{doc:n,mirror:r,blockClass:i,blockSelector:a,unblockSelector:o,maskAllText:s,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:p,maskInputOptions:m,maskAttributeFn:h,maskTextFn:g,maskInputFn:_,slimDOMOptions:v,dataURLOptions:y,inlineImages:b,recordCanvas:x,preserveWhiteSpace:te,onSerialize:S,onIframeLoad:C,iframeLoadTimeout:w,onStylesheetLoad:E,stylesheetLoadTimeout:D,keepIframeSrcFn:O,ignoreCSSAttributes:k});t&&E(e,t)}},D),j.type===Np.Element&&delete j.needBlock,j}function Gm(e,t){let{mirror:n=new Gp,blockClass:r=`rr-block`,blockSelector:i=null,unblockSelector:a=null,maskAllText:o=!1,maskTextClass:s=`rr-mask`,unmaskTextClass:c=null,maskTextSelector:l=null,unmaskTextSelector:u=null,inlineStylesheet:d=!0,inlineImages:f=!1,recordCanvas:p=!1,maskAllInputs:m=!1,maskAttributeFn:h,maskTextFn:g,maskInputFn:_,slimDOM:v=!1,dataURLOptions:y,preserveWhiteSpace:b,onSerialize:x,onIframeLoad:S,iframeLoadTimeout:C,onBlockedImageLoad:w,onStylesheetLoad:T,stylesheetLoadTimeout:E,keepIframeSrcFn:D=()=>!1,ignoreCSSAttributes:O=new Set([])}=t||{};return Wm(e,{doc:e,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,maskAllText:o,maskTextClass:s,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:d,maskInputOptions:m===!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}:m===!1?{}:m,maskAttributeFn:h,maskTextFn:g,maskInputFn:_,slimDOMOptions:v===!0||v===`all`?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:v===`all`,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:v===!1?{}:v,dataURLOptions:y,inlineImages:f,recordCanvas:p,preserveWhiteSpace:b,onSerialize:x,onIframeLoad:S,iframeLoadTimeout:C,onBlockedImageLoad:w,onStylesheetLoad:T,stylesheetLoadTimeout:E,keepIframeSrcFn:D,newlyAddedElement:!1,ignoreCSSAttributes:O})}function Km(e,t,n=document){let r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}var qm=`Please stop import mirror directly. Instead of that,\r
23now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
24or you can use record.mirror to access the mirror instance during recording.`,Jm={map:{},getId(){return console.error(qm),-1},getNode(){return console.error(qm),null},removeNodeFromMap(){console.error(qm)},has(){return console.error(qm),!1},reset(){console.error(qm)}};typeof window<`u`&&window.Proxy&&window.Reflect&&(Jm=new Proxy(Jm,{get(e,t,n){return t===`map`&&console.error(qm),Reflect.get(e,t,n)}}));function Ym(e,t,n={}){let r=null,i=0;return function(...a){let o=Date.now();!i&&n.leading===!1&&(i=o);let s=t-(o-i),c=this;s<=0||s>t?(r&&=(xh(r),null),i=o,e.apply(c,a)):!r&&n.trailing!==!1&&(r=bh(()=>{i=n.leading===!1?0:Date.now(),r=null,e.apply(c,a)},s))}}function Xm(e,t,n,r,i=window){let a=i.Object.getOwnPropertyDescriptor(e,t);return i.Object.defineProperty(e,t,r?n:{set(e){bh(()=>{n.set.call(this,e)},0),a&&a.set&&a.set.call(this,e)}}),()=>Xm(e,t,a||{},!0)}function Zm(e,t,n){try{if(!(t in e))return()=>{};let r=e[t],i=n(r);return typeof i==`function`&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,()=>{e[t]=r}}catch{return()=>{}}}var Qm=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(Qm=()=>new Date().getTime());function $m(e){let t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:e.pageXOffset===void 0?t?.documentElement.scrollLeft||t?.body?.parentElement?.scrollLeft||t?.body?.scrollLeft||0:e.pageXOffset,top:t.scrollingElement?t.scrollingElement.scrollTop:e.pageYOffset===void 0?t?.documentElement.scrollTop||t?.body?.parentElement?.scrollTop||t?.body?.scrollTop||0:e.pageYOffset}}function eh(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function th(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function nh(e){if(!e)return null;
24try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}function rh(e,t,n,r,i){if(!e)return!1;let a=nh(e);if(!a)return!1;let o=Pm(t,n);if(!i){let e=r&&a.matches(r);return o(a)&&!e}let s=Nm(a,o),c=-1;return s<0?!1:(r&&(c=Nm(a,Pm(null,r))),s>-1&&c<0||s<c)}function ih(e,t){return t.getId(e)!==-1}function ah(e,t){return t.getId(e)===um}function oh(e,t){if(Fp(e))return!1;let n=t.getId(e);return t.has(n)?e.parentNode&&e.parentNode.nodeType===e.DOCUMENT_NODE?!1:!e.parentNode||oh(e.parentNode,t):!0}function sh(e){return!!e.changedTouches}function ch(e=window){`NodeList`in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),`DOMTokenList`in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw TypeError(`1 argument is required`);do if(this===t)return!0;while(t&&=t.parentNode);return!1})}function lh(e,t){return!!(e.nodeName===`IFRAME`&&t.getMeta(e))}function uh(e,t){return!!(e.nodeName===`LINK`&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute(`rel`)===`stylesheet`&&t.getMeta(e))}function dh(e){return!!e?.shadowRoot}var fh=class{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return this.styleIDMap.get(e)??-1}has(e){return this.styleIDMap.has(e)}add(e,t){if(this.has(e))return this.getId(e);let n;return n=t===void 0?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}};function ph(e){let t=null;return e.getRootNode?.()?.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function mh(e){let t=e,n;for(;n=ph(t);)t=n;return t}function hh(e){let t=e.ownerDocument;if(!t)return!1;let n=mh(e);return t.contains(n)}function gh(e){let t=e.ownerDocument;return t?t.contains(e)||hh(e):!1}var _h={};function vh(e){let t=_h[e];if(t)return t;let n=window.document,r=window[e];if(n&&typeof n.createElement==`function`)try{let t=n.createElement(`iframe`);t.hidden=!0,n.head.appendChild(t);let i=t.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(t)}catch{}return _h[e]=r.bind(window)}function yh(...e){return vh(`requestAnimationFrame`)(...e)}function bh(...e){return vh(`setTimeout`)(...e)}function xh(...e){return vh(`clearTimeout`)(...e)}var Sh=(e=>(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))(Sh||{}),R=(e=>(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))(R||{}),Ch=(e=>(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))(Ch||{}),wh=(e=>(e[e.Mouse=0]=`Mouse`,e[e.Pen=1]=`Pen`,e[e.Touch=2]=`Touch`,e))(wh||{}),Th=(e=>(e[e.Play=0]=`Play`,e[e.Pause=1]=`Pause`,e[e.Seeked=2]=`Seeked`,e[e.VolumeChange=3]=`VolumeChange`,e[e.RateChange=4]=`RateChange`,e))(Th||{}),Eh;function Dh(e){Eh=e}function Oh(){Eh=void 0}for(var kh=e=>Eh?((...t)=>{try{return e(...t)}catch(e){if(Eh&&Eh(e)===!0)return()=>{};throw e}}):e,Ah=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,jh=typeof Uint8Array>`u`?[]:new Uint8Array(256),Mh=0;Mh<Ah.length;Mh++)jh[Ah.charCodeAt(Mh)]=Mh;var Nh=class{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}};function Ph(e){try{return e.contentDocument}catch{}}function Fh(e){try{return e.contentWindow}catch{}}var Ih=class{constructor(e){this.doc=e,this.unattachedDoc=null}parse(e){return this.parseWithConstructableStylesheet(e)||this.parseWithDetachedElement(e)}parseWithConstructableStylesheet(e){if(typeof CSSStyleSheet>`u`||typeof CSSStyleSheet.prototype.replaceSync!=`function`)return null;try{let t=new CSSStyleSheet;t.replaceSync(`x { ${e} }`);let n=t.cssRules[0];
24return!n||n.type!==CSSRule.STYLE_RULE?null:n.style}catch{return null}}parseWithDetachedElement(e){let t=this.getUnattachedDoc().createElement(`span`);return t.setAttribute(`style`,e),t.style}getUnattachedDoc(){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}return this.unattachedDoc}};function Lh(e){return`__ln`in e}var Rh=class{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw Error(`Position outside of list range`);let t=this.head;for(let n=0;n<e;n++)t=t?.next||null;return t}addNode(e){let t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&Lh(e.previousSibling)){let n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&(n.previous=t)}else if(e.nextSibling&&Lh(e.nextSibling)&&e.nextSibling.__ln.previous){let n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;t.next===null&&(this.tail=t),this.length++}removeNode(e){let t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}},zh=(e,t)=>`${e}@${t}`,Bh=class{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;let e=[],t=new Set,n=new Rh,r=e=>{let t=e,n=um;for(;n===um;)t&&=t.nextSibling,n=t&&this.mirror.getId(t);return n},i=i=>{if(!i.parentNode||!gh(i))return;let a=Fp(i.parentNode)?this.mirror.getId(ph(i)):this.mirror.getId(i.parentNode),o=r(i);if(a===-1||o===-1)return n.addNode(i);let s=Wm(i,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{lh(e,this.mirror)&&!rh(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(e),uh(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),dh(i)&&this.shadowDomManager.addShadowRoot(i.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{if(rh(e,this.blockClass,this.blockSelector,this.unblockSelector,!1))return;this.iframeManager.attachIframe(e,t);let n=Fh(e);n&&this.canvasManager.addWindow(n),this.shadowDomManager.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:n,height:r})=>{this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${n}px`,height:`${r}px`}}}]})},ignoreCSSAttributes:this.ignoreCSSAttributes});s&&(e.push({parentId:a,nextId:o,node:s}),t.add(s.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let e of this.movedSet)(!Hh(this.removes,e,this.mirror)||this.movedSet.has(e.parentNode))&&i(e);for(let e of this.addedSet)!Wh(this.droppedSet,e)&&!Hh(this.removes,e,this.mirror)||Wh(this.movedSet,e)?i(e):this.droppedSet.add(e);let a=null;for(;n.length;){let e=null;if(a){let t=this.mirror.getId(a.value.parentNode),n=r(a.value);t!==-1&&n!==-1&&(e=a)}if(!e){let t=n.tail;for(;t;){let n=t;if(t=t.previous,n){let t=this.mirror.getId(n.value.parentNode);if(r(n.value)===-1)continue;if(t!==-1){e=n;break}{let t=n.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let r=t.parentNode.host;if(this.mirror.getId(r)!==-1){e=n;break}}}}}}if(!e){for(;n.head;)n.removeNode(n.head.value);break}a=e.previous,n.removeNode(e.value),i(e.value)}let o={texts:this.texts.map(e=>
24({id:this.mirror.getId(e.node),value:e.value})).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),attributes:this.attributes.map(e=>{let{attributes:t}=e;if(typeof t.style==`string`){let n=JSON.stringify(e.styleDiff),r=JSON.stringify(e._unchangedStyles);n.length<t.style.length&&(n+r).split(`var(`).length===t.style.split(`var(`).length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}}).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),removes:this.removes,adds:e};(o.texts.length||o.attributes.length||o.removes.length||o.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(o))},this.processMutation=e=>{if(!ah(e.target,this.mirror))switch(e.type){case`characterData`:{let t=e.target.textContent;!rh(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&t!==e.oldValue&&this.texts.push({value:Fm(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t,nh(e.target)):t.replace(/[\S]/g,`*`):t,node:e.target});break}case`attributes`:{let t=e.target,n=e.attributeName,r=e.target.getAttribute(n);if(n===`value`){let n=$p(t),i=t.tagName;r=em(t,i,n);let a=qp({maskInputOptions:this.maskInputOptions,tagName:i,type:n});r=Jp({isMasked:Fm(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,a),element:t,value:r,maskInputFn:this.maskInputFn})}if(rh(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||r===e.oldValue)return;let i=this.attributeMap.get(e.target);if(t.tagName===`IFRAME`&&n===`src`&&!this.keepIframeSrcFn(r)){if(!Ph(t))n=`rr_src`;else return}if(i||(i={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}}
24,this.attributes.push(i),this.attributeMap.set(e.target,i)),n===`type`&&t.tagName===`INPUT`&&(e.oldValue||``).toLowerCase()===`password`&&t.setAttribute(`data-rr-is-password`,`true`),!Am(t.tagName,n)&&(i.attributes[n]=km(this.doc,Yp(t.tagName),Yp(n),r,t,this.maskAttributeFn),n===`style`)){let n=e.oldValue?this.styleDeclarationParser.parse(e.oldValue):null;for(let e of Array.from(t.style)){let r=t.style.getPropertyValue(e),a=t.style.getPropertyPriority(e);r!==(n?.getPropertyValue(e)||``)||a!==(n?.getPropertyPriority(e)||``)?a===``?i.styleDiff[e]=r:i.styleDiff[e]=[r,a]:i._unchangedStyles[e]=[r,a]}if(n)for(let e of Array.from(n))t.style.getPropertyValue(e)===``&&(i.styleDiff[e]=!1)}break}case`childList`:if(rh(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(t=>this.genAdds(t,e.target)),e.removedNodes.forEach(t=>{let n=this.mirror.getId(t),r=Fp(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);rh(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||ah(t,this.mirror)||!ih(t,this.mirror)||(this.addedSet.has(t)?(Vh(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&n===-1||oh(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[zh(n,r)]?Vh(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:Fp(e.target)&&Ip(e.target)?!0:void 0})),this.mapRemoves.push(t))})}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!(this.addedSet.has(e)||this.movedSet.has(e))){if(this.mirror.hasNode(e)){if(ah(e,this.mirror))return;this.movedSet.add(e);let n=null;t&&this.mirror.hasNode(t)&&(n=this.mirror.getId(t)),n&&n!==-1&&(this.movedMap[zh(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);rh(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(e.childNodes&&e.childNodes.forEach(e=>this.genAdds(e)),dh(e)&&e.shadowRoot.childNodes.forEach(t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)}))}}}init(e){`mutationCb.blockClass.blockSelector.unblockSelector.maskAllText.maskTextClass.unmaskTextClass.maskTextSelector.unmaskTextSelector.inlineStylesheet.maskInputOptions.maskAttributeFn.maskTextFn.maskInputFn.keepIframeSrcFn.recordCanvas.inlineImages.slimDOMOptions.dataURLOptions.doc.mirror.iframeManager.stylesheetManager.shadowDomManager.canvasManager.processedNodeManager.ignoreCSSAttributes`.split(`.`).forEach(t=>{this[t]=e[t]}),this.styleDeclarationParser=new Ih(this.doc)}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 Vh(e,t){e.delete(t),t.childNodes?.forEach(t=>Vh(e,t))}function Hh(e,t,n){return e.length!==0&&Uh(e,t,n)}function Uh(e,t,n){let r=t.parentNode;for(;r;){let t=n.getId(r);if(e.some(e=>e.id===t))return!0;r=r.parentNode}return!1}function Wh(e,t){return e.size!==0&&Gh(e,t)}function Gh(e,t){let{parentNode:n}=t;return n?e.has(n)?!0:Gh(e,n):!1}var Kh=[];function qh(e){try{if(`composedPath`in e){let t=e.composedPath();if(t.length)return t[0]}else if(`path`in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function Jh(e,t){let n=new Bh;Kh.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver,i=window?.Zone?.__symbol__?.(`MutationObserver`);i&&window[i]&&(r=window[i]);let a=new r(kh(t=>{e.onMutation&&e.onMutation(t)===!1||n.processMutations.bind(n)(t)}));return a.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),a}function Yh({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(t.mousemove===!1)return()=>{};let i=typeof t.mousemove==`number`?t.mousemove:50,a=typeof t.mousemoveCallback==`number`?t.mousemoveCallback:500,o=[],s,c=Ym(kh(t=>{let n=Date.now()-s;e(o.map(e=>(e.timeOffset-=n,e)),t),o=[],s=null}),a),l=kh(Ym(kh(e=>{let t=qh(e),{clientX:n,clientY:i}=sh(e)?e.changedTouches[0]:e;s||=Qm(),o.push({x:n,y:i,id:r.getId(t),timeOffset:Qm()-s}
24),c(typeof DragEvent<`u`&&e instanceof DragEvent?R.Drag:e instanceof MouseEvent?R.MouseMove:R.TouchMove)}),i,{trailing:!1})),u=[Km(`mousemove`,l,n),Km(`touchmove`,l,n),Km(`drag`,l,n)];return kh(()=>{u.forEach(e=>e())})}function Xh({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,sampling:o}){if(o.mouseInteraction===!1)return()=>{};let s=o.mouseInteraction===!0||o.mouseInteraction===void 0?{}:o.mouseInteraction,c=[],l=null,u=t=>o=>{let s=qh(o);if(rh(s,r,i,a,!0))return;let c=null,u=t;if(`pointerType`in o){switch(o.pointerType){case`mouse`:c=wh.Mouse;break;case`touch`:c=wh.Touch;break;case`pen`:c=wh.Pen}c===wh.Touch?Ch[t]===Ch.MouseDown?u=`TouchStart`:Ch[t]===Ch.MouseUp&&(u=`TouchEnd`):wh.Pen}else sh(o)&&(c=wh.Touch);c===null?Ch[t]===Ch.Click&&(c=l,l=null):(l=c,(u.startsWith(`Touch`)&&c===wh.Touch||u.startsWith(`Mouse`)&&c===wh.Mouse)&&(c=null));let d=sh(o)?o.changedTouches[0]:o;if(!d)return;let f=n.getId(s),{clientX:p,clientY:m}=d;kh(e)({type:Ch[u],id:f,x:p,y:m,...c!==null&&{pointerType:c}})};return Object.keys(Ch).filter(e=>Number.isNaN(Number(e))&&!e.endsWith(`_Departed`)&&s[e]!==!1).forEach(e=>{let n=Yp(e),r=u(e);if(window.PointerEvent)switch(Ch[e]){case Ch.MouseDown:case Ch.MouseUp:n=n.replace(`mouse`,`pointer`);break;case Ch.TouchStart:case Ch.TouchEnd:return}c.push(Km(n,r,t))}),kh(()=>{c.forEach(e=>e())})}function Zh({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,sampling:o}){return Km(`scroll`,kh(Ym(kh(o=>{let s=qh(o);if(!s||rh(s,r,i,a,!0))return;let c=n.getId(s);if(s===t&&t.defaultView){let n=$m(t.defaultView);e({id:c,x:n.left,y:n.top})}else e({id:c,x:s.scrollLeft,y:s.scrollTop})}),o.scroll||100)),t)}function Qh({viewportResizeCb:e},{win:t}){let n=-1,r=-1;return Km(`resize`,kh(Ym(kh(()=>{let t=eh(),i=th();(n!==t||r!==i)&&(e({width:Number(i),height:Number(t)}),n=t,r=i)}),200)),t)}var $h=[`INPUT`,`TEXTAREA`,`SELECT`],eg=new WeakMap;function tg({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,ignoreClass:o,ignoreSelector:s,maskInputOptions:c,maskInputFn:l,sampling:u,userTriggeredOnInput:d,maskTextClass:f,unmaskTextClass:p,maskTextSelector:m,unmaskTextSelector:h}){function g(e){let n=qh(e),u=e.isTrusted,g=n&&Xp(n.tagName);if(g===`OPTION`&&(n=n.parentElement),!n||!g||$h.indexOf(g)<0||rh(n,r,i,a,!0))return;let v=n;if(v.classList.contains(o)||s&&v.matches(s))return;let y=$p(n),b=em(v,g,y),x=!1,S=qp({maskInputOptions:c,tagName:g,type:y}),C=Fm(n,f,m,p,h,S);(y===`radio`||y===`checkbox`)&&(x=n.checked),b=Jp({isMasked:C,element:n,value:b,maskInputFn:l}),_(n,d?{text:b,isChecked:x,userTriggered:u}:{text:b,isChecked:x});let w=n.name;y===`radio`&&w&&x&&t.querySelectorAll(`input[type="radio"][name="${w}"]`).forEach(e=>{if(e!==n){let t=Jp({isMasked:C,element:e,value:em(e,g,y),maskInputFn:l});_(e,d?{text:t,isChecked:!x,userTriggered:!1}:{text:t,isChecked:!x})}})}function _(t,r){let i=eg.get(t);if(!i||i.text!==r.text||i.isChecked!==r.isChecked){eg.set(t,r);let i=n.getId(t);kh(e)({...r,id:i})}}let v=(u.input===`last`?[`change`]:[`input`,`change`]).map(e=>Km(e,kh(g),t)),y=t.defaultView;if(!y)return()=>{v.forEach(e=>e())};let b=y.Object.getOwnPropertyDescriptor(y.HTMLInputElement.prototype,`value`),x=[[y.HTMLInputElement.prototype,`value`],[y.HTMLInputElement.prototype,`checked`],[y.HTMLSelectElement.prototype,`value`],[y.HTMLTextAreaElement.prototype,`value`],[y.HTMLSelectElement.prototype,`selectedIndex`],[y.HTMLOptionElement.prototype,`selected`]];return b&&b.set&&v.push(...x.map(e=>Xm(e[0],e[1],{set(){kh(g)({target:this,isTrusted:!1})}},!1,y))),kh(()=>{v.forEach(e=>e())})}function ng(e){let t=[];function n(e,t){if(fg(`CSSGroupingRule`)&&e.parentRule instanceof CSSGroupingRule||fg(`CSSMediaRule`)&&e.parentRule instanceof CSSMediaRule||fg(`CSSSupportsRule`)&&e.parentRule instanceof CSSSupportsRule||fg(`CSSConditionRule`)&&e.parentRule instanceof CSSConditionRule){let n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else if(e.parentStyleSheet){let n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}return n(e,t)}function rg(e,t,n){let r,i;return e?(e.ownerNode?r=t.getId(e.ownerNode):i=n.getId(e),{styleId:i,id:r}):{}}function ig({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};let i=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(i,{apply:kh((r,i,a)=>{let[o,s]=a,{id:c,styleId:l}=rg(i,t,n.styleMirror);return(c&&c!==-1||l&&l!==-1)&&e({id:c,styleId:l,adds:[{rule:o,index:s}]}),r.apply(i,a)})});let a=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(a,{apply:kh((r,i,a)=>{let[o]=a,{id:s,styleId:c}=rg(i,t,n.styleMirror);return(s&&s!==-1||c&&c!==-1)&&e({id:s,styleId:c,removes:[{index:o}]}),r.apply(i,a)})});let o;
24r.CSSStyleSheet.prototype.replace&&(o=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(o,{apply:kh((r,i,a)=>{let[o]=a,{id:s,styleId:c}=rg(i,t,n.styleMirror);return(s&&s!==-1||c&&c!==-1)&&e({id:s,styleId:c,replace:o}),r.apply(i,a)})}));let s;r.CSSStyleSheet.prototype.replaceSync&&(s=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(s,{apply:kh((r,i,a)=>{let[o]=a,{id:s,styleId:c}=rg(i,t,n.styleMirror);return(s&&s!==-1||c&&c!==-1)&&e({id:s,styleId:c,replaceSync:o}),r.apply(i,a)})}));let c={};pg(`CSSGroupingRule`)?c.CSSGroupingRule=r.CSSGroupingRule:(pg(`CSSMediaRule`)&&(c.CSSMediaRule=r.CSSMediaRule),pg(`CSSConditionRule`)&&(c.CSSConditionRule=r.CSSConditionRule),pg(`CSSSupportsRule`)&&(c.CSSSupportsRule=r.CSSSupportsRule));let l={};return Object.entries(c).forEach(([r,i])=>{l[r]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=new Proxy(l[r].insertRule,{apply:kh((r,i,a)=>{let[o,s]=a,{id:c,styleId:l}=rg(i.parentStyleSheet,t,n.styleMirror);return(c&&c!==-1||l&&l!==-1)&&e({id:c,styleId:l,adds:[{rule:o,index:[...ng(i),s||0]}]}),r.apply(i,a)})}),i.prototype.deleteRule=new Proxy(l[r].deleteRule,{apply:kh((r,i,a)=>{let[o]=a,{id:s,styleId:c}=rg(i.parentStyleSheet,t,n.styleMirror);return(s&&s!==-1||c&&c!==-1)&&e({id:s,styleId:c,removes:[{index:[...ng(i),o]}]}),r.apply(i,a)})})}),kh(()=>{r.CSSStyleSheet.prototype.insertRule=i,r.CSSStyleSheet.prototype.deleteRule=a,o&&(r.CSSStyleSheet.prototype.replace=o),s&&(r.CSSStyleSheet.prototype.replaceSync=s),Object.entries(c).forEach(([e,t])=>{t.prototype.insertRule=l[e].insertRule,t.prototype.deleteRule=l[e].deleteRule})})}function ag({mirror:e,stylesheetManager:t},n){let r=null;r=n.nodeName===`#document`?e.getId(n):e.getId(n.host);let i=n.nodeName===`#document`?n.defaultView?.Document:n.ownerDocument?.defaultView?.ShadowRoot,a=i?.prototype?Object.getOwnPropertyDescriptor(i?.prototype,`adoptedStyleSheets`):void 0;return r===null||r===-1||!i||!a?()=>{}:(Object.defineProperty(n,"adoptedStyleSheets",{configurable:a.configurable,enumerable:a.enumerable,get(){return a.get?.call(this)},set(e){let n=a.set?.call(this,e);if(r!==null&&r!==-1)try{t.adoptStyleSheets(e,r)}catch{}return n}}),kh(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:a.configurable,enumerable:a.enumerable,get:a.get,set:a.set})}))}function og({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:i}){let a=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=new Proxy(a,{apply:kh((i,o,s)=>{let[c,l,u]=s;if(n.has(c))return a.apply(o,[c,l,u]);let{id:d,styleId:f}=rg(o.parentRule?.parentStyleSheet,t,r.styleMirror);return(d&&d!==-1||f&&f!==-1)&&e({id:d,styleId:f,set:{property:c,value:l,priority:u},index:ng(o.parentRule)}),i.apply(o,s)})});let o=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=new Proxy(o,{apply:kh((i,a,s)=>{let[c]=s;if(n.has(c))return o.apply(a,[c]);let{id:l,styleId:u}=rg(a.parentRule?.parentStyleSheet,t,r.styleMirror);return(l&&l!==-1||u&&u!==-1)&&e({id:l,styleId:u,remove:{property:c},index:ng(a.parentRule)}),i.apply(a,s)})}),kh(()=>{i.CSSStyleDeclaration.prototype.setProperty=a,i.CSSStyleDeclaration.prototype.removeProperty=o})}function sg({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:i,sampling:a,doc:o}){let s=kh(o=>Ym(kh(a=>{let s=qh(a);if(!s||rh(s,t,n,r,!0))return;let{currentTime:c,volume:l,muted:u,playbackRate:d}=s;e({type:o,id:i.getId(s),currentTime:c,volume:l,muted:u,playbackRate:d})}),a.media||500)),c=[Km(`play`,s(Th.Play),o),Km(`pause`,s(Th.Pause),o),Km(`seeked`,s(Th.Seeked),o),Km(`volumechange`,s(Th.VolumeChange),o),Km(`ratechange`,s(Th.RateChange),o)];return kh(()=>{c.forEach(e=>e())})}function cg({fontCb:e,doc:t}){let n=t.defaultView;if(!n)return()=>{};let r=[],i=new WeakMap,a=n.FontFace;n.FontFace=function(e,t,n){let r=new a(e,t,n);return i.set(r,{family:e,buffer:typeof t!=`string`,descriptors:n,fontSource:typeof t==`string`?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};let o=Zm(t.fonts,`add`,function(t){return function(n){return bh(kh(()=>{let t=i.get(n);t&&(e(t),i.delete(n))}),0),t.apply(this,[n])}});return r.push(()=>{n.FontFace=a}),r.push(o),kh(()=>
24{r.forEach(e=>e())})}function lg(e){let{doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:a,selectionCb:o}=e,s=!0,c=kh(()=>{let e=t.getSelection();if(!e||s&&e?.isCollapsed)return;s=e.isCollapsed||!1;let c=[],l=e.rangeCount||0;for(let t=0;t<l;t++){let{startContainer:o,startOffset:s,endContainer:l,endOffset:u}=e.getRangeAt(t);rh(o,r,i,a,!0)||rh(l,r,i,a,!0)||c.push({start:n.getId(o),startOffset:s,end:n.getId(l),endOffset:u})}o({ranges:c})});return c(),Km(`selectionchange`,c)}function ug({doc:e,customElementCb:t}){let n=e.defaultView;return!n||!n.customElements?()=>{}:Zm(n.customElements,`define`,function(e){return function(n,r,i){try{t({define:{name:n}})}catch{}return e.apply(this,[n,r,i])}})}function dg(e,t={}){let n=e.doc.defaultView;if(!n)return()=>{};let r;e.recordDOM&&(r=Jh(e,e.doc));let i=Yh(e),a=Xh(e),o=Zh(e),s=Qh(e,{win:n}),c=tg(e),l=sg(e),u=()=>{},d=()=>{},f=()=>{},p=()=>{};e.recordDOM&&(u=ig(e,{win:n}),d=ag(e,e.doc),f=og(e,{win:n}),e.collectFonts&&(p=cg(e)));let m=lg(e),h=ug(e),g=[];for(let t of e.plugins)g.push(t.observer(t.callback,n,t.options));return kh(()=>{Kh.forEach(e=>e.reset()),r?.disconnect(),i(),a(),o(),s(),c(),l(),u(),d(),f(),p(),m(),h(),g.forEach(e=>e())})}function fg(e){return window[e]!==void 0}function pg(e){return!!(window[e]!==void 0&&window[e].prototype&&`insertRule`in window[e].prototype&&`deleteRule`in window[e].prototype)}var mg=class{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,n,r){let i=n||this.getIdToRemoteIdMap(e),a=r||this.getRemoteIdToIdMap(e),o=i.get(t);return o||(o=this.generateIdFn(),i.set(t,o),a.set(o,t)),o}getIds(e,t){let n=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return t.map(t=>this.getId(e,t,n,r))}
24getRemoteId(e,t,n){let r=n||this.getRemoteIdToIdMap(e);return typeof t==`number`?r.get(t)||-1:t}getRemoteIds(e,t){let n=this.getRemoteIdToIdMap(e);return t.map(t=>this.getRemoteId(e,t,n))}reset(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}},hg=class{constructor(){this.crossOriginIframeMirror=new mg(dm),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}},gg=class{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new mg(dm),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new mg(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener(`message`,this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0);let t=Fh(e);t&&this.crossOriginIframeMap.set(t,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&Fh(e)?.addEventListener(`message`,this.handleMessage.bind(this)),this.loadListener?.(e);let n=Ph(e);n&&n.adoptedStyleSheets&&n.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(n.adoptedStyleSheets,this.mirror.getId(n))}handleMessage(e){let t=e;if(t.data.type!==`rrweb`||t.origin!==t.data.origin||!e.source)return;let n=this.crossOriginIframeMap.get(e.source);if(!n)return;let r=this.transformCrossOriginEvent(n,t.data.event);r&&this.wrappedEmit(r,t.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case Sh.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);let n=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,n),this.patchRootIdOnNode(t.data.node,n),{timestamp:t.timestamp,type:Sh.IncrementalSnapshot,data:{source:R.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case Sh.Meta:case Sh.Load:case Sh.DomContentLoaded:return!1;case Sh.Plugin:return t;case Sh.Custom:return this.replaceIds(t.data.payload,e,[`id`,`parentId`,`previousId`,`nextId`]),t;case Sh.IncrementalSnapshot:switch(t.data.source){case R.Mutation:return t.data.adds.forEach(t=>{this.replaceIds(t,e,[`parentId`,`nextId`,`previousId`]),this.replaceIdOnNode(t.node,e);let n=this.crossOriginIframeRootIdMap.get(e);n&&this.patchRootIdOnNode(t.node,n)}),t.data.removes.forEach(t=>{this.replaceIds(t,e,[`parentId`,`id`])}),t.data.attributes.forEach(t=>{this.replaceIds(t,e,[`id`])}),t.data.texts.forEach(t=>{this.replaceIds(t,e,[`id`])}),t;case R.Drag:case R.TouchMove:case R.MouseMove:return t.data.positions.forEach(t=>{this.replaceIds(t,e,[`id`])}),t;case R.ViewportResize:return!1;case R.MediaInteraction:case R.MouseInteraction:case R.Scroll:case R.CanvasMutation:case R.Input:return this.replaceIds(t.data,e,[`id`]),t;case R.StyleSheetRule:case R.StyleDeclaration:return this.replaceIds(t.data,e,[`id`]),this.replaceStyleIds(t.data,e,[`styleId`]),t;case R.Font:return t;case R.Selection:return t.data.ranges.forEach(t=>{this.replaceIds(t,e,[`start`,`end`])}),t;case R.AdoptedStyleSheet:return this.replaceIds(t.data,e,[`id`]),this.replaceStyleIds(t.data,e,[`styleIds`]),t.data.styles?.forEach(t=>{this.replaceStyleIds(t,e,[`styleId`])}),t}}return!1}replace(e,t,n,r){for(let i of r)(Array.isArray(t[i])||typeof t[i]==`number`)&&(t[i]=Array.isArray(t[i])?e.getIds(n,t[i]):e.getId(n,t[i]));return t}replaceIds(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)}replaceStyleIds(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)}replaceIdOnNode(e,t){this.replaceIds(e,t,[`id`,`rootId`]),`childNodes`in e&&e.childNodes.forEac
24h(e=>{this.replaceIdOnNode(e,t)})}patchRootIdOnNode(e,t){e.type!==Np.Document&&!e.rootId&&(e.rootId=t),`childNodes`in e&&e.childNodes.forEach(e=>{this.patchRootIdOnNode(e,t)})}},_g=class{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}},vg=class{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!Ip(e)||this.shadowDoms.has(e))return;this.shadowDoms.add(e),this.bypassOptions.canvasManager.addShadowRoot(e);let n=Jh({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push(()=>n.disconnect()),this.restoreHandlers.push(Zh({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),bh(()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(ag({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))},0)}observeAttachShadow(e){let t=Ph(e),n=Fh(e);t&&n&&this.patchAttachShadow(n.Element,t)}patchAttachShadow(e,t){let n=this;this.restoreHandlers.push(Zm(e.prototype,`attachShadow`,function(e){return function(r){let i=e.call(this,r);return this.shadowRoot&&gh(this)&&n.addShadowRoot(this.shadowRoot,t),i}}))}reset(){this.restoreHandlers.forEach(e=>{try{e()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}},yg=class{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new fh,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){`_cssText`in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(e.length===0)return;let n={id:t,styleIds:[]},r=[];for(let t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),r.push({styleId:e,rules:Array.from(t.rules||CSSRule,(e,t)=>({rule:Vp(e),index:t}))})),n.styleIds.push(e)}r.length>0&&(n.styles=r),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}},bg=class{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(e,t){let n=this.nodeMap.get(e);return n&&Array.from(n).some(e=>e!==t)}add(e,t){this.active||(this.active=!0,yh(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}},xg,Sg;try{if(Array.from([1],e=>e*2)[0]!==2){let e=document.createElement(`iframe`);document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(e){console.debug(`Unable to override Array.from`,e)}var Cg=Kp();function wg(e={}){let{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:i=`rr-block`,blockSelector:a=null,unblockSelector:o=null,ignoreClass:s=`rr-ignore`,ignoreSelector:c=null,maskAllText:l=!1,maskTextClass:u=`rr-mask`,unmaskTextClass:d=null,maskTextSelector:f=null,unmaskTextSelector:p=null,inlineStylesheet:m=!0,maskAllInputs:h,maskInputOptions:g,slimDOMOptions:_,maskAttributeFn:v,maskInputFn:y,maskTextFn:b,maxCanvasSize:x=null,packFn:S,sampling:C={},dataURLOptions:w={},mousemoveWait:T,recordDOM:E=!0,recordCanvas:D=!1,recordCrossOriginIframes:O=!1,recordAfter:ee=e.recordAfter===`DOMContentLoaded`?e.recordAfter:`load`,userTriggeredOnInput:k=!1,collectFonts:te=!1,inlineImages:A=!1,plugins:ne,keepIframeSrcFn:j=()=>!1,ignoreCSSAttributes:re=new Set([]),errorHandler:ie,onMutation:ae,getCanvasManager:oe}=e;Dh(ie);let se=!O||window.parent===window,ce=!1;if(!se)try{window.parent.document&&(ce=!1)}catch{ce=!0}if(se&&!t)throw Error(`emit function is required`);if(!se&&!ce)return()=>{};
24T!==void 0&&C.mousemove===void 0&&(C.mousemove=T),Cg.reset();let le=h===!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}:g===void 0?{}:g,ue=_===!0||_===`all`?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:_===`all`,headMetaDescKeywords:_===`all`}:_||{};ch();let de,fe=0,pe=e=>{for(let t of ne||[])t.eventProcessor&&(e=t.eventProcessor(e));return S&&!ce&&(e=S(e)),e};xg=(e,i)=>{let a=e;if(a.timestamp=Qm(),Kh[0]?.isFrozen()&&a.type!==Sh.FullSnapshot&&(a.type!==Sh.IncrementalSnapshot||a.data.source!==R.Mutation)&&Kh.forEach(e=>e.unfreeze()),se)t?.(pe(a),i);else if(ce){let e={type:`rrweb`,event:pe(a),origin:window.location.origin,isCheckout:i};window.parent.postMessage(e,`*`)}if(a.type===Sh.FullSnapshot)de=a,fe=0;else if(a.type===Sh.IncrementalSnapshot){if(a.data.source===R.Mutation&&a.data.isAttachIframe)return;fe++;let e=r&&fe>=r,t=n&&de&&a.timestamp-de.timestamp>n;(e||t)&&be(!0)}};let me=e=>{xg({type:Sh.IncrementalSnapshot,data:{source:R.Mutation,...e}})},he=e=>xg({type:Sh.IncrementalSnapshot,data:{source:R.Scroll,...e}}),M=e=>xg({type:Sh.IncrementalSnapshot,data:{source:R.CanvasMutation,...e}}),N=new yg({mutationCb:me,adoptedStyleSheetCb:e=>xg({type:Sh.IncrementalSnapshot,data:{source:R.AdoptedStyleSheet,...e}})}),ge=typeof __RRWEB_EXCLUDE_IFRAME__==`boolean`&&__RRWEB_EXCLUDE_IFRAME__?new hg:new gg({mirror:Cg,mutationCb:me,stylesheetManager:N,recordCrossOriginIframes:O,wrappedEmit:xg});for(let e of ne||[])e.getMirror&&e.getMirror({nodeMirror:Cg,crossOriginIframeMirror:ge.crossOriginIframeMirror,crossOriginIframeStyleMirror:ge.crossOriginIframeStyleMirror});let _e=new bg,ve=Eg(oe,{mirror:Cg,win:window,mutationCb:e=>xg({type:Sh.IncrementalSnapshot,data:{source:R.CanvasMutation,...e}}),recordCanvas:D,blockClass:i,blockSelector:a,unblockSelector:o,maxCanvasSize:x,sampling:C.canvas,dataURLOptions:w,errorHandler:ie}),ye=typeof __RRWEB_EXCLUDE_SHADOW_DOM__==`boolean`&&__RRWEB_EXCLUDE_SHADOW_DOM__?new _g:new vg({mutationCb:me,scrollCb:he,bypassOptions:{onMutation:ae,blockClass:i,blockSelector:a,unblockSelector:o,maskAllText:l,maskTextClass:u,unmaskTextClass:d,maskTextSelector:f,unmaskTextSelector:p,inlineStylesheet:m,maskInputOptions:le,dataURLOptions:w,maskAttributeFn:v,maskTextFn:b,maskInputFn:y,recordCanvas:D,inlineImages:A,sampling:C,slimDOMOptions:ue,iframeManager:ge,stylesheetManager:N,canvasManager:ve,keepIframeSrcFn:j,processedNodeManager:_e,ignoreCSSAttributes:re},mirror:Cg}),be=(e=!1)=>{if(!E)return;xg({type:Sh.Meta,data:{href:window.location.href,width:th(),height:eh()}},e),N.reset(),ye.init(),Kh.forEach(e=>e.lock());let t=Gm(document,{mirror:Cg,blockClass:i,blockSelector:a,unblockSelector:o,maskAllText:l,maskTextClass:u,unmaskTextClass:d,maskTextSelector:f,unmaskTextSelector:p,inlineStylesheet:m,maskAllInputs:le,maskAttributeFn:v,maskInputFn:y,maskTextFn:b,slimDOM:ue,dataURLOptions:w,recordCanvas:D,inlineImages:A,onSerialize:e=>{lh(e,Cg)&&ge.addIframe(e),uh(e,Cg)&&N.trackLinkElement(e),dh(e)&&ye.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{ge.attachIframe(e,t);let n=Fh(e);n&&ve.addWindow(n),ye.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{N.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:n,height:r})=>{me({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${n}px`,height:`${r}px`}}}]})},keepIframeSrcFn:j,ignoreCSSAttributes:re});if(!t)return console.warn(`Failed to snapshot the document`);xg({type:Sh.FullSnapshot,data:{node:t,initialOffset:$m(window)}}),Kh.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&N.adoptStyleSheets(document.adoptedStyleSheets,Cg.getId(document))};Sg=be;try{let e=[],t=e=>kh(dg)({onMutation:ae,mutationCb:me,mousemoveCb:(e,t)=>xg({type:Sh.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>xg({type:Sh.IncrementalSnapshot,data:{source:R.MouseInteraction,...e}}),scrollCb:he,viewportResizeCb:e=>xg({type:Sh.IncrementalSnapshot,data:{source:R.ViewportResize,...e}}),inputCb:e=>xg({type:Sh.IncrementalSnapshot,data:{source:R.Input,...e}}),mediaInteractionCb:e=>xg({type:Sh.IncrementalSnapshot,data:{source:R.MediaInteraction,...e}}),styleSheetRuleCb:e=>xg({type:Sh.IncrementalSnapshot,data:{source:R.StyleSheetRule,...e}}),styleDeclarationCb:e=>xg({type:Sh.IncrementalSnapshot,data:{source:R.StyleDeclaration,...e}}),canvasMutationCb:M,fontCb:e=>xg({type:Sh.IncrementalSnapshot,data:{source:R.Font,...e}}),selectionCb:e=>{xg({type:Sh.IncrementalSnapshot,data:{source:R.Selection,...e}})},customElementCb:e=>{xg({type:Sh.IncrementalSnapshot,data:{source:R.CustomElement,...e}})},blockClass:i,ignoreClass:s,ignoreSelector:c,maskAllText:l,maskTextClass:u,unmaskTextClass:d,maskTextSelector:f,unmaskTextSelector:p,maskInputOptions:le,inlineStylesheet:m,sampling:C,recordDOM:E,recordCanvas:D,inlineImages:A,userTriggeredOnInput:k,collectFonts:te,doc:e,maskAttributeFn:v,maskInputFn:y,maskTextFn:b,keepIframeSrcFn:j,blockSelector:a,unblockSelector:o,slimDOMOptions:ue,dataURLOptions:w,mirror:Cg,iframeManager:ge,stylesheetManager:N,shadowDomManager:ye,processedNodeManager:_e,canvasManager:ve,ignoreCSSAttributes:re,plugins:ne?.filter(e=>e.observer)?.map(e=>({observer:e.observer,options:e.options,callback:t=>
24xg({type:Sh.Plugin,data:{plugin:e.name,payload:t}})}))||[]},{});ge.addLoadListener(n=>{try{e.push(t(n.contentDocument))}catch(e){console.warn(e)}});let n=()=>{be(),e.push(t(document))};return document.readyState===`interactive`||document.readyState===`complete`?n():(e.push(Km(`DOMContentLoaded`,()=>{xg({type:Sh.DomContentLoaded,data:{}}),ee===`DOMContentLoaded`&&n()})),e.push(Km(`load`,()=>{xg({type:Sh.Load,data:{}}),ee===`load`&&n()},window))),()=>{e.forEach(e=>e()),_e.destroy(),Sg=void 0,Oh()}}catch(e){console.warn(e)}}function Tg(e){if(!Sg)throw Error(`please take full snapshot after start recording`);Sg(e)}wg.mirror=Cg,wg.takeFullSnapshot=Tg;function Eg(e,t){try{return e?e(t):new Nh}catch{return console.warn(`Unable to initialize CanvasManager`),new Nh}}var Dg;(function(e){e[e.NotStarted=0]=`NotStarted`,e[e.Running=1]=`Running`,e[e.Stopped=2]=`Stopped`})(Dg||={});var Og=3,kg=5;function Ag(e){return e>9999999999?e:e*1e3}function jg(e){return e>9999999999?e/1e3:e}function Mg(e,t){t.category!==`sentry.transaction`&&([`ui.click`,`ui.input`].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:Sh.Custom,timestamp:(t.timestamp||0)*1e3,data:{tag:`breadcrumb`,payload:Ze(t,10,1e3)}}),t.category===`console`)))}var Ng=`button,a`;function Pg(e){return e.closest(Ng)||e}function Fg(e){let t=Ig(e);return!t||!(t instanceof Element)?t:Pg(t)}function Ig(e){return Lg(e)?e.target:e}function Lg(e){return Oe(e)&&`target`in e}var Rg;function zg(e){return Rg||(Rg=[],Bg()),Rg.push(e),()=>{let t=Rg?Rg.indexOf(e):-1;t>-1&&Rg.splice(t,1)}}function Bg(){Pe(dp,`open`,function(e){return function(...t){if(Rg)try{Rg.forEach(e=>e())}catch{}return e.apply(dp,t)}})}var Vg=new Set([R.Mutation,R.StyleSheetRule,R.StyleDeclaration,R.AdoptedStyleSheet,R.CanvasMutation,R.Selection,R.MediaInteraction]);function Hg(e,t,n){e.handleClick(t,n)}var Ug=class{constructor(e,t,n=Mg){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scrollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){let e=zg(()=>{this._lastMutation=qg()});this._teardown=()=>{e(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){if(Gg(t,this._ignoreSelector)||!Kg(e))return;let n={timestamp:jg(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some(e=>e.node===n.node&&Math.abs(e.timestamp-n.timestamp)<1)||(this._clicks.push(n),this._clicks.length===1&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=jg(e)}registerScroll(e=Date.now()){this._lastScroll=jg(e)}registerClick(e){let t=Pg(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach(e=>{e.clickCount++})}_getClicks(e){return this._clicks.filter(t=>t.node===e)}_checkClicks(){let e=[],t=qg();this._clicks.forEach(n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=t&&e.push(n)});for(let t of e){let e=this._clicks.indexOf(t);e>-1&&(this._generateBreadcrumbs(t),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){let t=this._replay,n=e.scrollAfter&&e.scrollAfter<=this._scrollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,i=!n&&!r,{clickCount:a,clickBreadcrumb:o}=e;if(i){let n=Math.min(e.mutationAfter||this._timeout,this._timeout)*1e3,r=n<this._timeout*1e3?`mutation`:`timeout`,i={type:`default`,message:o.message,timestamp:o.timestamp,category:`ui.slowClickDetected`,data:{...o.data,url:dp.location.href,route:t.getCurrentRoute(),timeAfterClickMs:n,endReason:r,clickCount:a||1}};this._addBreadcrumbEvent(t,i);return}if(a>1){let e={type:`default`,message:o.message,timestamp:o.timestamp,category:`ui.multiClick`,data:{...o.data,url:dp.location.href,route:t.getCurrentRoute(),clickCount:a,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=qd(()=>this._checkClicks(),1e3)}},Wg=[`A`,`BUTTON`,`INPUT`];function Gg(e,t){return!!(!Wg.includes(e.tagName)||e.tagName===`INPUT`&&![`submit`,`button`].includes(e.getAttribute(`type`)||``)||e.tagName===`A`&&(e.hasAttribute(`download`)||e.hasAttribute(`target`)&&e.getAttribute(`target`)!==`_self`)||t&&e.matches(t))}
24function Kg(e){return!!(e.data&&typeof e.data.nodeId==`number`&&e.timestamp)}function qg(){return Date.now()/1e3}function Jg(e,t){try{if(!Yg(t))return;let{source:n}=t.data;if(Vg.has(n)&&e.registerMutation(t.timestamp),n===R.Scroll&&e.registerScroll(t.timestamp),Xg(t)){let{type:n,id:r}=t.data,i=wg.mirror.getNode(r);i instanceof HTMLElement&&n===Ch.Click&&e.registerClick(i)}}catch{}}function Yg(e){return e.type===Og}function Xg(e){return e.data.source===R.MouseInteraction}function Zg(e){return{timestamp:Date.now()/1e3,type:`default`,...e}}var Qg=(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`,e))(Qg||{}),$g=new Set([`id`,`class`,`aria-label`,`role`,`name`,`alt`,`title`,`data-test-id`,`data-testid`,`disabled`,`aria-disabled`,`data-sentry-component`]),e_=new Set([...$g,`data-sentry-element`]);function t_(e){let t={};for(let n in e)if($g.has(n)){let r=n;(n===`data-testid`||n===`data-test-id`)&&(r=`testId`),t[r]=e[n]}return!t[`data-sentry-component`]&&e[`data-sentry-element`]&&(t[`data-sentry-component`]=e[`data-sentry-element`]),t}var n_=e=>t=>{if(!e.isEnabled())return;let n=i_(t);if(!n)return;let r=t.name===`click`,i=r?t.event:void 0;r&&e.clickDetector&&i?.target&&!i.altKey&&!i.metaKey&&!i.ctrlKey&&!i.shiftKey&&Hg(e.clickDetector,n,Fg(t.event)),Mg(e,n)};function r_(e,t){let n=wg.mirror.getId(e),r=n&&wg.mirror.getNode(n),i=r&&wg.mirror.getMeta(r),a=i&&o_(i)?i:null;return{message:t,data:a?{nodeId:n,node:{id:n,tagName:a.tagName,textContent:Array.from(a.childNodes).map(e=>e.type===Qg.Text&&e.textContent).filter(Boolean).map(e=>e.trim()).join(``),attributes:t_(a.attributes)}}:{}}}function i_(e){let{target:t,message:n}=a_(e);return Zg({category:`ui.${e.name}`,...r_(t,n)})}function a_(e){let t=e.name===`click`,n,r=null;try{r=t?Fg(e.event):Ig(e.event),n=xu(r,{maxStringLength:200})||`<unknown>`}catch{n=`<unknown>`}return{target:r,message:n}}function o_(e){return e.type===Qg.Element}function s_(e,t){if(!e.isEnabled())return;e.updateUserActivity();let n=c_(t);n&&Mg(e,n)}function c_(e){let{metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:a,target:o}=e;if(!o||l_(o)||!a)return null;let s=t||r||i,c=a.length===1;if(!s&&c)return null;let l=xu(o,{maxStringLength:200})||`<unknown>`;return Zg({category:`ui.keyDown`,message:l,data:{...r_(o,l).data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:a}})}function l_(e){return e.tagName===`INPUT`||e.tagName===`TEXTAREA`||e.isContentEditable}var u_={resource:__,paint:h_,navigation:g_};function d_(e,t){return({metric:n})=>void t.replayPerformanceEntries.push(e(n))}
24function f_(e){return e.map(p_).filter(Boolean)}function p_(e){let t=u_[e.entryType];return t?t(e):null}function m_(e){return((Et()||dp.performance.timeOrigin)+e)/1e3}function h_(e){let{duration:t,entryType:n,name:r,startTime:i}=e,a=m_(i);return{type:n,name:r,start:a,end:a+t,data:void 0}}function g_(e){let{entryType:t,name:n,decodedBodySize:r,duration:i,domComplete:a,encodedBodySize:o,domContentLoadedEventStart:s,domContentLoadedEventEnd:c,domInteractive:l,loadEventStart:u,loadEventEnd:d,redirectCount:f,startTime:p,transferSize:m,type:h}=e;return i===0?null:{type:`${t}.${h}`,start:m_(p),end:m_(a),name:n,data:{size:m,decodedBodySize:r,encodedBodySize:o,duration:i,domInteractive:l,domContentLoadedEventStart:s,domContentLoadedEventEnd:c,loadEventStart:u,loadEventEnd:d,domComplete:a,redirectCount:f}}}function __(e){let{entryType:t,initiatorType:n,name:r,responseEnd:i,startTime:a,decodedBodySize:o,encodedBodySize:s,responseStatus:c,transferSize:l}=e;return[`fetch`,`xmlhttprequest`].includes(n)?null:{type:`${t}.${n}`,start:m_(a),end:m_(i),name:r,data:{size:l,statusCode:c,decodedBodySize:o,encodedBodySize:s}}}function v_(e){let t=e.entries[e.entries.length-1];return S_(e,`largest-contentful-paint`,t?.element?[t.element]:void 0)}function y_(e){return e.sources!==void 0}function b_(e){let t=[],n=[];for(let r of e.entries)if(y_(r)){let e=[];for(let t of r.sources)if(t.node){n.push(t.node);let r=wg.mirror.getId(t.node);r&&e.push(r)}t.push({value:r.value,nodeIds:e.length?e:void 0})}return S_(e,`cumulative-layout-shift`,n,t)}function x_(e){let t=e.entries[e.entries.length-1];return S_(e,`interaction-to-next-paint`,t?.target?[t.target]:void 0)}function S_(e,t,n,r){let i=e.value,a=e.rating,o=m_(i);return{type:`web-vital`,name:t,start:o,end:o,data:{value:i,size:i,rating:a,nodeIds:n?n.map(e=>wg.mirror.getId(e)):void 0,attributions:r}}}function C_(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function n({entries:e}){e.forEach(t)}let r=[];return[`navigation`,`paint`,`resource`].forEach(e=>{r.push(su(e,n))}),r.push(iu(d_(v_,e)),ru(d_(b_,e)),ou(d_(x_,e))),()=>{r.forEach(e=>e())}}var z=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,w_=
vendor: 10,332 bytes, line 24
24`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]),s=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(t,e){for(var i=new n(31),s=0;s<31;++s)i[s]=e+=1<<t[s-1];var a=new r(i[30]);for(s=1;s<30;++s)for(var o=i[s];o<i[s+1];++o)a[o]=o-i[s]<<5|s;return{b:i,r:a}},o=a(e,2),h=o.b,f=o.r;h[28]=258,f[258]=28;for(var l=a(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,s=0,a=new n(r);s<i;++s)t[s]&&++a[t[s]-1];var o,h=new n(r);for(s=1;s<r;++s)h[s]=h[s-1]+a[s-1]<<1;if(e){o=new n(1<<r);var f=15-r;for(s=0;s<i;++s)if(t[s])for(var l=s<<4|t[s],c=r-t[s],v=h[t[s]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>f]=l}else for(o=new n(i),s=0;s<i;++s)t[s]&&(o[s]=u[h[t[s]-1]++]>>15-t[s]);return o},p=new t(288);for(c=0;c<144;++c)p[c]=8;for(c=144;c<256;++c)p[c]=9;for(c=256;c<280;++c)p[c]=7;for(c=280;c<288;++c)p[c]=8;var g=new t(32);for(c=0;c<32;++c)g[c]=5;var w=d(p,9,0),y=d(g,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},_=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},x=function(r,e){for(var i=[],s=0;s<r.length;++s)r[s]&&i.push({s:s,f:r[s]});var a=i.length,o=i.slice();if(!a)return{t:F,l:0};if(1==a){var h=new t(i[0].s+1);return h[i[0].s]=1,{t:h,l:1}}i.sort(function(t,n){return t.f-n.f}),i.push({s:-1,f:25001});var f=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:f.f+l.f,l:f,r:l};c!=a-1;)f=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:f.f+l.f,l:f,r:l};var d=o[0].s;for(s=1;s<a;++s)o[s].s>d&&(d=o[s].s);var p=new n(d+1),g=A(i[c-1],p,0);if(g>e){s=0;var w=0,y=g-e,m=1<<y;for(o.sort(function(t,n){return p[n.s]-p[t.s]||t.f-n.f});s<a;++s){var b=o[s].s;if(!(p[b]>e))break;w+=m-(1<<g-p[b]),p[b]=e}for(w>>=y;w>0;){var M=o[s].s;p[M]<e?w-=1<<e-p[M]++-1:++s}for(;s>=0&&w;--s){var E=o[s].s;p[E]==e&&(--p[E],++w)}g=e}return{t:new t(p),l:g}},A=function(t,n,r){return-1==t.s?Math.max(A(t.l,n,r+1),A(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,s=t[0],a=1,o=function(t){e[i++]=t},h=1;h<=r;++h)if(t[h]==s&&h!=r)++a;else{if(!s&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(s),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(s);a=1,s=t[h]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var s=0;s<e;++s)t[i+s+4]=r[s];return 8*(i+4+e)},U=function(t,r,a,o,h,f,l,u,c,v,m){z(r,m++,a),++h[256];for(var b=x(h,15),M=b.t,E=b.l,A=x(f,15),U=A.t,C=A.l,F=D(M),I=F.c,S=F.n,L=D(U),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=x(q,7),H=G.t,J=G.l,K=19;K>4&&!H[s[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(h,p)+T(f,g)+l,X=T(h,M)+T(f,U)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(U,C,0),R=U;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[s[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=w,P=p,Q=y,R=g;for(B=0;B<u;++B){var rt=o[B];if(rt>255){_(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;_(r,m,Q[et]),m+=R[et],et>3&&(_(r,m,rt>>5&8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a<o;++a)i+=e+=r[a];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(s,a,o,h,u){if(!u&&(u={l:1},a.dictionary)){var c=a.dictionary.subarray(-32768),v=new t(c.length+s.length);v.set(c),v.set(s,c.length),s=v,u.w=c.length}return function(s,a,o,h,u,c){var v=c.z||s.length,d=new t(h+v+5*(1+Math.ceil(v/7e3))+u),p=d.subarray(h,d.length-u),g=c.l,w=7&(c.r||0);if(a){w&&(p[0]=c.r>>3);for(var y=C[a-1],M=y>>13,E=8191&y,z=(1<<o)-1,_=c.p||new n(32768),x=c.h||new n(z+1),A=Math.ceil(o/3),D=2*A,T=function(t){return(s[t]^s[t+1]<<A^s[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=x[H];if(_[J]=K,x[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!g)){w=U(s,p,0,F,I,S,O,q,G,j-G,w),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(s[j+Q]==s[j+Q-W]){for(var $=0;$<Z&&s[j+$]==s[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-_[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&32767}if(R){F[q++]=268435456|f[Q]<<18|l[R];var it=31&f[Q],st=31&l[R];O+=e[it]+i[st],++I[257+it],++S[st],B=j+Q,++L}else F[q++]=s[j],++I[s[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=s[j],++I[s[j]];w=U(s,p,g,F,I,S,O,q,G,j-G,w),g||(c.r=7&w|p[w/8|0]<<3,w-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+g;j+=65535){var at=j+65535;at>=v&&(p[w/8|0]=g,at=v),w=k(p,w+1,s.subarray(j,at))}c.i=v}return b(d,0,h+m(w)+u)}(s,null==a.level?6:a.level,null==a.mem?u.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):20:12+a.mem,o,h,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var s=this.b.length-this.s.z;this.b.set(n.subarray(0,s),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(s),32768),this.s.z=n.length-s+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n.prototype.flush=function(){this.ondata||E(5),this.s.l&&E(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,s=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),a=s.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(s,n),O(s,a-8,r.d()),O(s,a-4,e),s}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t.prototype.flush=function(){j.prototype.flush.call(this)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(G)return G.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),s=0,a=function(t){i[s++]=t},o=0;o<e;++o){if(s+5>i.length){var h=new t(s+8+(e-o<<1));h.set(i),i=h}var f=n.charCodeAt(o);f<128||r?a(f):f<2048?(a(192|f>>6),a(128|63&f)):f>55295&&f<57344?(a(240|(f=65536+(1047552&f)|1023&n.charCodeAt(++o))>>18),a(128|f>>12&63),a(128|f>>6&63),a(128|63&f)):(a(224|f>>12),a(128|f>>6&63),a(128|63&f))}return b(i,0,s)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J((t,n)=>{this.deflate.push(t,n)}),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}}),postMessage({id:void 0,method:"init",success:!0,response:void 0});`;
24function T_(){let e=new Blob([w_],{type:`text/javascript`});return URL.createObjectURL(e)}var E_=[`log`,`warn`,`error`],D_=`[Replay] `;function O_(e,t=`info`){Ss({category:`console`,data:{logger:`replay`},level:t,message:`${D_}${e}`},{level:t})}function k_(){let e=!1,t=!1,n={exception:()=>void 0,infoTick:()=>void 0,setConfig:n=>{e=!!n.captureExceptions,t=!!n.traceInternals}};return z?(E_.forEach(e=>{n[e]=(...n)=>{k[e](D_,...n),t&&O_(n.join(``),Xs(e))}}),n.exception=(r,...i)=>{i.length&&n.error&&n.error(...i),k.error(D_,r),e?Pa(r,{mechanism:{handled:!0,type:`auto.function.replay.debug`}}):t&&O_(r,`error`)},n.infoTick=(...e)=>{k.log(D_,...e),t&&setTimeout(()=>O_(e[0]),0)}):E_.forEach(e=>{n[e]=()=>void 0}),n}var B=k_(),A_=class extends Error{constructor(){super(`Event buffer exceeded maximum size of ${Ep}.`)}},j_=class extends Error{constructor(){super(`Worker destroyed`)}},M_=class{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return`sync`}destroy(){this.events=[]}async addEvent(e){let t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>Ep)throw new A_;this.events.push(e)}finish(){return new Promise(e=>{let t=this.events;this.clear(),e(JSON.stringify(t))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let e=null;for(let{timestamp:t}of this.events)(e===null||t<e)&&(e=t);return e===null?e:Ag(e)}},N_=class{constructor(e){this._onMessage=({data:e})=>{let t=e;if(typeof t.id!=`number`)return;let n=this._pending.get(t.id);if(n&&n.method===t.method){if(this._pending.delete(t.id),!t.success){z&&B.error(`Error in compression worker: `,t.response),n.reject(Error(`Error in compression worker`));return}n.resolve(t.response)}},this._worker=e,this._id=0,this._pending=new Map,this._worker.addEventListener(`message`,this._onMessage)}ensureReady(){return this._ensureReadyPromise||=new Promise((e,t)=>{this._worker.addEventListener(`message`,({data:n})=>{n.success?e():(z&&B.warn(`Received worker message with unsuccessful status`,n),t(Error(`Received worker message with unsuccessful status`)))},{once:!0}),this._worker.addEventListener(`error`,e=>{z&&B.warn(`Failed to load Replay compression worker`,e),t(Error(`Failed to load Replay compression worker: ${e instanceof ErrorEvent&&e.message?e.message:`Unknown error. This can happen due to CSP policy restrictions, network issues, or the worker script failing to load.`}`))},{once:!0})}),this._ensureReadyPromise}destroy(){z&&B.log(`Destroying compression worker`),this._worker.removeEventListener(`message`,this._onMessage),this._pending.forEach(e=>e.reject(new j_)),this._pending.clear(),this._worker.terminate()}postMessage(e,t){let n=this._getAndIncrementId();return new Promise((r,i)=>{this._pending.set(n,{method:e,resolve:r,reject:i});try{this._worker.postMessage({id:n,method:e,arg:t})}catch(e){this._pending.delete(n),i(e)}})}_getAndIncrementId(){return this._id++}},P_=class{constructor(e){this._worker=new N_(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return`worker`}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){let t=Ag(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);let n=JSON.stringify(e);return this._totalSize+=n.length,this._totalSize>Ep?Promise.reject(new A_):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage(`clear`).then(null,e=>{z&&B.exception(e,`Sending "clear" message to worker failed`,e)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage(`addEvent`,e)}async _finishRequest(){let e=await this._worker.postMessage(`finish`);return this._earliestTimestamp=null,this._totalSize=0,e}},F_=class{constructor(e){this._fallback=new M_,this._compression=new P_(e),this._used=this._fallback,this._ensureWorkerIsLoadedProm
24ise=this._ensureWorkerIsLoaded()}get waitForCheckout(){return this._used.waitForCheckout}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}set waitForCheckout(e){this._used.waitForCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){z&&B.exception(e,`Failed to load the compression worker, falling back to simple buffer`);return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){let{events:e,hasCheckout:t,waitForCheckout:n}=this._fallback,r=[];for(let t of e)r.push(this._compression.addEvent(t));this._compression.hasCheckout=t,this._compression.waitForCheckout=n,this._used=this._compression;try{await Promise.all(r),this._fallback.clear()}catch(e){if(e instanceof j_)return;z&&B.exception(e,`Failed to add events when switching buffers.`)}}};function I_({useCompression:e,workerUrl:t}){if(e&&window.Worker){let e=L_(t);if(e)return e}return z&&B.log(`Using simple buffer`),new M_}function L_(e){try{let t=e||R_();return t?(z&&B.log(`Using compression worker${e?` from ${e}`:``}`),new F_(new Worker(t))):void 0}catch(e){z&&B.exception(e,`Failed to create compression worker`)}}function R_(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__>`u`||!__SENTRY_EXCLUDE_REPLAY_WORKER__?T_():``}function z_(){try{return`sessionStorage`in dp&&!!dp.sessionStorage}catch{return!1}}function B_(e){V_(),e.session=void 0}function V_(){if(z_())try{dp.sessionStorage.removeItem(fp)}catch{}}function H_(e){return e!==void 0&&Math.random()<e}function U_(e){if(z_())try{dp.sessionStorage.setItem(fp,JSON.stringify(e))}catch{}}function W_(e){let t=Date.now();return{id:e.id||ft(),started:e.started||t,lastActivity:e.lastActivity||t,segmentId:e.segmentId||0,sampled:e.sampled,previousSessionId:e.previousSessionId,dirty:e.dirty||!1}}function G_(e,t){return H_(e)?`session`:t?`buffer`:!1}function K_({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){let i=W_({sampled:G_(e,t),previousSessionId:r});return n&&U_(i),i}function q_(){if(!z_())return null;try{let e=dp.sessionStorage.getItem(fp);if(!e)return null;let t=JSON.parse(e);return z&&B.infoTick(`Loading existing session`),W_(t)}catch{return null}}function J_(e,t,n=+new Date){return e===null||t===void 0||t<0||t!==0&&e+t<=n}function Y_(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return J_(e.started,t,r)||J_(e.lastActivity,n,r)}function X_(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!(!Y_(e,{sessionIdleExpire:t,maxReplayDuration:n})||e.sampled===`buffer`&&e.segmentId===0)}function Z_({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:n},r){let i=r.stickySession&&q_();return i?X_(i,{sessionIdleExpire:e,maxReplayDuration:t})?(z&&B.infoTick(`Session in sessionStorage is expired, creating new one...`),K_(r,{previousSessionId:i.id})):i:(z&&B.infoTick(`Creating new session`),K_(r,{previousSessionId:n}))}function Q_(e){return e.type===Sh.Custom}function $_(e,t,n){return nv(e,t)?(tv(e,t,n),!0):!1}function ev(e,t,n){return nv(e,t)?tv(e,t,n):Promise.resolve(null)}async function tv(e,t,n){let{eventBuffer:r}=e;if(!r||r.waitForCheckout&&!n)return null;let i=e.recordingMode===`buffer`;try{n&&i&&r.clear(),n&&(r.hasCheckout=!0,r.waitForCheckout=!1);let a=rv(t,e.getOptions().beforeAddRecordingEvent);return a?await r.addEvent(a):void 0}catch(t){if(!e.isEnabled())return e.handleException(t),null;let n=t&&t instanceof A_,a=n?`eventBufferOverflow`:`eventBufferError`,o=F();if(o){let e=n?`buffer_overflow`:`internal_sdk_error`;o.recordDroppedEvent(e,`replay`)}if(n&&i)return r.clear(),r.waitForCheckout=!0,null;e.handleException(t),await e.stop({reason:a})}}
24function nv(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;let n=Ag(t.timestamp);return n+e.timeouts.sessionIdlePause<Date.now()?!1:n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration?(z&&B.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),!1):!0}function rv(e,t){try{if(typeof t==`function`&&Q_(e))return t(e)}catch(e){return z&&B.exception(e,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}var iv=100;function av(e,t,n){let r=e.getContext();t&&r.traceIds.size<iv&&r.traceIds.add(t),n&&r.segmentNames.size<iv&&r.segmentNames.add(n)}function ov(e){return t=>{e.isEnabled()&&av(e,t.trace_id,t.name||void 0)}}function sv(e){return!e.type}function cv(e){return e.type===`transaction`}function lv(e){return e.type===`replay_event`}function uv(e){return e.type===`feedback`}function dv(e){return(t,n)=>{if(!e.isEnabled()||!sv(t)&&!cv(t))return;let r=n.statusCode;if(!(!r||r<200||r>=300)){if(cv(t)){fv(e,t);return}pv(e,t)}}}function fv(e,t){av(e,t.contexts?.trace?.trace_id,t.transaction)}function pv(e,t){let n=e.getContext();if(t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id),e.recordingMode!==`buffer`||!t.tags?.replayId)return;let{beforeErrorSampling:r}=e.getOptions();(typeof r!=`function`||r(t))&&qd(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(t){e.handleException(t)}})}function mv(e){return t=>{e.isEnabled()&&sv(t)&&hv(e,t)}}function hv(e,t){let n=t.exception?.values?.[0]?.value;typeof n==`string`&&(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))&&Mg(e,Zg({category:`replay.hydrate-error`,data:{url:Mc()}}))}function gv(e){let t=F();t&&t.on(`beforeAddBreadcrumb`,t=>_v(e,t))}function _v(e,t){if(!e.isEnabled()||!bv(t))return;let n=vv(t);n&&Mg(e,n)}function vv(e){return!bv(e)||[`fetch`,`xhr`,`sentry.event`,`sentry.transaction`].includes(e.category)||e.category.startsWith(`ui.`)?null:e.category===`console`?yv(e):Zg(e)}function yv(e){let t=e.data?.arguments;if(!Array.isArray(t)||t.length===0)return Zg(e);let n=!1,r=t.map(e=>{if(!e)return e;if(typeof e==`string`)return e.length>Cp?(n=!0,`${e.slice(0,Cp)}\u2026`):e;if(typeof e==`object`)try{let t=Ze(e,7);return JSON.stringify(t).length>Cp?(n=!0,`${JSON.stringify(t,null,2).slice(0,Cp)}\u2026`):t}catch{}return e});return Zg({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:[`CONSOLE_ARG_TRUNCATED`]}}:{}}})}function bv(e){return!!e.category}function xv(e,t){return e.type||!e.exception?.values?.length?!1:!!t.originalException?.__rrweb__}function Sv(){let e=P().getPropagationContext().dsc;e&&delete e.replay_id;let t=Ar();if(t){let e=Jr(t);delete e.replay_id}}function Cv(e){let t=P().getPropagationContext().dsc;t&&(t.replay_id=e);let n=Ar();if(n){let t=Jr(n);t.replay_id=e}}function wv(e,t){e.triggerUserActivity(),e.addUpdate(()=>!t.timestamp||(e.throttledAddEvent({type:Sh.Custom,timestamp:t.timestamp*1e3,data:{tag:`breadcrumb`,payload:{timestamp:t.timestamp,type:`default`,category:`sentry.feedback`,data:{feedbackId:t.event_id}}}}),!1))}function Tv(e,t){return e.recordingMode!==`buffer`||t.message===mp||!t.exception||t.type?!1:H_(e.getOptions().errorSampleRate)}function Ev(e){return Object.assign((t,n)=>{if(e.session&&X_(e.session,{maxReplayDuration:e.getOptions().maxReplayDuration,sessionIdleExpire:e.timeouts.sessionIdleExpire})&&Sv(),!e.isEnabled()||e.isPaused())return t;if(lv(t))return delete t.breadcrumbs,t;if(!sv(t)&&!cv(t)&&!uv(t))return t;if(!e.checkAndHandleExpiredSession())return Sv(),t;if(uv(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),wv(e,t),t;if(xv(t,n)&&!e.getOptions()._experiments.captureExceptions)return z&&B.log(`Ignoring error from rrweb internals`,t),null;let r=Tv(e,t);if((r||e.recordingMode===`session`)&&(t.tags={...t.tags,replayId:e.getSessionId()}),r&&e.recordingMode===`buffer`&&e.session?.sampled===`buffer`){let t=e.session;t.dirty=!0,e.getOptions().stickySession&&U_(t)}return t},{id:`Replay`})}function Dv(e,t){return t.map(({type:t,start:n,end:r,name:i,data:a})=>{let o=e.throttledAddEvent({type:Sh.Custom,timestamp:n,data:{tag:`performanceSpan`,payload:{op:t,description:i,startTimestamp:n,endTimestamp:r,data:a}}});return typeof o==`string`?Promise.resolve(null):o})}function Ov(e){let{from:t,to:n}=e,r=Date.now()/1e3;return{type:`navigation.push`,start:r,end:r,name:n,data:{previous:t}}}function kv(e){return t=>{if(!e.isEnabled())return;let n=Ov(t);n!==null&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate(()=>(Dv(e,[n]),!1)))}}function Av(e,t){return z&&e.getOptions()._experiments.traceInternals?!1:ds(t,F())}function jv(e,t){e.isEnabled()&&t!==null&&(Av(e,t.name)||e.addUpdate(()=>(Dv(e,[t]),!0)))}function Mv(e){if(!e)return;let 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){let n=$d(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function Nv(e){if(!e)return;let t=parseInt(e,10);return isNaN(t)?void 0:t}function Pv(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};let n={...e._meta};return n.warnings=[...n.warnings||[],t],e._meta=n,e}function Fv(e,t){if(!t)return null;let{startTimestamp:n,endTimestamp:r,url:i,method:a,statusCode:o,request:s,response:c}=t;return{type:e,start:n/1e3,end:r/1e3,name:i,data:{method:a,statusCode:o,request:s,response:c}}}function Iv(e){return{headers:{},size:e,_meta:{warnings:[`URL_SKIPPED`]}}}function Lv(e,t,n){if(!t&&Object.keys(e).length===0)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};let r={headers:e,size:t},{body:i,warnings:a}=zv(n);return r.body=i,a?.length&&(r._meta={warnings:a}),r}function Rv(e,t){return Object.entries(e).reduce((n,[r,i])=>{let a=r.toLowerCase();return t.includes(a)&&e[r]&&(n[a]=i),n},{})}function zv(e){if(!e||typeof e!=`string`)return{body:e};let t=e.length>Sp,n=Bv(e);if(t){let t=e.slice(0,Sp);return n?{body:t,warnings:[`MAYBE_JSON_TRUNCATED`]}:{body:`${t}\u2026`,warnings:[`TEXT_TRUNCATED`]}}if(n)try{return{body:JSON.parse(e)}}catch{}return{body:e}}function Bv(e){let t=e[0],n=e[e.length-1];return t===`[`&&n===`]`||t===`{`&&n===`}`}function Vv(e,t){return ct(Hv(e),t)}function Hv(e,t=dp.document.baseURI){if(e.startsWith(`http://`)||e.startsWith(`https://`)||e.startsWith(dp.location.origin))return e;let n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;let r=n.href;return!e.endsWith(`/`)&&r.endsWith(`/`)?r.slice(0,-1):r}async function Uv(e,t,n){try{let r=Fv(`resource.fetch`,await Gv(e,t,n));jv(n.replay,r)}catch(e){z&&B.exception(e,`Failed to capture fetch breadcrumb`)}}
24function Wv(e,t){let{input:n,response:r}=t,i=Mv(n?tf(n):void 0),a=r?Nv(r.headers.get(`content-length`)):void 0;i!==void 0&&(e.data.request_body_size=i),a!==void 0&&(e.data.response_body_size=a)}async function Gv(e,t,n){let r=Date.now(),{startTimestamp:i=r,endTimestamp:a=r}=t,{url:o,method:s,status_code:c=0,request_body_size:l,response_body_size:u}=e.data,d=Vv(o,n.networkDetailAllowUrls)&&!Vv(o,n.networkDetailDenyUrls);return{startTimestamp:i,endTimestamp:a,url:o,method:s,statusCode:c,request:d?Kv(n,t.input,l):Iv(l),response:await qv(d,n,t.response,u)}}function Kv({networkCaptureBodies:e,networkRequestHeaders:t},n,r){let i=n?Zv(n,t):{};if(!e)return Lv(i,r,void 0);let[a,o]=ef(tf(n),B),s=Lv(i,r,a);return o?Pv(s,o):s}async function qv(e,{networkCaptureBodies:t,networkResponseHeaders:n},r,i){if(!e&&i!==void 0)return Iv(i);let a=r?Xv(r.headers,n):{};if(!r||!t&&i!==void 0)return Lv(a,i,void 0);let[o,s]=await Yv(r),c=Jv(o,{networkCaptureBodies:t,responseBodySize:i,captureDetails:e,headers:a});return s?Pv(c,s):c}function Jv(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:i}){try{let a=e?.length&&n===void 0?Mv(e):n;return r?t?Lv(i,a,e):Lv(i,a,void 0):Iv(a)}catch(e){return z&&B.exception(e,`Failed to serialize response body`),Lv(i,n,void 0)}}async function Yv(e){let t=$v(e);if(!t)return[void 0,`BODY_PARSE_ERROR`];try{return[await ey(t)]}catch(e){return e instanceof Error&&e.message.indexOf(`Timeout`)>-1?(z&&B.warn(`Parsing text body from response timed out`),[void 0,`BODY_PARSE_TIMEOUT`]):(z&&B.exception(e,`Failed to get text body from response`),[void 0,`BODY_PARSE_ERROR`])}}function Xv(e,t){let n={};return t.forEach(t=>{e.get(t)&&(n[t]=e.get(t))}),n}function Zv(e,t){return e.length===1&&typeof e[0]!=`string`?Qv(e[0],t):e.length===2?Qv(e[1],t):{}}function Qv(e,t){if(!e)return{};let n=e.headers;return n?n instanceof Headers?Xv(n,t):Array.isArray(n)?{}:Rv(n,t):{}}function $v(e){try{return e.clone()}catch(e){z&&B.exception(e,`Failed to clone response body`)}}function ey(e){return new Promise((t,n)=>{let r=qd(()=>n(Error(`Timeout while trying to read response body`)),500);ty(e).then(e=>t(e),e=>n(e)).finally(()=>clearTimeout(r))})}async function ty(e){return await e.text()}async function ny(e,t,n){try{let r=Fv(`resource.xhr`,iy(e,t,n));jv(n.replay,r)}catch(e){z&&B.exception(e,`Failed to capture xhr breadcrumb`)}}function ry(e,t){let{xhr:n,input:r}=t;if(!n)return;let i=Mv(r),a=n.getResponseHeader(`content-length`)?Nv(n.getResponseHeader(`content-length`)):sy(n.response,n.responseType);i!==void 0&&(e.data.request_body_size=i),a!==void 0&&(e.data.response_body_size=a)}function iy(e,t,n){let r=Date.now(),{startTimestamp:i=r,endTimestamp:a=r,input:o,xhr:s}=t,{url:c,method:l,status_code:u=0,request_body_size:d,response_body_size:f}=e.data;if(!c)return null;if(!s||!Vv(c,n.networkDetailAllowUrls)||Vv(c,n.networkDetailDenyUrls))return{startTimestamp:i,endTimestamp:a,url:c,method:l,statusCode:u,request:Iv(d),response:Iv(f)};let p=s[Jd],m=p?Rv(p.request_headers,n.networkRequestHeaders):{},h=Rv(nf(s),n.networkResponseHeaders),[g,_]=n.networkCaptureBodies?ef(o,B):[void 0],[v,y]=n.networkCaptureBodies?ay(s):[void 0],b=Lv(m,d,g),x=Lv(h,f,v);return{startTimestamp:i,endTimestamp:a,url:c,method:l,statusCode:u,request:_?Pv(b,_):b,response:y?Pv(x,y):x}}function ay(e){let t=[];try{return[e.responseText]}catch(e){t.push(e)}try{return oy(e.response,e.responseType)}catch(e){t.push(e)}return z&&B.warn(`Failed to get xhr response body`,...t),[void 0]}function oy(e,t){try{if(typeof e==`string`)return[e];if(e instanceof Document)return[e.body.outerHTML];if(t===`json`&&Oe(e))return[JSON.stringify(e)];if(!e)return[void 0]}catch(t){return z&&B.exception(t,`Failed to serialize body`,e),[void 0,`BODY_PARSE_ERROR`]}return z&&B.log(`Skipping network body because of body type`,e),[void 0,`UNPARSEABLE_BODY_TYPE`]}function sy(e,t){try{return Mv(t===`json`&&Oe(e)?JSON.stringify(e):e)}catch{return}}function cy(e){let t=F();try{let{networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:i,networkRequestHeaders:a,networkResponseHeaders:o}=e.getOptions(),s={replay:e,networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:i,networkRequestHeaders:a,networkResponseHeaders:o};t&&t.on(`beforeAddBreadcrumb`,(e,t)=>ly(s,e,t))}catch{}}
24function ly(e,t,n){if(t.data)try{uy(t)&&fy(n)&&(ry(t,n),ny(t,n,e)),dy(t)&&py(n)&&(Wv(t,n),Uv(t,n,e))}catch(e){z&&B.exception(e,`Error when enriching network breadcrumb`)}}function uy(e){return e.category===`xhr`}function dy(e){return e.category===`fetch`}function fy(e){return e?.xhr}function py(e){return e?.input!==void 0}function my(e){let t=F();Pd(n_(e)),Vd(kv(e)),gv(e),cy(e),Ra(Ev(e)),t&&(t.on(`beforeSendEvent`,mv(e)),t.on(`afterSendEvent`,dv(e)),t.on(`createDsc`,t=>{let n=e.getSessionId();n&&e.isEnabled()&&e.recordingMode===`session`&&e.checkAndHandleExpiredSession()&&(t.replay_id=n)}),t.on(`processSegmentSpan`,ov(e)),t.on(`spanStart`,t=>{e.lastActiveSpan=t}),t.on(`spanEnd`,t=>{e.lastActiveSpan=t}),t.on(`beforeSendFeedback`,async(t,n)=>{let r=e.getSessionId();n?.includeReplay&&e.isEnabled()&&r&&t.contexts?.feedback&&(t.contexts.feedback.source===`api`&&await e.sendBufferedReplayOrFlush(),t.contexts.feedback.replay_id=r)}),t.on(`openFeedbackWidget`,async()=>{await e.sendBufferedReplayOrFlush()}))}async function hy(e){try{return Promise.all(Dv(e,[gy(dp.performance.memory)]))}catch{return[]}}function gy(e){let{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,i=Date.now()/1e3;return{type:`memory`,name:`memory`,start:i,end:i,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}function _y(e,t,n){return Ji(e,t,{...n,setTimeoutImpl:qd})}var vy=p.navigator;function yy(){return/iPhone|iPad|iPod/i.test(vy?.userAgent??``)||/Macintosh/i.test(vy?.userAgent??``)&&vy?.maxTouchPoints&&vy?.maxTouchPoints>1?{sampling:{mousemove:!1}}:{}}function by(e){let t=!1;return(n,r)=>{try{if(!e.checkAndHandleExpiredSession()){z&&B.warn(`Received replay event after session expired.`);return}let i=r||!t;t=!0,xy(n),e.clickDetector&&Jg(e.clickDetector,n),e.addUpdate(()=>{if(e.recordingMode===`buffer`&&i&&e.setInitialState(),!$_(e,n,i))return!0;if(!i)return!1;let t=e.session;if(Cy(e,i),e.recordingMode===`buffer`&&t&&e.eventBuffer&&!t.dirty){let n=e.eventBuffer.getEarliestTimestamp();n&&(z&&B.log(`Updating session start time to earliest event in buffer to ${new Date(n)}`),t.started=n,e.getOptions().stickySession&&U_(t))}return t?.previousSessionId||e.recordingMode===`session`&&e.flush(),!0})}catch(t){e.handleException(t)}}}function xy(e){let t=e.data;if(e.type===Sh.IncrementalSnapshot&&t&&typeof t==`object`&&`source`in t&&t.source===R.Mutation&&`attributes`in t&&Array.isArray(t.attributes))for(let e of t.attributes){let t=wg.mirror.getNode(e.id),n=t&&wg.mirror.getMeta(t);if(!t||n?.type!==Qg.Element)continue;let r={...n.attributes},i=!1;for(let[t,n]of Object.entries(e.attributes))e_.has(t)&&(n===null?delete r[t]:r[t]=n,i=!0);i&&wg.mirror.add(t,{...n,attributes:r})}}function Sy(e){let t=e.getOptions();return{type:Sh.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>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}function Cy(e,t){t&&e.session?.segmentId===0&&$_(e,Sy(e),!1)}function wy(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}function Ty(e,t,n,r){return Xr(li(e,ci(e),r,n),[[{type:`replay_event`},e],[{type:`replay_recording`,length:typeof t==`string`?new TextEncoder().encode(t).length:t.length},t]])}function Ey({recordingData:e,headers:t}){let n,r=`${JSON.stringify(t)}
25`;if(typeof e==`string`)n=`${r}${e}`;else{let t=new TextEncoder().encode(r);n=new Uint8Array(t.length+e.length),n.set(t),n.set(e,t.length)}return n}async function Dy({client:e,scope:t,replayId:n,event:r}){let i={event_id:n,integrations:typeof e._integrations==`object`&&e._integrations!==null&&!Array.isArray(e._integrations)?Object.keys(e._integrations):void 0};e.emit(`preprocessEvent`,r,i);let a=await Ca(e.getOptions(),r,i,t,e,on());if(!a)return null;e.emit(`postprocessEvent`,a,i),a.platform=a.platform||`javascript`;let{name:o,version:s,settings:c}=e.getSdkMetadata()?.sdk||{};return a.sdk={...a.sdk,name:o||`sentry.javascript.unknown`,version:s||`0.0.0`,settings:c},a}async function Oy({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:i,session:a}){let o=Ey({recordingData:e,headers:{segment_id:n}}),{urls:s,errorIds:c,traceIds:l,segmentNames:u,initialTimestamp:d}=r,f=F(),p=P(),m=f?.getTransport(),h=f?.getDsn();if(!f||!m||!h||!a.sampled)return Promise.resolve({});let g=await Dy({scope:p,client:f,replayId:t,event:{type:pp,replay_start_timestamp:d/1e3,timestamp:i/1e3,error_ids:c,trace_ids:l,segment_names:u,urls:s,replay_id:t,segment_id:n,replay_type:a.sampled}});if(!g)return f.recordDroppedEvent(`event_processor`,`replay`),z&&B.log("An event processor returned `null`, will not send event."),Promise.resolve({});delete g.sdkProcessingMetadata;let _=Ty(g,o,h,f.getOptions().tunnel),v;try{v=await m.send(_)}catch(e){let t=Error(mp);try{t.cause=e}catch{}throw t}let y=To({},v);if(wo(y,`replay`))throw new Ay(y);if(typeof v.statusCode==`number`&&(v.statusCode<200||v.statusCode>=300))throw new ky(v.statusCode);return v}
25var ky=class extends Error{constructor(e){super(`Transport returned status code ${e}`)}},Ay=class extends Error{constructor(e){super(`Rate limit hit`),this.rateLimits=e}},jy=class extends Error{constructor(){super(`Session is too long, not sending replay`)}};async function My(e,t={count:0,interval:bp}){let{recordingData:n,onError:r}=e;if(n.length)try{return await Oy(e),!0}catch(n){if(n instanceof ky||n instanceof Ay)throw n;if(Ia(`Replays`,{_retryCount:t.count}),r&&r(n),t.count>=xp){let e=Error(`${mp} - max retries exceeded`);try{e.cause=n}catch{}throw e}return t.interval*=++t.count,new Promise((n,r)=>{qd(async()=>{try{await My(e,t),n(!0)}catch(e){r(e)}},t.interval)})}}var Ny=`__THROTTLED`,Py=`__SKIPPED`;function Fy(e,t,n){let r=new Map,i=e=>{let t=e-n;r.forEach((e,n)=>{n<t&&r.delete(n)})},a=()=>[...r.values()].reduce((e,t)=>e+t,0),o=!1;return(...n)=>{let s=Math.floor(Date.now()/1e3);if(i(s),a()>=t){let e=o;return o=!0,e?Py:Ny}o=!1;let c=r.get(s)||0;return r.set(s,c+1),e(...n)}}var Iy=class{constructor({options:e,recordingOptions:t}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode=`session`,this.timeouts={sessionIdlePause:hp,sessionIdleExpire:gp},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,segmentNames:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:``},this._recordingOptions=t,this._options=e,this._debouncedFlush=_y(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=Fy((e,t)=>ev(this,e,t),300,5);let{slowClickTimeout:n,slowClickIgnoreSelectors:r}=this.getOptions(),i=n?{threshold:Math.min(wp,n),timeout:n,scrollTimeout:Tp,ignoreSelector:r?r.join(`,`):``}:void 0;if(i&&(this.clickDetector=new Ug(this,i)),z){let t=e._experiments;B.setConfig({captureExceptions:!!t.captureExceptions,traceInternals:!!t.traceInternals})}this._handleVisibilityChange=()=>{dp.document.visibilityState===`visible`?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{let e=Zg({category:`ui.blur`});this._doChangeToBackgroundTasks(e)},this._handleWindowFocus=()=>{let e=Zg({category:`ui.focus`});this._doChangeToForegroundTasks(e)},this._handleKeyboardEvent=e=>{s_(this,e)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(e){z&&B.exception(e),this._options.onError&&this._options.onError(e)}initializeSampling(e){let{errorSampleRate:t,sessionSampleRate:n}=this._options,r=t<=0&&n<=0;if(this._requiresManualStart=r,!r){if(this._initializeSessionForSampling(e),!this.session){z&&B.exception(Error(`Unable to initialize and create session`));return}this.session.sampled!==!1&&(this.recordingMode=this.session.sampled===`buffer`&&this.session.segmentId===0?`buffer`:`session`,z&&B.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&&this.recordingMode===`session`){z&&B.log(`Recording is already in progress`);return}if(this._isEnabled&&this.recordingMode===`buffer`){z&&B.log("Buffering is in progress, call `flush()` to save the replay");return}z&&B.infoTick(`Starting replay in session mode`),this._updateUserActivity();let e=Z_({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this.recordingMode=`session`,this._initializeRecording()}startBuffering(){if(this._isEnabled){z&&B.log("Buffering is in progress, call `flush()` to save the replay");return}z&&B.infoTick(`Starting replay in buffer mode`);let e=Z_({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode=`buffer`,this._initializeRecording()}startRecording(){try{let e=this._canvas;this._stopRecording=wg({...this._recordingOptions,...this.recordingMode===`buffer`?{checkoutEveryNms:yp}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:by(this),...yy(),onMutation:this._onMutationHandler.bind(this),...e?{recordCanvas:e.recordCanvas,getCanvasManager:e.getCanvasManager,sampling:e.sampling,dataURLOptions:e.dataURLOptions}:{}})}catch(e){this.handleException(e)}}stopRecording(){try{return this._stopRecording&&=(this._stopRecording(),void 0),!0}catch(e){return this.handleException(e),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(!this._isEnabled)return;this._isEnabled=!1,this.recordingMode=`buffer`;let n=t??`manual`;F()?.emit(`replayEnd`,{sessionId:this.session?.id,reason:n});try{z&&B.log(`Stopping Replay triggered by ${n}`),Sv(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer?.destroy(),this.eventBuffer=null,B_(this)}catch(e){this.handleException(e)}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),z&&B.log(`Pausing replay`))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),z&&B.log(`Resuming replay`))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if(this.recordingMode===`session`)return this.flushImmediate();let t=Date.now();
25z&&B.log(`Converting buffer to session`),await this.flushImmediate();let n=this.stopRecording();e&&n&&this.recordingMode!==`session`&&(this.recordingMode=`session`,this.session&&(this.session.dirty=!1,this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession(),Cv(this.session.id)),this.startRecording())}addUpdate(e){let t=e();this.recordingMode!==`buffer`&&this._isEnabled&&t!==!0&&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(e){if(!(e&&this.session?.sampled===!1))return this.session?.id}checkAndHandleExpiredSession(){if(this._lastActivity&&J_(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session?.sampled===`session`){this.pause();return}return!!this._checkSession()}setInitialState(){let e=`${dp.location.pathname}${dp.location.hash}${dp.location.search}`,t=`${dp.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){let n=this._throttledAddEvent(e,t);if(n===Ny){let e=Zg({category:`replay.throttled`});this.addUpdate(()=>!$_(this,{type:kg,timestamp:e.timestamp||0,data:{tag:`breadcrumb`,payload:e,metric:!0}}))}return n}getCurrentRoute(){let e=this.lastActiveSpan||Ar(),t=e&&Or(e),n=(t&&pr(t).data||{})[un];if(t&&n&&[`route`,`custom`].includes(n))return pr(t).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=I_({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.session&&F()?.emit(`replayStart`,{sessionId:this.session.id,recordingMode:this.recordingMode}),this.startRecording(),this.recordingMode===`session`&&this.session&&Cv(this.session.id)}_initializeSessionForSampling(e){let t=this._options.errorSampleRate>0,n=Z_({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=n}_checkSession(){if(!this.session)return!1;let e=this.session;return!X_(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:`sessionExpired`}),this.initializeSampling(e.id))}_addListeners(){try{dp.document.addEventListener(`visibilitychange`,this._handleVisibilityChange),dp.addEventListener(`blur`,this._handleWindowBlur),dp.addEventListener(`focus`,this._handleWindowFocus),dp.addEventListener(`keydown`,this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||=(my(this),!0)}catch(e){this.handleException(e)}this._performanceCleanupCallback=C_(this)}_removeListeners(){try{dp.document.removeEventListener(`visibilitychange`,this._handleVisibilityChange),dp.removeEventListener(`blur`,this._handleWindowBlur),dp.removeEventListener(`focus`,this._handleWindowFocus),dp.removeEventListener(`keydown`,this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this.handleException(e)}}_doChangeToBackgroundTasks(e){if(this.session){if(X_(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})){Sv();return}e&&this._createCustomBreadcrumb(e),this.conditionalFlush()}}_doChangeToForegroundTasks(e){if(this.session){if(!this.checkAndHandleExpiredSession()){z&&B.log(`Document has become active, but session has expired`);return}e&&this._createCustomBreadcrumb(e)}}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{this.throttledAddEvent({type:Sh.Custom,timestamp:e.timestamp||0,data:{tag:`breadcrumb`,payload:e}})})}_addPerformanceEntries(){let e=f_(this.performanceEntries).concat(this.replayPerformanceEntries);if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){let t=this._context.
25initialTimestamp/1e3;e=e.filter(e=>e.start>=t)}return Promise.all(Dv(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.segmentNames.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){let{session:e,eventBuffer:t}=this;if(!e||!t||this._requiresManualStart||e.segmentId)return;let n=t.getEarliestTimestamp();n&&n<this._context.initialTimestamp&&(this._context.initialTimestamp=n)}_popEventContext(){let e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),segmentNames:Array.from(this._context.segmentNames),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){let e=this.getSessionId();if(!this.session||!this.eventBuffer||!e){z&&B.error(`No session or eventBuffer found to flush.`);return}if(await this._addPerformanceEntries(),this.eventBuffer?.hasEvents&&(await hy(this),this.eventBuffer&&e===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();let t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new jy;let n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession(),await My({replayId:e,recordingData:await this.eventBuffer.finish(),segmentId:r,eventContext:n,session:this.session,timestamp:t,onError:e=>this.handleException(e)})}catch(e){this.handleException(e),this.stop({reason:`sendError`});let t=F();if(t){let n;n=e instanceof Ay?`ratelimit_backoff`:e instanceof jy?`invalid`:`send_error`,t.recordDroppedEvent(n,`replay`)}}}async _flush({force:e=!1}={}){if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession()){z&&B.error(`Attempting to finish replay event after session expired.`);return}if(!this.session)return;let t=this.session.started,n=Date.now()-t;this._debouncedFlush.cancel();let r=n<this._options.minReplayDuration,i=n>this._options.maxReplayDuration+5e3;if(r||i){z&&B.log(`Session duration (${Math.floor(n/1e3)}s) is too ${r?`short`:`long`}, not sending replay.`),r&&this._debouncedFlush();return}let a=this.eventBuffer;a&&this.session.segmentId===0&&!a.hasCheckout&&z&&B.log(`Flushing initial segment without checkout.`);let o=!!this._flushLock;this._flushLock||=this._runFlush();try{await this._flushLock}catch(e){this.handleException(e)}finally{this._flushLock=void 0,o&&this._debouncedFlush()}}_maybeSaveSession(){this.session&&this._options.stickySession&&U_(this.session)}_onMutationHandler(e){let{ignoreMutations:t}=this._options._experiments;if(t?.length&&e.some(e=>{let n=wy(e.target),r=t.join(`,`);return n?.matches(r)}))return!1;let n=e.length,r=this._options.mutationLimit,i=this._options.mutationBreadcrumbLimit,a=r&&n>r;if(n>i||a){let e=Zg({category:`replay.mutations`,data:{count:n,limit:a}});this._createCustomBreadcrumb(e)}return!a||(this.stop({reason:`mutationLimit`,forceFlush:this.recordingMode===`session`}),!1)}};function Ly(e,t){return[...e,...t].join(`,`)}function Ry({mask:e,unmask:t,block:n,unblock:r,ignore:i}){return{maskTextSelector:Ly(e,[`.sentry-mask`,`[data-sentry-mask]`]),unmaskTextSelector:Ly(t,[]),blockSelector:Ly(n,[`.sentry-block`,`[data-sentry-block]`,`base`,`iframe[srcdoc]:not([src])`]),unblockSelector:Ly(r,[]),ignoreSelector:Ly(i,[`.sentry-ignore`,`[data-sentry-ignore]`,`input[type="file"]`])}}function zy({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:i,value:a}){if(i.unmaskTextSelector&&e.matches(i.unmaskTextSelector))return a;let o=n.includes(t),s=r&&t===`value`&&e.tagName===`INPUT`&&[`submit`,`button`].includes(e.getAttribute(`type`)||``);return o||s?a.replace(/[\S]/g,`*`):a}var By=`img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]`,Vy=[`content-length`,`content-type`,`accept`],Hy=Symbol.for(`sentry__originalRequestBody`),Uy=!1,Wy=!1;function Gy(){if(typeof Request>`u`||Wy)return;let e=Request;try{let t=function(t,n){let r=new e(t,n);return n?.body!=null&&(r[Hy]=n.body),r};t.prototype=e.prototype,p.Request=t,Wy=!0}catch{}}var Ky=(e=>new qy(e)),qy=class{constructor({flushMinDelay:e=_p,flushMaxDelay:t=vp,minReplayDuration:n=Dp,maxReplayDuration:r=kp,stickySession:i=!0,useCompression:a=!0,workerUrl:o,_experiments:s={},maskAllText:c=!0,maskAllInputs:l=!0,blockAllMedia:u=!0,mutationBreadcrumbLimit:d=750,mutationLimit:f=1e4,slowClickTimeout:p=7e3,slowClickIgnoreSelectors:m=[],networkDetailAllowUrls:h=[],networkDetailDenyUrls:g=[],networkCaptureBodies:_=!0,networkRequestHeaders:v=[],networkResponseHeaders:y=[],mask:b=[],maskAttributes:x=[`title`,`placeholder`,`aria-label`],unmask:S=[],block:C=[],unblock:w=[],ignore:T=[],maskFn:E,beforeAddRecordingEvent:D,beforeErrorSampling:O,onError:ee,attachRawBodyFromRequest:k=!1}={}){this.name=`Replay`;let te=Ry({mask:b,unmask:S,block:C,unblock:w,ignore:T});if(this._recordingOptions={maskAllInputs:l,maskAllText:c,maskInputOptions:{password:!0},maskTextFn:E,maskInputFn:E,maskAttributeFn:(e,t,n)=>zy({maskAttributes:x,maskAllText:c,privacyOptions:te,key:e,value:t,el:n}),...te,slimDOMOptions:`all`,inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch{}},recordCrossOriginIframes:!!s.recordCrossOriginIframes},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(n,Op),maxReplayDuration:Math.min(r,kp),stickySession:i,useCompression:a,workerUrl:o,blockAllMedia:u,maskAllInputs:l,maskAllText:c,mutationBreadcrumbLimit:d,mutationLimit:f,slowClickTimeout:p,slowClickIgnoreSelectors:m,networkDetailAllowUrls:h,networkDetailDenyUrls:g,networkCaptureBodies:_,networkRequestHeaders:Yy(v),networkResponseHeaders:Yy(y),beforeAddRecordingEvent:D,beforeErrorSampling:O,onError:ee,attachRawBodyFromRequest:k,_experiments:s},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${By}`:By,this._recordingOptions.ignoreCSSAttributes=new Set([`background-image`])),this._isInitialized&&io())throw Error(`Multiple Sentry Session Replay instances are not supported`);this._isInitialized=!0}get _isInitialized(){return Uy}set _isInitialized(e){Uy=e}afterAllSetup(e){io()&&!this._replay&&(this._initialOptions.attachRawBodyFromRequest&&Gy(),this._setup(e),this._initialize(e))}start(){this._replay&&this._replay.start()}
25startBuffering(){this._replay&&this._replay.startBuffering()}stop(e){return this._replay?this._replay.stop({forceFlush:e?.flush??this._replay.recordingMode===`session`,reason:`manual`}):Promise.resolve()}flush(e){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(e){if(this._replay?.isEnabled())return this._replay.getSessionId(e)}getRecordingMode(){if(this._replay?.isEnabled())return this._replay.recordingMode}processSpan(e){let t=this.getReplayId(!0);t&&(la(e,{"sentry.replay_id":t}),this.getRecordingMode()===`buffer`&&la(e,{"sentry._internal.replay_is_buffering":!0}))}_initialize(e){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(e),this._replay.initializeSampling())}_setup(e){let t=Jy(this._initialOptions,e);this._replay=new Iy({options:t,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(e){try{let t=e.getIntegrationByName(`ReplayCanvas`);if(!t)return;this._replay._canvas=t.getOptions()}catch{}}};function Jy(e,t){let n=t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...e},i=Zn(n.replaysSessionSampleRate),a=Zn(n.replaysOnErrorSampleRate);return i==null&&a==null&&x(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),i!=null&&(r.sessionSampleRate=i),a!=null&&(r.errorSampleRate=a),r}function Yy(e){return[...Vy,...e.map(e=>e.toLowerCase())]}function Xy(e){return e.split(`,`).some(e=>e.trim().startsWith(`sentry-`))}function Zy(e){try{return new URL(e,Pc.location.origin).href}catch{return}}function Qy(e){return e.entryType===`resource`&&`initiatorType`in e&&typeof e.nextHopProtocol==`string`&&(e.initiatorType===`fetch`||e.initiatorType===`xmlhttprequest`)}function $y(e){try{return new Headers(e)}catch{return}}var eb={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function tb(e,t){let{traceFetch:n,traceXHR:r,shouldCreateSpanForRequest:i,enableHTTPTimings:a,tracePropagationTargets:o,onRequestSpanStart:s,onRequestSpanEnd:c}
25={...eb,...t},l=typeof i==`function`?i:e=>!0,u=e=>ib(e,o),d={},f=e.getOptions().propagateTraceparent;n&&Sc(t=>{let n=sc(t,l,u,d,{propagateTraceparent:f,onRequestSpanEnd:c});if(n){let r=Zy(t.fetchData.url),i=r?cs(r).host:void 0,o=r?us(r):void 0;n.setAttributes({[ia]:o,[sa]:o,"server.address":i}),a&&rb(n,e),s?.(n,{headers:t.headers})}}),r&&Yd(t=>{let n=ab(t,l,u,d,f,c);n&&(a&&rb(n,e),s?.(n,{headers:$y(t.xhr.__sentry_xhr_v3__?.request_headers)}))})}var nb=300;function rb(e,t){let{url:n}=pr(e).data;if(!n||typeof n!=`string`)return;let r=()=>void setTimeout(i);if(yi(t)){let t=e.end.bind(e);e.end=e=>{let n=e??Ct(),a=!1,o=()=>{a||(a=!0,setTimeout(i),t(n),clearTimeout(s))};r=o;let s=setTimeout(o,nb)}}let i=su(`resource`,({entries:t})=>{t.forEach(t=>{Qy(t)&&t.name.endsWith(n)&&(e.setAttributes(Ru(t)),r())})})}function ib(e,t){let n=Mc();if(n){let r,i;try{r=new URL(e,n),i=new URL(n).origin}catch{return!1}let a=r.origin===i;return t?ct(r.toString(),t)||a&&ct(r.pathname,t):a}{let n=!!e.match(/^\/(?!\/)/);return t?ct(e,t):n}}function ab(e,t,n,r,i,a){let o=e.xhr,s=o?.[Jd];if(!o||o.__sentry_own_request__||!s)return;let{url:c,method:l}=s,u=Pr()&&t(c);if(e.endTimestamp){let t=o.__sentry_xhr_span_id__;if(!t)return;let n=r[t];n&&(u&&s.status_code!==void 0&&(wn(n,s.status_code),n.end(),a?.(n,{headers:$y(nf(o)),error:e.error})),delete r[t]);return}let d=Zy(c),f=cs(d||c),p=d?us(d):void 0,m=us(ls(c)),h=F(),g=!!Ar(),_=g||!!h&&yi(h),v=u&&_?Oi({name:`${l} ${m}`,attributes:{url:us(c),type:`xhr`,"http.method":l,"http.url":p,[sa]:p,"server.address":f?.host,[mn]:`auto.http.browser`,[pn]:`http.client`,...f?.search&&{"http.query":f?.search},...f?.hash&&{"http.fragment":f?.hash}}}):new Vr,y=Bi(v)&&g?void 0:v;return u&&!_&&h?.recordDroppedEvent(`no_parent_span`,`span`),o.__sentry_xhr_span_id__=v.spanContext().spanId,r[o.__sentry_xhr_span_id__]=v,n(c)&&ob(o,Pr()&&_?y:void 0,i),h&&h.emit(`beforeOutgoingRequestSpan`,v,e),v}function ob(e,t,n){let{"sentry-trace":r,baggage:i,traceparent:a}=vs({span:t,propagateTraceparent:n});r&&sb(e,r,i,a)}function sb(e,t,n,r){let i=e.__sentry_xhr_v3__?.request_headers;if(!i?.[`sentry-trace`]&&e.setRequestHeader)try{if(e.setRequestHeader(`sentry-trace`,t),r&&!i?.traceparent&&e.setRequestHeader(`traceparent`,r),n){let t=i?.baggage;(!t||!Xy(t))&&e.setRequestHeader(`baggage`,n)}}catch{}}var cb=new WeakMap,lb=new WeakMap,ub=9e4,db=[`text/event-stream`,`application/x-ndjson`,`application/stream+json`],fb=eo(()=>({name:`FetchStreamPerformance`,setup(){Cc(e=>{if(e.response){let t=cb.get(e.response);if(t&&e.endTimestamp){t.end(e.endTimestamp);let n=lb.get(e.response);n&&clearTimeout(n)}}}),Sc(e=>{if(e.endTimestamp&&e.response){let t=e.response.headers?.get(`content-type`)||``;if(e.response.headers?.get(`content-length`)||!db.some(e=>t.startsWith(e)))return;let n=e.fetchData?.url||``,r=e.fetchData?.method||`GET`,i=os(n),a=Oi({name:`${r} ${n.startsWith(`data:`)?us(n):i?ss(i):n}`,startTime:e.endTimestamp,attributes:{url:us(n),"http.method":r,type:`fetch`,[pn]:`http.client.stream`,[mn]:`auto.http.browser.stream`}});cb.set(e.response,a);let o=setTimeout(()=>{a.isRecording()&&a.end()},ub);lb.set(e.response,o)}})}})),pb=`WebVitals`,mb=eo((e={})=>{let t=new Set(e.ignore??[]);return{name:pb,setup(n){let r=yi(n),{enableStandaloneClsSpans:i,enableStandaloneLcpSpans:a}=e._experiments??{},o=r||t.has(`cls`)?void 0:i||!1,s=r||t.has(`lcp`)?void 0:a||!1,c=Gu({recordClsStandaloneSpans:o,recordLcpStandaloneSpans:s,client:n}),l=new WeakSet;n.on(`afterStartPageLoadSpan`,e=>{l.add(e)}),n.on(`spanEnd`,e=>{l.delete(e)&&(c(),ed(e,{recordClsOnPageloadSpan:o===!1,recordLcpOnPageloadSpan:s===!1,spanStreamingEnabled:r}))}),r?(t.has(`lcp`)||wd(n),t.has(`cls`)||Ed(n),t.has(`inp`)||Od()):t.has(`inp`)||_d()},afterAllSetup(){t.has(`inp`)||Sd()}}});function hb(){Pc.document?Pc.document.addEventListener(`visibilitychange`,()=>{let e=Ar();if(!e)return;let t=Or(e);if(Pc.document.hidden&&t){let e=`cancelled`,{op:n,status:r}=pr(t);sf&&k.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${n}`),r||t.setStatus({code:2,message:e}),t.setAttribute(`sentry.cancellation_reason`,`document.hidden`),t.end()}}):sf&&k.warn(`[Tracing] Could not set up background tab detection due to lack of global document`)}var gb=`sentry_previous_trace`,_b=`sentry.previous_trace`;function vb(e,{linkPreviousTrace:t,consistentTraceSampling:n}){let r=t===`session-storage`,i=r?xb():void 0;e.on(`spanStart`,e=>{if(Or(e)!==e)return;let t=P().getPropagationContext();i=yb(i,e,t),r&&bb(i)});let a=!0;n&&e.on(`beforeSampling`,e=>{if(!i)return;let t=P(),n=t.getPropagationContext();if(a&&n.parentSpanId){a=!1;return}t.setPropagationContext({...n,dsc:{...n.dsc,sample_rate:String(i.sampleRate),sampled:String(Sb(i.spanContext))},sampleRand:i.sampleRand}),e.parentSampled=Sb(i.spanContext),e.parentSampleRate=i.sampleRate,e.spanAttributes={...e.spanAttributes,[fn]:i.sampleRate}})}function yb(e,t,n){let r=pr(t);function i(){try{let e=Number(r.data?.[`sentry.sample_rate`]??n.dsc?.sample_rate);return Number.isNaN(e)?0:e}catch{return 0}}let a={spanContext:t.spanContext(),startTimestamp:r.start_timestamp,sampleRate:i(),sampleRand:n.sampleRand};if(!e)return a;let o=e.spanContext;return o.traceId===r.trace_id?e:(Date.now()/1e3-e.startTimestamp<=3600&&(sf&&k.log(`Adding previous_trace \`${JSON.stringify(o)}\` link to span \`${JSON.stringify({op:r.op,...t.spanContext()})}\``),t.addLink({context:o,attributes:{[xn]:`previous_trace`}}),t.setAttribute(_b,`${o.traceId}-${o.spanId}-${+!!Sb(o)}`)),a)}function bb(e){try{Pc.sessionStorage.setItem(gb,JSON.stringify(e))}catch(e){sf&&k.warn(`Could not store previous trace in sessionStorage`,e)}}function xb(){try{let e=Pc.sessionStorage?.getItem(gb);return JSON.parse(e)}catch{return}}function Sb(e){return e.traceFlags===1}var Cb=`BrowserTracing`,wb=/Googlebot|Google-InspectionTool|Storebot-Google|Bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Facebot|facebookexternalhit|LinkedInBot|Twitterbot|Applebot/i;function Tb(){let e=Pc.navigator;return e?.userAgent?wb.test(e.userAgent):!1}var Eb={...Vi,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroun
25dSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:`in-memory`,consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...eb},Db=((e={})=>{`enableElementTiming`in e&&x(()=>{console.warn("[Sentry] `enableElementTiming` is deprecated and no longer has any effect. Use the standalone `elementTimingIntegration` instead.")});let t={name:void 0,source:void 0},n=Pc.document,{enableInp:r,enableLongTask:i,enableLongAnimationFrame:a,_experiments:{enableInteractions:o,enableStandaloneClsSpans:s,enableStandaloneLcpSpans:c},beforeStartSpan:l,idleTimeout:u,finalTimeout:d,childSpanTimeout:f,markBackgroundSpan:m,traceFetch:h,traceXHR:g,trackFetchStreamPerformance:_,shouldCreateSpanForRequest:v,enableHTTPTimings:y,ignoreResourceSpans:b,ignorePerformanceApiSpans:S,instrumentPageLoad:C,instrumentNavigation:w,detectRedirects:T,linkPreviousTrace:E,consistentTraceSampling:D,enableReportPageLoaded:O,onRequestSpanStart:ee,onRequestSpanEnd:te}={...Eb,...e},A=Tb(),ne,j;function re(e,r,i=!0,a){let o=r.op===`pageload`,s=r.name,c=l?l(r):r,p=os(a||Mc()),m={...p?.pathname&&{"url.path":p.pathname},...p&&!as(p)&&{"url.full":p.href},...c.attributes};if(s!==c.name&&(m[un]=`custom`),c.attributes=m,!i){let e=bt();Oi({...c,startTime:e}).end(e);return}t.name=c.name,t.source=m[un];let h=Ki(c,{idleTimeout:u,finalTimeout:d,childSpanTimeout:f,disableAutoFinish:o,beforeSpanEnd:t=>{$u(t,{ignoreResourceSpans:b,ignorePerformanceApiSpans:S,spanStreamingEnabled:yi(e)}),Fb(e,void 0);let n=P(),r=n.getPropagationContext();n.setPropagationContext({...r,traceId:h.spanContext().traceId,sampled:yr(h),dsc:Jr(t)}),o&&(j=void 0)},trimIdleSpanEndTimestamp:!O});o&&O&&(j=h),Fb(e,h);function g(){n&&[`interactive`,`complete`].includes(n.readyState)&&(e.emit(`idleSpanEnableAutoFinish`,h),n.removeEventListener(`readystatechange`,g))}o&&!O&&n&&(n.addEventListener(`readystatechange`,g),g())}return{name:Cb,setup(e){if(A){sf&&k.log(`[Tracing] Skipping browserTracingIntegration setup for bot user agent.`);return}if(Nr(),a&&p.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?.includes(`long-animation-frame`)?qu():i&&Ku(),o&&Ju(),T&&n){let e=()=>{ne=Ct()};addEventListener(`click`,e,{capture:!0}),addEventListener(`keydown`,e,{capture:!0,passive:!0})}function t(){let t=Pb(e);t&&!pr(t).timestamp&&(sf&&k.log(`[Tracing] Finishing current active span with op: ${pr(t).op}`),t.setAttribute(hn,`cancelled`),t.end())}e.on(`startNavigationSpan`,(n,r)=>{if(F()!==e)return;if(r?.isRedirect){sf&&k.warn(`[Tracing] Detected redirect, navigation span will not be the root span, but a child span.`),re(e,{op:`navigation.redirect`,...n},!1,r.url);return}ne=void 0,t();let i=P();i.setPropagationContext({traceId:Mt(),sampleRand:Math.random(),propagationSpanId:Pr()?void 0:Nt()}),i.setSDKProcessingMetadata({normalizedRequest:void 0}),re(e,{op:`navigation`,...n,parentSpan:null,forceTransaction:!0},!0,r?.url)}),e.on(`startPageLoadSpan`,(n,r={})=>{if(F()!==e)return;t();let i=er(r.sentryTrace||Ab(`sentry-trace`)||jb(`sentry-trace`),r.baggage||Ab(`baggage`)||jb(`baggage`)),a=P();a.setPropagationContext(i),Pr()||(a.getPropagationContext().propagationSpanId=Nt()),a.setSDKProcessingMetadata({normalizedRequest:zc()}),re(e,{op:`pageload`,...n})}),e.on(`endPageloadSpan`,()=>{O&&j&&(j.setAttribute(hn,`reportPageLoaded`),j.end())})},afterAllSetup(e){if(A)return;e.addIntegration&&!e.getIntegrationByName?.(`WebVitals`)&&e.addIntegration(mb({ignore:r?[]:[`inp`],_experiments:{enableStandaloneClsSpans:s,enableStandaloneLcpSpans:c}}));let n=Mc();if(E!==`off`&&vb(e,{linkPreviousTrace:E,consistentTraceSampling:D}),Pc.location){if(C){let t=Et();Ob(e,{name:Pc.location.pathname,startTime:t?t/1e3:void 0,attributes:{[un]:`url`,[mn]:`auto.pageload.browser`}})}w&&Vd(({to:t,from:r})=>{if(r===void 0&&n?.indexOf(t)!==-1){n=void 0;return}n=void 0;let i=os(t),a=Pb(e),o=a&&T&&Lb(a,ne);kb(e,{name:i?.pathname||Pc.location.pathname,attributes:{[un]:`url`,[mn]:`auto.navigation.browser`}},{url:t,isRedirect:o})})}m&&hb(),o&&Mb(e,u,d,f,t),tb(e,{traceFetch:h,traceXHR:g,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:v,enableHTTPTimings:y,onRequestSpanStart:ee,onRequestSpanEnd:te}),_&&e.addIntegration(fb())}}});function Ob(e,t,n){e.emit(`startPageLoadSpan`,t,n),P().setTransactionName(t.name);let r=Pb(e);return r&&e.emit(`afterStartPageLoadSpan`,r),r}function kb(e,t,n){let{url:r,isRedirect:i}=n||{};e.emit(`beforeStartNavigationSpan`,t,{isRedirect:i,url:r}),e.emit(`startNavigationSpan`,t,{isRedirect:i,url:r});let a=P();return a.setTransactionName(t.name),r&&!i&&a.setSDKProcessingMetadata({normalizedRequest:{...zc(),url:r}}),Pb(e)}function Ab(e){return(Pc.document?.querySelector(`meta[name=${e}]`))?.getAttribute(`content`)||void 0}function jb(e){return(Pc.performance?.getEntriesByType?.(`navigation`)[0])?.serverTiming?.find(t=>t.name===e)?.description}function Mb(e,t,n,r,i){let a=Pc.document,o;a&&addEventListener(`click`,()=>{let a=`ui.action.click`,s=Pb(e);if(s){let e=pr(s).op;if([`navigation`,`pageload`].includes(e)){sf&&k.warn(`[Tracing] Did not create ${a} span because a pageload or navigation span is in progress.`);return}}if(o&&=(o.setAttribute(hn,`interactionInterrupted`),o.end(),void 0),!i.name){sf&&k.warn(`[Tracing] Did not create ${a} transaction because _latestRouteName is missing.`);return}o=Ki({name:i.name,op:a,attributes:{[un]:i.source||`url`}},{idleTimeout:t,finalTimeout:n,childSpanTimeout:r})},{capture:!0})}var Nb=`_sentry_idleSpan`;function Pb(e){return e[Nb]}function Fb(e,t){Fe(e,Nb,t)}var Ib=1.5;
vendor: 4,404 bytes, line 25
25function Lb(e,t){let n=pr(e),r=bt();return!(r-n.start_timestamp>Ib||t&&r-t<=Ib)}var Rb=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.for(`react.view_transition`),m=Symbol.iterator;function h(e){return typeof e!=`object`||!e?null:(e=m&&e[m]||e[`@@iterator`],typeof e==`function`?e:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,v={};function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function b(){}b.prototype=y.prototype;function x(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}var S=x.prototype=new b;S.constructor=x,_(S,y.prototype),S.isPureReactComponent=!0;var C=Array.isArray;function w(){}var T={H:null,A:null,T:null,S:null},E=Object.prototype.hasOwnProperty;function D(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function O(e,t){return D(e.type,t,e.props)}function ee(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function k(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var te=/\/+/g;function A(e,t){return typeof e==`object`&&e&&e.key!=null?k(``+e.key):t.toString(36)}function ne(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(w,w):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function j(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,j(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+A(e,0):a,C(o)?(i=``,c!=null&&(i=c.replace(te,`$&/`)+`/`),j(o,r,i,``,function(e){return e})):o!=null&&(ee(o)&&(o=O(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(te,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(C(e))for(var u=0;u<e.length;u++)a=e[u],s=l+A(a,u),c+=j(a,r,i,s,o);else if(u=h(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+A(a,u++),c+=j(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return j(ne(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function re(e,t,n){if(e==null)return e;var r=[],i=0;return j(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function ie(e){if(e._status===-1){var t=e._result,n=t();n.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t,n.status===void 0&&(n.status=`fulfilled`,n.value=t))},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t,n.status===void 0&&(n.status=`rejected`,n.reason=t))}),e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return e._result.default;throw e._result}var ae=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)};function oe(e){var t=T.T,n={};n.types=t===null?null:t.types,T.T=n;
25try{var r=e(),i=T.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(w,ae)}catch(e){ae(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),T.T=t}}function se(e){var t=T.T;if(t!==null){var n=t.types;n===null?t.types=[e]:n.indexOf(e)===-1&&n.push(e)}else oe(se.bind(null,e))}var ce={map:re,forEach:function(e,t,n){re(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return re(e,function(){t++}),t},toArray:function(e){return re(e,function(e){return e})||[]},only:function(e){if(!ee(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=ce,e.Component=y,e.Fragment=r,e.Profiler=a,e.PureComponent=x,e.StrictMode=i,e.Suspense=l,e.ViewTransition=p,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return T.H.useMemoCache(e)}},e.addTransitionType=se,e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=_({},e.props),i=e.key;
25if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!E.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return D(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)E.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return D(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=ee,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:ie}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=oe,e.unstable_useCacheRefresh=function(){return T.H.useCacheRefresh()},e.use=function(e){return T.H.use(e)},e.useActionState=function(e,t,n){return T.H.useActionState(e,t,n)},e.useCallback=function(e,t){return T.H.useCallback(e,t)},e.useContext=function(e){return T.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return T.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return T.H.useEffect(e,t)},e.useEffectEvent=function(e){return T.H.useEffectEvent(e)},e.useId=function(){return T.H.useId()},e.useImperativeHandle=function(e,t,n){return T.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return T.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return T.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return T.H.useMemo(e,t)},e.useOptimistic=function(e,t){return T.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return T.H.useReducer(e,t,n)},e.useRef=function(e){return T.H.useRef(e)},e.useState=function(e){return T.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return T.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return T.H.useTransition()},e.version=`19.3.0`})),zb=s(((e,t)=>{t.exports=Rb()}));function Bb(e){return De(e)&&`nativeEvent`in e&&`preventDefault`in e&&`stopPropagation`in e}var V=u(zb());function Vb(e){let t={...e};_s(t,`react`),Ia(`react`,{version:V.version});let n=up(t);return Xe(Hb),n}function Hb(e){return Bb(e)?`[SyntheticEvent]`:ap(e)}var Ub=s((e=>{var t=zb();function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useSyncExternalStore,a=t.useRef,o=t.useEffect,s=t.useMemo,c=t.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,l,u){var d=a(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=s(function(){function e(e){if(!i){if(i=!0,a=e,e=l(e),u!==void 0&&f.hasValue){var t=f.value;if(u(t,e))return o=t}return o=e}if(t=o,r(a,e))return t;var n=l(e);return u!==void 0&&u(t,n)?(a=e,t):(a=e,o=n)}var i=!1,a,o,s=n===void 0?null:n;return[function(){return e(t())},s===null?void 0:function(){return e(s())}]},[t,n,l,u]);var p=i(e,d[0],d[1]);return o(function(){f.hasValue=!0,f.value=p},[p]),c(p),p}})),Wb=s(((e,t)=>{t.exports=Ub()}))();function Gb(e){e()}function Kb(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Gb(()=>{let t=e;for(;t;)t.callback(),t=t.next})},get(){let t=[],n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0,i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){r&&e!==null&&(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var qb={notify(){},get:()=>[]};function Jb(e,t){let n,r=qb,i=0,a=!1;function o(e){u();let t=r.subscribe(e),n=!1;return()=>{n||(n=!0,t(),d())}}function s(){r.notify()}function c(){m.onStateChange&&m.onStateChange()}function l(){return a}function u(){i++,n||(n=t?t.addNestedSub(c):e.subscribe(c),r=Kb())}function d(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=qb)}function f(){a||(a=!0,u())}function p(){a&&(a=!1,d())}let m={addNestedSub:o,notifyNestedSubs:s,handleChangeWrapper:c,isSubscribed:l,trySubscribe:f,tryUnsubscribe:p,getListeners:()=>r};return m}var Yb=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,Xb=typeof navigator<`u`&&navigator.product===`ReactNative`,Zb=Yb||Xb?V.useLayoutEffect:V.useEffect;function Qb(e,t){return e===t?e!==0||t!==0||1/e==1/t:e!==e&&t!==t}function $b(e,t){if(Qb(e,t))return!0;
vendor: 4,415 bytes, line 25
25if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!Qb(e[n[r]],t[n[r]]))return!1;return!0}var ex=Symbol.for(`react-redux-context`),tx=typeof globalThis<`u`?globalThis:{};function nx(){if(!V.createContext)return{};let e=tx[ex]??=new Map,t=e.get(V.createContext);return t||(t=V.createContext(null),e.set(V.createContext,t)),t}var rx=nx();function ix(e){let{children:t,context:n,serverState:r,store:i}=e,a=V.useMemo(()=>{let e=Jb(i);return{store:i,subscription:e,getServerState:r?()=>r:void 0}},[i,r]),o=V.useMemo(()=>i.getState(),[i]);Zb(()=>{let{subscription:e}=a;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),o!==i.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[a,o]);let s=n||rx;return V.createElement(s.Provider,{value:a},t)}var ax=ix;function ox(e=rx){return function(){return V.useContext(e)}}var sx=ox();function cx(e=rx){let t=e===rx?sx:ox(e),n=()=>{let{store:e}=t();return e};return Object.assign(n,{withTypes:()=>n}),n}var lx=cx();function ux(e=rx){let t=e===rx?lx:cx(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var dx=ux(),fx=(e,t)=>e===t;function px(e=rx){let t=e===rx?sx:ox(e),n=(e,n={})=>{let{equalityFn:r=fx}=typeof n==`function`?{equalityFn:n}:n,{store:i,subscription:a,getServerState:o}=t();V.useRef(!0);let s=V.useCallback({[e.name](t){return e(t)}}[e.name],[e]),c=(0,Wb.useSyncExternalStoreWithSelector)(a.addNestedSub,i.getState,o||i.getState,s,r);return V.useDebugValue(c),c};return Object.assign(n,{withTypes:()=>n}),n}var mx=px();function hx(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var gx=typeof Symbol==`function`&&Symbol.observable||`@@observable`,_x=()=>Math.random().toString(36).substring(7).split(``).join(`.`),vx={INIT:`@@redux/INIT${_x()}`,REPLACE:`@@redux/REPLACE${_x()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${_x()}`};function yx(e){if(typeof e!=`object`||!e)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function bx(e,t,n){if(typeof e!=`function`)throw Error(hx(2));if(typeof t==`function`&&typeof n==`function`||typeof n==`function`&&typeof arguments[3]==`function`)throw Error(hx(0));if(typeof t==`function`&&n===void 0&&(n=t,t=void 0),n!==void 0){if(typeof n!=`function`)throw Error(hx(1));return n(bx)(e,t)}let r=e,i=t,a=new Map,o=a,s=0,c=!1;function l(){o===a&&(o=new Map,a.forEach((e,t)=>{o.set(t,e)}))}function u(){if(c)throw Error(hx(3));return i}function d(e){if(typeof e!=`function`)throw Error(hx(4));if(c)throw Error(hx(5));let t=!0;l();let n=s++;return o.set(n,e),function(){if(t){if(c)throw Error(hx(6));t=!1,l(),o.delete(n),a=null}}}function f(e){if(!yx(e))throw Error(hx(7));if(e.type===void 0)throw Error(hx(8));if(typeof e.type!=`string`)throw Error(hx(17));if(c)throw Error(hx(9));try{c=!0,i=r(i,e)}finally{c=!1}return(a=o).forEach(e=>{e()}),e}function p(e){if(typeof e!=`function`)throw Error(hx(10));r=e,f({type:vx.REPLACE})}function m(){let e=d;return{subscribe(t){if(typeof t!=`object`||!t)throw Error(hx(11));function n(){let e=t;e.next&&e.next(u())}return n(),{unsubscribe:e(n)}},[gx](){return this}}}return f({type:vx.INIT}),{dispatch:f,subscribe:d,getState:u,replaceReducer:p,[gx]:m}}function xx(e){Object.keys(e).forEach(t=>{let n=e[t];if(n(void 0,{type:vx.INIT})===void 0)throw Error(hx(12));if(n(void 0,{type:vx.PROBE_UNKNOWN_ACTION()})===void 0)throw Error(hx(13))})}function Sx(e){let t=Object.keys(e),n={};for(let r=0;r<t.length;r++){let i=t[r];typeof e[i]==`function`&&(n[i]=e[i])}let r=Object.keys(n),i;try{xx(n)}catch(e){i=e}return function(e={},t){if(i)throw i;let a=!1,o={};for(let i=0;i<r.length;i++){let s=r[i],c=n[s],l=e[s],u=c(l,t);if(u===void 0)throw t&&t.type,Error(hx(14));o[s]=u,a||=u!==l}return a||=r.length!==Object.keys(e).length,a?o:e}}function Cx(e,t){return function(...n){return t(e.apply(this,n))}}function wx(e,t){if(typeof e==`function`)return Cx(e,t);if(typeof e!=`object`||!e)throw Error(hx(16));let n={};for(let r in e){let i=e[r];typeof i==`function`&&(n[r]=Cx(i,t))}return n}function Tx(...e){return e.length===0?e=>e:e.length===1?e[0]:e.reduce((e,t)=>
vendor: 5,638 bytes, line 25
25(...n)=>e(t(...n)))}function Ex(...e){return t=>(n,r)=>{let i=t(n,r),a=()=>{throw Error(hx(15))},o={getState:i.getState,dispatch:(e,...t)=>a(e,...t)};return a=Tx(...e.map(e=>e(o)))(i.dispatch),{...i,dispatch:a}}}function Dx(e){return yx(e)&&`type`in e&&typeof e.type==`string`}var Ox=Symbol.for(`immer-nothing`),kx=Symbol.for(`immer-draftable`),Ax=Symbol.for(`immer-state`);function jx(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Mx=Object,Nx=Mx.getPrototypeOf,Px=`constructor`,Fx=`prototype`,Ix=`configurable`,Lx=`enumerable`,Rx=`writable`,zx=`value`,Bx=e=>!!e&&!!e[Ax];function Vx(e){return e?Wx(e)||Zx(e)||!!e[kx]||!!e[Px]?.[kx]||Qx(e)||$x(e):!1}var Hx=Mx[Fx][Px].toString(),Ux=new WeakMap;function Wx(e){if(!e||!eS(e))return!1;let t=Nx(e);if(t===null||t===Mx[Fx])return!0;let n=Mx.hasOwnProperty.call(t,Px)&&t[Px];if(n===Object)return!0;if(!tS(n))return!1;let r=Ux.get(n);return r===void 0&&(r=Function.toString.call(n),Ux.set(n,r)),r===Hx}function Gx(e,t,n=!0){Kx(e)===0?(n?Reflect.ownKeys(e):Mx.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function Kx(e){let t=e[Ax];return t?t.type_:Zx(e)?1:Qx(e)?2:$x(e)?3:0}var qx=(e,t,n=Kx(e))=>n===2?e.has(t):Mx[Fx].hasOwnProperty.call(e,t),Jx=(e,t,n=Kx(e))=>n===2?e.get(t):e[t],Yx=(e,t,n,r=Kx(e))=>{r===2?e.set(t,n):r===3?e.add(n):e[t]=n};function Xx(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}var Zx=Array.isArray,Qx=e=>e instanceof Map,$x=e=>e instanceof Set,eS=e=>typeof e==`object`,tS=e=>typeof e==`function`,nS=e=>typeof e==`boolean`;function rS(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var iS=e=>e.copy_||e.base_,aS=e=>e.modified_?e.copy_:e.base_;function oS(e,t){if(Qx(e))return new Map(e);if($x(e))return new Set(e);if(Zx(e))return Array[Fx].slice.call(e);let n=Wx(e);if(t===!0||t===`class_only`&&!n){let t=Mx.getOwnPropertyDescriptors(e);delete t[Ax];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a[Rx]===!1&&(a[Rx]=!0,a[Ix]=!0),(a.get||a.set)&&(t[i]={[Ix]:!0,[Rx]:!0,[Lx]:a[Lx],[zx]:e[i]})}return Mx.create(Nx(e),t)}{let t=Nx(e);if(t!==null&&n)return{...e};let r=Mx.create(t);return Mx.assign(r,e)}}function sS(e,t=!1){return uS(e)||Bx(e)||!Vx(e)?e:(Kx(e)>1&&Mx.defineProperties(e,{set:lS,add:lS,clear:lS,delete:lS}),Mx.freeze(e),t&&Gx(e,(e,t)=>{sS(t,!0)},!1),e)}function cS(){jx(2)}var lS={[zx]:cS};function uS(e){return e===null||!eS(e)||Mx.isFrozen(e)}var dS=`MapSet`,fS=`Patches`,pS=`ArrayMethods`,mS={};function hS(e){let t=mS[e];return t||jx(0,e),t}var gS=e=>!!mS[e],_S,vS=()=>_S,yS=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:gS(dS)?hS(dS):void 0,arrayMethodsPlugin_:gS(pS)?hS(pS):void 0});function bS(e,t){t&&(e.patchPlugin_=hS(fS),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function xS(e){SS(e),e.drafts_.forEach(wS),e.drafts_=null}function SS(e){e===_S&&(_S=e.parent_)}var CS=e=>_S=yS(_S,e);function wS(e){let t=e[Ax];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function TS(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];if(e!==void 0&&e!==n){n[Ax].modified_&&(xS(t),jx(4)),Vx(e)&&(e=ES(t,e));let{patchPlugin_:r}=t;r&&r.generateReplacementPatches_(n[Ax].base_,e,t)}else e=ES(t,n);return DS(t,e,!0),xS(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===Ox?void 0:e}function ES(e,t){if(uS(t))return t;let n=t[Ax];if(!n)return FS(t,e.handledSet_,e);if(!kS(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){let{callbacks_:t}=n;if(t)for(;t.length>0;)t.pop()(e);NS(n,e)}return n.copy_}function DS(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&sS(t,n)}function OS(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var kS=(e,t)=>e.scope_===t,AS=[];function jS(e,t,n,r){let i=iS(e),a=e.type_;if(r!==void 0&&Jx(i,r,a)===t){Yx(i,r,n,a);return}if(!e.draftLocations_){let t=e.draftLocations_=new Map;Gx(i,(e,n)=>{if(Bx(n)){let r=t.get(n)||[];r.push(e),t.set(n,r)}})}let o=e.draftLocations_.get(t)??AS;for(let e of o)Yx(i,e,n,a)}function MS(e,t,n){e.callbacks_.push(function(r){let i=t;if(!i||!kS(i,r))return;r.mapSetPlugin_?.fixSetContents(i);let a=aS(i);jS(e,i.draft_??i,a,n),NS(i,r)})}function NS(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let r=n.getPath(e);r&&n.generatePatches_(e,r,t)}OS(e)}}function PS(e,t,n){let{scope_:r}=e;if(Bx(n)){let i=n[Ax];kS(i,r)&&i.callbacks_.push(function(){WS(e),jS(e,n,aS(i),t)})}else Vx(n)&&e.callbacks_.push(function(){let i=iS(e);e.type_===3?i.has(n)&&FS(n,r.handledSet_,r):Jx(i,t,e.type_)===n&&r.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&FS(Jx(e.copy_,t,e.type_),r.handledSet_,r)})}function FS(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||Bx(e)||t.has(e)||!Vx(e)||uS(e)?e:(t.add(e),Gx(e,(r,i)=>{if(Bx(i)){let t=i[Ax];kS(t,n)&&(Yx(e,r,aS(t),e.type_),OS(t))}else Vx(i)&&FS(i,t,n)}),e)}function IS(e,t){let n=Zx(e),r={type_:+!!n,scope_:t?t.scope_:vS(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=r,a=LS;n&&(i=[r],a=RS);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,[s,r]}var LS={get(e,t){if(t===Ax)return e;let n=e.scope_.arrayMethodsPlugin_,r=e.type_===1&&typeof t==`string`;if(r&&n?.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);let i=iS(e);if(!qx(i,t,e.type_))return VS(e,i,t);let a=i[t];if(e.finalized_||!Vx(a)||r&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&rS(t))return a;
vendor: 5,842 bytes, line 25
25if(a===zS(e.base_,t)||BS(e,t,a)){WS(e);let n=e.type_===1?+t:t,r=KS(e.scope_,a,e,n);return e.copy_[n]=r}return a},has(e,t){return t in iS(e)},ownKeys(e){return Reflect.ownKeys(iS(e))},set(e,t,n){let r=HS(iS(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=zS(iS(e),t),i=r?.[Ax];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(Xx(n,r)&&(n!==void 0||qx(e.base_,t,e.type_)))return!0;WS(e),US(e)}return e.copy_[t]===n&&(n!==void 0||qx(e.copy_,t,e.type_))||Number.isNaN(n)&&Number.isNaN(e.copy_[t])?!0:(e.copy_[t]=n,e.assigned_.set(t,!0),PS(e,t,n),!0)},deleteProperty(e,t){return WS(e),zS(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),US(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=iS(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{[Rx]:!0,[Ix]:e.type_!==1||t!==`length`,[Lx]:r[Lx],[zx]:n[t]}},defineProperty(){jx(11)},getPrototypeOf(e){return Nx(e.base_)},setPrototypeOf(){jx(12)}},RS={};for(let e in LS){let t=LS[e];RS[e]=function(){let e=arguments;return e[0]=e[0][0],t.apply(this,e)}}RS.deleteProperty=function(e,t){return RS.set.call(this,e,t,void 0)},RS.set=function(e,t,n){return LS.set.call(this,e[0],t,n,e[0])};function zS(e,t){let n=e[Ax];return(n?iS(n):e)[t]}function BS(e,t,n){return e.type_!==1||!e.allIndicesReassigned_||e.assigned_?.get(t)||!Vx(n)||n[Ax]?!1:e.baseRefs_.has(n)}function VS(e,t,n){let r=HS(t,n);return r?zx in r?r[zx]:r.get?.call(e.draft_):void 0}function HS(e,t){if(!(t in e))return;let n=Nx(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=Nx(n)}}function US(e){e.modified_||(e.modified_=!0,e.parent_&&US(e.parent_))}function WS(e){e.copy_||=(e.assigned_=new Map,oS(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var GS=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,n)=>{if(tS(e)&&!tS(t)){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}tS(t)||jx(6),n!==void 0&&!tS(n)&&jx(7);let r;if(Vx(e)){let i=CS(this),a=KS(i,e,void 0),o=!0;try{r=t(a),o=!1}finally{o?xS(i):SS(i)}return bS(i,n),TS(r,i)}if(!e||!eS(e)){if(r=t(e),r===void 0&&(r=e),r===Ox&&(r=void 0),this.autoFreeze_&&sS(r,!0),n){let t=[],i=[];hS(fS).generateReplacementPatches_(e,r,{patches_:t,inversePatches_:i}),n(t,i)}return r}jx(1,e)},this.produceWithPatches=(e,t)=>{if(tS(e))return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},nS(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),nS(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),nS(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){Vx(e)||jx(8),Bx(e)&&(e=qS(e));let t=CS(this),n=KS(t,e,void 0);return n[Ax].isManual_=!0,SS(t),n}finishDraft(e,t){let n=e&&e[Ax];(!n||!n.isManual_)&&jx(9);let{scope_:r}=n;return bS(r,t),TS(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=hS(fS).applyPatches_;return Bx(e)?r(e,t):this.produce(e,e=>r(e,t))}};function KS(e,t,n,r){let[i,a]=Qx(t)?hS(dS).proxyMap_(t,n):$x(t)?hS(dS).proxySet_(t,n):IS(t,n);return(n?.scope_??vS()).drafts_.push(i),a.callbacks_=n?.callbacks_??[],a.key_=r,n&&r!==void 0?MS(n,a,r):a.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:t}=e;a.modified_&&t&&t.generatePatches_(a,[],e)}),i}function qS(e){return Bx(e)||jx(10,e),JS(e)}function JS(e){if(!Vx(e)||uS(e))return e;let t=e[Ax],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=oS(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=oS(e,!0);return Gx(n,(e,t)=>{Yx(n,e,JS(t))},r),t&&(t.finalized_=!1),n}globalThis.Iterator?.from;var YS=new GS().produce;function XS(e){return({dispatch:t,getState:n})=>r=>i=>typeof i==`function`?i(t,n,e):r(i)}var ZS=XS(),QS=XS,$S=typeof window<`u`&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]==`object`?Tx:Tx.apply(null,arguments)};typeof window<`u`&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var eC=e=>e&&typeof e.match==`function`;function tC(e,t){function n(...n){if(t){let r=t(...n);if(!r)throw Error(KC(0));return{type:e,payload:r.payload,...`meta`in r&&{meta:r.meta},...`error`in r&&{error:r.error}}}return{type:e,payload:n[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=t=>Dx(t)&&t.type===e,n}var nC=class e extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(...e){return super.concat.apply(this,e)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new e(...t[0].concat(this)):new e(...t.concat(this))}};function rC(e){return Vx(e)?YS(e,()=>{}):e}function iC(e,t,n){return e.has(t)?e.get(t):e.set(t,n(t)).get(t)}function aC(e){return typeof e==`boolean`}var oC=()=>function(e){let{thunk:t=!0,immutableCheck:n=!0,serializableCheck:r=!0,actionCreatorCheck:i=!0}=e??{},a=new nC;return t&&(aC(t)?a.push(ZS):a.push(QS(t.extraArgument))),a},sC=`RTK_autoBatch`,cC=e=>t=>{setTimeout(t,e)},lC=(e,t)=>n=>{let r=!1,i=()=>{r||(r=!0,cancelAnimationFrame(a),clearTimeout(o),n())},a=e(i),o=setTimeout(i,t)},uC=(e={type:`raf`})=>t=>(...n)=>{let r=t(...n),i=!0,a=!1,o=!1,s=new Set,c=e.type===`tick`?queueMicrotask:e.type===`raf`?typeof window<`u`&&window.requestAnimationFrame?lC(window.requestAnimationFrame,100):cC(10):e.type===`callback`?e.queueNotification:cC(e.timeout),l=()=>
vendor: 6,279 bytes, line 25
25{o=!1,a&&(a=!1,s.forEach(e=>e()))};return Object.assign({},r,{subscribe(e){let t=r.subscribe(()=>i&&e());return s.add(e),()=>{t(),s.delete(e)}},dispatch(e){try{return i=!e?.meta?.[sC],a=!i,a&&(o||(o=!0,c(l))),r.dispatch(e)}finally{i=!0}}})},dC=e=>function(t){let{autoBatch:n=!0}=t??{},r=new nC(e);return n&&r.push(uC(typeof n==`object`?n:void 0)),r};function fC(e){let t=oC(),{reducer:n=void 0,middleware:r,devTools:i=!0,duplicateMiddlewareCheck:a=!0,preloadedState:o=void 0,enhancers:s=void 0}=e||{},c;if(typeof n==`function`)c=n;else if(yx(n))c=Sx(n);else throw Error(KC(1));let l;l=typeof r==`function`?r(t):t();let u=Tx;i&&(u=$S({trace:!1,...typeof i==`object`&&i}));let d=dC(Ex(...l)),f=typeof s==`function`?s(d):d(),p=u(...f);return bx(c,o,p)}function pC(e){let t={},n=[],r,i={addCase(e,n){let r=typeof e==`string`?e:e.type;if(!r)throw Error(KC(28));if(r in t)throw Error(KC(29));return t[r]=n,i},addAsyncThunk(e,r){return r.pending&&(t[e.pending.type]=r.pending),r.rejected&&(t[e.rejected.type]=r.rejected),r.fulfilled&&(t[e.fulfilled.type]=r.fulfilled),r.settled&&n.push({matcher:e.settled,reducer:r.settled}),i},addMatcher(e,t){return n.push({matcher:e,reducer:t}),i},addDefaultCase(e){return r=e,i}};return e(i),[t,n,r]}function mC(e){return typeof e==`function`}function hC(e,t){let[n,r,i]=pC(t),a;if(mC(e))a=()=>rC(e());else{let t=rC(e);a=()=>t}function o(e=a(),t){let o=[n[t.type],...r.filter(({matcher:e})=>e(t)).map(({reducer:e})=>e)];return o.filter(e=>!!e).length===0&&(o=[i]),o.reduce((e,n)=>{if(n){if(Bx(e)){let r=n(e,t);return r===void 0?e:r}if(Vx(e))return YS(e,e=>n(e,t));{let r=n(e,t);if(r===void 0){if(e===null)return e;throw Error(`A case reducer on a non-draftable value must not return undefined`)}return r}}return e},e)}return o.getInitialState=a,o}var gC=(e,t)=>eC(e)?e.match(t):e(t);function _C(...e){return t=>e.some(e=>gC(e,t))}var vC=`ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW`,yC=(e=21)=>{let t=``,n=e;for(;n--;)t+=vC[Math.random()*64|0];return t},bC=[`name`,`message`,`stack`,`code`],xC=class{constructor(e,t){this.payload=e,this.meta=t}payload;meta;_type},SC=class{constructor(e,t){this.payload=e,this.meta=t}payload;meta;_type},CC=e=>{if(typeof e==`object`&&e){let t={};for(let n of bC)typeof e[n]==`string`&&(t[n]=e[n]);return t}return{message:String(e)}},wC=`External signal was aborted`,TC=(()=>{function e(e,t,n){let r=tC(e+`/fulfilled`,(e,t,n,r)=>({payload:e,meta:{...r||{},arg:n,requestId:t,requestStatus:`fulfilled`}})),i=tC(e+`/pending`,(e,t,n)=>({payload:void 0,meta:{...n||{},arg:t,requestId:e,requestStatus:`pending`}})),a=tC(e+`/rejected`,(e,t,r,i,a)=>({payload:i,error:(n&&n.serializeError||CC)(e||`Rejected`),meta:{...a||{},arg:r,requestId:t,rejectedWithValue:!!i,requestStatus:`rejected`,aborted:e?.name===`AbortError`,condition:e?.name===`ConditionError`}}));function o(e,{signal:o}={}){return(s,c,l)=>{let u=n?.idGenerator?n.idGenerator(e):yC(),d=new AbortController,f,p;function m(e){p=e,d.abort()}o&&(o.aborted?m(wC):o.addEventListener(`abort`,()=>m(wC),{once:!0}));let h=(async function(){let o;try{let a=n?.condition?.(e,{getState:c,extra:l});if(DC(a)&&(a=await a),a===!1||d.signal.aborted)throw{name:`ConditionError`,message:`Aborted due to condition callback returning false.`};let h=new Promise((e,t)=>{f=()=>{t({name:`AbortError`,message:p||`Aborted`})},d.signal.addEventListener(`abort`,f,{once:!0})});s(i(u,e,n?.getPendingMeta?.({requestId:u,arg:e},{getState:c,extra:l}))),o=await Promise.race([h,Promise.resolve(t(e,{dispatch:s,getState:c,extra:l,requestId:u,signal:d.signal,abort:m,rejectWithValue:((e,t)=>new xC(e,t)),fulfillWithValue:((e,t)=>new SC(e,t))})).then(t=>{if(t instanceof xC)throw t;return t instanceof SC?r(t.payload,u,e,t.meta):r(t,u,e)})])}catch(t){o=t instanceof xC?a(null,u,e,t.payload,t.meta):a(t,u,e)}finally{f&&d.signal.removeEventListener(`abort`,f)}return n&&!n.dispatchConditionRejection&&a.match(o)&&o.meta.condition||s(o),o})();return Object.assign(h,{abort:m,requestId:u,arg:e,unwrap(){return h.then(EC)}})}}return Object.assign(o,{pending:i,rejected:a,fulfilled:r,settled:_C(a,r),typePrefix:e})}return e.withTypes=()=>e,e})();function EC(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function DC(e){return typeof e==`object`&&!!e&&typeof e.then==`function`}var OC=Symbol.for(`rtk-slice-createasyncthunk`);function kC(e,t){return`${e}/${t}`}function AC({creators:e}={}){let t=e?.asyncThunk?.[OC];return function(e){let{name:n,reducerPath:r=n}=e;if(!n)throw Error(KC(11));let i=(typeof e.reducers==`function`?e.reducers(NC()):e.reducers)||{},a=Object.keys(i),o={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},s={addCase(e,t){let n=typeof e==`string`?e:e.type;if(!n)throw Error(KC(12));if(n in o.sliceCaseReducersByType)throw Error(KC(13));return o.sliceCaseReducersByType[n]=t,s},addMatcher(e,t){return o.sliceMatchers.push({matcher:e,reducer:t}),s},exposeAction(e,t){return o.actionCreators[e]=t,s},exposeCaseReducer(e,t){return o.sliceCaseReducersByName[e]=t,s}};a.forEach(r=>{let a=i[r],o={reducerName:r,type:kC(n,r),createNotation:typeof e.reducers==`function`};FC(a)?LC(o,a,s,t):PC(o,a,s)});function c(){let[t={},n=[],r=void 0]=typeof e.extraReducers==`function`?pC(e.extraReducers):[e.extraReducers],i={...t,...o.sliceCaseReducersByType};return hC(e.initialState,e=>{for(let t in i)e.addCase(t,i[t]);for(let t of o.sliceMatchers)e.addMatcher(t.matcher,t.reducer);for(let t of n)e.addMatcher(t.matcher,t.reducer);r&&e.addDefaultCase(r)})}let l=e=>e,u=new Map,d=new WeakMap,f;function p(e,t){return f||=c(),f(e,t)}function m(){return f||=c(),f.getInitialState()}function h(t,n=!1){function r(e){let i=e[t];return i===void 0&&n&&(i=iC(d,r,m)),i}function i(t=l){return iC(iC(u,n,()=>new WeakMap),t,()=>{let r={};for(let[i,a]of Object.entries(e.selectors??{}))r[i]=jC(a,t,()=>iC(d,t,m),n);return r})}return{reducerPath:t,getSelectors:i,get selectors(){return i(r)},selectSlice:r}}let g={name:n,reducer:p,actions:o.actionCreators,caseReducers:o.sliceCaseReducersByName,getInitialState:m,...h(r),injectInto(e,{reducerPath:t,...n}={}){let i=t??r;return e.inject({reducerPath:i,reducer:p},n),{...g,...h(i,!0)}}};return g}}function jC(e,t,n,r){function i(i,...a){let o=t(i);
25return o===void 0&&r&&(o=n()),e(o,...a)}return i.unwrapped=e,i}var MC=AC();function NC(){function e(e,t){return{_reducerDefinitionType:`asyncThunk`,payloadCreator:e,...t}}return e.withTypes=()=>e,{reducer(e){return Object.assign({[e.name](...t){return e(...t)}}[e.name],{_reducerDefinitionType:`reducer`})},preparedReducer(e,t){return{_reducerDefinitionType:`reducerWithPrepare`,prepare:e,reducer:t}},asyncThunk:e}}function PC({type:e,reducerName:t,createNotation:n},r,i){let a,o;if(`reducer`in r){if(n&&!IC(r))throw Error(KC(17));a=r.reducer,o=r.prepare}else a=r;i.addCase(e,a).exposeCaseReducer(t,a).exposeAction(t,o?tC(e,o):tC(e))}function FC(e){return e._reducerDefinitionType===`asyncThunk`}function IC(e){return e._reducerDefinitionType===`reducerWithPrepare`}function LC({type:e,reducerName:t},n,r,i){if(!i)throw Error(KC(18));let{payloadCreator:a,fulfilled:o,pending:s,rejected:c,settled:l,options:u}=n,d=i(e,a,u);r.exposeAction(t,d),o&&r.addCase(d.fulfilled,o),s&&r.addCase(d.pending,s),c&&r.addCase(d.rejected,c),l&&r.addMatcher(d.settled,l),r.exposeCaseReducer(t,{fulfilled:o||RC,pending:s||RC,rejected:c||RC,settled:l||RC})}function RC(){}var zC=`listener`,BC=`completed`,VC=`cancelled`;`${VC}`,`${BC}`,`${zC}${VC}`,`${zC}${BC}`;var{assign:HC}=Object,UC=`listenerMiddleware`,WC=HC(tC(`${UC}/add`),{withTypes:()=>WC});`${UC}`;var GC=HC(tC(`${UC}/remove`),{withTypes:()=>GC});function KC(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var qC=MC({name:`request`,initialState:{status:`INIT`,queueLoading:[]},reducers:{setQueueLoading:(e,t)=>
25{Array.isArray(e.queueLoading)||(e.queueLoading=[]),e.queueLoading.push(t.payload),e.status=`LOADING`},removeQueueLoading:(e,t)=>{if(Array.isArray(e.queueLoading)){let n=e.queueLoading.indexOf(t.payload);n>-1&&e.queueLoading.splice(n,1),e.queueLoading.length||(e.queueLoading=null,e.status!==`FAILED`&&(e.status=`SUCCESS`))}},setGeneralError:e=>{e.status=`FAILED`}}});function JC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)r!==`__proto__`&&(e[r]=n[r])}return e}var YC={read:function(e){return e[0]===`"`&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function XC(e,t){function n(n,r,i){if(typeof document<`u`){i=JC({},t,i),typeof i.expires==`number`&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&(i.expires=i.expires.toUTCString()),n=encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a=``;for(var o in i)i[o]&&(a+=`; `+o,i[o]!==!0&&(a+=`=`+i[o].split(`;`)[0]));return document.cookie=n+`=`+e.write(r,n)+a}}function r(t){if(!(typeof document>`u`||arguments.length&&!t)){for(var n=document.cookie?document.cookie.split(`; `):[],r={},i=0;i<n.length;i++){var a=n[i].split(`=`),o=a.slice(1).join(`=`);try{var s=decodeURIComponent(a[0]);if(s in r||(r[s]=e.read(o,s)),t===s)break}catch{}}return t?r[t]:r}}return Object.create({set:n,get:r,remove:function(e,t){n(e,``,JC({},t,{expires:-1}))},withAttributes:function(e){return XC(this.converter,JC({},this.attributes,e))},withConverter:function(e){return XC(JC({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var ZC=XC(YC,{path:`/`}),QC={APPLICATION_SETTINGS:{STORAGE_AMOUNT:`rangeValue`,STORAGE_RECOMMENDED_AMOUNT:`recommendedRangeValue`,STORAGE_PERIOD:`rangeDays`,STORAGE_CALCULATOR_TAB:`calculatorTab`},AUTH:{AUTH_TOKEN:`token`,AUTH_REFRESH_TOKEN:`refresh_token`},ORGANIC_SOURCE:{TARGET_URL:`target_url`,IS_TARGET_URL:`is_target_url`},CHEAT:{CHEAT_API_PATH:`KEY_ON_API_PATH`,CHEAT_API_PATH_BUSINESS:`CHEAT_API_PATH`}},$C={COUNT_DAYS_SAFE_COOKIE:30,CALCULATOR_TAB:1,CALCULATOR_AMOUNT_STEP:100,CALCULATOR_PERIOD_STEP:1,LAST_CREDIT_VALID_SCORE:.05,CALCULATOR_FIRST_LOAN_PERIOD:65,CALCULATOR_SUBSEQUENT_LOAN_PERIOD:30,LINK_PRODUCT:`/strefa-klienta/`,LINK_PRODUCT_APPLICATION:`/strefa-klienta/oferta/`,LINK_PRODUCT_CREDIT:`/strefa-klienta/pozyczka/`,LINK_REGISTRATION:`/rejestracja/1-kontakt/`,LINK_LOGIN:`/logowanie/`,LINK_USER_DATE_LENDERO:`/dane1`,LINK_LOGIN_BUSINESS:`/logowanie/`,LINK_REGISTRATION_BUSINESS:`/rejestracja/`},ew=`production`,tw=`production`,nw=`development`,rw=!!window.location.origin.match(/(localhost)/),iw=!!window.location.origin.match(/(avgr.it)/),aw={SMART:`SMART`,PLUS:`PLUS`,LENDERO:`LENDERO`,BUSINESS:`BUSINESS`},ow=`SMART`,sw={ENVIRONMENT:ew,PRODUCTION:tw,DEVELOPMENT:nw,IS_DEVELOP:!1,IS_PRODUCTION:!0,IS_LOCAL:rw,IS_STAGE:iw,IS_DEV_STAGE:rw||iw,TITLE_DOCUMENT:`Smartpozyczka`,PREFIX_KEY_STORAGE:`__SP_`,API_PATH_ENV:`https://api.smartpozyczka.pl`,API_PATH_PROD:`https://api.smartpozyczka.pl`,API_PATH_DEV:`https://develop.api-smartpozyczka-pl.avgr.it`,IS_API_PROD:!0,WP_PATH:window.location.origin,APP_NAME:ow,APP_NAMES:aw,IS_SMART:ow===aw.SMART,IS_PLUS:ow===aw.PLUS,IS_LENDERO:ow===aw.LENDERO,IS_BUSINESS:ow===aw.BUSINESS,TECHNICAL_EXTERNAL_LINK:`https://pozyczkaplus.pl/`},cw=`NOT NAME PHRASE`,H={technical_break_title:`PRZERWA TECHNICZNA`,technical_break_description:`Zmieniamy się dla Ciebie! <br/><br/>Wprowadzamy rozwiązania, które ułatwią korzystanie z naszego serwisu <br/><br/>Skorzystaj z oferty naszego partnera`,technical_break_external_link:`https://smartpozyczka.pl/`,technical_break_external_title:`PRZERWA TECHNICZNA`,technical_break_external_description:`Zmieniamy się dla Ciebie! <br/><br/>Wprowadzamy rozwiązania, które ułatwią korzystanie z naszego serwisu <br/><br/>Skorzystaj z oferty naszego partnera`,technical_break_external_button_label:`Sprawdź`,active_product_title:`Jesteś zalogowany na swoim Profilu Klienta w`,active_product_description:`Sprawdź swój status, klikacjąc w przycisk poniżej`,lendero_calculator_title:`Wybierz ilość`,lendero_calculator_slider_min_max_label:`{{value}} zl`,lendero_calculator_slider_aria_label:`Kwota pożyczki.`,lendero_calculator_title_amount:`{{value}} zl`,lendero_calculator_button_title:`{{amount}} zl`,lendero_technical_break_title:`PRZERWA TECHNICZNA`,lendero_technical_break_description:`<p>Zmieniamy się dla Ciebie! </p><p>Wprowadzamy rozwiązania, które ułatwią korzystanie z naszego serwisu </p><p>Skorzystaj z oferty naszego partnera</p>`,business_calculator_title:`Loan amount`,business_calculator_slider_min_max_label:`{{value}} zl`,business_calculator_title_amount:`{{value}} zl`,business_calculator_button_login_title:`Log in`,business_calculator_button_take_loan_t
25itle:`Take loan`,business_calculator_notification:`More then {{value}} zł you can take in second loan. Please log in`,business_calculator_slider_period_label:`Term`,business_calculator_period:`{{days}} dni`,business_calculator_debt_label:`Repay amount`,business_calculator_debt:`{{debt}} zl`,business_technical_break_title:`Przerwa techniczna`,business_technical_break_description:`Wprowadzamy zmiany, które ułatwią korzystanie z naszego serwisu`,active_product_button_label:`Sprawdź`,calculator_tab_first_label:`Pierwsza pożyczka`,calculator_tab_second_label:`Kolejna pożyczka`,calculator_slider_amount_label:`Kwota pożyczki`,calculator_slider_current_amount_label:`Wartość: `,calculator_slider_amount_tab_first_max_title:`Kwota pierwszej pożyczki to maksymalnie {{value}} zł. Wyższa kwota dostępna przy kolejnej pożyczce.`,calculator_slider_period_label:`Okres spłaty`,calculator_tab_first_button_label:`Weź {{amount}} ZŁ`,calculator_price_charge_label:`Koszt pożyczki`,calculator_price_apr_label:`RRSO`,calculator_price_full_label:`Kwota do zwrotu {{date}}`,calculator_period_label:`Termin spłaty: {{date}}`,calculator_price_label:`Łączna kwota do zwrotu`,calculator_button_label:`Złóż wniosek`,calculator_document_form_label:`Formularz informacyjny`,calculator_document_representative_label:`Reprezentatywny przykład`,calculator_document_legal_notice:`Nota prawna`,calculator_document_representative_legal_label:`Reprezentatywny przykład + Nota prawna`,calculator_tab_second_button_label:`Weź {{amount}} ZŁ`,calculator_tab_auth_button_label:`Kolejna pożyczka`,calculator_long_button_label:`Weź {{amount}} ZŁ`,calculator_tab_first_alert_title:`Weź do 6000 zł za 0 zł, nawet do 8000 zł
26z RABATEM 50%`,calculator_tab_second_alert_title:`Zaloguj się do Profilu Klienta i sprawdź ofertę!`,calculator_long_alert_title:`Weź do 6000 zł za 0 zł, nawet do 8000 zł
27z RABATEM 50%`,representative_example_modal_content_30_days:`There's been an error. Contact the call center.`,representative_example_modal_content_61_days:`There's been an error. Contact the call center.`},lw={button_label_auth:`Strefa Klienta`,button_label_no_auth:`Zaloguj się`},uw={SMART:{INFORMATION_FORM_REGISTRATION:272,INFORMATION_FORM_USER_LTU:272,INFORMATION_FORM_USER_PIXO:195,REPRESENTATIVE_FORM_USER_LTU:273,REPRESENTATIVE_FORM_USER_PIXO:147,LEGAL_NOTICE:303},PLUS:{INFORMATION_FORM_REGISTRATION:273,INFORMATION_FORM_USER_ARENA:273,INFORMATION_FORM_USER_TSUMI:190,REPRESENTATIVE_FORM_USER_ARENA:274,REPRESENTATIVE_FORM_USER_TSUMI:145,LEGAL_NOTICE:289},LENDERO:{INFORMATION_FORM_REGISTRATION:190,INFORMATION_FORM_USER:190,INFORMATION_FORM_LONG:190}},dw={SMART:{INFORMATION_FORM_REGISTRATION:259,INFORMATION_FORM_USER_LTU:259,INFORMATION_FORM_USER_PIXO:195,REPRESENTATIVE_FORM_USER_LTU:260,REPRESENTATIVE_FORM_USER_PIXO:147,LEGAL_NOTICE:302},PLUS:{INFORMATION_FORM_REGISTRATION:266,INFORMATION_FORM_USER_ARENA:266,INFORMATION_FORM_USER_TSUMI:190,REPRESENTATIVE_FORM_USER_ARENA:267,REPRESENTATIVE_FORM_USER_TSUMI:145,LEGAL_NOTICE:287},LENDERO:{INFORMATION_FORM_REGISTRATION:190,INFORMATION_FORM_USER:190,INFORMATION_FORM_LONG:190}},fw=[/non-error promise rejection captured/i,/clarity/i,/data record not found/i,/gtm/i,/large render blocking asset/i,/jwt token not found/i],pw=[`clarity.ms`],U={title:sw.TITLE_DOCUMENT||`env not title document`,prefixKeyStorage:sw.PREFIX_KEY_STORAGE||`__WIDGETS_PL_`,apiPath:sw.API_PATH_ENV||`https://evn-not-api.path`,wpPath:sw.WP_PATH||`https://evn-not-wp.path`,isSmart:sw.IS_SMART,isPlus:sw.IS_PLUS,isLendero:sw.IS_LENDERO,isBusiness:sw.IS_BUSINESS,isLocal:sw.IS_LOCAL,isStage:sw.IS_STAGE,isLocalOrStage:sw.IS_DEV_STAGE,isDev:sw.IS_DEVELOP,isProd:sw.IS_PRODUCTION,isAuthTokens:!1,isApiProd:sw.IS_API_PROD},mw=()=>Pw.getItem(QC.AUTH.AUTH_TOKEN),hw=e=>Pw.setItem(QC.AUTH.AUTH_TOKEN,e),gw=()=>Pw.removeItem(QC.AUTH.AUTH_TOKEN),_w=()=>Pw.getItem(QC.AUTH.AUTH_REFRESH_TOKEN),vw=e=>Pw.setItem(QC.AUTH.AUTH_REFRESH_TOKEN,e),yw=()=>Pw.removeItem(QC.AUTH.AUTH_REFRESH_TOKEN),bw=()=>{yw(),gw()},xw=()=>{let e=Nw.getItem(QC.APPLICATION_SETTINGS.STORAGE_AMOUNT,!1);if(e)return+e},Sw=e=>{Nw.setItem(QC.APPLICATION_SETTINGS.STORAGE_AMOUNT,String(e),{expires:FE().addDays($C.COUNT_DAYS_SAFE_COOKIE).toDate()},!1)},Cw=()=>{let e=Pw.getItem(QC.APPLICATION_SETTINGS.STORAGE_RECOMMENDED_AMOUNT,!1);return e?Number(e):null},ww=e=>{Pw.setItem(QC.APPLICATION_SETTINGS.STORAGE_RECOMMENDED_AMOUNT,String(e),!1)},Tw=()=>{let e=Nw.getItem(QC.APPLICATION_SETTINGS.STORAGE_PERIOD,!1);if(e)return+e},Ew=e=>
27{Nw.setItem(QC.APPLICATION_SETTINGS.STORAGE_PERIOD,String(e),{expires:FE().addDays($C.COUNT_DAYS_SAFE_COOKIE).toDate()},!1)},Dw=e=>{Nw.setItem(QC.APPLICATION_SETTINGS.STORAGE_CALCULATOR_TAB,String(e),{expires:FE().addDays($C.COUNT_DAYS_SAFE_COOKIE).toDate()},!1)},Ow=e=>U.isDev&&Nw.getItem(e)||void 0,kw=e=>Nw.setItem(QC.ORGANIC_SOURCE.TARGET_URL,e,{expires:FE().addDays($C.COUNT_DAYS_SAFE_COOKIE).toDate()},!1),Aw=()=>JSON.parse(Pw.getItem(QC.ORGANIC_SOURCE.IS_TARGET_URL,!1)||`false`),jw=()=>Pw.setItem(QC.ORGANIC_SOURCE.IS_TARGET_URL,`true`,!1),Mw=()=>{if(U.apiPath=U.isDev&&Ow(U.isBusiness?QC.CHEAT.CHEAT_API_PATH_BUSINESS:QC.CHEAT.CHEAT_API_PATH)||U.apiPath,U.isApiProd=sw.API_PATH_PROD===U.apiPath,U.isAuthTokens=!!mw()&&!!_w(),U.isLocal)switch(!0){case U.isLendero:U.wpPath=`https://develop.lendero-pl.avgr.it/`;break;case U.isPlus:U.wpPath=`https://develop.pozyczkaplus-pl.avgr.it/`;break;case U.isSmart:U.wpPath=`https://develop.smartpozyczka-pl.avgr.it/`;break;case U.isBusiness:U.wpPath=`https://develop.aventusbiznes-pl.avgr.it/`}},Nw={getItem:(e,t=!0)=>ZC.get(`${t?U.prefixKeyStorage:``}${e}`),setItem:(e,t,n,r=!0)=>ZC.set(`${r?U.prefixKeyStorage:``}${e}`,t,n),removeItem:(e,t,n=!0)=>ZC.remove(`${n?U.prefixKeyStorage:``}${e}`,t)},Pw={getItem:(e,t=!0)=>sessionStorage.getItem(`${t?U.prefixKeyStorage:``}${e}`)||void 0,setItem:(e,t,n=!0)=>sessionStorage.setItem(`${n?U.prefixKeyStorage:``}${e}`,t),removeItem:(e,t=!0)=>sessionStorage.removeItem(`${t?U.prefixKeyStorage:``}${e}`)},Fw=365.2425,Iw=6048e5,Lw=864e5,Rw=6e4,zw=86400;zw*7,zw*Fw/12*3;var Bw=Symbol.for(`constructDateFrom`);function Vw(e,t){return typeof e==`function`?e(t):e&&typeof e==`object`&&Bw in e?e[Bw](t):e instanceof Date?new e.constructor(t):new Date(t)}function Hw(e,t){return Vw(t||e,e)}function Uw(e,t,n){let r=Hw(e,n?.in);return isNaN(t)?Vw(n?.in||e,NaN):(t&&r.setDate(r.getDate()+t),r)}function Ww(e,t,n){let r=Hw(e,n?.in);if(isNaN(t))return Vw(n?.in||e,NaN);if(!t)return r;let i=r.getDate(),a=Vw(n?.in||e,r.getTime());return a.setMonth(r.getMonth()+t+1,0),i>=a.getDate()?a:(r.setFullYear(a.getFullYear(),a.getMonth(),i),r)}function Gw(e,t,n){return Vw(n?.in||e,+Hw(e)+t)}var Kw={};function qw(){return Kw}function Jw(e,t){let n=qw(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=Hw(e,t?.in),a=i.getDay(),o=(a<r?7:0)+a-r;return i.setDate(i.getDate()-o),i.setHours(0,0,0,0),i}function Yw(e,t){return Jw(e,{...t,weekStartsOn:1})}function Xw(e,t){let n=Hw(e,t?.in),r=n.getFullYear(),i=Vw(n,0);i.setFullYear(r+1,0,4),i.setHours(0,0,0,0);let a=Yw(i),o=Vw(n,0);o.setFullYear(r,0,4),o.setHours(0,0,0,0);let s=Yw(o);return n.getTime()>=a.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function Zw(e){let t=Hw(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-n}function Qw(e,...t){let n=Vw.bind(null,e||t.find(e=>typeof e==`object`));return t.map(n)}function $w(e,t){let n=Hw(e,t?.in);return n.setHours(0,0,0,0),n}function eT(e,t,n){let[r,i]=Qw(n?.in,e,t),a=$w(r),o=$w(i),s=+a-Zw(a),c=+o-Zw(o);return Math.round((s-c)/Lw)}function tT(e,t){let n=Xw(e,t),r=Vw(t?.in||e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),Yw(r)}function nT(e,t,n){let r=Hw(e,n?.in);return r.setTime(r.getTime()+t*Rw),r}function rT(e,t,n){return Gw(e,t*1e3,n)}function iT(e,t,n){return Ww(e,t*12,n)}function aT(e,t){let n=+Hw(e)-Hw(t);return n<0?-1:n>0?1:n}function oT(e,t,n){let[r,i]=Qw(n?.in,e,t);return+$w(r)==+$w(i)}function sT(e){return e instanceof Date||typeof e==`object`&&Object.prototype.toString.call(e)===`[object Date]`}function cT(e){return!(!sT(e)&&typeof e!=`number`||isNaN(+Hw(e)))}function lT(e,t,n){let[r,i]=Qw(n?.in,e,t),a=r.getFullYear()-i.getFullYear(),o=r.getMonth()-i.getMonth();return a*12+o}function uT(e,t,n){let[r,i]=Qw(n?.in,e,t),a=Jw(r,n),o=Jw(i,n),s=+a-Zw(a),c=+o-Zw(o);return Math.round((s-c)/Iw)}function dT(e,t,n){let[r,i]=Qw(n?.in,e,t),a=fT(r,i),o=Math.abs(eT(r,i));r.setDate(r.getDate()-a*o);let s=a*(o-Number(fT(r,i)===-a));return s===0?0:s}function fT(e,t){let n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function pT(e,t){let n=Hw(e,t?.in);return n.setHours(23,59,59,999),n}function mT(e,t){let n=Hw(e,t?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function hT(e,t){let n=Hw(e,t?.in);return+pT(n,t)==+mT(n,t)}function gT(e,t,n){let[r,i,a]=Qw(n?.in,e,e,t),o=aT(i,a),s=Math.abs(lT(i,a));if(s<1)return 0;i.getMonth()===1&&i.getDate()>27&&i.setDate(30),i.setMonth(i.getMonth()-o*s);let c=aT(i,a)===-o;hT(r)&&s===1&&aT(r,a)===1&&(c=!1);let l=o*(s-+c);return l===0?0:l}function _T(e,t){let n=Hw(e,t?.in);return n.setDate(1),n.setHours(0,0,0,0),n}function vT(e,t){let n=Hw(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function yT(e,t){let n=qw(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=Hw(e,t?.in),a=i.getDay(),o=(a<r?-7:0)+6-(a-r);return i.setDate(i.getDate()+o),i.setHours(23,59,59,999),i}var bT={lessThanXSeconds:{one:`less than a second`,other:`less than {{count}} seconds`},xSeconds:{one:`1 second`,other:`{{count}} seconds`},halfAMinute:`half a minute`,lessThanXMinutes:{one:`less than a minute`,other:`less than {{count}} minutes`},xMinutes:{one:`1 minute`,other:`{{count}} minutes`},aboutXHours:{one:`about 1 hour`,other:`about {{count}} hours`},xHours:{one:`1 hour`,other:`{{count}} hours`},xDays:{one:`1 day`,other:`{{count}} days`},aboutXWeeks:{one:`about 1 week`,other:`about {{count}} weeks`},xWeeks:{one:`1 week`,other:`{{count}} weeks`},aboutXMonths:{one:`about 1 month`,other:`about {{count}} months`},xMonths:{one:`1 month`,other:`{{count}} months`},aboutXYears:{one:`about 1 year`,other:`about {{count}} years`},xYears:{one:`1 year`,other:`{{count}} years`},overXYears:{one:`over 1 year`,other:`over {{count}} years`},almostXYears:{one:`almost 1 year`,other:`almost {{count}} years`}},xT=(e,t,n)=>{let r,i=bT[e];return r=typeof i==`string`?i:t===1?i.one:i.other.replace(`{{count}}`,t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?`in `+r:r+` ago`:r};function ST(e){return(t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var CT={date:ST({formats:{full:`EEEE, MMMM do, y`,long:`MMMM do, y`,medium:`MMM d, y`,short:`MM/dd/yyyy`},defaultWidth:`full`}),time:ST({formats:{full:`h:mm:ss a zzzz`,long:`h:mm:ss a z`,medium:`h:mm:ss a`,short:`h:mm a`},defaultWidth:`full`}),dateTime:ST({formats:{full:`{{date}} 'at' {{time}}`,long:`{{date}} 'at' {{time}}`,medium:`{{date}}, {{time}}`,short:`{{date}}, {{time}}`},defaultWidth:`full`})},wT={lastWeek:`'last' eeee 'at' p`,yesterday:`'yesterday at' p`,today:`'today at' p`,tomorrow:`'tomorrow at' p`,nextWeek:`eeee 'at' p`,other:`P`},TT=(e,t,n,r)=>wT[e];function ET(e){return(t,n)=>{let r=n?.context?String(n.context):`standalone`,i;if(r===`formatting`&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,r=n?.width?String(n.width):t;i=e.formattingValues[r]||e.formattingValues[t]}else{let t=e.defaultWidth,r=n?.width?String(n.width):e.defaultWidth;i=e.values[r]||e.values[t]}let a=e.argumentCallback?e.argumentCallback(t):t;return i[a]}}var DT={ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+`st`;case 2:return n+`nd`;case 3:return n+`rd`}return n+`th`},era:ET({values:{narrow:[`B`,`A`],abbreviated:[`BC`,`AD`],wide:[`Before Christ`,`Anno Domini`]},defaultWidth:`wide`}),quarter:ET({values:{narrow:[`1`,`2`,`3`,`4`],abbreviated:[`Q1`,`Q2`,`Q3`,`Q4`],wide:[`1st quarter`,`2nd quarter`,`3rd quarter`,`4th quarter`]},defaultWidth:`wide`,argumentCallback:e=>e-1}),month:ET({values:{narrow:[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`],abbreviated:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],wide:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`]},defaultWidth:`wide`}),day:ET({values:{narrow:[`S`,`M`,`T`,`W`,`T`,`F`,`S`],short:[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],abbreviated:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],wide:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`]},defaultWidth:`wide`}),dayPeriod:ET({values:{narrow:{am:`a`,pm:`p`,midnight:`mi`,noon:`n`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},abbreviated:{am:`AM`,pm:`PM`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},wide:{am:`a.m.`,pm:`p.m.`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`}},defaultWidth:`wide`,formattingValues:{narrow:{am:`a`,pm:`p`,midnight:`mi`,noon:`n`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`},abbreviated:{am:`AM`,pm:`PM`,midnight:`midnight`,noon:`noon`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`},wide:{am:`a.m.`,pm:`p.m.`,midnight:`midnight`,noon:`noon`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`}},defaultFormattingWidth:`wide`})};function OT(e){return(t,n={})=>{let r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;let o=a[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?AT(s,e=>e.test(o)):kT(s,e=>e.test(o)),l;l=e.valueCallback?e.valueCallback(c):c,l=n.valueCallback?n.valueCallback(l):l;let u=t.slice(o.length);return{value:l,rest:u}}
vendor: 10,566 bytes, line 27
27}function kT(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function AT(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function jT(e){return(t,n={})=>{let r=t.match(e.matchPattern);if(!r)return null;let i=r[0],a=t.match(e.parsePattern);if(!a)return null;let o=e.valueCallback?e.valueCallback(a[0]):a[0];o=n.valueCallback?n.valueCallback(o):o;let s=t.slice(i.length);return{value:o,rest:s}}}var MT={code:`en-US`,formatDistance:xT,formatLong:CT,formatRelative:TT,localize:DT,match:{ordinalNumber:jT({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:OT({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:`any`}),quarter:OT({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:`any`,valueCallback:e=>e+1}),month:OT({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:`any`}),day:OT({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:`any`}),dayPeriod:OT({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:`any`,parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:`any`})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function NT(e,t){let n=Hw(e,t?.in);return eT(n,vT(n))+1}function PT(e,t){let n=Hw(e,t?.in),r=+Yw(n)-tT(n);return Math.round(r/Iw)+1}function FT(e,t){let n=Hw(e,t?.in),r=n.getFullYear(),i=qw(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,o=Vw(t?.in||e,0);o.setFullYear(r+1,0,a),o.setHours(0,0,0,0);let s=Jw(o,t),c=Vw(t?.in||e,0);c.setFullYear(r,0,a),c.setHours(0,0,0,0);let l=Jw(c,t);return+n>=+s?r+1:+n>=+l?r:r-1}function IT(e,t){let n=qw(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,i=FT(e,t),a=Vw(t?.in||e,0);return a.setFullYear(i,0,r),a.setHours(0,0,0,0),Jw(a,t)}function LT(e,t){let n=Hw(e,t?.in),r=+Jw(n,t)-IT(n,t);return Math.round(r/Iw)+1}function RT(e,t){return(e<0?`-`:``)+Math.abs(e).toString().padStart(t,`0`)}var zT={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return RT(t===`yy`?r%100:r,t.length)},M(e,t){let n=e.getMonth();return t===`M`?String(n+1):RT(n+1,2)},d(e,t){return RT(e.getDate(),t.length)},a(e,t){let n=e.getHours()/12>=1?`pm`:`am`;switch(t){case`a`:case`aa`:return n.toUpperCase();case`aaa`:return n;case`aaaaa`:return n[0];default:return n===`am`?`a.m.`:`p.m.`}},h(e,t){return RT(e.getHours()%12||12,t.length)},H(e,t){return RT(e.getHours(),t.length)},m(e,t){return RT(e.getMinutes(),t.length)},s(e,t){return RT(e.getSeconds(),t.length)},S(e,t){let n=t.length,r=e.getMilliseconds();return RT(Math.trunc(r*10**(n-3)),t.length)}},BT={am:`am`,pm:`pm`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},VT={G:function(e,t,n){let r=+(e.getFullYear()>0);switch(t){case`G`:case`GG`:case`GGG`:return n.era(r,{width:`abbreviated`});case`GGGGG`:return n.era(r,{width:`narrow`});default:return n.era(r,{width:`wide`})}},y:function(e,t,n){if(t===`yo`){let t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:`year`})}return zT.y(e,t)},Y:function(e,t,n,r){let i=FT(e,r),a=i>0?i:1-i;return t===`YY`?RT(a%100,2):t===`Yo`?n.ordinalNumber(a,{unit:`year`}):RT(a,t.length)},R:function(e,t){return RT(Xw(e),t.length)},u:function(e,t){return RT(e.getFullYear(),t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case`Q`:return String(r);case`QQ`:return RT(r,2);case`Qo`:return n.ordinalNumber(r,{unit:`quarter`});case`QQQ`:return n.quarter(r,{width:`abbreviated`,context:`formatting`});case`QQQQQ`:return n.quarter(r,{width:`narrow`,context:`formatting`});default:return n.quarter(r,{width:`wide`,context:`formatting`})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case`q`:return String(r);case`qq`:return RT(r,2);case`qo`:return n.ordinalNumber(r,{unit:`quarter`});case`qqq`:return n.quarter(r,{width:`abbreviated`,context:`standalone`});case`qqqqq`:return n.quarter(r,{width:`narrow`,context:`standalone`});default:return n.quarter(r,{width:`wide`,context:`standalone`})}},M:function(e,t,n){let r=e.getMonth();switch(t){case`M`:case`MM`:return zT.M(e,t);case`Mo`:return n.ordinalNumber(r+1,{unit:`month`});case`MMM`:return n.month(r,{width:`abbreviated`,context:`formatting`});case`MMMMM`:return n.month(r,{width:`narrow`,context:`formatting`});default:return n.month(r,{width:`wide`,context:`formatting`})}},L:function(e,t,n){let r=e.getMonth();switch(t){case`L`:return String(r+1);case`LL`:return RT(r+1,2);case`Lo`:return n.ordinalNumber(r+1,{unit:`month`});case`LLL`:return n.month(r,{width:`abbreviated`,context:`standalone`});case`LLLLL`:return n.month(r,{width:`narrow`,context:`standalone`});default:return n.month(r,{width:`wide`,context:`standalone`})}},w:function(e,t,n,r){let i=LT(e,r);return t===`wo`?n.ordinalNumber(i,{unit:`week`}):RT(i,t.length)},I:function(e,t,n){let r=PT(e);return t===`Io`?n.ordinalNumber(r,{unit:`week`}):RT(r,t.length)},d:function(e,t,n){return t===`do`?n.ordinalNumber(e.getDate(),{unit:`date`}):zT.d(e,t)},D:function(e,t,n){let r=NT(e);return t===`Do`?n.ordinalNumber(r,{unit:`dayOfYear`}):RT(r,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case`E`:case`EE`:case`EEE`:return n.day(r,{width:`abbreviated`,context:`formatting`});case`EEEEE`:return n.day(r,{width:`narrow`,context:`formatting`});case`EEEEEE`:return n.day(r,{width:`short`,context:`formatting`});default:return n.day(r,{width:`wide`,context:`formatting`})}},e:function(e,t,n,r){let i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case`e`:return String(a);case`ee`:return RT(a,2);case`eo`:return n.ordinalNumber(a,{unit:`day`});case`eee`:return n.day(i,{width:`abbreviated`,context:`formatting`});case`eeeee`:return n.day(i,{width:`narrow`,context:`formatting`});case`eeeeee`:return n.day(i,{width:`short`,context:`formatting`});default:return n.day(i,{width:`wide`,context:`formatting`})}},c:function(e,t,n,r){let i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case`c`:return String(a);case`cc`:return RT(a,t.length);case`co`:return n.ordinalNumber(a,{unit:`day`});case`ccc`:return n.day(i,{width:`abbreviated`,context:`standalone`});case`ccccc`:return n.day(i,{width:`narrow`,context:`standalone`});case`cccccc`:return n.day(i,{width:`short`,context:`standalone`});default:return n.day(i,{width:`wide`,context:`standalone`})}},i:function(e,t,n){let r=e.getDay(),i=r===0?7:r;switch(t){case`i`:return String(i);case`ii`:return RT(i,t.length);case`io`:return n.ordinalNumber(i,{unit:`day`});case`iii`:return n.day(r,{width:`abbreviated`,context:`formatting`});case`iiiii`:return n.day(r,{width:`narrow`,context:`formatting`});case`iiiiii`:return n.day(r,{width:`short`,context:`formatting`});default:return n.day(r,{width:`wide`,context:`formatting`})}},a:function(e,t,n){let r=e.getHours()/12>=1?`pm`:`am`;switch(t){case`a`:case`aa`:return n.dayPeriod(r,{width:`abbreviated`,context:`formatting`});case`aaa`:return n.dayPeriod(r,{width:`abbreviated`,context:`formatting`}).toLowerCase();case`aaaaa`:return n.dayPeriod(r,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(r,{width:`wide`,context:`formatting`})}},b:function(e,t,n){let r=e.getHours(),i;switch(i=r===12?BT.noon:r===0?BT.midnight:r/12>=1?`pm`:`am`,t){case`b`:case`bb`:return n.dayPeriod(i,{width:`abbreviated`,context:`formatting`});case`bbb`:return n.dayPeriod(i,{width:`abbreviated`,context:`formatting`}).toLowerCase();case`bbbbb`:return n.dayPeriod(i,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(i,{width:`wide`,context:`formatting`})}},B:function(e,t,n){let r=e.getHours(),i;switch(i=r>=17?BT.evening:r>=12?BT.afternoon:r>=4?BT.morning:BT.night,t){case`B`:case`BB`:case`BBB`:return n.dayPeriod(i,{width:`abbreviated`,context:`formatting`});case`BBBBB`:return n.dayPeriod(i,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(i,{width:`wide`,context:`formatting`})}},h:function(e,t,n){if(t===`ho`){let t=e.getHours()%12;return t===0&&(t=12),n.ordinalNumber(t,{unit:`hour`})}return zT.h(e,t)},H:function(e,t,n){return t===`Ho`?n.ordinalNumber(e.getHours(),{unit:`hour`}):zT.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return t===`Ko`?n.ordinalNumber(r,{unit:`hour`}):RT(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t===`ko`?n.ordinalNumber(r,{unit:`hour`}):RT(r,t.length)},m:function(e,t,n){return t===`mo`?n.ordinalNumber(e.getMinutes(),{unit:`minute`}):zT.m(e,t)},s:function(e,t,n){return t===`so`?n.ordinalNumber(e.getSeconds(),{unit:`second`}):zT.s(e,t)},S:function(e,t){return zT.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(r===0)return`Z`;switch(t){case`X`:return UT(r);case`XXXX`:case`XX`:return WT(r);default:return WT(r,`:`)}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case`x`:return UT(r);case`xxxx`:case`xx`:return WT(r);default:return WT(r,`:`)}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case`O`:case`OO`:case`OOO`:return`GMT`+HT(r,`:`);default:return`GMT`+WT(r,`:`)}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case`z`:case`zz`:case`zzz`:return`GMT`+HT(r,`:`);default:return`GMT`+WT(r,`:`)}},t:function(e,t,n){return RT(Math.trunc(e/1e3),t.length)},T:function(e,t,n){return RT(+e,t.length)}};function HT(e,t=``){let n=e>0?`-`:`+`,r=Math.abs(e),i=Math.trunc(r/60),a=r%60;
vendor: 10,929 bytes, line 27
27return a===0?n+String(i):n+String(i)+t+RT(a,2)}function UT(e,t){return e%60==0?(e>0?`-`:`+`)+RT(Math.abs(e)/60,2):WT(e,t)}function WT(e,t=``){let n=e>0?`-`:`+`,r=Math.abs(e),i=RT(Math.trunc(r/60),2),a=RT(r%60,2);return n+i+t+a}var GT=(e,t)=>{switch(e){case`P`:return t.date({width:`short`});case`PP`:return t.date({width:`medium`});case`PPP`:return t.date({width:`long`});default:return t.date({width:`full`})}},KT=(e,t)=>{switch(e){case`p`:return t.time({width:`short`});case`pp`:return t.time({width:`medium`});case`ppp`:return t.time({width:`long`});default:return t.time({width:`full`})}},qT={p:KT,P:(e,t)=>{let n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return GT(e,t);let a;switch(r){case`P`:a=t.dateTime({width:`short`});break;case`PP`:a=t.dateTime({width:`medium`});break;case`PPP`:a=t.dateTime({width:`long`});break;default:a=t.dateTime({width:`full`})}return a.replace(`{{date}}`,GT(r,t)).replace(`{{time}}`,KT(i,t))}},JT=/^D+$/,YT=/^Y+$/,XT=[`D`,`DD`,`YY`,`YYYY`];function ZT(e){return JT.test(e)}function QT(e){return YT.test(e)}function $T(e,t,n){let r=eE(e,t,n);if(console.warn(r),XT.includes(e))throw RangeError(r)}function eE(e,t,n){let r=e[0]===`Y`?`years`:`days of the month`;return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var tE=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,nE=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,rE=/^'([^]*?)'?$/,iE=/''/g,aE=/[a-zA-Z]/;function oE(e,t,n){let r=qw(),i=n?.locale??r.locale??MT,a=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,s=Hw(e,n?.in);if(!cT(s))throw RangeError(`Invalid time value`);let c=t.match(nE).map(e=>{let t=e[0];if(t===`p`||t===`P`){let n=qT[t];return n(e,i.formatLong)}return e}).join(``).match(tE).map(e=>{if(e===`''`)return{isToken:!1,value:`'`};let t=e[0];if(t===`'`)return{isToken:!1,value:sE(e)};if(VT[t])return{isToken:!0,value:e};if(t.match(aE))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});i.localize.preprocessor&&(c=i.localize.preprocessor(s,c));let l={firstWeekContainsDate:a,weekStartsOn:o,locale:i};return c.map(r=>{if(!r.isToken)return r.value;let a=r.value;(!n?.useAdditionalWeekYearTokens&&QT(a)||!n?.useAdditionalDayOfYearTokens&&ZT(a))&&$T(a,t,String(e));let o=VT[a[0]];return o(s,a,i.localize,l)}).join(``)}function sE(e){let t=e.match(rE);return t?t[1].replace(iE,`'`):e}function cE(e,t){let n=Hw(e,t?.in),r=n.getFullYear(),i=n.getMonth(),a=Vw(n,0);return a.setFullYear(r,i+1,0),a.setHours(0,0,0,0),a.getDate()}function lE(e,t){let n=Hw(e,t?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(0,0,0,0),Hw(n,t?.in)}function uE(e,t){let n=Hw(e,t?.in);return uT(lE(n,t),_T(n,t),t)+1}function dE(e,t){return+Hw(e)>+Hw(t)}function fE(e,t){return+Hw(e)==+Hw(t)}function pE(e,t,n){let[r,i]=Qw(n?.in,e,t);return+Jw(r,n)==+Jw(i,n)}function mE(e,t,n){let[r,i]=Qw(n?.in,e,t);return r.getFullYear()===i.getFullYear()&&r.getMonth()===i.getMonth()}function hE(e,t,n){let[r,i]=Qw(n?.in,e,t);return r.getFullYear()===i.getFullYear()}function gE(e,t,n){return Uw(e,-t,n)}function _E(e,t,n){let r=Hw(e,n?.in),i=r.getFullYear(),a=r.getDate(),o=Vw(n?.in||e,0);o.setFullYear(i,t,15),o.setHours(0,0,0,0);let s=cE(o);return r.setMonth(t,Math.min(a,s)),r}function vE(e,t,n){let r=Hw(e,n?.in);return r.setDate(t),r}function yE(e,t,n){return Ww(e,-t,n)}function bE(e,t,n){return nT(e,-t,n)}function xE(e,t,n){return iT(e,-t,n)}var SE={lessThanXSeconds:{one:{regular:`mniej niż sekunda`,past:`mniej niż sekundę`,future:`mniej niż sekundę`},twoFour:`mniej niż {{count}} sekundy`,other:`mniej niż {{count}} sekund`},xSeconds:{one:{regular:`sekunda`,past:`sekundę`,future:`sekundę`},twoFour:`{{count}} sekundy`,other:`{{count}} sekund`},halfAMinute:{one:`pół minuty`,twoFour:`pół minuty`,other:`pół minuty`},lessThanXMinutes:{one:{regular:`mniej niż minuta`,past:`mniej niż minutę`,future:`mniej niż minutę`},twoFour:`mniej niż {{count}} minuty`,other:`mniej niż {{count}} minut`},xMinutes:{one:{regular:`minuta`,past:`minutę`,future:`minutę`},twoFour:`{{count}} minuty`,other:`{{count}} minut`},aboutXHours:{one:{regular:`około godziny`,past:`około godziny`,future:`około godzinę`},twoFour:`około {{count}} godziny`,other:`około {{count}} godzin`},xHours:{one:{regular:`godzina`,past:`godzinę`,future:`godzinę`},twoFour:`{{count}} godziny`,other:`{{count}} godzin`},xDays:{one:{regular:`dzień`,past:`dzień`,future:`1 dzień`},twoFour:`{{count}} dni`,other:`{{count}} dni`},aboutXWeeks:{one:`około tygodnia`,twoFour:`około {{count}} tygodni`,other:`około {{count}} tygodni`},xWeeks:{one:`tydzień`,twoFour:`{{count}} tygodnie`,other:`{{count}} tygodni`},aboutXMonths:{one:`około miesiąc`,twoFour:`około {{count}} miesiące`,other:`około {{count}} miesięcy`},xMonths:{one:`miesiąc`,twoFour:`{{count}} miesiące`,other:`{{count}} miesięcy`},aboutXYears:{one:`około rok`,twoFour:`około {{count}} lata`,other:`około {{count}} lat`},xYears:{one:`rok`,twoFour:`{{count}} lata`,other:`{{count}} lat`},overXYears:{one:`ponad rok`,twoFour:`ponad {{count}} lata`,other:`ponad {{count}} lat`},almostXYears:{one:`prawie rok`,twoFour:`prawie {{count}} lata`,other:`prawie {{count}} lat`}};function CE(e,t){if(t===1)return e.one;let n=t%100;if(n<=20&&n>10)return e.other;let r=n%10;return r>=2&&r<=4?e.twoFour:e.other}function wE(e,t,n){let r=CE(e,t);return(typeof r==`string`?r:r[n]).replace(`{{count}}`,String(t))}var TE=(e,t,n)=>{let r=SE[e];return n?.addSuffix?n.comparison&&n.comparison>0?`za `+wE(r,t,`future`):wE(r,t,`past`)+` temu`:wE(r,t,`regular`)},EE={date:ST({formats:{full:`EEEE, do MMMM y`,long:`do MMMM y`,medium:`do MMM y`,short:`dd.MM.y`},defaultWidth:`full`}),time:ST({formats:{full:`HH:mm:ss zzzz`,long:`HH:mm:ss z`,medium:`HH:mm:ss`,short:`HH:mm`},defaultWidth:`full`}),dateTime:ST({formats:{full:`{{date}} {{time}}`,long:`{{date}} {{time}}`,medium:`{{date}}, {{time}}`,short:`{{date}}, {{time}}`},defaultWidth:`full`})},DE={masculine:`ostatni`,feminine:`ostatnia`},OE={masculine:`ten`,feminine:`ta`},kE={masculine:`następny`,feminine:`następna`},AE={0:`feminine`,1:`masculine`,2:`masculine`,3:`feminine`,4:`masculine`,5:`masculine`,6:`feminine`};function jE(e,t,n,r){let i;if(pE(t,n,r))i=OE;else if(e===`lastWeek`)i=DE;else if(e===`nextWeek`)i=kE;else throw Error(`Cannot determine adjectives for token ${e}`);let a=AE[t.getDay()];return`'${i[a]}' eeee 'o' p`}var ME={lastWeek:jE,yesterday:`'wczoraj o' p`,today:`'dzisiaj o' p`,tomorrow:`'jutro o' p`,nextWeek:jE,other:`P`},NE={code:`pl`,formatDistance:TE,formatLong:EE,formatRelative:(e,t,n,r)=>{let i=ME[e];return typeof i==`function`?i(e,t,n,r):i},localize:{ordinalNumber:(e,t)=>String(e),era:ET({values:{narrow:[`p.n.e.`,`n.e.`],abbreviated:[`p.n.e.`,`n.e.`],wide:[`przed naszą erą`,`naszej ery`]},defaultWidth:`wide`}),quarter:ET({values:{narrow:[`1`,`2`,`3`,`4`],abbreviated:[`I kw.`,`II kw.`,`III kw.`,`IV kw.`],wide:[`I kwartał`,`II kwartał`,`III kwartał`,`IV kwartał`]},defaultWidth:`wide`,argumentCallback:e=>e-1}),month:ET({values:{narrow:[`S`,`L`,`M`,`K`,`M`,`C`,`L`,`S`,`W`,`P`,`L`,`G`],abbreviated:[`sty`,`lut`,`mar`,`kwi`,`maj`,`cze`,`lip`,`sie`,`wrz`,`paź`,`lis`,`gru`],wide:[`styczeń`,`luty`,`marzec`,`kwiecień`,`maj`,`czerwiec`,`lipiec`,`sierpień`,`wrzesień`,`październik`,`listopad`,`grudzień`]},defaultWidth:`wide`,formattingValues:{narrow:[`s`,`l`,`m`,`k`,`m`,`c`,`l`,`s`,`w`,`p`,`l`,`g`],abbreviated:[`sty`,`lut`,`mar`,`kwi`,`maj`,`cze`,`lip`,`sie`,`wrz`,`paź`,`lis`,`gru`],wide:[`stycznia`,`lutego`,`marca`,`kwietnia`,`maja`,`czerwca`,`lipca`,`sierpnia`,`września`,`października`,`listopada`,`grudnia`]},defaultFormattingWidth:`wide`}),day:ET({values:{narrow:[`N`,`P`,`W`,`Ś`,`C`,`P`,`S`],short:[`nie`,`pon`,`wto`,`śro`,`czw`,`pią`,`sob`],abbreviated:[`niedz.`,`pon.`,`wt.`,`śr.`,`czw.`,`pt.`,`sob.`],wide:[`niedziela`,`poniedziałek`,`wtorek`,`środa`,`czwartek`,`piątek`,`sobota`]},defaultWidth:`wide`,formattingValues:{narrow:[`n`,`p`,`w`,`ś`,`c`,`p`,`s`],short:[`nie`,`pon`,`wto`,`śro`,`czw`,`pią`,`sob`],abbreviated:[`niedz.`,`pon.`,`wt.`,`śr.`,`czw.`,`pt.`,`sob.`],wide:[`niedziela`,`poniedziałek`,`wtorek`,`środa`,`czwartek`,`piątek`,`sobota`]},defaultFormattingWidth:`wide`}),dayPeriod:ET({values:{narrow:{am:`a`,pm:`p`,midnight:`półn.`,noon:`poł`,morning:`rano`,afternoon:`popoł.`,evening:`wiecz.`,night:`noc`},abbreviated:{am:`AM`,pm:`PM`,midnight:`północ`,noon:`południe`,morning:`rano`,afternoon:`popołudnie`,evening:`wieczór`,night:`noc`},wide:{am:`AM`,pm:`PM`,midnight:`północ`,noon:`południe`,morning:`rano`,afternoon:`popołudnie`,evening:`wieczór`,night:`noc`}},defaultWidth:`wide`,formattingValues:{narrow:{am:`a`,pm:`p`,midnight:`o półn.`,noon:`w poł.`,morning:`rano`,afternoon:`po poł.`,evening:`wiecz.`,night:`w nocy`},abbreviated:{am:`AM`,pm:`PM`,midnight:`o północy`,noon:`w południe`,morning:`rano`,afternoon:`po południu`,evening:`wieczorem`,night:`w nocy`},wide:{am:`AM`,pm:`PM`,midnight:`o północy`,noon:`w południe`,morning:`rano`,afternoon:`po południu`,evening:`wieczorem`,night:`w nocy`}},defaultFormattingWidth:`wide`})},match:{ordinalNumber:jT({matchPattern:/^(\d+)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:OT({matchPatterns:{narrow:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,abbreviated:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,wide:/^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/^p/i,/^n/i]},defaultParseWidth:`any`}),quarter:OT({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(ł|l)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},defaultParseWidth:`any`,valueCallback:e=>e+1}),month:OT({matchPatterns:{narrow:/^[slmkcwpg]/i,abbreviated:/^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,wide:/^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^s/i,/^l/i,/^m/i,/^k/i,/^m/i,/^c/i,/^l/i,/^s/i,/^w/i,/^p/i,/^l/i,/^g/i],any:[/^st/i,/^lu/i,/^mar/i,/^k/i,/^maj/i,/^c/i,/^lip/i,/^si/i,/^w/i,/^p/i,/^lis/i,/^g/i]},defaultParseWidth:`any`}),day:OT({matchPatterns:{narrow:/^[npwścs]/i,short:/^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i,abbreviated:/^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i,wide:/^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i}
27,defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^n/i,/^p/i,/^w/i,/^ś/i,/^c/i,/^p/i,/^s/i],abbreviated:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pt/i,/^so/i],any:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pi/i,/^so/i]},defaultParseWidth:`any`}),dayPeriod:OT({matchPatterns:{narrow:/^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i,any:/^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i},defaultMatchWidth:`any`,parsePatterns:{narrow:{am:/^a$/i,pm:/^p$/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i},any:{am:/^am/i,pm:/^pm/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i}},defaultParseWidth:`any`})},options:{weekStartsOn:1,firstWeekContainsDate:4}},PE=class e extends Date{date;constructor(e){super(e),this.date=e}format(e){return oE(this.date,e,{locale:NE})}formatFront(){return oE(this.date,`dd.MM.yyyy`,{locale:NE})}formatBack(){return oE(this.date,`yyyy-MM-dd`,{locale:NE})}fromStringToDate(e){let t=e.split(`.`);return new Date(`${t[1]}.${t[0]}.${t[2]}`)}addSeconds(t){return new e(rT(this.date,t))}addMinutes(t){return new e(nT(this.date,t))}subMinutes(t){return new e(bE(this.date,t))}addDays(t){return new e(Uw(this.date,t))}subDays(t){return new e(gE(this.date,t))}addMonths(t){return new e(Ww(this.date,t))}subMonths(t){return new e(yE(this.date,t))}addYears(t){return new e(iT(this.date,t))}subYears(t){return new e(xE(this.date,t))}startOfWeek(){return new e(Jw(this.date,{locale:NE}))}endOfWeek(){return new e(yT(this.date,{locale:NE}))}startOfMonth(){return new e(_T(this.date))}endOfMonth(){return new e(mT(this.date))}startOfDay(){return new e($w(this.date))}endOfDay(){return new e(pT(this.date))}isSameDay(e){return oT(this.date,e)}isSameMonth(e){return mE(this.date,e)}isSameYear(e){return hE(this.date,e)}isAfter(e){return dE(this.date,e)}isEqual(e){return fE(this.date,e)}isEqualOrAfter(e){return this.isEqual(e)||this.isAfter(e)}getWeeksInMonth(){return uE(this.date,{locale:NE})}differenceInYears(e){return this.date.getFullYear()-e.getFullYear()}differenceInMonths(e){let t=gT(this.date,e)>0;return this.differenceInYears(e)===0?this.date.getMonth()-e.getMonth():t?1:-1}differenceInDays(e){return dT(this.date,e)}setMonthFNS(t){return new e(_E(this.date,t))}setDateFNS(t){return new e(vE(this.date,t))}compareDates(e){return aT(this.date,new Date(e.toString()))}toDate(){return this.date}},FE=(e=new Date)=>new PE(new Date(e.toString())),IE=u(s(((e,t)=>{(function(){var e={}.hasOwnProperty;function n(){for(var e=``,t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,r(n)))}return e}function r(t){if(typeof t==`string`||typeof t==`number`)return t;if(typeof t!=`object`)return``;if(Array.isArray(t))return n.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes(`[native code]`))return t.toString();var r=``;for(var a in t)e.call(t,a)&&t[a]&&(r=i(r,a));return r}function i(e,t){return t?e?e+` `+t:e+t:e}t!==void 0&&t.exports?(n.default=n,t.exports=n):typeof define==`function`&&typeof define.amd==`object`&&define.amd?define(`classnames`,[],function(){return n}):window.classNames=n})()}))(),1),LE=(...e)=>(0,IE.default)(...e);function RE(e,t){return function(){return e.apply(t,arguments)}}var{toString:zE}=Object.prototype,{getPrototypeOf:BE}=Object,{iterator:VE,toStringTag:HE}=Symbol,UE=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),WE=e=>typeof e==`string`&&(e===`__proto__`||e===`constructor`||e===`prototype`),GE=(e,t,n)=>e===Object.prototype||!n&&t===null,KE=e=>{if(!Object.isExtensible(e))return!1;let t=Object.getOwnPropertyNames(e);return Object.getOwnPropertySymbols&&t.push(...Object.getOwnPropertySymbols(e)),t.every(t=>{if(WE(t))return!1;let n=Object.getOwnPropertyDescriptor(e,t);return!!n&&n.configurable&&n.writable===!0})},qE=(e,t)=>{let n=e,r=[];for(;n!=null;){if(r.indexOf(n)!==-1)return!1;r.push(n);let i=BE(n);if(GE(n,i,n===e))return!1;if(UE(n,t))return!0;n=i}return!1},JE=(e,t)=>e!=null&&qE(e,t)?e[t]:void 0,YE=e=>{if(e==null||typeof e!=`object`&&typeof e!=`function`)return e;let t=BE(e);if(t===null&&KE(e))return e;let n=Object.create(null),r=Object.create(null),i=[],a=e;for(;a!=null&&i.indexOf(a)===-1;){i.push(a);let o=a===e?t:BE(a);if(GE(a,o,a===e))break;let s=Object.getOwnPropertyNames(a);Object.getOwnPropertySymbols&&s.push(...Object.getOwnPropertySymbols(a));for(let t of s)WE(t)||UE(r,t)||(n[t]=e[t],r[t]=!0);a=o}return n},XE=(e=>t=>{let n=zE.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ZE=e=>(e=e.toLowerCase(),t=>XE(t)===e),QE=e=>t=>typeof t===e,{isArray:$E}=Array,eD=QE(`undefined`);function tD(e){return e!==null&&!eD(e)&&e.constructor!==null&&!eD(e.constructor)&&aD(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var nD=ZE(`ArrayBuffer`);function rD(e){let t;return t=typeof ArrayBuffer<`u`&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&nD(e.buffer),t}var iD=QE(`string`),aD=QE(`function`),oD=QE(`number`),sD=e=>typeof e==`object`&&!!e,cD=e=>e===!0||e===!1,lD=e=>{if(!sD(e))return!1;let t=BE(e);return(t===null||t===Object.prototype||BE(t)===null)&&!qE(e,HE)&&!qE(e,VE)},uD=e=>{if(!sD(e)||tD(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},dD=ZE(`Date`),fD=ZE(`File`),pD=e=>!!(e&&e.uri!==void 0),mD=e=>e&&e.getParts!==void 0,hD=ZE(`Blob`),gD=ZE(`FileList`),_D=ZE(`Set`),vD=e=>sD(e)&&aD(e.pipe);function yD(){return typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{}}var bD=yD(),xD=bD.FormData===void 0?void 0:bD.FormData,SD=e=>{if(!e)return!1;if(xD&&e instanceof xD)return!0;let t=BE(e);if(!t||t===Object.prototype||!aD(e.append))return!1;let n=XE(e);return n===`formdata`||n===`object`&&aD(e.toString)&&e.toString()===`[object FormData]`},CD=ZE(`URLSearchParams`),[wD,TD,ED,DD]=[`ReadableStream`,`Request`,`Response`,`Headers`].map(ZE),OD=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,``);function kD(e,t,{allOwnKeys:n=!1}={}){if(e==null)return;let r,i;if(typeof e!=`object`&&(e=[e]),$E(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(tD(e))return;let i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length,o;for(r=0;r<a;r++)o=i[r],t.call(null,e[o],o,e)}}function AD(e,t){if(tD(e))return null;t=t.toLowerCase();let n=Object.keys(e),r=n.length,i;for(;r-->0;)if(i=n[r],t===i.toLowerCase())return i;return null}var jD=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:global,MD=e=>!eD(e)&&e!==jD;function ND(...e){let{caseless:t,skipUndefined:n}=MD(this)&&this||{},r={},i=(e,i)=>{if(i===`__proto__`||i===`constructor`||i===`prototype`)return;let a=t&&typeof i==`string`&&AD(r,i)||i,o=UE(r,a)?r[a]:void 0;lD(o)&&lD(e)?r[a]=ND(o,e):lD(e)?r[a]=ND({},e):$E(e)?r[a]=e.slice():(!n||!eD(e))&&(r[a]=e)};for(let t=0,n=e.length;t<n;t++){let n=e[t];if(!n||tD(n)||(kD(n,i),typeof n!=`object`||$E(n)))continue;let r=Object.getOwnPropertySymbols(n);for(let e=0;e<r.length;e++){let t=r[e];GD.call(n,t)&&i(n[t],t)}}return r}var PD=(e,t,n,{allOwnKeys:r}={})=>(kD(t,(t,r)=>{n&&aD(t)?Object.defineProperty(e,r,{__proto__:null,value:RE(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),FD=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),ID=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,
27configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},LD=(e,t,n,r)=>{let i,a,o,s={};if(t||={},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-->0;)o=i[a],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&BE(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},RD=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return r!==-1&&r===n},zD=e=>{if(!e)return null;if($E(e))return e;let t=e.length;if(!oD(t))return null;let n=Array(t);for(;t-->0;)n[t]=e[t];return n},BD=(e=>t=>e&&t instanceof e)(typeof Uint8Array<`u`&&BE(Uint8Array)),VD=(e,t)=>{let n=(e&&e[VE]).call(e),r;for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},HD=(e,t)=>{let n,r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},UD=ZE(`HTMLFormElement`),WD=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),{propertyIsEnumerable:GD}=Object.prototype,KD=ZE(`RegExp`),qD=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};kD(n,(n,i)=>{let a;(a=t(n,i,e))!==!1&&(r[i]=a||n)}),Object.defineProperties(e,r)},JD=e=>{qD(e,(t,n)=>{if(aD(e)&&[`arguments`,`caller`,`callee`].includes(n))return!1;let r=e[n];if(aD(r)){if(t.enumerable=!1,`writable`in t){t.writable=!1;return}t.set||=()=>{throw Error(`Can not rewrite read-only method '`+n+`'`)}}})},YD=(e,t)=>{let n={},r=e=>{e.forEach(e=>{n[e]=!0})};return $E(e)?r(e):r(String(e).split(t)),n},XD=()=>{},ZD=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function QD(e){return!!(e&&aD(e.append)&&e[HE]===`FormData`&&e[VE])}var $D=e=>{let t=new WeakSet,n=e=>{if(sD(e)){if(t.has(e))return;if(tD(e))return e;if(!(`toJSON`in e)){t.add(e);let r;if(_D(e)){r=[];for(let t of e){let e=n(t);!eD(e)&&r.push(e)}}else r=$E(e)?[]:{},kD(e,(e,t)=>{let i=n(e);!eD(i)&&(r[t]=i)});return t.delete(e),r}}return e};return n(e)},eO=ZE(`AsyncFunction`),tO=e=>e&&(sD(e)||aD(e))&&aD(e.then)&&aD(e.catch),nO=((e,t)=>e?setImmediate:t?((e,t)=>(jD.addEventListener(`message`,({source:n,data:r})=>{n===jD&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),jD.postMessage(e,`*`)}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))(typeof setImmediate==`function`,aD(jD.postMessage)),rO=typeof queueMicrotask<`u`?queueMicrotask.bind(jD):typeof process<`u`&&process.nextTick||nO,iO=e=>e!=null&&aD(e[VE]),W={isArray:$E,isArrayBuffer:nD,isBuffer:tD,isFormData:SD,isArrayBufferView:rD,isString:iD,isNumber:oD,isBoolean:cD,isObject:sD,isPlainObject:lD,isEmptyObject:uD,isReadableStream:wD,isRequest:TD,isResponse:ED,isHeaders:DD,isUndefined:eD,isDate:dD,isFile:fD,isReactNativeBlob:pD,isReactNative:mD,isBlob:hD,isRegExp:KD,isFunction:aD,isStream:vD,isURLSearchParams:CD,isTypedArray:BD,isFileList:gD,forEach:kD,merge:ND,extend:PD,trim:OD,stripBOM:FD,inherits:ID,toFlatObject:LD,kindOf:XE,kindOfTest:ZE,endsWith:RD,toArray:zD,forEachEntry:VD,matchAll:HD,isHTMLForm:UD,hasOwnProperty:UE,hasOwnProp:UE,hasOwnInPrototypeChain:qE,getSafeProp:JE,toSafeFlatObject:YE,reduceDescriptors:qD,freezeMethods:JD,toObjectSet:YD,toCamelCase:WD,noop:XD,toFiniteNumber:ZD,findKey:AD,global:jD,isContextDefined:MD,isSpecCompliantForm:QD,toJSONObject:$D,isAsyncFn:eO,isThenable:tO,setImmediate:nO,asap:rO,isIterable:iO,isSafeIterable:e=>e!=null&&qE(e,VE)&&iO(e)},aO=W.toObjectSet([`age`,`authorization`,`content-length`,`content-type`,`etag`,`expires`,`from`,`host`,`if-modified-since`,`if-unmodified-since`,`last-modified`,`location`,`max-forwards`,`proxy-authorization`,`referer`,`retry-after`,`user-agent`]),oO=e=>{let t={},n,r,i;return e&&e.split(`
28`).forEach(function(e){i=e.indexOf(`:`),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim();let a=W.hasOwnProp(t,n);!n||a&&W.hasOwnProp(aO,n)||(n===`set-cookie`?a?t[n].push(r):t[n]=[r]:t[n]=a?t[n]+`, `+r:r)}),t};function sO(e){let t=0,n=e.length;for(;t<n;){let n=e.charCodeAt(t);if(n!==9&&n!==32)break;t+=1}for(;n>t;){let t=e.charCodeAt(n-1);if(t!==9&&t!==32)break;--n}return t===0&&n===e.length?e:e.slice(t,n)}var cO=RegExp(`[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+`,`g`),lO=RegExp(`[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+`,`g`);function uO(e,t){return W.isArray(e)?e.map(e=>uO(e,t)):sO(String(e).replace(t,``))}var dO=e=>uO(e,cO),fO=e=>uO(e,lO);function pO(e){let t=Object.create(null);return W.forEach(e.toJSON(),(e,n)=>{t[n]=fO(e)}),t}var mO=Symbol(`internals`);function hO(e){return e&&String(e).trim().toLowerCase()}function gO(e){return e===!1||e==null?e:W.isArray(e)?e.map(gO):dO(String(e))}function _O(e){let t=Object.create(null),n=/([^\s,;
28=]+)\s*(?:=\s*([^,;]+))?/g,r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}var vO=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function yO(e){let t=0,n=e.length;for(;t<n;){let n=e.charCodeAt(t);if(n!==9&&n!==32)break;t+=1}for(;n>t;){let t=e.charCodeAt(n-1);if(t!==9&&t!==32)break;--n}return t===0&&n===e.length?e:e.slice(t,n)}function bO(e){let t=e.length-1;if(t<1||e.charCodeAt(0)!==34||e.charCodeAt(t)!==34)return e;let n=``;for(let r=1;r<t;r++){let i=e.charCodeAt(r);if(i===34||i===92&&(r+=1,r>=t))return e;n+=e[r]}return n}function xO(e){let t=Object.create(null),n=String(e),r=0,i=!1,a=!1;function o(e){let i=yO(n.slice(r,e)),a=i.indexOf(`=`);if(a<1)return;let o=yO(i.slice(0,a));if(!vO.test(o))return;let s=o.toLowerCase();if(s===`__proto__`||s===`constructor`||s===`prototype`)return;let c=yO(i.slice(a+1));t[s]=bO(c)}for(let e=0;e<n.length;e++){let t=n.charCodeAt(e);i?a?a=!1:t===92?a=!0:t===34&&(i=!1):t===34?i=!0:(t===44||t===59)&&(o(e),r=e+1)}return o(n.length),t}var SO=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function CO(e,t,n,r,i){if(W.isFunction(r))return r.call(this,t,n);if(i&&(t=n),W.isString(t)){if(W.isString(r))return t.indexOf(r)!==-1;if(W.isRegExp(r))return r.test(t)}}function wO(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}function TO(e,t){let n=W.toCamelCase(` `+t);[`get`,`set`,`has`].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}var EO=class{constructor(e){e&&this.set(e)}set(e,t,n){let r=this;function i(e,t,n){let i=hO(t);if(!i)return;let a=W.findKey(r,i);(!a||r[a]===void 0||n===!0||n===void 0&&r[a]!==!1)&&(r[a||t]=gO(e))}let a=(e,t)=>W.forEach(e,(e,n)=>i(e,n,t));if(W.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(W.isString(e)&&(e=e.trim())&&!SO(e))a(oO(e),t);else if(W.isObject(e)&&W.isSafeIterable(e)){let n=Object.create(null),r,i;for(let t of e){if(!W.isArray(t))throw TypeError(`Object iterator must return a key-value pair`);i=t[0],W.hasOwnProp(n,i)?(r=n[i],n[i]=W.isArray(r)?[...r,t[1]]:[r,t[1]]):n[i]=t[1]}a(n,t)}else e!=null&&i(t,e,n);return this}get(e,t){if(e=hO(e),e){let n=W.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(t===!0)return _O(e);if(W.isFunction(t))return t.call(this,e,n);if(W.isRegExp(t))return t.exec(e);throw TypeError(`parser must be boolean|regexp|function`)}}}has(e,t){if(e=hO(e),e){let n=W.findKey(this,e);return!(!n||this[n]===void 0||t&&!CO(this,this[n],n,t))}return!1}delete(e,t){let n=this,r=!1;function i(e){if(e=hO(e),e){let i=W.findKey(n,e);i&&(!t||CO(n,n[i],i,t))&&(delete n[i],r=!0)}}return W.isArray(e)?e.forEach(i):i(e),r}clear(e){let t=Object.keys(this),n=t.length,r=!1;for(;n--;){let i=t[n];(!e||CO(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){let t=this,n={};return W.forEach(this,(r,i)=>{let a=W.findKey(n,i);if(a){t[a]=gO(r),delete t[i];return}let o=e?wO(i):String(i).trim();o!==i&&delete t[i],t[o]=gO(r),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return W.forEach(this,(n,r)=>{n!=null&&n!==!1&&(t[r]=e&&W.isArray(n)?n.join(`, `):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+`: `+t).join(`
29`)}getSetCookie(){let e=this.get(`set-cookie`);return W.isArray(e)?e:e==null||e===!1?[]:[e]}get[Symbol.toStringTag](){return`AxiosHeaders`}static from(e){return e instanceof this?e:new this(e)}static parseParameters(e){return xO(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[mO]=this[mO]={accessors:{}}).accessors,n=this.prototype;function r(e){let r=hO(e);t[r]||(TO(n,e),t[r]=!0)}return W.isArray(e)?e.forEach(r):r(e),this}};EO.accessor([`Content-Type`,`Content-Length`,`Accept`,`Accept-Encoding`,`User-Agent`,`Authorization`]),W.reduceDescriptors(EO.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),W.freezeMethods(EO);var DO=`[REDACTED ****]`;function OO(e){if(W.hasOwnProp(e,`toJSON`))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(W.hasOwnProp(t,`toJSON`))return!0;t=Object.getPrototypeOf(t)}return!1}function kO(e,t){let n=new Set(t.map(e=>String(e).toLowerCase())),r=[],i=e=>{if(typeof e!=`object`||!e||W.isBuffer(e))return e;if(r.indexOf(e)!==-1)return;e instanceof EO&&(e=e.toJSON()),r.push(e);let t;if(W.isArray(e))t=[],e.forEach((e,n)=>{let r=i(e);W.isUndefined(r)||(t[n]=r)});else{if(!W.isPlainObject(e)&&OO(e))return r.pop(),e;t=Object.create(null);for(let[r,a]of Object.entries(e)){let e=n.has(r.toLowerCase())?DO:i(a);W.isUndefined(e)||(t[r]=e)}}return r.pop(),t};return i(e)}function AO(e){try{return String(e)}catch{return``}}function jO(e){return e.errors.map(e=>{try{return e&&e.message?AO(e.message):AO(e)}catch{return``}}
29).filter(Boolean).join(`; `)||e.name||`AggregateError`}var G=class e extends Error{static from(t,n,r,i,a,o){let s=t.message;!s&&W.isArray(t.errors)&&t.errors.length&&(s=jO(t));let c=new e(s,n||t.code,r,i,a);return Object.defineProperty(c,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),c.name=t.name,t.status!=null&&c.status==null&&(c.status=t.status),o&&Object.assign(c,o),c}constructor(e,t,n,r,i){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name=`AxiosError`,this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status)}toJSON(){let e=this.config,t=e&&W.hasOwnProp(e,`redact`)?e.redact:void 0,n=W.isArray(t)&&t.length>0?kO(e,t):W.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}};G.ERR_BAD_OPTION_VALUE=`ERR_BAD_OPTION_VALUE`,G.ERR_BAD_OPTION=`ERR_BAD_OPTION`,G.ECONNABORTED=`ECONNABORTED`,G.ETIMEDOUT=`ETIMEDOUT`,G.ECONNREFUSED=`ECONNREFUSED`,G.ERR_NETWORK=`ERR_NETWORK`,G.ERR_FR_TOO_MANY_REDIRECTS=`ERR_FR_TOO_MANY_REDIRECTS`,G.ERR_DEPRECATED=`ERR_DEPRECATED`,G.ERR_BAD_RESPONSE=`ERR_BAD_RESPONSE`,G.ERR_BAD_REQUEST=`ERR_BAD_REQUEST`,G.ERR_CANCELED=`ERR_CANCELED`,G.ERR_NOT_SUPPORT=`ERR_NOT_SUPPORT`,G.ERR_INVALID_URL=`ERR_INVALID_URL`,G.ERR_FORM_DATA_DEPTH_EXCEEDED=`ERR_FORM_DATA_DEPTH_EXCEEDED`;function MO(e){return W.isPlainObject(e)||W.isArray(e)}function NO(e){return W.endsWith(e,`[]`)?e.slice(0,-2):e}function PO(e,t,n){return e?e.concat(t).map(function(e,t){return e=NO(e),!n&&t?`[`+e+`]`:e}).join(n?`.`:``):t}function FO(e){return W.isArray(e)&&!e.some(MO)}var IO=W.toFlatObject(W,{},null,function(e){return/^is[A-Z]/.test(e)});function LO(e,t,n){if(!W.isObject(e))throw TypeError(`target must be an object`);t||=new FormData;let r=(e,t)=>{let r=W.getSafeProp(n,e);return W.isUndefined(r)?t:r},i=r(`metaTokens`,!0),a=r(`visitor`)||h,o=r(`dots`,!1),s=r(`indexes`,!1),c=r(`Blob`)||typeof Blob<`u`&&Blob,l=r(`maxDepth`,100),u=c&&W.isSpecCompliantForm(t),d=[];if(!W.isFunction(a))throw TypeError(`visitor must be a function`);function f(e){if(e===null)return``;if(W.isDate(e))return e.toISOString();if(W.isBoolean(e))return e.toString();if(!u&&W.isBlob(e))throw new G(`Blob is not supported. Use a Buffer instead.`);if(W.isArrayBuffer(e)||W.isTypedArray(e)){if(u&&typeof c==`function`)return new c([e]);throw new G(`Blob is not supported. Use a Buffer instead.`,G.ERR_NOT_SUPPORT)}return e}function p(e){if(e>l)throw new G(`Object is too deeply nested (`+e+` levels). Max depth: `+l,G.ERR_FORM_DATA_DEPTH_EXCEEDED)}function m(e,t){if(l===1/0)return JSON.stringify(e);let n=[];return JSON.stringify(e,function(e,r){if(!W.isObject(r))return r;for(;n.length&&n[n.length-1]!==this;)n.pop();
29return n.push(r),p(t+n.length-1),r})}function h(e,n,r){let a=e;if(W.isReactNative(t)&&W.isReactNativeBlob(e))return t.append(PO(r,n,o),f(e)),!1;if(e&&!r&&typeof e==`object`){if(W.endsWith(n,`{}`))n=i?n:n.slice(0,-2),e=m(e,1);else if(W.isArray(e)&&FO(e)||(W.isFileList(e)||W.endsWith(n,`[]`))&&(a=W.toArray(e)))return n=NO(n),a.forEach(function(e,r){!(W.isUndefined(e)||e===null)&&t.append(s===!0?PO([n],r,o):s===null?n:n+`[]`,f(e))}),!1}return MO(e)?!0:(t.append(PO(r,n,o),f(e)),!1)}let g=Object.assign(IO,{defaultVisitor:h,convertValue:f,isVisitable:MO});function _(e,n,r=0){if(!W.isUndefined(e)){if(p(r),d.indexOf(e)!==-1)throw Error(`Circular reference detected in `+n.join(`.`));d.push(e),W.forEach(e,function(e,i){(!(W.isUndefined(e)||e===null)&&a.call(t,e,W.isString(i)?i.trim():i,n,g))===!0&&_(e,n?n.concat(i):[i],r+1)}),d.pop()}}if(!W.isObject(e))throw TypeError(`data must be an object`);return _(e),t}function RO(e){let t={"!":`%21`,"'":`%27`,"(":`%28`,")":`%29`,"~":`%7E`,"%20":`+`};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function zO(e,t){this._pairs=[],e&&LO(e,this,t)}var BO=zO.prototype;BO.append=function(e,t){this._pairs.push([e,t])},BO.toString=function(e){let t=e?t=>e.call(this,t,RO):RO;return this._pairs.map(function(e){return t(e[0])+`=`+t(e[1])},``).join(`&`)};function VO(e){return encodeURIComponent(e).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`).replace(/%20/g,`+`)}function HO(e,t,n){if(!t)return e;e||=``;let r=W.isFunction(n)?{serialize:n}:n,i=W.getSafeProp(r,`encode`)||VO,a=W.getSafeProp(r,`serialize`),o;if(o=a?a(t,r):W.isURLSearchParams(t)?t.toString():new zO(t,r).toString(i),o){let t=e.indexOf(`#`);t!==-1&&(e=e.slice(0,t)),e+=(e.indexOf(`?`)===-1?`?`:`&`)+o}return e}var UO=Symbol(`internals`);function WO(e){return e?e.length:0}function GO(e){if(e)for(;e.length&&e[e.length-1]===null;)e.pop()}function KO(e,t){let n=e.handlers,r=WO(n);n===t.handlersRef?r!==t.handlersLength&&(r?t.handlerEntries.forEach(function(e,r){n[e.index]!==e.handler&&t.handlerEntries.delete(r)}):t.handlerEntries.clear()):(t.handlersRef=n,t.handlerEntries.clear()),t.handlersLength=r}var qO=class{constructor(){this.handlers=[],this[UO]={handlersRef:this.handlers,handlersLength:this.handlers.length,handlerEntries:new Map,iterationDepth:0,nextId:0}}use(e,t,n){let r={fulfilled:e,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null},i=this[UO];this.handlers??=[],KO(this,i);let a=i.nextId++;return this.handlers.push(r),i.handlerEntries.set(a,{handler:r,index:this.handlers.length-1}),i.handlersLength=this.handlers.length,a}eject(e){let t=this[UO];KO(this,t);let n=t.handlerEntries.get(e);if(n){if(t.handlerEntries.delete(e),this.handlers[n.index]!==n.handler)return;this.handlers[n.index]=null,t.iterationDepth||(GO(this.handlers),t.handlersLength=this.handlers.length)}}clear(){this.handlers&&(this.handlers=[],KO(this,this[UO]))}forEach(e){let t=this[UO];KO(this,t),t.iterationDepth++;try{W.forEach(this.handlers,function(t){t!==null&&e(t)})}finally{--t.iterationDepth||(KO(this,t),GO(this.handlers),t.handlersLength=WO(this.handlers))}}},JO={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},YO={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<`u`?URLSearchParams:zO,FormData:typeof FormData<`u`?FormData:null,Blob:typeof Blob<`u`?Blob:null},protocols:[`http`,`https`,`file`,`blob`,`url`,`data`]},XO=c({hasBrowserEnv:()=>ZO,hasStandardBrowserEnv:()=>$O,hasStandardBrowserWebWorkerEnv:()=>ek,navigator:()=>QO,origin:()=>tk}),ZO=typeof window<`u`&&typeof document<`u`,QO=typeof navigator==`object`&&navigator||void 0,$O=ZO&&(!QO||[`ReactNative`,`NativeScript`,`NS`].indexOf(QO.product)<0),ek=typeof WorkerGlobalScope<`u`&&self instanceof WorkerGlobalScope&&typeof self.importScripts==`function`,tk=ZO&&window.location.href||`http://localhost`,nk={...XO,...YO};function rk(e,t){return LO(e,new nk.classes.URLSearchParams,{visitor:function(e,t,n,r){return nk.isNode&&W.isBuffer(e)?(this.append(t,e.toString(`base64`)),!1):r.defaultVisitor.apply(this,arguments)},...t})}var ik=100;function ak(e){if(e>ik)throw new G(`FormData field is too deeply nested (`+e+` levels). Max depth: `+ik,G.ER
29R_FORM_DATA_DEPTH_EXCEEDED)}function ok(e){let t=[],n=/[^.[\]]+|\[([^.[\]]*)]/g,r;for(;(r=n.exec(e))!==null;)ak(t.length),t.push(r[0]===`[]`?``:r[1]||r[0]);return t}function sk(e){let t={},n=Object.keys(e),r,i=n.length,a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function ck(e){function t(e,n,r,i){ak(i);let a=e[i++];if(a===`__proto__`)return!0;let o=Number.isFinite(+a),s=i>=e.length;return a=!a&&W.isArray(r)?r.length:a,s?(W.hasOwnProp(r,a)?r[a]=W.isArray(r[a])?r[a].concat(n):[r[a],n]:r[a]=n,!o):((!W.hasOwnProp(r,a)||!W.isObject(r[a]))&&(r[a]=[]),t(e,n,r[a],i)&&W.isArray(r[a])&&(r[a]=sk(r[a])),!o)}if(W.isFormData(e)&&W.isFunction(e.entries)){let n={};return W.forEachEntry(e,(e,r)=>{t(ok(e),r,n,0)}),n}return null}var lk=Object.freeze([`get`,`delete`,`head`,`options`,`post`,`put`,`patch`,`purge`,`link`,`unlink`,`query`]),uk=(e,t)=>e!=null&&W.hasOwnProp(e,t)?e[t]:void 0;function dk(e,t,n){if(W.isString(e))try{return(t||JSON.parse)(e),W.trim(e)}catch(e){if(e.name!==`SyntaxError`)throw e}return(n||JSON.stringify)(e)}var fk={transitional:JO,adapter:[`xhr`,`http`,`fetch`],transformRequest:[function(e,t){let n=t.getContentType()||``,r=n.indexOf(`application/json`)>-1,i=W.isObject(e);if(i&&W.isHTMLForm(e)&&(e=new FormData(e)),W.isFormData(e))return r?JSON.stringify(ck(e)):e;if(W.isArrayBuffer(e)||W.isBuffer(e)||W.isStream(e)||W.isFile(e)||W.isBlob(e)||W.isReadableStream(e))return e;if(W.isArrayBufferView(e))return e.buffer;if(W.isURLSearchParams(e))return t.setContentType(`application/x-www-form-urlencoded;charset=utf-8`,!1),e.toString();let a;if(i){let t=uk(this,`formSerializer`);if(n.indexOf(`application/x-www-form-urlencoded`)>-1)return rk(e,t).toString();if((a=W.isFileList(e))||n.indexOf(`multipart/form-data`)>-1){let n=uk(this,`env`),r=n&&n.FormData;return LO(a?{"files[]":e}:e,r&&new r,t)}}return i||r?(t.setContentType(`application/json`,!1),dk(e)):e}],transformResponse:[function(e){let t=uk(this,`transitional`)||fk.transitional,n=t&&t.forcedJSONParsing,r=uk(this,`responseType`),i=r===`json`;if(W.isResponse(e)||W.isReadableStream(e))return e;if(e&&W.isString(e)&&(n&&!r||i)){let n=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e,uk(this,`parseReviver`))}catch(e){if(n)throw e.name===`SyntaxError`?G.from(e,G.ERR_BAD_RESPONSE,this,null,uk(this,`response`)):e}}return e}],timeout:0,xsrfCookieName:`XSRF-TOKEN`,xsrfHeaderName:`X-XSRF-TOKEN`,maxContentLength:-1,maxBodyLength:-1,env:{FormData:nk.classes.FormData,Blob:nk.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:`application/json, text/plain, */*`,"Content-Type":void 0}}};W.forEach(lk,e=>{fk.headers[e]={}});function pk(e,t){let n=this||fk,r=t||n,i=EO.from(r.headers),a=r.data;return W.forEach(e,function(e){a=e.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function mk(e){return!!(e&&e.__CANCEL__)}var hk=class extends G{constructor(e,t,n){super(e??`canceled`,G.ERR_CANCELED,t,n),this.name=`CanceledError`,this.__CANCEL__=!0}};function gk(e,t,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new G(`Request failed with status code `+n.status,n.status>=400&&n.status<500?G.ERR_BAD_REQUEST:G.ERR_BAD_RESPONSE,n.config,n.request,n))}var _k=/[\t\n\r]/g;function vk(e){if(typeof e!=`string`)return e;let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t).replace(_k,``)}function yk(e){let t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||``}function bk(e,t){e||=10;let n=Array(e),r=Array(e),i=0,a=0,o;return t=t===void 0?1e3:t,function(s){let c=Date.now(),l=r[a];o||=c,n[i]=s,r[i]=c;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-o<t)return;let f=l&&c-l;return f?Math.round(d*1e3/f):void 0}}function xk(e,t){let n=0,r=1e3/t,i,a,o=(t,r=Date.now())=>{n=r,i=null,a&&=(clearTimeout(a),null),e(...t)};return[(...e)=>{let t=Date.now(),s=t-n;s>=r?o(e,t):(i=e,a||=setTimeout(()=>{a=null,o(i)},r-s))},()=>i&&o(i),(...e)=>o(e)]}var Sk=(e,t,n=3)=>{let r=0,i=bk(50,250);return xk(n=>{if(!n||!W.isNumber(n.loaded))return;let a=n.loaded,o=n.lengthComputable?n.total:void 0,s=Math.max(0,o==null?a:Math.min(a,o)),c=Math.max(0,s-r),l=i(c);r=Math.max(r,s),e({loaded:s,total:o,progress:o?s/o:void 0,bytes:c,rate:l||void 0,estimated:l&&o?(o-s)/l:void 0,event:n,lengthComputable:o!=null,[t?`download`:`upload`]:!0})},n)},Ck=(e,t)=>{let n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},wk=(e,t=W.asap)=>(...n)=>t(()=>e(...n)),Tk=nk.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,nk.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(nk.origin),nk.navigator&&/(msie|trident)/i.test(nk.navigator.userAgent)):()=>!0,Ek=nk.hasStandardBrowserEnv?{write(e,t,n,r,i,a,o){if(typeof document>`u`)return;let s=[`${e}=${encodeURIComponent(t)}`];W.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),W.isString(r)&&s.push(`path=${r}`),W.isString(i)&&s.push(`domain=${i}`),a===!0&&s.push(`secure`),W.isString(o)&&s.push(`SameSite=${o}`),document.cookie=s.join(`; `)},read(e){if(typeof document>`u`)return null;let t=document.cookie.split(`;`);for(let n=0;n<t.length;n++){let r=t[n].replace(/^\s+/,``),i=r.indexOf(`=`);
29if(i!==-1&&r.slice(0,i)===e)try{return decodeURIComponent(r.slice(i+1))}catch{return r.slice(i+1)}}return null},remove(e){this.write(e,``,Date.now()-864e5,`/`)}}:{write(){},read(){return null},remove(){}};function Dk(e){return typeof e==`string`&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Ok(e,t){if(!t)return e;let n=e.length;for(;n>0&&e.charCodeAt(n-1)===47;)n--;return e.slice(0,n)+`/`+t.replace(/^\/+/,``)}var kk=/^https?:(?!\/\/)/i;function Ak(e){return e&&e.replace(/(^|&)([^=&]*=)?[^&]+/g,(e,t,n=``)=>`${t}${n}${DO}`)}function jk(e){let t=e.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${DO}@`),n=t.indexOf(`#`),r=(n===-1?t:t.slice(0,n)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${DO}`);return n===-1?r:`${r}#${Ak(t.slice(n+1))}`}function Mk(e,t){if(typeof e==`string`){let n=vk(e);if(kk.test(n))throw new G(`Invalid URL ${JSON.stringify(jk(n))}: missing "//" after protocol`,G.ERR_INVALID_URL,t)}}function Nk(e,t,n,r){Mk(t,r);let i=!Dk(t);return e&&(i||n===!1)?(Mk(e,r),Ok(e,t)):t}var Pk=e=>e instanceof EO?{...e}:e,Fk=e=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(e).concat(Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t).enumerable)):Object.keys(e);function Ik(e,t){e||={},t||={};let n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(e,t,n,r){return W.isPlainObject(e)&&W.isPlainObject(t)?W.merge.call({caseless:r},e,t):W.isPlainObject(t)?W.merge({},t):W.isArray(t)?t.slice():t}function i(e,t,n,i){if(!W.isUndefined(t))return r(e,t,n,i);if(!W.isUndefined(e))return r(void 0,e,n,i)}function a(e,t){if(!W.isUndefined(t))return r(void 0,t)}function o(e,t){if(!W.isUndefined(t))return r(void 0,t);if(!W.isUndefined(e))return r(void 0,e)}function s(n){let r=W.hasOwnProp(t,`transitional`)?t.transitional:void 0;if(!W.isUndefined(r)){if(W.isPlainObject(r)){if(W.hasOwnProp(r,n))return r[n]}else return}let i=W.hasOwnProp(e,`transitional`)?e.transitional:void 0;if(W.isPlainObject(i)&&W.hasOwnProp(i,n))return i[n]}function c(n,i,a){if(W.hasOwnProp(t,a))return r(n,i);if(W.hasOwnProp(e,a))return r(void 0,n)}let l={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutErrorMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,allowedSocketPaths:o,responseEncoding:o,validateStatus:c,headers:(e,t,n)=>i(Pk(e),Pk(t),n,!0)};return W.forEach(Fk({...e,...t}),function(r){if(r===`__proto__`||r===`constructor`||r===`prototype`)return;let a=W.hasOwnProp(l,r)?l[r]:i,o=a(W.hasOwnProp(e,r)?e[r]:void 0,W.hasOwnProp(t,r)?t[r]:void 0,r);W.isUndefined(o)&&a!==c||(n[r]=o)}),W.hasOwnProp(t,`validateStatus`)&&W.isUndefined(t.validateStatus)&&s(`validateStatusUndefinedResolves`)===!1&&(W.hasOwnProp(e,`validateStatus`)?n.validateStatus=r(void 0,e.validateStatus):delete n.val
29idateStatus),n}var Lk=[`content-type`,`content-length`];function Rk(e,t,n){if(n!==`content-only`){e.set(t);return}Object.entries(t||{}).forEach(([t,n])=>{Lk.includes(t.toLowerCase())&&e.set(t,n)})}var zk=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16)));function Bk(e){let t=Ik({},e),n=e=>W.hasOwnProp(t,e)?t[e]:void 0,r=n(`data`),i=n(`withXSRFToken`),a=n(`xsrfHeaderName`),o=n(`xsrfCookieName`),s=n(`headers`),c=n(`auth`),l=n(`baseURL`),u=n(`allowAbsoluteUrls`),d=n(`url`);if(t.headers=s=EO.from(s),t.url=HO(Nk(l,d,u,t),n(`params`),n(`paramsSerializer`)),c){let t=W.getSafeProp(c,`username`)||``,n=W.getSafeProp(c,`password`)||``;try{s.set(`Authorization`,`Basic `+btoa(t+`:`+(n?zk(n):``)))}catch(t){throw G.from(t,G.ERR_BAD_OPTION_VALUE,e)}}if(W.isFormData(r)){let e=W.getSafeProp(r,`getHeaders`);nk.hasStandardBrowserEnv||nk.hasStandardBrowserWebWorkerEnv||W.isReactNative(r)?s.setContentType(void 0):W.isFunction(e)&&Rk(s,e.call(r),n(`formDataHeaderPolicy`))}if(nk.hasStandardBrowserEnv&&(W.isFunction(i)&&(i=i(t)),i===!0||i==null&&Tk(t.url))){let e=a&&o&&Ek.read(o);e&&s.set(a,e)}return t}var Vk=typeof XMLHttpRequest<`u`&&function(e){return new Promise(function(t,n){let r=Bk(e),i=r.data,a=EO.from(r.headers).normalize(),{responseType:o,onUploadProgress:s,onDownloadProgress:c}=r,l,u,d,f,p,m;function h(){f&&f(),p&&p(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener(`abort`,l)}let g=new XMLHttpRequest;g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout;function _(i){if(!g)return;if(g.status===0&&(yk(vk(r.url))||yk(nk.origin))!==`file`&&!(g.responseURL&&g.responseURL.startsWith(`file:`))){n(new G(`Request aborted`,G.ECONNABORTED,e,g)),h(),g=null;return}try{i?m&&m(i):p&&p()}catch(e){setTimeout(()=>{throw e})}if(!g)return;let a=EO.from(`getAllResponseHeaders`in g&&g.getAllResponseHeaders());gk(function(e){t(e),h()},function(e){n(e),h()},{data:!o||o===`text`||o===`json`?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:a,config:e,request:g}),g=null}`onloadend`in g?g.onloadend=_:g.onreadystatechange=function(){g&&g.readyState===4&&(g.status!==0||g.responseURL&&g.responseURL.startsWith(`file:`))&&setTimeout(_)},g.onabort=function(){g&&=(n(new G(`Request aborted`,G.ECONNABORTED,e,g)),h(),null)},g.onerror=function(t){let r=new G(t&&t.message?t.message:`Network Error`,G.ERR_NETWORK,e,g);r.event=t||null,n(r),h(),g=null},g.ontimeout=function(){let t=r.timeout?`timeout of `+r.timeout+`ms exceeded`:`timeout exceeded`,i=r.transitional||JO;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new G(t,i.clarifyTimeoutError?G.ETIMEDOUT:G.ECONNABORTED,e,g)),h(),g=null},i===void 0&&a.setContentType(null),`setRequestHeader`in g&&W.forEach(pO(a),function(e,t){g.setRequestHeader(t,e)}),W.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),o&&o!==`json`&&(g.responseType=r.responseType),c&&([d,p,m]=Sk(c,!0),g.addEventListener(`progress`,d)),s&&g.upload&&([u,f]=Sk(s),g.upload.addEventListener(`progress`,u),g.upload.addEventListener(`loadend`,f)),(r.cancelToken||r.signal)&&(l=t=>{g&&=(n(!t||t.type?new hk(null,e,g):t),g.abort(),h(),null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener(`abort`,l)));let v=yk(r.url);if(v&&!nk.protocols.includes(v)){n(new G(`Unsupported protocol `+v+`:`,G.ERR_BAD_REQUEST,e)),h();return}g.send(i||null)})},Hk=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;let n=new AbortController,r=!1,i=function(e){if(!r){r=!0,o();let t=e instanceof Error?e:this.reason;n.abort(t instanceof G?t:new hk(t instanceof Error?t.message:t))}},a=t&&setTimeout(()=>{a=null,i(new G(`timeout of ${t}ms exceeded`,G.ETIMEDOUT))},t),o=()=>{e&&=(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener(`abort`,i)}),null)};e.forEach(e=>{if(!r){if(e.aborted){i.call(e);return}e.addEventListener(`abort`,i,{once:!0})}});let{signal:s}=n;return s.unsubscribe=()=>W.asap(o),s},Uk=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},Wk=async function*(e,t){for await(let n of Gk(e))yield*Uk(n,t)},Gk=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},Kk=(e,t,n,r)=>{let i=Wk(e,t),a=0,o,s=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{let{done:t,value:r}=await i.next();if(t){s(),e.close();return}let o=r.byteLength;n&&n(a+=o),e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel(e){return s(e),i.return()}},{highWaterMark:2})},qk=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,Jk=(e,t,n)=>t+2<n&&qk(e.charCodeAt(t+1))&&qk(e.charCodeAt(t+2)),Yk=e=>e<=57?e-48:(e&223)-55,Xk=e=>e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===47||e===45||e===95,Zk=e=>e===9||e===10||e===12||e===13||e===32,Qk=e=>{let t=Math.floor(e/4),n=e%4;return t*3+(n===2?1:n===3?2:0)},$k=e=>{let t=e.length,n=0;return t>0&&e.charCodeAt(t-1)===61&&(n++,t>1&&e.charCodeAt(t-2)===61&&n++),Math.floor((t-n)*3/4)},eA=e=>{let t=e.length,n=0,r=0,i=!1;for(let a=0;a<t;a++){let o=e.charCodeAt(a);if(o===37&&Jk(e,a,t)&&(o=Yk(e.charCodeAt(a+1))*16+Yk(e.charCodeAt(a+2)),a+=2),!Zk(o)){if(o===61){r++;continue}if(!Xk(o)||r>0){i=!0;continue}n++}}return i||r>2||r>0&&(n+r)%4!=0||n%4==1?$k(e):Qk(n)},tA=(e,t)=>
29{if(!e||typeof e!=`string`||!e.startsWith(`data:`))return 0;let n=e.indexOf(`,`);if(n<0)return 0;let r=e.slice(5,n),i=e.slice(n+1);if(/;base64/i.test(r))return t(i);let a=0;for(let e=0,t=i.length;e<t;e++){let n=i.charCodeAt(e);if(n===37&&Jk(i,e,t))a+=1,e+=2;else if(n<128)a+=1;else if(n<2048)a+=2;else if(n>=55296&&n<=56319&&e+1<t){let t=i.charCodeAt(e+1);t>=56320&&t<=57343?(a+=4,e++):a+=3}else a+=3}return a};function nA(e){let t=typeof e==`string`?e.indexOf(`#`):-1;return tA(t===-1?e:e.slice(0,t),eA)}var rA=`1.20.0`,iA=65536,aA={cache:`default`,redirect:`follow`,referrer:`about:client`,referrerPolicy:``,mode:`cors`,integrity:``,keepalive:!1,priority:`auto`,window:null},{isFunction:oA}=W,sA=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))),cA=e=>{if(!W.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},lA=(e,...t)=>{try{return!!e(...t)}catch{return!1}},uA=e=>{let t=e.indexOf(`://`),n=e;return t!==-1&&(n=n.slice(t+3)),n.includes(`@`)||n.includes(`:`)},dA=e=>{let t=W.global!==void 0&&W.global!==null?W.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=W.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);let{fetch:i,Request:a,Response:o}=e,s=i?oA(i):typeof fetch==`function`,c=oA(a),l=oA(o);if(!s)return!1;let u=s&&oA(n),d=s&&(typeof r==`function`?(e=>t=>e.encode(t))(new r):async e=>new Uint8Array(await new a(e).arrayBuffer())),f=c&&u&&lA(()=>{let e=!1,t=new a(nk.origin,{body:new n,method:`POST`,get duplex(){return e=!0,`half`}}),r=t.headers.has(`Content-Type`);return t.body!=null&&t.body.cancel(),e&&!r}),p=l&&u&&lA(()=>W.isReadableStream(new o(``).body)),m={stream:p&&(e=>e.body)};s&&[`text`,`arrayBuffer`,`blob`,`formData`,`stream`].forEach(e=>{!m[e]&&(m[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new G(`Response type '${e}' is not supported`,G.ERR_NOT_SUPPORT,n)})});let h=async e=>{if(e==null)return 0;if(W.isBlob(e))return e.size;if(W.isSpecCompliantForm(e))return(await new a(nk.origin,{method:`POST`,body:e}).arrayBuffer()).byteLength;if(W.isArrayBufferView(e)||W.isArrayBuffer(e))return e.byteLength;if(W.isURLSearchParams(e)&&(e+=``),W.isString(e))return(await d(e)).byteLength},g=async(e,t)=>W.toFiniteNumber(e.getContentLength())??h(t);return async e=>{let{url:t,method:n,data:s,signal:l,cancelToken:d,timeout:_,onDownloadProgress:v,onUploadProgress:y,responseType:b,headers:x,withCredentials:S=`same-origin`,fetchOptions:C,maxContentLength:w,maxBodyLength:T,maxRedirects:E}=Bk(e),D=W.isNumber(w)&&w>-1,O=W.isNumber(T)&&T>-1,ee=t=>W.hasOwnProp(e,t)?e[t]:void 0,k=i||fetch;b=b?(b+``).toLowerCase():`text`;let te=Hk([l,d&&d.toAbortSignal()],_),A=null,ne=te&&te.unsubscribe&&(()=>{te.unsubscribe()}),j,re=null,ie=()=>new G(`Request body larger than maxBodyLength limit`,G.ERR_BAD_REQUEST,e,A);try{let i,l=ee(`auth`);if(l&&(i={username:W.getSafeProp(l,`username`)||``,password:W.getSafeProp(l,`password`)||``}),uA(t)){let e=new URL(t,nk.origin);!i&&(e.username||e.password)&&(i={username:cA(e.username),password:cA(e.password)}),(e.username||e.password)&&(e.username=``,e.password=``,t=e.href)}if(i&&(x.delete(`authorization`),x.set(`Authorization`,`Basic `+btoa(sA((i.username||``)+`:`+(i.password||``))))),D&&typeof t==`string`&&t.startsWith(`data:`)&&nA(t)>w)throw new G(`maxContentLength size of `+w+` exceeded`,G.ERR_BAD_RESPONSE,e,A);if(O&&n!==`get`&&n!==`head`){let e=await h(s);if(typeof e==`number`&&isFinite(e)&&(j=e,e>T))throw ie()}let d=O&&(W.isReadableStream(s)||W.isStream(s)),_=(e,t,n)=>Kk(e,iA,e=>{if(O&&e>T)throw re=ie();t&&t(e)},n);if(f&&n!==`get`&&n!==`head`&&(y||d)){if(j??=await g(x,s),j!==0||d){let e=new a(t,{method:`POST`,body:s,duplex:`half`}),n;if(W.isFormData(s)&&(n=e.headers.get(`content-type`))&&x.setContentType(n),e.body){let[t,n]=y&&Ck(j,Sk(wk(y)))||[];s=_(e.body,t,n)}}}else if(d&&!c&&u&&n!==`get`&&n!==`head`)s=_(s);else if(d&&c&&!f&&n!==`get`&&n!==`head`)throw new G(`Stream request bodies are not supported by the current fetch implementation`,G.ERR_NOT_SUPPORT,e,A);W.isString(S)||(S=S?`include`:`omit`);let ae=c&&`credentials`in a.prototype;
29if(W.isFormData(s)){let e=x.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&x.delete(`content-type`)}x.set(`User-Agent`,`axios/`+rA,!1);let oe=C==null?C:Object.assign(Object.create(null),C);oe&&(delete oe.body,delete oe.headers,delete oe.method,delete oe.signal,delete oe.duplex,delete oe.credentials);let se=Object.assign(Object.create(null),oe,{signal:te,method:n.toUpperCase(),headers:pO(x.normalize()),body:s,duplex:`half`,credentials:ae?S:void 0});c&&(W.forEach(aA,(e,t)=>{se[t]===void 0&&(se[t]=e)}),se.signal===void 0&&(se.signal=null),se.body===void 0&&(se.body=null)),E===0&&(se.redirect=`manual`,oe&&(oe.redirect=`manual`)),A=c&&new a(t,se);let ce=await(c?k(A,oe):k(t,se)),le=EO.from(ce.headers);if(D){let t=W.toFiniteNumber(le.getContentLength());if(t!=null&&t>w)throw new G(`maxContentLength size of `+w+` exceeded`,G.ERR_BAD_RESPONSE,e,A)}let ue=p&&(b===`stream`||b===`response`);if(p&&ce.body&&(v||D||ue&&ne)){let t={};[`status`,`statusText`,`headers`].forEach(e=>{t[e]=ce[e]});let n=W.toFiniteNumber(le.getContentLength()),[r,i]=v&&Ck(n,Sk(wk(v),!0))||[],a=0;ce=new o(Kk(ce.body,iA,t=>{if(D&&(a=t,a>w))throw new G(`maxContentLength size of `+w+` exceeded`,G.ERR_BAD_RESPONSE,e,A);r&&r(t)},()=>{i&&i(),ne&&ne()}),t)}b||=`text`;let de=await m[W.findKey(m,b)||`text`](ce,e);if(D&&!p&&!ue){let t;if(de!=null&&(typeof de.byteLength==`number`?t=de.byteLength:typeof de.size==`number`?t=de.size:typeof de==`string`&&(t=typeof r==`function`?new r().encode(de).byteLength:de.length)),typeof t==`number`&&t>w)throw new G(`maxContentLength size of `+w+` exceeded`,G.ERR_BAD_RESPONSE,e,A)}return!ue&&ne&&ne(),await new Promise((t,n)=>{gk(t,n,{data:de,headers:EO.from(ce.headers),status:ce.status,statusText:ce.statusText,config:e,request:A})})}catch(t){if(ne&&ne(),te&&te.aborted&&te.reason instanceof G){let n=te.reason;throw n.config=e,A&&(n.request=A),t!==n&&Object.defineProperty(n,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),n}if(re)throw A&&!re.request&&(re.request=A),re;if(t instanceof G)throw A&&!t.request&&(t.request=A),t;if(t&&t.name===`TypeError`&&/Load failed|fetch/i.test(t.message)){let n=new G(`Network Error`,G.ERR_NETWORK,e,A,t&&t.response);throw Object.defineProperty(n,"cause",{__proto__:null,value:t.cause||t,writable:!0,enumerable:!1,configurable:!0}),n}throw G.from(t,t&&t.code,e,A,t&&t.response)}}},fA=new Map,pA=e=>{let t=e&&e.env||{},{fetch:n,Request:r,Response:i}=t,a=[r,i,n],o=a.length,s,c,l=fA;for(;o--;)s=a[o],c=l.get(s),c===void 0&&l.set(s,c=o?new Map:dA(t)),l=c;return c};pA();var mA={http:null,xhr:Vk,fetch:{get:pA}};W.forEach(mA,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});var hA=e=>`- ${e}`,gA=e=>W.isFunction(e)||e===null||e===!1;function _A(e,t){e=W.isArray(e)?e:[e];let{length:n}=e,r,i,a={};for(let o=0;o<n;o++){r=e[o];let n;if(i=r,!gA(r)&&(i=mA[(n=String(r)).toLowerCase()],i===void 0))throw new G(`Unknown adapter '${n}'`);if(i&&(W.isFunction(i)||(i=i.get(t))))break;a[n||`#`+o]=i}if(!i){let e=Object.entries(a).map(([e,t])=>`adapter ${e} `+(t===!1?`is not supported by the environment`:`is not available in the build`));throw new G(`There is no suitable adapter to dispatch the request `+(n?e.length>1?`since :
30`+e.map(hA).join(`
31`):` `+hA(e[0]):`as no adapter specified`),G.ERR_NOT_SUPPORT)}return i}var vA={getAdapter:_A,adapters:mA};function yA(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new hk(null,e)}function bA(e){let t=W.toSafeFlatObject(e);return yA(t),t.headers=EO.from(W.getSafeProp(t,`headers`)),t.data=pk.call(t,t.transformRequest),[`post`,`put`,`patch`].indexOf(t.method)!==-1&&t.headers.setContentType(`application/x-www-form-urlencoded`,!1),vA.getAdapter(t.adapter||fk.adapter,t)(t).then(function(e){yA(t),t.response=e;try{e.data=pk.call(t,t.transformResponse,e)}finally{delete t.response}return e.headers=EO.from(e.headers),e},function(e){if(!mk(e)&&(yA(t),e&&e.response)){t.response=e.response;try{e.response.data=pk.call(t,t.transformResponse,e.response)}finally{delete t.response}e.response.headers=EO.from(e.response.headers)}return Promise.reject(e)})}var xA={};[`object`,`boolean`,`number`,`function`,`string`,`symbol`].forEach((e,t)=>{xA[e]=function(n){return typeof n===e||`a`+(t<1?`n `:` `)+e}});var SA={};xA.transitional=function(e,t,n){function r(e,t){return`[Axios v`+rA+`] Transitional option '`+e+`'`+t+(n?`. `+n:``)}return(n,i,a)=>
31{if(e===!1)throw new G(r(i,` has been removed`+(t?` in `+t:``)),G.ERR_DEPRECATED);return t&&!SA[i]&&(SA[i]=!0,console.warn(r(i,` has been deprecated since v`+t+` and will be removed in the near future`))),!e||e(n,i,a)}},xA.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function CA(e,t,n){if(typeof e!=`object`||!e)throw new G(`options must be an object`,G.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),i=r.length;for(;i-->0;){let a=r[i],o=Object.prototype.hasOwnProperty.call(t,a)?t[a]:void 0;if(o){let t=e[a],n=t===void 0||o(t,a,e);if(n!==!0)throw new G(`option `+a+` must be `+n,G.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new G(`Unknown option `+a,G.ERR_BAD_OPTION)}}var wA={assertOptions:CA,validators:xA},TA=wA.validators,EA=class{constructor(e){this.defaults=e||{},this.interceptors={request:new qO,response:new qO}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error)try{let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let n=t.stack,r=``;if(typeof n==`string`){let e=n.indexOf(`
32`);r=e===-1?``:n.slice(e+1)}if(!e.stack)e.stack=r;else if(r){let t=r.indexOf(`
33`),n=t===-1?-1:r.indexOf(`
34`,t+1),i=n===-1?``:r.slice(n+1);String(e.stack).endsWith(i)||(e.stack+=`
35`+r)}}catch{}throw e}}_request(e,t){typeof e==`string`?(t||={},t.url=e):t=e||{},t=Ik(this.defaults,t);let{transitional:n,paramsSerializer:r,headers:i}=t;n!==void 0&&wA.assertOptions(n,{silentJSONParsing:TA.transitional(TA.boolean),forcedJSONParsing:TA.transitional(TA.boolean),clarifyTimeoutError:TA.transitional(TA.boolean),legacyInterceptorReqResOrdering:TA.transitional(TA.boolean),advertiseZstdAcceptEncoding:TA.transitional(TA.boolean),validateStatusUndefinedResolves:TA.transitional(TA.boolean)},!1),r!=null&&(W.isFunction(r)?t.paramsSerializer={serialize:r}:wA.assertOptions(r,{encode:TA.function,serialize:TA.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls===void 0?t.allowAbsoluteUrls=!0:t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls),wA.assertOptions(t,{baseUrl:TA.spelling(`baseURL`),withXsrfToken:TA.spelling(`withXSRFToken`)},!0),t.method=(W.getSafeProp(t,`method`)||W.getSafeProp(this.defaults,`method`)||`get`).toLowerCase();let a=i&&W.merge(i.common,i[t.method]);i&&W.forEach(lk.concat(`common`),e=>{delete i[e]}),t.headers=EO.concat(a,i);let o=[],s=!0;this.interceptors.request.forEach(function(e){if(typeof e.runWhen==`function`&&e.runWhen(t)===!1)return;s&&=e.synchronous;let n=t.transitional||JO;n&&n.legacyInterceptorReqResOrdering?o.unshift(e.fulfilled,e.rejected):o.push(e.fulfilled,e.rejected)});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let l,u=0,d;if(!s){let e=[bA.bind(this),void 0];for(e.unshift(...o),e.push(...c),d=e.length,l=Promise.resolve(t);u<d;)l=l.then(e[u++],e[u++]);return l}d=o.length;let f=t;for(;u<d;){let e=o[u++],t=o[u++];try{f=e?e(f):f}catch(e){if(!t){l=Promise.reject(e);break}try{let n=t.call(this,e);W.isThenable(n)&&(l=Promise.resolve(n).then(()=>bA.call(this,f)))}catch(e){l=Promise.reject(e)}break}}if(!l)try{l=bA.call(this,f)}catch(e){l=Promise.reject(e)}for(u=0,d=c.length;u<d;)l=l.then(c[u++],c[u++]);return l}getUri(e){return e=Ik(this.defaults,e),HO(Nk(e.baseURL,e.url,e.allowAbsoluteUrls,e),e.params,e.paramsSerializer)}};W.forEach([`delete`,`get`,`head`,`options`],function(e){EA.prototype[e]=function(t,n){return this.request(Ik(n||{},{method:e,url:t,data:n&&W.hasOwnProp(n,`data`)?n.data:void 0}))}}),W.forEach([`post`,`put`,`patch`,`query`],function(e){function t(t){return function(n,r,i){return this.request(Ik(i||{},{method:e,headers:t?{"Content-Type":`multipart/form-data`}:{},url:n,data:r}))}}EA.prototype[e]=t(),e!==`query`&&(EA.prototype[e+`Form`]=t(!0))});var DA=class e{constructor(e){if(typeof e!=`function`)throw TypeError(`executor must be a function.`);let t;this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-->0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t,r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new hk(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
35subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}};function OA(e){return function(t){return e.apply(null,t)}}function kA(e){return W.isObject(e)&&e.isAxiosError===!0}var AA={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,ContentTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,UnprocessableContent:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(AA).forEach(([e,t])=>{AA[t]===void 0&&(AA[t]=e)});function jA(e){let t=new EA(e),n=RE(EA.prototype.request,t);return W.extend(n,EA.prototype,t,{allOwnKeys:!0}),W.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return jA(Ik(e,t))},n}var MA=jA(fk);MA.Axios=EA,MA.CanceledError=hk,MA.CancelToken=DA,MA.isCancel=mk,MA.VERSION=rA,MA.toFormData=LO,MA.AxiosError=G,MA.Cancel=MA.CanceledError,MA.all=function(e){return Promise.all(e)},MA.spread=OA,MA.isAxiosError=kA,MA.mergeConfig=Ik,MA.AxiosHeaders=EO,MA.formToJSON=e=>ck(W.isHTMLForm(e)?new FormData(e):e),MA.getAdapter=vA.getAdapter,MA.HttpStatusCode=AA,MA.default=MA;var NA=[];for(let e=0;e<256;++e)NA.push((e+256).toString(16).slice(1));function PA(e,t=0){return(NA[e[t+0]]+NA[e[t+1]]+NA[e[t+2]]+NA[e[t+3]]+`-`+NA[e[t+4]]+NA[e[t+5]]+`-`+NA[e[t+6]]+NA[e[t+7]]+`-`+NA[e[t+8]]+NA[e[t+9]]+`-`+NA[e[t+10]]+NA[e[t+11]]+NA[e[t+12]]+NA[e[t+13]]+NA[e[t+14]]+NA[e[t+15]]).toLowerCase()}var FA=new Uint8Array(16);function IA(){return crypto.getRandomValues(FA)}function LA(e,t,n){return!t&&!e&&crypto.randomUUID?crypto.randomUUID():RA(e,t,n)}function RA(e,t,n){e||={};let r=e.random??e.rng?.()??IA();if(r.length<16)throw Error(`Random bytes length must be >= 16`);if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(n||=0,n<0||n+16>t.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=r[e];return t}return PA(r)}var zA=e=>{let{method:t,pathAPI:n=`API`,url:r,payload:i,useGeneralLoading:a=!1,useGeneralError:o=!1,onStartRequest:s,onFinishRequest:c,onFailedRequest:l,isAuth:u=!0,authConfig:d={nameParameterHeader:`Authorization`,generateAuthString:e=>`Bearer ${e}`},refreshConfig:f={codeErrorUnauthorized:401,nameParameterAuthData:{token:`token`,refreshToken:`refresh_token`},configRequest:{method:`POST`,url:`/api/token/refresh`,nameParameterPayload:`refresh_token`}},headers:p}=e,m=({useGeneralLoading:e,idRequest:t,...n})=>{e&&Jj(Vj.setQueueLoading(t)),s&&s({useGeneralLoading:e,idRequest:t,...n})},h=({useGeneralLoading:e,idRequest:t,...n})=>{e&&Jj(Vj.removeQueueLoading(t)),c&&c({useGeneralLoading:e,idRequest:t,...n})},g=({useGeneralError:e,...t})=>{e&&Jj(Vj.setGeneralError()),l&&l({useGeneralError:e,...t})},_=LA();m({useGeneralLoading:a,idRequest:_});let v={baseURL:n===`API`?U.apiPath:U.wpPath,method:t,url:r,withCredentials:!1,headers:p},y=mw();return d&&u&&n===`API`&&y&&(v.headers||={},v.headers[d.nameParameterHeader]=d.generateAuthString(y)),i&&[`GET`,`get`].includes(t)?v.params=i:v.data=i,MA.request(v).then(e=>e).catch(async e=>{if(!e.config)return Promise.reject(e);
35if(n===`API`&&f&&u){let t=_w();if(e?.response?.status===f.codeErrorUnauthorized&&t)try{bw();let n=await zA({...f.configRequest,payload:{[f.configRequest.nameParameterPayload]:t},isAuth:!1}),r=n.data[f.nameParameterAuthData.token],i=n.data[f.nameParameterAuthData.refreshToken];r&&hw(r),i&&vw(i);let a={...e.config?.headers};return d&&(a[d.nameParameterHeader]=d.generateAuthString(r)),MA({...e.config,headers:a})}catch{return bw(),Promise.reject(e)}}return Promise.reject(e)}).catch(e=>(g({useGeneralError:o}),Promise.reject(e?.response||e))).finally(()=>{h({useGeneralLoading:a,idRequest:_})})},BA=e=>zA({method:`GET`,url:`/api/v1/glossary/phrases`,isAuth:!1,...e}).then(e=>{let{data:t}=e;return t?._10&&typeof t._10==`object`?t._10:Promise.reject(!1)}).catch(()=>Promise.reject(!1)),K=e=>![null,void 0,!1,``,`0`].includes(e),q=e=>e?isNaN(+e)?void 0:+e:void 0,VA=e=>e&&+new Date(e)>0?new Date(e):void 0,J=e=>e||void 0,HA=(e,t)=>e.some(e=>t.includes(e)),UA=function(e){return e.FIRST=`FIRST`,e.SUBSEQUENT=`SUBSEQUENT`,e}({}),WA=e=>{let t,n;(U.isSmart||U.isPlus)&&(t=e===UA.FIRST?{addClass:`first-loan`,removeClass:`second-loan`}:{addClass:`second-loan`,removeClass:`first-loan`},n=document.querySelector(`section.main`)),n&&t&&(n.classList.remove(t.removeClass),n.classList.add(t.addClass))},GA=()=>{let e=document.referrer;return e===`https://www.google.com/`?`google`:e===`https://www.bing.com/`?`bing`:e===`https://gemini.google.com/`?`gemini.google.com`:null};function KA(e,t,n){if(!t)return n===`plus`?`TSUMI`:`PIXO`;t<0&&(t=0),t>100&&(t=100);let r=String(e).trim().slice(-1),i=parseInt(r,10),a=Math.ceil(t/10)-1;return n===`plus`?i<=a?`ARENA`:`TSUMI`:i<=a?`LTU`:`PIXO`}var qA=({credits:e,calculator:t,lastCreditAxiScore:n})=>{if(e?.length){if(e.length===1&&e[0].origin_id===0){let n=e[0].amount;return Number(n)<=t.recommended_reduced_amount?t.recommended_reduced_amount:Number(n)}{let r=0;return e.forEach(e=>{e.amount&&e.amount>r&&e.origin_id===0&&(r=e.amount)}),r&&e.length>1&&n&&n<=$C.LAST_CREDIT_VALID_SCORE?r<=t.recommended_standard_amount?t.recommended_standard_amount:t.recommended_elevated_amount:r||t.calculator_slider_default_amount}}return t.calculator_slider_default_amount},JA=e=>({active:K(e.active),document_location:J(e.document_location),document_template:J(e.document_template),document_title:J(e.document_title),id:J(e.id),template_name:J(e.template_name)}),YA=(e,t)=>zA({method:`GET`,url:`/api/v2/document`,isAuth:!1,payload:e,...t}).then(e=>JA(e.data)).catch(()=>({active:!1,document_location:void 0,document_template:void 0,document_title:void 0,id:void 0,template_name:void 0})),XA=e=>zA({method:`GET`,url:`/api/v2/price-list?type=multi`,isAuth:!1,...e}).then(e=>{let{data:t}=e,n=Object.keys(t.prices).map(Number),r=Object.keys(t.prices[n[n.length-1]]).map(Number);return{...t,periods:n,amounts:r}}),ZA=e=>zA({method:`GET`,url:`/api/v2/price-list?type=long-term`,isAuth:!1,...e}).then(e=>e.data),QA=e=>zA({method:`GET`,url:`/api/v2/customer/price-list`,isAuth:!0,...e}).then(e=>e.data),$A=e=>zA({method:`GET`,url:`/api/v2/price-list`,isAuth:!1,...e}).then(e=>e.data),ej=(e,t)=>zA({method:`GET`,url:`/api/v2/price-list`,isAuth:!1,payload:{type:e?.type},...t}).then(e=>e.data),tj=e=>zA({method:`GET`,url:`/api/v2/price-list?type=first-loan`,isAuth:!1,...e}).then(e=>e.data),nj=(e,t)=>zA({method:`GET`,url:`/api/v2/customer/price-list`,isAuth:!0,payload:{type:e?.type},...t}).then(e=>e.data),rj=e=>({AMEL:J(e.AMEL),GA_client_ID:J(e.GA_client_ID),MPDZ:J(e.MPDZ),accept_loan_conditions:K(e.accept_loan_conditions),activated:VA(e.activated),active_credits_amount_sum:q(e.active_credits_amount_sum),add_surname:J(e.add_surname),address:J(e.address),address2:J(e.address2),address4:J(e.address4),aff1_modal_passed:J(e.aff1_modal_passed),age:q(e.age),agree_market_contacts:K(e.agree_market_contacts),agree_market_contacts_a:K(e.agree_market_contacts_a),agree_market_contacts_b:K(e.agree_market_contacts_b),agree_market_contacts_c:K(e.agree_market_contacts_c),all_expired:J(e.all_expired),all_paid:q(e.all_paid),another_address:K(e.another_address),api_user_id:J(e.api_user_id),applications:K(e.applications),applications_rejected:q(e.applications_rejected),average_kontomatik_salary:J(e.average_kontomatik_salary),bank:J(e.bank),birth_country:J(e.birth_country),birth_place:q(e.birth_place),birthday:VA(e.birthday),blocked:K(e.blocked),branza:q(e.branza),category_id:q(e.category_id),checkAll:K(e.checkAll),checkAll2:K(e.checkAll2),checkall2:K(e.checkall2),chk3:K(e.chk3),chk4:K(e.chk4),chk8:K(e.chk8),chk14:K(e.chk14),chk17:K(e.chk17),chk61r:K(e.chk61r),chk80:K(e.chk80),chk81:K(e.chk81),chk_all:K(e.chk_all),city:J(e.city),city2:J(e.city2),city4:J(e.city4),
35company_code:q(e.company_code),company_name:J(e.company_name),confirm_loan_conditions:K(e.confirm_loan_conditions),confirm_personal_data:K(e.confirm_personal_data),contact_name:J(e.contact_name),contact_phone:J(e.contact_phone),contract_code:J(e.contract_code),contract_code_formatted:J(e.contract_code_formatted),contract_id:q(e.contract_id),country:J(e.country),county:J(e.county),county2:K(e.county2),created:VA(e.created),credit_limit:q(e.credit_limit),credits:q(e.credits),credits_paid:q(e.credits_paid),csas:J(e.csas),customer_admin_id:J(e.customer_admin_id),customer_id:q(e.customer_id),data_kaczmarski:K(e.data_kaczmarski),data_wcz_sp:VA(e.data_wcz_sp),debt:q(e.debt),delay:q(e.delay),delay_max:q(e.delay_max),dependents:J(e.dependents),email:J(e.email),email2:J(e.email2),email_check:q(e.email_check),email_inc:J(e.email_inc),empl_mob_phone:J(e.empl_mob_phone),employers_ids:J(e.employers_ids),employment_scan:J(e.employment_scan),employment_scan_2:J(e.employment_scan_2),employment_scan_3:J(e.employment_scan_3),employment_scan_4:J(e.employment_scan_4),employment_scan_5:J(e.employment_scan_5),employment_scan_6:J(e.employment_scan_6),enabled:K(e.enabled),evaluation_category_id:J(e.evaluation_category_id),extension_chk:K(e.extension_chk),extension_chk2:K(e.extension_chk2),extension_chk3:K(e.extension_chk3),extension_chk5:K(e.extension_chk5),extension_chk6:K(e.extension_chk6),extension_chk7:K(e.extension_chk7),extension_chk8:K(e.extension_chk8),extension_chk9:K(e.extension_chk9),extension_chk10:K(e.extension_chk10),extension_chk11:K(e.extension_chk11),exts:J(e.exts),exts_paid:J(e.exts_paid),file3:J(e.file3),finraport_1:K(e.finraport_1),finraport_2:K(e.finraport_2),finraport_check:K(e.finraport_check),finraport_check_1:K(e.finraport_check_1),finraport_check_2:K(e.finraport_check_2),finraport_check_3:K(e.finraport_check_3),finraport_check_4:K(e.finraport_check_4),finraport_check_5:K(e.finraport_check_5),flat:J(e.flat),flat2:J(e.flat2),force_change:K(e.force_change),from_bank:J(e.from_bank),frontend_step:J(e.frontend_step),gender:J(e.gender),home_status:J(e.home_status),house:J(e.house),house2:J(e.house2),house4:J(e.house4),household_income:q(e.household_income),household_number:q(e.household_number),household_spendings:q(e.household_spendings),id_number:J(e.id_number),id_number_expire_date:VA(e.id_number_expire_date),id_number_validity:VA(e.id_number_validity),ile_osob:q(e.ile_osob),income:J(e.income),information_disclosure:K(e.information_disclosure),inn_id:J(e.inn_id),ip:J(e.ip),isUpdatePassword:K(e.force_change)&&K(e.isAdmin),isAdmin:K(e.isAdmin),is_need_sms:K(e.is_need_sms),juicy_score_session_id:J(e.juicy_score_session_id),karta_pobytu_expire:VA(e.karta_pobytu_expire),karta_pobytu_id:J(e.karta_pobytu_id),lander:J(e.lander),language:J(e.language),last_application_date:VA(e.last_application_date),last_password_change_date:VA(e.last_password_change_date),last_credit_date:VA(e.last_credit_date),last_rejection_date:VA(e.last_rejection_date),last_sms:J(e.last_sms),login:J(e.login),marketing:J(e.marketing),midname:J(e.midname),midname2:J(e.midname2),mieszkanie:q(e.mieszkanie),mob_phone:J(e.mob_phone),mob_phone2:J(e.mob_phone2),mob_phone_inc:J(e.mob_phone_inc),modified:VA(e.modified),modified_by_customer:VA(e.modified_by_customer),new_offer:K(e.new_offer),parish:J(e.parish),parish2:J(e.parish2),passport_expire:VA(e.passport_expire),passport_id:J(e.passport_id),passport_number:J(e.passport_number),passport_scan:J(e.passport_scan),passport_scan_2:J(e.passport_scan_2),passport_scan_3:J(e.passport_scan_3),passport_scan_4:J(e.passport_scan_4),passport_scan_5:J(e.passport_scan_5),passport_scan_6:J(e.passport_scan_6),passw:J(e.passw),person_code:J(e.person_code),phone:J(e.phone),poland_citizenship:q(e.poland_citizenship),premium_check:K(e.premium_check),premium_check2:K(e.premium_check2),premium_check3:K(e.premium_check3),process_data:K(e.process_data),process_data_kaczmarski:K(e.process_data_kaczmarski),process_key:J(e.process_key),realname:J(e.realname),reg_form_id:J(e.reg_form_id),region:J(e.region),region2:J(e.region2),reglament:K(e.reglament),req_blocked_until:VA(e.req_blocked_until),samochod:q(e.samochod),send_credit_data:K(e.send_credit_data),send_data:K(e.send_data),send_data_kaczmarski:K(e.send_data_kaczmarski),send_office:K(e.send_office),send_pesel:K(e.send_pesel),sessionID:J(e.sessionID),sms_mob_phone:J(e.sms_mob_phone),social_benefits:q(e.social_benefits),stan_cywilny:q(e.stan_cywilny),state:K(e.state),status:K(e.status),street:J(e.street),street2:J(e.street2),surname:J(e.surname),telemedicine:J(e.telemedicine),telemedicine_step:J(e.telemedicine_step),temporary_lander:J(e.temporary_lander),test_client:K(e.test_client),uin:J(e.uin),use_email2:K(e.use_email2),village:J(e.village),village2:K(e.village2),work_activities:J(e.work_activities),work_company_code:J(e.work_company_code),work_phone:J(e.work_phone),work_status:q(e.work_status),workplace:J(e.workplace),workplace_address:J(e.workplace_address),workplace_position:J(e.workplace_position),zipcode:J(e.zipcode),zipcode2
35:J(e.zipcode2),zipcode4:J(e.zipcode4),overpayment:0,isActiveCreditSold:!1,isCreditSold:!1}),ij=e=>({id:q(e.id),amount:q(e.amount),axi_score:q(e.axi_score),period:q(e.period),charge:q(e.charge),created:VA(e.created),registered:VA(e.registered),expire:VA(e.expire),debt:q(e.debt),s_expire:VA(e.s_expire),s_debt:q(e.s_debt),r_debt:q(e.r_debt),max_delay:q(e.max_delay),delay:q(e.delay),penalty:q(e.penalty),paid_date:VA(e.paid_date),l_pay:VA(e.l_pay),l_amount:q(e.l_amount),l_interest:q(e.l_interest),l_administrative_fee:q(e.l_administrative_fee),l_late_fee:q(e.l_late_fee),l_penalty:q(e.l_penalty),l_s_interest:q(e.l_s_interest),p_amount:q(e.p_amount),o_charge:q(e.o_charge),late_fee:q(e.late_fee),cfg_late_fee:q(e.cfg_late_fee),sold:VA(e.sold),ret:J(e.ret),extends_id:q(e.extends_id),origin_id:q(e.origin_id),contract_id:q(e.contract_id),investor_id:q(e.investor_id),interest:q(e.interest),apr:q(e.apr),ar:q(e.ar),discount_code:J(e.discount_code),plist_id:q(e.plist_id),plist_interest:q(e.plist_interest),confirmed:K(e.confirmed),withdraw_date:J(e.withdraw_date),important:J(e.important),creditline_amount:q(e.creditline_amount),creditline_mode:J(e.creditline_mode),tax1:q(e.tax1),l_tax1:q(e.l_tax1),tax2:q(e.tax2),l_tax2:q(e.l_tax2),tax3:q(e.tax3),l_tax3:q(e.l_tax3),tax4:q(e.tax4),l_tax4:q(e.l_tax4),tax5:q(e.tax5),l_tax5:q(e.l_tax5),tax6:q(e.tax6),l_tax6:q(e.l_tax6),tax7:q(e.tax7),l_tax7:q(e.l_tax7),tax8:q(e.tax8),l_tax8:q(e.l_tax8),tax9:q(e.tax9),l_tax9:q(e.l_tax9),tax10:q(e.tax10),l_tax10:q(e.l_tax10),tax11:q(e.tax11),l_tax11:q(e.l_tax11),tax12:q(e.tax12),l_tax12:q(e.l_tax12),current_forfeit:q(e.current_forfeit),topup_availability:VA(e.topup_availability),administrative_fee:q(e.administrative_fee),s_date:VA(e.s_date),s_payment:q(e.s_payment),l_s_amount:q(e.l_s_amount),l_s_administrative_fee:q(e.l_s_administrative_fee)}),aj=e=>({...e,docsNeedMinOfferAmount:q(e.docsNeedMinOfferAmount),useTelemedicineForCredits:K(e.useTelemedicineForCredits),useTelemedicineForExtensions:K(e.useTelemedicineForExtensions),usePremiumProfile:K(e.usePremiumProfile),secondInvestorShare:q(e.secondInvestorShare)}),oj=e=>zA({method:`GET`,url:`/api/v2/customer/profile/details`,isAuth:!0,...e}).then(e=>{let{data:t}=e;return rj(t)}),sj={credits:void 0,activeCredit:void 0,debt:0,overpayment:0,isCreditSold:!1,isActiveCreditSold:!1},cj=e=>zA({method:`GET`,url:`/api/v2/credits`,isAuth:!0,...e}).then(e=>{let{data:{credits:t,debt:n,overpayment:r}}=e,i=[];for(let e in t)i.push(ij({...t[e].data,axi_score:t[e].axi_score}));let a=i.filter(e=>Number(e?.debt)>0).pop(),o=!!i.filter(e=>!!e.sold),s=!!(a&&a.sold);return{credits:i,activeCredit:a,debt:+n,overpayment:+r,isCreditSold:o,isActiveCreditSold:s}}),lj=e=>zA({method:`GET`,url:`/wp-json/acf/v3/posts/9`,pathAPI:`WP`,...e}).then(e=>{let t=e.data.acf,{calculator_widget:n}=t,{calculator_slider_period:r,calculator_slider_period_for_long_loan:i,calculator_slider_default_amount:a,calculator_slider_default_amount_for_long_loan:o,calculator_slider_maximum_amount_for_long_loan:s,calculator_slider_maximum_amount_for_first_loan:c,calculator_slider_maximum_amount_for_subsequent_loans:l,calculator_slider_maximum_amount_for_registration:u,calculator_slider_minimum_amount_for_first_loan:d,calculator_slider_minimum_amount_for_long_loan:f,calculator_slider_minimum_amount_for_subsequent_loans:p,calculator_slider_transition_value_from_first_to_subsequent_loans:m,calculator_slider_recommended_amount:h,recommended_reduced_amount:g,recommended_standard_amount:_,recommended_elevated_amount:v}=n,y=Object.fromEntries(Object.entries({calculator_slider_period:r,calculator_slider_period_for_long_loan:i,calculator_slider_default_amount:a,calculator_slider_default_amount_for_long_loan:o,calculator_slider_maximum_amount_for_first_loan:c,calculator_slider_maximum_amount_for_long_loan:s,calculator_slider_maximum_amount_for_subsequent_loans:l,calculator_slider_maximum_amount_for_registration:u,calculator_slider_minimum_amount_for_first_loan:d,calculator_slider_minimum_amount_for_long_loan:f,calculator_slider_minimum_amount_for_subsequent_loans:p,calculator_slider_transition_value_from_first_to_subsequent_loans:m,calculator_slider_recommended_amount:h,recommended_reduced_amount:g,recommended_standard_amount:_,recommended_elevated_amount:v}).map(([e,t])=>[e,t?+t:null]));return{...t,calculator_widget:{...n,...y}}}),uj=e=>zA({method:`GET`,url:`/wp-json/react/v2/data`,pathAPI:`WP`,...e}).then(e=>{let t=e.data.calculator,{calculator_slider_default_amount:n,calculator_slider_maximum_amount_for_first_loan:r,calculator_slider_minimum_amount_for_first_loan:i}=t,a=Object.fromEntries(Object.entries({calculator_slider_default_amount:n,calculator_slider_maximum_amount_for_first_loan:r,calculator_slider_minimum_amount_for_first_loan:i}).map(([e,t])=>[e,+t]));return{...t,...a}}),dj=e=>({calculator:{general:{standard:{default_amount:q(e.calculator.general.standard.default_amount),recommended_amount:q(e.calculator.general.standard.recommended_amount),recommended_reduced_amount:q(e.calculator.general.standard.recommended_reduced_amount),recommended_standard_amount:q(e.calculator.general.standard.recommended_standard_amount),recommended_elevated_amount:q(e.calculator.general.standard.recommended_elevated_amount),default_period:q(e.calculator.general.standard.default_period),max_amount_first:q(e.calculator.general.standard.max_amount_first),max_amount_next:q(e.calculator.general.standard.max_amount_next),min_amount_first:q(e.calculator.general.standard.min_amount_first),min_amount_next:q(e.calculator.general.standard.min_amount_next),max_period_first:q(e.calculator.general.standard.max_period_first),min_period_first:q(e.calculator.general.standard.min_period_first),max_period_next:q(e.calculator.general.standard.max_period_next),min_period_next:q(e.calculator.general.standard.min_period_next),button_login_title:J(e.calculator.general.standard.button_login_title),button_take_loan_t
35itle:J(e.calculator.general.standard.button_take_loan_title),repay_value:J(e.calculator.general.standard.repay_value),repay_label:J(e.calculator.general.standard.repay_label),repay_date_label:J(e.calculator.general.standard.repay_date_label),period_value:J(e.calculator.general.standard.period_value),period_label:J(e.calculator.general.standard.period_label),limitation_amount_label:J(e.calculator.general.standard.limitation_amount_label),limitation_amount_value:q(e.calculator.general.standard.limitation_amount_value),limitation_amount_value_for_login:q(e.calculator.general.standard.limitation_amount_value_for_login),limitation_period_label:J(e.calculator.general.standard.limitation_period_label),limitation_period_value:q(e.calculator.general.standard.limitation_period_value),slider_amount_label:J(e.calculator.general.standard.slider_amount_label),slider_period_label:J(e.calculator.general.standard.slider_period_label)},long:{default_amount:q(e.calculator.general.long.default_amount),recommended_amount:q(e.calculator.general.long.recommended_amount),recommended_reduced_amount:q(e.calculator.general.long.recommended_reduced_amount),recommended_standard_amount:q(e.calculator.general.long.recommended_standard_amount),recommended_elevated_amount:q(e.calculator.general.long.recommended_elevated_amount),default_period:q(e.calculator.general.long.default_period),max_amount_first:q(e.calculator.general.long.max_amount_first),max_amount_next:q(e.calculator.general.long.max_amount_next),min_amount_first:q(e.calculator.general.long.min_amount_first),min_amount_next:q(e.calculator.general.long.min_amount_next),max_period_first:q(e.calculator.general.long.max_period_first),min_period_first:q(e.calculator.general.long.min_period_first),max_period_next:q(e.calculator.general.long.max_period_next),min_period_next:q(e.calculator.general.long.min_period_next),button_login_title:J(e.calculator.general.long.button_login_title),button_take_loan_title:J(e.calculator.general.long.button_take_loan_title),repay_value:J(e.calculator.general.long.repay_value),repay_label:J(e.calculator.general.long.repay_label),repay_date_label:J(e.calculator.general.long.repay_date_label),period_value:J(e.calculator.general.long.period_value),period_label:J(e.calculator.general.long.period_label),limitation_amount_label:J(e.calculator.general.long.limitation_amount_label),limitation_amount_value:q(e.calculator.general.long.limitation_amount_value),limitation_amount_value_for_login:q(e.calculator.general.standard.limitation_amount_value_for_login),limitation_period_label:J(e.calculator.general.long.limitation_period_label),limitation_period_value:q(e.calculator.general.long.limitation_period_value),slider_amount_label:J(e.calculator.general.long.slider_amount_label),slider_period_label:J(e.calculator.general.long.slider_period_label)}},technical_break:{technical_break_active:K(e.calculator.technical_break.technical_break_active),technical_break_title:J(e.calculator.technical_break.technical_break_title),technical_break_description:J(e.calculator.technical_break.technical_break_description)},sliders:{slider_amount_min_max_label:J(e.calculator.sliders.slider_amount_min_max_label),slider_period_min_max_label:J(e.calculator.sliders.slider_period_min_max_label)}},button_header:{button_label_no_auth:J(e.button_header.button_label_no_auth),button_label_auth:J(e.button_header.button_label_auth)}}),fj=e=>zA({method:`GET`,url:`/wp-json/react/v2/data`,pathAPI:`WP`,...e}).then(e=>dj(e.data)),pj=e=>zA({method:`GET`,url:`/api/v2/settings`,...e}).then(e=>aj(e.data)),mj=TC(`phrases/fetch`,async(e,t)=>{try{return await BA({useGeneralLoading:!0,useGeneralError:!0})}catch{return t.rejectWithValue(!1)}}),hj=MC({name:`phrases`,initialState:{phrases:null,isViewNamePhrases:!1,isViewNotParsePhrases:!1,isViewDefaultPhrases:!1},reducers:{setViewNamePhrases:(e,t)=>{e.isViewNamePhrases=t.payload},setViewDefaultPhrases:(e,t)=>{e.isViewDefaultPhrases=t.payload},setViewNotParsePhrases:(e,t)=>{e.isViewNotParsePhrases=t.payload}},extraReducers:e=>{e.addCase(mj.fulfilled,(e,t)=>{e.phrases=t.payload}).addCase(mj.pending,e=>{e.phrases=null}).addCase(mj.rejected,e=>{e.phrases=null})}}),gj=MC({name:`modals`,initialState:{modals:{}},reducers:{setModal:(e,t)=>{e.modals[t.payload.name]={content:t.payload.content,settings:t.payload.settings,classNames:t.payload.classNames}},removeModal:(e,t)=>{e.modals[t.payload]&&delete e.modals[t.payload]},clearModals:e=>{e.modals={}}}}),_j=MC({name:`documents`,initialState:{stateFetchDocuments:`INIT`,viewDocumentId:null,documents:{},stateFetchDeleteProofOfIncomeDocument:`INIT`,proofOfIncomeDocuments:[],proofDocumentID:``},reducers:{addDocument:(e,t)=>
35{e.documents[t.payload.id]||(e.documents={...e.documents,[t.payload.id]:t.payload}),e.viewDocumentId=t.payload.id},addTemplateToDocument:(e,t)=>{e.documents[t.payload.id].template=t.payload.template},closeDocument:e=>{e.viewDocumentId=null}}}),vj=()=>{let e=null;return t=>e||(e=t().finally(()=>{e=null}),e)},yj=vj(),bj=async()=>{let e=await oj(),{credits:t,debt:n,overpayment:r,isActiveCreditSold:i,isCreditSold:a,activeCredit:o}=e.credits>0?await cj().then(e=>e).catch(()=>({...sj,debt:e.debt})):{...sj,debt:e.debt};return{userInfo:{...e,overpayment:r,debt:n,isActiveCreditSold:i,isCreditSold:a},creditsInfo:{activeCredit:o,credits:t,debt:n,overpayment:r,isActiveCreditSold:i,isCreditSold:a}}},xj=TC(`user/fetchFull`,async(e,t)=>{let{userStore:n}=t.getState();if(n.stateFetchUser===`SUCCESS`&&n.userInfo)return{userInfo:n.userInfo,creditsInfo:n.creditsInfo};try{return await yj(bj)}catch{return t.rejectWithValue(!1)}}),Sj=MC({name:`user`,initialState:{userInfo:void 0,creditsInfo:{activeCredit:void 0,credits:void 0,debt:void 0,overpayment:void 0,isActiveCreditSold:void 0,isCreditSold:void 0},stateFetchUser:`INIT`},reducers:{changeUserInfo:(e,t)=>{e.userInfo={...e.userInfo,...t.payload}}},extraReducers:e=>{e.addCase(xj.pending,e=>{e.stateFetchUser!==`SUCCESS`&&(e.stateFetchUser=`LOADING`)}).addCase(xj.fulfilled,(e,t)=>{e.userInfo=t.payload.userInfo,e.creditsInfo=t.payload.creditsInfo,e.stateFetchUser=`SUCCESS`}).addCase(xj.rejected,e=>{e.stateFetchUser=`FAILED`})}}),Cj=TC(`priceList/registration/fetch`,async(e,t)=>{try{return await XA({useGeneralLoading:!1,useGeneralError:!1})}catch{return t.rejectWithValue(!1)}}),wj=TC(`priceList/long/fetch`,async(e,t)=>{try{return await ZA({useGeneralLoading:!1,useGeneralError:!1})}catch{return t.rejectWithValue(!1)}}),Tj=TC(`priceList/user/fetch`,async(e,t)=>{try{return await QA({useGeneralLoading:!1,useGeneralError:!1})}catch{return t.rejectWithValue(!1)}}),Ej=TC(`priceList/lendero/fetch`,async(e,t)=>{try{return await $A()}catch{return t.rejectWithValue(!1)}}),Dj=TC(`priceList/business/fetch`,async(e,t)=>{try{return e.isAuth?await nj({type:e.type}):await ej({type:e.type})}catch{return t.rejectWithValue(!1)}}),Oj=TC(`priceList/businessLong/fetch`,async(e,t)=>{try{return await tj()}catch{return t.rejectWithValue(!1)}}),kj={prices:void 0,discounts:void 0,amounts:void 0,periods:void 0,priceListStatus:`INIT`},Aj=MC({name:`priceList`,initialState:{registration:kj,long:kj,user:kj,lendero:kj,business:kj,businessLong:kj},reducers:{},extraReducers:e=>{e.addCase(Cj.fulfilled,(e,t)=>{e.registration.prices=t.payload.prices,e.registration.discounts=t.payload.discounts,e.registration.amounts=t.payload.amounts,e.registration.periods=t.payload.periods,e.registration.priceListStatus=`SUCCESS`}).addCase(Cj.pending,e=>{e.registration.priceListStatus=`LOADING`}).addCase(Cj.rejected,e=>{e.registration.priceListStatus=`FAILED`}).addCase(wj.fulfilled,(e,t)=>{e.long.prices=t.payload.prices,e.long.discounts=t.payload.discounts,e.long.amounts=t.payload.amounts,e.long.periods=t.payload.periods,e.long.priceListStatus=`SUCCESS`}).addCase(wj.pending,e=>{e.long.priceListStatus=`LOADING`}).addCase(wj.rejected,e=>{e.long.priceListStatus=`FAILED`}).addCase(Tj.fulfilled,(e,t)=>{e.user.prices=t.payload.prices,e.user.discounts=t.payload.discounts,e.user.amounts=t.payload.amounts,e.user.periods=t.payload.periods,e.user.priceListStatus=`SUCCESS`}).addCase(Tj.pending,e=>{e.user.priceListStatus=`LOADING`}).addCase(Tj.rejected,e=>{e.user.priceListStatus=`FAILED`}).addCase(Ej.fulfilled,(e,t)=>{e.lendero.prices=t.payload.prices,e.lendero.discounts=t.payload.discounts,e.lendero.amounts=t.payload.amounts,e.lendero.periods=t.payload.periods,e.lendero.priceListStatus=`SUCCESS`}).addCase(Ej.pending,e=>{e.lendero.priceListStatus=`LOADING`}).addCase(Ej.rejected,e=>{e.lendero.priceListStatus=`FAILED`}).addCase(Dj.fulfilled,(e,t)=>{e.business.prices=t.payload.prices,e.business.discounts=t.payload.discounts,e.business.amounts=t.payload.amounts,e.business.periods=t.payload.periods,e.business.priceListStatus=`SUCCESS`}).addCase(Dj.pending,e=>{e.business.priceListStatus=`LOADING`}).addCase(Dj.rejected,e=>{e.business.priceListStatus=`FAILED`}).addCase(Oj.fulfilled,(e,t)=>{e.businessLong.prices=t.payload.prices,e.businessLong.discounts=t.payload.discounts,e.businessLong.amounts=t.payload.amounts,e.businessLong.periods=t.payload.periods,e.businessLong.priceListStatus=`SUCCESS`}).addCase(Oj.pending,e=>{e.businessLong.priceListStatus=`LOADING`}).addCase(Oj.rejected,e=>{e.businessLong.priceListStatus=`FAILED`})}}),jj=vj(),Mj=vj(),Nj=vj(),Pj=TC(`wpContent/fetchAll`,async(e,t)=>{let{contentState:n}=t.getState();if(n.stateFetchContent===`SUCCESS`&&n.siteContent)return{siteContent:n.siteContent};try{return await jj(async()=>({siteContent:await lj({useGeneralLoading:!1,useGeneralError:!1})}
35))}catch{return t.rejectWithValue(!1)}}),Fj=TC(`wpContent/fetchLendero`,async(e,t)=>{let{contentState:n}=t.getState();if(n.stateFetchLenderoContent===`SUCCESS`&&n.lenderoContent)return n.lenderoContent;try{return await Mj(()=>uj({useGeneralLoading:!1,useGeneralError:!1}))}catch{return t.rejectWithValue(!1)}}),Ij=TC(`wpContent/fetchBusiness`,async(e,t)=>{let{contentState:n}=t.getState();if(n.stateFetchBusinessContent===`SUCCESS`&&n.businessContent)return n.businessContent;try{return await Nj(()=>fj({useGeneralLoading:!1,useGeneralError:!1}))}catch{return t.rejectWithValue(!1)}}),Lj=MC({name:`content`,initialState:{siteContent:null,stateFetchContent:`INIT`,lenderoContent:null,stateFetchLenderoContent:`INIT`,businessContent:null,stateFetchBusinessContent:`INIT`},reducers:{},extraReducers:e=>{e.addCase(Pj.fulfilled,(e,t)=>{e.siteContent=t.payload.siteContent,e.stateFetchContent=`SUCCESS`}).addCase(Pj.pending,e=>{e.stateFetchContent!==`SUCCESS`&&(e.stateFetchContent=`LOADING`)}).addCase(Pj.rejected,e=>{e.siteContent=null,e.stateFetchContent=`FAILED`}).addCase(Fj.pending,e=>{e.stateFetchLenderoContent!==`SUCCESS`&&(e.stateFetchLenderoContent=`LOADING`)}).addCase(Fj.fulfilled,(e,t)=>{e.stateFetchLenderoContent=`SUCCESS`,e.lenderoContent=t.payload}).addCase(Fj.rejected,e=>{e.stateFetchLenderoContent=`FAILED`}).addCase(Ij.pending,e=>{e.stateFetchBusinessContent!==`SUCCESS`&&(e.stateFetchBusinessContent=`LOADING`)}).addCase(Ij.fulfilled,(e,t)=>{e.stateFetchBusinessContent=`SUCCESS`,e.businessContent=t.payload}).addCase(Ij.rejected,e=>{e.stateFetchBusinessContent=`FAILED`})}}),Rj=vj(),zj=TC(`settings/fetch`,async(e,t)=>{let{settingsStore:n}=t.getState();if(n.settingsStatus===`SUCCESS`)return n.settings;try{return await Rj(()=>pj({useGeneralLoading:!0,useGeneralError:!0}))}catch{return t.rejectWithValue(!1)}}),Bj=MC({name:`settings`,initialState:{settings:{},settingsStatus:`INIT`},reducers:{},extraReducers:e=>{e.addCase(zj.pending,e=>{e.settingsStatus!==`SUCCESS`&&(e.settingsStatus=`LOADING`)}).addCase(zj.fulfilled,(e,t)=>{e.settings=t.payload,e.settingsStatus=`SUCCESS`}).addCase(zj.rejected,e=>{e.settingsStatus=`FAILED`})}}),Vj={setGeneralError:qC.actions.setGeneralError,setQueueLoading:qC.actions.setQueueLoading,removeQueueLoading:qC.actions.removeQueueLoading};hj.actions.setViewNamePhrases,hj.actions.setViewDefaultPhrases,hj.actions.setViewNotParsePhrases,gj.actions.setModal,gj.actions.removeModal,gj.actions.clearModals;var Hj={addDocument:_j.actions.addDocument,addTemplateToDocument:_j.actions.addTemplateToDocument,closeDocument:_j.actions.closeDocument},Uj={fetchFullUser:xj,changeUserInfo:Sj.actions.changeUserInfo},Wj={fetchPriceListRegistration:Cj,fetchPriceListLong:wj,fetchPriceListUser:Tj,fetchPriceListLendero:Ej,fetchPriceListBusiness:Dj,fetchLongPriceListBusiness:Oj},Gj={fetchContentAll:Pj,fetchLenderoContent:Fj,fetchBusinessContent:Ij},Kj={fetchSettings:zj},qj=fC({reducer:Sx({requestStore:qC.reducer,phrasesStore:hj.reducer,modalStore:gj.reducer,documentsStore:_j.reducer,userStore:Sj.reducer,priceListStore:Aj.reducer,settingsStore:Bj.reducer,contentState:Lj.reducer}),middleware:e=>e({serializableCheck:!1})}),Jj=qj.dispatch,Yj=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),Y=s(((e,t)=>{t.exports=Yj()}))(),Xj=e=>{let{children:t}=e;return(0,Y.jsx)(ax,{store:qj,children:t})},Zj={originalStyle:null},Qj=(e=!0)=>{(0,V.useLayoutEffect)(()=>(Zj.originalStyle||=window.getComputedStyle(document.body).overflow,e?document.body.style.overflow=`hidden`:document.body.style.overflow=Zj.originalStyle,()=>{Zj.originalStyle&&=(document.body.style.overflow=Zj.originalStyle,null)}),[e])},{addDocument:$j,closeDocument:eM,addTemplateToDocument:tM}=Hj,nM={addDocument:$j,closeDocument:eM,addTemplateToDocument:tM},rM=()=>{let{addDocument:e,closeDocument:t,addTemplateToDocument:n}=oM(nM);return{addDocument:t=>{e(t)},closeDocument:()=>{t()},addTemplateToDocument:(e,t)=>
35{n({id:e,template:t})}}},iM=()=>dx(),aM=e=>mx(e,$b),oM=e=>{let t=iM();return(0,V.useMemo)(()=>typeof Object.values(e)[0]==`function`?wx(e,t):Object.keys(e).reduce((n,r)=>({...n,[r]:wx(e[r],t)}),{}),[e,t])},{fetchPriceListRegistration:sM,fetchPriceListLong:cM,fetchPriceListUser:lM,fetchPriceListLendero:uM,fetchPriceListBusiness:dM,fetchLongPriceListBusiness:fM}=Wj,pM={fetchPriceListRegistration:sM,fetchPriceListLong:cM,fetchPriceListUser:lM,fetchPriceListLendero:uM,fetchPriceListBusiness:dM,fetchLongPriceListBusiness:fM},mM=()=>{let{fetchPriceListRegistration:e,fetchPriceListLong:t,fetchPriceListUser:n,fetchPriceListLendero:r,fetchPriceListBusiness:i,fetchLongPriceListBusiness:a}=oM(pM);return{fetchPriceListRegistration:e,fetchPriceListLong:t,fetchPriceListUser:n,fetchPriceListLendero:r,fetchPriceListBusiness:i,fetchLongPriceListBusiness:a}},{fetchFullUser:hM}=Uj,gM={fetchFullUser:hM},_M=()=>{let{fetchFullUser:e}=oM(gM);return{fetchFullUser:e}},vM=e=>{(0,V.useEffect)(()=>{let t=Aw();if(window.location.search&&!t){jw();return}if(!t){let t=GA();if(!t)return;kw(`utm_source=${t}&utm_medium=organic&utm_campaign=${e?`${e}${window.location.pathname}`:window.location.pathname}`),jw()}},[e])},{fetchSettings:yM}=Kj,bM={fetchSettings:yM},xM=()=>{let{fetchSettings:e}=oM(bM);return{fetchSettings:e}},SM=()=>{let{credits:e,calculator:t}=aM(e=>({credits:e.userStore.creditsInfo.credits,calculator:e.contentState.siteContent?.calculator_widget})),n=e?e.at(-1)?.axi_score??null:null,r=Cw(),i=(0,V.useMemo)(()=>{if(!r)return qA({credits:e,calculator:t,lastCreditAxiScore:n})},[e,n,r]);return r||i},CM=e=>{let{label:t,icon:n,buttonType:r,disabled:i,loading:a=!1,className:o,...s}=e,c=a&&(!r||r===`BIG`||r===`SMALL`||r===`SECONDARY`||r===`SECONDARY_FULL`);return(0,Y.jsxs)(`button`,{...s,type:`button`,className:(0,IE.default)(`widget-button`,o,{"button-big":r===`BIG`},{"button-small":r===`SMALL`},{"button-secondary":r===`SECONDARY`},{"button-secondary full":r===`SECONDARY_FULL`},{"button-link":r===`BUTTON_LINK`},{"default-link":r===`LINK`},{disabled:i},{loading:c}),disabled:i||c,children:[c&&(0,Y.jsx)(TM,{}),!c&&(0,Y.jsxs)(Y.Fragment,{children:[n,t]})]})},wM=[{currentProject:U.isSmart,color:`#008A1E`},{currentProject:U.isPlus,color:`#FF9900`}],TM=e=>{let{spinSize:t=30,color:n}=e,r=wM.find(e=>e.currentProject)?.color,i=(0,V.useMemo)(()=>{if(U.isSmart||U.isPlus)return(0,Y.jsx)(`svg`,{className:`loader`,width:t,height:t,viewBox:`0 0 26 24`,xmlns:`http://www.w3.org/2000/svg`,children:(0,Y.jsx)(`path`,{d:`M16.3495 1.6078e-06C15.9376 -0.000416932 15.5296 0.0808834 15.1489 0.239257C14.7682 0.397631 14.4222 0.629973 14.1307 0.923008C13.8392 1.21604 13.6079 1.56403 13.4501 1.94707C13.2923 2.33012 13.2109 2.74072 13.2108 3.15542C13.2104 3.57047 13.2913 3.98154 13.4489 4.36508C13.6065 4.74862 13.8376 5.09712 14.1292 5.39061C14.4207 5.6841 14.7669 5.91682 15.1479 6.07547C15.5289 6.23411 15.9372 6.31555 16.3495 6.31513C16.7615 6.31499 17.1694 6.23314 17.5499 6.07425C17.9304 5.91535 18.2761 5.68254 18.5672 5.3891C18.8583 5.09567 19.0891 4.74737 19.2464 4.3641C19.4037 3.98083 19.4845 3.57011 19.484 3.15542C19.4838 2.31863 19.1534 1.5162 18.5657 0.924509C17.9779 0.332816 17.1808 0.000282218 16.3495 1.6078e-06ZM8.28767 0.458752C7.96609 0.45874 7.64765 0.522496 7.35054 0.646378C7.05344 0.77026 6.78348 0.951843 6.55608 1.18076C6.32869 1.40967 6.14831 1.68143 6.02525 1.98053C5.90219 2.27962 5.83886 2.60019 5.83888 2.92392C5.83887 3.24765 5.9022 3.56821 6.02526 3.8673C6.14832 4.1664 6.32869 4.43816 6.55609 4.66707C6.78348 4.89598 7.05344 5.07756 7.35055 5.20145C7.64765 5.32533 7.96609 5.38908 8.28767 5.38907C8.60925 5.38908 8.92769 5.32532 9.22479 5.20144C9.52189 5.07755 9.79185 4.89597 10.0192 4.66706C10.2466 4.43815 10.427 4.16639 10.5501 3.8673C10.6731 3.56821 10.7364 3.24765 10.7364 2.92392C10.7364 2.60019 10.6731 2.27963 10.5501 1.98054C10.427 1.68144 10.2466 1.40968 10.0192 1.18077C9.79185 0.951856 9.5219 0.770272 9.22479 0.646388C8.92769 0.522504 8.60926 0.458745 8.28767 0.458752ZM2.82786 5.63345C2.31343 5.63422 1.82035 5.84057 1.45699 6.20716C1.09364 6.57375 0.889732 7.07057 0.890096 7.58844C0.889738 8.1063 1.09364 8.60312 1.457 8.96971C1.82036 9.33629 2.31344 9.54264 2.82786 9.54341C3.08294 9.54359 3.33555 9.49315 3.57125 9.39497C3.80695 9.29679 4.0211 9.15279 4.20147 8.97122C4.38184 8.78965 4.52488 8.57406 4.62241 8.33679C4.71995 8.09952 4.77006 7.84522 4.76988 7.58844C4.77006 7.33166 4.71995 7.07736 4.62242 6.84008C4.52489 6.60281 4.38185 6.38722 4.20148 6.20565C4.02111 6.02408 3.80695 5.88008 3.57125 5.7819C3.33556 5.68371 3.08294 5.63327 2.82786 5.63345ZM22.1969 6.16507C21.6974 6.16503 21.2029 6.26402 20.7414 6.4564C20.28 6.64879 19.8607 6.93079 19.5076 7.28631C19.1544 7.64183 18.8743 8.0639 18.6831 8.52841C18.492 8.99293 18.3937 9.4908 18.3937 9.99358C18.3937 10.4964 18.492 10.9942 18.683
351 11.4587C18.8743 11.9233 19.1544 12.3453 19.5076 12.7009C19.8607 13.0564 20.28 13.3384 20.7414 13.5308C21.2029 13.7231 21.6974 13.8221 22.1969 13.8221C22.6963 13.8221 23.1909 13.7231 23.6523 13.5307C24.1138 13.3384 24.533 13.0564 24.8862 12.7008C25.2393 12.3453 25.5195 11.9233 25.7106 11.4587C25.9017 10.9942 26 10.4964 26 9.99358C26 9.4908 25.9017 8.99294 25.7106 8.52842C25.5195 8.06391 25.2393 7.64184 24.8862 7.28632C24.533 6.9308 24.1137 6.6488 23.6523 6.45641C23.1909 6.26403 22.6963 6.16503 22.1969 6.16507ZM1.52898 11.8757C1.3281 11.8753 1.12913 11.9149 0.943473 11.9921C0.757817 12.0693 0.58913 12.1827 0.447083 12.3257C0.305037 12.4687 0.192425 12.6385 0.115705 12.8254C0.0389847 13.0123 -0.000334359 13.2126 2.14172e-06 13.4148C0.000225665 13.6167 0.039958 13.8165 0.116929 14.0029C0.193899 14.1893 0.3066 14.3586 0.448591 14.5011C0.590582 14.6437 0.75908 14.7566 0.944457 14.8336C1.12984 14.9105 1.32846 14.95 1.52898 14.9496C1.9332 14.9492 2.32073 14.7873 2.60655 14.4996C2.89238 14.2118 3.05315 13.8217 3.0536 13.4148C3.05394 13.2129 3.01476 13.013 2.93831 12.8264C2.86187 12.6398 2.74964 12.4702 2.60806 12.3272C2.46647 12.1843 2.2983 12.0709 2.11315 11.9934C1.928 11.9159 1.72949 11.8759 1.52898 11.8757ZM3.3858 17.5906C3.01444 17.5914 2.65852 17.7403 2.39593 18.0046C2.13334 18.269 1.98546 18.6272 1.98464 19.0011C1.98433 19.3757 2.13172 19.7351 2.39443 20.0003C2.65714 20.2656 3.0137 20.4151 3.3858 20.4159C3.5704 20.416 3.75322 20.3795 3.92379 20.3085C4.09437 20.2374 4.24936 20.1332 4.37989 20.0018C4.51042 19.8704 4.61393 19.7144 4.6845 19.5427C4.75508 19.371 4.79132 19.1869 4.79117 19.0011C4.79035 18.6265 4.64189 18.2676 4.37838 18.0031C4.11488 17.7386 3.75788 17.5903 3.3858 17.5906ZM7.72977 21.4062C7.58541 21.406 7.4424 21.4344 7.30897 21.4899C7.17554 21.5454 7.0543 21.6268 6.95221 21.7296C6.85013 21.8323 6.7692 21.9544 6.71407 22.0887C6.65893 22.223 6.63069 22.367 6.63095 22.5123C6.63155 22.8051 6.74765 23.0857 6.95371 23.2923C7.15978 23.4989 7.43893 23.6147 7.72977 23.6142C8.01987 23.6135 8.2979 23.4972 8.50302 23.2907C8.70814 23.0842 8.82365 22.8043 8.82425 22.5123C8.82477 22.2195 8.70976 21.9386 8.50452 21.7311C8.29928 21.5237 8.0206 21.4068 7.72977 21.4062ZM12.1078 22.5552C12.0136 22.5555 11.9203 22.5744 11.8333 22.611C11.7463 22.6475 11.6674 22.701 11.6009 22.7682C11.5345 22.8355 11.4819 22.9153 11.4461 23.0031C11.4103 23.0909 11.392 23.1849 11.3923 23.2797C11.3928 23.4706 11.4684 23.6535 11.6024 23.7885C11.7365 23.9234 11.9182 23.9995 12.1078 24C12.202 24.0003 12.2954 23.9819 12.3826 23.9459C12.4698 23.9099 12.5491 23.8569 12.6159 23.79C12.6827 23.7231 12.7358 23.6436 12.7721 23.5561C12.8085 23.4685 12.8273 23.3746 12.8275 23.2797C12.8278 23.1845 12.8094 23.0901 12.7734 23.0021C12.7373 22.9141 12.6843 22.8341 12.6174 22.7667C12.5505 22.6994 12.4711 22.646 12.3836 22.6097C12.2961 22.5734 12.2024 22.5549 12.1078 22.5552Z`,fill:n||r})});if(U.isLendero)return(0,Y.jsxs)(`svg`,{className:`loader`,xmlns:`http://www.w3.org/2000/svg`,width:`36`,height:`36`,viewBox:`0 0 36 36`,fill:`none`,children:[(0,Y.jsxs)(`g`,{clipPath:`url(#clip0_852_1602)`,children:[(0,Y.jsx)(`path`,{d:`M18 4.5V9`,stroke:`white`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`}),(0,Y.jsx)(`path`,{d:`M31.5 18H27`,stroke:`white`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`}),(0,Y.jsx)(`path`,{d:`M27.5492 27.5485L24.3711 24.3704`,stroke:`white`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`}),(0,Y.jsx)(`path`,{d:`M18 31.5V27`,stroke:`white`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`}),(0,Y.jsx)(`path`,{d:`M8.45312 27.5485L11.6312 24.3704`,stroke:`white`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`}),(0,Y.jsx)(`path`,{d:`M4.5 18H9`,stroke:`white`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`}),(0,Y.jsx)(`path`,{d:`M8.45312 8.45154L11.6312 11.6297`,stroke:`white`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`})]}),(0,Y.jsx)(`defs`,{children:(0,Y.jsx)(`clipPath`,{id:`clip0_852_1602`,children:(0,Y.jsx)(`rect`,{width:`36`,height:`36`,fill:`white`})})})]});if(U.isBusiness)return(0,Y.jsxs)(`svg`,{className:`loader`,width:`40`,height:`40`,viewBox:`0 0 40 40`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,xmlnsXlink:`http://www.w3.org/1999/xlink`,children:[(0,Y.jsx)(`rect`,{id:`Screenshot 2024-09-18 at 11.49.49 1`,width:`40`,height:`40`,rx:`20`,fill:`url(#pattern0_3718_1541)`}),(0,Y.jsxs)(`defs`,{children:[(0,Y.jsx)(`pattern`,{id:`pattern0_3718_1541`,patternContentUnits:`objectBoundingBox`,width:`1`,height:`1`,children:(0,Y.jsx)(`use`,{xlinkHref:`#image0_3718_1541`,transform:`translate(-0.0941176 -0.164706) scale(0.00588235)`})}),(0,Y.jsx)(`image`,{id:`image0_3718_1541`,width:`200`,height:`220`,xlinkHref:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADcCAYAAAA1H+4TAAAMP2lDQ1BJQ0MgUHJvZmlsZQAASImVVwdYU8kWnluSkEBoAQSkhN4EESkBpITQQu8IohKSAKHEGAgqdnRRwbWLCNjQVREFKyAWFLGzKPa+WFBQ1sWCXXmTArruK9873zf3/vefM/85c+7cMgConeCIRDmoOgC5wnxxTJAffXxSMp3UAxCAAk3gCFAON0/EjIoKA9CGzn+3dzegN7Sr9lKtf/b/V9Pg8fO4ACBREKfx8ri5EB8EAK/iisT5ABClvNm0fJEUwwa0xDBBiBdLcYYcV0lxmhzvlfnExbAgbgNASYXDEWcAoHoZ8vQCbgbUUO2H2FHIEwgBUKND7J2bO4UHcSrE1tBHBLFUn5H2g07G3zTThjU5nIxhLJ+LzJT8BXmiHM6M/7Mc/9tycyRDMSxhU8kUB8dI5wzrdit7SqgUq0DcJ0yLiIRY
35E+IPAp7MH2KUkikJjpf7owbcPBasGdCB2JHH8Q+F2ADiQGFORJiCT0sXBLIhhisEnS7IZ8dBrAvxYn5eQKzCZ7N4SowiFtqQLmYxFfw5jlgWVxrrgSQ7nqnQf53JZyv0MdXCzLhEiCkQmxcIEiIgVoXYIS87NlThM64wkxUx5COWxEjzN4c4hi8M8pPrYwXp4sAYhX9Jbt7QfLHNmQJ2hALvz8+MC5bXB2vjcmT5w7lgl/lCZvyQDj9vfNjQXHh8/wD53LEevjA+VqHzQZTvFyMfi1NEOVEKf9yUnxMk5U0hds4riFWMxRPy4YKU6+PpovyoOHmeeGEWJyRKng++AoQBFvAHdCCBLQ1MAVlA0NHX2Aev5D2BgAPEIAPwgb2CGRqRKOsRwmMsKAR/QsQHecPj/GS9fFAA+a/DrPxoD9JlvQWyEdngKcS5IBTkwGuJbJRwOFoCeAIZwT+ic2DjwnxzYJP2/3t+iP3OMCETpmAkQxHpakOexACiPzGYGEi0wfVxb9wTD4NHX9iccAbuPjSP7/6Ep4ROwiPCdUIX4fZkQZH4pyzDQRfUD1TUIu3HWuCWUNMF98O9oDpUxnVwfWCPO8M4TNwHRnaBLEuRt7Qq9J+0/zaDH+6Gwo/sSEbJI8i+ZOufR6raqroMq0hr/WN95LmmDdebNdzzc3zWD9XnwXPoz57YYuwAdhY7iZ3HjmKNgI61YE1YO3ZMiodX1xPZ6hqKFiPLJxvqCP4Rb+jOSiuZ51jr2Ov4Rd6Xz58ufUcD1hTRDLEgIzOfzoRfBD6dLeQ6jKI7OTo5AyD9vshfX2+iZd8NRKf9O7fgDwC8WgYHB49850JaANjnBh//w985awb8dCgDcO4wVyIukHO49ECAbwk1+KTpASNgBqzhfJyAK/AEviAAhIBIEAeSwCSYfSZc52IwDcwC80ExKAUrwFpQATaBrWAn2AP2g0ZwFJwEZ8BFcBlcB3fh6ukGL0A/eAc+IwhCQqgIDdFDjBELxA5xQhiINxKAhCExSBKSimQgQkSCzEIWIKXIKqQC2YLUIPuQw8hJ5DzSidxGHiK9yGvkE4qhKqgWaohaoqNRBspEQ9E4dCKagU5FC9GF6DK0HK1Gd6MN6En0Inod7UJfoAMYwJQxHcwEs8cYGAuLxJKxdEyMzcFKsDKsGqvDmuF9vop1YX3YR5yI03A6bg9XcDAej3PxqfgcfClege/EG/A2/Cr+EO/HvxGoBAOCHcGDwCaMJ2QQphGKCWWE7YRDhNPwWeomvCMSiTpEK6IbfBaTiFnEmcSlxA3EeuIJYifxMXGARCLpkexIXqRIEoeUTyomrSftJrWQrpC6SR+UlJWMlZyUApWSlYRKRUplSruUjitdUXqm9JmsTrYge5AjyTzyDPJy8jZyM/kSuZv8maJBsaJ4UeIoWZT5lHJKHeU05R7ljbKysqmyu3K0skB5nnK58l7lc8oPlT+qaKrYqrBUUlQkKstUdqicULmt8oZKpVpSfanJ1HzqMmoN9RT1AfWDKk3VQZWtylOdq1qp2qB6RfWlGlnNQo2pNkmtUK1M7YDaJbU+dbK6pTpLnaM+R71S/bD6TfUBDZrGGI1IjVyNpRq7NM5r9GiSNC01AzR5mgs1t2qe0nxMw2hmNBaNS1tA20Y7TevWImpZabG1srRKtfZodWj1a2tqO2snaE/XrtQ+pt2lg+lY6rB1cnSW6+zXuaHzaYThCOYI/oglI+pGXBnxXnekrq8uX7dEt173uu4nPbpegF623kq9Rr37+ri+rX60/jT9jfqn9ftGao30HMkdWTJy/8g7BqiBrUGMwUyDrQbtBgOGRoZBhiLD9YanDPuMdIx8jbKM1hgdN+o1phl7GwuM1xi3GD+na9OZ9Bx6Ob2N3m9iYBJsIjHZYtJh8tnUyjTetMi03vS+GcWMYZZutsas1azf3Ng83HyWea35HQuyBcMi02KdxVmL95ZWlomWiywbLXusdK3YVoVWtVb3rKnWPtZTrautr9kQbRg22TYbbC7borYutpm2lbaX7FA7VzuB3Qa7zlGEUe6jhKOqR920V7Fn2hfY19o/dNBxCHMocmh0eDnafHTy6JWjz47+5ujimOO4zfHuGM0xIWOKxjSPee1k68R1qnS6NpY6NnDs3LFNY1852znznTc633KhuYS7LHJpdfnq6uYqdq1z7XUzd0t1q3K7ydBiRDGWMs65E9z93Oe6H3X/6OHqke+x3+MvT3vPbM9dnj3jrMbxx20b99jL1IvjtcWry5vuneq92bvLx8SH41Pt88jXzJfnu933GdOGmcXczXzp5+gn9jvk957lwZrNOuGP+Qf5l/h3BGgGxAdUBDwINA3MCKwN7A9yCZoZdCKYEBwavDL4JtuQzWXXsPtD3EJmh7SFqoTGhlaEPgqzDROHNYej4SHhq8PvRVhECCMaI0EkO3J15P0oq6ipUUeiidFR0ZXRT2PGxMyKORtLi50cuyv2XZxf3PK4u/HW8ZL41gS1hJSEmoT3if6JqxK7xo8eP3v8xST9JEFSUzIpOSF5e/LAhIAJayd0p7ikFKfcmGg1cfrE85P0J+VMOjZZbTJn8oFUQmpi6q7UL5xITjVnII2dVpXWz2Vx13Ff8Hx5a3i9fC/+Kv6zdK/0Vek9GV4ZqzN6M30yyzL7BCxBheBVVnDWpqz32ZHZO7IHcxJz6nOVclNzDws1hdnCtilGU6ZP6RTZiYpFXVM9pq6d2i8OFW/PQ/Im5jXla8Ef+XaJteQXycMC74LKgg/TEqYdmK4xXTi9fYbtjCUznhUGFv42E5/Jndk6y2TW/FkPZzNnb5mDzEmb0zrXbO7Cud3zgubtnE+Znz3/9yLHolVFbxckLmheaLhw3sLHvwT9UlusWiwuvrnIc9GmxfhiweKOJWOXrF/yrYRXcqHUsbSs9MtS7tILv475tfzXwWXpyzqWuy7fuIK4QrjixkqflTtXaawqXPV4dfjqhjX0NSVr3q6dvPZ8mXPZpnWUdZJ1XeVh5U3rzdevWP+lIrPieqVfZX2VQdWSqvcbeBuubPTdWLfJcFPppk+bBZtvbQna0lBtWV22lbi1YOvTbQnbzv7G+K1mu/720u1fdwh3dO2M2dlW41ZTs8tg1/JatFZS27s7ZfflPf57murs67bU69SX7gV7JXuf70vdd2N/6P7WA4wDdQctDlYdoh0qaUAaZjT0N2Y2djUlNXUeDjnc2uzZfOiIw5EdR02OVh7TPrb8OOX4wuODLYUtAydEJ/pOZpx83Dq59e6p8aeutUW3dZwOPX3uTOCZU2eZZ1vOeZ07et7j/OELjAuNF10vNrS7tB/63eX3Qx2uHQ2X3C41XXa/3Nw5rvP4FZ8rJ6/6Xz1zjX3t4vWI65034m/cuplys+sW71bP7Zzbr+4U3Pl8d949wr2S++r3yx4YPKj+w+aP+i7XrmMP/R+2P4p9dPcx9/GLJ3lPvnQvfEp9WvbM+FlNj1PP0d7A3svPJzzvfiF68bmv+E+NP6teWr88+JfvX+394/u7X4lfDb5e+kbvzY63zm9bB6IGHrzLfff5fckHvQ87PzI+nv2U+OnZ52lfSF/Kv9p8bf4W+u3eYO7goIgj5sh+BTDY0PR0AF7vAICaBAAN7s8oE+T7P5kh8j2rDIH/hOV7RJm5AlAH/9+j++DfzU0A9m6D2y+or5YCQBQVgDh3gI4dO9yG9mqyfaXUiHAfsDnia1puGvg3Jt9z/pD3z2cgVXUGP5//BeGFfFEsYcvgAAAAimVYSWZNTQAqAAAACAAEARoABQAAAAEAAAA+ARsABQAAAAEAAABGASgAAwAAAAEAAgAAh2kABAAAAAEAAABOAAAAAAAAAJAAAAABAAAAkAAAAAEAA5KGAAcAAAASAAAAeKACAAQAAAABAAAAyKADAAQAAAABAAAA3AAAAABBU0NJSQAAAFNjcmVlbnNob3TuOwnoAAAACXBIWXMAABYlAAAWJQFJUiTwAAAB1mlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNi4wLjAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczpleGlmPSJodHRwOi8vbnMuYWRvYmUuY29tL2V4aWYvMS4wLyI+CiAgICAgICAgIDxleGlmOlBpeGVsWURpbWVuc2lvbj4yMjA8L2V4aWY6UGl4ZWxZRGltZW5zaW9uPgogICAgICAgICA8ZXhpZjpQaXhlbFhEaW1lbnNpb24+MjAwPC9leGlmOlBpeGVsWERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6VXNlckNvbW1lbnQ+U2NyZWVuc2hvdDwvZXhpZjpVc2VyQ29tbWVudD4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CpbaYsAAAAAcaURPVAAAAAIAAAAAAAAAbgAAACgAAABuAAAAbgAAB9x7S4OvAAAHqElEQVR4AeydQagVVRjHjyBRIAYPXii+pBcPDAQRXITRQshFroIiWghCD4I2vRYFrQxxEejyhRAaRpFI
35RcKDoCBNkTReEFhgtngQmIEUBIXQsvzu9TzGmTtn7sw533e+c87/bu7MnJkzZ/7z/93v+2bunbvhv7svgxcUgAITFdgAQCbqgoVQYKQAAIERoIBDAQDiEAdNUACAwANQwKEAAHGIgyYoAEDgASjgUACAOMRBExQAIPAAFHAoAEAc4qAJCgAQeAAKOBQAIA5x0AQFAAg8AAUcCgAQhzhoggIABB6AAg4FAIhDHDRBAQACD0ABhwIAxCEOmqAAAIEHoIBDAQDiEAdNUACAwANQwKEAAHGIgyYoAEDgASjgUACAOMRBExQAIPAAFHAoAEAc4qAJCgAQeAAKOBQAIA5x0AQFAEhkD9z559/GCO78PV626eGHGm2bNjeXNVbCgmAKAJBgUjY7qpqfTG/n7Xtzi35LLCzr73eBstP9esLabQoAkDZlBiwn49/+7a/RlqEgGDCM0SYEioVly6MzQ7spfjsA4mEBTUB0HYYFhtI2C07XNmg3BoD0cAEBYVOl2BGix7AnrmqBQXSZKM/6QgCyLkX7hI0UqUMx6Qhv/fqnmZndbB5/YqsBLE2FAEhTk9GSXKEgIL6/eMPQ+6TXM8/tMQ88uNG8+Mq+Sc3FLQMgtVNORfbtW+NCu9aU9GwXGPWDm5ufNTt2bTcHX9tfbypqHoDcO925gkGHt/rNDbN68efBxqaoUiooRQOSaxpVJeHc6cut6VR1vWmmSwSlSEBKAIMM7xs52qApCZTiAMk5laoamguO6j5KAKUYQEqJGtbAy4c/t5Os7wTJzj2Pmd1PLbDuJ1bn2QNSGhhkJInoUTdsrtEka0BKSafqZo0BiB1DbqBkCUiJUcMalN6l0qvqPqvTOUGSHSAEx9r136vnq7jp2IBYwZeOvpB8bZIVIKWmVNaQ9E53zOneh5ZX6tEkC0BKT6mqMGgDhMaWMiTJA4KUqorHeFpLilUfWYopV9KAIKWqW3A8H/LrJZP3MHxpatEkWUAAR7tJNQNCo04JkiQBARztcFCLxjqkPuJUIEkOELqES3UHXm4FtEcRGn0KkCQFSK5wTPMQhb4fCilEkRQgSQaQlOGwAIwelFB5GJxd7o4FzVYLi33AHM3bZdW1Y37lpDqOrmnNkSQJQFKDwxrfPgTBzncZxbd9BMq9pzLanw0DEj9V1QOSSkFOEBAQUjBMe9pJv5WPrnj95HbaffmupzGSqAZEOxwWCjKGNjDqZqXosvLhFXNh5Yd6k6p5bZCoBUQzHBYM7VC0Of/Mu+dVg6IJEpWAaIUjdTDqwGgG5cBLT6p4Npc6QDTCkRsYqYCi4btb6gC59t1a/fxFm88djLqw2iLK9oVHzJH3Xq4PU3ReFSCaLudumZsp9lm1mkCJXY+oAURLalVa1Gj7OP7s1CXz5Serbc2iy2NCogIQLXCUHDXaHK8lmsSqR1QAErvuQNRow2O8XAMkseqR6IDErjsIjoWd29wOQevou16fnrxkvv3qp2hqzO/Yag6fOCS6/6iAxE6tkFL191rsaCKdakUFJGZqBTj6w2G3iAmJdKoVDZCY0QNwWKsPf48JieRVrSiAxISD6g2qO/DyV+Dq19fN+8e+8O9oQA9SqVYUQGKlVoBjgBM7NokFiVSqJQ5IrOiBtKrD6R7NsSCRiCLigMSIHoDDw/1TbhqjJpGIIqKAxIgegGNKhwdYLQYk3FFEFBDp6AE4Ari+ZxfSkHBHETFApKMH4Ojp7ICrH3n1A3Nz7Y+APbq74owiYoBIR4/de/P8zzy3VXS00u/fl55fFhsMZxQRAUQ6euByrpg3W3ckfWWLK4qIACIZPZBatXpWvEGyHuGKIuyASEYPwCHOQOcOJesRjijCDohk9EDd0elX8RWuXV0zy2/L/Gc7RxRhBQTRQ9yPKncoGUWWzy0F/a5dFoDgR08qubhvUIv7j903zzUTOs1iBUQqvULtwWW3cP1KFeyh0yw2QKTSK8ARzsTcPaUYRdgAkfqtOQpzbluH61/qUUIhowgbIBLpFaJHOPNK9SQVRU6ffyvIIbEAIpVeIXoE8YBoJ1JRJFSxzgKIRHqF6CHq66A7k4giodIsFkCQXgX1U3advfP6x4Y+RDlfagFBesV52vPo+5cfb5rjb5xlP5gQNw2DRxAJQJBesXuLfQcSd9dD1CHBAZGoP1Ccs/uXfQcSxXqINCs4INz1B75Wwu5dkR1IpFnqAEF6JeKtbHaSQpoVNIJIAIL0Khs+jESa5VuHBAUE9Uc+5pU4Eok06+lnd5nFNw8MPpyggHDXH7h6Nfg8q92Q+6ahbx0CQNRap4yBcdchc/Oz5uipxcFiBgOEHvXCfXcU9cfg86x2Q4mf5Pp8cTEYICjQ1XpQ9cAk6hCfQj0ZQHD/Q7XPvQbHXYeoAIT7ChYKdC8Pqt6Yuw7x+fPPYBEEV7BUe1D14LgB8bmSlQwgeJyoao97DY77gQ5FAIIrWF4eVL0x95UsAKL69GNwXQpwA0L7H3qpN0iKhXsgXRZAu0sBib9LACCuM4A29QpwX+rNGhDcA1Hvb+8BagXkfwAAAP//J3mN2QAACN5JREFU7Z1dqBVVFMe3j4EUCIWRCYLQhw8JQZFPSfZmBPUUQZAkPUT2EORDFGEgGPZiBIFxoy8iAkEIDLIPygqhoAIrQTDqSoIgFEKP5f9eF846d+bOmZm91t575r8f7pw955z98Zv5nbX2nI+75r/LJQwsl/75N5w5dW5gK81PX3vtNWHzlpuaH8B7iifw4u6FsHj2gtk8nnv1kXDrHRs7t7+GgnRmxicYELAWZM++h8PWbZs7jzyKIOf/vBjOL17s3Pm8T2AEmZdUuY8btSBMsco9MXMZOQUZcCQYQQbAK+Sp1oIcOrIn4DzqWqKkWIwgXbHz8bMErAVZOL53tsu56hRkLkx8kDUBCjKQ8NZ7ul+BGNgln+5IYNeOA6a9jTqCgBwFMT1/kjc+akFA98fvzphCpiCmeJM2jjXsnocOmY4haQTBzKwFwTvpfa5CmFJn41EIfPvpqfDmgY+jtFXXyMbNN4SX3ni87q7WfVEW6eiFgrSy5gMaCLz/2vHw2dEfGu4dvjsLQfBZLIRKq7J+w7qw/uZ1Vs2z3YQErAW578E7w6NP7+g1w2gRxFoQvlnY6/gW8aSFg8fCiU9+NhtrFoLw81hmx3f0DVtfwcpCEOt303GW8ErWOF2xFqTvJ3lBO1qK5SEIr2SNTxDr9QeI9b3Ei+dGEwSN8UoWKLB0IUBButBqeSwX6i2ACrzbOr0acokXOKNGEF7JKvAMTTxka0GGLNCLEwQD5jok8RkdsXuP9OqJvTvDtvu39B511AjChXrv4zDJJ7781Dvh7Om/TOc+ZIGOgUUVBA1aL9S5DgHlcRTr9Gro+gOUowtivQ7BoJlmgULZxSO9Grr+AOHogli/o45BM4qAQtnFOnqATpaCeKxDKEjZchx9+0Q4+u435pMYuv7AAKNHEDRqvQ5BH0yzQKHM4pFexVh/gK6JIB7rEEaRMuX47ac/wivPfmA++BjplZkgHmkWBs8oYn6eRe/AI3pg0H1/B2t2wiYRBJ14pFmMIrOHM/+6x+J8w6brw77Du6LAMBPEI80CAUaRKOeBSyNe0SNWegUoZoJ4pVmMIi7n9uBOvK5cYaAxrl7JhM0EQQceaRb6YRQBhbyLx8dKQGDTLTeGF15/LBoMU0G80izQ4LcNo50T0Rv66PCX4diHJ6O3W9dgzPQK7ZsK4pVmYSL81RNQyLN4LMxl5jHTK7RpKgg68IwiTLVAPK/itTDHrGNHD7RpLohnFOGCHYc0n+K5MMes97+1O/pvp5kLgoF7RhGmWiCeR/FMrSyiByi6COIZRTApplqgkLZ4plaYadGCYAJel3zRFwolWeaQ4u9Y5AA7lwiCjjy+J4J+pHA9IiT8t56pFWZnFT3Qtpsg6Mw7inA9Auq+xfp3dutmE/vSbrUPV0G8owgmSkmqh9v2Ni7G7H/mPdtOZlq3jB7oylUQdOgdRdAnJQEF24IXv++/Ph2OLHxl21GldWs50JW7IN5XtIQnJRES8beSGZz8/Ndw8otf4nfQ0GKs73w0NL+0210Q9Or5vkh18pSkSiPObZEDrXkK4hE9MKckgqSKIpgwJQGFOKUqB1pEerV49kKcxltasVyYV7tOIggGMAu3Oijr25RkOOG6LMBLEK/oAUrJBEHnKRbs6BeFkixz6PO3Tg604yFI7O97tM0/qSApUy2AoSRtp4e+H8cLkR/buoL0yvoqlldqJfNLKggG0fRqJAO03uIdd/z3XGxZmgnM82JmLYhnaiUkkguCgaSWBGNgNAGF+tJlvWiVZqWQAzSyEGSeV6f6Qxd3LyXRPNtSKv3o5ZpVFPFOrWRuWQiCwXR5lZLBW20pSlhaZyCy9ymxo0iq6IG5
35ZyMIBpNDqoVxoExVkj5RY5mY/htLkpRyYEZZCYIB5SQJxjMlUWJG8RipVmo5cPyzEySX9QjgVMuYRYkVNaq85Hbfj5/cvf328OTzD0gzybbZCQISuUqCsY1JlJgRA2yaShdJ8Lu6d22/Ldy7c2sWl96zFASgvQ5e00Ft21+qKHjxufT35Tf8Fi+2TTH6/RAF5dzvKz+vBSlQIEhOX5fOVhDAyl0SjBGiLG0vv9mYc7FMo2LOO7cXnqwFAfgSJJETJCdZIITwk9syzly3uckBTtkLgkGWJAnGi4KPrsjHV/BRFusiEoAVitSt+43Vfo5yYG5FCIKBligJxl0tVWmwf+11VyWqPq7pdvWkxzpC6rJtel7u+3OVA9yKEQSDHYMkmAfLVQI5y4FRFiUIBkxJQGEcJXc5QLk4QTBoSgIKZZecLuWuRrJIQTAhSrLaYc37vlLkAMViBcHgKQkolFNwkaK0L6cVLQhODVzBgSilX8kp5zTvN1LIgchRWileEAHOaCIk8tuWsBhvojYaQTBBStJ0mNPtL2m9UUdpVIJggky56g6z/75SU6pZUqMTRCbIaCIk/Lclp1SztEYrCCZKSWYPt229xKtUbURGLYhMnqIICbtt6WuNJjKTEEQmT1GERLztmNKpOiqTEgQAKEndadB93xjTqToKkxNEIFAUIdFtOxUxhMpkBREAFEVIrL6dmhhCY/KCCAiKIiT0dqpiCAUKIiSubCEKSopf/bgyhCw2UxdDDgIFERI1W8iCd+an8kFISrHyJKAgK5ms2LMkSaLfkloxmMg7RAo0i9ssmgAF0Txaa2NIwUSE0r6b0XpwDB5AQQZCLUEYCtH/IFOQ/uxqnynCpFq7iAwYHCNE7SHqtJOCdMLV78GyhpFny6JftrJ/3m1VAtzG72uhVPfP2xYftzoBCrI6H/d7Z6XhSe9+CFSHFEThYIUENAEKonmwRgKKAAVROFghAU2AgmgerJGAIkBBFA5WSEAToCCaB2skoAhQEIWDFRLQBCiI5sEaCSgCFEThYIUENAEKonmwRgKKAAVROFghAU2AgmgerJGAIkBBFA5WSEAToCCaB2skoAhQEIWDFRLQBCiI5sEaCSgCFEThYIUENAEKonmwRgKKAAVROFghAU2AgmgerJGAIkBBFA5WSEAToCCaB2skoAj8D0455QP8wkE3AAAAAElFTkSuQmCC`})]})]})},[t,n,r]);return(0,Y.jsx)(`span`,{className:`shell-loader`,children:i})},EM=()=>(0,Y.jsx)(`div`,{className:`screen-loader`,children:(0,Y.jsx)(TM,{spinSize:100})});function X(){return X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},X.apply(null,arguments)}function DM(e){"@babel/helpers - typeof";return DM=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},DM(e)}function OM(e,t){if(DM(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(DM(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function kM(e){var t=OM(e,`string`);return DM(t)==`symbol`?t:t+``}function AM(e,t,n){return(t=kM(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?jM(Object(n),!0).forEach(function(t){AM(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jM(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function MM(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function NM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,kM(r.key),r)}}function PM(e,t,n){return t&&NM(e.prototype,t),n&&NM(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function FM(e,t){return FM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},FM(e,t)}function IM(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&FM(e,t)}function LM(e){return LM=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},LM(e)}function RM(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(RM=function(){return!!e})()}function zM(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function BM(e,t){if(t&&(DM(t)==`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return zM(e)}
35function VM(e){var t=RM();return function(){var n,r=LM(e);if(t){var i=LM(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return BM(this,n)}}function HM(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function UM(e){if(Array.isArray(e))return HM(e)}function WM(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function GM(e,t){if(e){if(typeof e==`string`)return HM(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?HM(e,t):void 0}}function KM(){throw TypeError(`Invalid attempt to spread non-iterable instance.
36In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qM(e){return UM(e)||WM(e)||GM(e)||KM()}function JM(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function YM(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var XM=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(YM(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=JM(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++}
vendor: 10,102 bytes, line 36
36,t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}(),ZM=`-ms-`,QM=`-moz-`,$M=`-webkit-`,eN=`comm`,tN=`rule`,nN=`decl`,rN=`@import`,iN=`@keyframes`,aN=`@layer`,oN=Math.abs,sN=String.fromCharCode,cN=Object.assign;function lN(e,t){return mN(e,0)^45?(((t<<2^mN(e,0))<<2^mN(e,1))<<2^mN(e,2))<<2^mN(e,3):0}function uN(e){return e.trim()}function dN(e,t){return(e=t.exec(e))?e[0]:e}function fN(e,t,n){return e.replace(t,n)}function pN(e,t){return e.indexOf(t)}function mN(e,t){return e.charCodeAt(t)|0}function hN(e,t,n){return e.slice(t,n)}function gN(e){return e.length}function _N(e){return e.length}function vN(e,t){return t.push(e),e}function yN(e,t){return e.map(t).join(``)}var bN=1,xN=1,SN=0,CN=0,wN=0,TN=``;function EN(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:bN,column:xN,length:o,return:``}}function DN(e,t){return cN(EN(``,null,null,``,null,null,0),e,{length:-e.length},t)}function ON(){return wN}function kN(){return wN=CN>0?mN(TN,--CN):0,xN--,wN===10&&(xN=1,bN--),wN}function AN(){return wN=CN<SN?mN(TN,CN++):0,xN++,wN===10&&(xN=1,bN++),wN}function jN(){return mN(TN,CN)}function MN(){return CN}function NN(e,t){return hN(TN,e,t)}function PN(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function FN(e){return bN=xN=1,SN=gN(TN=e),CN=0,[]}function IN(e){return TN=``,e}function LN(e){return uN(NN(CN-1,BN(e===91?e+2:e===40?e+1:e)))}function RN(e){for(;(wN=jN())&&wN<33;)AN();return PN(e)>2||PN(wN)>3?``:` `}function zN(e,t){for(;--t&&AN()&&!(wN<48||wN>102||wN>57&&wN<65||wN>70&&wN<97););return NN(e,MN()+(t<6&&jN()==32&&AN()==32))}function BN(e){for(;AN();)switch(wN){case e:return CN;case 34:case 39:e!==34&&e!==39&&BN(wN);break;case 40:e===41&&BN(e);break;case 92:AN()}return CN}function VN(e,t){for(;AN()&&e+wN!==57&&(e+wN!==84||jN()!==47););return`/*`+NN(t,CN-1)+`*`+sN(e===47?e:AN())}function HN(e){for(;!PN(jN());)AN();return NN(e,CN)}function UN(e){return IN(WN(``,null,null,null,[``],e=FN(e),0,[0],e))}function WN(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=AN()){case 40:if(m!=108&&mN(C,d-1)==58){pN(C+=fN(LN(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=LN(v);break;case 9:case 10:case 13:case 32:C+=RN(m);break;case 92:C+=zN(MN()-1,7);continue;case 47:switch(jN()){case 42:case 47:vN(KN(VN(AN(),MN()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=gN(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=fN(C,/\f/g,``)),p>0&&gN(C)-d&&vN(p>32?qN(C+`;`,r,n,d-1):qN(fN(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(vN(S=GN(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123){if(u===0)WN(C,t,S,S,b,a,d,s,x);else switch(f===99&&mN(C,3)===110?100:f){case 100:case 108:case 109:case 115:WN(e,S,S,r&&vN(GN(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:WN(C,S,S,S,[``],x,0,s,x)}}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+gN(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&kN()==125)continue}switch(C+=sN(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(gN(C)-1)*_,_=1;break;case 64:jN()===45&&(C+=LN(AN())),f=jN(),u=d=gN(y=C+=HN(MN())),v++;break;case 45:m===45&&gN(C)==2&&(h=0)}}return a}function GN(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=_N(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=hN(e,d+1,d=oN(h=o[m])),y=e;_<p;++_)(y=uN(h>0?f[_]+` `+v:fN(v,/&\f/g,f[_])))&&(c[g++]=y);return EN(e,t,n,i===0?tN:s,c,l,u)}function KN(e,t,n){return EN(e,t,n,eN,sN(ON()),hN(e,2,-2),0)}function qN(e,t,n,r){return EN(e,t,n,nN,hN(e,0,r),hN(e,r+1,-1),r)}function JN(e,t){for(var n=``,r=_N(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function YN(e,t,n,r){switch(e.type){case aN:if(e.children.length)break;case rN:case nN:return e.return=e.return||e.value;case eN:return``;case iN:return e.return=e.value+`{`+JN(e.children,r)+`}`;case tN:e.value=e.props.join(`,`)}return gN(n=JN(e.children,r))?e.return=e.value+`{`+n+`}`:``}function XN(e){var t=_N(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function ZN(e){return function(t){t.root||(t=t.return)&&e(t)}}function QN(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var $N=function(e,t,n){for(var r=0,i=0;r=i,i=jN(),r===38&&i===12&&(t[n]=1),!PN(i);)AN();return NN(e,CN)},eP=function(e,t){var n=-1,r=44;do switch(PN(r)){case 0:r===38&&jN()===12&&(t[n]=1),e[n]+=$N(CN-1,t,n);break;case 2:e[n]+=LN(r);break;case 4:if(r===44){e[++n]=jN()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=sN(r)}while(r=AN());return e},tP=function(e,t){return IN(eP(FN(e),t))},nP=new WeakMap,rP=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if((e.props.length!==1||t.charCodeAt(0)===58||nP.get(n))&&!r){nP.set(e,!0);for(var i=[],a=tP(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},iP=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function aP(e,t){switch(lN(e,t)){case 5103:return $M+`print-`+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return $M+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return $M+e+QM+e+ZM+e+e;case 6828:case 4268:return $M+e+ZM+e+e;case 6165:return $M+e+ZM+`flex-`+e+e;case 5187:return $M+e+fN(e,/(\w+).+(:[^]+)/,$M+`box-$1$2`+ZM+`flex-$1$2`)+e;case 5443:return $M+e+ZM+`flex-item-`+fN(e,/flex-|-self/,``)+e;case 4675:return $M+e+ZM+`flex-line-pack`+fN(e,/align-content|flex-|-self/,``)+e;case 5548:return $M+e+ZM+fN(e,`shrink`,`negative`)+e;case 5292:return $M+e+ZM+fN(e,`basis`,`preferred-size`)+e;case 6060:return $M+`box-`+fN(e,`-grow`,``)+$M+e+ZM+fN(e,`grow`,`positive`)+e;case 4554:return $M+fN(e,/([^-])(transform)/g,`$1`+$M+`$2`)+e;case 6187:return fN(fN(fN(e,/(zoom-|grab)/,$M+`$1`),/(image-set)/,$M+`$1`),e,``)+e;case 5495:case 3959:return fN(e,/(image-set\([^]*)/,$M+"$1$`$1");case 4968:return fN(fN(e,/(.+:)(flex-)?(.*)/,$M+`box-pack:$3`+ZM+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+$M+e+e;case 4095:case 3583:case 4068:case 2532:return fN(e,/(.+)-inline(.+)/,$M+`$1$2`)+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(gN(e)-1-t>6)switch(mN(e,t+1)){case 109:if(mN(e,t+4)!==45)break;case 102:return fN(e,/(.+:)(.+)-([^]+)/,`$1`+$M+`$2-$3$1`+QM+(mN(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~pN(e,`stretch`)?aP(fN(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(mN(e,t+1)!==115)break;case 6444:switch(mN(e,gN(e)-3-(~pN(e,`!important`)&&10))){case 107:return fN(e,`:`,`:`+$M)+e;case 101:return fN(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+$M+(mN(e,14)===45?`inline-`:``)+`box$3$1`+$M+`$2$3$1`+ZM+`$2box$3`)+e}break;case 5936:switch(mN(e,t+11)){case 114:return $M+e+ZM+fN(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return $M+e+ZM+fN(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return $M+e+ZM+fN(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return $M+e+ZM+e+e}return e}var oP=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case nN:e.return=aP(e.value,e.length);break;case iN:return JN([DN(e,{value:fN(e.value,`@`,`@`+$M)})],r);case tN:if(e.length)return yN(e.props,function(t){switch(dN(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return JN([DN(e,{props:[fN(t,/:(read-\w+)/,`:`+QM+`$1`)]})],r);case`::placeholder`:return JN([DN(e,{props:[fN(t,/:(plac\w+)/,`:`+$M+`input-$1`)]}),DN(e,{props:[fN(t,/:(plac\w+)/,`:`+QM+`$1`)]}),DN(e,{props:[fN(t,/:(plac\w+)/,ZM+`input-$1`)]})],r)}return``})}}],sP=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||oP,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[rP,iP],l,u=[YN,ZN(function(e){l.insert(e)})],d=XN(c.concat(r,u)),f=function(e){return JN(UN(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new XM({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p},cP=s((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.
vendor: 4,178 bytes, line 36
36Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),lP=s(((e,t)=>{t.exports=cP()})),uP=s(((e,t)=>{var n=lP(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h}));function dP(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var fP=function(e,t,n){var r=e.key+`-`+t.name;n===!1&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},pP=function(e,t,n){fP(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function mP(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var hP={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},gP=/[A-Z]|^ms/g,_P=/_EMO_([^_]+?)_([^]*?)_EMO_/g,vP=function(e){return e.charCodeAt(1)===45},yP=function(e){return e!=null&&typeof e!=`boolean`},bP=QN(function(e){return vP(e)?e:e.replace(gP,`-$&`).toLowerCase()}),xP=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(_P,function(e,t,n){return TP={name:t,styles:n,next:TP},t})}return hP[e]!==1&&!vP(e)&&typeof t==`number`&&t!==0?t+`px`:t};function SP(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;
36if(i.anim===1)return TP={name:i.name,styles:i.styles,next:TP},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)TP={name:o.name,styles:o.styles,next:TP},o=o.next;return a.styles+`;`}return CP(e,t,n);case`function`:if(e!==void 0){var s=TP,c=n(e);return TP=s,SP(e,t,c)}}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function CP(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=SP(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:yP(s)&&(r+=bP(a)+`:`+xP(a,s)+`;`)}else if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)yP(o[c])&&(r+=bP(a)+`:`+xP(a,o[c])+`;`);else{var l=SP(e,t,o);switch(a){case`animation`:case`animationName`:r+=bP(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}return r}var wP=/label:\s*([^\s;{]+)\s*(;|$)/g,TP;function EP(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;TP=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=SP(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=SP(n,t,e[o]),r&&(i+=a[o]);wP.lastIndex=0;for(var s=``,c;(c=wP.exec(i))!==null;)s+=`-`+c[1];return{name:mP(i)+s,styles:i,next:TP}}var DP=function(e){return e()},OP=V.useInsertionEffect?V.useInsertionEffect:!1,kP=OP||DP;OP||V.useLayoutEffect;var AP=V.createContext(typeof HTMLElement<`u`?sP({key:`css`}):null);AP.Provider;var jP=function(e){return(0,V.forwardRef)(function(t,n){return e(t,(0,V.useContext)(AP),n)})},MP=V.createContext({}),NP={}.hasOwnProperty,PP=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,FP=function(e,t){var n={};for(var r in t)NP.call(t,r)&&(n[r]=t[r]);return n[PP]=e,n},IP=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return fP(t,n,r),kP(function(){return pP(t,n,r)}),null},LP=jP(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[PP],a=[r],o=``;typeof e.className==`string`?o=dP(t.registered,a,e.className):e.className!=null&&(o=e.className+` `);var s=EP(a,void 0,V.useContext(MP));o+=t.key+`-`+s.name;var c={};for(var l in e)NP.call(e,l)&&l!==`css`&&l!==PP&&(c[l]=e[l]);return c.className=o,n&&(c.ref=n),V.createElement(V.Fragment,null,V.createElement(IP,{cache:t,serialized:s,isStringTag:typeof i==`string`}),V.createElement(i,c))});uP();var Q=function(e,t){var n=arguments;if(t==null||!NP.call(t,`css`))return V.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=LP,i[1]=FP(e,t);for(var a=2;a<r;a++)i[a]=n[a];return V.createElement.apply(null,i)};(function(e){var t;t||=e.JSX||={}})(Q||={});function RP(){return EP([...arguments])}function zP(){var e=RP.apply(void 0,arguments),t=`animation-`+e.name;return{name:t,styles:`@keyframes `+t+`{`+e.styles+`}`,anim:1,toString:function(){return`_EMO_`+this.name+`_`+this.styles+`_EMO_`}}}function BP(e){if(Array.isArray(e))return e}function VP(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function HP(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
37In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function UP(e,t){return BP(e)||VP(e,t)||GM(e,t)||HP()}function WP(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function GP(e,t){if(e==null)return{};var n,r,i=WP(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function KP(e,t){return t||=e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var qP=s((e=>{var t=zb();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`),o=Symbol.for(`react.recoverable`),s=Symbol.for(`react.optimistic_key`);
37function c(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:r===s?s:``+r,children:e,containerInfo:t,implementation:n}}var l=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.browser=function(e){return{$$typeof:o,_reason:e}},e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return c(e,t,null,r)},e.flushSync=function(e){var t=l.T,n=i.p;try{if(l.T=null,i.p=2,e)return e()}finally{l.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=u(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`){if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=u(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0})}}else t??i.d.M(e)}},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=u(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`){if(t){var n=u(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0})}else i.d.m(e)}},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return l.H.useFormState(e,t,n)},e.useFormStatus=function(){return l.H.useHostTransitionStatus()},e.version=`19.3.0`})),JP=s(((e,t)=>{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=qP()})),YP=JP(),XP=Math.min,ZP=Math.max,QP=Math.round,$P=Math.floor,eF=e=>({x:e,y:e});function tF(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function nF(){return typeof window<`u`}function rF(e){return oF(e)?(e.nodeName||``).toLowerCase():`#document`}function iF(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function aF(e){return((oF(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function oF(e){return nF()?e instanceof Node||e instanceof iF(e).Node:!1}function sF(e){return nF()?e instanceof Element||e instanceof iF(e).Element:!1}function cF(e){return nF()?e instanceof HTMLElement||e instanceof iF(e).HTMLElement:!1}function lF(e){return!nF()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof iF(e).ShadowRoot}function uF(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=mF(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}var dF;function fF(){return dF??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),dF}function pF(e){return/^(html|body|#document)$/.test(rF(e))}function mF(e){return iF(e).getComputedStyle(e)}function hF(e){if(rF(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||lF(e)&&e.host||aF(e);return lF(t)?t.host:t}function gF(e){let t=hF(e);return pF(t)?(e.ownerDocument||e).body:cF(t)&&uF(t)?t:gF(t)}function _F(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=gF(e),i=r===e.ownerDocument?.body,a=iF(r);if(i){let e=vF(a);
37return t.concat(a,a.visualViewport||[],uF(r)?r:[],e&&n?_F(e):[])}return t.concat(r,_F(r,[],n))}function vF(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function yF(e){let t=mF(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=cF(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=QP(n)!==a||QP(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function bF(e){return sF(e)?e:e.contextElement}function xF(e){let t=bF(e);if(!cF(t))return eF(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=yF(t),o=(a?QP(n.width):n.width)/r,s=(a?QP(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var SF=eF(0);function CF(e){let t=iF(e);return!fF()||!t.visualViewport?SF:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function wF(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===iF(e)}function TF(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=bF(e),o=eF(1);t&&(r?sF(r)&&(o=xF(r)):o=xF(e));let s=wF(a,n,r)?CF(a):eF(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=iF(a),t=sF(r)?iF(r):r,n=e,i=vF(n);for(;i&&t!==n;){let e=xF(i),t=i.getBoundingClientRect(),r=mF(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=iF(i),i=vF(n)}}return tF({width:u,height:d,x:c,y:l})}function EF(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function DF(e,t,n){let r=null,i,a=aF(e);function o(){var e;clearTimeout(i),(e=r)==null||e.disconnect(),r=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let m=$P(d),h=$P(a.clientWidth-(u+f)),g=$P(a.clientHeight-(d+p)),_=$P(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:ZP(0,XP(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(!EF(l,e.getBoundingClientRect()))return s();if(n!==c){if(!y)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{r=new IntersectionObserver(b,{...v,root:a.ownerDocument})}catch{r=new IntersectionObserver(b,v)}r.observe(e)}let c=iF(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}function OF(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=bF(e),u=i||a?[...l?_F(l):[],...t?_F(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?DF(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?TF(e):null;c&&g();function g(){let t=TF(e);h&&!EF(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var kF=V.useLayoutEffect,AF=[`className`,`clearValue`,`cx`,`getStyles`,`getClassNames`,`getValue`,`hasValue`,`isMulti`,`isRtl`,`options`,`selectOption`,`selectProps`,`setValue`,`theme`],jF=function(){};function MF(e,t){return t?t[0]===`-`?e+t:e+`__`+t:e}function NF(e,t){var n=[...arguments].slice(2),r=[].concat(n);if(t&&e)for(var i in t)t.hasOwnProperty(i)&&t[i]&&r.push(`${MF(e,i)}`);return r.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(` `)}var PF=function(e){return $F(e)?e.filter(Boolean):DM(e)===`object`&&e!==null?[e]:[]},FF=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,Z({},GP(e,AF))},IF=function(e,t,n){var r=e.cx,i=e.getStyles,a=e.getClassNames,o=e.className;return{css:i(t,e),className:r(n??{},a(t,e),o)}};function LF(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function RF(e){return LF(e)?window.innerHeight:e.clientHeight}function zF(e){return LF(e)?window.pageYOffset:e.scrollTop}function BF(e,t){if(LF(e)){window.scrollTo(0,t);return}e.scrollTop=t}function VF(e){var t=getComputedStyle(e),n=t.position===`absolute`,r=/(auto|scroll)/;if(t.position===`fixed`)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),!(n&&t.position===`static`)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}function HF(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function UF(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:jF,i=zF(e),a=t-i,o=10,s=0;function c(){s+=o,BF(e,HF(s,i,a,n)),s<n?window.requestAnimationFrame(c):r(e)}c()}function WF(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?BF(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&BF(e,Math.max(t.offsetTop-i,0))}function GF(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function KF(){try{return document.createEvent(`TouchEvent`),!0}catch{return!1}}function qF(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}
37var JF=!1,YF={get passive(){return JF=!0}},XF=typeof window<`u`?window:{};XF.addEventListener&&XF.removeEventListener&&(XF.addEventListener(`p`,jF,YF),XF.removeEventListener(`p`,jF,!1));var ZF=JF;function QF(e){return e!=null}function $F(e){return Array.isArray(e)}function eI(e,t,n){return e?t:n}function tI(e){return e}function nI(e){return e}var rI=function(e){var t=[...arguments].slice(1);return Object.entries(e).filter(function(e){var n=UP(e,1)[0];return!t.includes(n)}).reduce(function(e,t){var n=UP(t,2),r=n[0];return e[r]=n[1],e},{})},iI=[`children`,`innerProps`],aI=[`children`,`innerProps`];function oI(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,a=e.shouldScroll,o=e.isFixedPosition,s=e.controlHeight,c=VF(n),l={placement:`bottom`,maxHeight:t};if(!n||!n.offsetParent)return l;var u=c.getBoundingClientRect().height,d=n.getBoundingClientRect(),f=d.bottom,p=d.height,m=d.top,h=n.offsetParent.getBoundingClientRect().top,g=o?window.innerHeight:RF(c),_=zF(c),v=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),b=h-y,x=g-m,S=b+_,C=u-_-m,w=f-g+_+v,T=_+m-y,E=160;switch(i){case`auto`:case`bottom`:if(x>=p)return{placement:`bottom`,maxHeight:t};if(C>=p&&!o)return a&&UF(c,w,E),{placement:`bottom`,maxHeight:t};if(!o&&C>=r||o&&x>=r)return a&&UF(c,w,E),{placement:`bottom`,maxHeight:o?x-v:C-v};if(i===`auto`||o){var D=t,O=o?b:S;return O>=r&&(D=Math.min(O-v-s,t)),{placement:`top`,maxHeight:D}}if(i===`bottom`)return a&&BF(c,w),{placement:`bottom`,maxHeight:t};break;case`top`:if(b>=p)return{placement:`top`,maxHeight:t};if(S>=p&&!o)return a&&UF(c,T,E),{placement:`top`,maxHeight:t};if(!o&&S>=r||o&&b>=r){var ee=t;return(!o&&S>=r||o&&b>=r)&&(ee=o?b-y:S-y),a&&UF(c,T,E),{placement:`top`,maxHeight:ee}}return{placement:`bottom`,maxHeight:t};default:throw Error(`Invalid placement provided "${i}".`)}return l}function sI(e){return e?{bottom:`top`,top:`bottom`}[e]:`bottom`}var cI=function(e){return e===`auto`?`bottom`:e},lI=function(e,t){var n,r=e.placement,i=e.theme,a=i.borderRadius,o=i.spacing,s=i.colors;return Z((n={label:`menu`},AM(n,sI(r),`100%`),AM(n,`position`,`absolute`),AM(n,`width`,`100%`),AM(n,`zIndex`,1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:a,boxShadow:`0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)`,marginBottom:o.menuGutter,marginTop:o.menuGutter})},uI=(0,V.createContext)(null),dI=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,a=e.menuPosition,o=e.menuShouldScrollIntoView,s=e.theme,c=((0,V.useContext)(uI)||{}).setPortalPlacement,l=(0,V.useRef)(null),u=UP((0,V.useState)(r),2),d=u[0],f=u[1],p=UP((0,V.useState)(null),2),m=p[0],h=p[1],g=s.spacing.controlHeight;return kF(function(){var e=l.current;if(e){var t=a===`fixed`,s=oI({maxHeight:r,menuEl:e,minHeight:n,placement:i,shouldScroll:o&&!t,isFixedPosition:t,controlHeight:g});f(s.maxHeight),h(s.placement),c?.(s.placement)}},[r,i,a,o,n,c,g]),t({ref:l,placerProps:Z(Z({},e),{},{placement:m||cI(i),maxHeight:d})})},fI=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Q(`div`,X({},IF(e,`menu`,{menu:!0}),{ref:n},r),t)},pI=function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return Z({maxHeight:n,overflowY:`auto`,position:`relative`,WebkitOverflowScrolling:`touch`},t?{}:{paddingBottom:r,paddingTop:r})},mI=function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return Q(`div`,X({},IF(e,`menuList`,{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},hI=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return Z({textAlign:`center`},t?{}:{color:i.neutral40,padding:`${r*2}px ${r*3}px`})},gI=hI,_I=hI,vI=function(e){var t=e.children,n=t===void 0?`No options`:t,r=e.innerProps,i=GP(e,iI);return Q(`div`,X({},IF(Z(Z({},i),{},{children:n,innerProps:r}),`noOptionsMessage`,{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},yI=function(e){var t=e.children,n=t===void 0?`Loading...`:t,r=e.innerProps,i=GP(e,aI);return Q(`div`,X({},IF(Z(Z({},i),{},{children:n,innerProps:r}),`loadingMessage`,{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},bI=function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},xI=function(e){var t=e.appendTo,n=e.children,r=e.controlElement,i=e.innerProps,a=e.menuPlacement,o=e.menuPosition,s=(0,V.useRef)(null),c=(0,V.useRef)(null),l=UP((0,V.useState)(cI(a)
37),2),u=l[0],d=l[1],f=(0,V.useMemo)(function(){return{setPortalPlacement:d}},[]),p=UP((0,V.useState)(null),2),m=p[0],h=p[1],g=(0,V.useCallback)(function(){if(r){var e=GF(r),t=o===`fixed`?0:window.pageYOffset,n=e[u]+t;(n!==m?.offset||e.left!==m?.rect.left||e.width!==m?.rect.width)&&h({offset:n,rect:e})}},[r,o,u,m?.offset,m?.rect.left,m?.rect.width]);kF(function(){g()},[g]);var _=(0,V.useCallback)(function(){typeof c.current==`function`&&(c.current(),c.current=null),r&&s.current&&(c.current=OF(r,s.current,g,{elementResize:`ResizeObserver`in window}))},[r,g]);kF(function(){_()},[_]);var v=(0,V.useCallback)(function(e){s.current=e,_()},[_]);if(!t&&o!==`fixed`||!m)return null;var y=Q(`div`,X({ref:v},IF(Z(Z({},e),{},{offset:m.offset,position:o,rect:m.rect}),`menuPortal`,{"menu-portal":!0}),i),n);return Q(uI.Provider,{value:f},t?(0,YP.createPortal)(y,t):y)},SI=function(e){var t=e.isDisabled;return{label:`container`,direction:e.isRtl?`rtl`:void 0,pointerEvents:t?`none`:void 0,position:`relative`}},CI=function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return Q(`div`,X({},IF(e,`container`,{"--is-disabled":r,"--is-rtl":i}),n),t)},wI=function(e,t){var n=e.theme.spacing,r=e.isMulti,i=e.hasValue,a=e.selectProps.controlShouldRenderValue;return Z({alignItems:`center`,display:r&&i&&a?`flex`:`grid`,flex:1,flexWrap:`wrap`,WebkitOverflowScrolling:`touch`,position:`relative`,overflow:`hidden`},t?{}:{padding:`${n.baseUnit/2}px ${n.baseUnit*2}px`})},TI=function(e){var t=e.children,n=e.innerProps,r=e.isMulti,i=e.hasValue;return Q(`div`,X({},IF(e,`valueContainer`,{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)},EI=function(){return{alignItems:`center`,alignSelf:`stretch`,display:`flex`,flexShrink:0}},DI=function(e){var t=e.children,n=e.innerProps;return Q(`div`,X({},IF(e,`indicatorsContainer`,{indicators:!0}),n),t)},OI,kI=[`size`],AI=[`innerProps`,`isRtl`,`size`],jI={name:`8mmkcg`,styles:`display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0`},MI=function(e){var t=e.size,n=GP(e,kI);return Q(`svg`,X({height:t,width:t,viewBox:`0 0 20 20`,"aria-hidden":`true`,focusable:`false`,css:jI},n))},NI=function(e){return Q(MI,X({size:20},e),Q(`path`,{d:`M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z`}))},PI=function(e){return Q(MI,X({size:20},e),Q(`path`,{d:`M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z`}))},FI=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,a=r.colors;return Z({label:`indicatorContainer`,display:`flex`,transition:`color 150ms`},t?{}:{color:n?a.neutral60:a.neutral20,padding:i*2,":hover":{color:n?a.neutral80:a.neutral40}})},II=FI,LI=function(e){var t=e.children,n=e.innerProps;return Q(`div`,X({},IF(e,`dropdownIndicator`,{indicator:!0,"dropdown-indicator":!0}),n),t||Q(PI,null))},RI=FI,zI=function(e){var t=e.children,n=e.innerProps;return Q(`div`,X({},IF(e,`clearIndicator`,{indicator:!0,"clear-indicator":!0}),n),t||Q(NI,null))},BI=function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing.baseUnit,a=r.colors;return Z({label:`indicatorSeparator`,alignSelf:`stretch`,width:1},t?{}:{backgroundColor:n?a.neutral10:a.neutral20,marginBottom:i*2,marginTop:i*2})},VI=function(e){var t=e.innerProps;return Q(`span`,X({},t,IF(e,`indicatorSeparator`,{"indicator-separator":!0})))},HI=zP(OI||=KP([`
38  0%, 80%, 100% { opacity: 0; }
39  40% { opacity: 1; }
40`])),UI=function(e,t){var n=e.isFocused,r=e.size,i=e.theme,a=i.colors,o=i.spacing.baseUnit;return Z({label:`loadingIndicator`,display:`flex`,transition:`color 150ms`,alignSelf:`center`,fontSize:r,lineHeight:1,marginRight:r,textAlign:`center`,verticalAlign:`middle`},t?{}:{color:n?a.neutral60:a.neutral20,padding:o*2})},WI=function(e){var t=e.delay,n=e.offset;return Q(`span`,{css:RP({animation:`${HI} 1s ease-in-out ${t}ms infinite;`,backgroundColor:`currentColor`,borderRadius:`1em`,display:`inline-block`,marginLeft:n?`1em`:void 0,height:`1em`,verticalAlign:`to
40p`,width:`1em`},``,``)})},GI=function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=r===void 0?4:r,a=GP(e,AI);return Q(`div`,X({},IF(Z(Z({},a),{},{innerProps:t,isRtl:n,size:i}),`loadingIndicator`,{indicator:!0,"loading-indicator":!0}),t),Q(WI,{delay:0,offset:n}),Q(WI,{delay:160,offset:!0}),Q(WI,{delay:320,offset:!n}))},KI=function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.theme,a=i.colors,o=i.borderRadius,s=i.spacing;return Z({label:`control`,alignItems:`center`,cursor:`default`,display:`flex`,flexWrap:`wrap`,justifyContent:`space-between`,minHeight:s.controlHeight,outline:`0 !important`,position:`relative`,transition:`all 100ms`},t?{}:{backgroundColor:n?a.neutral5:a.neutral0,borderColor:n?a.neutral10:r?a.primary:a.neutral20,borderRadius:o,borderStyle:`solid`,borderWidth:1,boxShadow:r?`0 0 0 1px ${a.primary}`:void 0,"&:hover":{borderColor:r?a.primary:a.neutral30}})},qI=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,a=e.innerProps,o=e.menuIsOpen;return Q(`div`,X({ref:i},IF(e,`control`,{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":o}),a,{"aria-disabled":n||void 0}),t)},JI=[`data`],YI=function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:n.baseUnit*2,paddingTop:n.baseUnit*2}},XI=function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,a=e.Heading,o=e.headingProps,s=e.innerProps,c=e.label,l=e.theme,u=e.selectProps;return Q(`div`,X({},IF(e,`group`,{group:!0}),s),Q(a,X({},o,{selectProps:u,theme:l,getStyles:r,getClassNames:i,cx:n}),c),Q(`div`,null,t))},ZI=function(e,t){var n=e.theme,r=n.colors,i=n.spacing;return Z({label:`group`,cursor:`default`,display:`block`},t?{}:{color:r.neutral40,fontSize:`75%`,fontWeight:500,marginBottom:`0.25em`,paddingLeft:i.baseUnit*3,paddingRight:i.baseUnit*3,textTransform:`uppercase`})},QI=function(e){var t=FF(e);t.data;var n=GP(t,JI);return Q(`div`,X({},IF(e,`groupHeading`,{"group-heading":!0}),n))},$I=XI,eL=[`innerRef`,`isDisabled`,`isHidden`,`inputClassName`],tL=function(e,t){var n=e.isDisabled,r=e.value,i=e.theme,a=i.spacing,o=i.colors;return Z(Z({visibility:n?`hidden`:`visible`,transform:r?`translateZ(0)`:``},rL),t?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:o.neutral80})},nL={gridArea:`1 / 2`,font:`inherit`,minWidth:`2px`,border:0,margin:0,outline:0,padding:0},rL={flex:`1 1 auto`,display:`inline-grid`,gridArea:`1 / 1 / 2 / 3`,gridTemplateColumns:`0 min-content`,"&:after":Z({content:`attr(data-value) " "`,visibility:`hidden`,whiteSpace:`pre`},nL)},iL=function(e){return Z({label:`input`,color:`inherit`,background:0,opacity:+!e,width:`100%`},nL)},aL=function(e){var t=e.cx,n=e.value,r=FF(e),i=r.innerRef,a=r.isDisabled,o=r.isHidden,s=r.inputClassName,c=GP(r,eL);return Q(`div`,X({},IF(e,`input`,{"input-container":!0}),{"data-value":n||``}),Q(`input`,X({className:t({input:!0},s),ref:i,style:iL(o),disabled:a},c)))},oL=function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,a=n.colors;return Z({label:`multiValue`,display:`flex`,minWidth:0},t?{}:{backgroundColor:a.neutral10,borderRadius:i/2,margin:r.baseUnit/2})},sL=function(e,t){var n=e.theme,r=n.borderRadius,i=n.colors,a=e.cropWithEllipsis;return Z({overflow:`hidden`,textOverflow:a||a===void 0?`ellipsis`:void 0,whiteSpace:`nowrap`},t?{}:{borderRadius:r/2,color:i.neutral80,fontSize:`85%`,padding:3,paddingLeft:6})},cL=function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,a=n.colors,o=e.isFocused;return Z({alignItems:`center`,display:`flex`},t?{}:{borderRadius:i/2,backgroundColor:o?a.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},lL=function(e){var t=e.children,n=e.innerProps;return Q(`div`,n,t)},uL=lL,dL=lL;function fL(e){var t=e.children,n=e.innerProps;return Q(`div`,X({role:`button`},n),t||Q(NI,{size:14}))}var pL=function(e){var t=e.children,n=e.components,r=e.data,i=e.innerProps,a=e.isDisabled,o=e.removeProps,s=e.selectProps,c=n.Container,l=n.Label,u=n.Remove;return Q(c,{data:r,innerProps:Z(Z({},IF(e,`multiValue`,{"multi-value":!0,"multi-value--is-disabled":a})),i),selectProps:s},Q(l,{data:r,innerProps:Z({},IF(e,`multiValueLabel`,{"multi-value__label":!0})),selectProps:s},t),Q(u,{data:r,innerProps:Z(Z({},IF(e,`multiValueRemove`,{"multi-value__remove":!0})),{},{"aria-label":`Remove ${t||`option`}`},o),selectProps:s}))},mL=function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,a=e.theme,o=a.spacing,s=a.colors;return Z({label:`option`,cursor:`default`,display:`block`,fontSize:`inherit`,width:`100%`,userSelect:`none`,WebkitTapHighlightColor:`rgba(0, 0, 0, 0)`},t?{}:{backgroundColor:i?s.primary:r?s.primary25:`transparent`,color:n?s.neutral20:i?s.neutral0:`inherit`,padding:`${o.baseUnit*2}px ${o.baseUnit*3}px`,":active":{backgroundColor:n?void 0:i?s.primary:s.primary50}})},hL=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,a=e.innerRef,o=e.innerProps;return Q(`div`,X({},IF(e,`option`,{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:a,"aria-disabled":n},o),t)}
40,gL=function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return Z({label:`placeholder`,gridArea:`1 / 1 / 2 / 3`},t?{}:{color:i.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},_L=function(e){var t=e.children,n=e.innerProps;return Q(`div`,X({},IF(e,`placeholder`,{placeholder:!0}),n),t)},vL=function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing,a=r.colors;return Z({label:`singleValue`,gridArea:`1 / 1 / 2 / 3`,maxWidth:`100%`,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},t?{}:{color:n?a.neutral40:a.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},yL={ClearIndicator:zI,Control:qI,DropdownIndicator:LI,DownChevron:PI,CrossIcon:NI,Group:$I,GroupHeading:QI,IndicatorsContainer:DI,IndicatorSeparator:VI,Input:aL,LoadingIndicator:GI,Menu:fI,MenuList:mI,MenuPortal:xI,LoadingMessage:yI,NoOptionsMessage:vI,MultiValue:pL,MultiValueContainer:uL,MultiValueLabel:dL,MultiValueRemove:fL,Option:hL,Placeholder:_L,SelectContainer:CI,SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Q(`div`,X({},IF(e,`singleValue`,{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:TI},bL=function(e){return Z(Z({},yL),e.components)},xL=Number.isNaN||function(e){return typeof e==`number`&&e!==e};function SL(e,t){return!!(e===t||xL(e)&&xL(t))}function CL(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!SL(e[n],t[n]))return!1;return!0}function wL(e,t){t===void 0&&(t=CL);var n=null;function r(){var r=[...arguments];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}for(var TL={name:`7pg0cj-a11yText`,styles:`label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap`},EL=function(e){return Q(`span`,X({css:TL},e))},DL={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,i=e.context,a=e.isInitialFocus;switch(i){case`menu`:return`Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu${r?`, press Tab to select the option and exit the menu`:``}.`;case`input`:return a?`${e[`aria-label`]||`Select`} is focused ${t?`,type to refine list`:``}, press Down to open the menu, ${n?` press left to focus selected values`:``}`:``;case`value`:return`Use left and right to toggle between focused values, press Backspace to remove the currently focused value`;default:return``}},onChange:function(e){var t=e.action,n=e.label,r=n===void 0?``:n,i=e.labels,a=e.isDisabled;switch(t){case`deselect-option`:case`pop-value`:case`remove-value`:return`option ${r}, deselected.`;case`clear`:return`All selected options have been cleared.`;case`initial-input-focus`:return`option${i.length>1?`s`:``} ${i.join(`,`)}, selected.`;case`select-option`:return a?`option ${r} is disabled. Select another option.`:`option ${r}, selected.`;default:return``}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,a=i===void 0?``:i,o=e.selectValue,s=e.isDisabled,c=e.isSelected,l=e.isAppleDevice,u=function(e,t){return e&&e.length?`${e.indexOf(t)+1} of ${e.length}`:``};return t===`value`&&o?`value ${a} focused, ${u(o,n)}.`:t===`menu`&&l?`${a}${`${c?` selected`:``}${s?` disabled`:``}`}, ${u(r,n)}.`:``},onFilter:function(e){var t=e.inputValue;return`${e.resultsMessage}${t?` for search term `+t:``}.`}},OL=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,a=e.isFocused,o=e.selectValue,s=e.selectProps,c=e.id,l=e.isAppleDevice,u=s.ariaLiveMessages,d=s.getOptionLabel,f=s.inputValue,p=s.isMulti,m=s.isOptionDisabled,h=s.isSearchable,g=s.menuIsOpen,_=s.options,v=s.screenReaderStatus,y=s.tabSelectsValue,b=s.isLoading,x=s[`aria-label`],S=s[`aria-live`],C=(0,V.useMemo)(function(){return Z(Z({},DL),u||{})},[u]),w=(0,V.useMemo)(function(){var e=``;if(t&&C.onChange){var n=t.option,r=t.options,i=t.removedValue,a=t.removedValues,s=t.value,c=i||n||function(e){return Array.isArray(e)?null:e}(s),l=c?d(c):``,u=r||a||void 0,f=u?u.map(d):[],p=Z({isDisabled:c&&m(c,o),label:l,labels:f},t);e=C.onChange(p)}return e},[t,C,m,o,d]),T=(0,V.useMemo)(function(){var e=``,t=n||r,a=!!(n&&o&&o.includes(n));
40if(t&&C.onFocus){var s={focused:t,label:d(t),isDisabled:m(t,o),isSelected:a,options:i,context:t===n?`menu`:`value`,selectValue:o,isAppleDevice:l};e=C.onFocus(s)}return e},[n,r,d,m,C,i,o,l]),E=(0,V.useMemo)(function(){var e=``;if(g&&_.length&&!b&&C.onFilter){var t=v({count:i.length});e=C.onFilter({inputValue:f,resultsMessage:t})}return e},[i,f,g,C,_,v,b]),D=t?.action===`initial-input-focus`,O=(0,V.useMemo)(function(){var e=``;if(C.guidance){var t=r?`value`:g?`menu`:`input`;e=C.guidance({"aria-label":x,context:t,isDisabled:n&&m(n,o),isMulti:p,isSearchable:h,tabSelectsValue:y,isInitialFocus:D})}return e},[x,n,r,p,m,h,g,C,o,y,D]),ee=Q(V.Fragment,null,Q(`span`,{id:`aria-selection`},w),Q(`span`,{id:`aria-focused`},T),Q(`span`,{id:`aria-results`},E),Q(`span`,{id:`aria-guidance`},O));return Q(V.Fragment,null,Q(EL,{id:c},D&&ee),Q(EL,{"aria-live":S,"aria-atomic":`false`,"aria-relevant":`additions text`,role:`log`},a&&!D&&ee))},kL=[{base:`A`,letters:`AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ`},{base:`AA`,letters:`Ꜳ`},{base:`AE`,letters:`ÆǼǢ`},{base:`AO`,letters:`Ꜵ`},{base:`AU`,letters:`Ꜷ`},{base:`AV`,letters:`ꜸꜺ`},{base:`AY`,letters:`Ꜽ`},{base:`B`,letters:`BⒷBḂḄḆɃƂƁ`},{base:`C`,letters:`CⒸCĆĈĊČÇḈƇȻꜾ`},{base:`D`,letters:`DⒹDḊĎḌḐḒḎĐƋƊƉꝹ`},{base:`DZ`,letters:`DZDŽ`},{base:`Dz`,letters:`DzDž`},{base:`E`,letters:`EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ`},{base:`F`,letters:`FⒻFḞƑꝻ`},{base:`G`,letters:`GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ`},{base:`H`,letters:`HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ`},{base:`I`,letters:`IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ`},{base:`J`,letters:`JⒿJĴɈ`},{base:`K`,letters:`KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ`},{base:`L`,letters:`LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ`},{base:`LJ`,letters:`LJ`},{base:`Lj`,letters:`Lj`},{base:`M`,letters:`MⓂMḾṀṂⱮƜ`},{base:`N`,letters:`NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ`},{base:`NJ`,letters:`NJ`},{base:`Nj`,letters:`Nj`},{base:`O`,letters:`OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ`},{base:`OI`,letters:`Ƣ`},{base:`OO`,letters:`Ꝏ`},{base:`OU`,letters:`Ȣ`},{base:`P`,letters:`PⓅPṔṖƤⱣꝐꝒꝔ`},{base:`Q`,letters:`QⓆQꝖꝘɊ`},{base:`R`,letters:`RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ`},{base:`S`,letters:`SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ`},{base:`T`,letters:`TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ`},{base:`TZ`,letters:`Ꜩ`},{base:`U`,letters:`UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ`},{base:`V`,letters:`VⓋVṼṾƲꝞɅ`},{base:`VY`,letters:`Ꝡ`},{base:`W`,letters:`WⓌWẀẂŴẆẄẈⱲ`},{base:`X`,letters:`XⓍXẊẌ`},{base:`Y`,letters:`YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ`},{base:`Z`,letters:`ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ`},{base:`a`,letters:`aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ`},{base:`aa`,letters:`ꜳ`},{base:`ae`,letters:`æǽǣ`},{base:`ao`,letters:`ꜵ`},{base:`au`,letters:`ꜷ`},{base:`av`,letters:`ꜹꜻ`},{base:`ay`,letters:`ꜽ`},{base:`b`,letters:`bⓑbḃḅḇƀƃɓ`},{base:`c`,letters:`cⓒcćĉċčçḉƈȼꜿↄ`},{base:`d`,letters:`dⓓdḋďḍḑḓḏđƌɖɗꝺ`},{base:`dz`,letters:`dzdž`},{base:`e`,letters:`eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ`},{base:`f`,letters:`fⓕfḟƒꝼ`},{base:`g`,letters:`gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ`},{base:`h`,letters:`hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ`},{base:`hv`,letters:`ƕ`},{base:`i`,letters:`iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı`},{base:`j`,letters:`jⓙjĵǰɉ`},{base:`k`,letters:`kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ`},{base:`l`,letters:`lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ`},{base:`lj`,letters:`lj`},{base:`m`,letters:`mⓜmḿṁṃɱɯ`},{base:`n`,letters:`nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ`},{base:`nj`,letters:`nj`},{base:`o`,letters:`oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ`},{base:`oi`,letters:`ƣ`},{base:`ou`,letters:`ȣ`},{base:`oo`,letters:`ꝏ`},{base:`p`,letters:`pⓟpṕṗƥᵽꝑꝓꝕ`},{base:`q`,letters:`qⓠqɋꝗꝙ`},{base:`r`,letters:`rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ`},{base:`s`,letters:`sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ`},{base:`t`,letters:`tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ`},{base:`tz`,letters:`ꜩ`},{base:`u`,letters:`uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ`},{base:`v`,letters:`vⓥvṽṿʋꝟʌ`},{base:`vy`,letters:`ꝡ`},{base:`w`,letters:`wⓦwẁẃŵẇẅẘẉⱳ`},{base:`x`,letters:`xⓧxẋẍ`},{base:`y`,letters:`yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ`},{base:`z`,letters:`zⓩzźẑżžẓẕƶȥɀⱬꝣ`}],AL=RegExp(`[`+kL.map(function(e){return e.letters}).join(``)+`]`,`g`),jL={},ML=0;ML<kL.length;ML++)for(var NL=kL[ML],PL=0;PL<NL.letters.length;PL++)jL[NL.letters[PL]]=NL.base;var FL=function(e){return e.replace(AL,function(e){return jL[e]})},IL=wL(FL),LL=function(e){return e.replace(/^\s+|\s+$/g,``)},RL=function(e){return`${e.label} ${e.value}`},zL=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=Z({ignoreCase:!0,ignoreAccents:!0,stringify:RL,trim:!0,matchFrom:`any`},e),i=r.ignoreCase,a=r.ignoreAccents,o=r.stringify,s=r.trim,c=r.matchFrom,l=s?LL(n):n,u=s?LL(o(t)):o(t);return i&&(l=l.toLowerCase(),u=u.toLowerCase()),a&&(l=IL(l),u=FL(u)),c===`start`?u.substr(0,l.length)===l:u.indexOf(l)>-1}},BL=[`innerRef`];function VL(e){var t=e.innerRef,n=rI(GP(e,BL),`onExited`,`in`,`enter`,`exit`,`appear`);return Q(`input`,X({ref:t},n,{css:RP({label:`dummyInput`,background:0,border:0,caretColor:`transparent`,fontSize:`inherit`,gridArea:`1 / 1 / 2 / 3`,outline:0,padding:0,width:1,color:`transparent`,left:-100,opacity:0,position:`relative`,transform:`scale(.01)`},``,``)}))}var HL=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function UL(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,
40i=e.onTopArrive,a=e.onTopLeave,o=(0,V.useRef)(!1),s=(0,V.useRef)(!1),c=(0,V.useRef)(0),l=(0,V.useRef)(null),u=(0,V.useCallback)(function(e,t){if(l.current!==null){var c=l.current,u=c.scrollTop,d=c.scrollHeight,f=c.clientHeight,p=l.current,m=t>0,h=d-f-u,g=!1;h>t&&o.current&&(r&&r(e),o.current=!1),m&&s.current&&(a&&a(e),s.current=!1),m&&t>h?(n&&!o.current&&n(e),p.scrollTop=d,g=!0,o.current=!0):!m&&-t>u&&(i&&!s.current&&i(e),p.scrollTop=0,g=!0,s.current=!0),g&&HL(e)}},[n,r,i,a]),d=(0,V.useCallback)(function(e){u(e,e.deltaY)},[u]),f=(0,V.useCallback)(function(e){c.current=e.changedTouches[0].clientY},[]),p=(0,V.useCallback)(function(e){u(e,c.current-e.changedTouches[0].clientY)},[u]),m=(0,V.useCallback)(function(e){if(e){var t=ZF?{passive:!1}:!1;e.addEventListener(`wheel`,d,t),e.addEventListener(`touchstart`,f,t),e.addEventListener(`touchmove`,p,t)}},[p,f,d]),h=(0,V.useCallback)(function(e){e&&(e.removeEventListener(`wheel`,d,!1),e.removeEventListener(`touchstart`,f,!1),e.removeEventListener(`touchmove`,p,!1))},[p,f,d]);return(0,V.useEffect)(function(){if(t){var e=l.current;return m(e),function(){h(e)}}},[t,m,h]),function(e){l.current=e}}var WL=[`boxSizing`,`height`,`overflow`,`paddingRight`,`position`],GL={boxSizing:`border-box`,overflow:`hidden`,position:`relative`,height:`100%`};function KL(e){e.cancelable&&e.preventDefault()}function qL(e){e.stopPropagation()}function JL(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function YL(){return`ontouchstart`in window||navigator.maxTouchPoints}var XL=!!(typeof window<`u`&&window.document&&window.document.createElement),ZL=0,QL={capture:!1,passive:!1};function $L(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0||n,i=(0,V.useRef)({}),a=(0,V.useRef)(null),o=(0,V.useCallback)(function(e){if(XL){var t=document.body,n=t&&t.style;if(r&&WL.forEach(function(e){var t=n&&n[e];i.current[e]=t}),r&&ZL<1){var a=parseInt(i.current.paddingRight,10)||0,o=document.body?document.body.clientWidth:0,s=window.innerWidth-o+a||0;Object.keys(GL).forEach(function(e){var t=GL[e];n&&(n[e]=t)}),n&&(n.paddingRight=`${s}px`)}t&&YL()&&(t.addEventListener(`touchmove`,KL,QL),e&&(e.addEventListener(`touchstart`,JL,QL),e.addEventListener(`touchmove`,qL,QL))),ZL+=1}},[r]),s=(0,V.useCallback)(function(e){if(XL){var t=document.body,n=t&&t.style;ZL=Math.max(ZL-1,0),r&&ZL<1&&WL.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&YL()&&(t.removeEventListener(`touchmove`,KL,QL),e&&(e.removeEventListener(`touchstart`,JL,QL),e.removeEventListener(`touchmove`,qL,QL)))}},[r]);return(0,V.useEffect)(function(){if(t){var e=a.current;return o(e),function(){s(e)}}},[t,o,s]),function(e){a.current=e}}var eR=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},tR={name:`1kfdb0e`,styles:`position:fixed;left:0;bottom:0;right:0;top:0`};function nR(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=r===void 0||r,a=e.onBottomArrive,o=e.onBottomLeave,s=e.onTopArrive,c=e.onTopLeave,l=UL({isEnabled:i,onBottomArrive:a,onBottomLeave:o,onTopArrive:s,onTopLeave:c}),u=$L({isEnabled:n});return Q(V.Fragment,null,n&&Q(`div`,{onClick:eR,css:tR}),t(function(e){l(e),u(e)}))}var rR={name:`1a0ro4n-requiredInput`,styles:`label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%`},iR=function(e){var t=e.name,n=e.onFocus;return Q(`input`,{required:!0,name:t,tabIndex:-1,"aria-hidden":`true`,onFocus:n,css:rR,value:``,onChange:function(){}})};function aR(e){return typeof window<`u`&&window.navigator!=null&&e.test(window.navigator.userAgentData?.platform||window.navigator.platform)}function oR(){return aR(/^iPhone/i)}function sR(){return aR(/^Mac/i)}function cR(){return aR(/^iPad/i)||sR()&&navigator.maxTouchPoints>1}function lR(){return oR()||cR()}function uR(){return sR()||lR()}var dR=function(e){return e.label},fR=function(e){return e.label},pR=function(e){return e.value},mR=function(e){return!!e.isDisabled},hR={clearIndicator:RI,container:SI,control:KI,dropdownIndicator:II,group:YI,groupHeading:ZI,indicatorsContainer:EI,indicatorSeparator:BI,input
40:tL,loadingIndicator:UI,loadingMessage:_I,menu:lI,menuList:pI,menuPortal:bI,multiValue:oL,multiValueLabel:sL,multiValueRemove:cL,noOptionsMessage:gI,option:mL,placeholder:gL,singleValue:vL,valueContainer:wI},gR={primary:`#2684FF`,primary75:`#4C9AFF`,primary50:`#B2D4FF`,primary25:`#DEEBFF`,danger:`#DE350B`,dangerLight:`#FFBDAD`,neutral0:`hsl(0, 0%, 100%)`,neutral5:`hsl(0, 0%, 95%)`,neutral10:`hsl(0, 0%, 90%)`,neutral20:`hsl(0, 0%, 80%)`,neutral30:`hsl(0, 0%, 70%)`,neutral40:`hsl(0, 0%, 60%)`,neutral50:`hsl(0, 0%, 50%)`,neutral60:`hsl(0, 0%, 40%)`,neutral70:`hsl(0, 0%, 30%)`,neutral80:`hsl(0, 0%, 20%)`,neutral90:`hsl(0, 0%, 10%)`},_R=4,vR=4,yR={borderRadius:_R,colors:gR,spacing:{baseUnit:vR,controlHeight:38,menuGutter:vR*2}},bR={"aria-live":`polite`,backspaceRemovesValue:!0,blurInputOnSelect:KF(),captureMenuScroll:!KF(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:zL(),formatGroupLabel:dR,getOptionLabel:fR,getOptionValue:pR,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:mR,loadingMessage:function(){return`Loading...`},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:`bottom`,menuPosition:`absolute`,menuShouldBlockScroll:!1,menuShouldScrollIntoView:!qF(),noOptionsMessage:function(){return`No options`},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:`Select...`,screenReaderStatus:function(e){var t=e.count;return`${t} result${t===1?``:`s`} available`},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function xR(e,t,n,r){return{type:`option`,data:t,isDisabled:MR(e,t,n),isSelected:NR(e,t,n),label:AR(e,t),value:jR(e,t),index:r}}function SR(e,t){return e.options.map(function(n,r){if(`options`in n){var i=n.options.map(function(n,r){return xR(e,n,t,r)}).filter(function(t){return ER(e,t)});return i.length>0?{type:`group`,data:n,options:i,index:r}:void 0}var a=xR(e,n,t,r);return ER(e,a)?a:void 0}).filter(QF)}function CR(e){return e.reduce(function(e,t){return t.type===`group`?e.push.apply(e,qM(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function wR(e,t){return e.reduce(function(e,n){return n.type===`group`?e.push.apply(e,qM(n.options.map(function(e){return{data:e.data,id:`${t}-${n.index}-${e.index}`}}))):e.push({data:n.data,id:`${t}-${n.index}`}),e},[])}function TR(e,t){return CR(SR(e,t))}function ER(e,t){var n=e.inputValue,r=n===void 0?``:n,i=t.data,a=t.isSelected,o=t.label,s=t.value;return(!FR(e)||!a)&&PR(e,{label:o,value:s,data:i},r)}function DR(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}function OR(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var kR=function(e,t){return e.find(function(e){return e.data===t})?.id||null},AR=function(e,t){return e.getOptionLabel(t)},jR=function(e,t){return e.getOptionValue(t)};function MR(e,t,n){return typeof e.isOptionDisabled==`function`&&e.isOptionDisabled(t,n)}function NR(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected==`function`)return e.isOptionSelected(t,n);var r=jR(e,t);return n.some(function(t){return jR(e,t)===r})}function PR(e,t,n){return!e.filterOption||e.filterOption(t,n)}var FR=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return t===void 0?n:t},IR=1,LR=function(e){IM(n,e);var t=VM(n);function n(e){var r;if(MM(this,n),r=t.call(this,e),r.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:``,isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,i=n.onChange;t.name=n.name,r.ariaOnChange(e,t),i(e,t)},r.setValue=function(e,t,n){var i=r.props,a=i.closeMenuOnSelect,o=i.isMulti,s=i.inputValue;r.onInputChange(``,{action:`set-value`,prevInputValue:s}),a&&(r.setState({inputIsHiddenAfterUpdate:!o}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,i=t.
40isMulti,a=t.name,o=r.state.selectValue,s=i&&r.isOptionSelected(e,o),c=r.isOptionDisabled(e,o);if(s){var l=r.getOptionValue(e);r.setValue(nI(o.filter(function(e){return r.getOptionValue(e)!==l})),`deselect-option`,e)}else if(!c)i?r.setValue(nI([].concat(qM(o),[e])),`select-option`,e):r.setValue(tI(e),`select-option`);else{r.ariaOnChange(tI(e),{action:`select-option`,option:e,name:a});return}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,i=r.getOptionValue(e),a=n.filter(function(e){return r.getOptionValue(e)!==i}),o=eI(t,a,a[0]||null);r.onChange(o,{action:`remove-value`,removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(eI(r.props.isMulti,[],null),{action:`clear`,removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],i=t.slice(0,t.length-1),a=eI(e,i,i[0]||null);n&&r.onChange(a,{action:`pop-value`,removedValue:n})},r.getFocusedOptionId=function(e){return kR(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return wR(SR(r.props,r.state.selectValue),r.getElementId(`option`))},r.getValue=function(){return r.state.selectValue},r.cx=function(){var e=[...arguments];return NF.apply(void 0,[r.props.classNamePrefix].concat(e))},r.getOptionLabel=function(e){return AR(r.props,e)},r.getOptionValue=function(e){return jR(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,i=hR[e](t,n);i.boxSizing=`border-box`;var a=r.props.styles[e];return a?a(i,t):i},r.getClassNames=function(e,t){var n;return(n=r.props.classNames)[e]?.call(n,t)},r.getElementId=function(e){return`${r.state.instancePrefix}-${e}`},r.getComponents=function(){return bL(r.props)},r.buildCategorizedOptions=function(){return SR(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return CR(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:Z({value:e},t)})},r.onMenuMouseDown=function(e){e.button===0&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?e.target.tagName!==`INPUT`&&e.target.tagName!==`TEXTAREA`&&r.onMenuClose():t&&r.openMenu(`first`):(t&&(r.openAfterFocus=!0),r.focusInput()),e.target.tagName!==`INPUT`&&e.target.tagName!==`TEXTAREA`&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&e.type===`mousedown`&&e.button!==0)&&!r.props.isDisabled){var t=r.props,n=t.isMulti,i=t.menuIsOpen;r.focusInput(),i?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu(`first`),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&e.type===`mousedown`&&e.button!==0||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,e.type===`touchend`?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(e){typeof r.props.closeMenuOnScroll==`boolean`?e.target instanceof HTMLElement&&LF(e.target)&&r.props.onMenuClose():typeof r.props.closeMenuOnScroll==`function`&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var i=Math.abs(n.clientX-r.initialTouchX),a=Math.abs(n.clientY-r.initialTouchY),o=5;r.userIsDragging=i>o||a>o}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:`input-change`,prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu(`first`),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;if(r.menuListRef&&r.menuListRef.contains(document.activeElement)){r.inputRef.focus();return}r.props.onBlur&&r.props.onBlur(e),r.onInputChange(``,{action:`input-blur`,prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1})},r.onOptionHover=function(e){if(!(r.blockOptionHover||r.state.focusedOption===e)){var t=r.getFocusableOptions().indexOf(e);
40r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return FR(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,i=t.backspaceRemovesValue,a=t.escapeClearsValue,o=t.inputValue,s=t.isClearable,c=t.isDisabled,l=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,f=t.openMenuOnFocus,p=r.state,m=p.focusedOption,h=p.focusedValue,g=p.selectValue;if(!c&&!(typeof u==`function`&&(u(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case`ArrowLeft`:if(!n||o)return;r.focusValue(`previous`);break;case`ArrowRight`:if(!n||o)return;r.focusValue(`next`);break;case`Delete`:case`Backspace`:if(o)return;if(h)r.removeValue(h);else{if(!i)return;n?r.popValue():s&&r.clearValue()}break;case`Tab`:if(r.isComposing||e.shiftKey||!l||!d||!m||f&&r.isOptionSelected(m,g))return;r.selectOption(m);break;case`Enter`:if(e.keyCode===229)break;if(l){if(!m||r.isComposing)return;r.selectOption(m);break}return;case`Escape`:l?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(``,{action:`menu-close`,prevInputValue:o}),r.onMenuClose()):s&&a&&r.clearValue();break;case` `:if(o)return;if(!l){r.openMenu(`first`);break}if(!m)return;r.selectOption(m);break;case`ArrowUp`:l?r.focusOption(`up`):r.openMenu(`last`);break;case`ArrowDown`:l?r.focusOption(`down`):r.openMenu(`first`);break;case`PageUp`:if(!l)return;r.focusOption(`pageup`);break;case`PageDown`:if(!l)return;r.focusOption(`pagedown`);break;case`Home`:if(!l)return;r.focusOption(`first`);break;case`End`:if(!l)return;r.focusOption(`last`);break;default:return}e.preventDefault()}},r.state.instancePrefix=`react-select-`+(r.props.instanceId||++IR),r.state.selectValue=PF(e.value),e.menuIsOpen&&r.state.selectValue.length){var i=r.getFocusableOptionsWithIds(),a=r.buildFocusableOptions(),o=a.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=i,r.state.focusedOption=a[o],r.state.focusedOptionId=kR(i,a[o])}return r}return PM(n,[{key:`componentDidMount`,value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener(`scroll`,this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&WF(this.menuListRef,this.focusedOptionRef),uR()&&this.setState({isAppleDevice:!0})}},{key:`componentDidUpdate`,value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&r&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!i&&!n&&e.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(WF(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:`componentWillUnmount`,value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener(`scroll`,this.onScroll,!0)}},{key:`onMenuOpen`,value:function(){this.props.onMenuOpen()}},{key:`onMenuClose`,value:function(){this.onInputChange(``,{action:`menu-close`,prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:`onInputChange`,value:function(e,t){this.props.onInputChange(e,t)}},{key:`focusInput`,value:function(){this.inputRef&&this.inputRef.focus()}},{key:`blurInput`,value:function(){this.inputRef&&this.inputRef.blur()}},{key:`openMenu`,value:function(e){var t=this,n=this.state,r=n.selectValue,i=n.isFocused,a=this.buildFocusableOptions(),o=e===`first`?0:a.length-1;if(!this.props.isMulti){var s=a.indexOf(r[0]);s>-1&&(o=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:a[o],focusedOptionId:this.getFocusedOptionId(a[o])},function(){return t.onMenuOpen()})}},{key:`focusValue`,value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var a=n.length-1,o=-1;if(n.length){switch(e){case`previous`:o=i===0?0:i===-1?a:i-1;break;case`next`:i>-1&&i<a&&(o=i+1)}this.setState({inputIsHidden:o!==-1,focusedValue:n[o]})}}}},{key:`focusOption`,value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:`first`,t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,a=r.indexOf(n);
40n||(a=-1),e===`up`?i=a>0?a-1:r.length-1:e===`down`?i=(a+1)%r.length:e===`pageup`?(i=a-t,i<0&&(i=0)):e===`pagedown`?(i=a+t,i>r.length-1&&(i=r.length-1)):e===`last`&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[i])})}}},{key:`getTheme`,value:function(){return this.props.theme?typeof this.props.theme==`function`?this.props.theme(yR):Z(Z({},yR),this.props.theme):yR}},{key:`getCommonProps`,value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,a=this.selectOption,o=this.setValue,s=this.props,c=s.isMulti,l=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:i,hasValue:this.hasValue(),isMulti:c,isRtl:l,options:u,selectOption:a,selectProps:s,setValue:o,theme:this.getTheme()}}},{key:`hasValue`,value:function(){return this.state.selectValue.length>0}},{key:`hasOptions`,value:function(){return!!this.getFocusableOptions().length}},{key:`isClearable`,value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return t===void 0?n:t}},{key:`isOptionDisabled`,value:function(e,t){return MR(this.props,e,t)}},{key:`isOptionSelected`,value:function(e,t){return NR(this.props,e,t)}},{key:`filterOption`,value:function(e,t){return PR(this.props,e,t)}},{key:`formatOptionLabel`,value:function(e,t){if(typeof this.props.formatOptionLabel==`function`){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:`formatGroupLabel`,value:function(e){return this.props.formatGroupLabel(e)}},{key:`startListeningComposition`,value:function(){document&&document.addEventListener&&(document.addEventListener(`compositionstart`,this.onCompositionStart,!1),document.addEventListener(`compositionend`,this.onCompositionEnd,!1))}},{key:`stopListeningComposition`,value:function(){document&&document.removeEventListener&&(document.removeEventListener(`compositionstart`,this.onCompositionStart),document.removeEventListener(`compositionend`,this.onCompositionEnd))}},{key:`startListeningToTouch`,value:function(){document&&document.addEventListener&&(document.addEventListener(`touchstart`,this.onTouchStart,!1),document.addEventListener(`touchmove`,this.onTouchMove,!1),document.addEventListener(`touchend`,this.onTouchEnd,!1))}},{key:`stopListeningToTouch`,value:function(){document&&document.removeEventListener&&(document.removeEventListener(`touchstart`,this.onTouchStart),document.removeEventListener(`touchmove`,this.onTouchMove),document.removeEventListener(`touchend`,this.onTouchEnd))}},{key:`renderInput`,value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,i=e.inputValue,a=e.tabIndex,o=e.form,s=e.menuIsOpen,c=e.required,l=this.getComponents().Input,u=this.state,d=u.inputIsHidden,f=u.ariaSelection,p=this.commonProps,m=r||this.getElementId(`input`),h=Z(Z(Z({"aria-autocomplete":`list`,"aria-expanded":s,"aria-haspopup":!0,"aria-errormessage":this.props[`aria-errormessage`],"aria-invalid":this.props[`aria-invalid`],"aria-label":this.props[`aria-label`],"aria-labelledby":this.props[`aria-labelledby`],"aria-required":c,role:`combobox`,"aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||``},s&&{"aria-controls":this.getElementId(`listbox`)}),!n&&{"aria-readonly":!0}),this.hasValue()?f?.action===`initial-input-focus`&&{"aria-describedby":this.getElementId(`live-region`)}:{"aria-describedby":this.getElementId(`placeholder`)});return n?V.createElement(l,X({},p,{autoCapitalize:`none`,autoComplete:`off`,autoCorrect:`off`,id:m,innerRef:this.getInputRef,isDisabled:t,isHidden:d,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:`false`,tabIndex:a,form:o,type:`text`,value:i},h)):V.createElement(VL,X({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:jF,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:`none`,form:o,value:``},h))}},{key:`renderPlaceholderOrValue`,value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,i=t.MultiValueLabel,a=t.MultiValueRemove,o=t.SingleValue,s=t.Placeholder,c=this.commonProps,l=this.props,u=l.controlShouldRenderValue,d=l.isDisabled,f=l.isMulti,p=l.inputValue,m=l.placeholder,h=this.state,g=h.selectValue,_=h.focusedValue,v=h.isFocused;if(!this.hasValue()||!u)return p?null:V.createElement(s,X({},c,{key:`placeholder`,isDisabled:d,isFocused:v,innerProps:{id:this.getElementId(`placeholder`)}}),m);if(f)return g.map(function(t,o){var s=t===_,l=`${e.getOptionLabel(t)}
40-${e.getOptionValue(t)}`;return V.createElement(n,X({},c,{components:{Container:r,Label:i,Remove:a},isFocused:s,isDisabled:d,key:l,index:o,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,`value`))});if(p)return null;var y=g[0];return V.createElement(o,X({},c,{data:y,isDisabled:d}),this.formatOptionLabel(y,`value`))}},{key:`renderClearIndicator`,value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||i)return null;var o={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":`true`};return V.createElement(e,X({},t,{innerProps:o,isFocused:a}))}},{key:`renderLoadingIndicator`,value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,a=this.state.isFocused;return!e||!i?null:V.createElement(e,X({},t,{innerProps:{"aria-hidden":`true`},isDisabled:r,isFocused:a}))}},{key:`renderIndicatorSeparator`,value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused;return V.createElement(n,X({},r,{isDisabled:i,isFocused:a}))}},{key:`renderDropdownIndicator`,value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":`true`};return V.createElement(e,X({},t,{innerProps:i,isDisabled:n,isFocused:r}))}},{key:`renderMenu`,value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,i=t.Menu,a=t.MenuList,o=t.MenuPortal,s=t.LoadingMessage,c=t.NoOptionsMessage,l=t.Option,u=this.commonProps,d=this.state.focusedOption,f=this.props,p=f.captureMenuScroll,m=f.inputValue,h=f.isLoading,g=f.loadingMessage,_=f.minMenuHeight,v=f.maxMenuHeight,y=f.menuIsOpen,b=f.menuPlacement,x=f.menuPosition,S=f.menuPortalTarget,C=f.menuShouldBlockScroll,w=f.menuShouldScrollIntoView,T=f.noOptionsMessage,E=f.onMenuScrollToTop,D=f.onMenuScrollToBottom;if(!y)return null;var O=function(t,n){var r=t.type,i=t.data,a=t.isDisabled,o=t.isSelected,s=t.label,c=t.value,f=d===i,p=a?void 0:function(){return e.onOptionHover(i)},m=a?void 0:function(){return e.selectOption(i)},h=`${e.getElementId(`option`)}-${n}`,g={id:h,onClick:m,onMouseMove:p,onMouseOver:p,tabIndex:-1,role:`option`,"aria-selected":e.state.isAppleDevice?void 0:o};return V.createElement(l,X({},u,{innerProps:g,data:i,isDisabled:a,isSelected:o,key:h,label:s,type:r,value:c,isFocused:f,innerRef:f?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,`menu`))},ee;if(this.hasOptions())ee=this.getCategorizedOptions().map(function(t){if(t.type===`group`){var i=t.data,a=t.options,o=t.index,s=`${e.getElementId(`group`)}-${o}`,c=`${s}-heading`;return V.createElement(n,X({},u,{key:s,data:i,options:a,Heading:r,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return O(e,`${o}-${e.index}`)}))}if(t.type===`option`)return O(t,`${t.index}`)});else if(h){var k=g({inputValue:m});if(k===null)return null;ee=V.createElement(s,u,k)}else{var te=T({inputValue:m});if(te===null)return null;ee=V.createElement(c,u,te)}var A={minMenuHeight:_,maxMenuHeight:v,menuPlacement:b,menuPosition:x,menuShouldScrollIntoView:w},ne=V.createElement(dI,X({},u,A),function(t){var n=t.ref,r=t.placerProps,o=r.placement,s=r.maxHeight;return V.createElement(i,X({},u,A,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:h,placement:o}),V.createElement(nR,{captureEnabled:p,onTopArrive:E,onBottomArrive:D,lockEnabled:C},function(t){return V.createElement(a,X({},u,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:`listbox`,"aria-multiselectable":u.isMulti,id:e.getElementId(`listbox`)},isLoading:h,maxHeight:s,focusedOption:d}),ee)}))});return S||x===`fixed`?V.createElement(o,X({},u,{appendTo:S,controlElement:this.controlRef,menuPlacement:b,menuPosition:x}),ne):ne}},{key:`renderFormField`,value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,i=t.isMulti,a=t.name,o=t.required,s=this.state.selectValue;if(o&&!this.hasValue()&&!r)return V.createElement(iR,{name:a,onFocus:this.onValueInputFocus});if(a&&!r){if(i){if(n){var c=s.map(function(t){return e.getOptionValue(t)}).join(n);return V.createElement(`input`,{name:a,type:`hidden`,value:c})}var l=s.length>0?s.map(function(t,n){return V.createElement(`input`,{key:`i-${n}`,name:a,type:`hidden`,value:e.getOptionValue(t)})}):V.createElement(`input`,{name:a,type:`hidden`,value:``});return V.createElement(`div`,null,l)}var u=s[0]?this.getOptionValue(s[0]):``;return V.createElement(`input`,{name:a,type:`hidden`,value:u})}}},{key:`renderLiveRegion`,value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,a=t.isFocused,o=t.selectValue,s=this.getFocusableOptions();return V.createElement(OL,X({},e,{id:this.getElementId(`live-region`),ariaSelection:n,focusedOption:r,focusedValue:i,isFocused:a,selectValue:o,focusableOptions:s,isAppleDevice:this.state.isAppleDevice}))}},{key:`render`,value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,i=e.ValueContainer,a=this.props,o=a.className,s=a.id,c=a.isDisabled,l=a.menuIsOpen,u=this.state.isFocused,d=this.commonProps=this.getCommonProps();return V.createElement(r,X({},d,{className:o,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:u}),this.renderLiveRegion(),V.createElement(t,X({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:u,menuIsOpen:l}),V.createElement(i,X({},d,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),V.createElement(n,X({},d,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:`getDerivedStateFromProps`,value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,a=t.ariaSelection,o=t.isFocused,s=t.prevWasFocused,c=t.instancePrefix,l=e.options,u=e.value,d=e.menuIsOpen,f=e.inputValue,p=e.isMulti,m=PF(u),h={};if(n&&(u!==n.value||l!==n.options||d!==n.menuIsOpen||f!==n.inputValue)){var g=d?TR(e,m):[],_=d?wR(SR(e,m),`${c}-option`):[],v=r?DR(t,m):null,y=OR(t,g);h={selectValue:m,focusedOption:y,focusedOptionId:kR(_,y),focusableOptionsWithIds:_,focu
40sedValue:v,clearFocusValueOnUpdate:!1}}var b=i!=null&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},x=a,S=o&&s;return o&&!S&&(x={value:eI(p,m,m[0]||null),options:m,action:`initial-input-focus`},S=!s),a?.action===`initial-input-focus`&&(x=null),Z(Z(Z({},h),b),{},{prevProps:e,ariaSelection:x,prevWasFocused:S})}}]),n}(V.Component);LR.defaultProps=bR;var RR=[`defaultInputValue`,`defaultMenuIsOpen`,`defaultValue`,`inputValue`,`menuIsOpen`,`onChange`,`onInputChange`,`onMenuClose`,`onMenuOpen`,`value`];function zR(e){var t=e.defaultInputValue,n=t===void 0?``:t,r=e.defaultMenuIsOpen,i=r!==void 0&&r,a=e.defaultValue,o=a===void 0?null:a,s=e.inputValue,c=e.menuIsOpen,l=e.onChange,u=e.onInputChange,d=e.onMenuClose,f=e.onMenuOpen,p=e.value,m=GP(e,RR),h=UP((0,V.useState)(s===void 0?n:s),2),g=h[0],_=h[1],v=UP((0,V.useState)(c===void 0?i:c),2),y=v[0],b=v[1],x=UP((0,V.useState)(p===void 0?o:p),2),S=x[0],C=x[1],w=(0,V.useCallback)(function(e,t){typeof l==`function`&&l(e,t),C(e)},[l]),T=(0,V.useCallback)(function(e,t){var n;typeof u==`function`&&(n=u(e,t)),_(n===void 0?e:n)},[u]),E=(0,V.useCallback)(function(){typeof f==`function`&&f(),b(!0)},[f]),D=(0,V.useCallback)(function(){typeof d==`function`&&d(),b(!1)},[d]),O=s===void 0?g:s,ee=c===void 0?y:c,k=p===void 0?S:p;return Z(Z({},m),{},{inputValue:O,menuIsOpen:ee,onChange:w,onInputChange:T,onMenuClose:D,onMenuOpen:E,value:k})}var BR=[`allowCreateWhileLoading`,`createOptionPosition`,`formatCreateLabel`,`isValidNewOption`,`getNewOptionData`,`onCreateOption`,`options`,`onChange`],VR=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=String(e).toLowerCase(),i=String(n.getOptionValue(t)).toLowerCase(),a=String(n.getOptionLabel(t)).toLowerCase();return i===r||a===r},HR={formatCreateLabel:function(e){return`Create "${e}"`},isValidNewOption:function(e,t,n,r){return!(!e||t.some(function(t){return VR(e,t,r)})||n.some(function(t){return VR(e,t,r)}))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}};function UR(e){var t=e.allowCreateWhileLoading,n=t!==void 0&&t,r=e.createOptionPosition,i=r===void 0?`last`:r,a=e.formatCreateLabel,o=a===void 0?HR.formatCreateLabel:a,s=e.isValidNewOption,c=s===void 0?HR.isValidNewOption:s,l=e.getNewOptionData,u=l===void 0?HR.getNewOptionData:l,d=e.onCreateOption,f=e.options,p=f===void 0?[]:f,m=e.onChange,h=GP(e,BR),g=h.getOptionValue,_=g===void 0?pR:g,v=h.getOptionLabel,y=v===void 0?fR:v,b=h.inputValue,x=h.isLoading,S=h.isMulti,C=h.value,w=h.name,T=(0,V.useMemo)(function(){return c(b,PF(C),p,{getOptionValue:_,getOptionLabel:y})?u(b,o(b)):void 0},[o,u,y,_,b,c,p,C]),E=(0,V.useMemo)(function(){return(n||!x)&&T?i===`first`?[T].concat(qM(p)):[].concat(qM(p),[T]):p},[n,i,x,T,p]),D=(0,V.useCallback)(function(e,t){if(t.action!==`select-option`)return m(e,t);var n=Array.isArray(e)?e:[e];if(n[n.length-1]===T){if(d)d(b);else{var r=u(b,b),i={action:`create-option`,name:w,option:r};m(eI(S,[].concat(qM(PF(C)),[r]),r),i)}return}m(e,t)},[u,b,S,w,T,d,m,C]);return Z(Z({},h),{},{options:E,onChange:D})}var WR=(0,V.forwardRef)(function(e,t){var n=UR(zR(e));return V.createElement(LR,X({ref:t},n))}),GR=(0,V.forwardRef)(function(e,t){var n=zR(e);return V.createElement(LR,X({ref:t},n))}),KR=e=>(e&&=e.replace(/[^\sa-zA-Z0-9\u0104\u0105\u0106\u0107\u0118\u0119\u0141\u0142\u0143\u0144\u015a\u015b\u0179\u017a\u017b\u017c\u00d3\u00f3]/g,``),e),qR=e=>e&&(e[e.length-1]===` `?e.slice(0,-1):e),JR=e=>(t,n)=>{let r=t.label.toLowerCase(),i=n.label.toLowerCase();return e=e.toLowerCase(),r.indexOf(e)>=0&&i.indexOf(e)>=0?r.indexOf(e)>i.indexOf(e)?1:-1:0},YR=e=>t=>{let n=t.label.toLowerCase();return e=e.toLowerCase(),n.includes(e)},XR=e=>{let{innerRef:t,name:n,value:r,options:i,isError:a=!1,isWarning:o=!1,inputId:s,ariaLabelledby:c,disabled:l,isSearchable:u=e.isClearable||!1,isClearable:d=!1,placeholder:f=``,onChange:p,onBlur:m=()=>void 0,noOptionsMessage:h=e=>`No options "${e}"`,formatCreateLabel:g=e=>`Create "${qR(e)}"`,onInputChange:_=()=>void 0,style:v=(()=>({})),classNamePrefix:y}=e,[b,x]=(0,V.useState)(void 0),[S,C]=(0,V.useState)([]),[w,T]=(0,V.useState)(!1),E=(0,V.useRef)(!1),D=[...i,...S];!D.length&&!S.length&&r&&d&&D.push({label:r.toString(),value:r});let O=D.find(e=>e.value===r)||null,ee=b?D.filter(YR(b)).sort(JR(b)):D,k=!O,te=v({isError:a,isWarning:o,isEmpty:k,disabled:!!l}),A=d?WR:GR;return(0,V.useEffect)(()=>{let e=e=>{e.key===`Tab`&&(E.current=!0)},t=()=>{E.current=!1};
40return window.addEventListener(`keydown`,e),window.addEventListener(`mousedown`,t),()=>{window.removeEventListener(`keydown`,e),window.removeEventListener(`mousedown`,t)}},[]),(0,Y.jsx)(A,{ref:t,instanceId:n,inputId:s,"aria-labelledby":c,name:n,value:O,options:ee,className:(0,IE.default)({error:a,warning:o,empty:k,"no-empty":!k}),classNames:{menu:()=>(0,IE.default)({error:a})},onChange:e=>p(e?.value||void 0),onFocus:()=>{T(E.current)},onBlur:()=>{T(!1),m()},isMulti:!1,styles:{clearIndicator:()=>({display:`none`}),...te,control:(e,t)=>{let n=te.control?.(e,t)||e;return{...n,borderBottom:t.isFocused&&w?`1px solid -webkit-focus-ring-color`:n.borderBottom,border:t.isFocused&&w?`1px solid -webkit-focus-ring-color`:`none`}}},isSearchable:u,isClearable:d,noOptionsMessage:({inputValue:e})=>h(e),placeholder:f,filterOption:()=>!0,formatCreateLabel:e=>g(e),onInputChange:e=>{u&&x(KR(e).replace(/ +/g,` `)||void 0),_&&_(e)},inputValue:b,onCreateOption:e=>{let t=qR(e);C(e=>[...e,{value:t,label:t}]),p(t||void 0)},isDisabled:l,blurInputOnSelect:!0,classNamePrefix:y})};function ZR(e){var t=V.useRef();return t.current=e,V.useCallback(function(){var e,n=[...arguments];return(e=t.current)?.call.apply(e,[t].concat(n))},[])}function QR(){return!!(typeof window<`u`&&window.document&&window.document.createElement)}var $R=QR()?V.useLayoutEffect:V.useEffect,ez=function(e,t){var n=V.useRef(!0);$R(function(){return e(n.current)},t),$R(function(){return n.current=!1,function(){n.current=!0}},[])},tz=function(e,t){ez(function(t){if(!t)return e()},t)};function nz(e){var t=V.useRef(!1),n=UP(V.useState(e),2),r=n[0],i=n[1];V.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function a(e,n){n&&t.current||i(e)}return[r,a]}function rz(e){return e!==void 0}function iz(e,t){var n=t||{},r=n.defaultValue,i=n.value,a=n.onChange,o=n.postState,s=UP(nz(function(){return rz(i)?i:rz(r)?typeof r==`function`?r():r:typeof e==`function`?e():e}),2),c=s[0],l=s[1],u=i===void 0?c:i,d=o?o(u):u,f=ZR(a),p=UP(nz([u]),2),m=p[0],h=p[1];return tz(function(){var e=m[0];c!==e&&f(c,e)},[m]),tz(function(){rz(i)||l(i)},[i]),[d,ZR(function(e,t){l(e,t),h([u],t)})]}var az={},oz=[],sz=function(e){oz.push(e)};function cz(e,t){}function lz(e,t){}function uz(){az={}}function dz(e,t,n){!t&&!az[n]&&(e(!1,n),az[n]=!0)}function fz(e,t){dz(cz,e,t)}function pz(e,t){dz(lz,e,t)}fz.preMessage=sz,fz.resetWarned=uz,fz.noteOnce=pz;function mz(e,t){var n=arguments.length>2&&arguments[2]!==void 0&&arguments[2],r=new Set;function i(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,o=r.has(e);if(fz(!o,`Warning: There may be circular references`),o)return!1;if(e===t)return!0;if(n&&a>1)return!1;r.add(e);var s=a+1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(var c=0;c<e.length;c++)if(!i(e[c],t[c],s))return!1;return!0}if(e&&t&&DM(e)===`object`&&DM(t)===`object`){var l=Object.keys(e);return l.length===Object.keys(t).length&&l.every(function(n){return i(e[n],t[n],s)})}return!1}return i(e,t)}function hz(e,t,n){return(e-t)/(n-t)}function gz(e,t,n,r){var i=hz(t,n,r),a={};switch(e){case`rtl`:a.right=`${i*100}%`,a.transform=`translateX(50%)`;break;case`btt`:a.bottom=`${i*100}%`,a.transform=`translateY(50%)`;break;case`ttb`:a.top=`${i*100}%`,a.transform=`translateY(-50%)`;break;default:a.left=`${i*100}%`,a.transform=`translateX(-50%)`}return a}function _z(e,t){return Array.isArray(e)?e[t]:e}var $={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=$.F1&&t<=$.F12)return!1;switch(t){case $.ALT:case $.CAPS_LOCK:case $.CONTEXT_MENU:case $.CTRL:case $.DOWN:case $.END:case $.ESC:case $.HOME:case $.INSERT:case $.LEFT:case $.MAC_FF_META:case $.META:case $.NUMLOCK:case $.NUM_CENTER:case $.PAGE_DOWN:case $.PAGE_UP:case $.PAUSE:case $.PRINT_SCREEN:case $.RIGHT:case $.SHIFT:case $.UP:case $.WIN_KEY:case $.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=$.ZERO&&e<=$.NINE||e>=$.NUM_ZERO&&e<=$.NUM_MULTIPLY||e>=$.A&&e<=$.Z||window.navigator.userAgent.indexOf(`WebKit`)!==-1&&e===0)return!0;switch(e){case $.SPACE:case $.QUESTION_MARK:case $.NUM_PLUS:case $.NUM_MINUS:case $.NUM_PERIOD:case $.NUM_DIVISION:case $.SEMICOLON:case $.DASH:case $.EQUALS:case $.COMMA:case $.PERIOD:case $.SLASH:case $.APOSTROPHE:case $.SINGLE_QUOTE:case $.OPEN_SQUARE_BRACKET:case $.BACKSLASH:case $.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},vz=V.createContext({min:0,max:0,direction:`ltr`,step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),yz=V.createContext({}),bz=[`prefixCls`,`value`,`valueIndex`,`onStartMove`,`onDelete`,`style`,`render`,`dragging`,`draggingDelete`,`onOffsetChange`,`onChangeComplete`,`onFocus`,`onMouseEnter`],xz=V.forwardRef(function(e,t){var n=e.prefixCls,r=e.value,i=e.valueIndex,a=e.onStartMove,o=e.onDelete,s=e.style,c=e.render,l=e.dragging,u=e.draggingDelete,d=e.onOffsetChange,f=e.onChangeComplete,p=e.onFocus,m=e.onMouseEnter,h=GP(e,bz),g=V.useContext(vz),_=g.min,v=g.max,y=g.direction,b=g.disabled,x=g.keyboard,S=g.range,C=g.tabIndex,w=g.ariaLabelForHandle,T=g.ariaLabelledByForHandle,E=g.ariaRequired,D=g.ariaValueTextFormatterForHandle,O=g.styles,ee=g.classNames,k=`${n}-handle`,te=function(e){b||a(e,i)},A=function(e){p?.(e,i)},ne=function(e){m(e,i)},j=function(e){if(!b&&x){var t=null;switch(e.which||e.keyCode){case $.LEFT:t=y===`ltr`||y===`btt`?-1:1;break;case $.RIGHT:t=y===`ltr`||y===`btt`?1:-1;break;case $.UP:t=y===`ttb`?-1:1;break;case $.DOWN:t=y===`ttb`?1:-1;break;case $.HOME:t=`min`;break;case $.END:t=`max`;break;case $.PAGE_UP:t=2;break;case $.PAGE_DOWN:t=-2;break;case $.BACKSPACE:case $.DELETE:o?.(i)}t!==null&&(e.preventDefault(),d(t,i))}},re=function(e){switch(e.which||e.keyCode){case $.LEFT:case $.RIGHT:case $.UP:case $.DOWN:case $.HOME:case $.END:case $.PAGE_UP:case $.PAGE_DOWN:f?.()}},ie=gz(y,r,_,v),ae={};i!==null&&(ae={tabIndex:b?null:_z(C,i),role:`slider`,"aria-valuemin":_,"aria-valuemax":v,"aria-valuenow":r,"aria-disabled":b,"aria-label":_z(w,i),"aria-labelledby":_z(T,i),"aria-required":_z(E,i),"aria-valuetext":_z(D,i)?.(r),"aria-orientation":y===`ltr`||y===`rtl`?`horizontal`:`vertical`,onMouseDown:te,onTouchStart:te,onFocus:A,onMouseEnter:ne,onKeyDown:j,onKeyUp:re});var oe=V.createElement(`div`,X({ref:t,className:(0,IE.default)(k,AM(AM(AM({},`${k}-${i+1}`,i!==null&&S),`${k}-dragging`,l),`${k}-dragging-delete`,u),ee.handle),style:Z(Z(Z({},ie),s),O.handle)},ae,h));return c&&(oe=c(oe,{index:i,prefixCls:n,value:r,dragging:l,draggingDelete:u})),oe}),Sz=[`prefixCls`,`style`,`onStartMove`,`onOffsetChange`,`values`,`handleRender`,`activeHandleRender`,`draggingIndex`,`draggingDelete`,`onFocus`],Cz=V.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,i=e.onStartMove,a=e.onOffsetChange,o=e.values,s=e.handleRender,c=e.activeHandleRender,l=e.draggingIndex,u=e.draggingDelete,d=e.onFocus,f=GP(e,Sz),p=V.useRef({}),m=UP(V.useState(!1),2),h=m[0],g=m[1],_=UP(V.useState(-1),2),v=_[0],y=_[1],b=function(e){y(e),g(!0)},x=function(e,t){b(t),d?.(e)},S=function(e,t){b(t)};V.useImperativeHandle(t,function(){return{focus:function(e){var t;(t=p.current[e])==null||t.focus()},hideHelp:function(){(0,YP.flushSync)(function(){g(!1)})}}});var C=Z({prefixCls:n,onStartMove:i,onOffsetChange:a,render:s,onFocus:x,onMouseEnter:S},f);return V.createElement(V.Fragment,null,o.map(function(e,t){var n=l===t;return V.createElement(xz,X({ref:function(e){e?p.current[t]=e:delete p.current[t]},dragging:n,draggingDelete:n&&u,style:_z(r,t),key:t,value:e,valueIndex:t},C))}),c&&h&&V.createElement(xz,X({key:`a11y`},C,{value:o[v],valueIndex:null,dragging:l!==-1,draggingDelete:u,render:c,style:{pointerEvents:`none`},tabIndex:null,"aria-hidden":!0})))}),wz=function(e){var t=e.prefixCls,n=e.style,r=e.children,i=e.value,a=e.onClick,o=V.useContext(vz),s=o.min,c=o.max,l=o.direction,u=o.includedStart,d=o.includedEnd,f=o.included,p=`${t}-text`,m=gz(l,i,s,c);return V.createElement(`span`,{className:(0,IE.default)(p,AM({},`${p}-active`,f&&u<=i&&i<=d)),style:Z(Z({},m),n),onMouseDown:function(e){e.stopPropagation()},onClick:function(){a(i)}},r)},Tz=function(e){var t=e.prefixCls,n=e.marks,r=e.onClick,i=`${t}-mark`;return n.length?V.createElement(`div`,{className:i},n.map(function(e){var t=e.value,n=e.style,a=e.label;return V.createElement(wz,{key:t,prefixCls:i,style:n,value:t,onClick:r},a)})):null},Ez=function(e){var t=e.prefixCls,n=e.value,r=e.style,i=e.activeStyle,a=V.useContext(vz),o=a.min,s=a.max,c=a.direction,l=a.included,u=a.includedStart,d=a.includedEnd,f=`${t}-dot`,p=l&&u<=n&&n<=d,m=Z(Z({},gz(c,n,o,s)),typeof r==`function`?r(n):r);return p&&(m=Z(Z({},m),typeof i==`function`?i(n):i)),V.createElement(`span`,{className:(0,IE.default)(f,AM({},`${f}-active`,p)),style:m})},Dz=function(e){var t=e.prefixCls,n=e.marks,r=e.dots,i=e.style,a=e.activeStyle,o=V.useContext(vz),s=o.min,c=o.max,l=o.step,u=V.useMemo(function(){var e=new Set;if(n.forEach(function(t){e.add(t.value)}),r&&l!==null)for(var t=s;t<=c;)e.add(t),t+=l;return Array.from(e)},[s,c,l,r,n]);return V.createElement(`div`,{className:`${t}-step`},u.map(function(e){return V.createElement(Ez,{prefixCls:t,key:e,value:e,style:i,activeStyle:a})}))},Oz=function(e){var t=e.prefixCls,n=e.style,r=e.start,i=e.end,a=e.index,o=e.onStartMove,s=e.replaceCls,c=V.useContext(vz),l=c.direction,u=c.min,d=c.max,f=c.disabled,p=c.range,m=c.classNames,h=`${t}-track`,g=hz(r,u,d),_=hz(i,u,d),v=function(e){!f&&o&&o(e,-1)},y={};switch(l){case`rtl`:y.right=`${g*100}%`,y.width=`${_*100-g*100}%`;break;case`btt`:y.bottom=`${g*100}%`,y.height=`${_*100-g*100}%`;break;case`ttb`:y.top=`${g*100}%`,y.height=`${_*100-g*100}%`;break;default:y.left=`${g*100}%`,y.width=`${_*100-g*100}%`}var b=s||(0,IE.default)(h,AM(AM({},`${h}-${a+1}`,a!==null&&p),`${t}-track-draggable`,o),m.track);return V.createElement(`div`,{className:b,style:Z(Z({},y),n),onMouseDown:v,onTouchStart:v})},kz=function(e){var t=e.prefixCls,n=e.style,r=e.values,i=e.startPoint,a=e.onStartMove,o=V.useContext(vz),s=o.included,c=o.range,l=o.min,u=o.styles,d=o.classNames,f=V.useMemo(function(){if(!c){if(r.length===0)return[];var e=i??l,t=r[0];return[{start:Math.min(e,t),end:Math.max(e,t)}]}for(var n=[],a=0;a<r.length-1;
40a+=1)n.push({start:r[a],end:r[a+1]});return n},[r,c,i,l]);if(!s)return null;var p=f!=null&&f.length&&(d.tracks||u.tracks)?V.createElement(Oz,{index:null,prefixCls:t,start:f[0].start,end:f[f.length-1].end,replaceCls:(0,IE.default)(d.tracks,`${t}-tracks`),style:u.tracks}):null;return V.createElement(V.Fragment,null,p,f.map(function(e,r){var i=e.start,o=e.end;return V.createElement(Oz,{index:r,prefixCls:t,style:Z(Z({},_z(n,r)),u.track),start:i,end:o,key:r,onStartMove:a})}))},Az=130;function jz(e){var t=`targetTouches`in e?e.targetTouches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}function Mz(e,t,n,r,i,a,o,s,c,l,u){var d=UP(V.useState(null),2),f=d[0],p=d[1],m=UP(V.useState(-1),2),h=m[0],g=m[1],_=UP(V.useState(!1),2),v=_[0],y=_[1],b=UP(V.useState(n),2),x=b[0],S=b[1],C=UP(V.useState(n),2),w=C[0],T=C[1],E=V.useRef(null),D=V.useRef(null),O=V.useRef(null),ee=V.useContext(yz),k=ee.onDragStart,te=ee.onDragChange;ez(function(){h===-1&&S(n)},[n,h]),V.useEffect(function(){return function(){document.removeEventListener(`mousemove`,E.current),document.removeEventListener(`mouseup`,D.current),O.current&&(O.current.removeEventListener(`touchmove`,E.current),O.current.removeEventListener(`touchend`,D.current))}},[]);var A=function(e,t,n){t!==void 0&&p(t),S(e);var r=e;n&&(r=e.filter(function(e,t){return t!==h})),o(r),te&&te({rawValues:e,deleteIndex:n?h:-1,draggingIndex:h,draggingValue:t})},ne=ZR(function(e,t,n){if(e===-1){var o=w[0],s=w[w.length-1],l=r-o,u=i-s,d=t*(i-r);d=Math.max(d,l),d=Math.min(d,u),d=a(o+d)-o,A(w.map(function(e){return e+d}))}else{var f=(i-r)*t,p=qM(x);p[e]=w[e];var m=c(p,f,e,`dist`);A(m.values,m.value,n)}});return[h,f,v,V.useMemo(function(){var e=qM(n).sort(function(e,t){return e-t}),t=qM(x).sort(function(e,t){return e-t}),r={};t.forEach(function(e){r[e]=(r[e]||0)+1}),e.forEach(function(e){r[e]=(r[e]||0)-1});var i=+!!l;return Object.values(r).reduce(function(e,t){return e+Math.abs(t)},0)<=i?x:n},[n,x,l]),function(r,i,a){r.stopPropagation();var o=a||n,c=o[i];g(i),p(c),T(o),S(o),y(!1);var d=jz(r),f=d.pageX,m=d.pageY,h=!1;k&&k({rawValues:o,draggingIndex:i,draggingValue:c});var _=function(n){n.preventDefault();var r=jz(n),a=r.pageX,o=r.pageY,s=a-f,c=o-m,d=e.current.getBoundingClientRect(),p=d.width,g=d.height,_,v;switch(t){case`btt`:_=-c/g,v=s;break;case`ttb`:_=c/g,v=s;break;case`rtl`:_=-s/p,v=c;break;default:_=s/p,v=c}h=l?Math.abs(v)>Az&&u<x.length:!1,y(h),ne(i,_,h)},v=function e(t){t.preventDefault(),document.removeEventListener(`mouseup`,e),document.removeEventListener(`mousemove`,_),O.current&&(O.current.removeEventListener(`touchmove`,E.current),O.current.removeEventListener(`touchend`,D.current)),E.current=null,D.current=null,O.current=null,s(h),g(-1),y(!1)};document.addEventListener(`mouseup`,v),document.addEventListener(`mousemove`,_),r.currentTarget.addEventListener(`touchend`,v),r.currentTarget.addEventListener(`touchmove`,_),E.current=_,D.current=v,O.current=r.currentTarget}]}function Nz(e,t,n,r,i,a){var o=V.useCallback(function(n){return Math.max(e,Math.min(t,n))},[e,t]),s=V.useCallback(function(r){if(n!==null){var i=e+Math.round((o(r)-e)/n)*n,a=function(e){return(String(e).split(`.`)[1]||``).length},s=Math.max(a(n),a(t),a(e)),c=Number(i.toFixed(s));return e<=c&&c<=t?c:null}return null},[n,e,t,o]),c=V.useCallback(function(i){var a=o(i),c=r.map(function(e){return e.value});n!==null&&c.push(s(i)),c.push(e,t);var l=c[0],u=t-e;return c.forEach(function(e){var t=Math.abs(a-e);t<=u&&(l=e,u=t)}),l},[e,t,r,n,o,s]),l=function i(a,o,c){var l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:`unit`;if(typeof o==`number`){var u,d=a[c],f=d+o,p=[];r.forEach(function(e){p.push(e.value)}),p.push(e,t),p.push(s(d));var m=o>0?1:-1;l===`unit`?p.push(s(d+m*n)):p.push(s(f)),p=p.filter(function(e){return e!==null}).filter(function(e){return o<0?e<=d:e>=d}),l===`unit`&&(p=p.filter(function(e){return e!==d}));var h=l===`unit`?d:f;u=p[0];var g=Math.abs(u-h);if(p.forEach(function(e){var t=Math.abs(e-h);t<g&&(u=e,g=t)}),u===void 0)return o<0?e:t;if(l===`dist`)return u;if(Math.abs(o)>1){var _=qM(a);return _[c]=u,i(_,o-m,c,l)}return u}if(o===`min`)return e;if(o===`max`)return t},u=function(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:`unit`,i=e[n],a=l(e,t,n,r);return{value:a,changed:a!==i}},d=function(e){return a===null&&e===0||typeof a==`number`&&e<a};return[c,function(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:`unit`,o=e.map(c),s=o[n];if(o[n]=l(o,t,n,r),i===!1){var f=a||0;n>0&&o[n-1]!==s&&(o[n]=Math.max(o[n],o[n-1]+f)),n<o.length-1&&o[n+1]!==s&&(o[n]=Math.min(o[n],o[n+1]-f))}else if(typeof a==`number`||a===null){for(var p=n+1;p<o.length;p+=1)for(var m=!0;d(o[p]-o[p-1])&&m;){var h=u(o,1,p);o[p]=h.value,m=h.changed}for(var g=n;g>0;--g)for(var _=!0;d(o[g]-o[g-1])&&_;){var v=u(o,-1,g-1);o[g-1]=v.value,_=v.changed}for(var y=o.length-1;y>0;--y)for(var b=!0;d(o[y]-o[y-1])&&b;){var x=u(o,-1,y-1);o[y-1]=x.value,b=x.changed}for(var S=0;S<o.length-1;S+=1)for(var C=!0;d(o[S+1]-o[S])&&C;){var w=u(o,1,S+1);o[S+1]=w.value,C=w.changed}}return{value:o[n],values:o}}]}function Pz(e){return(0,V.useMemo)(function(){if(e===!0||!e)return[!!e,!1,!1,0];var t=e.editable,n=e.draggableTrack,r=e.minCount,i=e.maxCount;return[!0,t,!t&&n,r||0,i]},[e])}var Fz=V.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?`rc-slider`:n,i=e.className,a=e.style,o=e.classNames,s=e.styles,c=e.id,l=e.disabled,u=l!==void 0&&l,d=e.ke
40yboard,f=d===void 0||d,p=e.autoFocus,m=e.onFocus,h=e.onBlur,g=e.min,_=g===void 0?0:g,v=e.max,y=v===void 0?100:v,b=e.step,x=b===void 0?1:b,S=e.value,C=e.defaultValue,w=e.range,T=e.count,E=e.onChange,D=e.onBeforeChange,O=e.onAfterChange,ee=e.onChangeComplete,k=e.allowCross,te=k===void 0||k,A=e.pushable,ne=A!==void 0&&A,j=e.reverse,re=e.vertical,ie=e.included,ae=ie===void 0||ie,oe=e.startPoint,se=e.trackStyle,ce=e.handleStyle,le=e.railStyle,ue=e.dotStyle,de=e.activeDotStyle,fe=e.marks,pe=e.dots,me=e.handleRender,he=e.activeHandleRender,M=e.track,N=e.tabIndex,ge=N===void 0?0:N,_e=e.ariaLabelForHandle,ve=e.ariaLabelledByForHandle,ye=e.ariaRequired,be=e.ariaValueTextFormatterForHandle,xe=V.useRef(null),Se=V.useRef(null),Ce=V.useMemo(function(){return re?j?`ttb`:`btt`:j?`rtl`:`ltr`},[j,re]),we=UP(Pz(w),5),Te=we[0],Ee=we[1],De=we[2],Oe=we[3],ke=we[4],Ae=V.useMemo(function(){return isFinite(_)?_:0},[_]),je=V.useMemo(function(){return isFinite(y)?y:100},[y]),Me=V.useMemo(function(){return x!==null&&x<=0?1:x},[x]),Ne=V.useMemo(function(){return typeof ne==`boolean`?ne?Me:!1:ne>=0&&ne},[ne,Me]),Pe=V.useMemo(function(){return Object.keys(fe||{}).map(function(e){var t=fe[e],n={value:Number(e)};return t&&DM(t)===`object`&&!V.isValidElement(t)&&(`label`in t||`style`in t)?(n.style=t.style,n.label=t.label):n.label=t,n}).filter(function(e){var t=e.label;return t||typeof t==`number`}).sort(function(e,t){return e.value-t.value})},[fe]),Fe=UP(Nz(Ae,je,Me,Pe,te,Ne),2),Ie=Fe[0],Le=Fe[1],Re=UP(iz(C,{value:S}),2),ze=Re[0],Be=Re[1],Ve=V.useMemo(function(){var e=ze==null?[]:Array.isArray(ze)?ze:[ze],t=UP(e,1)[0],n=ze===null?[]:[t===void 0?Ae:t];if(Te){if(n=qM(e),T||ze===void 0){var r=T>=0?T+1:2;for(n=n.slice(0,r);n.length<r;)n.push(n[n.length-1]??Ae)}n.sort(function(e,t){return e-t})}return n.forEach(function(e,t){n[t]=Ie(e)}),n},[ze,Te,Ae,T,Ie]),He=function(e){return Te?e:e[0]},Ue=ZR(function(e){var t=qM(e).sort(function(e,t){return e-t});E&&!mz(t,Ve,!0)&&E(He(t)),Be(t)}),We=ZR(function(e){e&&xe.current.hideHelp();var t=He(Ve);O?.(t),fz(!O,"[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."),ee?.(t)}),Ge=function(e){if(!(u||!Ee||Ve.length<=Oe)){var t=qM(Ve);t.splice(e,1),D?.(He(t)),Ue(t);var n=Math.max(0,e-1);xe.current.hideHelp(),xe.current.focus(n)}},Ke=UP(Mz(Se,Ce,Ve,Ae,je,Ie,Ue,We,Le,Ee,Oe),5),qe=Ke[0],Je=Ke[1],Ye=Ke[2],Xe=Ke[3],Ze=Ke[4],Qe=function(e,t){if(!u){var n=qM(Ve),r=0,i=0,a=je-Ae;Ve.forEach(function(t,n){var o=Math.abs(e-t);o<=a&&(a=o,r=n),t<e&&(i=n)});var o=r;Ee&&a!==0&&(!ke||Ve.length<ke)?(n.splice(i+1,0,e),o=i+1):n[r]=e,Te&&!Ve.length&&T===void 0&&n.push(e);var s=He(n);if(D?.(s),Ue(n),t){var c,l;(c=document.activeElement)==null||(l=c.blur)==null||l.call(c),xe.current.focus(o),Ze(t,o,n)}else O?.(s),fz(!O,"[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."),ee?.(s)}},$e=function(e){e.preventDefault();var t=Se.current.getBoundingClientRect(),n=t.width,r=t.height,i=t.left,a=t.top,o=t.bottom,s=t.right,c=e.clientX,l=e.clientY,u;switch(Ce){case`btt`:u=(o-l)/r;break;case`ttb`:u=(l-a)/r;break;case`rtl`:u=(s-c)/n;break;default:u=(c-i)/n}Qe(Ie(Ae+u*(je-Ae)),e)},et=UP(V.useState(null),2),tt=et[0],nt=et[1],rt=function(e,t){if(!u){var n=Le(Ve,e,t);D?.(He(Ve)),Ue(n.values),nt(n.value)}};V.useEffect(function(){if(tt!==null){var e=Ve.indexOf(tt);e>=0&&xe.current.focus(e)}nt(null)},[tt]);var it=V.useMemo(function(){return De&&Me===null?!1:De},[De,Me]),at=ZR(function(e,t){Ze(e,t),D?.(He(Ve))}),ot=qe!==-1;V.useEffect(function(){if(!ot){var e=Ve.lastIndexOf(Je);xe.current.focus(e)}},[ot]);var st=V.useMemo(function(){return qM(Xe).sort(function(e,t){return e-t})},[Xe]),ct=UP(V.useMemo(function(){return Te?[st[0],st[st.length-1]]:[Ae,st[0]]},[st,Te,Ae]),2),lt=ct[0],ut=ct[1];V.useImperativeHandle(t,function(){return{focus:function(){xe.current.focus(0)},blur:function(){var e,t=document.activeElement;(e=Se.current)!=null&&e.contains(t)&&t?.blur()}}}),V.useEffect(function(){p&&xe.current.focus(0)},[]);var dt=V.useMemo(function(){return{min:Ae,max:je,direction:Ce,disabled:u,keyboard:f,step:Me,included:ae,includedStart:lt,includedEnd:ut,range:Te,tabIndex:ge,ariaLabelForHandle:_e,ariaLabelledByForHandle:ve,ariaRequired:ye,ariaValueTextFormatterForHandle:be,styles:s||{},classNames:o||{}}},[Ae,je,Ce,u,f,Me,ae,lt,ut,Te,ge,_e,ve,ye,be,s,o]);return V.createElement(vz.Provider,{value:dt},V.createElement(`div`,{ref:Se,className:(0,IE.default)(r,i,AM(AM(AM(AM({},`${r}-disabled`,u),`${r}-vertical`,re),`${r}-horizontal`,!re),`${r}-with-marks`,Pe.length)),style:a,onMouseDown:$e,id:c},V.createElement(`div`,{className:(0,IE.default)(`${r}-rail`,o?.rail),style:Z(Z({},le),s?.rail)}),M!==!1&&V.createElement(kz,{prefixCls:r,style:se,values:Ve,startPoint:oe,onStartMove:it?at:void 0}),V.createElement(Dz,{prefixCls:r,marks:Pe,dots:pe,style:ue,activeStyle:de}),V.createElement(Cz,{ref:xe,prefixCls:r,style:ce,values:Xe,draggingIndex:qe,draggingDelete:Ye,onStartMove:at,onOffsetChange:rt,onFocus:m,onBlur:h,handleRender:me,activeHandleRender:he,onCh
40angeComplete:We,onDelete:Ee?Ge:void 0}),V.createElement(Tz,{prefixCls:r,marks:Pe,onClick:Qe})))}),Iz=e=>{let{prefix:t,value:n,values:r,onChange:i,labelSlider:a,classNames:o,maxValue:s,maxTooltip:c,minValue:l,minTooltip:u}=e,d=(0,V.useMemo)(()=>r.reduce((e,t)=>({...e,[t]:t}),{}),[r]),f=e=>{if(s&&e>s){e!==s&&i(s);return}if(l&&e<l){e!==s&&i(l);return}i(e)},p=(0,V.useCallback)(e=>{if(e===`minus`&&n!==r[0]){let e=r[r.findIndex(e=>e===n)-1];f(e)}if(e===`plus`&&n!==r[r.length-1]){let e=r[r.findIndex(e=>e===n)+1];f(e)}},[n,r]);return(0,Y.jsxs)(`div`,{className:LE(`slider-container-react-widget`,o?.box),children:[(0,Y.jsxs)(`div`,{className:`slider-rail-container`,children:[!U.isSmart&&(0,Y.jsx)(`button`,{onClick:p.bind(null,`minus`),type:`button`,className:`slider-btn slider-btn-minus`,children:(0,Y.jsx)(`span`,{className:`sr-only`,children:`-`})}),(0,Y.jsx)(Fz,{min:r[0],max:r[r.length-1],value:n,marks:d,step:null,onChange:e=>f(e),handleRender:e=>{let t=Number(e.props[`aria-valuenow`]);return(0,Y.jsxs)(`div`,{...e.props,style:{...e.props.style,position:`relative`},"aria-labelledby":`slider-label-${t}`,children:[(0,Y.jsxs)(`span`,{id:`slider-label-${t}`,className:`sr-only`,children:["`$",a,` $`,t,"`"]}),n===l&&u&&(0,Y.jsx)(`p`,{className:`tooltip-handle`,children:u}),n===s&&c&&(0,Y.jsx)(`p`,{className:`tooltip-handle`,children:c})]})}}),!U.isSmart&&(0,Y.jsx)(`button`,{onClick:p.bind(null,`plus`),type:`button`,className:`slider-btn slider-btn-plus`,children:(0,Y.jsx)(`span`,{className:`sr-only`,children:`+`})})]}),(0,Y.jsxs)(`div`,{className:`slider-marks`,children:[(0,Y.jsxs)(`span`,{children:[r[0],` zł`]}),(0,Y.jsxs)(`span`,{children:[r[r.length-1],` `,t]})]})]})},Lz=e=>{let{amount:t,maxRegistrationAmount:n,activeTab:r,setActiveTab:i,handleSetAmount:a,handleSetPeriod:o,tabs:s,firstTabGray:c,viewHeader:l=!0,onChangeTab:u}=e,d=()=>(0,Y.jsx)(`div`,{className:`header-tabs`,children:(0,Y.jsx)(`div`,{className:`tabs`,children:s.map((e,c)=>e.titleTab&&(0,Y.jsx)(`button`,{type:`button`,className:LE({active:r===e.nameTab}),onClick:()=>{r!==e.nameTab&&(U.isSmart&&(e.nameTab===UA.FIRST?(t>n&&a(n),o&&o($C.CALCULATOR_FIRST_LOAN_PERIOD),WA(UA.FIRST)):(o&&o($C.CALCULATOR_SUBSEQUENT_LOAN_PERIOD),WA(UA.SUBSEQUENT))),U.isPlus&&(e.nameTab===UA.FIRST?(Dw(1),WA(UA.FIRST),t>n&&a(n)):(Dw(2),WA(UA.SUBSEQUENT))),i&&i(e.nameTab),u&&u())},style:{width:`calc(100% / ${s.length})`},children:e.titleTab},c))})});return(0,Y.jsxs)(`div`,{className:LE(`block-tabs`,c?`gray`:``),children:[l&&(0,Y.jsx)(d,{}),(0,Y.jsx)(`div`,{className:LE(`body-tabs`,s[0].nameTab===r?`white`:`gray`),children:s.filter(e=>e.nameTab===r)[0].bodyTab({children:(0,Y.jsx)(d,{})})})]})},Rz=c({focusable:()=>mB,getTabIndex:()=>Yz,isFocusable:()=>_B,isTabbable:()=>hB,tabbable:()=>pB}),zz,Bz,Vz,Hz,Uz,Wz,Gz,Kz,qz,Jz,Yz,Xz,Zz,Qz,$z,eB,tB,nB,rB,iB,aB,oB,sB,cB,lB,uB,dB,fB,pB,mB,hB,gB,_B,vB=o((()=>{zz=[`input:not([inert]):not([inert] *)`,`select:not([inert]):not([inert] *)`,`textarea:not([inert]):not([inert] *)`,`a[href]:not([inert]):not([inert] *)`,`area[href]:not([inert]):not([inert] *)`,`button:not([inert]):not([inert] *)`,`[tabindex]:not(slot):not([inert]):not([inert] *)`,`audio[controls]:not([inert]):not([inert] *)`,`video[controls]:not([inert]):not([inert] *)`,`[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)`,`details>summary:first-of-type:not([inert]):not([inert] *)`,`details:not([inert]):not([inert] *)`],Bz=zz.join(`,`),Vz=typeof Element>`u`,Hz=Vz?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Uz=!Vz&&Element.prototype.getRootNode?function(e){return e?.getRootNode?.call(e)}:function(e){return e?.ownerDocument},Wz=function(e,t){t===void 0&&(t=!0);var n=e?.getAttribute?.call(e,`inert`);return n===``||n===`true`||t&&e&&(typeof e.closest==`function`?e.closest(`[inert]`):Wz(e.parentNode))},Gz=function(e){var t=e?.getAttribute?.call(e,`contenteditable`);return t===``||t===`true`},Kz=function(e,t,n){if(Wz(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(Bz));return t&&Hz.call(e,Bz)&&r.unshift(e),r=r.filter(n),r},qz=function(e,t,n){for(var r=[],i=Array.from(e);i.length;){var a=i.shift();if(!Wz(a,!1)){if(a.tagName===`SLOT`){var o=a.assignedElements(),s=qz(o.length?o:a.children,!0,n);
vendor: 8,811 bytes, lines 40-42
40n.flatten?r.push.apply(r,s):r.push({scopeParent:a,candidates:s})}else{Hz.call(a,Bz)&&n.filter(a)&&(t||!e.includes(a))&&r.push(a);var c=a.shadowRoot||typeof n.getShadowRoot==`function`&&n.getShadowRoot(a),l=!Wz(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(a));if(c&&l){var u=qz(c===!0?a.children:c.children,!0,n);n.flatten?r.push.apply(r,u):r.push({scopeParent:a,candidates:u})}else i.unshift.apply(i,a.children)}}}return r},Jz=function(e){return!isNaN(parseInt(e.getAttribute(`tabindex`),10))},Yz=function(e){if(!e)throw Error(`No node provided`);return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Gz(e))&&!Jz(e)?0:e.tabIndex},Xz=function(e,t){var n=Yz(e);return n<0&&t&&!Jz(e)?0:n},Zz=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Qz=function(e){return e.tagName===`INPUT`},$z=function(e){return Qz(e)&&e.type===`hidden`},eB=function(e){return e.tagName===`DETAILS`&&Array.prototype.slice.apply(e.children).some(function(e){return e.tagName===`SUMMARY`})},tB=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},nB=function(e){if(!e.name)return!0;var t=e.form||Uz(e),n=function(e){return t.querySelectorAll(`input[type="radio"][name="`+e+`"]`)},r;if(typeof window<`u`&&window.CSS!==void 0&&typeof window.CSS.escape==`function`)r=n(window.CSS.escape(e.name));else try{r=n(e.name)}catch(e){return console.error(`Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s`,e.message),!1}var i=tB(r,e.form);return!i||i===e},rB=function(e){return Qz(e)&&e.type===`radio`},iB=function(e){return rB(e)&&!nB(e)},aB=function(e){var t=e&&Uz(e),n=t?.host,r=!1;if(t&&t!==e){var i,a,o;for(r=!!((i=n)!=null&&(a=i.ownerDocument)!=null&&a.contains(n)||e!=null&&(o=e.ownerDocument)!=null&&o.contains(e));!r&&n;){var s,c;t=Uz(n),n=t?.host,r=!!((s=n)!=null&&(c=s.ownerDocument)!=null&&c.contains(n))}}return r},oB=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return n===0&&r===0},sB=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if(n===`full-native`&&`checkVisibility`in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});var i=getComputedStyle(e).visibility;if(i===`hidden`||i===`collapse`)return!0;var a=Hz.call(e,`details>summary:first-of-type`)?e.parentElement:e;if(Hz.call(a,`details:not([open]) *`))return!0;if(!n||n===`full`||n===`full-native`||n===`legacy-full`){if(typeof r==`function`){for(var o=e;e;){var s=e.parentElement,c=Uz(e);if(s&&!s.shadowRoot&&r(s)===!0)return oB(e);e=e.assignedSlot?e.assignedSlot:!s&&c!==e.ownerDocument?c.host:s}e=o}if(aB(e))return!e.getClientRects().length;if(n!==`legacy-full`)return!0}else if(n===`non-zero-area`)return oB(e);return!1},cB=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName===`FIELDSET`&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if(r.tagName===`LEGEND`)return Hz.call(t,`fieldset[disabled] *`)?!0:!r.contains(e)}return!0}t=t.parentElement}return!1},lB=function(e,t){return!(t.disabled||$z(t)||sB(t,e)||eB(t)||cB(t))},uB=function(e,t){return!(iB(t)||Yz(t)<0||!lB(e,t))},dB=function(e){var t=parseInt(e.getAttribute(`tabindex`),10);return!!(isNaN(t)||t>=0)},fB=function(e){var t=[],n=[];return e.forEach(function(e,r){var i=!!e.scopeParent,a=i?e.scopeParent:e,o=Xz(a,i),s=i?fB(e.candidates):a;o===0?i?t.push.apply(t,s):t.push(a):n.push({documentOrder:r,tabIndex:o,item:e,isScope:i,content:s})}),n.sort(Zz).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},pB=function(e,t){t||={};var n=t.getShadowRoot?qz([e],t.includeContainer,{filter:uB.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:dB}):Kz(e,t.includeContainer,uB.bind(null,t));return fB(n)},mB=function(e,t){return t||={},t.getShadowRoot?qz([e],t.includeContainer,{filter:lB.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):Kz(e,t.includeContainer,lB.bind(null,t))},hB=function(e,t){if(t||={},!e)throw Error(`No node provided`);return Hz.call(e,Bz)!==!1&&uB(t,e)},gB=zz.concat(`iframe:not([inert]):not([inert] *)`).join(`,`),_B=function(e,t){if(t||={},!e)throw Error(`No node provided`);return Hz.call(e,gB)!==!1&&lB(t,e)}})),yB=c({createFocusTrap:()=>HB});function bB(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function xB(e){if(Array.isArray(e))return bB(e)}function SB(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(!n){if(Array.isArray(e)||(n=jB(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
41In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||n.return==null||n.return()}finally{if(s)throw a}}}}function CB(e,t,n){return(t=AB(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wB(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function TB(){throw TypeError(`Invalid attempt to spread non-iterable instance.
42In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function EB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function DB(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?EB(Object(n),!0).forEach(function(t){CB(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):EB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function OB(e){return xB(e)||wB(e)||jB(e)||TB()}function kB(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function AB(e){var t=kB(e,`string`);return typeof t==`symbol`?t:t+``}function jB(e,t){if(e){if(typeof e==`string`)return bB(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?bB(e,t):void 0}}var MB,NB,PB,FB,IB,LB,RB,zB,BB,VB,HB,UB=o((()=>{vB(),MB={getActiveTrap:function(e){return e?.length>0?e[e.length-1]:null},activateTrap:function(e,t){t!==MB.getActiveTrap(e)&&MB.pauseTrap(e);var n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);n!==-1&&e.splice(n,1),MB.unpauseTrap(e)},pauseTrap:function(e){MB.getActiveTrap(e)?._setPausedState(!0)},unpauseTrap:function(e){var t=MB.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},NB=function(e){return e.tagName&&e.tagName.toLowerCase()===`input`&&typeof e.select==`function`},PB=function(e){return e?.key===`Escape`||e?.key===`Esc`||e?.keyCode===27},FB=function(e){return e?.key===`Tab`||e?.keyCode===9},IB=function(e){return FB(e)&&!e.shiftKey},LB=function(e){return FB(e)&&e.shiftKey},RB=function(e){return setTimeout(e,0)},zB=function(e){var t=[...arguments].slice(1);return typeof e==`function`?e.apply(void 0,t):e},BB=function(e){return e.target.shadowRoot&&typeof e.composedPath==`function`?e.composedPath()[0]:e.target},VB=[],HB=function(e,t){var n=t?.document||document,r=t?.trapStack||VB,i=DB({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,delayReturnFocus:!0,isolateSubtrees:!1,isKeyForward:IB,isKeyBackward:LB},t),a={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},o,s=function(e,t,n){return e&&e[t]!==void 0?e[t]:i[n||t]},c=function(e,t){var n=typeof t?.composedPath==`function`?t.composedPath():void 0;return a.containerGroups.findIndex(function(t){var r=t.container,i=t.tabbableNodes;return r.contains(e)||n?.includes(r)||i.find(function(t){return t===e})})},l=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.hasFallback,a=r!==void 0&&r,o=t.params,s=o===void 0?[]:o,c=i[e];if(typeof c==`function`&&(c=c.apply(void 0,OB(s))),c===!0&&(c=void 0),!c){
vendor: 8,200 bytes, line 42
42if(c===void 0||c===!1)return c;throw Error(`\`${e}\` was specified but was not a node, or did not return a node`)}var l=c;if(typeof c==`string`){try{l=n.querySelector(c)}catch(t){throw Error(`\`${e}\` appears to be an invalid selector; error="${t.message}"`)}if(!l&&!a)throw Error(`\`${e}\` as selector refers to no known node`)}return l},u=function(e){var t=e.activeElement;return t?t.shadowRoot&&t.shadowRoot.activeElement!==null?u(t.shadowRoot):t:null},d=function(){var e=l(`initialFocus`,{hasFallback:!0});if(e===!1)return!1;if(e===void 0||e&&!_B(e,i.tabbableOptions)){var t=u(n);if(c(t)>=0)e=t;else{var r=a.tabbableGroups[0];e=r&&r.firstTabbableNode||l(`fallbackFocus`)}}else e===null&&(e=l(`fallbackFocus`));if(!e)throw Error(`Your focus-trap needs to have at least one focusable element`);return e},f=function(){if(a.containerGroups=a.containers.map(function(e){var t=pB(e,i.tabbableOptions),n=mB(e,i.tabbableOptions),r=t.length>0?t[0]:void 0,a=t.length>0?t[t.length-1]:void 0,o=n.find(function(e){return hB(e)}),s=n.slice().reverse().find(function(e){return hB(e)});return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:!!t.find(function(e){return Yz(e)>0}),firstTabbableNode:r,lastTabbableNode:a,firstDomTabbableNode:o,lastDomTabbableNode:s,nextTabbableNode:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,i=t.indexOf(e);return i<0?r?n.slice(n.indexOf(e)+1).find(function(e){return hB(e)}):n.slice(0,n.indexOf(e)).reverse().find(function(e){return hB(e)}):t[i+(r?1:-1)]}}}),a.tabbableGroups=a.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),a.tabbableGroups.length<=0&&!l(`fallbackFocus`))throw Error(`Your focus-trap must have at least one container with at least one tabbable node in it at all times`);if(a.containerGroups.find(function(e){return e.posTabIndexesFound})&&a.containerGroups.length>1)throw Error(`At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.`)},p=function(e){if(e!==!1&&e!==u(document)){if(!e||!e.focus){p(d());return}e.focus({preventScroll:!!i.preventScroll}),a.mostRecentlyFocusedNode=e,NB(e)&&e.select()}},m=function(e){var t=l(`setReturnFocus`,{params:[e]});return t||t!==!1&&e},h=function(e){var t=e.target,n=e.event,r=e.isBackward,o=r!==void 0&&r;t||=BB(n),f();var s=null;if(a.tabbableGroups.length>0){var u=c(t,n),d=u>=0?a.containerGroups[u]:void 0;if(u<0)s=o?a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode:a.tabbableGroups[0].firstTabbableNode;else if(o){var p=a.tabbableGroups.findIndex(function(e){var n=e.firstTabbableNode;return t===n});if(p<0&&(d.container===t||_B(t,i.tabbableOptions)&&!hB(t,i.tabbableOptions)&&!d.nextTabbableNode(t,!1))&&(p=u),p>=0){var m=p===0?a.tabbableGroups.length-1:p-1,h=a.tabbableGroups[m];s=Yz(t)>=0?h.lastTabbableNode:h.lastDomTabbableNode}else FB(n)||(s=d.nextTabbableNode(t,!1))}else{var g=a.tabbableGroups.findIndex(function(e){var n=e.lastTabbableNode;return t===n});if(g<0&&(d.container===t||_B(t,i.tabbableOptions)&&!hB(t,i.tabbableOptions)&&!d.nextTabbableNode(t))&&(g=u),g>=0){var _=g===a.tabbableGroups.length-1?0:g+1,v=a.tabbableGroups[_];s=Yz(t)>=0?v.firstTabbableNode:v.firstDomTabbableNode}else FB(n)||(s=d.nextTabbableNode(t))}}else s=l(`fallbackFocus`);return s},g=function(e){if(!(c(BB(e),e)>=0)){if(zB(i.clickOutsideDeactivates,e)){o.deactivate({returnFocus:i.returnFocusOnDeactivate});return}zB(i.allowOutsideClick,e)||e.preventDefault()}},_=function(e){var t=BB(e),n=c(t,e)>=0;if(n||t instanceof Document)n&&(a.mostRecentlyFocusedNode=t);else{e.stopImmediatePropagation();var r,o=!0;if(a.mostRecentlyFocusedNode){if(Yz(a.mostRecentlyFocusedNode)>0){var s=c(a.mostRecentlyFocusedNode),l=a.containerGroups[s].tabbableNodes;if(l.length>0){var u=l.findIndex(function(e){return e===a.mostRecentlyFocusedNode});u>=0&&(i.isKeyForward(a.recentNavEvent)?u+1<l.length&&(r=l[u+1],o=!1):u-1>=0&&(r=l[u-1],o=!1))}}else a.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return Yz(e)>0})})||(o=!1)}else o=!1;o&&(r=h({target:a.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(a.recentNavEvent)})),p(r||a.mostRecentlyFocusedNode||d())}a.recentNavEvent=void 0},v=function(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1];a.recentNavEvent=e;var n=h({event:e,isBackward:t});n&&(FB(e)&&e.preventDefault(),p(n))},y=function(e){(i.isKeyForward(e)||i.isKeyBackward(e))&&v(e,i.isKeyBackward(e))},b=function(e){PB(e)&&zB(i.escapeDeactivates,e)!==!1&&(e.preventDefault(),o.deactivate())},x=function(e){c(BB(e),e)>=0||zB(i.clickOutsideDeactivates,e)||zB(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},S=function(){if(a.active){MB.activateTrap(r,o);var e;return i.delayInitialFocus?e=new Promise(function(e){a.delayInitialFocusTimer=RB(function(){p(d()),e()})}):p(d()),n.addEventListener(`focusin`,_,!0),n.addEventListener(`mousedown`,g,{capture:!0,passive:!1}),n.addEventListener(`touchstart`,g,{capture:!0,passive:!1}),n.addEventListener(`click`,x,{capture:!0,passive:!1}),n.addEventListener(`keydown`,y,{capture:!0,passive:!1}),n.addEventListener(`keydown`,b),e}},C=function(e){a.active&&!a.paused&&o._setSubtreeIsolation(!1),a.adjacentElements.clear(),a.alreadySilent.clear();var t=new Set,n=new Set,r=SB(e),i;try{for(r.s();!(i=r.n()).done;){var s=i.value;t.add(s);for(var c=typeof ShadowRoot<`u`&&s.getRootNode()instanceof ShadowRoot,l=s;l;){t.add(l);var u=l.parentElement,d=[];u?d=u.children:!u&&c&&(d=l.getRootNode().children,u=l.getRootNode().host,c=typeof ShadowRoot<`u`&&u.getRootNode()instanceof ShadowRoot);var f=SB(d),p;try{for(f.s();!(p=f.n()).done;){var m=p.value;n.add(m)}}catch(e){f.e(e)}finally{f.f()}l=u}}}catch(e){r.e(e)}finally{r.f()}t.forEach(function(e){n.delete(e)}),a.adjacentElements=n},w=function(){if(a.active)return n.removeEventListener(`focusin`,_,!0),n.removeEventListener(`mousedown`,g,!0),n.removeEventListener(`touchstart`,g,!0),n.removeEventListener(`click`,x,!0),n.removeEventListener(`keydown`,y,!0),n.removeEventListener(`keydown`,b),o},T=typeof window<`u`&&`MutationObserver`in window?new MutationObserver(function(e){var t=a.mostRecentlyFocusedNode;t&&e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===t||typeof e.contains==`function`&&e.contains(t)})})&&a.containers.some(function(e){return e?.isConnected})&&(f(),p(d()))}):void 0,E=function(){T&&(T.disconnect(),a.active&&!a.paused&&a.containers.map(function(e){T.observe(e,{subtree:!0,childList:!0})}))};return o={get active(){return a.active},get paused(){return a.paused},activate:function(e){if(a.active)return this;var t=s(e,`onActivate`),i=s(e,`onPostActivate`),c=s(e,`checkCanFocusTrap`),l=MB.getActiveTrap(r),d=!1;if(l&&!l.paused){var p;(p=l._setSubtreeIsolation)==null||p.call(l,!1),d=!0}try{c||f(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=u(n),t?.({trap:o});var m=function(){c&&f();var e=function(){o._setSubtreeIsolation(!0),E(),i?.({trap:o})},t=S();t?t.then(e):e()};if(c)return c(a.containers.concat()).then(m,m),this;m()}catch(e){if(l===MB.getActiveTrap(r)&&d){var h;(h=l._setSubtreeIsolation)==null||h.call(l,!0)}throw e}return this},deactivate:function(e){if(!a.active)return this;var t=DB({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e);clearTimeout(a.delayInitialFocusTimer),a.delayInitialFocusTimer=void 0,a.paused||o._setSubtreeIsolation(!1),a.alreadySilent.clear(),w(),a.active=!1,a.paused=!1,E(),MB.deactivateTrap(r,o);var n=s(t,`onDeactivate`),c=s(t,`onPostDeactivate`),l=s(t,`checkCanReturnFocus`),u=s(t,`delayReturnFocus`),d=s(t,`returnFocus`,`returnFocusOnDeactivate`);n?.({trap:o});var f=function(){d&&p(m(a.nodeFocusedBeforeActivation)),c?.({trap:o})},h=function(){u&&d?RB(f):f()};return d&&l?(l(m(a.nodeFocusedBeforeActivation)).then(h,h),this):(h(),this)},pause:function(e){return a.active?(a.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return!a.active||(a.manuallyPaused=!1,r[r.length-1]!==this)?this:this._setPausedState(!1,e)},updateContainerElements:function(e){return a.containers=[].concat(e).filter(
42Boolean).map(function(e){return typeof e==`string`?n.querySelector(e):e}),i.isolateSubtrees&&C(a.containers),a.active&&(f(),a.paused||o._setSubtreeIsolation(!0)),E(),this}},Object.defineProperties(o,{_isManuallyPaused:{value:function(){return a.manuallyPaused}},_setPausedState:{value:function(e,t){if(a.paused===e)return this;if(a.paused=e,e){var n=s(t,`onPause`),r=s(t,`onPostPause`);n?.({trap:o}),w(),o._setSubtreeIsolation(!1),E(),r?.({trap:o})}else{var i=s(t,`onUnpause`),c=s(t,`onPostUnpause`);i?.({trap:o}),(function(){f();var e=function(){o._setSubtreeIsolation(!0),E(),c?.({trap:o})},t=S();t?t.then(e):e()})()}return this}},_setSubtreeIsolation:{value:function(e){i.isolateSubtrees&&a.adjacentElements.forEach(function(t){if(e)switch(i.isolateSubtrees){case`aria-hidden`:(t.ariaHidden===`true`||t.getAttribute(`aria-hidden`)?.toLowerCase()===`true`)&&a.alreadySilent.add(t),t.setAttribute(`aria-hidden`,`true`);break;default:(t.inert||t.hasAttribute(`inert`))&&a.alreadySilent.add(t),t.setAttribute(`inert`,!0)}else if(!a.alreadySilent.has(t))switch(i.isolateSubtrees){case`aria-hidden`:t.removeAttribute(`aria-hidden`);break;default:t.removeAttribute(`inert`)}})}}}),o.updateContainerElements(e),o}})),WB=s(((e,t)=>{function n(e){"@babel/helpers - typeof";return n=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},n(e)}function r(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,h(r.key),r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e,t,n){return t=u(t),s(e,l()?Reflect.construct(t,n||[],u(e).constructor):t.apply(e,n))}function s(e,t){if(t&&(n(t)==`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return c(e)}function c(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(l=function(){return!!e})()}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function f(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}function m(e,t,n){return(t=h(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e){var t=g(e,`string`);return n(t)==`symbol`?t:t+``}function g(e,t){if(n(e)!=`object`||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||`default`);if(n(i)!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var _=zb(),v=(UB(),d(yB)).createFocusTrap,y=(vB(),d(Rz)).isFocusable,b=parseInt(/^(\d+)\./.exec(_.version)?.[1]??0,10),x=function(e){function t(e){var n;r(this,t),n=o(this,t,[e]),m(n,`getNodeForOption`,function(e){var t=this.internalOptions[e]??this.originalOptions[e];if(typeof t==`function`){var n=[...arguments].slice(1);t=t.apply(void 0,n)}if(t===!0&&(t=void 0),!t){if(t===void 0||t===!1)return t;throw Error(`\`${e}\` was specified but was not a node, or did not return a node`)}var r=t;if(typeof t==`string`&&(r=this.getDocument()?.querySelector(t),!r))throw Error(`\`${e}\` as selector refers to no known node`);return r}),n.handleDeactivate=n.handleDeactivate.bind(n),n.handlePostDeactivate=n.handlePostDeactivate.bind(n),n.handleClickOutsideDeactivates=n.handleClickOutsideDeactivates.bind(n),n.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:n.handleDeactivate,onPostDeactivate:n.handlePostDeactivate,clickOutsideDeactivates:n.handleClickOutsideDeactivates},n.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var i=e.focusTrapOptions;
42for(var a in i)if(Object.prototype.hasOwnProperty.call(i,a)){if(a===`returnFocusOnDeactivate`||a===`onDeactivate`||a===`onPostDeactivate`||a===`checkCanReturnFocus`||a===`clickOutsideDeactivates`){n.originalOptions[a]=i[a];continue}n.internalOptions[a]=i[a]}return n.outsideClick=null,n.focusTrapElements=e.containerElements||[],n.updatePreviousElement(),n}return f(t,e),a(t,[{key:`getDocument`,value:function(){return this.props.focusTrapOptions.document||(typeof document<`u`?document:void 0)}},{key:`getReturnFocusNode`,value:function(){var e=this.getNodeForOption(`setReturnFocus`,this.previouslyFocusedElement);return e||e!==!1&&this.previouslyFocusedElement}},{key:`updatePreviousElement`,value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:`deactivateTrap`,value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:`handleClickOutsideDeactivates`,value:function(e){var t=typeof this.originalOptions.clickOutsideDeactivates==`function`?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:`handleDeactivate`,value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:`handlePostDeactivate`,value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),n=!!(e.originalOptions.returnFocusOnDeactivate&&t!=null&&t.focus&&(!e.outsideClick||e.outsideClick.allowDeactivation&&!y(e.outsideClick.target,e.internalOptions.tabbableOptions))),r=e.internalOptions.preventScroll,i=r!==void 0&&r;n&&t.focus({preventScroll:i}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:`setupFocusTrap`,value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:`componentDidMount`,value:function(){this.props.active&&this.setupFocusTrap()}},{key:`componentDidUpdate`,value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,n=e.active&&!this.props.active,r=!e.paused&&this.props.paused,i=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),n){this.deactivateTrap();return}r&&this.focusTrap.pause(),i&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:`componentWillUnmount`,value:function(){this.deactivateTrap()}},{key:`render`,value:function(){var e=this,t=this.props.children?_.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===_.Fragment)throw Error(`A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.`);return _.cloneElement(t,{ref:function(n){var r=e.props.containerElements;t&&(b>=19?typeof t.props.ref==`function`?t.props.ref(n):t.props.ref&&(t.props.ref.current=n):typeof t.ref==`function`?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=r||[n]}})}return null}}])}(_.Component);x.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:v},t.exports=x,t.exports.FocusTrap=x}))(),GB=e=>{let{handleClose:t,content:n,settings:r,classNames:i}=e;return Qj(),(0,Y.jsx)(WB.FocusTrap,{children:(0,Y.jsx)(`div`,{className:(0,IE.default)(`modal-container`,i?.modalContainer),onClick:e=>{e.target instanceof HTMLDivElement&&e.target.classList.contains(`modal
42-container`)&&r.canClose&&t()},role:`dialog`,"aria-modal":!0,"aria-labelledby":`modal-title`,children:(0,Y.jsxs)(`div`,{className:(0,IE.default)(`modal-content`,{big:r.size===`BIG`},{medium:r.size===`MEDIUM`},{small:r.size===`SMALL`},i?.modalContent),children:[r.canClose&&(0,Y.jsx)(`button`,{className:(0,IE.default)(`modal-close-button`,i?.modalCloseButton),onClick:t,children:r.iconClose}),n({handleClose:t})]})})})},KB=s((e=>{var t;(function(e){e.Root=`root`,e.Text=`text`,e.Directive=`directive`,e.Comment=`comment`,e.Script=`script`,e.Style=`style`,e.Tag=`tag`,e.CDATA=`cdata`,e.Doctype=`doctype`})(t||={});function n(e){return e.type===t.Tag||e.type===t.Script||e.type===t.Style}t.Root,t.Text,t.Directive,t.Comment,t.Script,t.Style,t.Tag,t.CDATA,t.Doctype,Object.defineProperty(e,"ElementType",{enumerable:!0,get:function(){return t}}),e.isTag=n})),qB=s((e=>{var t=KB(),n=class{parent=null;prev=null;next=null;startIndex=null;endIndex=null;get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return _(this,e)}},r=class extends n{data;constructor(e){super(),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}},i=class extends r{type=t.ElementType.Text;get nodeType(){return 3}},a=class extends r{type=t.ElementType.Comment;get nodeType(){return 8}},o=class extends r{type=t.ElementType.Directive;name;constructor(e,t){super(t),this.name=e}get nodeType(){return 1}"x-name";"x-publicId";"x-systemId"},s=class extends n{children;constructor(e){super(),this.children=e}get firstChild(){return this.children[0]??null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}},c=class extends s{type=t.ElementType.CDATA;get nodeType(){return 4}},l=class extends s{type=t.ElementType.Root;get nodeType(){return 9}},u=class extends s{name;attribs;type;constructor(e,n,r=[],i=e===`script`?t.ElementType.Script:e===`style`?t.ElementType.Style:t.ElementType.Tag){super(r),this.name=e,this.attribs=n,this.type=i}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map(e=>({name:e,value:this.attribs[e],namespace:this[`x-attribsNamespace`]?.[e],prefix:this[`x-attribsPrefix`]?.[e]}))}namespace;"x-attribsNamespace";"x-attribsPrefix"};function d(e){return t.isTag(e)}function f(e){return e.type===t.ElementType.CDATA}function p(e){return e.type===t.ElementType.Text}function m(e){return e.type===t.ElementType.Comment}function h(e){return e.type===t.ElementType.Directive}function g(e){return e.type===t.ElementType.Root}function _(e,t=!1){let n;if(p(e))n=new i(e.data);else if(m(e))n=new a(e.data);else if(d(e)){let r=t?v(e.children):[],i=new u(e.name,{...e.attribs},r);for(let e of r)e.parent=i;e.namespace!=null&&(i.namespace=e.namespace),e[`x-attribsNamespace`]&&(i[`x-attribsNamespace`]={...e[`x-attribsNamespace`]}),e[`x-attribsPrefix`]&&(i[`x-attribsPrefix`]={...e[`x-attribsPrefix`]}),n=i}else if(f(e)){let r=t?v(e.children):[],i=new c(r);for(let e of r)e.parent=i;n=i}else if(g(e)){let r=t?v(e.children):[],i=new l(r);for(let e of r)e.parent=i;e[`x-mode`]&&(i[`x-mode`]=e[`x-mode`]),n=i}else if(h(e)){let t=new o(e.name,e.data);e[`x-name`]!=null&&(t[`x-name`]=e[`x-name`],t[`x-publicId`]=e[`x-publicId`],t[`x-systemId`]=e[`x-systemId`]),n=t}else throw Error(`Not implemented yet: ${e.type}`);return n.startIndex=e.startIndex,n.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function v(e){let t=e.map(e=>_(e,!0));for(let e=1;e<t.length;e++)t[e].prev=t[e-1],t[e-1].next=t[e];return t}e.CDATA=c,e.Comment=a,e.DataNode=r,e.Document=l,e.Element=u,e.Node=n,e.NodeWithChildren=s,e.ProcessingInstruction=o,e.Text=i,e.cloneNode=_,e.isCDATA=f,e.isComment=m,e.isDirective=h,e.isDocument=g,e.isTag=d,e.isText=p})),JB=s((e=>{var t=`animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.linearGradient.radialGradient.textPath`.split(`.`),n=t.reduce((e,t)=>
42(e[t.toLowerCase()]=t,e),{});e.CASE_SENSITIVE_TAG_NAMES=t,e.CASE_SENSITIVE_TAG_NAMES_MAP=n})),YB=s((e=>{var t=qB(),n=JB(),r=`\r`,i=new RegExp(r,`g`),a=`__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_${Date.now().toString()}__`,o=new RegExp(a,`g`);function s(e){return n.CASE_SENSITIVE_TAG_NAMES_MAP[e]}function c(e){let t={},n=0,r=e.length;for(;n<r;n++){let r=e[n];t[r.name]=r.value}return t}function l(e){return e=e.toLowerCase(),s(e)||e}function u(e,t){let n=`<`+t,r=e.toLowerCase().indexOf(n);if(r===-1)return!1;let i=e[r+n.length];return i===`>`||i===` `||i===`	`||i===`
43`||i===`\r`||i===`/`}function d(e){return e.replace(i,a)}function f(e){return e.replace(o,r)}function p(e,n=null,r){let i=[],a,o=0,s=e.length;for(;o<s;o++){let r=e[o];switch(r.nodeType){case 1:{let e=l(r.nodeName);a=new t.Element(e,c(r.attributes)),a.children=p(e===`template`?r.content.childNodes:r.childNodes,a);break}case 3:a=new t.Text(f(r.nodeValue??``));break;case 8:a=new t.Comment(r.nodeValue??``);break;default:continue}let s=i[o-1]??null;s&&(s.next=a),a.parent=n,a.prev=s,a.next=null,i.push(a)}return r&&(a=new t.ProcessingInstruction(r.substring(0,r.indexOf(` `)).toLowerCase(),r),a.next=i[0]??null,a.parent=n,i.unshift(a),i[1]&&(i[1].prev=i[0])),i}e.escapeSpecialCharacters=d,e.formatDOM=p,e.hasOpenTag=u,e.revertEscapedCharacters=f})),XB=s((e=>{var t=YB(),n=`html`,r=`head`,i=`body`,a=/<([a-zA-Z]+[0-9]?)/;function o(e,t){return t?t.createHTML(e):e}var s=(e,t,n)=>{throw Error("This browser does not support `document.implementation.createHTMLDocument`")},c=(e,t,n)=>{throw Error("This browser does not support `DOMParser.prototype.parseFromString`")},l=typeof window==`object`&&window.DOMParser;if(typeof l==`function`){let e=new l;c=(t,n,r)=>(n&&(t=`<${n}>${t}</${n}>`),e.parseFromString(t,`text/html`)),s=c}if(typeof document==`object`&&document.implementation){let e=document.implementation.createHTMLDocument();s=function(t,n,r){if(n){let i=e.documentElement.querySelector(n);return i&&(i.innerHTML=o(t,r)),e}return e.documentElement.innerHTML=o(t,r),e}}var u=typeof document==`object`&&document.createElement(`template`),d;u&&u.content&&(d=(e,t)=>(u.innerHTML=o(e,t),u.content.childNodes));var f=()=>document.createDocumentFragment().childNodes;function p(e,o){e=t.escapeSpecialCharacters(e);let l=a.exec(e)?.[1]?.toLowerCase();switch(l){case n:{let a=c(e);if(!t.hasOpenTag(e,r)){let e=a.querySelector(r);e?.parentNode?.removeChild(e)}if(!t.hasOpenTag(e,i)){let e=a.querySelector(i);e?.parentNode?.removeChild(e)}return a.querySelectorAll(n)}case r:case i:{let n=s(e,void 0,o).querySelectorAll(l);return t.hasOpenTag(e,i)&&t.hasOpenTag(e,r)?n[0].parentNode?.childNodes??f():n}default:return d?d(e,o):s(e,i,o).querySelector(i)?.childNodes??f()}}e.default=p,e.getHTMLForInnerHTML=o})),ZB=s((e=>{Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});var t=YB(),n=XB(),r=/<(![a-zA-Z\s]+)>/;function i(e,i){if(typeof e!=`string`)throw TypeError(`First argument must be a string`);if(!e)return[];let a=r.exec(e),o=a?a[1]:void 0;return t.formatDOM(n.default(e,i?.trustedTypePolicy),null,o)}e.default=i})),QB=s
vendor: 7,438 bytes, line 43
43((e=>{e.SAME=0,e.CAMELCASE=1,e.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":`acceptCharset`,accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:`className`,classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:`htmlFor`,form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":`httpEquiv`,icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":`accentHeight`,accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":`alignmentBaseline`,allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":`arabicForm`,ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":`baselineShift`,baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":`capHeight`,clip:0,clipPath:1,"clip-path":`clipPath`,clipPathUnits:1,clipRule:1,"clip-rule":`clipRule`,color:0,colorInterpolation:1,"color-interpolation":`colorInterpolation`,colorInterpolationFilters:1,"color-interpolation-filters":`colorInterpolationFilters`,colorProfile:1,"color-profile":`colorProfile`,colorRendering:1,"color-rendering":`colorRendering`,contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":`dominantBaseline`,dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":`enableBackground`,end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":`fillOpacity`,fillRule:1,"fill-rule":`fillRule`,filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":`floodOpacity`,floodColor:1,"flood-color":`floodColor`,focusable:0,fontFamily:1,"font-family":`fontFamily`,fontSize:1,"font-size":`fontSize`,fontSizeAdjust:1,"font-size-adjust":`fontSizeAdjust`,fontStretch:1,"font-stretch":`fontStretch`,fontStyle:1,"font-style":`fontStyle`,fontVariant:1,"font-variant":`fontVariant`,fontWeight:1,"font-weight":`fontWeight`,format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":`glyphName`,glyphOrientationHorizontal:1,"glyph-orientation-horizontal":`glyphOrientationHorizontal`,glyphOrientationVertical:1,"glyph-orientation-vertical":`glyphOrientationVertical`,glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":`horizAdvX`,horizOriginX:1,"horiz-origin-x":`horizOriginX`,ideographic:0,imageRendering:1,"image-rendering":`imageRendering`,in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":`letterSpacing`,lightingColor:1,"lighting-color":`lightingColor`,limitingConeAngle:1,local:0,markerEnd:1,"marker-end":`markerEnd`,markerHeight:1,markerMid:1,"marker-mid":`markerMid`,markerStart:1,"marker-start":`markerStart`,markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":`overlinePosition`,overlineThickness:1,"overline-thickness":`overlineThickness`,paintOrder:1,"paint-order":`paintOrder`,panose1:0,"panose-1":`panose1`,pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":`pointerEvents`,points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":`renderingIntent`,repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":`shapeRendering`,slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":`stopColor`,stopOpacity:1,"stop-opacity":`stopOpacity`,strikethroughPosition:1,"strikethrough-position":`strikethroughPosition`,strikethroughThickness:1,"strikethrough-thickness":`strikethroughThickness`,string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":`strokeDasharray`,strokeDashoffset:1,"stroke-dashoffset":`strokeDashoffset`,strokeLinecap:1,"stroke-linecap":`strokeLinecap`,strokeLinejoin:1,"stroke-linejoin":`strokeLinejoin`,strokeMiterlimit:1,"stroke-miterlimit":`strokeMiterlimit`,strokeWidth:1,"stroke-width":`strokeWidth`,strokeOpacity:1,"stroke-opacity":`strokeOpacity`,suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":`textAnchor`,textDecoration:1,"text-decoration":`textDecoration`,textLength:1,textRendering:1,"text-rendering":`textRendering`,to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":`underlinePosition`,underlineThickness:1,"underline-thickness":`underlineThickness`,unicode:0,unicodeBidi:1,"unicode-bidi":`unicodeBidi`,unicodeRange:1,"unicode-range":`unicodeRange`,unitsPerEm:1,"units-per-em":`unitsPerEm`,unselectable:0,vAlphabetic:1,"v-alphabetic":`vAlphabetic`,values:0,vectorEffect:1,"vector-effect":`vectorEffect`,version:0,vertAdvY:1,"vert-adv-y":`vertAdvY`,vertOriginX:1,"vert-origin-x":`vertOriginX`,vertOriginY:1,"vert-origin-y":`vertOriginY`,vHanging:1,"v-hanging":`vHanging`,vIdeographic:1,"v-ideographic":`vIdeographic`,viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":`vMathematical`,vocab:0,widths:0,wordSpacing:1,"word-spacing":`wordSpacing`,writingMode:1,"writing-mode":`writingMode`,x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":`xHeight`,xlinkActuate:1,"xlink:actuate":`xlinkActuate`,xlinkArcrole:1,"xlink:arcrole":`xlinkArcrole`,xlinkHref:1,"xlink:href":`xlinkHref`,xlinkRole:1,"xlink:role":`xlinkRole`,xlinkShow:1,"xlink:show":`xlinkShow`,xlinkTitle:1,"xlink:title":`xlinkTitle`,xlinkType:1,"xlink:type":`xlinkType`,xmlBase:1,"xml:base":`xmlBase`,xmlLang:1,"xml:lang":`xmlLang`,xmlns:0,"xml:space":`xmlSpace`,xmlnsXlink:1,"xmlns:xlink":`xmlnsXlink`,xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}})),
vendor: 2,941 bytes, line 43
43$B=s((e=>{var t=0,n=1,r=2,i=3,a=4,o=5,s=6;function c(e){return u.hasOwnProperty(e)?u[e]:null}function l(e,t,n,o,s,c,l){this.acceptsBooleans=t===r||t===i||t===a,this.attributeName=o,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=c,this.removeEmptyString=l}var u={};[`children`,`dangerouslySetInnerHTML`,`defaultValue`,`defaultChecked`,`innerHTML`,`suppressContentEditableWarning`,`suppressHydrationWarning`,`style`].forEach(e=>{u[e]=new l(e,t,!1,e,null,!1,!1)}),[[`acceptCharset`,`accept-charset`],[`className`,`class`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`]].forEach(([e,t])=>{u[e]=new l(e,n,!1,t,null,!1,!1)}),[`contentEditable`,`draggable`,`spellCheck`,`value`].forEach(e=>{u[e]=new l(e,r,!1,e.toLowerCase(),null,!1,!1)}),[`autoReverse`,`externalResourcesRequired`,`focusable`,`preserveAlpha`].forEach(e=>{u[e]=new l(e,r,!1,e,null,!1,!1)}),[`allowFullScreen`,`async`,`autoFocus`,`autoPlay`,`controls`,`default`,`defer`,`disabled`,`disablePictureInPicture`,`disableRemotePlayback`,`formNoValidate`,`hidden`,`loop`,`noModule`,`noValidate`,`open`,`playsInline`,`readOnly`,`required`,`reversed`,`scoped`,`seamless`,`itemScope`].forEach(e=>{u[e]=new l(e,i,!1,e.toLowerCase(),null,!1,!1)}),[`checked`,`multiple`,`muted`,`selected`].forEach(e=>{u[e]=new l(e,i,!0,e,null,!1,!1)}),[`capture`,`download`].forEach(e=>{u[e]=new l(e,a,!1,e,null,!1,!1)}),[`cols`,`rows`,`size`,`span`].forEach(e=>{u[e]=new l(e,s,!1,e,null,!1,!1)}),[`rowSpan`,`start`].forEach(e=>{u[e]=new l(e,o,!1,e.toLowerCase(),null,!1,!1)});var d=/[\-\:]([a-z])/g,f=e=>e[1].toUpperCase();`accent-height.alignment-baseline.arabic-form.baseline-shift.cap-height.clip-path.clip-rule.color-interpolation.color-interpolation-filters.color-profile.color-rendering.dominant-baseline.enable-background.fill-opacity.fill-rule.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.glyph-name.glyph-orientation-horizontal.glyph-orientation-vertical.horiz-adv-x.horiz-origin-x.image-rendering.letter-spacing.lighting-color.marker-end.marker-mid.marker-start.overline-position.overline-thickness.paint-order.panose-1.pointer-events.rendering-intent.shape-rendering.stop-color.stop-opacity.strikethrough-position.strikethrough-thickness.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.text-anchor.text-decoration.text-rendering.underline-position.underline-thickness.unicode-bidi.unicode-range.units-per-em.v-alphabetic.v-hanging.v-ideographic.v-mathematical.vector-effect.vert-adv-y.vert-origin-x.vert-origin-y.word-spacing.writing-mode.xmlns:xlink.x-height`.split(`.`).forEach(e=>{let t=e.replace(d,f);u[t]=new l(t,n,!1,e,null,!1,!1)}),[`xlink:actuate`,`xlink:arcrole`,`xlink:role`,`xlink:show`,`xlink:title`,`xlink:type`].forEach(e=>{let t=e.replace(d,f);u[t]=new l(t,n,!1,e,`http://www.w3.org/1999/xlink`,!1,!1)}
43),[`xml:base`,`xml:lang`,`xml:space`].forEach(e=>{let t=e.replace(d,f);u[t]=new l(t,n,!1,e,`http://www.w3.org/XML/1998/namespace`,!1,!1)}),[`tabIndex`,`crossOrigin`].forEach(e=>{u[e]=new l(e,n,!1,e.toLowerCase(),null,!1,!1)});var p=`xlinkHref`;u[p]=new l(`xlinkHref`,n,!1,`xlink:href`,`http://www.w3.org/1999/xlink`,!0,!1),[`src`,`href`,`action`,`formAction`].forEach(e=>{u[e]=new l(e,n,!1,e.toLowerCase(),null,!0,!0)});var{CAMELCASE:m,SAME:h,possibleStandardNames:g}=QB(),_=RegExp.prototype.test.bind(RegExp(`^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`)),v=Object.keys(g).reduce((e,t)=>{let n=g[t];return n===h?e[t]=t:n===m?e[t.toLowerCase()]=t:e[t]=n,e},{});e.BOOLEAN=i,e.BOOLEANISH_STRING=r,e.NUMERIC=o,e.OVERLOADED_BOOLEAN=a,e.POSITIVE_NUMERIC=s,e.RESERVED=t,e.STRING=n,e.getPropertyInfo=c,e.isCustomAttribute=_,e.possibleStandardNames=v})),eV=s(((e,t)=>{var n=/\/\*(?:[^*]|\*(?!\/))*\*\//g,r=/\n/g,i=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\.|[^'\\])*'|"(?:\\.|[^"\\])*"|url\((?:'(?:\\.|[^'\\])*'|"(?:\\.|[^"\\])*"|[^)]*)\)|[^};])+)/,c=/^[;\s]*/;function l(e,t){if(typeof e!=`string`)throw TypeError(`First argument must be a string`);if(!e)return[];t||={};var l=1,u=1;function d(e){var t=e.match(r);t&&(l+=t.length);var n=e.lastIndexOf(`
44`);u=~n?e.length-n:u+e.length}function f(){var e={line:l,column:u};return function(t){return t.position=new p(e),g(),t}}function p(e){this.start=e,this.end={line:l,column:u},this.source=t.source}p.prototype.content=e;function m(n){var r=Error(t.source+`:`+l+`:`+u+`: `+n);if(r.reason=n,r.filename=t.source,r.line=l,r.column=u,r.source=e,!t.silent)throw r}function h(t){var n=t.exec(e);if(n){var r=n[0];return d(r),e=e.slice(r.length),n}}function g(){h(i)}function _(e){for(var t;t=v();)e.push(t);return e}function v(){var t=f();if(e.charAt(0)==`/`&&e.charAt(1)==`*`){for(var n=2;e.charAt(n)!=``&&(e.charAt(n)!=`*`||e.charAt(n+1)!=`/`);)++n;if(n+=2,e.charAt(n-1)===``)return m(`End of comment missing`);var r=e.slice(2,n-2);return u+=2,d(r),e=e.slice(n),u+=2,t({type:`comment`,comment:r})}}function y(){var e=f(),t=h(a);
44if(t){if(v(),!h(o))return m(`property missing ':'`);var r=h(s),i=e({type:`declaration`,property:t[0].replace(n,``).trim(),value:r?r[0].replace(n,``).trim():``});return h(c),i}}function b(){var e=[];_(e);for(var t;t=y();)e.push(t),_(e);return e}return g(),b()}t.exports=l})),tV=s(((e,t)=>{var n=Object.create,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,c=(e,t,n,o)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=a(t),l=0,u=c.length,d;l<u;l++)d=c[l],!s.call(e,d)&&d!==n&&r(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(o=i(t,d))||o.enumerable});return e},l=(e,t,i)=>(i=e==null?{}:n(o(e)),c(t||!e||!e.__esModule?r(i,`default`,{value:e,enumerable:!0}):i,e)),u=eV();u=l(u);function d(e,t){let n=null;if(!e||typeof e!=`string`)return n;let r=(0,u.default)(e),i=typeof t==`function`;return r.forEach(e=>{if(e.type!==`declaration`)return;let{property:r,value:a}=e;i?t(r,a,e):a&&(n??={},n[r]=a)}),n}t.exports=d})),nV=s(((e,t)=>{var n=Object.create,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,c=(e,t,n,o)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=a(t),l=0,u=c.length,d;l<u;l++)d=c[l],!s.call(e,d)&&d!==n&&r(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(o=i(t,d))||o.enumerable});return e},l=(e,t,i)=>(i=e==null?{}:n(o(e)),c(t||!e||!e.__esModule?r(i,`default`,{value:e,enumerable:!0}):i,e)),u=tV();u=l(u);var d=/^--[a-zA-Z0-9_-]+$/,f=/-([a-z])/g,p=/^[^-]+$/,m=/^-(webkit|moz|ms|o|khtml)-/,h=/^-(ms)-/,g=e=>!e||p.test(e)||d.test(e),_=(e,t)=>t.toUpperCase(),v=(e,t)=>`${t}-`,y=(e,t={})=>g(e)?e:(e=e.toLowerCase(),e=t.reactCompat?e.replace(h,v):e.replace(m,v),e.replace(f,_));function b(e,t){let n={};return!e||typeof e!=`string`||(0,u.default)(e,(e,r)=>{e&&r&&(n[y(e,t)]=r)}),n}t.exports=b})),rV=s((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.returnFirstArg=e.canTextBeChildOfNode=e.ELEMENTS_WITH_NO_TEXT_CHILDREN=e.PRESERVE_CUSTOM_ATTRIBUTES=void 0,e.isCustomComponent=a,e.setStyleProp=s;var n=zb(),r=t(nV()),i=new Set([`annotation-xml`,`color-profile`,`font-face`,`font-face-src`,`font-face-uri`,`font-face-format`,`font-face-name`,`missing-glyph`]);function a(e,t){return e.includes(`-`)?!i.has(e):!!(t&&typeof t.is==`string`)}var o={reactCompat:!0};function s(e,t){if(typeof e==`string`){if(!e.trim()){t.style={};return}try{t.style=(0,r.default)(e,o)}catch{t.style={}}}}e.PRESERVE_CUSTOM_ATTRIBUTES=Number(n.version.split(`.`)[0])>=16,e.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set([`tr`,`tbody`,`thead`,`tfoot`,`colgroup`,`table`,`head`,`html`,`frameset`]),e.canTextBeChildOfNode=t=>!e.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(t.name),e.returnFirstArg=e=>e})),iV=s((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=$B(),n=rV(),r=[`checked`,`value`],i=[`input`,`select`,`textarea`],a={reset:!0,submit:!0};function o(e={},o){let c={},l=!!(e.type&&a[e.type]);for(let a in e){let u=e[a];if((0,t.isCustomAttribute)(a)){c[a]=u;continue}let d=a.toLowerCase(),f=s(d);if(f){let e=(0,t.getPropertyInfo)(f);switch(r.includes(f)&&i.includes(o)&&!l&&(f=s(`default`+d)),c[f]=u,e?.type){case t.BOOLEAN:c[f]=!0;break;case t.OVERLOADED_BOOLEAN:u===``&&(c[f]=!0)}continue}n.PRESERVE_CUSTOM_ATTRIBUTES&&(c[a]=u)}return(0,n.setStyleProp)(e.style,c),c}function s(e){return t.possibleStandardNames[e]}}));function aV(e){return e.type===oV.Tag||e.type===oV.Script||e.type===oV.Style}var oV,sV=o((()=>{(function(e){e.Root=`root`,e.Text=`text`,e.Directive=`directive`,e.Comment=`comment`,e.Script=`script`,e.Style=`style`,e.Tag=`tag`,e.CDATA=`cdata`,e.Doctype=`doctype`})(oV||={}),oV.Root,oV.Text,oV.Directive,oV.Comment,oV.Script,oV.Style,oV.Tag,oV.CDATA,oV.Doctype}));function cV(e){return aV(e)}function lV(e){return e.type===oV.CDATA}function uV(e){return e.type===oV.Text}function dV(e){return e.type===oV.Comment}function fV(e){return e.type===oV.Directive}function pV(e){return e.type===oV.Root}function mV(e){return Object.hasOwn(e,`children`)}function hV(e,t=!1){let n;if(uV(e))n=new yV(e.data);else if(dV(e))n=new bV(e.data);else if(cV(e)){let r=t?gV(e.children):[],i=new TV(e.name,{...e.attribs},r);for(let e of r)e.parent=i;e.namespace!=null&&(i.namespace=e.namespace),e[`x-attribsNamespace`]&&(i[`x-attribsNamespace`]={...e[`x-attribsNamespace`]}),e[`x-attribsPrefix`]&&(i[`x-attribsPrefix`]={...e[`x-attribsPrefix`]}),n=i}else if(lV(e)){let r=t?gV(e.children):[],i=new CV(r);for(let e of r)e.parent=i;n=i}else if(pV(e)){let r=t?gV(e.children):[],i=new wV(r);for(let e of r)e.parent=i;e[`x-mode`]&&(i[`x-mode`]=e[`x-mode`]),n=i}else if(fV(e)){let t=new xV(e.name,e.data);e[`x-name`]!=null&&(t[`x-name`]=e[`x-name`],t[`x-publicId`]=e[`x-publicId`],t[`x-systemId`]=e[`x-systemId`]),n=t}else throw Error(`Not implemented yet: ${e.type}`);return n.startIndex=e.startIndex,n.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function gV(e){let t=e.map(e=>hV(e,!0));for(let e=1;e<t.length;e++)t[e].prev=t[e-1],t[e-1].next=t[e];return t}var _V,vV,yV,bV,xV,SV,CV,wV,TV,EV=o((()=>{sV(),_V=class{parent=null;prev=null;next=null;startIndex=null;endIndex=null;get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return hV(this,e)}},vV=class extends _V{data;constructor(e){super(),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}},yV=class extends vV{type=oV.Text;get nodeType(){return 3}},bV=class extends vV{type=oV.Comment;get nodeType(){return 8}},xV=class extends vV{type=oV.Directive;name;constructor(e,t){super(t),this.name=e}get nodeType(){return 1}"x-name";"x-publicId";"x-systemId"},SV=class extends _V{children;constructor(e){super(),this.children=e}get firstChild(){return this.children[0]??null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}}
44,CV=class extends SV{type=oV.CDATA;get nodeType(){return 4}},wV=class extends SV{type=oV.Root;get nodeType(){return 9}},TV=class extends SV{name;attribs;type;constructor(e,t,n=[],r=e===`script`?oV.Script:e===`style`?oV.Style:oV.Tag){super(n),this.name=e,this.attribs=t,this.type=r}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map(e=>({name:e,value:this.attribs[e],namespace:this[`x-attribsNamespace`]?.[e],prefix:this[`x-attribsPrefix`]?.[e]}))}namespace;"x-attribsNamespace";"x-attribsPrefix"}})),DV=c({CDATA:()=>CV,Comment:()=>bV,DataNode:()=>vV,Document:()=>wV,DomHandler:()=>kV,Element:()=>TV,Node:()=>_V,NodeWithChildren:()=>SV,ProcessingInstruction:()=>xV,Text:()=>yV,cloneNode:()=>hV,default:()=>kV,hasChildren:()=>mV,isCDATA:()=>lV,isComment:()=>dV,isDirective:()=>fV,isDocument:()=>pV,isTag:()=>cV,isText:()=>uV}),OV,kV,AV=o((()=>{sV(),EV(),EV(),OV={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},kV=class{dom=[];root=new wV(this.dom);callback;options;elementCB;done=!1;tagStack=[this.root];lastNode=null;parser=null;constructor(e,t,n){typeof t==`function`&&(n=t,t=OV),typeof e==`object`&&(t=e,e=void 0),this.callback=e??null,this.options=t??OV,this.elementCB=n??null}onparserinit(e){this.parser=e}onreset(){this.dom=[],this.root=new wV(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(e){this.handleCallback(e)}onclosetag(){this.lastNode=null;let e=this.tagStack.pop();this.options.withEndIndices&&this.parser&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)}onopentag(e,t){let n=this.options.xmlMode?oV.Tag:void 0,r=new TV(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)}ontext(e){let{lastNode:t}=this;if(t&&t.type===oV.Text)t.data+=e,this.options.withEndIndices&&this.parser&&(t.endIndex=this.parser.endIndex);else{let t=new yV(e);this.addNode(t),this.lastNode=t}}oncomment(e){if(this.lastNode&&this.lastNode.type===oV.Comment){this.lastNode.data+=e;return}let t=new bV(e);this.addNode(t),this.lastNode=t}oncommentend(){this.lastNode=null}oncdatastart(){let e=new yV(``),t=new CV([e]);this.addNode(t),e.parent=t,this.lastNode=e}oncdataend(){this.lastNode=null}onprocessinginstruction(e,t){let n=new xV(e,t);this.addNode(n)}handleCallback(e){if(typeof this.callback==`function`)this.callback(e,this.dom);else if(e)throw e}addNode(e){let t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&this.parser&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&this.parser&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null}}})),jV=s((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var n=(AV(),d(DV)),r=zb(),i=t(iV()),a=rV(),o={cloneElement:r.cloneElement,createElement:r.createElement,isValidElement:r.isValidElement};function s(e,t={}){let n=[],r=typeof t.replace==`function`,u=t.transform??a.returnFirstArg,{cloneElement:d,createElement:f,isValidElement:p}=t.library??o,m=e.length;c(e);for(let o=0;o<m;o++){let c=e[o];if(r){let e=t.replace?.call(t,c,o);if(p(e)){m>1&&(e=d(e,{key:e.key??o})),n.push(u(e,c,o));continue}}if(c.type===`text`){let e=!c.data.trim().length;if(e&&c.parent&&!(0,a.canTextBeChildOfNode)(c.parent)||t.trim&&e)continue;n.push(u(c.data,c,o));continue}let h=c,g={};l(h)?((0,a.setStyleProp)(h.attribs.style,h.attribs),g=h.attribs):h.attribs&&(g=(0,i.default)(h.attribs,h.name));let _;switch(c.type){case`script`:case`style`:c.children[0]&&(g.dangerouslySetInnerHTML={__html:c.children[0].data});break;case`tag`:c.name===`textarea`&&c.children[0]?g.defaultValue=c.children[0].data:c.children?.length&&(_=s(c.children,t));break;default:continue}m>1&&(g.key=o),n.push(u(f(c.name,g,_),c,o))}return n.length===1?n[0]:n}function c(e){for(let t of e)switch(t.type){case`tag`:case`script`:case`style`:Object.setPrototypeOf(t,n.Element.prototype),c(t.children);break;case`text`:Object.setPrototypeOf(t,n.Text.prototype);break;case`comment`:Object.setPrototypeOf(t,n.Comment.prototype)}}function l(e){return a.PRESERVE_CUSTOM_ATTRIBUTES&&e.type===`tag`&&(0,a.isCustomComponent)(e.name,e.attribs)}})),MV=u(s((e=>
44{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.htmlToDOM=e.domToReact=e.attributesToProps=e.Text=e.ProcessingInstruction=e.Element=e.Comment=void 0,e.default=o;var n=t(ZB());e.htmlToDOM=n.default,e.attributesToProps=t(iV()).default;var r=t(jV());e.domToReact=r.default;var i=(AV(),d(DV));Object.defineProperty(e,"Comment",{enumerable:!0,get:function(){return i.Comment}}),Object.defineProperty(e,"Element",{enumerable:!0,get:function(){return i.Element}}),Object.defineProperty(e,"ProcessingInstruction",{enumerable:!0,get:function(){return i.ProcessingInstruction}}),Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return i.Text}});var a={lowerCaseAttributeNames:!1};function o(e,t){if(typeof e!=`string`)throw TypeError(`First argument must be a string`);if(!e)return[];let i=Object.assign(Object.assign({},t?.htmlparser2??a),{trustedTypePolicy:t?.trustedTypePolicy});return(0,r.default)((0,n.default)(e,i),t)}}))(),1),NV=MV.default.default||MV.default,PV=e=>{let{html:t,eventsListenerClick:n}=e;if(!t)return(0,Y.jsx)(Y.Fragment,{children:`NOT HTML`});let r={replace:e=>{if(e instanceof MV.Element){let t=n?.filter(t=>e.attribs?.class?.includes(t.className))[0];if(t)return(0,Y.jsx)(`a`,{href:`#actice_event_${t.className}`,onClick:e=>(e.preventDefault(),t.eventClick(e)),children:(0,MV.domToReact)(e.children,r)})}}};return(0,Y.jsx)(Y.Fragment,{children:NV(t,r)})},FV=e=>{let{namePhrase:t,defaultPhrase:n,parseConfig:r,eventsListenerClick:i,CustomLayout:a}=e,{phrases:o,isViewDefaultPhrases:s,isViewNamePhrases:c,isViewNotParsePhrases:l}=aM(e=>({...e.phrasesStore})),u=n;if(o&&t&&o[t]&&(u=o[t]),c)return t?(0,Y.jsx)(Y.Fragment,{children:t}):(0,Y.jsx)(Y.Fragment,{children:cw});s&&(u=n),r&&!l&&Object.keys(r).forEach(e=>{u=u.replaceAll(e,r[e])});let d=(0,Y.jsx)(PV,{html:u,eventsListenerClick:i});return a?(0,Y.jsx)(a,{children:d}):d},IV=()=>(0,Y.jsx)(`div`,{className:`loader-calculator`,children:(0,Y.jsx)(EM,{})}),LV=e=>(0,Y.jsx)(`svg`,{width:15,height:15,viewBox:`0 0 15 15`,fill:`#B8BDE7`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,Y.jsx)(`path`,{d:`M15 1.76757L13.2324 0L7.49998 5.73241L1.76757 0L0 1.76757L5.73241 7.49998L0 13.2324L1.76757 15L7.49998 9.26759L13.2324 15L15 13.2324L9.26759 7.49998L15 1.76757Z`})}),RV=e=>(0,Y.jsxs)(`svg`,{width:70,height:129,viewBox:`0 0 70 129`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,Y.jsx)(`circle`,{cx:25.2378,cy:38.0949,r:2.61301,fill:`#FFB800`}),(0,Y.jsx)(`circle`,{cx:13.9605,cy:38.0949,r:2.61301,fill:`#FFB800`}),(0,Y.jsx)(`circle`,{cx:2.68338,cy:38.0949,r:2.61301,fill:`#FFB800`}),(0,Y.jsx)(`circle`,{cx:25.2378,cy:28.7431,r:2.61301,fill:`#FFB800`}),(0,Y.jsx)(`circle`,{cx:13.9605,cy:28.7431,r:2.61301,fill:`#FFB800`}),(0,Y.jsx)(`circle`,{cx:25.2378,cy:47.4467,r:2.61301,fill:`#FFB800`}),(0,Y.jsx)(`circle`,{cx:13.9605,cy:47.4467,r:2.61301,fill:`#FFB800`}),(0,Y.jsx)(`circle`,{cx:2.68338,cy:47.4467,r:2.61301,fill:`#FFB800`}),(0,Y.jsx)(`circle`,{cx:25.2378,cy:56.7985,r:2.61301,fill:`#FFB800`}),(0,Y.jsx)(`circle`,{cx:13.9605,cy:56.7985,r:2.61301,fill:`#FFB800`}),(0,Y.jsx)(`circle`,{cx:2.68338,cy:56.7985,r:2.61301,fill:`#FFB800`}),(0,Y.jsx)(`circle`,{cx:25.2378,cy:66.1503,r:2.61301,fill:`#FFB800`}),(0,Y.jsx)(`circle`,{cx:13.9605,cy:66.1503,r:2.61301,fill:`#FFB800`}),(0,Y.jsx)(`circle`,{cx:2.68338,cy:66.1503,r:2.61301,fill:`#FFB800`}),(0,Y.jsx)(`circle`,{cx:25.2378,cy:75.5021,r:2.61301,fill:`#FFB800`}),(0,Y.jsx)(`circle`,{cx:13.9605,cy:75.5021,r:2.61301,fill:`#FFB800`}),(0,Y.jsx)(`circle`,{cx:49.3049,cy:101.495,r:19.8038,fill:`url(#paint0_linear_6490_43671)`}),(0,Y.jsx)(`path`,{d:`M25.8645 15.1703C25.5257 8.41406 30.9123 2.75053 37.677 2.75053H42.8304C49.5796 2.75053 54.9604 8.38909 54.6448 15.1309L51.3365 85.8053C51.0623 91.6616 46.2345 96.2687 40.3718 96.2687C34.5233 96.2687 29.702 91.683 29.409 85.8419L25.8645 15.1703Z`,fill:`white`,stroke:`#4A4F75`,strokeWidth:5.50107}),(0,Y.jsx)(`circle`,{cx:40.2281,cy:115.247,r:11.0021,fill:`white`,stroke:`#4A4F75`,strokeWidth:5.50107}),(0,Y.jsx)(`defs`,{children:(0,Y.jsxs)(`linearGradient`,{id:`paint0_linear_6490_43671`,x1:44.2164,y1:99.8443,x2:57.8315,y2:116.76,gradientUnits:`userSpaceOnUse`,children:[(0,Y.jsx)(`stop`,{stopColor:`white`}),(0,Y.jsx)(`stop`,{offset:1,stopColor:`#FFB800`})]})})]}),zV=e=>
44(0,Y.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:15,height:17,viewBox:`0 0 15 17`,fill:`none`,...e,children:[(0,Y.jsx)(`path`,{d:`M4.53125 2.55005V1.0188C4.53125 0.759766 4.74084 0.550049 5 0.550049H13.5M4.53125 10.8339C4.53125 10.9807 4.53125 12.8674 4.53125 12.7688C4.53125 13.028 4.74084 13.2376 5 13.2376H10.5`,stroke:`white`,strokeWidth:1.1,strokeLinecap:`round`,strokeLinejoin:`round`}),(0,Y.jsx)(`path`,{d:`M3.34277 4.55957C3.5677 4.33934 3.93229 4.33936 4.15723 4.55957L6.03125 6.39941C6.08449 6.45168 6.12683 6.51489 6.15625 6.58398C6.2139 6.72112 6.21404 6.87664 6.15625 7.01367C6.12684 7.08323 6.08426 7.14578 6.03125 7.19727L4.15723 9.03711C4.04526 9.14759 3.89768 9.20215 3.75 9.20215C3.60246 9.20214 3.45567 9.14739 3.34375 9.03711H3.34277C3.11868 8.81759 3.11876 8.4615 3.34277 8.24121L4.15137 7.44727L4.23828 7.3623H0.625C0.306287 7.3623 0.0500285 7.10884 0.0498047 6.79883C0.0498047 6.48863 0.306148 6.23535 0.625 6.23535H4.23828L4.15137 6.14941L3.34277 5.35645V5.35547C3.11891 5.13583 3.11857 4.77973 3.34277 4.55957Z`,fill:`white`,stroke:`white`,strokeWidth:.1}),(0,Y.jsx)(`path`,{d:`M13.3125 0.564697C13.3661 0.543447 13.4398 0.543344 13.4932 0.56665V0.567627C13.496 0.568885 13.4987 0.570348 13.501 0.571533V12.7161C13.4996 12.7168 13.4986 12.7183 13.4971 12.719L13.4766 12.7288L13.4561 12.7405L8.68652 15.5344C8.63237 15.5556 8.55869 15.5559 8.50586 15.5325C8.50326 15.5313 8.50118 15.5297 8.49902 15.5286V3.38306C8.50023 3.38245 8.50158 3.38173 8.50293 3.3811L8.52344 3.37134L8.54297 3.35962L13.3125 0.564697Z`,fill:`white`,stroke:`white`,strokeWidth:.998048})]}),BV=e=>(0,Y.jsxs)(`svg`,{width:146,height:40,viewBox:`0 0 146 40`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,Y.jsxs)(`g`,{clipPath:`url(#clip0_16649_611)`,children:[(0,Y.jsx)(`path`,{d:`M140.199 6.98403C140.106 6.87237 139.991 6.78021 139.861 6.71312C139.731 6.64604 139.588 6.60543 139.441 6.59376C139.294 6.58209 139.147 6.59961 139.007 6.64525C138.867 6.69088 138.739 6.76369 138.629 6.85925C138.519 6.95481 138.43 7.07113 138.367 7.20116C138.305 7.33119 138.27 7.47222 138.266 7.6157C138.261 7.75917 138.286 7.9021 138.34 8.03582C138.393 8.16954 138.474 8.29126 138.577 8.3936V8.3936C141.422 11.4935 143.026 15.4876 143.097 19.6456C143.169 23.8036 141.702 27.8477 138.966 31.0385C136.229 34.2293 132.406 36.3536 128.194 37.0229C123.983 37.6923 119.665 36.862 116.031 34.6839C112.396 32.5058 109.687 29.1254 108.399 25.1607C107.111 21.1961 107.33 16.9121 109.017 13.0921C110.703 9.27205 113.744 6.17123 117.583 4.35656C121.422 2.54188 125.804 2.13461 129.926 3.2092V3.2092C130.014 3.23315 130.106 3.24594 130.197 3.24725C130.461 3.24731 130.716 3.15419 130.914 2.98516C131.113 2.81613 131.242 2.58267 131.277 2.32808C131.312 2.07349 131.252 1.81506 131.106 1.60072C130.961 1.38638 130.741 1.23068 130.487 1.1625V1.1625C128.796 0.722505 127.054 0.499785 125.305 0.5C114.272 0.5 105.297 9.2478 105.297 20C105.297 30.7522 114.272 39.5 125.305 39.5C136.337 39.5 145.317 30.7522 145.317 20C145.318 15.1942 143.495 10.5579 140.199 6.98403V6.98403Z`,fill:`#FF9900`}),(0,Y.jsx)(`path`,{d:`M111.573 16.6567V27.5019H113.429V22.9222H113.459C113.938 23.6453 114.881 24.0978 115.918 24.0978C118.174 24.0978 119.566 22.3499 119.566 20.2412C119.566 18.1015 118.082 16.4452 115.964 16.4452C114.603 16.4452 113.769 17.0936 113.399 17.6659H113.354V16.6567H111.573ZM115.546 17.9253C116.984 17.9253 117.68 19.1149 117.68 20.2454C117.68 21.3759 116.984 22.5952 115.546 22.5952C114.187 22.5952 113.367 21.4055 113.367 20.275C113.367 19.1445 114.185 17.921 115.545 17.921L115.546 17.9253Z`,fill:`#FF9900`}),(0,Y.jsx)(`path`,{d:`M123.242 12.4983H121.386V23.8862H123.242V12.4983Z`,fill:`#FF9900`}),(0,Y.jsx)(`path`,{d:`M132.268 23.8862V16.6551H130.42V20.6315C130.42 21.5956 129.863 22.5894 128.684 22.5894C127.506 22.5894 127.293 21.5195 127.293 20.6611V16.6565H125.436V21.1756C125.436 22.6514 126.24 24.0976 128.172 24.0976C129.27 24.0976 130.151 23.4492 130.475 22.7275H130.505V23.8876L132.268 23.8862Z`,fill:`#FF9900`}),(0,Y.jsx)(`path`,{d:`M136.935 17.8012C137.249 17.8057 137.557 17.8784 137.838 18.014C138.119 18.1496 138.365 18.3447 138.558 18.5849L139.764 17.5447C139.161 16.8061 138.049 16.4452 136.982 16.4452C135.514 16.4452 134.03 17.1373 134.03 18.7499C134.03 20.1059 135.127 20.5428 136.225 20.798C137.353 21.0545 137.925 21.2349 137.925 21.8368C137.925 22.4852 137.27
445 22.6953 136.734 22.6953C136.368 22.6949 136.007 22.6133 135.677 22.4568C135.348 22.3003 135.06 22.0729 134.834 21.7917L133.613 22.9123C134.325 23.6805 135.514 24.102 136.658 24.102C138.28 24.102 139.748 23.4536 139.748 21.6916C139.748 20.2821 138.447 19.793 137.352 19.5378C136.316 19.2968 135.745 19.146 135.745 18.5892C135.745 18.0324 136.35 17.8012 136.935 17.8012Z`,fill:`#FF9900`}),(0,Y.jsx)(`path`,{d:`M132.495 6.01004H133.784V7.26597C133.784 7.54803 133.899 7.81855 134.104 8.01799C134.308 8.21744 134.586 8.32949 134.875 8.32949C135.165 8.32949 135.442 8.21744 135.647 8.01799C135.852 7.81855 135.967 7.54803 135.967 7.26597V6.01004H137.255C137.545 6.01004 137.822 5.89799 138.027 5.69855C138.231 5.4991 138.346 5.22859 138.346 4.94652C138.346 4.66446 138.231 4.39395 138.027 4.1945C137.822 3.99505 137.545 3.883 137.255 3.883H135.967V2.62707C135.967 2.34501 135.852 2.0745 135.647 1.87505C135.442 1.6756 135.165 1.56355 134.875 1.56355C134.586 1.56355 134.308 1.6756 134.104 1.87505C133.899 2.0745 133.784 2.34501 133.784 2.62707V3.883H132.495C132.206 3.883 131.928 3.99505 131.724 4.1945C131.519 4.39395 131.404 4.66446 131.404 4.94652C131.404 5.22859 131.519 5.4991 131.724 5.69855C131.928 5.89799 132.206 6.01004 132.495 6.01004Z`,fill:`#FF9900`}),(0,Y.jsx)(`path`,{d:`M2.93793 31.3076H0.6875V14.6436H2.8902V16.3704H2.96252C3.70447 15.2032 5.18981 14.3406 7.05698 14.3406C10.4341 14.3406 12.7322 16.8778 12.7322 20.1522C12.7322 23.3943 10.5049 26.0104 7.00925 26.0104C5.40531 26.0104 3.84765 25.2873 3.01025 24.0497H2.93793V31.3076ZM6.62598 16.1603C4.32637 16.1603 2.79475 18.0506 2.79475 20.1748C2.79475 22.299 4.32782 24.1653 6.62598 24.1653C9.09191 24.1653 10.4095 22.2285 10.4095 20.1508C10.4095 18.0731 9.09336 16.1603 6.62598 16.1603Z`,fill:`#333D45`}),(0,Y.jsx)(`path`,{d:`M21.2334 26.0131C17.7623 26.0131 15.1272 23.5619 15.1272 20.155C15.1272 16.748 17.7609 14.3433 21.2334 14.3433C24.706 14.3433 27.3643 16.7466 27.3643 20.155C27.3643 23.5633 24.706 26.0131 21.2334 26.0131ZM21.2334 16.1645C18.8152 16.1645 17.4499 18.0547 17.4499 20.155C17.4499 22.2552 18.8152 24.1694 21.2334 24.1694C23.6762 24.1694 25.017 22.2552 25.017 20.155C25.017 18.0547 23.6762 16.1602 21.2334 16.1602V16.1645Z`,fill:`#333D45`}),(0,Y.jsx)(`path`,{d:`M38.5704 16.4408L32.1054 23.8622H38.8351V25.706H29.3242V23.9088L35.7414 16.438H29.6395V14.6436H38.5718L38.5704 16.4408ZM34.2416 12.0585C33.9583 12.0474 33.6846 11.9555 33.4545 11.794C33.2244 11.6326 33.048 11.4088 32.9474 11.1504C32.8467 10.8921 32.8262 10.6106 32.8884 10.341C32.9505 10.0714 33.0926 9.82552 33.297 9.63399C33.5014 9.44245 33.7591 9.31369 34.0379 9.26372C34.3168 9.21375 34.6046 9.24476 34.8655 9.35291C35.1264 9.46105 35.349 9.64156 35.5055 9.87198C35.662 10.1024 35.7455 10.3726 35.7458 10.6489C35.7431 10.8381 35.702 11.0248 35.6248 11.1984C35.5476 11.372 35.4357 11.5288 35.2958 11.66C35.1559 11.7911 34.9907 11.8938 34.8097 11.9622C34.6288 12.0306 34.4357 12.0634 34.2416 12.0585V12.0585Z`,fill:`#333D45`}),(0,Y.jsx)(`path`,{d:`M45.851 23.3252H45.8987L49.0358 14.6437H51.4308L45.9233 28.3165C45.1814 30.1602 44.2225 31.3034 41.9966 31.3034C41.4967 31.3054 40.9982 31.2505 40.5113 31.1399L40.7268 29.2032C41.0897 29.322 41.4692 29.3852 41.852 29.3906C43.025 29.3906 43.4805 28.7366 43.9593 27.5469L44.6824 25.7032L39.8214 14.6409H42.3365L45.851 23.3252Z`,fill:`#333D45`}),(0,Y.jsx)(`path`,{d:`M61.5607 17.4443C61.082 16.7212 60.0277 16.1841 58.9574 16.1841C56.6101 16.1841 55.2462 18.0518 55.2462 20.1746C55.2462 22.2749 56.6115 24.1651 58.982 24.1651C60.1318 24.1651 61.1138 23.6985 61.7126 22.9515L63.2211 24.2821C62.255 25.3562 60.7942 26.0131 58.9733 26.0131C55.4776 26.0131 52.8671 23.7028 52.8671 20.1788C52.8671 16.7014 55.453 14.3446 58.9256 14.3446C60.5295 14.3446 62.2521 14.9747 63.1878 16.1644L61.5607 17.4443Z`,fill:`#333D45`}),(0,Y.jsx)(`path`,{d:`M73.5331 16.441L67.0725 23.8624H73.8021V25.7061H64.2898V23.9089L70.707 16.4382H64.6007V14.6438H73.5331V16.441Z`,fill:`#333D45`}),(0,Y.jsx)(`path`,{d:`M78.8018 19.4517H78.8741L83.6397 14.6437H86.6552L81.3386 19.6617L87.1093 25.706H83.994L78.8698 19.9648H78.7975V25.706H76.5499V8.06236H78.8018V19.4517Z`,fill:`#333D45`}),(0,Y.jsx)(`path`,{d:`M96.043 18.5424C96.043 16.9087 94.9178 16.1151 93.2415 16.1151C92.0344 16.1208 90.8762 16.5808 90.009 17.3993L88.8115 15.9996C89.9136 14.972 91.613 14.3419 93.457 14.3419C96.7141 14.3419 98.198 16.2321 98.198 18.6834V23.514C98.198 24.2611 98.2457 25.1716 98.3657 25.7073H96.3308C96.2077 25.1862 96.1446 24.6534 96.1428 24.1187H96.0705C95.2562 25.3084 93.9632 25.9864 92.2624 25.9864C90.4661 25.9864 88.1433 25.1223 88.1433 22.5794C88.1433 19.2416 92.2146 18.8455 96.0459 18.8455L96.043 18.5424ZM95.4919 20.4312C93.2646 20.4312 90.4386 20.6652 90.4386 22.5315C90.4386 23.8382 91.6361 24.2582 92.7613 24.2582C94.8686 24.2582 96.0415 22.8811 96.0415 21.0162V20.4312H95.4919Z`,fill:`#333D45`})]}),(0,Y.jsx)(`defs`,{children:(0,Y.jsx)(`clipPath`,{id:`clip0_16649_611`,children:(0,Y.jsx)(`rect`,{width:144.625,height:39,fill:`white`,transform:`translate(0.6875 0.5)`})})})]}),VV=e=>
44(0,Y.jsxs)(`svg`,{width:110,height:36,viewBox:`0 0 110 36`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,Y.jsx)(`path`,{d:`M53.0412 29.5929C53.0412 30.5652 52.8108 31.3878 52.3499 31.9861C51.889 32.5844 51.2745 32.8835 50.4295 32.8835C49.5846 32.8835 48.97 32.6592 48.5092 32.1357V35.2767H47.3569V26.2276H48.4323L48.5092 26.9754C48.97 26.3771 49.5846 26.1528 50.4295 26.1528C51.1977 26.1528 51.889 26.4519 52.3499 27.0502C52.8108 27.6485 53.0412 28.4712 53.0412 29.5182V29.5929ZM51.889 29.4434C51.889 28.6955 51.7354 28.0972 51.4281 27.7233C51.1209 27.2746 50.66 27.0502 50.1223 27.0502C49.4309 27.0502 48.8932 27.3494 48.586 27.9476V31.0887C48.8932 31.687 49.4309 31.9861 50.1223 31.9861C50.66 31.9861 51.1209 31.7617 51.4281 31.3878C51.7354 30.9391 51.889 30.3408 51.889 29.4434Z`,fill:`#B8BDE7`}),(0,Y.jsx)(`path`,{d:`M54.8076 29.4431C54.8076 28.77 54.9613 28.2465 55.1917 27.723C55.4222 27.1995 55.8062 26.8256 56.2671 26.5265C56.728 26.2273 57.2657 26.0777 57.8034 26.0777C58.7252 26.0777 59.4165 26.3769 60.031 26.9752C60.5687 27.5735 60.876 28.3961 60.876 29.4431V29.5179C60.876 30.1162 60.7224 30.7145 60.4919 31.238C60.2615 31.7615 59.8774 32.1354 59.4165 32.4346C58.9556 32.7337 58.4179 32.8833 57.8034 32.8833C56.8816 32.8833 56.1903 32.5841 55.5758 31.9858C55.0381 31.3876 54.7308 30.5649 54.7308 29.5179V29.4431H54.8076ZM55.9599 29.5927C55.9599 30.3406 56.1135 30.8641 56.4976 31.3128C56.8048 31.7615 57.2657 31.9858 57.8802 31.9858C58.4947 31.9858 58.9556 31.7615 59.2629 31.3128C59.5702 30.8641 59.8006 30.2658 59.8006 29.4431C59.8006 28.6953 59.647 28.1717 59.2629 27.723C58.8788 27.2743 58.4179 27.05 57.8802 27.05C57.3425 27.05 56.8816 27.2743 56.4976 27.723C56.1135 28.1717 55.9599 28.77 55.9599 29.5927Z`,fill:`#B8BDE7`}),(0,Y.jsx)(`path`,{d:`M63.9485 31.911H67.866V32.8085H62.5658V31.9858L66.2529 27.1995H62.6426V26.3021H67.7124V27.1247L63.9485 31.911ZM64.4862 24.582C64.4862 24.4324 64.563 24.2828 64.6398 24.1333C64.7166 23.9837 64.947 23.9837 65.1775 23.9837C65.4079 23.9837 65.5616 24.0585 65.7152 24.1333C65.8688 24.208 65.8688 24.4324 65.8688 24.582C65.8688 24.7315 65.792 24.8811 65.7152 25.0307C65.5616 25.1803 65.4079 25.1803 65.1775 25.1803C64.947 25.1803 64.7934 25.1055 64.6398 25.0307C64.563 24.8811 64.4862 24.7315 64.4862 24.582Z`,fill:`#B8BDE7`}),(0,Y.jsx)(`path`,{d:`M72.0142 31.1616L73.5505 26.3005H74.7795L72.091 33.8539C71.707 34.9009 71.0156 35.4992 70.0938 35.4992H69.8634L69.4025 35.4244V34.4522H69.7098C70.0938 34.4522 70.4011 34.3774 70.6315 34.2278C70.862 34.0782 71.0156 33.7791 71.1693 33.4051L71.3997 32.7321L69.0184 26.3005H70.2475L72.0142 31.1616Z`,fill:`#B8BDE7`}),(0,Y.jsx)(`path`,{d:`M79.0048 31.9841C79.3889 31.9841 79.773 31.8345 80.0802 31.6101C80.3875 31.3858 80.5411 31.0866 80.6179 30.7127H81.6933C81.6933 31.0866 81.5397 31.4606 81.3092 31.7597C81.0788 32.1336 80.7716 32.358 80.3107 32.5823C79.9266 32.8067 79.4657 32.8815 79.0048 32.8815C78.083 32.8815 77.3917 32.5823 76.854 31.9841C76.3163 31.3858 76.009 30.5631 76.009 29.5909V29.4413C76.009 28.843 76.1627 28.2447 76.3931 27.7212C76.6236 27.1977 77.0076 26.8238 77.3917 26.5994C77.8526 26.3003 78.3903 26.2255 79.0048 26.2255C79.773 26.2255 80.3875 26.4499 80.8484 26.8986C81.3093 27.3473 81.6165 27.8708 81.6165 28.6187H80.5411C80.5411 28.17 80.3107 27.8708 80.0802 27.5717C79.773 27.2725 79.3889 27.1977 79.0048 27.1977C78.3903 27.1977 78.0062 27.4221 77.6221 27.796C77.3149 28.17 77.1613 28.7683 77.1613 29.5909V29.8153C77.1613 30.5631 77.3149 31.1614 77.6221 31.5353C78.0062 31.7597 78.4671 31.9841 79.0048 31.9841Z`,fill:`#B8BDE7`}),(0,Y.jsx)(`path`,{d:`M84.6886 31.9094H88.6061V32.8069H83.3059V31.9842L86.993 27.1979H83.3059V2
446.3005H88.3757V27.1231L84.6886 31.9094Z`,fill:`#B8BDE7`}),(0,Y.jsx)(`path`,{d:`M92.3707 29.7413L91.6793 30.4892V32.8076H90.5271V23.5341H91.6793V29.1431L92.2938 28.3952L94.3678 26.2264H95.7505L93.1388 28.9187L96.0578 32.7328H94.7519L92.3707 29.7413Z`,fill:`#B8BDE7`}),(0,Y.jsx)(`path`,{d:`M101.741 32.8088C101.665 32.6592 101.588 32.4348 101.588 32.1357C101.05 32.6592 100.436 32.9583 99.6675 32.9583C98.9761 32.9583 98.4384 32.8088 98.0543 32.4348C97.5935 32.0609 97.4398 31.6122 97.4398 31.0887C97.4398 30.4156 97.6703 29.8921 98.208 29.5182C98.7457 29.1442 99.5138 28.9199 100.436 28.9199H101.511V28.3964C101.511 28.0224 101.357 27.7233 101.127 27.4989C100.896 27.2746 100.512 27.125 100.052 27.125C99.6675 27.125 99.2834 27.1998 99.0529 27.4241C98.7457 27.6485 98.6689 27.8729 98.6689 28.172H97.5166C97.5166 27.8729 97.6703 27.4989 97.9007 27.1998C98.1312 26.9006 98.4384 26.6763 98.8993 26.4519C99.2834 26.3024 99.7443 26.1528 100.205 26.1528C100.973 26.1528 101.588 26.3771 102.049 26.7511C102.51 27.125 102.74 27.6485 102.74 28.3216V31.313C102.74 31.9113 102.817 32.36 102.97 32.734V32.8088H101.741ZM99.8211 31.9113C100.205 31.9113 100.512 31.8365 100.82 31.6122C101.127 31.4626 101.357 31.1635 101.511 30.9391V29.5929H100.589C99.2066 29.5929 98.5152 29.9669 98.5152 30.7895C98.5152 31.1635 98.6689 31.3878 98.8993 31.6122C99.1297 31.8365 99.437 31.9113 99.8211 31.9113Z`,fill:`#B8BDE7`}),(0,Y.jsx)(`path`,{d:`M18.321 7.15598H13.1744C12.8672 5.66026 11.9454 4.61325 9.87139 4.61325C8.10465 4.61325 6.95243 5.28633 6.95243 6.63248C6.95243 7.75428 7.79739 8.20299 9.33368 8.50214L12.1758 9.17521C15.9397 9.99786 18.321 11.4188 18.321 14.859C18.321 18.8227 14.9412 21.3654 9.79457 21.3654C5.18569 21.3654 1.0377 19.2714 0.5 14.3355H5.56976C5.87702 16.1303 7.49013 17.1774 9.87139 17.1774C11.7918 17.1774 12.7903 16.5043 12.7903 15.3825C12.7903 14.7094 12.4063 14.0363 10.6395 13.6624L7.25969 12.9145C3.18851 12.0919 1.34496 10.2222 1.34496 7.00641C1.34496 3.04274 4.64799 0.5 9.48731 0.5C12.8672 0.574786 17.7833 1.84616 18.321 7.15598Z`,fill:`#39438D`}),(0,Y.jsx)(`path`,{d:`M33.2996 18.4477L27.308 10.8942V20.9904H22.2383V1.02245H26.3863L33.2996 10.5951L40.2129 1.02245H44.3609V20.9904H39.2911V10.969L33.2996 18.4477Z`,fill:`#39438D`}),(0,Y.jsx)(`path`,{d:`M77.2382 20.9904H72.1685V1.02245H81.1558C86.2255 1.02245 89.6054 3.71475 89.6054 8.05236C89.6054 10.8195 88.1459 13.063 85.6878 14.2596L90.988 20.9904H84.8429L80.4644 15.2318H77.315V20.9904H77.2382ZM84.5356 7.97757C84.5356 6.33227 82.9993 5.36005 81.0021 5.36005H77.2382V10.6699H81.0021C82.9993 10.7447 84.5356 9.62287 84.5356 7.97757Z`,fill:`#39438D`}),(0,Y.jsx)(`path`,{d:`M102.97 20.9904H97.9007V5.43483H91.3715V1.02245H109.5V5.43483H102.97V20.9904Z`,fill:`#39438D`}),(0,Y.jsx)(`path`,{d:`M59.1864 1.02245H57.4965L47.3569 20.9904H52.8108L58.3414 9.99681L63.8721 20.9904H69.3259L59.1864 1.02245Z`,fill:`#FFB800`})]}),HV={canClose:!0,iconClose:U.isSmart?(0,Y.jsx)(LV,{fill:`#B8BDE7`}):(0,Y.jsx)(LV,{fill:`#C4D0DB`})},UV={idLoadingDocument:``},WV=()=>{let{closeDocument:e,addTemplateToDocument:t}=rM(),{viewDocumentId:n,documents:r}=aM(e=>e.documentsStore),[i,a]=(0,V.useState)(!1);if((0,V.useEffect)(()=>{if(!n||UV.idLoadingDocument===n)return;UV.idLoadingDocument=n;let{template:e,event:i}=r[n];e||i().then(e=>{t(n,Array.isArray(e)?e.map(e=>e||``):e||``)}).catch(()=>{a(!0)})},[n]),!n)return null;let{template:o,label:s}=r[n],c=Array.isArray(o);return(0,YP.createPortal)((0,Y.jsx)(GB,{handleClose:e,content:({handleClose:e})=>(0,Y.jsxs)(Y.Fragment,{children:[c?o.map((e,t)=>(0,Y.jsxs)(V.Fragment,{children:[(0,Y.jsx)(`div`,{id:`modal-title`,className:`documents-modal__title`,children:Array.isArray(s)?s[t]||s[0]:s}),(0,Y.jsx)(`div`,{className:`documents-modal__content`,children:(0,Y.jsx)(`div`,{className:`documents-modal__content__document`,children:e?(0,Y.jsx)(`div`,{dangerouslySetInnerHTML:{__html:e}}):i?(0,Y.jsx)(FV,{namePhrase:`document_modal_error_text`,defaultPhrase:`Błąd. Spróbuj ponownie`}):(0,Y.jsx)(EM,{})})})]},t)):(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(`div`,{id:`modal-title`,className:`documents-modal__title`,children:o&&(0,Y.jsx)(Y.Fragment,{children:Array.isArray(s)?s[0]:s})}),(0,Y.jsx)(`div`,{className:`documents-modal__content`,children:(0,Y.jsx)(`div`,{className:`documents-modal__content__document`,children:o?(0,Y.jsx)(`div`,{dangerouslySetInnerHTML:{__html:o}}):i?(0,Y.jsx)(FV,{namePhrase:`document_modal_error_text`,defaultPhrase:`Błąd. Spróbuj ponownie`}):(0,Y.jsx)(EM,{})})})]}),(0,Y.jsx)(`div`,{className:`documents-modal__button-container`,children:(0,Y.jsx)(CM,{buttonType:`BIG`,label:`Zamknij`,onClick:e})})]}),settings:{...HV,size:`BIG`},classNames:{modalContainer:`documents-modal-container`}}),document.getElementById(`modal_portal`))},GV=e=>{let{children:t}=e;return(0,Y.jsxs)(ax,{store:qj,children:[t,(0,Y.jsx)(WV,{})]})},KV=s((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m){if(n(c)!==null)m=!0,S||(S=!0,O());else{var t=n(l);t!==null&&te(x,t.startTime-e)}}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-T<w)}function D(){if(g=!1,S){var t=e.unstable_now();T=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&te(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?O():S=!1}}}var O;if(typeof y==`function`)O=function(){y(D)};else if(typeof MessageChannel<`u`){var ee=new MessageChannel,k=ee.port2;ee.port1.onmessage=D,O=function(){k.postMessage(null)}}else O=function(){_(D,0)};function te(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):w=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,te(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,O()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),qV=s(((e,t)=>{t.exports=KV()})),JV=s((e=>
vendor: 6,324 bytes, lines 44-46
44{var t=qV(),n=zb(),r=JP();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){for(var t=e,n=t;n&&!n.alternate;)t=n,t.flags&4098&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function d(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=d(e),t!==null)return t;e=e.sibling}return null}function f(e,t,n,r,i,a){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&n(e,r,i,a)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&f(e.child,t,n,r,i,a))return!0;e=e.sibling}return!1}function p(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function m(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),e.tag!==3&&e.tag!==5&&e.tag!==27);)e=e.return;return t}function h(e){var t=[null,null],n=p(e);return n===null||g(t,e,n.child,{foundSelf:!1}),t}function g(e,t,n,r){for(;n!==null;){if(n===t)r.foundSelf=!0;else if(n.tag===5||n.tag===27||n.tag===6){if(r.foundSelf)return e[1]=n,!0;e[0]=n}else if((n.tag!==22||n.memoizedState===null)&&g(e,t,n.child,r))return!0;n=n.sibling}return!1}function _(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(i(559))}}var v=null,y=null;function b(e,t,n){return e===n||e===t&&(v=e,!0)}function x(e,t,n){return e===n?(y=e,!1):e===t&&(y!==null&&(v=e),!0)}function S(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function C(e,t,n){for(var r=0,i=e;i;i=n(i))r++;i=0;for(var a=t;a;a=n(a))i++;for(;0<r-i;)e=n(e),r--;for(;0<i-r;)t=n(t),i--;for(;r--;){if(e===t||t!==null&&e===t.alternate)return e;e=n(e),t=n(t)}return null}var w=Object.assign,T=Symbol.for(`react.element`),E=Symbol.for(`react.transitional.element`),D=Symbol.for(`react.portal`),O=Symbol.for(`react.fragment`),ee=Symbol.for(`react.strict_mode`),k=Symbol.for(`react.profiler`),te=Symbol.for(`react.consumer`),A=Symbol.for(`react.context`),ne=Symbol.for(`react.forward_ref`),j=Symbol.for(`react.suspense`),re=Symbol.for(`react.suspense_list`),ie=Symbol.for(`react.memo`),ae=Symbol.for(`react.lazy`),oe=Symbol.for(`react.activity`),se=Symbol.for(`react.legacy_hidden`),ce=Symbol.for(`react.memo_cache_sentinel`),le=Symbol.for(`react.view_transition`),ue=Symbol.for(`react.recoverable`),de=Symbol.iterator;function fe(e){return typeof e!=`object`||!e?null:(e=de&&e[de]||e[`@@iterator`],typeof e==`function`?e:null)}var pe=Symbol.for(`react.client.reference`);function me(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===pe?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case O:return`Fragment`;case k:return`Profiler`;case ee:return`StrictMode`;case j:return`Suspense`;case re:return`SuspenseList`;case oe:return`Activity`;case le:return`ViewTransition`}if(typeof e==`object`)switch(e.$$typeof){case D:return`Portal`;case A:return e.displayName||`Context`;case te:return(e._context.displayName||`Context`)+`.Consumer`;case ne:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case ie:return t=e.displayName||null,t===null?me(e.type)||`Memo`:t;case ae:t=e._payload,e=e._init;try{return me(e(t))}catch{}}return null}var he=Array.isArray,M=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,N=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ge={pending:!1,data:null,method:null,action:null},_e=[],ve=-1;function ye(e){return{current:e}}function be(e){0>ve||(e.current=_e[ve],_e[ve]=null,ve--)}function xe(e,t){ve++,_e[ve]=e.current,e.current=t}var Se=ye(null),Ce=ye(null),we=ye(null),Te=ye(null);function Ee(e,t){switch(xe(we,t),xe(Ce,e),xe(Se,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Cp(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Cp(t),e=wp(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}be(Se),xe(Se,e)}function De(){be(Se),be(Ce),be(we)}function Oe(e){var t=e.memoizedState;t!==null&&(bh._currentValue=t.memoizedState,xe(Te,e)),t=Se.current;var n=wp(t,e.type);t!==n&&(xe(Ce,e),xe(Se,n))}function ke(e){Ce.current===e&&(be(Se),be(Ce)),Te.current===e&&(be(Te),bh._currentValue=ge)}var Ae,je;function Me(e){if(Ae===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Ae=t&&t[1]||``,je=-1<e.stack.indexOf(`
45    at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
46`+Ae+e+je}var Ne=!1;function Pe(e,t){if(!e||Ne)return``;Ne=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}
46else{try{n.call()}catch(e){r=e}n=!1;try{var i=Object.getOwnPropertyDescriptor(e.prototype,`props`);Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),n=!0,new e}finally{n&&(i===void 0?delete e.prototype.props:Object.defineProperty(e.prototype,"props",i))}}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
47`),l=s.split(`
48`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
49`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{Ne=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?Me(n):``}function Fe(e,t){switch(e.tag){case 26:case 27:case 5:return Me(e.type);case 16:return Me(`Lazy`);case 13:return e.child!==t&&t!==null?Me(`Suspense Fallback`):Me(`Suspense`);case 19:return Me(`SuspenseList`);case 0:case 15:return Pe(e.type,!1);case 11:return Pe(e.type.render,!1);case 1:return Pe(e.type,!0);case 31:return Me(`Activity`);case 30:return Me(`ViewTransition`);default:return``}}function Ie(e){try{var t=``,n=null;do t+=Fe(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
50Error generating stack: `+e.message+`
51`+e.stack}}var Le=Object.prototype.hasOwnProperty,Re=t.unstable_scheduleCallback,ze=t.unstable_cancelCallback,Be=t.unstable_shouldYield,Ve=t.unstable_requestPaint,He=t.unstable_now,Ue=t.unstable_getCurrentPriorityLevel,We=t.unstable_ImmediatePriority,Ge=t.unstable_UserBlockingPriority,Ke=t.unstable_NormalPriority,qe=t.unstable_LowPriority,Je=t.unstable_IdlePriority,Ye=t.log,Xe=t.unstable_setDisableYieldValue,Ze=null,Qe=null;function $e(e){if(typeof Ye==`function`&&Xe(e),Qe&&typeof Qe.setStrictMode==`function`)try{Qe.setStrictMode(Ze,e)}catch{}}var et=Math.clz32?Math.clz32:rt,tt=Math.log,nt=Math.LN2;function rt(e){return e>>>=0,e===0?32:31-(tt(e)/nt|0)|0}var it=256,at=262144,ot=4194304;function st(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function ct(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=st(n))):i=st(o):i=st(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=st(n))):i=st(o)):i=st(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function lt(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function ut(e,t){t&8&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var r=31-et(n),i=1<<r;t|=e[r],n&=~i}return t}function dt(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ft(){var e=ot;return ot<<=1,!(ot&62914560)&&(ot=4194304),e}function pt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}
vendor: 4,913 bytes, line 51
51function mt(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ht(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-et(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&gt(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function gt(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-et(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function _t(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-et(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function vt(e,t){var n=t&-t;return n=n&42?1:yt(n),(n&(e.suspendedLanes|t))===0?n:0}function yt(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function bt(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function xt(){var e=N.p;return e===0?(e=window.event,e===void 0?32:Fh(e.type)):e}function St(e,t){var n=N.p;try{return N.p=e,t()}finally{N.p=n}}var Ct=Math.random().toString(36).slice(2),wt=`__reactFiber$`+Ct,Tt=`__reactProps$`+Ct,Et=`__reactContainer$`+Ct,Dt=`__reactEvents$`+Ct,Ot=`__reactListeners$`+Ct,kt=`__reactHandles$`+Ct,At=`__reactResources$`+Ct,jt=`__reactMarker$`+Ct,Mt=`__reactLoad$`+Ct;function Nt(e){delete e[wt],delete e[Tt],delete e[Ot],delete e[kt]}function Pt(e){var t;if(t=e[wt])return t;for(var n=e.parentNode;n;){if(t=n[Et]||n[wt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Tm(e);e!==null;){if(n=e[wt])return n;e=Tm(e)}return t}e=n,n=e.parentNode}return null}function Ft(e){if(e=e[wt]||e[Et]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function It(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function Lt(e){var t=e[At];return t||=e[At]={hoistableStyles:new Map,hoistableScripts:new Map},t}function Rt(e){e[jt]=!0}function zt(e){e[Mt]=void 0}var Bt=new Set,Vt={};function Ht(e,t){Ut(e,t),Ut(e+`Capture`,t)}function Ut(e,t){for(Vt[e]=t,e=0;e<t.length;e++)Bt.add(t[e])}var Wt=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),Gt={},Kt={};function qt(e){return Le.call(Kt,e)?!0:Le.call(Gt,e)?!1:Wt.test(e)?Kt[e]=!0:(Gt[e]=!0,!1)}var Jt=!1;function Yt(){var e=Jt;return Jt=!1,e}function Xt(e,t,n){if(qt(t)){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,n)}}}function Zt(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,n)}}function Qt(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,r)}}function $t(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function en(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function tn(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function nn(e){if(!e._valueTracker){var t=en(e)?`checked`:`value`;e._valueTracker=tn(e,t,``+e[t])}}function rn(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=en(e)?e.checked?`true`:`false`:e.value),e=r,e!==n&&(t.setValue(e),!0)}var an=/[\n"\\]/g;function P(e){return e.replace(an,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}
51function on(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+$t(t)):e.value!==``+$t(t)&&(e.value=``+$t(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):cn(e,$t(n)):o===`number`&&e.value==t?cn(e,$t(e.value)):cn(e,$t(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+$t(s):e.removeAttribute(`name`)}function sn(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){nn(e);return}n=n==null?``:``+$t(n),t=t==null?n:``+$t(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),nn(e)}function cn(e,t){e.defaultValue!==``+t&&(e.defaultValue=``+t)}function F(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+$t(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}
vendor: 5,512 bytes, line 51
51function ln(e,t,n){if(t!=null&&(t=``+$t(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+$t(n)}function un(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(he(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=$t(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),nn(e)}function dn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var fn=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `));function pn(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||fn.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function mn(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``,Jt=!0);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&(pn(e,a,r),Jt=!0)}else for(var o in t)t.hasOwnProperty(o)&&pn(e,o,t[o])}function hn(e){if(e.indexOf(`-`)===-1)return!1;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var gn=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`maskType`,`mask-type`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),_n=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function vn(e){return _n.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function yn(){}var bn=null;function xn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Sn=null,Cn=null;function wn(e){var t=Ft(e);
vendor: 4,326 bytes, line 51
51if(t&&(e=t.stateNode)){var n=e[Tt]||null;a:switch(e=t.stateNode,t.type){case`input`:if(on(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+P(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[Tt]||null;if(!a)throw Error(i(90));on(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&rn(r)}break a;case`textarea`:ln(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&F(e,!!n.multiple,t,!1)}}}var Tn=!1;function En(e,t,n){if(Tn)return e(t,n);Tn=!0;try{return e(t)}finally{if(Tn=!1,(Sn!==null||Cn!==null)&&(Yd(),Sn&&(t=Sn,e=Cn,Cn=Sn=null,wn(t),e)))for(t=0;t<e.length;t++)wn(e[t])}}function Dn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[Tt]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=e!==`button`&&e!==`input`&&e!==`select`&&e!==`textarea`),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var On=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,kn=!1;if(On)try{var An={};Object.defineProperty(An,"passive",{get:function(){kn=!0}}),window.addEventListener(`test`,An,An),window.removeEventListener(`test`,An,An)}catch{kn=!1}var jn=null,Mn=null,Nn=null;function Pn(){if(Nn)return Nn;var e,t=Mn,n=t.length,r,i=`value`in jn?jn.value:jn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return Nn=i.slice(e,1<r?1-r:void 0)}function Fn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function In(){return!0}function Ln(){return!1}function Rn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?In:Ln,this.isPropagationStopped=Ln,this}return w(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=In)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=In)},persist:function(){},isPersistent:In}),t}var zn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Bn=Rn(zn),Vn=w({},zn,{view:0,detail:0}),Hn=Rn(Vn),Un,Wn,Gn,Kn=w({},Vn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:rr,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==Gn&&(Gn&&e.type===`mousemove`?(Un=e.screenX-Gn.screenX,Wn=e.screenY-Gn.screenY):Wn=Un=0,Gn=e),Un)},movementY:function(e){return`movementY`in e?e.movementY:Wn}}),qn=Rn(Kn),Jn=Rn(w({},Kn,{dataTransfer:0})),Yn=Rn(w({},Vn,{relatedTarget:0})),Xn=Rn(w({},zn,{animationName:0,elapsedTime:0,pseudoElement:0})),Zn=Rn(w({},zn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Qn=Rn(w({},zn,{data:0})),$n={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},er={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F
515`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},tr={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function nr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=tr[e])?!!t[e]:!1}function rr(){return nr}var ir=Rn(w({},Vn,{key:function(e){if(e.key){var t=$n[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=Fn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?er[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:rr,charCode:function(e){return e.type===`keypress`?Fn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?Fn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),ar=Rn(w({},Kn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),or=Rn(w({},zn,{submitter:0})),sr=Rn(w({},Vn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:rr})),cr=Rn(w({},zn,{propertyName:0,elapsedTime:0,pseudoElement:0})),lr=Rn(w({},Kn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),ur=Rn(w({},zn,{newState:0,oldState:0,source:0})),dr=[9,13,27,32],fr=On&&`CompositionEvent`in window,pr=null;On&&`documentMode`in document&&(pr=document.documentMode);var mr=On&&`TextEvent`in window&&!pr,hr=On&&(!fr||pr&&8<pr&&11>=pr),gr=` `,_r=!1;function vr(e,t){switch(e){case`keyup`:return dr.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function yr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var br=!1;function xr(e,t){switch(e){case`compositionend`:return yr(t);case`keypress`:return t.which===32?(_r=!0,gr):null;case`textInput`:return e=t.data,e===gr&&_r?null:e;default:return null}}function Sr(e,t){if(br)return e===`compositionend`||!fr&&vr(e,t)?(e=Pn(),Nn=Mn=jn=null,br=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return hr&&t.locale!==`ko`?null:t.data;default:return null}}var Cr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function wr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!Cr[e.type]:t===`textarea`}function Tr(e,t,n,r){Sn?Cn?Cn.push(r):Cn=[r]:Sn=r,t=op(t,`onChange`),0<t.length&&(n=new Bn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var Er=null,Dr=null;function Or(e){Qf(e,0)}function kr(e){if(rn(It(e)))return e}function Ar(e,t){if(e===`change`)return t}var jr=!1;if(On){var Mr;if(On){var Nr=`oninput`in document;if(!Nr){var Pr=document.createElement(`div`);Pr.setAttribute(`oninput`,`return;`),Nr=typeof Pr.oninput==`function`}Mr=Nr}else Mr=!1;jr=Mr&&(!document.documentMode||9<document.documentMode)}function Fr(){Er&&(Er.detachEvent(`onpropertychange`,Ir),Dr=Er=null)}function Ir(e){if(e.propertyName===`value`&&kr(Dr)){var t=[];Tr(t,Dr,e,xn(e)),En(Or,t)}}function Lr(e,t,n){e===`focusin`?(Fr(),Er=t,Dr=n,Er.attachEvent(`onpropertychange`,Ir)):e===`focusout`&&Fr()}function Rr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return kr(Dr)}function zr(e,t){if(e===`click`)return kr(t)}function Br(e,t){if(e===`input`||e===`change`)return kr(t)}function Vr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Hr=typeof Object.is==`function`?Object.is:Vr;function Ur(e,t){if(Hr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Le.call(t,i)||!Hr(e[i],t[i]))return!1}return!0}function Wr(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}function Gr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Kr(e,t){var n=Gr(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Gr(n)}}function qr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?qr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Jr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Wr(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Wr(e.document)}return t}function Yr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var Xr=On&&`documentMode`in document&&11>=document.documentMode,Zr=null,Qr=null,$r=null,ei=!1;function ti(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ei||Zr==null||Zr!==Wr(r)||(r=Zr,`selectionStart`in r&&Yr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,639 bytes, line 51
51sNode:r.focusNode,focusOffset:r.focusOffset}),$r&&Ur($r,r)||($r=r,r=op(Qr,`onSelect`),0<r.length&&(t=new Bn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Zr)))}function ni(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var ri={animationend:ni(`Animation`,`AnimationEnd`),animationiteration:ni(`Animation`,`AnimationIteration`),animationstart:ni(`Animation`,`AnimationStart`),transitionrun:ni(`Transition`,`TransitionRun`),transitionstart:ni(`Transition`,`TransitionStart`),transitioncancel:ni(`Transition`,`TransitionCancel`),transitionend:ni(`Transition`,`TransitionEnd`)},ii={},ai={};On&&(ai=document.createElement(`div`).style,`AnimationEvent`in window||(delete ri.animationend.animation,delete ri.animationiteration.animation,delete ri.animationstart.animation),`TransitionEvent`in window||delete ri.transitionend.transition);function oi(e){if(ii[e])return ii[e];if(!ri[e])return e;var t=ri[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ai)return ii[e]=t[n];return e}var si=oi(`animationend`),ci=oi(`animationiteration`),li=oi(`animationstart`),ui=oi(`transitionrun`),di=oi(`transitionstart`),fi=oi(`transitioncancel`),pi=oi(`transitionend`),mi=new Map,hi=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);hi.push(`scrollEnd`);function gi(e,t){mi.set(e,t),Ht(t,[e])}var _i=0;function vi(e,t){if(e.name!=null&&e.name!==`auto`)return e.name;if(t.autoName!==null)return t.autoName;e=Ad.identifierPrefix;var n=_i++;return e=`_`+e+`t_`+n.toString(32)+`_`,t.autoName=e}function yi(e){if(e==null||typeof e==`string`)return e;var t=null,n=Rd;if(n!==null)for(var r=0;r<n.length;r++){var i=e[n[r]];if(i!=null){if(i===`none`)return`none`;t=t==null?i:t+(` `+i)}}return t??e.default}function bi(e,t){return e=yi(e),t=yi(t),t==null?e===`auto`?null:e:t===`auto`?null:t}var xi=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},Si=[],Ci=0,wi=0;function Ti(){for(var e=Ci,t=wi=Ci=0;t<e;){var n=Si[t];Si[t++]=null;var r=Si[t];Si[t++]=null;var i=Si[t];Si[t++]=null;var a=Si[t];if(Si[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&ki(n,i,a)}}function Ei(e,t,n,r){Si[Ci++]=e,Si[Ci++]=t,Si[Ci++]=n,Si[Ci++]=r,wi|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function Di(e,t,n,r){return Ei(e,t,n,r),Ai(e)}function Oi(e,t){return Ei(e,null,null,t),Ai(e)}function ki(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-et(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function Ai(e){if(50<zd)throw zd=0,Bd=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ji={};function Mi(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ni(e,t,n,r){return new Mi(e,t,n,r)}function Pi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Fi(e,t){var n=e.alternate;return n===null?(n=Ni(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deleti
vendor: 6,580 bytes, line 51
51ons=null),n.flags=e.flags&1206910976,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Ii(e,t){e.flags&=1206910978;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Li(e,t,n,r,a,o){var s=0;if(r=e,typeof r==`function`)Pi(r)&&(s=1);else if(typeof r==`string`)s=oh(e,n,Se.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(r){case oe:return e=Ni(31,n,t,a),e.elementType=oe,e.lanes=o,e;case O:return Ri(n.children,a,o,t);case ee:s=8,a|=24;break;case k:return e=Ni(12,n,t,a|2),e.elementType=k,e.lanes=o,e;case j:return e=Ni(13,n,t,a),e.elementType=j,e.lanes=o,e;case re:return e=Ni(19,n,t,a),e.elementType=re,e.lanes=o,e;case se:case le:return e=a|32,e=Ni(30,n,t,e),e.elementType=le,e.lanes=o,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof r==`object`&&r)switch(r.$$typeof){case A:s=10;break a;case te:s=9;break a;case ne:s=11;break a;case ie:s=14;break a;case ae:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=Ni(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function Ri(e,t,n,r){return e=Ni(7,e,r,t),e.lanes=n,e}function zi(e,t,n){return e=Ni(6,e,null,t),e.lanes=n,e}function Bi(e){var t=Ni(18,null,null,0);return t.stateNode=e,t}function Vi(e,t,n){return t=Ni(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Hi=new WeakMap;function Ui(e,t){if(typeof e==`object`&&e){var n=Hi.get(e);return n===void 0?(t={value:e,source:t,stack:Ie(t)},Hi.set(e,t),t):n}return{value:e,source:t,stack:Ie(t)}}var Wi=[],Gi=0,Ki=null,qi=0,Ji=[],Yi=0,Xi=null,Zi=1,Qi=``;function $i(e,t){Wi[Gi++]=qi,Wi[Gi++]=Ki,Ki=e,qi=t}function ea(e,t,n){Ji[Yi++]=Zi,Ji[Yi++]=Qi,Ji[Yi++]=Xi,Xi=e;var r=Zi;e=Qi;var i=32-et(r)-1;r&=~(1<<i),n+=1;var a=32-et(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Zi=1<<32-et(t)+i|n<<i|r,Qi=a+e}else Zi=1<<a|n<<i|r,Qi=e}function ta(e){e.return!==null&&($i(e,1),ea(e,1,0))}function na(e){for(;e===Ki;)Ki=Wi[--Gi],Wi[Gi]=null,qi=Wi[--Gi],Wi[Gi]=null;for(;e===Xi;)Xi=Ji[--Yi],Ji[Yi]=null,Qi=Ji[--Yi],Ji[Yi]=null,Zi=Ji[--Yi],Ji[Yi]=null}function ra(e,t){Ji[Yi++]=Zi,Ji[Yi++]=Qi,Ji[Yi++]=Xi,Zi=t.id,Qi=t.overflow,Xi=e}var ia=null,aa=null,oa=!1,sa=null,ca=!1,la=Error(i(519));function ua(e){throw ga(Ui(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),la}function da(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[wt]=e,t[Tt]=r,n){case`dialog`:$f(`cancel`,t),$f(`close`,t);break;case`iframe`:case`object`:case`embed`:$f(`load`,t);break;case`video`:case`audio`:for(n=0;n<Xf.length;n++)$f(Xf[n],t);break;case`source`:$f(`error`,t);break;case`img`:case`image`:case`link`:$f(`error`,t),$f(`load`,t);break;case`details`:$f(`toggle`,t);break;case`input`:$f(`invalid`,t),sn(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:$f(`invalid`,t);break;case`textarea`:$f(`invalid`,t),un(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||fp(t.textContent,n)?(r.popover!=null&&($f(`beforetoggle`,t),$f(`toggle`,t)),r.onScroll!=null&&$f(`scroll`,t),r.onScrollEnd!=null&&$f(`scrollend`,t),r.onClick!=null&&(t.onclick=yn),t=!0):t=!1,t||ua(e,!0)}function fa(e){for(ia=e.return;ia;)switch(ia.tag){case 5:case 31:case 13:ca=!1;return;case 27:case 3:ca=!0;return;default:ia=ia.return}}function pa(e){if(e!==ia)return!1;if(!oa)return fa(e),oa=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=n===`form`||n===`button`||Ep(e.type,e.memoizedProps)),n=!n),n&&aa&&ua(e),fa(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));aa=wm(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));aa=wm(e)}else t===27?(t=aa,Fp(e.type)?(e=Cm,Cm=null,aa=e):aa=t):aa=ia?Sm(e.stateNode.nextSibling):null;return!0}function ma(){aa=ia=null,oa=!1}function ha(){var e=sa;return e!==null&&(Sd===null?Sd=e:Sd.push.apply(Sd,e),sa=null),e}function ga(e){sa===null?sa=[e]:sa.push(e)}var _a=ye(null),va=null,ya=null;function ba(e,t,n){xe(_a,t._currentValue),t._currentValue=n}function xa(e){e._currentValue=_a.current,be(_a)}function Sa(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function Ca(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),Sa(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),Sa(s,n,e),s=null}else a.tag===13&&a.memoizedState!==null&&a.memoizedState.dehydrated===null?(a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Sa(a.return,n,e),s=a.child,s=s===null?null:s.sibling):s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function wa(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;Hr(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===Te.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[bh]:e.push(bh))}a=a.return}return e!==null&&Ca(t,e,n,r),t.flags|=262144,e!==null}function Ta(e){for(e=e.firstContext;e!==null;){if(!Hr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}
vendor: 5,442 bytes, line 51
51function Ea(e){va=e,ya=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Da(e){return ka(va,e)}function Oa(e,t){return va===null&&Ea(e),ka(e,t)}function ka(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},ya===null){if(e===null)throw Error(i(308));ya=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else ya=ya.next=t;return n}var Aa=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},ja=t.unstable_scheduleCallback,Ma=t.unstable_NormalPriority,Na={$$typeof:A,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Pa(){return{controller:new Aa,data:new Map,refCount:0}}function Fa(e){e.refCount--,e.refCount===0&&ja(Ma,function(){e.controller.abort()})}function Ia(e,t){if(e.pendingLanes&4194048){var n=e.transitionTypes;for(n===null&&(n=e.transitionTypes=[]),e=0;e<t.length;e++){var r=t[e];n.indexOf(r)===-1&&n.push(r)}}}var La=null;function Ra(e){var t=e.transitionTypes;return e.transitionTypes=null,t}var za=null,Ba=0,Va=0,Ha=null;function Ua(e,t){if(za===null){var n=za=[];Ba=0,Va=Gf(),Ha={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return Ba++,t.then(Wa,Wa),t}function Wa(){if(--Ba===0&&(La=null,za!==null)){Ha!==null&&(Ha.status=`fulfilled`);var e=za;za=null,Va=0,Ha=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Ga(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var Ka=M.S;M.S=function(e,t){if(Td=He(),typeof t==`object`&&t&&typeof t.then==`function`&&Ua(e,t),La!==null)for(var n=jf;n!==null;)Ia(n,La),n=n.next;if(n=e.types,n!==null){for(var r=jf;r!==null;)Ia(r,n),r=r.next;if(Va!==0){r=La,r===null&&(r=La=[]);for(var i=0;i<n.length;i++){var a=n[i];r.indexOf(a)===-1&&r.push(a)}}}Ka!==null&&Ka(e,t)};var qa=ye(null);function Ja(){var e=qa.current;return e===null?od.pooledCache:e}function Ya(e,t){t===null?xe(qa,qa.current):xe(qa,t.pool)}function Xa(){var e=Ja();return e===null?null:{parent:Na._currentValue,pool:e}}var Za=Error(i(460)),Qa=Error(i(474)),$a=Error(i(542)),eo={then:function(){}};function to(e){return e=e.status,e===`fulfilled`||e===`rejected`}function no(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(yn,yn),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,oo(e),e===void 0&&!(`reason`in t)?Error(i(600)):e;default:if(typeof t.status==`string`)t.then(yn,yn);else{if(e=od,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,oo(e),e}throw io=t,Za}}function ro(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(io=e,Za):e}}var io=null;function ao(){if(io===null)throw Error(i(459));var e=io;return io=null,e}function oo(e){if(e===Za||e===$a)throw Error(i(483))}var so=null,co=0;function lo(e){var t=co;return co+=1,so===null&&(so=[]),no(so,e,t)}function uo(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function fo(e,t){throw t.$$typeof===T?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function po(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=Fi(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=134217730,n):(r=r.index,r<n?(t.flags|=2,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=134217730),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=zi(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===O?(e=d(e,t,n.props.children,r,n.key),uo(e,n),e):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===ae&&ro(i)===t.type)?(t=a(t,n.props),uo(t,n),t.return=e,t):(t=Li(n.type,n.key,n.props,null,e.mode,r),uo(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=Vi(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=Ri(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=zi(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case E:return n=Li(t.type,t.key,t.props,null,e.mode,n),uo(n,t),n.return=e,n;case D:return t=Vi(t,e.mode,n),t.return=e,t;case ae:return t=ro(t),f(e,t,n)}if(he(t)||fe(t))return t=Ri(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,lo(t),n);if(t.$$typeof===A)return f(e,Oa(e,t),n);fo(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;
vendor: 10,463 bytes, line 51
51if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case E:return n.key===i?l(e,t,n,r):null;case D:return n.key===i?u(e,t,n,r):null;case ae:return n=ro(n),p(e,t,n,r)}if(he(n)||fe(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,lo(n),r);if(n.$$typeof===A)return p(e,t,Oa(e,n),r);fo(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case E:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case D:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case ae:return r=ro(r),m(e,t,n,r,i)}if(he(r)||fe(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,lo(r),i);if(r.$$typeof===A)return m(e,t,n,Oa(t,r),i);fo(t,r)}return null}function h(i,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),oa&&$i(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return oa&&$i(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&(_=g.alternate,_!==null&&d.delete(_.key===null?h:_.key)),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),oa&&$i(i,h),l}function g(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),oa&&$i(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return oa&&$i(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&(_=v.alternate,_!==null&&h.delete(_.key===null?g:_.key)),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),oa&&$i(a,g),u}function _(e,r,o,c){if(typeof o==`object`&&o&&o.type===O&&o.key===null&&o.props.ref===void 0&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case E:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===O){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),uo(c,o),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===ae&&ro(l)===r.type){n(e,r.sibling),c=a(r,o.props),uo(c,o),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}o.type===O?(c=Ri(o.props.children,e.mode,c,o.key),uo(c,o),c.return=e,e=c):(c=Li(o.type,o.key,o.props,null,e.mode,c),uo(c,o),c.return=e,e=c)}return s(e);case D:a:{for(l=o.key;r!==null;){if(r.key===l){if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}c=Vi(o,e.mode,c),c.return=e,e=c}return s(e);case ae:return o=ro(o),_(e,r,o,c)}if(he(o))return h(e,r,o,c);if(fe(o)){if(l=fe(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),g(e,r,o,c)}if(typeof o.then==`function`)return _(e,r,lo(o),c);if(o.$$typeof===A)return _(e,r,Oa(e,o),c);fo(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=zi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{co=0;var i=_(e,t,n,r);return so=null,i}catch(t){if(t===Za||t===$a)throw t;var a=Ni(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var mo=po(!0),ho=po(!1),go=!1;function _o(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function vo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function yo(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function bo(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ad&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=Ai(e),ki(e,null,n),t}return Ei(e,r,t,n),Ai(e)}function xo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,_t(e,n)}}function So(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Co=!1;function wo(){if(Co){var e=Ha;if(e!==null)throw e}}function To(e,t,n,r){Co=!1;var i=e.updateQueue;go=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(cd&f)===f:(r&f)===f){f!==0&&f===Va&&(Co=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var m=e,h=s;f=t;var g=n;switch(h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(g,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(g,d,f):m,f==null)break a;d=w({},d,f);break a;case 2:go=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),gd|=o,e.lanes=o,e.memoizedState=d}}function Eo(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Do(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Eo(n[e],t)}var Oo=ye(null),ko=ye(0);function Ao(e,t){e=md,xe(ko,e),xe(Oo,t),md=e|t.baseLanes}function jo(){xe(ko,md),xe(Oo,Oo.current)}function Mo(){md=ko.current,be(Oo),be(ko)}var No=ye(null),Po=null;function Fo(e){var t=e.alternate;xe(Bo,Bo.current&1),xe(No,e),Po===null&&(t===null||Oo.current!==null||t.memoizedState!==null)&&(Po=e)}function Io(e){xe(Bo,Bo.current),xe(No,e),Po===null&&(Po=e)}function Lo(e){e.tag===22?(xe(Bo,Bo.current),xe(No,e),Po===null&&(Po=e)):Ro()}function Ro(){xe(Bo,Bo.current),xe(No,No.current)}function zo(e){be(No),Po===e&&(Po=null),be(Bo)}var Bo=ye(0);function Vo(e,t){xe(No,No.current),xe(Bo,t)}function Ho(e){be(Bo),be(No),Po===e&&(Po=null)}function Uo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||ym(n)||bm(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==`independent`){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Wo=0,I=null,Go=null,Ko=null,qo=!1,Jo=!1,Yo=!1,Xo=0,Zo=0,Qo=null,$o=0;function es(){throw Error(i(321))}function ts(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Hr(e[n],t[n]))return!1;return!0}function ns(e,t,n,r,i,a){return Wo=a,I=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,M.H=e===null||e.memoizedState===null?yc:bc,Yo=!1,a=n(r,i),Yo=!1,Jo&&(a=is(t,n,r,i)),rs(e),a}function rs(e){M.H=vc;var t=Go!==null&&Go.next!==null;if(Wo=0,Ko=Go=I=null,qo=!1,Zo=0,Qo=null,t)throw Error(i(300));e===null||Lc||(e=e.dependencies,e!==null&&Ta(e)&&(Lc=!0))}function is(e,t,n,r){I=e;var a=0;do{if(Jo&&(Qo=null),Zo=0,Jo=!1,25<=a)throw Error(i(301));if(a+=1,Ko=Go=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}M.H=xc,o=t(n,r)}while(Jo);return o}function as(){var e=M.H,t=e.useState()[0];return t=typeof t.then==`function`?fs(t):t,e=e.useState()[0],(Go===null?null:Go.memoizedState)!==e&&(I.flags|=1024),t}function os(){var e=Xo!==0;return Xo=0,e}function ss(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function cs(e){if(qo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}qo=!1}Wo=0,Ko=Go=I=null,Jo=!1,Zo=Xo=0,Qo=null}function ls(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ko===null?I.memoizedState=Ko=e:Ko=Ko.next=e,Ko}function us(){if(Go===null){var e=I.alternate;e=e===null?null:e.memoizedState}else e=Go.next;var t=Ko===null?I.memoizedState:Ko.next;if(t!==null)Ko=t,Go=e;else{if(e===null)throw I.alternate===null?Error(i(467)):Error(i(310));Go=e,e={memoizedState:Go.memoizedState,baseState:Go.baseState,baseQueue:Go.baseQueue,queue:Go.queue,next:null},Ko===null?I.memoizedState=Ko=e:Ko=Ko.next=e}return Ko}function ds(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function fs(e){var t=Zo;return Zo+=1,Qo===null&&(Qo=[]),e=no(Qo,e,t),t=I,(Ko===null?t.memoizedState:Ko.next)===null&&(t=t.alternate,M.H=t===null||t.memoizedState===null?yc:bc),e}function ps(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return fs(e);if(e.$$typeof===ue)return;if(e.$$typeof===A)return Da(e)}throw Error(i(438,String(e)))}function ms(e){var t=null,n=I.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=I.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=ds(),I.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=ce;return t.index++,n}function hs(e,t){return typeof t==`function`?t(e):t}function gs(e){return _s(us(),Go,e)}
vendor: 6,324 bytes, line 51
51function _s(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(Wo&f)===f:(cd&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===Va&&(d=!0);else if((Wo&p)===p){u=u.next,p===Va&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,I.lanes|=p,gd|=p;f=u.action,Yo&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,I.lanes|=f,gd|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!Hr(o,e.memoizedState)&&(Lc=!0,d&&(n=Ha,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function vs(e){var t=us(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);Hr(o,t.memoizedState)||(Lc=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ys(e,t,n){var r=I,a=us(),o=oa;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!Hr((Go||a).memoizedState,n);if(s&&(a.memoizedState=n,Lc=!0),a=a.queue,Ws(Ss.bind(null,r,a,e),[e]),e=a.getSnapshot!==t||s||Ko!==null&&!!(Ko.memoizedState.tag&1),zs(e?9:8,{destroy:void 0},xs.bind(null,r,a,n,t),null),e){if(r.flags|=2048,od===null)throw Error(i(349));o||Wo&127||bs(r,t,n)}return n}function bs(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=I.updateQueue,t===null?(t=ds(),I.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function xs(e,t,n,r){t.value=n,t.getSnapshot=r,Cs(t)&&ws(e)}function Ss(e,t,n){return n(function(){Cs(t)&&ws(e)})}function Cs(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Hr(e,n)}catch{return!0}}function ws(e){var t=Oi(e,2);t!==null&&Wd(t,e,2)}function Ts(e){var t=ls();if(typeof e==`function`){var n=e;if(e=n(),Yo){$e(!0);try{n()}finally{$e(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:hs,lastRenderedState:e},t}function Es(e,t,n,r){return e.baseState=n,_s(e,Go,typeof r==`function`?r:hs)}function Ds(e,t,n,r,a){if(hc(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};M.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,Os(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Os(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=M.T,o={};o.types=a===null?null:a.types,M.T=o;try{var s=n(i,r),c=M.S;c!==null&&c(o,s),ks(e,t,s)}catch(n){js(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),M.T=a}}else try{a=n(i,r),ks(e,t,a)}catch(n){js(e,t,n)}}function ks(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){As(e,t,n)},function(n){return js(e,t,n)}):As(e,t,n)}function As(e,t,n){t.status=`fulfilled`,t.value=n,Ms(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Os(e,n)))}function js(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,Ms(t),t=t.next;while(t!==r)}e.action=null}function Ms(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Ns(e,t){return t}function Ps(e,t){if(oa){var n=od.formState;if(n!==null){a:{var r=I;if(oa){if(aa){b:{for(var i=aa,a=ca;i.nodeType!==8;){if(!a){i=null;break b}if(i=Sm(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){aa=Sm(i.nextSibling),r=i.data===`F!`;break a}}ua(r)}r=!1}r&&(t=n[0])}}return n=ls(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ns,lastRenderedState:t},n.queue=r,n=fc.bind(null,I,r),r.dispatch=n,r=Ts(!1),a=mc.bind(null,I,!1,r.queue),r=ls(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Ds.bind(null,I,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function Fs(e){return Is(us(),Go,e)}function Is(e,t,n){if(t=_s(e,t,Ns)[0],e=gs(hs)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=fs(t)}catch(e){throw e===Za?$a:e}else r=t;t=us();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(I.flags|=2048,zs(9,{destroy:void 0},Ls.bind(null,i,n),null)),[r,a,e]}function Ls(e,t){e.action=t}function Rs(e){var t=us(),n=Go;if(n!==null)return Is(t,n,e);us(),t=t.memoizedState,n=us();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function zs(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=I.updateQueue,t===null&&(t=ds(),I.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Bs(){return us().memoizedState}function Vs(e,t,n,r){var i=ls();I.flags|=e,i.memoizedState=zs(1|t,{destroy:void 0},n,r===void 0?null:r)}function Hs(e,t,n,r){var i=us();r=r===void 0?null:r;var a=i.memoizedState.inst;Go!==null&&r!==null&&ts(r,Go.memoizedState.deps)?i.memoizedState=zs(t,a,n,r):(I.flags|=e,i.memoizedState=zs(1|t,a,n,r))}function Us(e,t){Vs(8390656,8,e,t)}function Ws(e,t){Hs(2048,8,e,t)}function Gs(e){I.flags|=4;var t=I.updateQueue;if(t===null)t=ds(),I.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Ks(e){var t=us().memoizedState;return Gs({ref:t,nextImpl:e}),function(){if(ad&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function qs(e,t){return Hs(4,2,e,t)}function Js(e,t){return Hs(4,4,e,t)}function Ys(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Xs(e,t,n){n=n==null?null:n.concat([e]),Hs(4,4,Ys.bind(null,t,e),n)}function Zs(){}function Qs(e,t){var n=us();
vendor: 13,883 bytes, line 51
51t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&ts(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function $s(e,t){var n=us();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&ts(t,r[1]))return r[0];if(r=e(),Yo){$e(!0);try{e()}finally{$e(!1)}}return n.memoizedState=[r,t],r}function ec(e,t,n){return n===void 0||Wo&1073741824&&!(cd&261930)?e.memoizedState=t:(e.memoizedState=n,e=Hd(),I.lanes|=e,gd|=e,n)}function tc(e,t,n,r){return Hr(n,t)?n:Oo.current===null?!(Wo&106)||Wo&1073741824&&!(cd&261930)?(Lc=!0,e.memoizedState=n):(e=Hd(),I.lanes|=e,gd|=e,t):(e=ec(e,n,r),Hr(e,t)||(Lc=!0),e)}function nc(e,t,n,r,i){var a=N.p;N.p=a!==0&&8>a?a:8;var o=M.T,s={};s.types=o===null?null:o.types,M.T=s,mc(e,!1,t,n);try{var c=i(),l=M.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?pc(e,t,Ga(c,r),Vd(e)):pc(e,t,r,Vd(e))}catch(n){pc(e,t,{then:function(){},status:`rejected`,reason:n},Vd())}finally{N.p=a,o!==null&&s.types!==null&&(o.types=s.types),M.T=o}}function rc(){}function ic(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=ac(e).queue;nc(e,a,t,ge,n===null?rc:function(){return oc(e),n(r)})}function ac(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ge,baseState:ge,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:hs,lastRenderedState:ge},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:hs,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function oc(e){var t=ac(e);t.next===null&&(t=e.alternate.memoizedState),pc(e,t.next.queue,{},Vd())}function sc(){return Da(bh)}function cc(){return us().memoizedState}function lc(){return us().memoizedState}function uc(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Vd();e=yo(n);var r=bo(t,e,n);r!==null&&(Wd(r,t,n),xo(r,t,n)),t={cache:Pa()},e.payload=t;return}t=t.return}}function dc(e,t,n){var r=Vd();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},hc(e)?gc(t,n):(n=Di(e,t,n,r),n!==null&&(Wd(n,e,r),_c(n,t,r)))}function fc(e,t,n){pc(e,t,n,Vd())}function pc(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(hc(e))gc(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Hr(s,o))return Ei(e,t,i,0),od===null&&Ti(),!1}catch{}if(n=Di(e,t,i,r),n!==null)return Wd(n,e,r),_c(n,t,r),!0}return!1}function mc(e,t,n,r){if(r={lane:2,revertLane:Gf(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},hc(e)){if(t)throw Error(i(479))}else t=Di(e,n,r,2),t!==null&&Wd(t,e,2)}function hc(e){var t=e.alternate;return e===I||t!==null&&t===I}function gc(e,t){Jo=qo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function _c(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,_t(e,n)}}var vc={readContext:Da,use:ps,useCallback:es,useContext:es,useEffect:es,useImperativeHandle:es,useLayoutEffect:es,useInsertionEffect:es,useMemo:es,useReducer:es,useRef:es,useState:es,useDebugValue:es,useDeferredValue:es,useTransition:es,useSyncExternalStore:es,useId:es,useHostTransitionStatus:es,useFormState:es,useActionState:es,useOptimistic:es,useMemoCache:es,useCacheRefresh:es,useEffectEvent:es},yc={readContext:Da,use:ps,useCallback:function(e,t){return ls().memoizedState=[e,t===void 0?null:t],e},useContext:Da,useEffect:Us,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),Vs(4194308,4,Ys.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vs(4194308,4,e,t)},useInsertionEffect:function(e,t){Vs(4,2,e,t)},useMemo:function(e,t){var n=ls();t=t===void 0?null:t;var r=e();if(Yo){$e(!0);try{e()}finally{$e(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=ls();if(n!==void 0){var i=n(t);if(Yo){$e(!0);try{n(t)}finally{$e(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=dc.bind(null,I,e),[r.memoizedState,e]},useRef:function(e){var t=ls();return e={current:e},t.memoizedState=e},useState:function(e){e=Ts(e);var t=e.queue,n=fc.bind(null,I,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Zs,useDeferredValue:function(e,t){return ec(ls(),e,t)},useTransition:function(){var e=Ts(!1);return e=nc.bind(null,I,e.queue,!0,!1),ls().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=I,a=ls();if(oa){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),od===null)throw Error(i(349));cd&127||bs(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,Us(Ss.bind(null,r,o,e),[e]),r.flags|=2048,zs(9,{destroy:void 0},xs.bind(null,r,o,n,t),null),n},useId:function(){var e=ls(),t=od.identifierPrefix;if(oa){var n=Qi,r=Zi;n=(r&~(1<<32-et(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=Xo++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=$o++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:sc,useFormState:Ps,useActionState:Ps,useOptimistic:function(e){var t=ls();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=mc.bind(null,I,!0,n),n.dispatch=t,[e,t]},useMemoCache:ms,useCacheRefresh:function(){return ls().memoizedState=uc.bind(null,I)},useEffectEvent:function(e){var t=ls(),n={impl:e};return t.memoizedState=n,function(){if(ad&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},bc={readContext:Da,use:ps,useCallback:Qs,useContext:Da,useEffect:Ws,useImperativeHandle:Xs,useInsertionEffect:qs,useLayoutEffect:Js,useMemo:$s,useReducer:gs,useRef:Bs,useState:function(){return gs(hs)},useDebugValue:Zs,useDeferredValue:function(e,t){return tc(us(),Go.memoizedState,e,t)},useTransition:function(){var e=gs(hs)[0],t=us().memoizedState;return[typeof e==`boolean`?e:fs(e),t]},useSyncExternalStore:ys,useId:cc,useHostTransitionStatus:sc,useFormState:Fs,useActionState:Fs,useOptimistic:function(e,t){return Es(us(),Go,e,t)},useMemoCache:ms,useCacheRefresh:lc,useEffectEvent:Ks},xc={readContext:Da,use:ps,useCallback:Qs,useContext:Da,useEffect:Ws,useImperativeHandle:Xs,useInsertionEffect:qs,useLayoutEffect:Js,useMemo:$s,useReducer:vs,useRef:Bs,useState:function(){return vs(hs)},useDebugValue:Zs,useDeferredValue:function(e,t){var n=us();return Go===null?ec(n,e,t):tc(n,Go.memoizedState,e,t)},useTransition:function(){var e=vs(hs)[0],t=us().memoizedState;return[typeof e==`boolean`?e:fs(e),t]},useSyncExternalStore:ys,useId:cc,useHostTransitionStatus:sc,useFormState:Rs,useActionState:Rs,useOptimistic:function(e,t){var n=us();return Go===null?(n.baseState=e,[e,n.queue.dispatch]):Es(n,Go,e,t)},useMemoCache:ms,useCacheRefresh:lc,useEffectEvent:Ks};function Sc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:w({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Cc={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Vd(),i=yo(r);i.payload=t,n!=null&&(i.callback=n),t=bo(e,i,r),t!==null&&(Wd(t,e,r),xo(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Vd(),i=yo(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=bo(e,i,r),t!==null&&(Wd(t,e,r),xo(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Vd(),r=yo(n);r.tag=2,t!=null&&(r.callback=t),t=bo(e,r,n),t!==null&&(Wd(t,e,n),xo(t,e,n))}};function wc(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Ur(n,r)||!Ur(i,a):!0}function Tc(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Cc.enqueueReplaceState(t,t.state,null)}function Ec(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=w({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Dc(e){xi(e)}function Oc(e){console.error(e)}function kc(e){xi(e)}function Ac(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function jc(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function Mc(e,t,n){return n=yo(n),n.tag=3,n.payload={element:null},n.callback=function(){Ac(e,t)},n}function Nc(e){return e=yo(e),e.tag=3,e}function Pc(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){jc(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){jc(t,n,r),typeof i!=`function`&&(Od===null?Od=new Set([this]):Od.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function Fc(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&wa(t,n,a,!0),n=No.current,n!==null){switch(n.tag){case 31:case 13:case 19:return Po===null?nf():n.alternate===null&&hd===0&&(hd=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===eo?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Tf(e,r,a)),!1;case 22:return n.flags|=65536,r===eo?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),Tf(e,r,a)),!1}throw Error(i(435,n.tag))}return Tf(e,r,a),nf(),!1}if(oa)return t=No.current,t===null?(r!==la&&(t=Error(i(423),{cause:r}),ga(Ui(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=Ui(r,n),a=Mc(e.stateNode,r,a),So(e,a),hd!==4&&(hd=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==la&&(e=Error(i(422),{cause:r}),ga(Ui(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=Ui(o,n),xd===null?xd=[o]:xd.push(o),hd!==4&&(hd=2),t===null)return!0;r=Ui(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=Mc(n.stateNode,r,e),So(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(Od===null||!Od.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=Nc(a),Pc(a,e,n,r),So(n,a),!1;break;case 22:if(n.memoizedState!==null)return n.flags|=65536,!1}n=n.return}while(n!==null);return!1}var Ic=Error(i(461)),Lc=!1;function Rc(e,t,n,r){t.child=e===null?ho(t,null,n,r):mo(t,e.child,n,r)}function zc(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return Ea(t),r=ns(e,t,n,o,a,i),s=os(),e!==null&&!Lc?(ss(e,t,i),fl(e,t,i)):(oa&&s&&ta(t),t.flags|=1,Rc(e,t,r,i),t.child)}function Bc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!Pi(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,Vc(e,t,a,r,i)):(e=Li(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!pl(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Ur:n,n(o,r)&&e.ref===t.ref)return fl(e,t,i)}return t.flags|=1,e=Fi(a,r),e.ref=t.ref,e.return=t,t.child=e}function Vc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Ur(a,r)&&e.ref===t.ref){if(Lc=!1,t.pendingProps=r=a,pl(e,i))e.flags&131072&&(Lc=!0);else return t.lanes=e.lanes,fl(e,t,i)}}return Yc(e,t,n,r,i)}function Hc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return Wc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ya(t,a===null?null:a.cachePool),a===null?jo():Ao(t,a),Lo(t);else return r=t.lanes=536870912,Wc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&Ya(t,null),jo(),Ro()):(Ya(t,a.cachePool),Ao(t,a),Ro(),t.memoizedState=null);return Rc(e,t,i,n),t.child}function Uc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Wc(e,t,n,r,i){var a=Ja();return a=a===null?null:{parent:Na._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&Ya(t,null),jo(),Lo(t),e!==null&&wa(e,t,r,!0),t.childLanes=i,null}function Gc(e,t){return t=il({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Kc(e,t,n){return mo(t,e.child,null,n),e=Gc(t,t.pendingProps),e.flags|=2,zo(t),t.memoizedState=null,e}function qc(e,t,n){var r=t.pendingProps,a=!!(t.flags&128);if(t.flags&=-129,e===null){if(oa){if(r.mode===`hidden`)return e=Gc(t,r),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},Uc(null,e);if(Io(t),(e=aa)?(e=vm(e,ca),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Xi===null?null:{id:Zi,overflow:Qi},retryLane:536870912,hydrationErrors:null},n=Bi(e),n.return=t,t.child=n,ia=t,aa=null)):e=null,e===null)throw ua(t);return t.lanes=536870912,null}return Gc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(Io(t),a){if(t.flags&256)t.flags&=-257,t=Kc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558))}else if(Lc||wa(e,t,n,!1),a=(n&e.childLanes)!==0,Lc||a){if(Oo.current===null){if(r=od,r!==null&&(s=vt(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,Oi(e,s),Wd(r,e,s),Ic;nf()}t=Kc(e,t,n)}else e=o.treeContext,aa=Sm(s.nextSibling),ia=t,oa=!0,sa=null,ca=!1,e!==null&&ra(t,e),t=Gc(t,r),t.flags|=134221824;return t}return e=Fi(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}
vendor: 9,536 bytes, line 51
51function Jc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Yc(e,t,n,r,i){return Ea(t),n=ns(e,t,n,r,void 0,i),r=os(),e!==null&&!Lc?(ss(e,t,i),fl(e,t,i)):(oa&&r&&ta(t),t.flags|=1,Rc(e,t,n,i),t.child)}function Xc(e,t,n,r,i,a){return Ea(t),t.updateQueue=null,n=is(t,r,n,i),rs(e),r=os(),e!==null&&!Lc?(ss(e,t,a),fl(e,t,a)):(oa&&r&&ta(t),t.flags|=1,Rc(e,t,n,a),t.child)}function Zc(e,t,n,r,i){if(Ea(t),t.stateNode===null){var a=ji,o=n.contextType;typeof o==`object`&&o&&(a=Da(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Cc,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},_o(t),o=n.contextType,a.context=typeof o==`object`&&o?Da(o):ji,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Sc(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&Cc.enqueueReplaceState(a,a.state,null),To(t,r,a,i),wo(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=Ec(n,s);a.props=c;var l=a.context,u=n.contextType;o=ji,typeof u==`object`&&u&&(o=Da(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&Tc(t,a,r,o),go=!1;var f=t.memoizedState;a.state=f,To(t,r,a,i),wo(),l=t.memoizedState,s||f!==l||go?(typeof d==`function`&&(Sc(t,n,d,r),l=t.memoizedState),(c=go||wc(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,vo(e,t),o=t.memoizedProps,u=Ec(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=ji,typeof l==`object`&&l&&(c=Da(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&Tc(t,a,r,c),go=!1,f=t.memoizedState,a.state=f,To(t,r,a,i),wo();var p=t.memoizedState;o!==d||f!==p||go||e!==null&&e.dependencies!==null&&Ta(e.dependencies)?(typeof s==`function`&&(Sc(t,n,s,r),p=t.memoizedState),(u=go||wc(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&Ta(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,Jc(e,t),r=!!(t.flags&128),a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=mo(t,e.child,null,i),t.child=mo(t,null,n,i)):Rc(e,t,n,i),t.memoizedState=a.state,e=t.child):e=fl(e,t,i),e}function Qc(e,t,n,r){return ma(),t.flags|=256,Rc(e,t,n,r),t.child}var $c={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function el(e){return{baseLanes:e,cachePool:Xa()}}function tl(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=yd),e}function nl(e,t,n){var r=t.pendingProps,i=!1,a=!!(t.flags&128),o;if((o=a)||(o=e!==null&&e.memoizedState===null?!1:!!(Bo.current&2)),o&&(i=!0,t.flags&=-129),o=!!(t.flags&32),t.flags&=-33,e===null){if(oa){if(i?Fo(t):Ro(),(e=aa)?(e=vm(e,ca),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Xi===null?null:{id:Zi,overflow:Qi},retryLane:536870912,hydrationErrors:null},n=Bi(e),n.return=t,t.child=n,ia=t,aa=null)):e=null,e===null)throw ua(t);return t.lanes=bm(e)?32:536870912,null}return a=r.children,r=r.fallback,i?(Ro(),i=t.mode,a=il({mode:`hidden`,children:a},i),r=Ri(r,i,n,null),a.return=t,r.return=t,a.sibling=r,t.child=a,r=t.child,r.memoizedState=el(n),r.childLanes=tl(e,o,n),t.memoizedState=$c,Uc(null,r)):(Fo(t),rl(t,a))}var s=e.memoizedState;if(s!==null){var c=s.dehydrated;if(c!==null)return L(e,t,a,o,r,c,s,n)}return i?(Ro(),i=r.fallback,a=t.mode,s=e.child,c=s.sibling,r=Fi(s,{mode:`hidden`,children:r.children}),r.subtreeFlags=s.subtreeFlags&1206910976,c===null?(i=Ri(i,a,n,null),i.flags|=2):i=Fi(c,i),i.return=t,r.return=t,r.sibling=i,t.child=r,Uc(null,r),r=t.child,i=e.child.memoizedState,i===null?i=el(n):(a=i.cachePool,a===null?a=Xa():(s=Na._currentValue,a=a.parent===s?a:{parent:s,pool:s}),i={baseLanes:i.baseLanes|n,cachePool:a}),r.memoizedState=i,r.childLanes=tl(e,o,n),t.memoizedState=$c,Uc(e.child,r)):(Fo(t),n=e.child,e=n.sibling,n=Fi(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=n,t.memoizedState=null,n)}function rl(e,t){return t=il({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function il(e,t){return e=Ni(22,e,null,t),e.lanes=0,e}function al(e,t,n){return mo(t,e.child,null,n),e=rl(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function L(e,t,n,r,a,o,s,c){if(n)return t.flags&256?(Fo(t),t.flags&=-257,al(e,t,c)):t.memoizedState===null?(Ro(),o=a.fallback,s=t.mode,a=il({mode:`visible`,children:a.children},s),o=Ri(o,s,c,null),o.flags|=2,a.return=t,o.return=t,a.sibling=o,t.child=a,mo(t,e.child,null,c),a=t.child,a.memoizedState=el(c),a.childLanes=tl(e,r,c),t.memoizedState=$c,Uc(null,a)):(Ro(),t.child=e.child,t.flags|=128,null);if(Fo(t),bm(o)){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,r!==``&&(a=Error(i(419)),a.stack=``,a.digest=r,ga({value:a,source:null,stack:null})),al(e,t,c)}if(Lc||wa(e,t,c,!1),r=(c&e.childLanes)!==0,Lc||r){if(Oo.current!==null)return al(e,t,c);if(r=od,r!==null&&(a=vt(r,c),a!==0&&a!==s.retryLane))throw s.retryLane=a,Oi(e,a),Wd(r,e,a),Ic;return ym(o)||nf(),al(e,t,c)}return ym(o)?(t.flags|=192,t.child=e.child,null):(e=s.treeContext,aa=Sm(o.nextSibling),ia=t,oa=!0,sa=null,ca=!1,e!==null&&ra(t,e),t=rl(t,a.children),t.flags|=134221824,t)}function ol(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Sa(e.return,t,n)}function sl(e){for(var t=null;e!==null;){var n=e.alternate;n!==null&&Uo(n)===null&&(t=e),e=e.sibling}return t}function cl(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function ll(e){var t=e.child;for(e.child=null;t!==null;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function ul(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=Bo.current;if(t.flags&128)return Vo(t,o),null;var s=!!(o&2);if(s?(o=o&1|2,t.flags|=128):o&=1,Vo(t,o),i===`backwards`&&e!==null?(ll(e),Rc(e,t,r,n),ll(e)):Rc(e,t,r,n),r=oa?qi:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&ol(e,n,t);else if(e.tag===19)ol(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`backwards`:n=sl(t.child),n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null,ll(t)),cl(t,!0,i,null,a,r);break;case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Uo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}cl(t,!0,n,null,a,r);break;case`together`:cl(t,!1,null,null,void 0,r);break;case`independent`:t.memoizedState=null;break;default:n=sl(t.child),n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),cl(t,!1,i,n,a,r)}return t.child}function dl(e,t,n){var r=t.pendingProps;return ba(t,t.type,r.value),Rc(e,t,r.children,n),t.child}function fl(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),gd|=t.lanes,(n&t.childLanes)===0){if(e!==null){if(wa(e,t,n,!1),(n&t.childLanes)===0)return null}else return null}if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=Fi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Fi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}
vendor: 12,649 bytes, line 51
51function pl(e,t){return(e.lanes&t)!==0||(e=e.dependencies,!!(e!==null&&Ta(e)))}function ml(e,t,n){switch(t.tag){case 3:Ee(t,t.stateNode.containerInfo),ba(t,Na,e.memoizedState.cache),ma();break;case 27:case 5:Oe(t);break;case 4:Ee(t,t.stateNode.containerInfo);break;case 10:ba(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Io(t),null;break;case 13:var r=t.memoizedState;if(r!==null){if(r.dehydrated!==null)return Fo(t),t.flags|=128,null;r=wa(e,t,n,!1);var i=t.child.childLanes;return r||(n&i)!==0?nl(e,t,n):(Fo(t),e=fl(e,t,n),e===null?null:e.sibling)}Fo(t);break;case 19:if(t.flags&128)return ul(e,t,n);if(i=!!(e.flags&128),r=(n&t.childLanes)!==0,r||=(wa(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return ul(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Vo(t,Bo.current),r)break;return null;case 22:return t.lanes=0,Hc(e,t,n,t.pendingProps);case 24:ba(t,Na,e.memoizedState.cache)}return fl(e,t,n)}function hl(e,t,n){if(e!==null){if(e.memoizedProps!==t.pendingProps)Lc=!0;else{if(!pl(e,n)&&!(t.flags&128))return Lc=!1,ml(e,t,n);Lc=!!(e.flags&131072)}}else Lc=!1,oa&&t.flags&1048576&&ea(t,qi,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=ro(t.elementType),t.type=e,typeof e==`function`)Pi(e)?(r=Ec(e,r),t.tag=1,t=Zc(null,t,e,r,n)):(t.tag=0,t=Yc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===ne){t.tag=11,t=zc(null,t,e,r,n);break a}if(a===ie){t.tag=14,t=Bc(null,t,e,r,n);break a}if(a===A){t.tag=10,t.type=e,t=dl(null,t,n);break a}}throw t=me(e)||e,Error(i(306,t,``))}}return t;case 0:return Yc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=Ec(r,t.pendingProps),Zc(e,t,r,a,n);case 3:a:{if(Ee(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,vo(e,t),To(t,r,null,n);var s=t.memoizedState;if(r=s.cache,ba(t,Na,r),r!==o.cache&&Ca(t,[Na],n,!0),wo(),r=s.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=Qc(e,t,r,n);break a}if(r!==a){a=Ui(Error(i(424)),t),ga(a),t=Qc(e,t,r,n);break a}switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(aa=Sm(e.firstChild),ia=t,oa=!0,sa=null,ca=!0,n=ho(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|134221824,n=n.sibling}else{if(ma(),r===a){t=fl(e,t,n);break a}Rc(e,t,r,n)}t=t.child}return t;case 26:return Jc(e,t),e===null?(n=Km(t.type,null,t.pendingProps,null))?t.memoizedState=n:oa||(t.stateNode=Tp(t.type,t.pendingProps,we.current,t)):t.memoizedState=Km(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Oe(t),e===null&&oa&&(r=t.stateNode=Om(t.type,t.pendingProps,we.current),ia=t,ca=!0,a=aa,Fp(t.type)?(Cm=a,aa=Sm(r.firstChild)):aa=a),Rc(e,t,t.pendingProps.children,n),Jc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&oa&&((a=r=aa)&&(r=gm(r,t.type,t.pendingProps,ca),r===null?a=!1:(t.stateNode=r,ia=t,aa=Sm(r.firstChild),ca=!1,a=!0)),a||ua(t)),Oe(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Ep(a,o)?r=null:s!==null&&Ep(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=ns(e,t,as,null,null,n),bh._currentValue=a),Jc(e,t),Rc(e,t,r,n),t.child;case 6:return e===null&&oa&&((e=n=aa)&&(n=_m(n,t.pendingProps,ca),n===null?e=!1:(t.stateNode=n,ia=t,aa=null,e=!0)),e||ua(t)),null;case 13:return nl(e,t,n);case 4:return Ee(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=mo(t,null,r,n):Rc(e,t,r,n),t.child;case 11:return zc(e,t,t.type,t.pendingProps,n);case 7:return r=t.pendingProps,Jc(e,t),Rc(e,t,r,n),t.child;case 8:return Rc(e,t,t.pendingProps.children,n),t.child;case 12:return Rc(e,t,t.pendingProps.children,n),t.child;case 10:return dl(e,t,n);case 9:return a=t.type._context,r=t.pendingProps.children,Ea(t),a=Da(a),r=r(a),t.flags|=1,Rc(e,t,r,n),t.child;case 14:return Bc(e,t,t.type,t.pendingProps,n);case 15:return Vc(e,t,t.type,t.pendingProps,n);case 19:return ul(e,t,n);case 31:return qc(e,t,n);case 22:return Hc(e,t,n,t.pendingProps);case 24:return Ea(t),r=Da(Na),e===null?(a=Ja(),a===null&&(a=od,o=Pa(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},_o(t),ba(t,Na,a)):((e.lanes&n)!==0&&(vo(e,t),To(t,null,null,n),wo()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,ba(t,Na,r),r!==a.cache&&Ca(t,[Na],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),ba(t,Na,r))),Rc(e,t,t.pendingProps.children,n),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),r=t.pendingProps,r.name!=null&&r.name!==`auto`?t.flags|=e===null?18882560:18874368:oa&&ta(t),e!==null&&e.memoizedProps.name!==r.name?t.flags|=4194816:Jc(e,t),Rc(e,t,r.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function gl(e){e.flags|=4}function _l(e,t,n,r,i){var a;if((a=!!(e.mode&32))&&(a=n===null?sh(t,r):sh(t,r)&&(r.src!==n.src||r.srcSet!==n.srcSet)),a){if(e.flags|=16777216,(i&335544128)===i){if(e.stateNode.complete)e.flags|=8192;else if($d())e.flags|=8192;else throw io=eo,Qa}}else e.flags&=-16777217}function vl(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!ch(t)){if($d())e.flags|=8192;else throw io=eo,Qa}}function yl(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:ft(),e.lanes|=t,bd|=t)}function bl(e,t){if(!oa)switch(e.tailMode){case`visible`:break;case`collapsed`:for(var n=e.tail,r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null;break;default:for(t=e.tail,n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null}}function xl(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&1206910976,r|=i.flags&1206910976,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Sl(e,t,n){var r=t.pendingProps;switch(na(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return xl(t),null;case 1:return xl(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),xa(Na),De(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(pa(t)?gl(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,ha())),xl(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(gl(t),o===null?(xl(t),_l(t,a,null,r,n)):(xl(t),vl(t,o))):o?o===e.memoizedState?(xl(t),t.flags&=-16777217):(gl(t),xl(t),vl(t,o)):(e=e.memoizedProps,e!==r&&gl(t),xl(t),_l(t,a,e,r,n)),null;case 27:if(ke(t),n=we.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&gl(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return xl(t),t.subtreeFlags&=-33554433,null}e=Se.current,pa(t)?da(t,e):(e=Om(a,r,n),t.stateNode=e,gl(t))}return xl(t),t.subtreeFlags&=-33554433,null;case 5:if(ke(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&gl(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return xl(t),t.subtreeFlags&=-33554433,null}if(o=Se.current,pa(t))da(t,o);else{var s=Sp(we.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;default:switch(a){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[wt]=t,o[Tt]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(hp(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&gl(t)}}return xl(t),t.subtreeFlags&=-33554433,_l(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&gl(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=we.current,pa(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=ia,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[wt]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||fp(e.nodeValue,n)),e||ua(t,!0)}else e=Sp(e).createTextNode(r),e[wt]=t,t.stateNode=e}return xl(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=pa(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[wt]=t}else ma(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;xl(t),e=!1}else n=ha(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(zo(t),t):(zo(t),null);if(t.flags&128)throw Error(i(558))}return xl(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=pa(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[wt]=t}else ma(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;xl(t),a=!1}else a=ha(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(zo(t),t):(zo(t),null)}return zo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),yl(t,t.updateQueue),xl(t),null);case 4:return De(),e===null&&np(t.stateNode.containerInfo),t.flags|=67108864,xl(t),null;case 10:return xa(t.type),xl(t),null;case 19:if(Ho(t),r=t.memoizedState,r===null)return xl(t),null;if(a=!!(t.flags&128),o=r.rendering,o===null){if(a)bl(r,!1);else{if(hd!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Uo(e),o!==null){for(t.flags|=128,bl(r,!1),e=o.updateQueue,t.updateQueue=e,yl(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Ii(n,e),n=n.sibling;return Vo(t,Bo.current&1|2),oa&&$i(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&He()>Ed&&(t.flags|=128,a=!0,bl(r,!1),t.lanes=4194304)}}else{if(!a){if(e=Uo(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,yl(t,e),bl(r,!0),r.tail===null&&r.tailMode!==`collapsed`&&r.tailMode!==`visible`&&!o.alternate&&!oa)return xl(t),null}else 2*He()-r.renderingStartTime>Ed&&n!==536870912&&(t.flags|=128,a=!0,bl(r,!1),t.lanes=4194304)}r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}if(r.tail!==null){e=r.tail;a:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break a}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=He(),e.sibling=null,o=Bo.current,o=a?o&1|2:o&1,r.tailMode===`visible`||r.tailMode===`collapsed`||!n||oa?Vo(t,o):(n=o,xe(No,t),xe(Bo,n),Po===null&&(Po=t)),oa&&$i(t,r.treeForkCount),e}return xl(t),null;case 22:case 23:return zo(t),Mo(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(xl(t),t.subtreeFlags&6&&(t.flags|=8192)):xl(t),n=t.updateQueue,n!==null&&yl(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&be(qa),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),xa(Na),xl(t),null;case 25:return null;case 30:return t.flags|=33554432,xl(t),null}throw Error(i(156,t.tag))}function Cl(e,t){switch(na(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;
vendor: 4,842 bytes, line 51
51case 3:return xa(Na),De(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ke(t),null;case 31:if(t.memoizedState!==null){if(zo(t),t.alternate===null)throw Error(i(340));ma()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(zo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));ma()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ho(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return De(),null;case 10:return xa(t.type),null;case 22:case 23:return zo(t),Mo(),e!==null&&be(qa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return xa(Na),null;case 25:return null;default:return null}}function wl(e,t){switch(na(t),t.tag){case 3:xa(Na),De();break;case 26:case 27:case 5:ke(t);break;case 4:De();break;case 31:t.memoizedState!==null&&zo(t);break;case 13:zo(t);break;case 19:Ho(t);break;case 10:xa(t.type);break;case 22:case 23:zo(t),Mo(),e!==null&&be(qa);break;case 24:xa(Na)}}function Tl(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){wf(t,t.return,e)}}function El(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){wf(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){wf(t,t.return,e)}}function Dl(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Do(t,n)}catch(t){wf(e,e.return,t)}}}function Ol(e,t,n){n.props=Ec(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){wf(e,t,n)}}function kl(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var i=e.stateNode,a=vi(e.memoizedProps,i);(i.ref===null||i.ref.name!==a)&&(i.ref=qp(a)),r=i.ref;break;case 7:if(e.stateNode===null){var o=new Jp(e);f(e.child,!1,dm,o,void 0,void 0),e.stateNode=o}r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){wf(e,t,n)}}function Al(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{r()}catch(n){wf(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){wf(e,t,n)}else n.current=null}}function jl(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var n=0;n<t.length;n++)pm(e.stateNode,t[n])}function Ml(e){for(var t=e.return;t!==null&&(Fl(t)&&pm(e.stateNode,t.stateNode),!Pl(t));)t=t.return}function Nl(e){for(var t=e.return;t!==null&&(Fl(t)&&mm(e.stateNode,t.stateNode),!Pl(t));)t=t.return}function Pl(e){return e.tag===5||e.tag===3||e.tag===27}function Fl(e){return e&&e.tag===7&&e.stateNode!==null}function Il(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){wf(e,e.return,t)}}function Ll(e,t,n){try{var r=e.stateNode;_p(r,e.type,n,t),r[Tt]=t}catch(t){wf(e,e.return,t)}}function Rl(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Fp(e.type)||e.tag===4}function zl(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Rl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Fp(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Bl(e,t,n,r){var i=e.tag;if(i===5||i===6)i=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(i,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(i),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=yn)),jl(e,r),Jt=!0;else if(i!==4&&(i===27&&(jl(e,r),r=null,Fp(e.type)&&(n=e.stateNode,t=null)),e=e.child,e!==null))for(Bl(e,t,n,r),e=e.sibling;e!==null;)Bl(e,t,n,r),e=e.sibling}function Vl(e,t,n,r){var i=e.tag;if(i===5||i===6)i=e.stateNode,t?n.insertBefore(i,t):n.appendChild(i),jl(e,r),Jt=!0;else if(i!==4&&(i===27&&(jl(e,r),r=null,Fp(e.type)&&(n=e.stateNode)),e=e.child,e!==null))for(Vl(e,t,n,r),e=e.sibling;e!==null;)Vl(e,t,n,r),e=e.sibling}function Hl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);hp(t,r,n),t[wt]=e,t[Tt]=n}catch(t){wf(e,e.return,t)}}var Ul=!1,Wl=null;function Gl(e){(e.tag===30||e.subtreeFlags&33554432)&&(Ul=!0)}var Kl=null;function ql(){var e=Kl;return Kl=null,e}var Jl=0;function Yl(e,t,n,r,i){return Jl=0,Xl(e.child,t,n,r,i)}function Xl(e,t,n,r,i){for(var a=!1;
51e!==null;){if(e.tag===5){var o=e.stateNode;if(r!==null){var s=Vp(o);r.push(s),s.view&&(a=!0)}else a||Vp(o).view&&(a=!0);Ul=!0,Rp(o,Jl===0?t:t+`_`+Jl,n),Jl++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&i||Xl(e.child,t,n,r,i)&&(a=!0));e=e.sibling}return a}function Zl(e,t){for(;e!==null;)e.tag===5?zp(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&t||Zl(e.child,t)),e=e.sibling}function Ql(e){if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(Ql(e),e.tag===30&&e.flags&18874368&&e.stateNode.paired)){var t=e.memoizedProps;if(t.name==null||t.name===`auto`)throw Error(i(544));var n=t.name;t=bi(t.default,t.share),t!==`none`&&(Yl(e,n,t,null,!1)||Zl(e.child,!1))}e=e.sibling}}function $l(e,t){if(e.tag===30){var n=e.stateNode,r=e.memoizedProps,i=vi(r,n),a=bi(r.default,n.paired?r.share:r.enter);a===`none`?Ql(e):Yl(e,i,a,null,!1)?(Ql(e),n.paired||t||Ud(e,r.onEnter)):Zl(e.child,!1)}else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)$l(e,t),e=e.sibling;else Ql(e)}function eu(e){if(Wl!==null&&Wl.size!==0){var t=Wl;if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&e.flags&18874368){var n=e.memoizedProps,r=n.name;if(r!=null&&r!==`auto`){var i=t.get(r);if(i!==void 0){var a=bi(n.default,n.share);if(a!==`none`&&(Yl(e,r,a,null,!1)?(a=e.stateNode,i.paired=a,a.paired=i,Ud(e,n.onShare)):Zl(e.child,!1)),t.delete(r),t.size===0)break}}}eu(e)}e=e.sibling}}}function tu(e){if(e.tag===30){var t=e.memoizedProps,n=vi(t,e.stateNode),r=Wl===null?void 0:Wl.get(n),i=bi(t.default,r===void 0?t.exit:t.share);i!==`none`&&(Yl(e,n,i,null,!1)?r===void 0?Ud(e,t.onExit):(i=e.stateNode,r.paired=i,i.paired=r,Wl.delete(n),Ud(e,t.onShare)):Zl(e.child,!1)),Wl!==null&&eu(e)}else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)tu(e),e=e.sibling;else Wl!==null&&eu(e)}function nu(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,n=vi(t,e.stateNode);t=bi(t.default,t.update),e.flags&=-5,t!==`none`&&Yl(e,n,t,e.memoizedState=[],!1)}else e.subtreeFlags&33554432&&nu(e);e=e.sibling}}function ru(e){if(e.subtreeFlags&18874368)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&e.flags&18874368){var t=e.stateNode;t.paired!==null&&(t.paired=null,Zl(e.child,!1))}ru(e)}e=e.sibling}}function iu(e){if(e.tag===30)e.stateNode.paired=null,Zl(e.child,!1),ru(e);else if(e.subtreeFlags&33554432)for(e=e.child;e!==null;)iu(e),e=e.sibling;else ru(e)}function au(e){for(e=e.child;e!==null;)e.tag===30?Zl(e.child,!1):e.subtreeFlags&33554432&&au(e),e=e.sibling}function ou(e,t,n,r,i,a,o){for(var s=!1;t!==null;){if(t.tag===5){var c=t.stateNode;if(a!==null&&Jl<a.length){var l=a[Jl],u=Vp(c);(l.view||u.view)&&(s=!0);var d;if(d=!(e.flags&4)){if(u.clip)d=!0;else{d=l.rect;var f=u.rect;d=d.y!==f.y||d.x!==f.x||d.height!==f.height||d.width!==f.width}}d&&(e.flags|=4),u.abs?u=!l.abs:(l=l.rect,u=u.rect,u=l.height!==u.height||l.width!==u.width),u&&(e.flags|=32)}else e.flags|=32;e.flags&4&&Rp(c,Jl===0?n:n+`_`+Jl,i),s&&e.flags&4||(Kl===null&&(Kl=[]),Kl.push(c,Jl===0?r:r+`_`+Jl,t.memoizedProps)),Jl++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&o?e.flags|=t.flags&32:ou(e,t.child,n,r,i,a,o)&&(s=!0));t=t.sibling}return s}function su(e,t){for(e=e.child;e!==null;){if(e.tag===30){var n=e.memoizedProps,r=e.stateNode,i=vi(n,r),a=bi(n.default,n.update);if(t){r=r.clones;var o=r===null?null:r.map(Hp)}else o=e.memoizedState,e.memoizedState=null;r=e;var s=e.child;Jl=0,i=ou(r,s,i,i,a,o,!1),e.flags&4&&i&&(t||Ud(e,n.onUpdate))}else e.subtreeFlags&33554432&&su(e,t);e=e.sibling}}var cu=!1,lu=!1,uu=!1,du=!1,fu=typeof WeakSet==`function`?WeakSet:Set,pu=null,mu=!1,hu=!1,gu=!1,_u=!1;function vu(e,t,n){if(e=e.containerInfo,bp=Oh,e=Jr(e),Yr(e)){if(`selectionStart`in e)var r={start:e.selectionStart,end:e.selectionEnd};else a:{r=(r=e.ownerDocument)&&r.defaultView||window;var i=r.getSelection&&r.getSelection();if(i&&i.rangeCount!==0){r=i.anchorNode;var a=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==r||a!==0&&f.nodeType!==3||(c=s+a),f!==o||i!==0&&f.nodeType!==3||(l=s+i),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===r&&++u===a&&(c=s),p===o&&++d===i&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}r=c===-1||l===-1?null:{start:c,end:l}}else r=null}r||={start:0,end:0}}else r=null;
vendor: 18,745 bytes, line 51
51for(xp={focusedElem:e,selectionRange:r},Oh=!1,n=(n&335544064)===n,pu=t,t=n?9270:1024;pu!==null;){if(e=pu,n&&(r=e.deletions,r!==null))for(a=0;a<r.length;a++)n&&tu(r[a]);if(e.alternate===null&&e.flags&2)n&&Gl(e),yu(n);else{if(e.tag===22){if(r=e.alternate,e.memoizedState!==null){r!==null&&r.memoizedState===null&&n&&tu(r),yu(n);continue}if(r!==null&&r.memoizedState!==null){n&&Gl(e),yu(n);continue}}r=e.child,(e.subtreeFlags&t)!==0&&r!==null?(r.return=e,pu=r):(n&&nu(e),yu(n))}}Wl=null}function yu(e){for(;pu!==null;){var t=pu,n=e,r=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 15:break;case 1:if(a&1024&&r!==null){n=void 0,a=r.memoizedProps,r=r.memoizedState;var o=t.stateNode;try{var s=Ec(t.type,a);n=o.getSnapshotBeforeUpdate(s,r),o.__reactInternalSnapshotBeforeUpdate=n}catch(e){wf(t,t.return,e)}}break;case 3:if(a&1024){if(r=t.stateNode.containerInfo,n=r.nodeType,n===9)hm(r);else if(n===1)switch(r.nodeName){case`HEAD`:case`HTML`:case`BODY`:hm(r);break;default:r.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:n&&r!==null&&(n=vi(r.memoizedProps,r.stateNode),a=t.memoizedProps,a=bi(a.default,a.update),a!==`none`&&Yl(r,n,a,r.memoizedState=[],!0));break;default:if(a&1024)throw Error(i(163))}if(r=t.sibling,r!==null){r.return=t.return,pu=r;break}pu=t.return}}function bu(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Bu(e,n),r&4&&Tl(5,n);break;case 1:if(Bu(e,n),r&4){if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){wf(n,n.return,e)}else{var i=Ec(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){wf(n,n.return,e)}}}r&64&&Dl(n),r&512&&kl(n,n.return);break;case 3:if(Bu(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{Do(e,t)}catch(e){wf(n,n.return,e)}}break;case 27:t===null&&r&4&&Hl(n);case 26:case 5:Bu(e,n),t===null&&r&4&&Il(n),r&512&&kl(n,n.return);break;case 12:Bu(e,n);break;case 31:Bu(e,n),r&4&&ku(e,n);break;case 13:Bu(e,n),r&4&&Au(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Of.bind(null,n),xm(e,n))));break;case 22:if(r=n.memoizedState!==null||cu,!r){var a=t!==null&&t.memoizedState!==null||lu;t=cu,i=lu,cu=r,(lu=a)&&!i?(r=2,n.subtreeFlags&8772&&(r|=1),Hu(e,n,r)):Bu(e,n),cu=t,lu=i}break;case 30:Bu(e,n),r&512&&kl(n,n.return);break;case 7:r&512&&kl(n,n.return);default:Bu(e,n)}}function xu(e,t){for(e=e.child;e!==null;)Su(e,t),e=e.sibling}function Su(e,t){switch(e.tag){case 5:case 26:try{var n=e.stateNode;if(t){var r=n.style;typeof r.setProperty==`function`?r.setProperty(`display`,`none`,`important`):r.display=`none`}else{var i=e.stateNode,a=e.memoizedProps.style,o=a!=null&&a.hasOwnProperty(`display`)?a.display:null;i.style.display=o==null||typeof o==`boolean`?``:(``+o).trim()}}catch(t){wf(e,e.return,t)}Cu(e,t);break;case 6:try{e.stateNode.nodeValue=t?``:e.memoizedProps,Jt=!0}catch(t){wf(e,e.return,t)}break;case 18:try{var s=e.stateNode;t?Lp(s,!0):Lp(e.stateNode,!1)}catch(t){wf(e,e.return,t)}break;case 22:case 23:e.memoizedState===null&&xu(e,t);break;default:xu(e,t)}}function Cu(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){a:{var n=e,r=t;switch(n.tag){case 4:Su(n,r);break a;case 22:n.memoizedState===null&&Cu(n,r);break a;default:Cu(n,r)}}e=e.sibling}}function wu(e){var t=e.alternate;t!==null&&(e.alternate=null,wu(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Nt(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Tu=null,Eu=!1;function Du(e,t,n){for(n=n.child;n!==null;)Ou(e,t,n),n=n.sibling}function Ou(e,t,n){if(Qe&&typeof Qe.onCommitFiberUnmount==`function`)try{Qe.onCommitFiberUnmount(Ze,n)}catch{}switch(n.tag){case 26:lu||Al(n,t),Du(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&!lu&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:lu||Al(n,t),Nl(n);var r=Tu,i=Eu;Fp(n.type)&&(Tu=n.stateNode,Eu=!1),Du(e,t,n),km(n.stateNode,n.type,n.memoizedProps),Tu=r,Eu=i;break;case 5:lu||Al(n,t),Nl(n);case 6:if(n.tag===6&&Nl(n),r=Tu,i=Eu,Tu=null,Du(e,t,n),Tu=r,Eu=i,Tu!==null){if(Eu)try{(Tu.nodeType===9?Tu.body:Tu.nodeName===`HTML`?Tu.ownerDocument.body:Tu).removeChild(n.stateNode),Jt=!0}catch(e){wf(n,t,e)}else try{Tu.removeChild(n.stateNode),Jt=!0}catch(e){wf(n,t,e)}}break;case 18:Tu!==null&&(Eu?(e=Tu,Ip(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),eg(e)):Ip(Tu,n.stateNode));break;case 4:r=Tu,i=Eu,Tu=n.stateNode.containerInfo,Eu=!0,Du(e,t,n),Tu=r,Eu=i;break;case 0:case 11:case 14:case 15:El(2,n,t),lu||El(4,n,t),Du(e,t,n);break;case 1:lu||(Al(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&Ol(n,t,r)),Du(e,t,n);break;case 21:Du(e,t,n);break;case 22:lu=(r=lu)||n.memoizedState!==null,Du(e,t,n),lu=r;break;case 30:Al(n,t),Du(e,t,n);break;case 7:lu||Al(n,t),Du(e,t,n);break;default:Du(e,t,n)}}function ku(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{eg(e)}catch(e){wf(t,t.return,e)}}}function Au(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{eg(e)}catch(e){wf(t,t.return,e)}}function ju(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new fu),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new fu),t;default:throw Error(i(435,e.tag))}}function Mu(e,t){var n=ju(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=kf.bind(null,e,t);t.then(r,r)}})}function Nu(e,t,n){var r=t.deletions;if(r!==null)for(var a=0;a<r.length;a++){var o=r[a],s=e,c=t,l=c;a:for(;l!==null;){switch(l.tag){case 27:if(Fp(l.type)){Tu=l.stateNode,Eu=!1;break a}break;case 5:Tu=l.stateNode,Eu=!1;break a;case 3:case 4:Tu=l.stateNode.containerInfo,Eu=!0;break a}l=l.return}if(Tu===null)throw Error(i(160));Ou(s,c,o),Tu=null,Eu=!1,s=o.alternate,s!==null&&(s.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Fu(t,e,n),t=t.sibling}var Pu=null;function Fu(e,t,n){var r=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(a&4&&(r=e.updateQueue,r=r===null?null:r.events,r!==null))for(var o=0;o<r.length;o++){var s=r[o];s.ref.impl=s.nextImpl}Nu(t,e,n),Iu(e),a&4&&(El(3,e,e.return),Tl(3,e),El(5,e,e.return));break;case 1:Nu(t,e,n),Iu(e),a&512&&(lu||r===null||Al(r,r.return)),a&64&&cu&&(e=e.updateQueue,e!==null&&(t=e.callbacks,t!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?t:n.concat(t))));break;case 26:if(o=Pu,Nu(t,e,n),Iu(e),a&512&&(lu||r===null||Al(r,r.return)),a&4){if(a=r===null?null:r.memoizedState,n=e.memoizedState,r===null){if(n===null){if(e.stateNode===null){if(cu)e.stateNode=Tp(e.type,e.memoizedProps,t.containerInfo,e);else{a:{t=e.type,n=e.memoizedProps,a=o.ownerDocument||o;b:switch(t){case`title`:r=a.getElementsByTagName(`title`)[0],(!r||r[jt]||r[wt]||r.namespaceURI===`http://www.w3.org/2000/svg`||r.hasAttribute(`itemprop`))&&(r=a.createElement(t),a.head.insertBefore(r,a.querySelector(`head > title`))),hp(r,t,n),r[wt]=e,Rt(r),t=r;break a;case`link`:if(o=ih(`link`,`href`,a).get(t+(n.href||``))){for(s=0;s<o.length;s++)if(r=o[s],r.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&r.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&r.getAttribute(`title`)===(n.title==null?null:n.title)&&r.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){o.splice(s,1);break b}}r=a.createElement(t),hp(r,t,n),a.head.appendChild(r);break;case`meta`:if(o=ih(`meta`,`content`,a).get(t+(n.content||``))){for(s=0;s<o.length;s++)if(r=o[s],r.getAttribute(`content`)===(n.content==null?null:``+n.content)&&r.getAttribute(`name`)===(n.name==null?null:n.name)&&r.getAttribute(`property`)===(n.property==null?null:n.property)&&r.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&r.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){o.splice(s,1);break b}}r=a.createElement(t),hp(r,t,n),a.head.appendChild(r);break;default:throw Error(i(468,t))}r[wt]=e,Rt(r),t=r}e.stateNode=t}}else cu||ah(o,e.type,e.stateNode)}else e.stateNode=$m(o,n,e.memoizedProps)}else a===n?n===null&&e.stateNode!==null&&Ll(e,e.memoizedProps,r.memoizedProps):(a===null?(t=r.stateNode,t===null||lu||t.parentNode.removeChild(t)):a.count--,n===null?cu||ah(o,e.type,e.stateNode):$m(o,n,e.memoizedProps))}break;case 27:Nu(t,e,n),Iu(e),a&512&&(lu||r===null||Al(r,r.return)),r!==null&&a&4&&Ll(e,e.memoizedProps,r.memoizedProps);break;case 5:if(o=uu,uu=!1,Nu(t,e,n),uu=o,Iu(e),a&512&&(lu||r===null||Al(r,r.return)),e.flags&32){t=e.stateNode;try{dn(t,``),Jt=!0}catch(t){wf(e,e.return,t)}}a&4&&e.stateNode!=null&&(t=e.memoizedProps,Ll(e,t,r===null?t:r.memoizedProps)),a&1024&&(du=!0);break;case 6:if(Nu(t,e,n),Iu(e),a&4){if(e.stateNode===null)throw Error(i(162));t=e.memoizedProps,n=e.stateNode;try{n.nodeValue=t,Jt=!0}catch(t){wf(e,e.return,t)}}break;case 3:if(Jt=!1,rh=null,o=Pu,Pu=Nm(t.containerInfo),Nu(t,e,n),Pu=o,Iu(e),a&4&&r!==null&&r.memoizedState.isDehydrated)try{eg(t.containerInfo)}catch(t){wf(e,e.return,t)}du&&(du=!1,Lu(e)),Jt=!1;break;case 4:a=uu,uu=cu,r=Yt(),o=Pu,Pu=Nm(e.stateNode.containerInfo),Nu(t,e,n),Iu(e),Pu=o,Jt&&hu&&(gu=!0),Jt=r,uu=a;break;case 12:Nu(t,e,n),Iu(e);break;case 31:Nu(t,e,n),Iu(e),a&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Mu(e,t)));break;case 13:Nu(t,e,n),Iu(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(wd=He()),a&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Mu(e,t)));break;case 22:o=e.memoizedState!==null,s=r!==null&&r.memoizedState!==null;var c=cu,l=lu,u=uu;cu=c||o,uu=u||o,lu=l||s,Nu(t,e,n),lu=l,uu=u,cu=c,Iu(e),a&8192&&(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,!o||r===null||s||cu||lu||(t=s||lu,n=cu,r=lu,cu=o||cu,lu=t,Vu(e,2),cu=n,lu=r),!o&&uu||xu(e,o)),a&4&&(t=e.updateQueue,t!==null&&(n=t.retryQueue,n!==null&&(t.retryQueue=null,Mu(e,n))));break;case 19:Nu(t,e,n),Iu(e),a&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Mu(e,t)));break;case 30:a&512&&(lu||r===null||Al(r,r.return)),a=Yt(),o=hu,s=(n&335544064)===n,c=e.memoizedProps,hu=s&&bi(c.default,c.update)!==`none`,Nu(t,e,n),Iu(e),s&&r!==null&&Jt&&(e.flags|=4),hu=o,Jt=a;break;case 21:break;case 7:a&512&&(lu||r===null||Al(r,r.return)),r&&r.stateNode!==null&&(r.stateNode._fragmentFiber=e);default:Nu(t,e,n),Iu(e)}}function Iu(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Rl(r)){n=r;break}r=r.return}r=null;for(var a=e.return;a!==null;){if(Fl(a)){var o=a.stateNode;r===null?r=[o]:r.push(o)}if(Pl(a))break;a=a.return}var s=r;if(n==null)throw Error(i(160));switch(n.tag){case 27:var c=n.stateNode;Vl(e,zl(e),c,s);break;case 5:var l=n.stateNode;n.flags&32&&(dn(l,``),n.flags&=-33),Vl(e,zl(e),l,s);break;case 3:case 4:var u=n.stateNode.containerInfo;Bl(e,zl(e),u,s);break;default:throw Error(i(161))}}catch(t){wf(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Lu(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Lu(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,Oh=!0,t.reset(),Oh=!1),e=e.sibling}}function Ru(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)zu(t,e),t=t.sibling;else su(t,!1)}function zu(e,t){var n=e.alternate;if(n===null)$l(e,!1);else switch(e.tag){case 3:if(_u=mu=!1,ql(),Ru(t,e),!mu&&!gu){if(e=Kl,e!==null)for(var r=0;r<e.length;r+=3){n=e[r];var i=e[r+1];zp(n,e[r+2]),n=n.ownerDocument.documentElement,n!==null&&n.animate({opacity:[0,0],pointerEvents:[`none`,`none`]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition-group(`+i+`)`})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===``&&(e.style.viewTransitionName=`none`,e.animate({opacity:[0,0],pointerEvents:[`none`,`none`]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition-group(root)`}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:`forwards`,pseudoElement:`::view-transition`})),_u=!0}Kl=null;break;case 5:Ru(t,e);break;case 4:r=mu,mu=!1,Ru(t,e),mu&&(gu=!0),mu=r;break;case 22:e.memoizedState===null&&(n.memoizedState===null?Ru(t,e):$l(e,!1));break;case 30:r=mu,i=ql(),mu=!1,Ru(t,e),mu&&(e.flags|=4);var a=e.memoizedProps,o=e.stateNode;t=vi(a,o),o=vi(n.memoizedProps,o);var s=bi(a.default,a.update);s===`none`?t=!1:(a=n.memoizedState,n.memoizedState=null,n=e.child,Jl=0,t=ou(e,n,t,o,s,a,!0),Jl!==(a===null?0:a.length)&&(e.flags|=32)),e.flags&4&&t?(Ud(e,e.memoizedProps.onUpdate),Kl=i):i!==null&&(i.push.apply(i,Kl),Kl=i),mu=e.flags&32?!0:r;break;default:Ru(t,e)}}function Bu(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)bu(e,t.alternate,t),t=t.sibling}function Vu(e,t){for(e=e.child;e!==null;){var n=e,r=t;switch(n.tag){case 0:case 11:case 14:case 15:El(4,n,n.return),Vu(n,r);break;case 1:Al(n,n.return);var i=n.stateNode;typeof i.componentWillUnmount==`function`&&Ol(n,n.return,i),Vu(n,r);break;case 27:r&2&&km(n.stateNode,n.type,n.memoizedProps);case 5:Al(n,n.return),n.tag!==5&&n.tag!==27||Nl(n),Vu(n,r);break;case 6:Nl(n);break;case 26:Al(n,n.return),i=n.stateNode,n.memoizedState!==null||i===null||lu||i.parentNode.removeChild(i),Vu(n,r);break;case 22:n.memoizedState===null&&Vu(n,r);break;case 30:Al(n,n.return),Vu(n,r);break;case 7:Al(n,n.return);default:Vu(n,r)}e=e.sibling}}function Hu(e,t,n){for(n=t.subtreeFlags&8772?n:n&-2,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags,s=!!(n&1);switch(a.tag){case 0:case 11:case 15:Hu(i,a,n),Tl(4,a);break;case 1:if(Hu(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){wf(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var c=r.stateNode;try{var l=i.shared.hiddenCallbacks;if(l!==null)for(i.shared.hiddenCallbacks=null,i=0;i<l.length;i++)Eo(l[i],c)}catch(e){wf(r,r.return,e)}}s&&o&64&&Dl(a),kl(a,a.return);break;case 27:n&2&&Hl(a);case 5:a.tag!==5&&a.tag!==27||Ml(a),Hu(i,a,n),s&&r===null&&o&4&&Il(a),kl(a,a.return);break;case 6:Ml(a);break;case 26:c=a.stateNode,a.memoizedState!==null||c===null||cu||ah(Nm(c.ownerDocument),a.type,c),Hu(i,a,n),s&&r===null&&o&4&&Il(a),kl(a,a.return);break;case 12:Hu(i,a,n);break;case 31:Hu(i,a,n),s&&o&4&&ku(i,a);break;case 13:Hu(i,a,n),s&&o&4&&Au(i,a);break;case 22:a.memoizedState===null&&Hu(i,a,n),kl(a,a.return);break;case 30:Hu(i,a,n),kl(a,a.return);break;case 7:kl(a,a.return);default:Hu(i,a,n)}t=t.sibling}}function Uu(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&Fa(n))}function Wu(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Fa(e))}function Gu(e,t,n,r){var i=(n&335544064)===n;if(t.subtreeFlags&(i?10262:10256))for(t=t.child;t!==null;)Ku(e,t,n,r),t=t.sibling;else i&&au(t)}function Ku(e,t,n,r){var i=(n&335544064)===n;i&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&iu(t);var a=t.flags;switch(t.tag){case 0:case 11:case 15:Gu(e,t,n,r),a&2048&&Tl(9,t);break;case 1:Gu(e,t,n,r);break;case 3:Gu(e,t,n,r),i&&_u&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,e.style.viewTransitionName===`root`&&(e.style.viewTransitionName=``),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===`none`&&(e.style.viewTransitionName=``)),a&2048&&(a=null,t.alternate!==null&&(a=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==a&&(t.refCount++,a!=null&&Fa(a)));break;case 12:if(a&2048){Gu(e,t,n,r),a=t.stateNode;try{var o=t.memoizedProps,s=o.id,c=o.onPostCommit;typeof c==`function`&&c(s,t.alternate===null?`mount`:`update`,a.passiveEffectDuration,-0)}catch(e){wf(t,t.return,e)}}else Gu(e,t,n,r);break;case 31:Gu(e,t,n,r);break;case 13:Gu(e,t,n,r);break;case 23:break;case 22:o=t.stateNode,s=t.alternate,t.memoizedState===null?(i&&s!==null&&s.memoizedState!==null&&iu(t),o._visibility&2?Gu(e,t,n,r):(o._visibility|=2,qu(e,t,n,r,!!(t.subtreeFlags&10256)||!1))):(i&&s!==null&&s.memoizedState===null&&iu(s),o._visibility&2?Gu(e,t,n,r):Ju(e,t)),a&2048&&Uu(s,t);break;case 24:Gu(e,t,n,r),a&2048&&Wu(t.alternate,t);break;case 30:i&&(a=t.alternate,a!==null&&(Zl(a.child,!0),Zl(t.child,!0))),Gu(e,t,n,r);break;default:Gu(e,t,n,r)}}function qu(e,t,n,r,i){for(i&&=!!(t.subtreeFlags&10256)||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:qu(a,o,s,c,i),Tl(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,qu(a,o,s,c,i)):u._visibility&2?qu(a,o,s,c,i):Ju(a,o),i&&l&2048&&Uu(o.alternate,o);break;case 24:qu(a,o,s,c,i),i&&l&2048&&Wu(o.alternate,o);break;default:qu(a,o,s,c,i)}t=t.sibling}}function Ju(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:Ju(n,r),i&2048&&Uu(r.alternate,r);break;case 24:Ju(n,r),i&2048&&Wu(r.alternate,r);break;default:Ju(n,r)}t=t.sibling}}var Yu=8192;function Xu(e,t,n){if(e.subtreeFlags&Yu)for(e=e.child;e!==null;)Zu(e,t,n),e=e.sibling}function Zu(e,t,n){switch(e.tag){case 26:Xu(e,t,n),e.flags&Yu&&(e.memoizedState===null?(e=e.stateNode,(t&335544128)===t&&uh(n,e)):dh(n,Pu,e.memoizedState,e.memoizedProps));break;case 5:Xu(e,t,n),e.flags&Yu&&(e=e.stateNode,(t&335544128)===t&&uh(n,e));break;case 3:case 4:var r=Pu;Pu=Nm(e.stateNode.containerInfo),Xu(e,t,n),Pu=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Yu,Yu=16777216,Xu(e,t,n),Yu=r):Xu(e,t,n));break;case 30:if((e.flags&Yu)!==0&&(r=e.memoizedProps.name,r!=null&&r!==`auto`)){var i=e.stateNode;i.paired=null,Wl===null&&(Wl=new Map),Wl.set(r,i)}Xu(e,t,n);break;default:Xu(e,t,n)}}function Qu(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function $u(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];pu=r,nd(r,e)}Qu(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)ed(e),e=e.sibling}function ed(e){switch(e.tag){case 0:case 11:case 15:$u(e),e.flags&2048&&El(9,e,e.return);break;case 3:$u(e);break;case 12:$u(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,td(e)):$u(e);break;default:$u(e)}}function td(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];pu=r,nd(r,e)}Qu(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:El(8,t,t.return),td(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,td(t));break;default:td(t)}e=e.sibling}}
51function nd(e,t){for(;pu!==null;){var n=pu;switch(n.tag){case 0:case 11:case 15:El(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:Fa(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,pu=r;else a:for(n=e;pu!==null;){r=pu;var i=r.sibling,a=r.return;if(wu(r),r===n){pu=null;break a}if(i!==null){i.return=a,pu=i;break a}pu=a}}}var rd={getCacheForType:function(e){var t=Da(Na),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Da(Na).controller.signal}},id=typeof WeakMap==`function`?WeakMap:Map,ad=0,od=null,sd=null,cd=0,ld=0,ud=null,dd=!1,fd=!1,pd=!1,md=0,hd=0,gd=0,_d=0,vd=0,yd=0,bd=0,xd=null,Sd=null,Cd=!1,wd=0,Td=0,Ed=1/0,Dd=null,Od=null,kd=0,Ad=null,jd=null,Md=0,Nd=0,Pd=null,Fd=null,Id=null,Ld=null,Rd=null,zd=0,Bd=null;function Vd(){return ad&2&&cd!==0?cd&-cd:M.T===null?xt():Gf()}function Hd(){if(yd===0){if(!(cd&536870912)||oa){var e=at;at<<=1,!(at&3932160)&&(at=262144),yd=e}else yd=536870912}return e=No.current,e!==null&&(e.flags|=32),yd}function Ud(e,t){if(t!=null){var n=e.stateNode,r=n.ref;r===null&&(r=n.ref=qp(vi(e.memoizedProps,n))),Ld===null&&(Ld=[]),Ld.push(t.bind(null,r))}}function Wd(e,t,n){(e===od&&(ld===2||ld===9)||e.cancelPendingCommit!==null)&&(Zd(e,0),Jd(e,cd,yd,!1)),mt(e,n),(!(ad&2)||e!==od)&&(e===od&&(!(ad&2)&&(_d|=n),hd===4&&Jd(e,cd,yd,!1)),Lf(e))}function Gd(e,t,n){if(ad&6)throw Error(i(327));var r=!n&&!(t&127)&&(t&e.expiredLanes)===0||lt(e,t),a=r?of(e,t):rf(e,t,!0),o=r;do{if(a===0){fd&&!r&&Jd(e,t,0,!1);break}if(n=e.current.alternate,o&&!qd(n)){a=rf(e,t,!1),o=!1;continue}if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=xd;var l=c.current.memoizedState.isDehydrated;if(l&&(Zd(c,s).flags|=256),s=rf(c,s,!1),s!==2&&s!==6){if(pd&&!l){c.errorRecoveryDisabledLanes|=o,_d|=o,a=4;break a}o=Sd,Sd=a,o!==null&&(Sd===null?Sd=o:Sd.push.apply(Sd,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){Zd(e,0),Jd(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t&&(t&62914560)!==t)break;case 6:Jd(r,t,yd,!dd);break a;case 2:Sd=null;break;case 3:case 5:break;default:throw Error(i(329))}
vendor: 9,716 bytes, line 51
51if((t&62914560)===t&&(a=wd+300-He(),10<a)){if(Jd(r,t,yd,!dd),ct(r,0,!0)!==0)break a;Md=t,r.timeoutHandle=kp(Kd.bind(null,r,n,Sd,Dd,Cd,t,yd,_d,bd,dd,o,`Throttled`,-0,0),a);break a}Kd(r,n,Sd,Dd,Cd,t,yd,_d,bd,dd,o,null,-0,0)}break}while(1);Lf(e)}function Kd(e,t,n,r,i,a,o,s,c,l,u,d,f,p){e.timeoutHandle=-1;var m=t.subtreeFlags,h=(a&335544064)===a;if(d=null,(h||m&8192||(m&16785408)==16785408)&&(d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:yn},Wl=null,Zu(t,a,d),h&&(m=d,h=e.containerInfo,h=(h.nodeType===9?h:h.ownerDocument).__reactViewTransition,h!=null&&(m.count++,m.waitingForViewTransition=!0,m=hh.bind(m),h.finished.then(m,m))),m=(a&62914560)===a?wd-He():(a&4194048)===a?Td-He():0,m=ph(d,m),m!==null)){Md=a,e.cancelPendingCommit=m(pf.bind(null,e,t,a,n,r,i,o,s,c,l,u,d,null,f,p)),Jd(e,a,o,!l);return}pf(e,t,a,n,r,i,o,s,c,l,u,d)}function qd(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Hr(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Jd(e,t,n,r){t=ut(e,t),t&=~vd,t&=~_d,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-et(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&gt(e,n,t)}function Yd(){return ad&6?!0:(Rf(0,!1),!1)}function Xd(){if(sd!==null){if(ld===0)var e=sd.return;else e=sd,ya=va=null,cs(e),so=null,co=0,e=sd;for(;e!==null;)wl(e.alternate,e),e=e.return;sd=null}}function Zd(e,t){var n=e.timeoutHandle;return n!==-1&&(e.timeoutHandle=-1,Ap(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Md=0,Xd(),od=e,sd=n=Fi(e.current,null),cd=t,ld=0,ud=null,dd=!1,fd=lt(e,t),pd=!1,bd=yd=vd=_d=gd=hd=0,Sd=xd=null,Cd=!1,md=ut(e,t),Ti(),n}function Qd(e,t){I=null,M.H=vc,t===Za||t===$a?(t=ao(),ld=3):t===Qa?(t=ao(),ld=4):ld=t===Ic?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,ud=t,sd===null&&(hd=1,Ac(e,Ui(t,e.current)))}function $d(){var e=No.current;return e===null?!0:(cd&4194048)===cd?Po===null:(cd&62914560)===cd||cd&536870912?e===Po:!1}function ef(){var e=M.H;return M.H=vc,e===null?vc:e}function tf(){var e=M.A;return M.A=rd,e}function nf(){hd=4,dd||(cd&4194048)!==cd&&No.current!==null||(fd=!0),!(gd&134217727)&&!(_d&134217727)||od===null||Jd(od,cd,yd,!1)}function rf(e,t,n){var r=ad;ad|=2;var i=ef(),a=tf();(od!==e||cd!==t)&&(Dd=null,Zd(e,t)),t=!1;var o=hd;a:do try{if(ld!==0&&sd!==null){var s=sd,c=ud;switch(ld){case 8:Xd(),o=6;break a;case 3:case 2:case 9:case 6:No.current===null&&(t=!0);var l=ld;if(ld=0,ud=null,uf(e,s,c,l),n&&fd){o=0;break a}break;default:l=ld,ld=0,ud=null,uf(e,s,c,l)}}af(),o=hd;break}catch(t){Qd(e,t)}while(1);return t&&e.shellSuspendCounter++,ya=va=null,ad=r,M.H=i,M.A=a,sd===null&&(od=null,cd=0,Ti()),o}function af(){for(;sd!==null;)cf(sd)}function of(e,t){var n=ad;ad|=2;var r=ef(),a=tf();od!==e||cd!==t?(Dd=null,Ed=He()+500,Zd(e,t)):fd=lt(e,t);a:do try{if(ld!==0&&sd!==null){t=sd;var o=ud;b:switch(ld){case 1:ld=0,ud=null,uf(e,t,o,1);break;case 2:case 9:if(to(o)){ld=0,ud=null,lf(t);break}t=function(){ld!==2&&ld!==9||od!==e||(ld=7),Lf(e)},o.then(t,t);break a;case 3:ld=7;break a;case 4:ld=5;break a;case 7:to(o)?(ld=0,ud=null,lf(t)):(ld=0,ud=null,uf(e,t,o,7));break;case 5:var s=null;switch(sd.tag){case 26:s=sd.memoizedState;case 5:case 27:var c=sd;if(s?ch(s):c.stateNode.complete){ld=0,ud=null;var l=c.sibling;if(l!==null)sd=l;else{var u=c.return;u===null?sd=null:(sd=u,df(u))}break b}}ld=0,ud=null,uf(e,t,o,5);break;case 6:ld=0,ud=null,uf(e,t,o,6);break;case 8:Xd(),hd=6;break a;default:throw Error(i(462))}}sf();break}catch(t){Qd(e,t)}while(1);return ya=va=null,M.H=r,M.A=a,ad=n,sd===null?(od=null,cd=0,Ti(),hd):0}function sf(){for(;sd!==null&&!Be();)cf(sd)}function cf(e){var t=hl(e.alternate,e,md);e.memoizedProps=e.pendingProps,t===null?df(e):sd=t}function lf(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Xc(n,t,t.pendingProps,t.type,void 0,cd);break;case 11:t=Xc(n,t,t.pendingProps,t.type.render,t.ref,cd);break;case 5:cs(t);var r=t;r===ia&&(oa?(fa(r),r.tag===5&&r.stateNode!=null&&(aa=r.stateNode)):(fa(r),oa=!0));default:wl(n,t),t=sd=Ii(t,md),t=hl(n,t,md)}e.memoizedProps=e.pendingProps,t===null?df(e):sd=t}function uf(e,t,n,r){ya=va=null,cs(t),so=null,co=0;var i=t.return;try{if(Fc(e,i,t,n,cd)){hd=1,Ac(e,Ui(n,e.current)),sd=null;return}}catch(t){if(i!==null)throw sd=i,t;hd=1,Ac(e,Ui(n,e.current)),sd=null;return}t.flags&32768?(oa||r===1?e=!0:fd||cd&536870912?e=!1:(dd=e=!0,(r===2||r===9||r===3||r===6)&&(r=No.current,r!==null&&r.tag===13&&(r.flags|=16384))),ff(t,e)):df(t)}function df(e){var t=e;do{if(t.flags&32768){ff(t,dd);return}e=t.return;var n=Sl(t.alternate,t,md);if(n!==null){sd=n;return}if(t=t.sibling,t!==null){sd=t;return}sd=t=e}while(t!==null);hd===0&&(hd=5)}function ff(e,t){do{var n=Cl(e.alternate,e);if(n!==null){n.flags&=32767,sd=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){sd=e;return}sd=e=n}while(e!==null);hd=6,sd=null}function pf(e,t,n,r,a,o,s,c,l,u,d,f){e.cancelPendingCommit=null;do xf();while(kd!==0);if(ad&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));e===od&&(sd=od=null,cd=0),jd=t,Ad=e,Md=n,Pd=a,Fd=r,mf(e,t,n,s,c,l,f)}}function mf(e,t,n,r,i,a,o){var s=t.lanes|t.childLanes;if(Nd=s,s|=wi,ht(e,n,s,r,i,a),Ld=null,(n&335544064)===n?(Rd=Ra(e),r=10262):(Rd=null,r=10256),(t.subtreeFlags&r)!==0||(t.flags&r)!==0?(e.callbackNode=null,e.callbackPriority=0,Af(Ke,function(){return Sf(),null})):(e.callbackNode=null,e.callbackPriority=0),Ul=!1,r=!!(t.flags&13878),t.subtreeFlags&13878||r){r=M.T,M.T=null,i=N.p,N.p=2,a=ad,ad|=4;try{vu(e,t,n)}finally{ad=a,N.p=i,M.T=r}}kd=1,Ul?Id=Gp(o,e.containerInfo,Rd,_f,vf,gf,yf,Sf,hf,null,null):(_f(),vf(),yf())}function hf(e){if(kd!==0){var t=Ad.onRecoverableError;t(e,{componentStack:null})}}function gf(){kd===3&&(kd=0,zu(jd,Ad),kd=4)}function _f(){if(kd===1){kd=0;var e=Ad,t=jd,n=Md,r=!!(t.flags&13878);if(t.subtreeFlags&13878||r){r=M.T,M.T=null;var i=N.p;N.p=2;var a=ad;ad|=4;try{hu=gu=!1,Fu(t,e,n),n=xp;var o=Jr(e.containerInfo),s=n.focusedElem,c=n.selectionRange;if(o!==s&&s&&s.ownerDocument&&qr(s.ownerDocument.documentElement,s)){if(c!==null&&Yr(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=Kr(s,h),v=Kr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}Oh=!!bp,xp=bp=null}finally{ad=a,N.p=i,M.T=r}}e.current=t,kd=2}}function vf(){if(kd===2){kd=0;var e=Ad,t=jd,n=!!(t.flags&8772);if(t.subtreeFlags&8772||n){n=M.T,M.T=null;var r=N.p;N.p=2;var i=ad;ad|=4;try{bu(e,t.alternate,t)}finally{ad=i,N.p=r,M.T=n}}kd=3}}function yf(){if(kd===4||kd===3){kd=0;var e=Id;Id=null,Ve();var t=Ad,n=jd,r=Md,i=Fd,a=(r&335544064)===r?10262:10256;if((n.subtreeFlags&a)!==0||(n.flags&a)!==0?kd=5:(kd=0,jd=Ad=null,bf(t,t.pendingLanes)),a=t.pendingLanes,a===0&&(Od=null),bt(r),n=n.stateNode,Qe&&typeof Qe.onCommitFiberRoot==`function`)try{Qe.onCommitFiberRoot(Ze,n,void 0,(n.current.flags&128)==128)}catch{}if(i!==null){n=M.T,a=N.p,N.p=2,M.T=null;try{for(var o=t.onRecoverableError,s=0;s<i.length;s++){var c=i[s];o(c.value,{componentStack:c.stack})}}finally{M.T=n,N.p=a}}if(i=Ld,o=Rd,Rd=null,i!==null&&(Ld=null,o===null&&(o=[]),e!==null))for(c=0;c<i.length;c++)n=(0,i[c])(o),n!==void 0&&e.finished.finally(n);Md&3&&xf(),Lf(t),a=t.pendingLanes,r&261930&&a&42?t===Bd?zd++:(zd=0,Bd=t):(zd=0,Bd=null),Rf(0,!1)}}function bf(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Fa(t)))}function xf(){return Id!==null&&(Id.skipTransition(),Id=null),_f(),vf(),yf(),Sf()}function Sf(){if(kd!==5)return!1;var e=Ad,t=Nd;Nd=0;var n=bt(Md),r=M.T,a=N.p;try{N.p=32>n?32:n,M.T=null,n=Pd,Pd=null;var o=Ad,s=Md;if(kd=0,jd=Ad=null,Md=0,ad&6)throw Error(i(331));var c=ad;if(ad|=4,ed(o.current),Ku(o,o.current,s,n),ad=c,Rf(0,!1),Qe&&typeof Qe.onPostCommitFiberRoot==`function`)try{Qe.onPostCommitFiberRoot(Ze,o)}catch{}return!0}finally{N.p=a,M.T=r,bf(e,t)}}function Cf(e,t,n){t=Ui(n,t),t=Mc(e.stateNode,t,2),e=bo(e,t,2),e!==null&&(mt(e,2),Lf(e))}function wf(e,t,n){if(e.tag===3)Cf(e,e,n);else for(;t!==null;){if(t.tag===3){Cf(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(Od===null||!Od.has(r))){e=Ui(n,e),n=Nc(2),r=bo(t,n,2),r!==null&&(Pc(n,r,t,e),mt(r,2),Lf(r));break}}t=t.return}}function Tf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new id;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(pd=!0,i.add(n),e=Ef.bind(null,e,t,n),t.then(e,e))}function Ef(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,od===e&&(cd&n)===n&&(hd===4||hd===3&&(cd&629
vendor: 6,158 bytes, line 51
5114560)===cd&&300>He()-wd?ad&2?vd|=n:Zd(e,0):vd|=n,bd===cd&&(bd=0)),Lf(e)}function Df(e,t){t===0&&(t=ft()),e=Oi(e,t),e!==null&&(mt(e,t),Lf(e))}function Of(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Df(e,n)}function kf(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),Df(e,n)}function Af(e,t){return Re(e,t)}var jf=null,Mf=null,Nf=!1,Pf=!1,Ff=!1,If=0;function Lf(e){e!==Mf&&e.next===null&&(Mf===null?jf=Mf=e:Mf=Mf.next=e),Pf=!0,Nf||(Nf=!0,Wf())}function Rf(e,t){if(!Ff&&Pf){Ff=!0;do for(var n=!1,r=jf;r!==null;){if(!t){if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-et(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,Uf(r,a))}else a=cd,a=ct(r,r===od?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||lt(r,a)||(n=!0,Uf(r,a))}r=r.next}while(n);Ff=!1}}function zf(){Bf()}function Bf(){Pf=Nf=!1;var e=0;If!==0&&Op()&&(e=If);for(var t=He(),n=null,r=jf;r!==null;){var i=r.next,a=Vf(r,t);a===0?(r.next=null,n===null?jf=i:n.next=i,i===null&&(Mf=n)):(n=r,(e!==0||a&3)&&(Pf=!0)),r=i}kd!==0&&kd!==5||Rf(e,!1),If!==0&&(If=0)}function Vf(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-et(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=dt(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=od,n=cd,n=ct(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(ld===2||ld===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&ze(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||lt(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&ze(r),bt(n)){case 2:case 8:n=Ge;break;case 32:n=Ke;break;case 268435456:n=Je;break;default:n=Ke}return r=Hf.bind(null,e),n=Re(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&ze(r),e.callbackPriority=2,e.callbackNode=null,2}function Hf(e,t){if(kd!==0&&kd!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(xf()&&e.callbackNode!==n)return null;var r=cd;return r=ct(e,e===od?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(Gd(e,r,t),Vf(e,He()),e.callbackNode!=null&&e.callbackNode===n?Hf.bind(null,e):null)}function Uf(e,t){if(xf())return null;Gd(e,t,!0)}function Wf(){Np(function(){ad&6?Re(We,zf):Bf()})}function Gf(){if(If===0){var e=Va;e===0&&(e=it,it<<=1,!(it&261888)&&(it=256)),If=e}return If}function Kf(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:vn(e)}function qf(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=Kf((i[Tt]||null).action),o=r.submitter;o&&(t=(t=o[Tt]||null)?Kf(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new Bn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(If!==0){var e=new FormData(i,o);ic(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=new FormData(i,o),ic(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var Jf=0;Jf<hi.length;Jf++){var Yf=hi[Jf];gi(Yf.toLowerCase(),`on`+(Yf[0].toUpperCase()+Yf.slice(1)))}gi(si,`onAnimationEnd`),gi(ci,`onAnimationIteration`),gi(li,`onAnimationStart`),gi(`dblclick`,`onDoubleClick`),gi(`focusin`,`onFocus`),gi(`focusout`,`onBlur`),gi(ui,`onTransitionRun`),gi(di,`onTransitionStart`),gi(fi,`onTransitionCancel`),gi(pi,`onTransitionEnd`),Ut(`onMouseEnter`,[`mouseout`,`mouseover`]),Ut(`onMouseLeave`,[`mouseout`,`mouseover`]),Ut(`onPointerEnter`,[`pointerout`,`pointerover`]),Ut(`onPointerLeave`,[`pointerout`,`pointerover`]),Ht(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Ht(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),Ht(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Ht(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Ht(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Ht(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var Xf=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),Zf=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(Xf));function Qf(e,t){t=!!(t&4);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){xi(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){xi(e)}i.currentTarget=null,a=c}}}}function $f(e,t){var n=t[Dt];n===void 0&&(n=t[Dt]=new Set);var r=e+`__bubble`;n.has(r)||(rp(t,e,2,!1),n.add(r))}function ep(e,t,n){var r=0;t&&(r|=4),rp(n,e,r,t)}var tp=`_reactListening`+Math.random().toString(36).slice(2);function np(e){if(!e[tp]){e[tp]=!0,Bt.forEach(function(t){t!==`selectionchange`&&(Zf.has(t)||ep(t,!1,e),ep(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[tp]||(t[tp]=!0,ep(`selectionchange`,!1,t))}}function rp(e,t,n,r){switch(Fh(t)){case 2:var i=kh;break;case 8:i=Ah;break;default:i=jh}n=i.bind(null,t,n,e),i=void 0,!kn||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function ip(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var c=r.stateNode.containerInfo;
vendor: 13,584 bytes, lines 51-52
51if(c===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===i)return;s=s.return}for(;c!==null;){if(s=Pt(c),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue a}c=c.parentNode}}r=r.return}En(function(){var r=a,i=xn(n),s=[];a:{var c=mi.get(e);if(c!==void 0){var l=Bn,u=e;switch(e){case`keypress`:if(Fn(n)===0)break a;case`keydown`:case`keyup`:l=ir;break;case`focusin`:u=`focus`,l=Yn;break;case`focusout`:u=`blur`,l=Yn;break;case`beforeblur`:case`afterblur`:l=Yn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=qn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=Jn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=sr;break;case si:case ci:case li:l=Xn;break;case pi:l=cr;break;case`scroll`:case`scrollend`:l=Hn;break;case`wheel`:l=lr;break;case`copy`:case`cut`:case`paste`:l=Zn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=ar;break;case`submit`:l=or;break;case`toggle`:case`beforetoggle`:l=ur}var d=!!(t&4),f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=Dn(m,p),g!=null&&d.push(ap(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),s.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(l=e===`mouseover`||e===`pointerover`,c=e===`mouseout`||e===`pointerout`,l&&n!==bn&&(u=n.relatedTarget||n.fromElement)&&(Pt(u)||u[Et]))break a;(c||l)&&(u=i.window===i?i:(l=i.ownerDocument)?l.defaultView||l.parentWindow:window,c?(l=n.relatedTarget||n.toElement,c=r,l=l?Pt(l):null,l!==null&&(f=o(l),d=l.tag,l!==f||d!==5&&d!==27&&d!==6)&&(l=null)):(c=null,l=r),c!==l&&(d=qn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=ar,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=c==null?u:It(c),h=l==null?u:It(l),u=new d(g,m+`leave`,c,n,i),u.target=f,u.relatedTarget=h,g=null,Pt(i)===r&&(d=new d(p,m+`enter`,l,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,d=c&&l?C(c,l,sp):null,c!==null&&cp(s,u,c,d,!1),l!==null&&f!==null&&cp(s,f,l,d,!0)))}a:{if(c=r?It(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var _=Ar;else if(wr(c)){if(jr)_=Br;else{_=Rr;var v=Lr}}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&hn(r.elementType)&&(_=Ar):_=zr;if(_&&=_(e,r)){Tr(s,_,n,i);break a}v&&v(e,c,r)}switch(v=r?It(r):window,e){case`focusin`:(wr(v)||v.contentEditable===`true`)&&(Zr=v,Qr=r,$r=null);break;case`focusout`:$r=Qr=Zr=null;break;case`mousedown`:ei=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:ei=!1,ti(s,n,i);break;case`selectionchange`:if(Xr)break;case`keydown`:case`keyup`:ti(s,n,i)}var y;if(fr)b:{switch(e){case`compositionstart`:var b=`onCompositionStart`;break b;case`compositionend`:b=`onCompositionEnd`;break b;case`compositionupdate`:b=`onCompositionUpdate`;break b}b=void 0}else br?vr(e,n)&&(b=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(b=`onCompositionStart`);b&&(hr&&n.locale!==`ko`&&(br||b!==`onCompositionStart`?b===`onCompositionEnd`&&br&&(y=Pn()):(jn=i,Mn=`value`in jn?jn.value:jn.textContent,br=!0)),v=op(r,b),0<v.length&&(b=new Qn(b,e,null,n,i),s.push({event:b,listeners:v}),y?b.data=y:(y=yr(n),y!==null&&(b.data=y)))),(y=mr?xr(e,n):Sr(e,n))&&(b=op(r,`onBeforeInput`),0<b.length&&(v=new Qn(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:v,listeners:b}),v.data=y)),qf(s,e,r,n,i)}Qf(s,t)})}function ap(e,t,n){return{instance:e,listener:t,currentTarget:n}}function op(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=Dn(e,n),i!=null&&r.unshift(ap(e,i,a)),i=Dn(e,t),i!=null&&r.push(ap(e,i,a))),e.tag===3)return r;e=e.return}return[]}function sp(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function cp(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=Dn(n,a),l!=null&&o.unshift(ap(n,l,c))):i||(l=Dn(n,a),l!=null&&o.push(ap(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var lp=/\r\n?/g,up=/\u0000|\uFFFD/g;function dp(e){return(typeof e==`string`?e:``+e).replace(lp,`
52`).replace(up,``)}function fp(e,t){return t=dp(t),dp(e)===t}function pp(e,t,n,r,a,o){switch(n){case`children`:if(typeof r==`string`)t===`body`||t===`textarea`&&r===``||dn(e,r);else if(typeof r==`number`||typeof r==`bigint`)t!==`body`&&dn(e,``+r);else return;break;case`className`:Zt(e,`class`,r);break;case`tabIndex`:Zt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Zt(e,n,r);break;case`style`:mn(e,r,o);return;case`data`:if(t!==`object`){Zt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=vn(r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}if(typeof o==`function`&&(n===`formAction`?(t!==`input`&&pp(e,t,`name`,a.name,a,null),pp(e,t,`formEncType`,a.formEncType,a,null),pp(e,t,`formMethod`,a.formMethod,a,null),pp(e,t,`formTarget`,a.formTarget,a,null)):(pp(e,t,`encType`,a.encType,a,null),pp(e,t,`method`,a.method,a,null),pp(e,t,`target`,a.target,a,null))),r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=vn(r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=yn);return;case`onScroll`:r!=null&&$f(`scroll`,e);return;case`onScrollEnd`:r!=null&&$f(`scrollend`,e);return;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));o?.__html!==n&&(e.innerHTML=n)}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=vn(r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`credentialless`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:$f(`beforetoggle`,e),$f(`toggle`,e),Xt(e,`popover`,r);break;case`xlinkActuate`:Qt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Qt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Qt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Qt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Qt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Qt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Qt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Qt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Qt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:Xt(e,`is`,r);break;case`innerText`:case`textContent`:return;default:if(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)n=gn.get(n)||n,Xt(e,n,r);else return}Jt=!0}function mp(e,t,n,r,a,o){switch(n){case`style`:mn(e,r,o);return;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));o?.__html!==n&&(e.innerHTML=n)}}break;case`children`:if(typeof r==`string`)dn(e,r);else if(typeof r==`number`||typeof r==`bigint`)dn(e,``+r);else return;break;case`onScroll`:r!=null&&$f(`scroll`,e);return;case`onScrollEnd`:r!=null&&$f(`scrollend`,e);return;case`onClick`:r!=null&&(e.onclick=yn);return;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:return;case`innerText`:case`textContent`:return;default:if(!Vt.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(a=n.endsWith(`Capture`),o=n.slice(2,a?n.length-7:void 0),t=e[Tt]||null,t=t==null?null:t[n],typeof t==`function`&&e.removeEventListener(o,t,a),typeof r==`function`)){typeof t!=`function`&&t!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(o,r,a);break a}Jt=!0,n in e?e[n]=r:!0===r?e.setAttribute(n,``):Xt(e,n,r)}return}Jt=!0}function hp(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:$f(`error`,e),$f(`load`,e);var r=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:a=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:pp(e,t,o,s,n,null)}}a&&pp(e,t,`srcSet`,n.srcSet,n,null),r&&pp(e,t,`src`,n.src,n,null);return;case`input`:$f(`invalid`,e);var c=o=s=a=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:a=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(i(137,t));break;default:pp(e,t,r,d,n,null)}}sn(e,o,c,l,u,s,a,!1);return;case`select`:for(a in $f(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(a)&&(c=n[a],c!=null))switch(a){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:pp(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&F(e,!!r,n,!0):F(e,!!r,t,!1);return;case`textarea`:for(s in $f(`invalid`,e),o=a=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:a=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(i(91));break;default:pp(e,t,s,c,n,null)}un(e,r,a,o);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:pp(e,t,l,r,n,null)}return;case`dialog`:$f(`beforetoggle`,e),$f(`toggle`,e),$f(`cancel`,e),$f(`close`,e);break;case`iframe`:case`object`:$f(`load`,e);break;case`video`:case`audio`:for(r=0;r<Xf.length;r++)$f(Xf[r],e);break;case`image`:$f(`error`,e),$f(`load`,e);break;case`details`:$f(`toggle`,e);break;case`embed`:case`source`:case`link`:$f(`error`,e),$f(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:pp(e,t,u,r,n,null)}return;default:if(hn(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&mp(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&pp(e,t,c,r,n,null))}var gp={};function _p(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var a=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||pp(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:m!==f&&(Jt=!0),o=m;break;case`name`:m!==f&&(Jt=!0),a=m;break;case`checked`:m!==f&&(Jt=!0),u=m;break;case`defaultChecked`:m!==f&&(Jt=!0),d=m;break;case`value`:m!==f&&(Jt=!0),s=m;break;case`defaultValue`:m!==f&&(Jt=!0),c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&pp(e,t,p,m,r,f)}}on(e,s,c,l,u,d,o,a);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||pp(e,t,o,null,r,l)}
vendor: 4,802 bytes, line 52
52for(a in r)if(o=r[a],l=n[a],r.hasOwnProperty(a)&&(o!=null||l!=null))switch(a){case`value`:o!==l&&(Jt=!0),p=o;break;case`defaultValue`:o!==l&&(Jt=!0),c=o;break;case`multiple`:o!==l&&(Jt=!0),s=o;default:o!==l&&pp(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?F(e,!!n,n?[]:``,!1):F(e,!!n,t,!0)):F(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(a=n[c],n.hasOwnProperty(c)&&a!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:pp(e,t,c,null,r,a)}for(s in r)if(a=r[s],o=n[s],r.hasOwnProperty(s)&&(a!=null||o!=null))switch(s){case`value`:a!==o&&(Jt=!0),p=a;break;case`defaultValue`:a!==o&&(Jt=!0),m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&pp(e,t,s,a,r,o)}ln(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:pp(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:p!==m&&(Jt=!0),e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:pp(e,t,l,p,r,m)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&pp(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(i(137,t));break;default:pp(e,t,u,p,r,m)}return;default:if(hn(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&mp(e,t,_,void 0,r,p);for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||mp(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&pp(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||pp(e,t,f,p,r,m)}function vp(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function yp(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&vp(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&vp(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var bp=null,xp=null;function Sp(e){return e.nodeType===9?e:e.ownerDocument}function Cp(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function wp(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function Tp(e,t,n,r){return n=Sp(n).createElement(e),n[wt]=r,n[Tt]=t,hp(n,e,t),Rt(n),n}function Ep(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Dp=null;function Op(){var e=window.event;return e&&e.type===`popstate`?e!==Dp&&(Dp=e,!0):(Dp=null,!1)}var kp=typeof setTimeout==`function`?setTimeout:void 0,Ap=typeof clearTimeout==`function`?clearTimeout:void 0,jp=typeof Promise==`function`?Promise:void 0,Mp=typeof requestAnimationFrame==`function`?requestAnimationFrame:kp,Np=typeof queueMicrotask==`function`?queueMicrotask:jp===void 0?kp:function(e){return jp.resolve(null).then(e).catch(Pp)};function Pp(e){setTimeout(function(){throw e})}function Fp(e){return e===`head`}function Ip(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8){if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),eg(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)Am(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,Am(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[jt]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&Am(e.ownerDocument.body)}n=i}while(n);eg(t)}function Lp(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.n
52odeType===8){if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++}n=r}while(n)}function Rp(e,t,n){if(t=CSS.escape(t)===t?t:`r-`+btoa(t).replace(/=/g,``),e.style.viewTransitionName=t,n!=null&&(e.style.viewTransitionClass=n),n=getComputedStyle(e),n.display===`inline`){if(t=e.getClientRects(),t.length===1)var r=1;else for(var i=r=0;i<t.length;i++){var a=t[i];0<a.width&&0<a.height&&r++}r===1&&(e=e.style,e.display=t.length===1?`inline-block`:`block`,e.marginTop=`-`+n.paddingTop,e.marginBottom=`-`+n.paddingBottom)}}function zp(e,t){e=e.style,t=t.style;var n=t==null?null:t.hasOwnProperty(`viewTransitionName`)?t.viewTransitionName:t.hasOwnProperty(`view-transition-name`)?t[`view-transition-name`]:null;e.viewTransitionName=n==null||typeof n==`boolean`?``:(``+n).trim(),n=t==null?null:t.hasOwnProperty(`viewTransitionClass`)?t.viewTransitionClass:t.hasOwnProperty(`view-transition-class`)?t[`view-transition-class`]:null,e.viewTransitionClass=n==null||typeof n==`boolean`?``:(``+n).trim(),e.display===`inline-block`&&(t==null?e.display=e.margin=``:(n=t.display,e.display=n==null||typeof n==`boolean`?``:n,n=t.margin,n==null?(n=t.hasOwnProperty(`marginTop`)?t.marginTop:t[`margin-top`],e.marginTop=n==null||typeof n==`boolean`?``:n,t=t.hasOwnProperty(`marginBottom`)?t.marginBottom:t[`margin-bottom`],e.marginBottom=t==null||typeof t==`boolean`?``:t):e.margin=n))}function Bp(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:t.position===`absolute`||t.position===`fixed`,clip:t.clipPath!==`none`||t.overflow!==`visible`||t.filter!==`none`||t.mask!==`none`||t.mask!==`none`||t.borderRadius!==`0px`,view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function Vp(e){return Bp(e.getBoundingClientRect(),getComputedStyle(e),e)}function Hp(e){var t=e.getBoundingClientRect();t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height);var n=getComputedStyle(e);return Bp(t,n,e)}function Up(e){return e.documentElement.clientHeight}function Wp(e){this.addEventListener(`load`,e),this.addEventListener(`error`,e)}function Gp(e,t,n,r,i,a,o,s,c){var l=t.nodeType===9?t:t.ownerDocument;try{var u=l.startViewTransition({update:function(){var t=l.defaultView,n=t.navigation&&t.navigation.transition,o=l.fonts.status;r();var s=[];if(o===`loaded`&&(Up(l),l.fonts.status===`loading`&&s.push(l.fonts.ready)),o=s.length,e!==null)for(var c=e.suspenseyImages,u=0,d=0;d<c.length;d++){var f=c[d];if(!f.complete){var p=f.getBoundingClientRect();if(0<p.bottom&&0<p.right&&p.top<t.innerHeight&&p.left<t.innerWidth){if(u+=lh(f),u>fh){s.length=o;break}f=new Promise(Wp.bind(f)),s.push(f)}}}if(0<s.length)return t=Promise.race([Promise.all(s),new Promise(function(e){return setTimeout(e,500)})]).then(i,i),(n?Promise.allSettled([n.finished,t]):t).then(a,a);if(i(),n)return n.finished.then(a,a);a()},types:n});l.__reactViewTransition=u;var d=[];return u.ready.then(function(){for(var e=l.documentElement.getAnimations({subtree:!0}),t=0;t<e.length;t++){var n=e[t],r=n.effect,i=r.pseudoElement;if(i!=null&&i.startsWith(`::view-transition`)){d.push(n),n=r.getKeyframes();for(var a=i=void 0,s=!0,c=0;c<n.length;c++){var u=n[c],f=u.width;if(i===void 0)i=f;else if(i!==f){s=!1;break}if(f=u.height,a===void 0)a=f;else if(a!==f){s=!1;break}delete u.width,delete u.height,u.transform===`none`&&delete u.transform}s&&i!==void 0&&a!==void 0&&(r.setKeyframes(n),s=getComputedStyle(r.target,r.pseudoElement),s.width!==i||s.height!==a)&&(s=n[0],s.width=i,s.height=a,s=n[n.length-1],s.width=i,s.height=a,r.setKeyframes(n))}}o()},function(e){l.__reactViewTransition===u&&(l.__reactViewTransition=null);try{if(typeof e==`object`&&e)switch(e.name){case`InvalidStateError`:(e.message===`View transition was skipped because document visibility state is hidden.`||e.message===`Skipping view transition because document visibility state has become hidden.`||e.message===`Skipping view transition because viewport size changed.`||e.message===`Transition was aborted because of invalid state`)&&(e=null)}e!==null&&c(e)}finally{r(),i(),o()}}),u.finished.finally(function(){for(var e=0;e<d.length;e++)d[e].cancel();l.__reactViewTransition===u&&(l.__reactViewTransition=null),s()}),u}catch{return r(),i(),o(),null}}function Kp(e,t){this._scope=document.documentElement,this._selector=`::view-transition-`+e+`(`+t+`)`}Kp.prototype.animate=function(e,t){return t=typeof t==`number`?{duration:t}:w({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)},Kp.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),r=[],i=0;i<n.length;i++){var a=n[i].effect;a!==null&&a.target===e&&a.pseudoElement===t&&r.push(n[i])}return r},Kp.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function qp(e){return{name:e,group:new Kp(`group`,e),imagePair:ne
vendor: 16,254 bytes, line 52
52w Kp(`image-pair`,e),old:new Kp(`old`,e),new:new Kp(`new`,e)}}function Jp(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}Jp.prototype.addEventListener=function(e,t,n){var r=null,i=null;if(!(n!=null&&typeof n!=`boolean`&&(r=n.signal||null,r!==null&&r.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var a=this._eventListeners;if($p(a,e,t,n)===-1){var o=this,s=t;n!=null&&typeof n!=`boolean`&&!0===n.once&&(s=function(r){o.removeEventListener(e,t,n),typeof t==`function`?t.call(this,r):t.handleEvent(r)}),r!==null&&(i=o.removeEventListener.bind(o,e,t,n),r.addEventListener(`abort`,i,{once:!0}),i=r.removeEventListener.bind(r,`abort`,i)),r=Zp(n),a.push({type:e,listener:t,optionsOrUseCapture:n,attachedListener:s,cleanup:i}),f(this._fragmentFiber.child,!1,Yp,e,s,r)}this._eventListeners=a}};function Yp(e,t,n,r){return _(e).addEventListener(t,n,r),!1}Jp.prototype.removeEventListener=function(e,t,n){var r=this._eventListeners;if(r!==null&&(t=$p(r,e,t,n),t!==-1)){var i=r[t];n=i.attachedListener;var a=i.cleanup;i=Zp(i.optionsOrUseCapture),f(this._fragmentFiber.child,!1,Xp,e,n,i),r.splice(t,1),a!==null&&a()}};function Xp(e,t,n,r){return _(e).removeEventListener(t,n,r),!1}function Zp(e){return e!=null&&typeof e!=`boolean`&&(!0===e.once||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function Qp(e){return e==null?`c=0`:typeof e==`boolean`?`c=`+(e?`1`:`0`):`c=`+(e.capture?`1`:`0`)}function $p(e,t,n,r){if(e.length===0)return-1;r=Qp(r);for(var i=0;i<e.length;i++){var a=e[i];if(a.type===t&&a.listener===n&&Qp(a.optionsOrUseCapture)===r)return i}return-1}Jp.prototype.dispatchEvent=function(e){var t=p(this._fragmentFiber);if(t===null)return!0;t=_(t);var n=this._eventListeners;if(n!==null&&0<n.length||!e.bubbles){var r=t.nodeType===9?t.createComment(``):document.createTextNode(``);if(n)for(var i=0;i<n.length;i++){var a=n[i];r.addEventListener(a.type,a.attachedListener,Zp(a.optionsOrUseCapture))}if(t.appendChild(r),e=r.dispatchEvent(e),n)for(i=0;i<n.length;i++)a=n[i],r.removeEventListener(a.type,a.attachedListener,Zp(a.optionsOrUseCapture));return t.removeChild(r),e}return t.dispatchEvent(e)},Jp.prototype.focus=function(e){f(this._fragmentFiber.child,!0,em,e,void 0,void 0)};function em(e,t){return e.tag!==6&&(e=_(e),Em(e,t))}Jp.prototype.focusLast=function(e){var t=[];f(this._fragmentFiber.child,!0,tm,t,void 0,void 0);for(var n=t.length-1;0<=n&&!em(t[n],e);n--);};function tm(e,t){return t.push(e),!1}Jp.prototype.blur=function(){var e=p(this._fragmentFiber);e!==null&&(e=_(e),e=Sp(e).activeElement,e!==null&&f(this._fragmentFiber.child,!1,nm,e,void 0,void 0))};function nm(e,t){return e.tag!==6&&(e=_(e),e===t||e.contains(t)?(t.blur(),!0):!1)}Jp.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),f(this._fragmentFiber.child,!1,rm,e,void 0,void 0)};function rm(e,t){return e.tag!==6&&(e=_(e),t.observe(e),!1)}Jp.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),f(this._fragmentFiber.child,!1,im,e,void 0,void 0);for(var n=t=0;n<am.length;n++){var r=am[n];r.fragmentInstance===this&&r.observer===e?e.unobserve(r.instance):am[t++]=r}am.length=t}};function im(e,t){return e.tag!==6&&(e=_(e),t.unobserve(e),!1)}var am=[],om=!1;function sm(e,t,n){am.push({fragmentInstance:e,observer:t,instance:n}),om||(om=!0,Dm(function(){om=!1;var e=am;am=[];for(var t=0;t<e.length;t++){var n=e[t];n.observer.unobserve(n.instance)}}))}Jp.prototype.getClientRects=function(){var e=[];return f(this._fragmentFiber.child,!1,cm,e,void 0,void 0),e};function cm(e,t){if(e.tag===6){e=e.stateNode;var n=e.ownerDocument.createRange();n.selectNodeContents(e),t.push.apply(t,n.getClientRects())}else e=_(e),t.push.apply(t,e.getClientRects());return!1}Jp.prototype.getRootNode=function(e){var t=p(this._fragmentFiber);return t===null?this:_(t).getRootNode(e)},Jp.prototype.compareDocumentPosition=function(e){var t=p(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];f(this._fragmentFiber.child,!1,tm,n,void 0,void 0);var r=_(t);if(n.length===0){if(n=r,m(this._fragmentFiber)){a:{for(t=this._fragmentFiber.return;t!==null;){if(t.tag===4){t=t.stateNode.containerInfo;break a}if(t.tag===3||t.tag===5||t.tag===27)break;t=t.return}t=null}t!=null&&(n=t)}t=this._fragmentFiber;var i=r=n.compareDocumentPosition(e);return n===e?i=Node.DOCUMENT_POSITION_CONTAINS:r&Node.DOCUMENT_POSITION_CONTAINED_BY&&(n=h(t)[1],n===null?i=Node.DOCUMENT_POSITION_PRECEDING:(e=_(n).compareDocumentPosition(e),i=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),i|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=_(n[0]),i=_(n[n.length-1]);var a=m(this._fragmentFiber)?t.parentElement:r;if(a==null)return Node.DOCUMENT_POSITION_DISCONNECTED;r=a.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,a=a.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY;var o=t.compareDocumentPosition(e),s=i.compareDocumentPosition(e),c=o&Node.DOCUMENT_POSITION_CONTAINED_BY||s&Node.DOCUMENT_POSITION_CONTAINED_BY;return s=r&&a&&o&Node.DOCUMENT_POSITION_FOLLOWING&&s&Node.DOCUMENT_POSITION_PRECEDING,t=r&&t===e||a&&i===e||c||s?Node.DOCUMENT_POSITION_CONTAINED_BY:!r&&t===e||!a&&i===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:o,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||lm(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function lm(e,t,n,r,i){var a=Pt(i);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!a)a:{for(;a!==null;){if(a.tag===7&&(a===t||a.alternate===t)){n=!0;break a}a=a.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(a===null)return a=i.ownerDocument,i===a||i===a.documentElement||i===a.body;a:{for(a=t,t=p(t);a!==null;){if(!(a.tag!==5&&a.tag!==3&&a.tag!==27||a!==t&&a.alternate!==t)){a=!0;break a}a=a.return}a=!1}return a}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!a)&&!(t=a===n)&&(t=C(n,a,S),t===null?t=!1:(f(t,!0,b,a,n),a=v,v=null,t=a!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!a)&&!(t=a===r)&&(t=C(r,a,S),t===null?t=!1:(f(t,!0,x,a,r),a=v,y=v=null,t=a!==null)),t):!1}function um(e,t){var n=e.ownerDocument.createRange();n.selectNodeContents(e),e=n.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}Jp.prototype.scrollIntoView=function(e){if(typeof e==`object`)throw Error(i(566));var t=[];f(this._fragmentFiber.child,!1,tm,t,void 0,void 0);var n=!1!==e;if(t.length===0){var r=h(this._fragmentFiber);if(r=n?r[1]||r[0]||p(this._fragmentFiber):r[0]||r[1],r===null)return;if(r.tag===6){e=_(r),um(e,n);return}if(r=_(r),r.nodeType!==9){if(r.nodeType===11){n=`host`in r?r.host:null,n!==null&&n.scrollIntoView(e);return}r.scrollIntoView(e)}}for(r=n?t.length-1:0;r!==(n?-1:t.length);){var a=t[r];a.tag===6?(a=_(a),um(a,n)):_(a).scrollIntoView(e),r+=n?-1:1}};function dm(e,t){return e=_(e),fm(e,t),!1}function fm(e,t){e.reactFragments??=new Set,e.reactFragments.add(t)}function pm(e,t){var n=t._eventListeners;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];e.addEventListener(i.type,i.attachedListener,Zp(i.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(n){for(var r=0,i=0;i<am.length;i++){var a=am[i];(a.fragmentInstance!==t||a.observer!==n||a.instance!==e)&&(am[r++]=a)}am.length=r,n.observe(e)}),fm(e,t))}function mm(e,t){var n=t._eventListeners;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];e.removeEventListener(i.type,i.attachedListener,Zp(i.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(n){typeof n.rootMargin==`string`?sm(t,n,e):n.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function hm(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:hm(n),Nt(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function gm(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r){if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e}else if(!e[jt])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=Sm(e.nextSibling),e===null)break}return null}function _m(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=Sm(e.nextSibling),e===null))return null;return e}function vm(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=Sm(e.nextSibling),e===null))return null;return e}function ym(e){return e.data===`$?`||e.data===`$~`}function bm(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function xm(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function Sm(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var Cm=null;function wm(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return Sm(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function Tm(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function Em(e,t){function n(){r=!0}if(e.ownerDocument.activeElement===e)return!0;var r=!1;try{e.ownerDocument.addEventListener(`focus`,n,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener(`focus`,n,!0)}return r}function Dm(e){Mp(function(){Mp(function(t){return e(t)})})}function Om(e,t,n){switch(t=Sp(n),e){case`html`:if(e=t.documentElement,!e)throw Error(i(452));return e;case`head`:if(e=t.head,!e)throw Error(i(453));return e;case`body`:if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function km(e,t,n){for(var r in n){var i=n[r];n.hasOwnProperty(r)&&i!=null&&pp(e,t,r,null,gp,i)}n.dangerouslySetInnerHTML!=null&&(e.textContent=``),e.onclick===yn&&(e.onclick=null),Nt(e)}function Am(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Nt(e)}var jm=new Map,Mm=new Set;function Nm(e){if(typeof e.getRootNode==`function`){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}var Pm=N.d;N.d={f:Fm,r:Im,D:zm,C:Bm,L:Vm,m:Hm,X:Wm,S:Um,M:Gm};function Fm(){var e=Pm.f(),t=Yd();return e||t}function Im(e){var t=Ft(e);t!==null&&t.tag===5&&t.type===`form`?oc(t):Pm.r(e)}var Lm=typeof document>`u`?null:document;function Rm(e,t,n){var r=Lm;if(r&&typeof t==`string`&&t){var i=P(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),Mm.has(i)||(Mm.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),hp(t,`link`,e),Rt(t),r.head.appendChild(t)))}}function zm(e){Pm.D(e),Rm(`dns-prefetch`,e,null)}function Bm(e,t){Pm.C(e,t),Rm(`preconnect`,e,t)}function Vm(e,t,n){Pm.L(e,t,n);var r=Lm;if(r&&e&&t){var i=`link[rel="preload"][as="`+P(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+P(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+P(n.imageSizes)+`"]`)):i+=`[href="`+P(e)+`"]`;var a=i;switch(t){case`style`:a=qm(e);break;case`script`:a=Zm(e)}if(!(jm.has(a)||(e=w({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),jm.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Jm(a))||t===`script`&&r.querySelector(Qm(a))))){var o=r.createElement(`link`);hp(o,`link`,e),t===`style`&&(o[Mt]=!0,o.onload=o.onerror=function(){zt(o)}),Rt(o),r.head.appendChild(o)}}}function Hm(e,t){Pm.m(e,t);var n=Lm;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+P(r)+`"][href="`+P(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Zm(e)}if(!jm.has(a)&&(e=w({rel:`modulepreload`,href:e},t),jm.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Qm(a)))return}r=n.createElement(`link`),hp(r,`link`,e),Rt(r),n.head.appendChild(r)}}}function Um(e,t,n){Pm.S(e,t,n);var r=Lm;if(r&&e){var i=Lt(r).hoistableStyles,a=qm(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Jm(a)))s.loading=5;else{e=w({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=jm.get(a))&&th(e,n);var c=o=r.createElement(`link`);Rt(c),hp(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,eh(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Wm(e,t){Pm.X(e,t);var n=Lm;if(n&&e){var r=Lt(n).hoistableScripts,i=Zm(e),a=r.get(i);a||(a=n.querySelector(Qm(i)),a||(e=w({src:e,async:!0},t),(t=jm.get(i))&&nh(e,t),a=n.createElement(`script`),Rt(a),hp(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Gm(e,t){Pm.M(e,t);var n=Lm;if(n&&e){var r=Lt(n).hoistableScripts,i=Zm(e),a=r.get(i);a||(a=n.querySelector(Qm(i)),a||(e=w({src:e,async:!0,type:`module`},t),(t=jm.get(i))&&nh(e,t),a=n.createElement(`script`),Rt(a),hp(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Km(e,t,n,r){var a=(a=we.current)?Nm(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(n=qm(n.href),t=Lt(a).hoistableStyles,r=t.get(n),r||(r={type:`style`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=qm(n.href);var o=Lt(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Jm(e)))?o._p||(s.instance=o,s.state.loading=5):(o=jm.get(e),o||(o={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},jm.set(e,o)),Xm(a,e,o,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(n=Zm(n),t=Lt(a).hoistableScripts,r=t.get(n),r||(r={type:`script`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function qm(e){return`href="`+P(e)+`"`}function Jm(e){return`link[rel="stylesheet"][`+e+`]`}function Ym(e){return w({},e,{"data-precedence":e.precedence,precedence:null})}function Xm(e,t,n,r){if(t=e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)){
52if(!0!==t[Mt]){r.loading=1;return}}else t=e.createElement(`link`),t[Mt]=!0,t.onload=t.onerror=zt.bind(null,t),hp(t,`link`,n),Rt(t),e.head.appendChild(t);r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2})}function Zm(e){return`[src="`+P(e)+`"]`}function Qm(e){return`script[async]`+e}function $m(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+P(n.href)+`"]`);if(r)return t.instance=r,Rt(r),r;var a=w({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),Rt(r),hp(r,`style`,a),eh(r,n.precedence,e),t.instance=r;case`stylesheet`:a=qm(n.href);var o=e.querySelector(Jm(a));if(o)return t.state.loading|=4,t.instance=o,Rt(o),o;r=Ym(n),(a=jm.get(a))&&th(r,a),o=(e.ownerDocument||e).createElement(`link`),Rt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),hp(o,`link`,r),t.state.loading|=4,eh(o,n.precedence,e),t.instance=o;case`script`:return o=Zm(n.src),(a=e.querySelector(Qm(o)))?(t.instance=a,Rt(a),a):(r=n,(a=jm.get(o))&&(r=w({},n),nh(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),Rt(a),hp(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,eh(r,n.precedence,e));return t.instance}function eh(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function th(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function nh(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var rh=null;function ih(e,t,n){if(rh===null){var r=new Map,i=rh=new Map;i.set(n,r)}else i=rh,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[jt]||a[wt]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function ah(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function oh(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function sh(e,t){return e===`img`&&t.src!=null&&t.src!==``&&t.onLoad==null&&t.loading!==`lazy`}function ch(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function lh(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio==`number`?devicePixelRatio:1)*.25}function uh(e,t){typeof t.decode==`function`&&(e.imgCount++,t.complete||(e.imgBytes+=lh(t),e.suspenseyImages.push(t)),e=gh.bind(e),t.decode().then(e,e))}function dh(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=qm(r.href),a=t.querySelector(Jm(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=hh.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,Rt(a);return}a=t.ownerDocument||t,r=Ym(r),(i=jm.get(i))&&th(r,i),a=a.createElement(`link`),Rt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),hp(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),
vendor: 4,918 bytes, line 52
52(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=hh.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var fh=0;function ph(e,t){return e.stylesheets&&e.count===0&&vh(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&vh(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&fh===0&&(fh=62500*yp());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&vh(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>fh?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function mh(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)vh(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function hh(){this.count--,mh(this)}function gh(){this.imgCount--,mh(this)}var _h=null;function vh(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,_h=new Map,t.forEach(yh,e),_h=null,hh.call(e))}function yh(e,t){if(!(t.state.loading&4)){var n=_h.get(e);if(n)var r=n.get(null);else{n=new Map,_h.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=hh.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var bh={$$typeof:A,Provider:null,Consumer:null,_currentValue:ge,_currentValue2:ge,_threadCount:0};function xh(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=pt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pt(0),this.hiddenUpdates=pt(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.transitionTypes=null,this.incompleteTransitions=new Map}function Sh(e,t,n,r,i,a,o,s,c,l,u,d){return e=new xh(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=Ni(3,null,null,t),e.current=a,a.stateNode=e,t=Pa(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},_o(a),e}function R(e){return e?(e=ji,e):ji}function Ch(e,t,n,r,i,a){i=R(i),r.context===null?r.context=i:r.pendingContext=i,r=yo(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=bo(e,r,t),n!==null&&(Wd(n,e,t),xo(n,e,t))}function wh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Th(e,t){wh(e,t),(e=e.alternate)&&wh(e,t)}function Eh(e){if(e.tag===13||e.tag===31){var t=Oi(e,67108864);t!==null&&Wd(t,e,67108864),Th(e,67108864)}}function Dh(e){if(e.tag===13||e.tag===31){var t=Vd();t=yt(t);var n=Oi(e,t);n!==null&&Wd(n,e,t),Th(e,t)}}var Oh=!0;function kh(e,t,n,r){var i=M.T;M.T=null;var a=N.p;try{N.p=2,jh(e,t,n,r)}finally{N.p=a,M.T=i}}function Ah(e,t,n,r){var i=M.T;M.T=null;var a=N.p;try{N.p=8,jh(e,t,n,r)}finally{N.p=a,M.T=i}}function jh(e,t,n,r){if(Oh){var i=Mh(r);if(i===null)ip(e,t,r,Nh,n),Wh(e,r);else if(Kh(i,e,t,n,r))r.stopPropagation();else if(Wh(e,r),t&4&&-1<Uh.indexOf(e)){for(;i!==null;){var a=Ft(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=st(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-et(o);s.entanglements[1]|=c,o&=~c}Lf(a),!(ad&6)&&(Ed=He()+500,Rf(0,!1))}}break;case 31:case 13:s=Oi(a,2),s!==null&&Wd(s,a,2),Yd(),Th(a,2)}if(a=Mh(r),a===null&&ip(e,t,r,Nh,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else ip(e,t,r,null,n)}}function Mh(e){return e=xn(e),Ph(e)}var Nh=null;function Ph(e){if(Nh=null,e=Pt(e),e!==null){var t=o(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=s(t),e!==null)return e;e=null}else if(n===31){if(e=c(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Nh=e,null}function Fh(e){switch(e){case`beforetoggle`:case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`
vendor: 6,003 bytes, line 52
52:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`seeked`:case`submit`:case`toggle`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`fullscreenerror`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 2;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`resize`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch(Ue()){case We:return 2;case Ge:return 8;case Ke:case qe:return 32;case Je:return 268435456;default:return 32}default:return 32}}var Ih=!1,Lh=null,Rh=null,zh=null,Bh=new Map,Vh=new Map,Hh=[],Uh=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset`.split(` `);function Wh(e,t){switch(e){case`focusin`:case`focusout`:Lh=null;break;case`dragenter`:case`dragleave`:Rh=null;break;case`mouseover`:case`mouseout`:zh=null;break;case`pointerover`:case`pointerout`:Bh.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:Vh.delete(t.pointerId)}}function Gh(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Ft(t),t!==null&&Eh(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Kh(e,t,n,r,i){switch(t){case`focusin`:return Lh=Gh(Lh,e,t,n,r,i),!0;case`dragenter`:return Rh=Gh(Rh,e,t,n,r,i),!0;case`mouseover`:return zh=Gh(zh,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return Bh.set(a,Gh(Bh.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,Vh.set(a,Gh(Vh.get(a)||null,e,t,n,r,i)),!0}return!1}function qh(e){var t=Pt(e.target);if(t!==null){var n=o(t);if(n!==null){if(t=n.tag,t===13){if(t=s(n),t!==null){e.blockedOn=t,St(e.priority,function(){Dh(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,St(e.priority,function(){Dh(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Jh(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Mh(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);bn=r,n.target.dispatchEvent(r),bn=null}else return t=Ft(n),t!==null&&Eh(t),e.blockedOn=n,!1;t.shift()}return!0}function Yh(e,t,n){Jh(e)&&n.delete(t)}function Xh(){Ih=!1,Lh!==null&&Jh(Lh)&&(Lh=null),Rh!==null&&Jh(Rh)&&(Rh=null),zh!==null&&Jh(zh)&&(zh=null),Bh.forEach(Yh),Vh.forEach(Yh)}function Zh(e,n){e.blockedOn===n&&(e.blockedOn=null,Ih||(Ih=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Xh)))}var Qh=null;function $h(e){Qh!==e&&(Qh=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Qh===e&&(Qh=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(Ph(r||n)===null)continue;break}var a=Ft(n);a!==null&&(e.splice(t,3),t-=3,ic(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function eg(e){function t(t){return Zh(t,e)}Lh!==null&&Zh(Lh,e),Rh!==null&&Zh(Rh,e),zh!==null&&Zh(zh,e),Bh.forEach(t),Vh.forEach(t);for(var n=0;n<Hh.length;n++){var r=Hh[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Hh.length&&(n=Hh[0],n.blockedOn===null);)qh(n),n.blockedOn===null&&Hh.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[Tt]||null;if(typeof a==`function`)o||$h(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[Tt]||null)s=o.formAction;else if(Ph(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),$h(n)}}}function tg(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function ng(e){this._internalRoot=e}rg.prototype.render=ng.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;Ch(n,Vd(),e,t,null,null)},rg.prototype.unmount=ng.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ch(e.current,2,null,e,null,null),Yd(),t[Et]=null}};function rg(e){this._internalRoot=e}rg.prototype.unstable_scheduleHydration=function(e){if(e){var t=xt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Hh.length&&t!==0&&t<Hh[n].priority;n++);Hh.splice(n,0,e),n===0&&qh(e)}};var ig=n.version;if(ig!==`19.3.0`)throw Error(i(527,ig,`19.3.0`));N.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(i(188)):(e=Object.keys(e).join(`,`),Error(i(268,e)));return e=u(t),e=e===null?null:d(e),e=e===null?null:e.stateNode,e};var ag={bundleType:0,version:`19.3.0`,rendererPackageName:`react-dom`,currentDispatcherRef:M,reconcilerVersion:`19.3.0`};
52if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var og=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!og.isDisabled&&og.supportsFiber)try{Ze=og.inject(ag),Qe=og}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=Dc,s=Oc,c=kc;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=Sh(e,1,!1,null,null,n,r,null,o,s,c,tg),e[Et]=t.current,np(e),new ng(t)}})),YV=u(s(((e,t)=>{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=JV()}))(),1),XV=({buttonType:e})=>{vM();let{button:t}=aM(e=>({button:e.contentState.siteContent?.button_header}));return U.isAuthTokens?(0,Y.jsx)(`a`,{href:$C.LINK_PRODUCT,className:`link-button-header-widget`,children:(0,Y.jsx)(CM,{buttonType:e,label:t?.button_label_auth||lw.button_label_auth,icon:(0,Y.jsx)(zV,{}),tabIndex:-1})}):(0,Y.jsx)(`a`,{href:$C.LINK_LOGIN,className:`link-button-header-widget`,children:(0,Y.jsx)(CM,{buttonType:e,label:t?.button_label_no_auth||lw.button_label_no_auth,icon:(0,Y.jsx)(zV,{}),tabIndex:-1})})},ZV=(e,t,n)=>e&&e[t]&&e[t][n]?e[t][n]:null,QV=e=>{let{activeTab:t,prices:n,discounts:r,period:i,amount:a}=e,{calculator:o}=aM(e=>({calculator:e.contentState.siteContent?.calculator_widget})),s=ZV(n,i,a),c=ZV(r,i,a),l=t===UA.FIRST?{chargeCurrent:c?+c.charge:+s.charge,chargeCrossed:0,aprCurrent:c?+c.apr:+s.apr,aprCrossed:0,fullCurrent:c?+c.charge+a:+s.charge+a,fullCrossed:0}:{chargeCurrent:+s.charge,chargeCrossed:0,aprCurrent:+s.apr,aprCrossed:0,fullCurrent:+s.charge+a,fullCrossed:0};l.chargeCurrent===l.chargeCrossed&&(l.chargeCrossed=0),l.aprCurrent===l.aprCrossed&&(l.aprCrossed=0),l.fullCurrent===l.fullCrossed&&(l.fullCrossed=0);let u=t===UA.FIRST&&l.chargeCurrent===0,d=u?`current`:`current black`,f=e=>u&&e===0?`0`:e.toFixed(2);return(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsxs)(`div`,{className:`block-price dark-mode`,children:[(0,Y.jsx)(`p`,{className:`title`,children:(0,Y.jsx)(PV,{html:o?.calculator_price_charge_label||H.calculator_price_charge_label})}),(0,Y.jsxs)(`p`,{className:`price`,children:[!!l.chargeCrossed&&(0,Y.jsxs)(`span`,{className:`crossed`,children:[l.chargeCrossed.toFixed(2),` `,`zł`]}),(0,Y.jsxs)(`span`,{className:d,children:[f(l.chargeCurrent),` `,`zł`]})]})]}),(0,Y.jsxs)(`div`,{className:`block-price dark-mode`,children:[(0,Y.jsx)(`p`,{className:`title`,children:(0,Y.jsx)(PV,{html:o?.calculator_price_apr_label||H.calculator_price_apr_label})}),(0,Y.jsxs)(`p`,{className:`price`,children:[!!l.aprCrossed&&(0,Y.jsxs)(`span`,{className:`crossed`,children:[l.aprCrossed.toFixed(2),` %`]}),(0,Y.jsxs)(`span`,{className:d,children:[f(l.aprCurrent),` %`]})]})]}),(0,Y.jsxs)(`div`,{className:`block-price dark-mode`,children:[(0,Y.jsx)(`p`,{className:`title`,children:(0,Y.jsx)(PV,{html:o?.calculator_slider_period_label||H.calculator_slider_period_label})}),(0,Y.jsx)(`p`,{className:`price`,children:t===UA.FIRST?(0,Y.jsxs)(`span`,{className:`current`,children:[i,` `,`dni`]}):(0,Y.jsxs)(`span`,{className:`current black`,children:[i,` `,`dni`]})})]}),(0,Y.jsxs)(`div`,{className:`block-loan-amount`,children:[(0,Y.jsx)(`span`,{className:`title`,children:(0,Y.jsx)(PV,{html:o?.calculator_price_label||H.calculator_price_label})}),(0,Y.jsxs)(`span`,{className:`price`,children:[l.fullCurrent.toFixed(2),` `,`zł`]}),(0,Y.jsx)(`span`,{className:`period`,children:(0,Y.jsx)(PV,{html:(o?.calculator_period_label||H.calculator_period_label).replace(`{{date}}`,FE().addDays(i).formatFront())})})]})]})},$V=e=>{let{amount:t,children:n}=e,{addDocument:r}=rM(),{priceList:i,calculator:a}=aM(e=>({priceList:e.priceListStore.registration,calculator:e.contentState.siteContent?.calculator_widget})),o=$C.CALCULATOR_FIRST_LOAN_PERIOD;return(0,V.useEffect)(()=>{WA(UA.FIRST)},[]),(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(`div`,{className:`loan-block-padding`,children:n||null}),(0,Y.jsxs)(`div`,{className:`loan-block-dark-mode`,children:[(0,Y.jsx)(QV,{activeTab:UA.FIRST,discounts:i.discounts,prices:i.prices,amount:t,period:o}),(0,Y.jsxs)(`div`,{className:`block-links-document dark-mode`,children:[(0,Y.jsx)(`a`,{href:`#`,onClick:e=>(e.preventDefault(),r({id:`${(U.isApiProd?uw:dw).SMART.REPRESENTATIVE_FORM_USER_LTU}_${(U.isApiProd?uw:dw).SMART.LEGAL_NOTICE}_${t}_${o}`,event:()=>Promise.all([YA({template_id:(U.isApiProd?uw:dw).SMART.REPRESENTATIVE_FORM_USER_LTU,amount:t,period:o},{}).then(e=>e.document_template),YA({template_id:(U.isApiProd?uw:dw).SMART.LEGAL_NOTICE,amount:t,period:o},{}).then(e=>e.document_template)]),label:[a?.calculator_document_representative_label||H.calculator_document_representative_label,a?.calculator_document_legal_notice||H.calculator_document_legal_notice]})),children:(0,Y.jsx)(PV,{html:a?.calculator_document_representative_legal_label||H.calculator_document_representative_legal_label})}),(0,Y.jsx)(`a`,{href:`#`,onClick:e=>(e.preventDefault(),r({id:`${(U.isApiProd?uw:dw).SMART.INFORMATION_FORM_REGISTRATION}_${t}_${o}`,event:()=>YA({template_id:(U.isApiProd?uw:dw).SMART.INFORMATION_FORM_REGISTRATION,amount:t,period:o},{}).then(e=>e.document_template),label:a?.calculator_document_form_label||H.calculator_document_form_label})),children:(0,Y.jsx)(PV,{html:a?.calculator_document_form_label||H.calculator_document_form_label})})]})]})]})},eH=e=>{let{amount:t,children:n}=e,{addDocument:r}=rM(),{priceList:i,calculator:a}=aM(e=>({priceList:e.priceListStore.registration,calculator:e.contentState.siteContent?.calculator_widget}));return(0,V.useEffect)(()=>{WA(UA.SUBSEQUENT)},[]),(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(`div`,{className:`loan-block-padding`,children:n||null}),(0,Y.jsxs)(`div`,{className:`loan-block-dark-mode`,children:[(0,Y.jsx)(QV,{activeTab:UA.SUBSEQUENT,discounts:i.discounts,prices:i.prices,amount:t,period:a.calculator_slider_period}),(0,Y.jsxs)(`div`,{className:`block-links-document dark-mode`,children:[(0,Y.jsx)(`a`,{href:`#`,onClick:e=>(e.preventDefault(),r({id:`${(U.isApiProd?uw:dw).SMART.REPRESENTATIVE_FORM_USER_LTU}_${(U.isApiProd?uw:dw).SMART.LEGAL_NOTICE}_${t}_${a.calculator_slider_period}`,event:()=>Promise.all([YA({template_id:(U.isApiProd?uw:dw).SMART.REPRESENTATIVE_FORM_USER_LTU,amount:t,period:a.calculator_slider_period},{}).then(e=>e.document_template),YA({template_id:(U.isApiProd?uw:dw).SMART.LEGAL_NOTICE,amount:t,period:a.calculator_slider_period},{}).then(e=>e.document_template)]),label:[a?.calculator_document_representative_label||H.calculator_document_representative_label,a?.calculator_document_legal_notice||H.calculator_document_legal_notice]})),children:(0,Y.jsx)(PV,{html:a?.calculator_document_representative_legal_label||H.calculator_document_representative_legal_label})}),(0,Y.jsx)(`a`,{href:`#`,onClick:e=>(e.preventDefault(),r({id:`${(U.isApiProd?uw:dw).SMART.INFORMATION_FORM_REGISTRATION}_${t}_${a.calculator_slider_period}`,event:()=>YA({template_id:(U.isApiProd?uw:dw).SMART.INFORMATION_FORM_REGISTRATION,amount:t,period:a.calculator_slider_period},{}).then(e=>e.document_template),label:a?.calculator_document_form_label||H.calculator_document_form_label})),children:(0,Y.jsx)(PV,{html:a?.calculator_document_form_label||H.calculator_document_form_label})})]})]})]})},tH=()=>({indicatorSeparator:()=>({display:`none`}),indicatorsContainer:()=>({display:`none`}),control:e=>({...e,border:`none`,borderRadius:`0`,borderBottom:`1px solid #E0E9F2`,transition:`0`,"&:hover":{},minHeight:`none`,boxShadow:`none`,cursor:`pointer`,background:`transparent`}),container:e=>({...e}),valueContainer:e=>({...e,fontSize:`16px`,lineHeight:`17px`,fontWeight:`600`,color:`#333D45`}),singleValue:e=>({...e,fontFamily:`GilroyBold, sans-serif !important`,textAlign:`center`,marginRight:`15px`,fontSize:`16px`,lineHeight:`17px`,color:`#333D45`}),noOptionsMessage:e=>({...e,fontSize:`16px`}),menu:e=>({...e,marginTop:`2px`,boxShadow:`none`,borderRadius:`0 0 4px 4px`,border:`1px solid #e0e9f2`,borderTop:`0`,zIndex:10}),option:(e,t)=>
52({...e,height:`20px`,cursor:`pointer`,fontSize:`14px`,padding:`2px 12px`,color:`#333D45`,backgroundColor:t.isSelected?`rgba(255, 153, 0, 0.50)`:t.isFocused?`rgba(255, 153, 0, .25)`:`transparent`,"&:hover":{backgroundColor:`rgba(255, 153, 0, .25)`}})}),nH=()=>({indicatorSeparator:()=>({display:`none`}),indicatorsContainer:()=>({display:`none`}),control:e=>({...e,border:`none`,borderRadius:`0`,borderBottom:`1px solid #E0E9F2`,transition:`0`,"&:hover":{},minHeight:`none`,boxShadow:`none`,cursor:`pointer`,background:`transparent`}),container:e=>({...e}),valueContainer:e=>({...e,fontSize:`16px`,lineHeight:`17px`,fontWeight:`600`,color:`#333D45`}),singleValue:e=>({...e,fontFamily:`GilroyBold, sans-serif !important`,textAlign:`center`,marginRight:`15px`,fontSize:`16px`,lineHeight:`17px`,color:`#333D45`}),noOptionsMessage:e=>({...e,fontSize:`16px`}),menu:e=>({...e,marginTop:`2px`,boxShadow:`none`,borderRadius:`0 0 4px 4px`,border:`1px solid #e0e9f2`,borderTop:`0`,zIndex:10}),option:(e,t)=>({...e,height:`20px`,cursor:`pointer`,fontSize:`14px`,padding:`2px 12px`,color:`#333D45`,backgroundColor:t.isSelected?`rgba(87, 102, 115, .5)`:t.isFocused?`rgba(87, 102, 115, .25)`:`transparent`,"&:hover":{backgroundColor:`rgba(87, 102, 115, .25)`}})}),rH=()=>({indicatorSeparator:()=>({display:`none`}),indicatorContainer:()=>({color:`#225aac`}),indicatorsContainer:e=>({...e,display:`flex`,alignItems:`center`,height:`100%`}),dropdownIndicator:(e,t)=>({...e,padding:0,margin:0,color:`white`,transition:`transform 0.2s ease`,transform:t.selectProps.menuIsOpen?`rotate(180deg)`:`rotate(0deg)`,"&:hover":{color:`white`}}),control:e=>({...e,display:`flex`,justifyContent:`center`,alignItems:`center`,padding:`10px 15px`,background:`#545980`,borderRadius:`40px`,border:`none`,boxShadow:`none`,minHeight:`20px`,width:`100%`,"&:hover":{},input:{height:`auto`,width:`auto!important`},cursor:`pointer`,zIndex:11}),container:e=>({...e,height:`20px`,width:`100%`}),valueContainer:e=>({...e,fontSize:`16px`,textAlign:`center`,fontFamily:`GilroyRegular`,padding:`0`}),singleValue:e=>({...e,display:`flex`,paddingLeft:`8px`,width:`100%`,textAlign:`center`,fontSize:`14px`,fontWeight:`600`,lineHeight:`16.8px`,color:`white`,margin:`0`}),noOptionsMessage:e=>({...e,fontSize:`16px`,fontFamily:`GilroyRegular`}),menu:e=>({...e,overflow:`hidden`,marginTop:`0`,padding:`0`,boxShadow:`0 1px 8px 0 rgba(108, 76, 174, 0.22)`,borderRadius:`0 0 33px 33px`,border:`none`,fontSize:`14px`,fontWeight:`600`,lineHeight:`16.8px`,zIndex:10}),menuList:e=>({...e,maxHeight:`260px`,paddingTop:`20px`,paddingBottom:`8px`,paddingLeft:`0`,paddingRight:`0`,overflowY:`auto`}),option:(e,t)=>({...e,cursor:`pointer`,fontSize:`14px`,fontFamily:`GilroyRegular`,paddingTop:`15px`,paddingLeft:`28px`,backgroundColor:t.isSelected||t.isFocused?`#EDEEF8`:`#ffffff`,color:`#545980`})}),iH=e=>{let{label:t,labelSlider:n,values:r,value:i,prefix:a,onChange:o,basicStyle:s,maxValue:c,maxTooltip:l,minValue:u,minTooltip:d,isDarkMode:f=!1,...p}=e;return(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsxs)(`div`,{className:`slider-header`,children:[(0,Y.jsx)(`div`,{id:`amount-slider-label`,className:`slider-title`,children:t}),U.isSmart?(0,Y.jsxs)(`div`,{className:`amount-slider-value`,children:[i,` `,a]}):(0,Y.jsxs)(`div`,{className:`slider-value ${f?`dark-mode`:``}`,children:[(0,Y.jsx)(XR,{inputId:`amount-slider-input`,ariaLabelledby:`amount-slider-label`,name:`amount-slider`,options:r.map(e=>({value:e,label:f?`${e} ${a}`:String(e)})),onChange:e=>{o(e)},value:i,style:s?U.isPlus?tH:U.isSmart?rH:nH:nH}),!f&&(0,Y.jsx)(`span`,{children:a})]})]}),(0,Y.jsx)(Iz,{...p,prefix:a,value:i,values:r,labelSlider:n,onChange:o,maxValue:c,maxTooltip:l,minValue:u,minTooltip:d,classNames:{box:s?U.isPlus?`plus`:U.isSmart?`smart`:`gray`:`gray`}})]})},aH=e=>{U.isDev&&console.info(e),U.isProd&&window.dataLayer&&window.dataLayer.push&&window.dataLayer.push(e)},oH=(e,t)=>!isNaN(e)&&t.includes(e),sH=(e,t,n)=>oH(e,t)?Number(e):n,cH=(e,t,n,r)=>{if(!e)return{min:r.MIN,max:r.MAX};let i=sH(n.MIN,t,r.MIN),a=sH(n.MAX??1/0,t,r.MAX);return i<a?{min:i,max:a}:{min:r.MIN,max:r.MAX}},lH=()=>{let{calculator:e,priceList:t}=aM(e=>({calculator:e.contentState.siteContent?.calculator_widget,priceList:e.priceListStore.registration})),[n,r]=(0,V.useState)(()=>Tw()??$C.CALCULATOR_FIRST_LOAN_PERIOD),[i,a]=(0,V.useState)(()=>{let n=xw(),{min:r,max:i}=cH(e,t.amounts,{MIN:e.calculator_slider_minimum_amount_for_first_loan,MAX:Number(e.calculator_slider_maximum_amount_for_subsequent_loans)},{MIN:t.amounts[0],MAX:t.amounts[t.amounts.length-1]});return n&&!isNaN(n)&&t.amounts?.includes(n)&&n>=r&&n<=i?n:e.calculator_slider_default_amount}),[o,s]=(0,V.useState)(()=>i>e.calculator_slider_maximum_amount_for_registration||n!=$C.CALCULATOR_FIRST_LOAN_PERIOD?UA.SUBSEQUENT:UA.FIRST),c=e=>{a(e),Sw(e)};return(0,V.useEffect)(()=>{Sw(i),Ew(n)},[]),(0,Y.jsxs)(`div`,{className:`calculator-container`,children:[(0,Y.jsx)(`div`,{className:`amount-slider-container`,children:(0,Y.jsx)(iH,{label:e?.calculator_slider_amount_label||H.calculator_slider_amount_label,labelSlider:e?.calculator_slider_current_amount_label||H.calculator_slider_current_amount_label,prefix:`zł`,value:i,values:Object.keys(t.prices?t.prices[n]:{}).map(e=>+e).filter(t=>o===UA.FIRST?t>=e.calculator_slider_minimum_amount_for_first_loan&&t<=(e.calculator_slider_maximum_amount_for_registration??1/0):t>=e.calculator_slider_minimum_amount_for_subsequent_loans&&t<=(e.calculator_slider_maximum_amount_for_subsequent_loans??1/0)),onChange:e=>c(e),basicStyle:!0,isDarkMode:!0})}),(0,Y.jsx)(`div`,{className:`calculator-button`,children:(0,Y.jsx)(`a`,{href:o===UA.FIRST?$C.LINK_REGISTRATION:$C.LINK_LOGIN,className:`text-decoration_none`,children:(0,Y.jsx)(CM,{label:e?.calculator_button_label||H.calculator_button_label,onClick:()=>aH({event:`funnelData`,user_action:`main_calculator_take`}),tabIndex:-1})})}),(0,Y.jsx)(Lz,{activeTab:o,amount:i,maxRegistrationAmount:e.calculator_slider_maximum_amount_for_registration,setActiveTab:s,handleSetAmount:c,handleSetPeriod:e=>{r(e),Ew(e)},viewHeader:!1,tabs:[{nameTab:UA.FIRST,titleTab:e?.calculator_tab_first_label||H.calculator_tab_first_label,bodyTab:e=>(0,Y.jsx)($V,{amount:i,...e})},{nameTab:UA.SUBSEQUENT,titleTab:e?.calculator_tab_second_label||H.calculator_tab_second_label,bodyTab:e=>(0,Y.jsx)(eH,{amount:i,...e})}]})]})},uH=()=>{let{addDocument:e}=rM(),{priceList:t,userInfo:n,calculator:r,settings:i}=aM(e=>({priceList:e.priceListStore.user,userInfo:e.userStore.userInfo,calculator:e.contentState.siteContent?.calculator_widget,settings:e.settingsStore.settings,creditsInfo:e.userStore.creditsInfo})),a=SM(),[o,s]=(0,V.useState)(Number(a)),c=n?.credits&&n.credits>0?r.calculator_slider_period:$C.CALCULATOR_FIRST_LOAN_PERIOD,l=n?.credits?{nameTab:UA.SUBSEQUENT,titleTab:r?.calculator_tab_second_label||H.calculator_tab_second_label}:{nameTab:UA.FIRST,titleTab:r?.calculator_tab_first_label||H.calculator_tab_first_label},u=e=>{s(e),ww(e)};
52(0,V.useEffect)(()=>{ww(o),Ew(c),WA(l.nameTab)},[]);let d=Object.keys(t.prices?t.prices[c]:{}).map(e=>+e).filter(e=>n.credits?e>=r.calculator_slider_minimum_amount_for_subsequent_loans&&e<=(r.calculator_slider_maximum_amount_for_subsequent_loans??1/0):e>=r.calculator_slider_minimum_amount_for_first_loan&&e<=(r.calculator_slider_maximum_amount_for_first_loan??1/0));return(0,Y.jsxs)(`div`,{className:`calculator-container calculator-long`,children:[(0,Y.jsx)(iH,{label:r?.calculator_slider_amount_label||H.calculator_slider_amount_label,labelSlider:r?.calculator_slider_current_amount_label||H.calculator_slider_current_amount_label,prefix:`zł`,value:o,values:d,onChange:e=>u(e),basicStyle:!0,isDarkMode:!0}),(0,Y.jsx)(`br`,{}),(0,Y.jsx)(`a`,{href:$C.LINK_PRODUCT_APPLICATION,className:`text-decoration_none`,children:(0,Y.jsx)(CM,{label:r?.calculator_button_label||H.calculator_button_label,tabIndex:-1})}),(0,Y.jsx)(Lz,{activeTab:l.nameTab,amount:o,maxRegistrationAmount:r.calculator_slider_maximum_amount_for_registration,handleSetAmount:u,viewHeader:!1,tabs:[{nameTab:l.nameTab,titleTab:l.titleTab,bodyTab:()=>(0,Y.jsx)(Y.Fragment,{children:(0,Y.jsxs)(`div`,{className:`loan-block-dark-mode`,children:[(0,Y.jsx)(QV,{activeTab:l.nameTab,discounts:t.discounts,prices:t.prices,amount:o,period:c}),(0,Y.jsxs)(`div`,{className:`block-links-document  dark-mode`,children:[(0,Y.jsx)(`a`,{href:`#`,onClick:t=>(t.preventDefault(),e({id:`${(U.isApiProd?uw:dw).SMART[`REPRESENTATIVE_FORM_USER_${n?.customer_id?KA(n.customer_id,i.secondInvestorShare,`smart`):`LTU`}`]}_${(U.isApiProd?uw:dw).SMART.LEGAL_NOTICE}_${o}_${c}`,event:()=>Promise.all([YA({template_id:(U.isApiProd?uw:dw).SMART[`REPRESENTATIVE_FORM_USER_${n?.customer_id?KA(n.customer_id,i.secondInvestorShare,`smart`):`LTU`}`],amount:o,period:c},{}).then(e=>e.document_template),YA({template_id:(U.isApiProd?uw:dw).SMART.LEGAL_NOTICE,amount:o,period:c},{}).then(e=>e.document_template)]),label:[r?.calculator_document_representative_label||H.calculator_document_representative_label,r?.calculator_document_legal_notice||H.calculator_document_legal_notice]})),children:(0,Y.jsx)(PV,{html:r?.calculator_document_representative_legal_label||H.calculator_document_representative_legal_label})}),(0,Y.jsx)(`a`,{href:`#`,onClick:t=>(t.preventDefault(),e({id:`${(U.isApiProd?uw:dw).SMART[`INFORMATION_FORM_USER_${n?.customer_id?KA(n.customer_id,i.secondInvestorShare,`smart`):`LTU`}`]}_${o}_${c}`,event:()=>YA({template_id:(U.isApiProd?uw:dw).SMART[`INFORMATION_FORM_USER_${n?.customer_id?KA(n.customer_id,i.secondInvestorShare,`smart`):`LTU`}`],amount:o,period:c},{}).then(e=>e.document_template),label:r?.calculator_document_form_label||H.calculator_document_form_label})),children:(0,Y.jsx)(PV,{html:r?.calculator_document_form_label||H.calculator_document_form_label})})]})]})})}]})]})},dH=()=>{let{calculator:e,userInfo:t}=aM(e=>({calculator:e.contentState.siteContent?.calculator_widget,userInfo:e.userStore.userInfo}));return(0,Y.jsx)(`div`,{className:`block-active-product`,children:(0,Y.jsxs)(`a`,{href:t?.applications?$C.LINK_PRODUCT_APPLICATION:$C.LINK_PRODUCT_CREDIT,children:[(0,Y.jsx)(`p`,{className:`title`,children:(0,Y.jsx)(PV,{html:e?.active_product_title||H.active_product_title})}),(0,Y.jsx)(VV,{}),(0,Y.jsx)(`p`,{className:`description`,children:(0,Y.jsx)(PV,{html:e?.active_product_description||H.active_product_description})}),(0,Y.jsx)(CM,{label:e?.active_product_button_label||H.active_product_button_label})]})})},fH=()=>(0,Y.jsx)(IV,{}),pH=()=>{let{calculator:e}=aM(e=>({calculator:e.contentState.siteContent?.calculator_widget}));return(0,Y.jsxs)(`div`,{className:`block-technical-break`,children:[(0,Y.jsx)(RV,{}),(0,Y.jsx)(`p`,{className:`title`,children:(0,Y.jsx)(PV,{html:e?.technical_break_title||H.technical_break_title})}),(0,Y.jsx)(`p`,{className:`description`,children:(0,Y.jsx)(PV,{html:e?.technical_break_description||H.technical_break_description})})]})},mH=()=>{let{calculator:e}=aM(e=>({calculator:e.contentState.siteContent?.calculator_widget}));return(0,Y.jsx)(`div`,{className:`block-technical-break-external`,children:(0,Y.jsxs)(`a`,{href:e?.technical_break_external_link||sw.TECHNICAL_EXTERNAL_LINK,children:[(0,Y.jsx)(RV,{}),(0,Y.jsx)(`p`,{className:`title`,children:(0,Y.jsx)(PV,{html:e?.technical_break_external_title||H.technical_break_external_title})}),(0,Y.jsx)(`p`,{className:`description`,children:(0,Y.jsx)(PV,{html:e?.technical_break_external_description||H.technical_break_external_description})}),(0,Y.jsx)(BV,{}),(0,Y.jsx)(CM,{label:e?.technical_break_external_button_label||H.technical_break_external_button_label})]})})},{fetchContentAll:hH}=Gj,gH={fetchContentAll:hH},_H=()=>{let[e,t]=(0,V.useState)(`LOADER`),{fetchFullUser:n}=_M(),{fetchSettings:r}=xM(),{fetchPriceListRegistration:i,fetchPriceListUser:a}=mM(),{priceListStatusRegistration:o,priceListStatusUser:s,stateFetchContent:c,calculator:l,userInfo:u,stateFetchUser:d,settingsStatus:f}
52=aM(e=>({settingsStatus:e.settingsStore.settingsStatus,priceListStatusRegistration:e.priceListStore.registration.priceListStatus,priceListStatusUser:e.priceListStore.user.priceListStatus,stateFetchContent:e.contentState.stateFetchContent,calculator:e.contentState.siteContent?.calculator_widget,userInfo:e.userStore.userInfo,stateFetchUser:e.userStore.stateFetchUser})),{fetchContentAll:p}=oM(gH);return(0,V.useEffect)(()=>{p(),r(),U.isAuthTokens?n().unwrap().then(()=>{a()}).catch(()=>{i()}):i(),window.cheatMode={onAuth:()=>{let e=prompt(`auth token`);if(!e)return;let t=prompt(`refresh token`);t&&(hw(e),vw(t),window.location.reload())},onLogout:()=>{bw(),window.location.reload()},onLoader:()=>t(`LOADER`),onRegistration:()=>t(`REGISTRATION`),onUser:()=>t(`USER`),onTechnical:()=>t(`TECHNICAL_BREAK`),onTechnicalExternal:()=>t(`TECHNICAL_BREAK_EXTERNAL`),onProduct:()=>t(`PRODUCT`)}},[]),(0,V.useEffect)(()=>{if(U.isAuthTokens){if(HA([d],[`INIT`,`LOADING`]))return;if(HA([d],[`SUCCESS`])){if(HA([s],[`INIT`,`LOADING`]))return;if(HA([s],[`FAILED`])){t(`ERROR`);return}if(u?.applications){t(`PRODUCT`);return}if(u?.debt){t(`PRODUCT`);return}t(`USER`);return}if(HA([o],[`INIT`,`LOADING`]))return;if(HA([o],[`FAILED`])){t(`ERROR`);return}t(`REGISTRATION`);return}if(!HA([o],[`INIT`,`LOADING`])){if(HA([o],[`FAILED`])){t(`ERROR`);return}t(`REGISTRATION`)}},[u,d,s,o]),e===`LOADER`||HA([c,f],[`INIT`,`LOADING`])?(0,Y.jsx)(fH,{}):l?.calculator_blocked?l.calculator_blocked_type_external?(0,Y.jsx)(mH,{}):(0,Y.jsx)(pH,{}):e===`PRODUCT`?(0,Y.jsx)(dH,{}):e===`ERROR`?l?.calculator_blocked_type_external?(0,Y.jsx)(mH,{}):(0,Y.jsx)(pH,{}):e===`TECHNICAL_BREAK`?(0,Y.jsx)(pH,{}):e===`TECHNICAL_BREAK_EXTERNAL`||c===`FAILED`?(0,Y.jsx)(mH,{}):e===`REGISTRATION`&&o===`SUCCESS`?(0,Y.jsx)(lH,{}):e===`USER`&&s===`SUCCESS`?(0,Y.jsx)(uH,{}):(0,Y.jsx)(mH,{})},vH=()=>{let{priceList:e,calculator:t,userInfo:n,settings:r}=aM(e=>({priceList:e.priceListStore.long,calculator:e.contentState.siteContent?.calculator_widget,userInfo:e.userStore.userInfo,settings:e.settingsStore.settings})),{addDocument:i}=rM(),a=$C.CALCULATOR_FIRST_LOAN_PERIOD,[o,s]=(0,V.useState)(()=>{let n=xw(),{min:r,max:i}=cH(t,e.amounts,{MIN:t.calculator_slider_minimum_amount_for_long_loan,MAX:t.calculator_slider_maximum_amount_for_long_loan},{MIN:e.amounts[0],MAX:e.amounts[e.amounts.length-1]});return n&&!isNaN(n)&&e.amounts?.includes(n)&&n>=r&&n<=i?n:t.calculator_slider_default_amount_for_long_loan}),c=e=>{s(e),Sw(e)};return(0,V.useEffect)(()=>{Sw(o),Ew($C.CALCULATOR_FIRST_LOAN_PERIOD)},[]),(0,Y.jsxs)(`div`,{className:`calculator-container calculator-long`,children:[(0,Y.jsx)(iH,{label:t?.calculator_slider_amount_label||H.calculator_slider_amount_label,labelSlider:t?.calculator_slider_current_amount_label||H.calculator_slider_current_amount_label,prefix:`zł`,value:o,values:Object.keys(e.prices?e.prices[a]:{}).map(e=>+e).filter(e=>e>=t.calculator_slider_minimum_amount_for_long_loan&&e<=t.calculator_slider_maximum_amount_for_long_loan),onChange:e=>c(e),basicStyle:!0,isDarkMode:!0}),(0,Y.jsx)(`br`,{}),(0,Y.jsx)(`a`,{href:$C.LINK_REGISTRATION,className:`text-decoration_none`,children:(0,Y.jsx)(CM,{label:t?.calculator_button_label||H.calculator_button_label,onClick:()=>aH({event:`funnelData`,user_action:`main_calculator_take`}),tabIndex:-1})}),(0,Y.jsx)(Lz,{firstTabGray:!1,activeTab:UA.FIRST,amount:o,maxRegistrationAmount:t.calculator_slider_maximum_amount_for_registration,handleSetAmount:c,tabs:[{nameTab:UA.FIRST,bodyTab:()=>(0,Y.jsx)(Y.Fragment,{children:(0,Y.jsxs)(`div`,{className:`loan-block-dark-mode`,children:[(0,Y.jsx)(QV,{activeTab:UA.FIRST,discounts:e.discounts,prices:e.prices,amount:o,period:a}),(0,Y.jsxs)(`div`,{className:`block-links-document dark-mode`,children:[(0,Y.jsx)(`a`,{href:`#`,onClick:e=>(e.preventDefault(),i({id:`${(U.isApiProd?uw:dw).SMART[`REPRESENTATIVE_FORM_USER_${n?.customer_id?KA(n.customer_id,r.secondInvestorShare,`smart`):`LTU`}`]}_${(U.isApiProd?uw:dw).SMART.LEGAL_NOTICE}_${o}_${a}`,event:()=>Promise.all([YA({template_id:(U.isApiProd?uw:dw).SMART[`REPRESENTATIVE_FORM_USER_${n?.customer_id?KA(n.customer_id,r.secondInvestorShare,`smart`):`LTU`}`],amount:o,period:a},{}).then(e=>e.document_template),YA({template_id:(U.isApiProd?uw:dw).SMART.LEGAL_NOTICE,amount:o,period:a},{}).then(e=>e.document_template)]),label:[t?.calculator_document_representative_label||H.calculator_document_representative_label,t?.calculator_document_legal_notice||H.calculator_document_legal_notice]})),children:(0,Y.jsx)(PV,{html:t?.calculator_document_representative_legal_label||H.calculator_document_representative_legal_label})}),(0,Y.jsx)(`a`,{href:`#`,onClick:e=>(e.preventDefault(),i({id:`${(U.isApiProd?uw:dw).SMART[`INFORMATION_FORM_USER_${n?.customer_id?KA(n.customer_id,r.secondInvestorShare,`smart`):`LTU`}`]}_${o}_${a}`,event:()=>YA({template_id:(U.isApiProd?uw:dw).SMART[`INFORMATION_FORM_USER_${n?.customer_id?KA(n.customer_id,r.secondInvestorShare,`smart`):`LTU`}`],amount:o,period:a},{}).then(e=>e.document_template),label:t?.calculator_document_form_label||H.calculator_document_form_label})),children:(0,Y.jsx)(PV,{html:t?.calculator_document_form_label||H.calculator_document_form_label})})]})]})})}]})]})},{fetchContentAll:yH}=Gj,bH={fetchContentAll:yH},xH=()=>{let{fetchPriceListLong:e}=mM(),{fetchContentAll:t}=oM(bH),{fetchFullUser:n}=_M(),{fetchSettings:r}=xM(),{priceListStatus:i,stateFetchContent:a,calculator:o,stateFetchUser:s,userInfo:c,settingsStatus:l}=aM(e=>({settingsStatus:e.settingsStore.settingsStatus,priceListStatus:e.priceListStore.long.priceListStatus,stateFetchContent:e.contentState.stateFetchContent,calculator:e.contentState.siteContent?.calculator_widget,userInfo:e.userStore.userInfo,stateFetchUser:e.userStore.stateFetchUser}));return(0,V.useEffect)(()=>{e(),t(),r(),U.isAuthTokens&&n()},[]),HA([i,a,l],[`INIT`,`LOADING`])||HA([s],[`LOADING`])?(0,Y.jsx)(fH,{}):o?.calculator_blocked?o.calculator_blocked_type_external?(0,Y.jsx)(mH,{}):(0,Y.jsx)(pH,{}):HA([s],[`SUCCESS`])&&(c?.applications||c?.debt)?(0,Y.jsx)(dH,{}):HA([i,a],[`FAILED`])?o?.calculator_blocked_type_external?(0,Y.jsx)(mH,{}):(0,Y.jsx)(pH,{}):(0,Y.jsx)(vH,{})};U.isProd&&U.isSmart&&Vb({dsn:`https://[email protected]/5`,integrations:[Db(),Ky()],tracesSampleRate:.1,replaysSessionSampleRate:0,ignoreErrors:fw,denyUrls:pw,beforeSend(e){return e.message&&e.message.toLowerCase().includes(`clarity`)?null:e}}),Mw();var SH=document.getElementById(`react-widget-for-wp-button-header`),CH=document.getElementById(`react-widget-for-wp-button-link-header`),wH=document.getElementById(`react-widget-for-wp-calculator`),TH=document.getElementById(`react-widget-for-wp-calculator-61`);SH&&YV.createRoot(SH).render((0,Y.jsx)(V.StrictMode,{children:(0,Y.jsx)(Xj,{children:(0,Y.jsx)(XV,{})})})),CH&&YV.createRoot(CH).render((0,Y.jsx)(V.StrictMode,{children:(0,Y.jsx)(Xj,{children:(0,Y.jsx)(XV,{buttonType:`BUTTON_LINK`})})})),wH&&YV.createRoot(wH).render((0,Y.jsx)(V.StrictMode,{children:(0,Y.jsx)(GV,{children:(0,Y.jsx)(_H,{})})})),TH&&YV.createRoot(TH).render((0,Y.jsx)(V.StrictMode,{children:(0,Y.jsx)(GV,{children:(0,Y.jsx)(xH,{})})}));
53})();

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