PageSourceSearch

https://codicimarche-kzbnrtau.manus.space/assets/index-DbV6pVJf.js

js codicimarche-kzbnrtau.manus.space collected 2026-10-03 05:00:52 UTC 599,081 bytes, 97 lines download raw bytes

vendor: 28,774 bytes, lines 1-9
1function KE(t,n){for(var s=0;s<n.length;s++){const r=n[s];if(typeof r!="string"&&!Array.isArray(r)){for(const l in r)if(l!=="default"&&!(l in t)){const c=Object.getOwnPropertyDescriptor(r,l);c&&Object.defineProperty(t,l,c.get?c:{enumerable:!0,get:()=>r[l]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const c of l)if(c.type==="childList")for(const u of c.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function s(l){const c={};return l.integrity&&(c.integrity=l.integrity),l.referrerPolicy&&(c.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?c.credentials="include":l.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function r(l){if(l.ep)return;l.ep=!0;const c=s(l);fetch(l.href,c)}})();function Wx(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ld={exports:{}},Zr={};/**
2 * @license React
3 * react-jsx-runtime.production.js
4 *
5 * Copyright (c) Meta Platforms, Inc. and affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var Ov;function XE(){if(Ov)return Zr;Ov=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function s(r,l,c){var u=null;if(c!==void 0&&(u=""+c),l.key!==void 0&&(u=""+l.key),"key"in l){c={};for(var h in l)h!=="key"&&(c[h]=l[h])}else c=l;return l=c.ref,{$$typeof:t,type:r,key:u,ref:l!==void 0?l:null,props:c}}return Zr.Fragment=n,Zr.jsx=s,Zr.jsxs=s,Zr}var Rv;function ZE(){return Rv||(Rv=1,ld.exports=XE()),ld.exports}var x=ZE(),Us=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},$E=class extends Us{#e;#t;#n;constructor(){super(),this.#n=t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#n=t,this.#t?.(),this.#t=t(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()})}setFocused(t){this.#e!==t&&(this.#e=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},kh=new $E,JE={setTimeout:(t,n)=>setTimeout(t,n),clearTimeout:t=>clearTimeout(t),setInterval:(t,n)=>setInterval(t,n),clearInterval:t=>clearInterval(t)},WE=class{#e=JE;#t=!1;setTimeoutProvider(t){this.#e=t}setTimeout(t,n){return this.#e.setTimeout(t,n)}clearTimeout(t){this.#e.clearTimeout(t)}setInterval(t,n){return this.#e.setInterval(t,n)}clearInterval(t){this.#e.clearInterval(t)}},Ns=new WE;function tT(t){setTimeout(t,0)}var eT=typeof window>"u"||"Deno"in globalThis;function Te(){}function nT(t,n){return typeof t=="function"?t(n):t}function Bd(t){return typeof t=="number"&&t>=0&&t!==1/0}function tb(t,n){return Math.max(t+(n||0)-Date.now(),0)}function Xi(t,n){return typeof t=="function"?t(n):t}function Je(t,n){return typeof t=="function"?t(n):t}function jv(t,n){const{type:s="all",exact:r,fetchStatus:l,predicate:c,queryKey:u,stale:h}=t;if(u){if(r){if(n.queryHash!==Uh(u,n.options))return!1}else if(!co(n.queryKey,u))return!1}if(s!=="all"){const m=n.isActive();if(s==="active"&&!m||s==="inactive"&&m)return!1}return!(typeof h=="boolean"&&n.isStale()!==h||l&&l!==n.state.fetchStatus||c&&!c(n))}function Mv(t,n){const{exact:s,status:r,predicate:l,mutationKey:c}=t;if(c){if(!n.options.mutationKey)return!1;if(s){if(Zi(n.options.mutationKey)!==Zi(c))return!1}else if(!co(n.options.mutationKey,c))return!1}return!(r&&n.state.status!==r||l&&!l(n))}function Uh(t,n){return(n?.queryKeyHashFn||Zi)(t)}function Zi(t){return JSON.stringify(t,(n,s)=>qd(s)?Object.keys(s).sort().reduce((r,l)=>(r[l]=s[l],r),{}):s)}function co(t,n){return t===n?!0:typeof t!=typeof n?!1:t&&n&&typeof t=="object"&&typeof n=="object"?Object.keys(n).every(s=>co(t[s],n[s])):!1}var iT=Object.prototype.hasOwnProperty;function Hh(t,n,s=0){if(t===n)return t;if(s>500)return n;const r=Nv(t)&&Nv(n);if(!r&&!(qd(t)&&qd(n)))return n;const c=(r?t:Object.keys(t)).length,u=r?n:Object.keys(n),h=u.length,m=r?new Array(h):{};let p=0;for(let y=0;y<h;y++){const g=r?y:u[y],b=t[g],w=n[g];if(b===w){m[g]=b,(r?y<c:iT.call(t,g))&&p++;continue}if(b===null||w===null||typeof b!="object"||typeof w!="object"){m[g]=w;continue}const E=Hh(b,w,s+1);m[g]=E,E===b&&p++}return c===h&&p===c?t:m}function uo(t,n){if(!n||Object.keys(t).length!==Object.keys(n).length)return!1;for(const s in t)if(t[s]!==n[s])return!1;return!0}function Nv(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function qd(t){if(!_v(t))return!1;const n=t.constructor;if(n===void 0)return!0;const s=n.prototype;return!(!_v(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function _v(t){return Object.prototype.toString.call(t)==="[object Object]"}function sT(t){return new Promise(n=>{Ns.setTimeout(n,t)})}function Id(t,n,s){return typeof s.structuralSharing=="function"?s.structuralSharing(t,n):s.structuralSharing!==!1?Hh(t,n):n}function aT(t,n,s=0){const r=[...t,n];return s&&r.length>s?r.slice(1):r}function rT(t,n,s=0){const r=[n,...t];return s&&r.length>s?r.slice(0,-1):r}var tn=Symbol();function eb(t,n){return!t.queryFn&&n?.initialPromise?()=>n.initialPromise:!t.queryFn||t.queryFn===tn?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function Vh(t,n){return typeof t=="function"?t(...n):!!t}function oT(t,n,s){let r=!1,l;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(l??=n(),r||(r=!0,l.aborted?s():l.addEventListener("abort",s,{once:!0})),l)}),t}var fo=(()=>{let t=()=>eT;return{isServer(){return t()},setIsServer(n){t=n}}})();function Qd(){let t,n;const s=new Promise((l,c)=>{t=l,n=c});s.status="pending",s.catch(()=>{});function r(l){Object.assign(s,l),delete s.resolve,delete s.reject}return s.resolve=l=>{r({status:"fulfilled",value:l}),t(l)},s.reject=l=>{r({status:"rejected",reason:l}),n(l)},s}var lT=tT;function cT(){let t=[],n=0,s=h=>{h()},r=h=>{h()},l=lT;const c=h=>{n?t.push(h):l(()=>{s(h)})},u=()=>{const h=t;t=[],h.length&&l(()=>{r(()=>{h.forEach(m=>{s(m)})})})};return{batch:h=>{let m;n++;try{m=h()}finally{n--,n||u()}return m},batchCalls:h=>(...m)=>{c(()=>{h(...m)})},schedule:c,setNotifyFunction:h=>{s=h},setBatchNotifyFunction:h=>{r=h},setScheduler:h=>{l=h}}}var $t=cT(),uT=class extends Us{#e=!0;#t;#n;constructor(){super(),this.#n=t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",s)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#n=t,this.#t?.(),this.#t=t(this.setOnline.bind(this))}setOnline(t){this.#e!==t&&(this.#e=t,this.listeners.forEach(s=>{s(t)}))}isOnline(){return this.#e}},vc=new uT;function fT(t){return Math.min(1e3*2**t,3e4)}function nb(t){return(t??"online")==="online"?vc.isOnline():!0}var Gd=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function ib(t){let n=!1,s=0,r;const l=Qd(),c=()=>l.status!=="pending",u=A=>{if(!c()){const M=new Gd(A);b(M),t.onCancel?.(M)}},h=()=>{n=!0},m=()=>{n=!1},p=()=>kh.isFocused()&&(t.networkMode==="always"||vc.isOnline())&&t.canRun(),y=()=>nb(t.networkMode)&&t.canRun(),g=A=>{c()||(r?.(),l.resolve(A))},b=A=>{c()||(r?.(),l.reject(A))},w=()=>new Promise(A=>{r=M=>{(c()||p())&&A(M)},t.onPause?.()}).then(()=>{r=void 0,c()||t.onContinue?.()}),E=()=>{if(c())return;let A;const M=s===0?t.initialPromise:void 0;try{A=M??t.fn()}catch(C){A=Promise.reject(C)}Promise.resolve(A).then(g).catch(C=>{if(c())return;const Q=t.retry??(fo.isServer()?0:3),B=t.retryDelay??fT,Z=typeof B=="function"?B(s,C):B,k=Q===!0||typeof Q=="number"&&s<Q||typeof Q=="function"&&Q(s,C);if(n||!k){b(C);return}s++,t.onFail?.(s,C),sT(Z).then(()=>p()?void 0:w()).then(()=>{n?b(C):E()})})};return{promise:l,status:()=>l.status,cancel:u,continue:()=>(r?.(),l),cancelRetry:h,continueRetry:m,canStart:y,start:()=>(y()?E():w().then(E),l)}}var sb=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Bd(this.gcTime)&&(this.#e=Ns.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(fo.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(Ns.clearTimeout(this.#e),this.#e=void 0)}};function dT(t){return{onFetch:(n,s)=>{const r=n.options,l=n.fetchOptions?.meta?.fetchMore?.direction,c=n.state.data?.pages||[],u=n.state.data?.pageParams||[];let h={pages:[],pageParams:[]},m=0;const p=async()=>{let y=!1;const g=E=>{oT(E,()=>n.signal,()=>y=!0)},b=eb(n.options,n.fetchOptions),w=async(E,A,M)=>{if(y)return Promise.reject(n.signal.reason);if(A==null&&E.pages.length)return Promise.resolve(E);const Q=(()=>{const G={client:n.client,queryKey:n.queryKey,pageParam:A,direction:M?"backward":"forward",meta:n.options.meta};return g(G),G})(),B=await b(Q),{maxPages:Z}=n.options,k=M?rT:aT;return{pages:k(E.pages,B,Z),pageParams:k(E.pageParams,A,Z)}};if(l&&c.length){const E=l==="backward",A=E?ab:Yd,M={pages:c,pageParams:u},C=A(r,M);h=await w(M,C,E)}else{const E=t??c.length;do{const A=m===0?u[0]??r.initialPageParam:Yd(r,h);if(m>0&&A==null)break;h=await w(h,A),m++}while(m<E)}return h};n.options.persister?n.fetchFn=()=>n.options.persister?.(p,{client:n.client,queryKey:n.queryKey,meta:n.options.meta,signal:n.signal},s):n.fetchFn=p}}}function Yd(t,{pages:n,pageParams:s}){const r=n.length-1;return n.length>0?t.getNextPageParam(n[r],n,s[r],s):void 0}function ab(t,{pages:n,pageParams:s}){return n.length>0?t.getPreviousPageParam?.(n[0],n,s[0],s):void 0}function hT(t,n){return n?Yd(t,n)!=null:!1}function mT(t,n){return!n||!t.getPreviousPageParam?!1:ab(t,n)!=null}var pT=class extends sb{#e;#t;#n;#i;#s;#a;#o;#r;constructor(t){super(),this.#r=!1,this.#o=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#s=t.client,this.#i=this.#s.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#t=zv(this.options),this.state=t.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(t){if(this.options={...this.#o,...t},t?._type&&(this.#e=t._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=zv(this.options);n.data!==void 0&&(this.setState(Dv(n.data,n.dataUpdatedAt)),this.#t=n)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#i.remove(this)}setData(t,n){const s=Id(this.state.data,t,this.options);return this.#l({data:s,type:"success",dataUpdatedAt:n?.updatedAt,manual:n?.manual}),s}setState(t){this.#l({type:"setState",state:t})}cancel(t){const n=this.#a?.promise;return this.#a?.cancel(t),n?n.then(Te).catch(Te):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>Je(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===tn||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Xi(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!tb(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(n=>n.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(n=>n.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#i.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(this.#a&&(this.#r||this.#u()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#i.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}#u(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#l({type:"invalidate"})}async fetch(t,n){if(this.state.fetchStatus!=="idle"&&this.#a?.status()!=="rejected"){if(this.state.data!==void 0&&n?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(t&&this.setOptions(t),!this.options.queryFn){const m=this.observers.find(p=>p.options.queryFn);m&&this.setOptions(m.options)}const s=new AbortController,r=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(this.#r=!0,s.signal)})},l=()=>{const m=eb(this.options,n),y=(()=>{const g={client:this.#s,queryKey:this.queryKey,meta:this.meta};return r(g),g})();return this.#r=!1,this.options.persister?this.options.persister(m,y,this):m(y)},u=(()=>{const m={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:this.#s,state:this.state,fetchFn:l};return r(m),m})();(this.#e==="infinite"?dT(this.options.pages):this.options.behavior)?.onFetch(u,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==u.fetchOptions?.meta)&&this.#l({type:"fetch",meta:u.fetchOptions?.meta}),this.#a=ib({initialPromise:n?.initialPromise,fn:u.fetchFn,onCancel:m=>{m instanceof Gd&&m.revert&&this.setState({...this.#n,fetchStatus:"idle"}),s.abort()},onFail:(m,p)=>{this.#l({type:"failed",failureCount:m,error:p})},onPause:()=>{this.#l({type:"pause"})},onContinue:()=>{this.#l({type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0});try{const m=await this.#a.start();if(m===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(m),this.#i.config.onSuccess?.(m,this),this.#i.config.onSettled?.(m,this.state.error,this),m}catch(m){if(m instanceof Gd){if(m.silent)return this.#a.promise;if(m.revert){if(this.state.data===void 0)throw m;return this.state.data}}throw this.#l({type:"error",error:m}),this.#i.config.onError?.(m,this),this.#i.config.onSettled?.(this.state.data,m,this),m}finally{this.scheduleGc()}}#l(t){const n=s=>{switch(t.type){case"failed":return{...s,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...rb(s.data,this.options),fetchMeta:t.meta??null};case"success":const r={...s,...Dv(t.data,t.dataUpdatedAt),dataUpdateCount:s.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=t.manual?r:void 0,r;case"error":const l=t.error;return{...s,error:l,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...t.state}}};this.state=n(this.state),$t.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),this.#i.notify({query:this,type:"updated",action:t})})}};function rb(t,n){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:nb(n.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function Dv(t,n){return{data:t,dataUpdatedAt:n??Date.now(),error:null,isInvalidated:!1,status:"success"}}function zv(t){const n=typeof t.initialData=="function"?t.initialData():t.initialData,s=n!==void 0,r=s?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:n,dataUpdateCount:0,dataUpdatedAt:s?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var Co=class extends Us{constructor(t,n){super(),this.options=n,this.#e=t,this.#r=null,this.#o=Qd(),this.bindMethods(),this.setOptions(n)}#e;#t=void 0;#n=void 0;#i=void 0;#s;#a;#o;#r;#u;#l;#h;#f;#m;#c;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),Pv(this.#t,this.options)?this.#d():this.updateResult(),this.#x())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Fd(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Fd(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#S(),this.#t.removeObserver(this)}setOptions(t){const n=this.options,s=this.#t;if(this.options=this.#e.defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Je(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#w(),this.#t.setOptions(this.options),n._defaulted&&!uo(this.options,n)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const r=this.hasListeners();r&&Lv(this.#t,s,this.options,n)&&this.#d(),this.updateResult(),r&&(this.#t!==s||Je(this.options.enabled,this.#t)!==Je(n.enabled,this.#t)||Xi(this.options.staleTime,this.#t)!==Xi(n.staleTime,this.#t))&&this.#g();const l=this.#y();r&&(this.#t!==s||Je(this.options.enabled,this.#t)!==Je(n.enabled,this.#t)||l!==this.#c)&&this.#v(l)}getOptimisticResult(t){const n=this.#e.getQueryCache().build(this.#e,t),s=this.createResult(n,t);return yT(this,s)&&(this.#i=s,this.#a=this.options,this.#s=this.#t.state),s}getCurrentResult(){return this.#i}trackResult(t,n){return new Proxy(t,{get:(s,r)=>(this.trackProp(r),n?.(r),r==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#o.status==="pending"&&this.#o.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(s,r))})}trackProp(t){this.#p.add(t)}getCurrentQuery(){return this.#t}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=this.#e.defaultQueryOptions(t),s=this.#e.getQueryCache().build(this.#e,n);return s.fetch().then(()=>this.createResult(s,n))}fetch(t){return this.#d({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#i))}#d(t){this.#w();let n=this.#t.fetch(this.options,t);return t?.throwOnError||(n=n.catch(Te)),n}#g(){this.#b();const t=Xi(this.options.staleTime,this.#t);if(fo.isServer()||this.#i.isStale||!Bd(t))return;const s=tb(this.#i.dataUpdatedAt,t)+1;this.#f=Ns.setTimeout(()=>{this.#i.isStale||this.updateResult()},s)}#y(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#v(t){this.#S(),this.#c=t,!(fo.isServer()||Je(this.options.enabled,this.#t)===!1||!Bd(this.#c)||this.#c===0)&&(this.#m=Ns.setInterval(()=>{(this.options.refetchIntervalInBackground||kh.isFocused())&&this.#d()},this.#c))}#x(){this.#g(),this.#v(this.#y())}#b(){this.#f!==void 0&&(Ns.clearTimeout(this.#f),this.#f=void 0)}#S(){this.#m!==void 0&&(Ns.clearInterval(this.#m),this.#m=void 0)}createResult(t,n){const s=this.#t,r=this.options,l=this.#i,c=this.#s,u=this.#a,m=t!==s?t.state:this.#n,{state:p}=t;let y={...p},g=!1,b;if(n._optimisticResults){const D=this.hasListeners(),J=!D&&Pv(t,n),W=D&&Lv(t,s,n,r);(J||W)&&(y={...y,...rb(p.data,t.options)}),n._optimisticResults==="isRestoring"&&(y.fetchStatus="idle")}let{error:w,errorUpdatedAt:E,status:A}=y;b=y.data;let M=!1;if(n.placeholderData!==void 0&&b===void 0&&A==="pending"){let D;l?.isPlaceholderData&&n.placeholderData===u?.placeholderData?(D=l.data,M=!0):D=typeof n.placeholderData=="function"?n.placeholderData(this.#h?.state.data,this.#h):n.placeholderData,D!==void 0&&(A="success",b=Id(l?.data,D,n),g=!0)}if(n.select&&b!==void 0&&!M)if(l&&b===c?.data&&n.select===this.#u)b=this.#l;else try{this.#u=n.select,b=n.select(b),b=Id(l?.data,b,n),this.#l=b,this.#r=null}catch(D){this.#r=D}this.#r&&(w=this.#r,b=this.#l,E=Date.now(),A="error");const C=y.fetchStatus==="fetching",Q=A==="pending",B=A==="error",Z=Q&&C,k=b!==void 0,N={status:A,fetchStatus:y.fetchStatus,isPending:Q,isSuccess:A==="success",isError:B,isInitialLoading:Z,isLoading:Z,data:b,dataUpdatedAt:y.dataUpdatedAt,error:w,errorUpdatedAt:E,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:t.isFetched(),isFetchedAfterMount:y.dataUpdateCount>m.dataUpdateCount||y.errorUpdateCount>m.errorUpdateCount,isFetching:C,isRefetching:C&&!Q,isLoadingError:B&&!k,isPaused:y.fetchStatus==="paused",isPlaceholderData:g,isRefetchError:B&&k,isStale:Bh(t,n),refetch:this.refetch,promise:this.#o,isEnabled:Je(n.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const D=N.data!==void 0,J=N.status==="error"&&!D,W=at=>{J?at.reject(N.error):D&&at.resolve(N.data)},it=()=>{const at=this.#o=N.promise=Qd();W(at)},et=this.#o;switch(et.status){case"pending":t.queryHash===s.queryHash&&W(et);break;case"fulfilled":(J||N.data!==et.value)&&it();break;case"rejected":(!J||N.error!==et.reason)&&it();break}}return N}updateResult(){const t=this.#i,n=this.createResult(this.#t,this.options);if(this.#s=this.#t.state,this.#a=this.options,this.#s.data!==void 0&&(this.#h=this.#t),uo(n,t))return;this.#i=n;const s=()=>{if(!t)return!0;const{notifyOnChangeProps:r}=this.options,l=typeof r=="function"?r():r;if(l==="all"||!l&&!this.#p.size)return!0;const c=new Set(l??this.#p);return this.options.throwOnError&&c.add("error"),Object.keys(this.#i).some(u=>{const h=u;return this.#i[h]!==t[h]&&c.has(h)})};this.#E({listeners:s()})}#w(){const t=this.#e.getQueryCache().build(this.#e,this.options);if(t===this.#t)return;const n=this.#t;this.#t=t,this.#n=t.state,this.hasListeners()&&(n?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#x()}#E(t){$t.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(this.#i)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function gT(t,n){return Je(n.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&Je(n.retryOnMount,t)===!1)}function Pv(t,n){return gT(t,n)||t.state.data!==void 0&&Fd(t,n,n.refetchOnMount)}function Fd(t,n,s){if(Je(n.enabled,t)!==!1&&Xi(n.staleTime,t)!=="static"){const r=typeof s=="function"?s(t):s;return r==="always"||r!==!1&&Bh(t,n)}return!1}function Lv(t,n,s,r){return(t!==n||Je(r.enabled,t)===!1)&&(!s.suspense||t.state.status!=="error")&&Bh(t,s)}function Bh(t,n){return Je(n.enabled,t)!==!1&&t.isStaleByTime(Xi(n.staleTime,t))}function yT(t,n){return!uo(t.getCurrentResult(),n)}var ob=class extends Co{constructor(t,n){super(t,n)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(t){t._type="infinite",super.setOptions(t)}getOptimisticResult(t){return t._type="infinite",super.getOptimisticResult(t)}fetchNextPage(t){return this.fetch({...t,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(t){return this.fetch({...t,meta:{fetchMore:{direction:"backward"}}})}createResult(t,n){const{state:s}=t,r=super.createResult(t,n),{isFetching:l,isRefetching:c,isError:u,isRefetchError:h}=r,m=s.fetchMeta?.fetchMore?.direction,p=u&&m==="forward",y=l&&m==="forward",g=u&&m==="backward",b=l&&m==="backward";return{...r,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:hT(n,s.data),hasPreviousPage:mT(n,s.data),isFetchNextPageError:p,isFetchingNextPage:y,isFetchPreviousPageError:g,isFetchingPreviousPage:b,isRefetchError:h&&!p&&!g,isRefetching:c&&!y&&!b}}},vT=class extends sb{#e;#t;#n;#i;constructor(t){super(),this.#e=t.client,this.mutationId=t.mutationId,this.#n=t.mutationCache,this.#t=[],this.state=t.state||lb(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#t.includes(t)||(this.#t.push(t),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#t=this.#t.filter(n=>n!==t),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#i?.continue()??this.execute(this.state.variables)}async execute(t){const n=()=>{this.#s({type:"continue"})},s={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#i=ib({fn:()=>this.options.mutationFn?this.options.mutationFn(t,s):Promise.reject(new Error("No mutationFn found")),onFail:(c,u)=>{this.#s({type:"failed",failureCount:c,error:u})},onPause:()=>{this.#s({type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const r=this.state.status==="pending",l=!this.#i.canStart();try{if(r)n();else{this.#s({type:"pending",variables:t,isPaused:l}),this.#n.config.onMutate&&await this.#n.config.onMutate(t,this,s);const u=await this.options.onMutate?.(t,s);u!==this.state.context&&this.#s({type:"pending",context:u,variables:t,isPaused:l})}const c=await this.#i.start();return await this.#n.config.onSuccess?.(c,t,this.state.context,this,s),await this.options.onSuccess?.(c,t,this.state.context,s),await this.#n.config.onSettled?.(c,null,this.state.variables,this.state.context,this,s),await this.options.onSettled?.(c,null,t,this.state.context,s),this.#s({type:"success",data:c}),c}catch(c){try{await this.#n.config.onError?.(c,t,this.state.context,this,s)}catch(u){Promise.reject(u)}try{await this.options.onError?.(c,t,this.state.context,s)}catch(u){Promise.reject(u)}try{await this.#n.config.onSettled?.(void 0,c,this.state.variables,this.state.context,this,s)}catch(u){Promise.reject(u)}try{await this.options.onSettled?.(void 0,c,t,this.state.context,s)}catch(u){Promise.reject(u)}throw this.#s({type:"error",error:c}),c}finally{this.#n.runNext(this)}}#s(t){const n=s=>{switch(t.type){case"failed":return{...s,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...s,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:t.error,failureCount:s.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),$t.batch(()=>{this.#t.forEach(s=>{s.onMutationUpdate(t)}),this.#n.notify({mutation:this,type:"updated",action:t})})}};function lb(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var xT=class extends Us{constructor(t={}){super(),this.config=t,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(t,n,s){const r=new vT({client:t,mutationCache:this,mutationId:++this.#n,options:t.defaultMutationOptions(n),state:s});return this.add(r),r}add(t){this.#e.add(t);const n=Zl(t);if(typeof n=="string"){const s=this.#t.get(n);s?s.push(t):this.#t.set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){const n=Zl(t);if(typeof n=="string"){const s=this.#t.get(n);if(s)if(s.length>1){const r=s.indexOf(t);r!==-1&&s.splice(r,1)}else s[0]===t&&this.#t.delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Zl(t);if(typeof n=="string"){const r=this.#t.get(n)?.find(l=>l.state.status==="pending");return!r||r===t}else return!0}runNext(t){const n=Zl(t);return typeof n=="string"?this.#t.get(n)?.find(r=>
9r!==t&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){$t.batch(()=>{this.#e.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(t){const n={exact:!0,...t};return this.getAll().find(s=>Mv(n,s))}findAll(t={}){return this.getAll().filter(n=>Mv(t,n))}notify(t){$t.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return $t.batch(()=>Promise.all(t.map(n=>n.continue().catch(Te))))}};function Zl(t){return t.options.scope?.id}var bT=class extends Us{#e;#t=void 0;#n;#i;constructor(n,s){super(),this.#e=n,this.setOptions(s),this.bindMethods(),this.#s()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){const s=this.options;this.options=this.#e.defaultMutationOptions(n),uo(this.options,s)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),s?.mutationKey&&this.options.mutationKey&&Zi(s.mutationKey)!==Zi(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(n){this.#s(),this.#a(n)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#s(),this.#a()}mutate(n,s){return this.#i=s,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(n)}#s(){const n=this.#n?.state??lb();this.#t={...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset}}#a(n){$t.batch(()=>{if(this.#i&&this.hasListeners()){const s=this.#t.variables,r=this.#t.context,l={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(n?.type==="success"){try{this.#i.onSuccess?.(n.data,s,r,l)}catch(c){Promise.reject(c)}try{this.#i.onSettled?.(n.data,null,s,r,l)}catch(c){Promise.reject(c)}}else if(n?.type==="error"){try{this.#i.onError?.(n.error,s,r,l)}catch(c){Promise.reject(c)}try{this.#i.onSettled?.(void 0,n.error,s,r,l)}catch(c){Promise.reject(c)}}}this.listeners.forEach(s=>{s(this.#t)})})}};function kv(t,n){const s=new Set(n);return t.filter(r=>!s.has(r))}function ST(t,n,s){const r=t.slice(0);return r[n]=s,r}var wT=class extends Us{#e;#t;#n;#i;#s;#a;#o;#r;#u;#l=[];constructor(t,n,s){super(),this.#e=t,this.#i=s,this.#n=[],this.#s=[],this.#t=[],this.setQueries(n)}onSubscribe(){this.listeners.size===1&&this.#s.forEach(t=>{t.subscribe(n=>{this.#p(t,n)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#s.forEach(t=>{t.destroy()})}setQueries(t,n){this.#n=t,this.#i=n,$t.batch(()=>{const s=this.#s,r=this.#c(this.#n);r.forEach(y=>y.observer.setOptions(y.defaultedQueryOptions));const l=r.map(y=>y.observer),c=l.map(y=>y.getCurrentResult()),u=s.length!==l.length,h=l.some((y,g)=>y!==s[g]),m=u||h,p=m?!0:c.some((y,g)=>{const b=this.#t[g];return!b||!uo(y,b)});!m&&!p||(m&&(this.#l=r,this.#s=l),this.#t=c,this.hasListeners()&&(m&&(kv(s,l).forEach(y=>{y.destroy()}),kv(l,s).forEach(y=>{y.subscribe(g=>{this.#p(y,g)})})),this.#d()))})}getCurrentResult(){return this.#t}getQueries(){return this.#s.map(t=>t.getCurrentQuery())}getObservers(){return this.#s}getOptimisticResult(t,n){const s=this.#c(t),r=s.map(c=>c.observer.getOptimisticResult(c.defaultedQueryOptions)),l=s.map(c=>c.defaultedQueryOptions.queryHash);return[r,c=>this.#f(c??r,n,l),()=>this.#h(r,s)]}#h(t,n){return n.map((s,r)=>{const l=t[r];return s.defaultedQueryOptions.notifyOnChangeProps?l:s.observer.trackResult(l,c=>{n.forEach(u=>{u.observer.trackProp(c)})})})}#f(t,n,s){if(n){const r=this.#u,l=s!==void 0&&r!==void 0&&(r.length!==s.length||s.some((c,u)=>c!==r[u]));return(!this.#a||this.#t!==this.#r||l||n!==this.#o)&&(this.#o=n,this.#r=this.#t,s!==void 0&&(this.#u=s),this.#a=Hh(this.#a,n(t))),this.#a}return t}#m(){return this.#i?.combine!==void 0&&this.#s.some((t,n)=>t.options.suspense&&this.#t[n]?.data===void 0)}#c(t){const n=new Map;
vendor: 11,424 bytes, lines 9-17
9this.#s.forEach(r=>{const l=r.options.queryHash;if(!l)return;const c=n.get(l);c?c.push(r):n.set(l,[r])});const s=[];return t.forEach(r=>{const l=this.#e.defaultQueryOptions(r),u=n.get(l.queryHash)?.shift()??new Co(this.#e,l);s.push({defaultedQueryOptions:l,observer:u})}),s}#p(t,n){const s=this.#s.indexOf(t);s!==-1&&(this.#t=ST(this.#t,s,n),this.#d())}#d(){if(this.hasListeners()){const t=this.#h(this.#t,this.#l),n=this.#m(),s=this.#a,r=n?s:this.#f(t,this.#i?.combine);(n||s!==r)&&$t.batch(()=>{this.listeners.forEach(l=>{l(this.#t)})})}}},ET=class extends Us{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,n,s){const r=n.queryKey,l=n.queryHash??Uh(r,n);let c=this.get(l);return c||(c=new pT({client:t,queryKey:r,queryHash:l,options:t.defaultQueryOptions(n),state:s,defaultOptions:t.getQueryDefaults(r)}),this.add(c)),c}add(t){this.#e.has(t.queryHash)||(this.#e.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=this.#e.get(t.queryHash);n&&(t.destroy(),n===t&&this.#e.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){$t.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#e.get(t)}getAll(){return[...this.#e.values()]}find(t){const n={exact:!0,...t};return this.getAll().find(s=>jv(n,s))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(s=>jv(t,s)):n}notify(t){$t.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){$t.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){$t.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},TT=class{#e;#t;#n;#i;#s;#a;#o;#r;constructor(t={}){this.#e=t.queryCache||new ET,this.#t=t.mutationCache||new xT,this.#n=t.defaultOptions||{},this.#i=new Map,this.#s=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=kh.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#r=vc.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#r?.(),this.#r=void 0)}isFetching(t){return this.#e.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#t.findAll({...t,status:"pending"}).length}getQueryData(t){const n=this.defaultQueryOptions({queryKey:t});return this.#e.get(n.queryHash)?.state.data}ensureQueryData(t){const n=this.defaultQueryOptions(t),s=this.#e.build(this,n),r=s.state.data;return r===void 0?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(Xi(n.staleTime,s))&&this.prefetchQuery(n),Promise.resolve(r))}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:n,state:s})=>{const r=s.data;return[n,r]})}setQueryData(t,n,s){const r=this.defaultQueryOptions({queryKey:t}),c=this.#e.get(r.queryHash)?.state.data,u=nT(n,c);if(u!==void 0)return this.#e.build(this,r).setData(u,{...s,manual:!0})}setQueriesData(t,n,s){return $t.batch(()=>this.#e.findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,n,s)]))}getQueryState(t){const n=this.defaultQueryOptions({queryKey:t});return this.#e.get(n.queryHash)?.state}removeQueries(t){const n=this.#e;$t.batch(()=>{n.findAll(t).forEach(s=>{n.remove(s)})})}resetQueries(t,n){const s=this.#e;return $t.batch(()=>(s.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},n)))}cancelQueries(t,n={}){const s={revert:!0,...n},r=$t.batch(()=>this.#e.findAll(t).map(l=>l.cancel(s)));return Promise.all(r).then(Te).catch(Te)}invalidateQueries(t,n={}){return $t.batch(()=>(this.#e.findAll(t).forEach(s=>{s.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},n)))}refetchQueries(t,n={}){const s={...n,cancelRefetch:n.cancelRefetch??!0},r=$t.batch(()=>this.#e.findAll(t).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let c=l.fetch(void 0,s);return s.throwOnError||(c=c.catch(Te)),l.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(r).then(Te)}fetchQuery(t){const n=this.defaultQueryOptions(t);n.retry===void 0&&(n.retry=!1);const s=this.#e.build(this,n);return s.isStaleByTime(Xi(n.staleTime,s))?s.fetch(n):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Te).catch(Te)}fetchInfiniteQuery(t){return t._type="infinite",this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Te).catch(Te)}ensureInfiniteQueryData(t){return t._type="infinite",this.ensureQueryData(t)}resumePausedMutations(){return vc.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(t){this.#n=t}setQueryDefaults(t,n){this.#i.set(Zi(t),{queryKey:t,defaultOptions:n})}getQueryDefaults(t){const n=[...this.#i.values()],s={};return n.forEach(r=>{co(t,r.queryKey)&&Object.assign(s,r.defaultOptions)}),s}setMutationDefaults(t,n){this.#s.set(Zi(t),{mutationKey:t,defaultOptions:n})}getMutationDefaults(t){const n=[...this.#s.values()],s={};return n.forEach(r=>{co(t,r.mutationKey)&&Object.assign(s,r.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;const n={...this.#n.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return n.queryHash||(n.queryHash=Uh(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.queryFn===tn&&(n.enabled=!1),n}defaultMutationOptions(t){return t?._defaulted?t:{...this.#n.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},cd={exports:{}},St={};/**
10 * @license React
11 * react.production.js
12 *
13 * Copyright (c) Meta Platforms, Inc. and affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var Uv;function AT(){if(Uv)return St;Uv=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),g=Symbol.for("react.activity"),b=Symbol.iterator;function w(T){return T===null||typeof T!="object"?null:(T=b&&T[b]||T["@@iterator"],typeof T=="function"?T:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,M={};function C(T,q,U){this.props=T,this.context=q,this.refs=M,this.updater=U||E}C.prototype.isReactComponent={},C.prototype.setState=function(T,q){if(typeof T!="object"&&typeof T!="function"&&T!=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,T,q,"setState")},C.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function Q(){}Q.prototype=C.prototype;function B(T,q,U){this.props=T,this.context=q,this.refs=M,this.updater=U||E}var Z=B.prototype=new Q;Z.constructor=B,A(Z,C.prototype),Z.isPureReactComponent=!0;var k=Array.isArray;function G(){}var N={H:null,A:null,T:null,S:null},D=Object.prototype.hasOwnProperty;function J(T,q,U){var F=U.ref;return{$$typeof:t,type:T,key:q,ref:F!==void 0?F:null,props:U}}function W(T,q){return J(T.type,q,T.props)}function it(T){return typeof T=="object"&&T!==null&&T.$$typeof===t}function et(T){var q={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(U){return q[U]})}var at=/\/+/g;function rt(T,q){return typeof T=="object"&&T!==null&&T.key!=null?et(""+T.key):q.toString(36)}function ct(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(G,G):(T.status="pending",T.then(function(q){T.status==="pending"&&(T.status="fulfilled",T.value=q)},function(q){T.status==="pending"&&(T.status="rejected",T.reason=q)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function j(T,q,U,F,tt){var ft=typeof T;(ft==="undefined"||ft==="boolean")&&(T=null);var ut=!1;if(T===null)ut=!0;else switch(ft){case"bigint":case"string":case"number":ut=!0;break;case"object":switch(T.$$typeof){case t:case n:ut=!0;break;case y:return ut=T._init,j(ut(T._payload),q,U,F,tt)}}if(ut)return tt=tt(T),ut=F===""?"."+rt(T,0):F,k(tt)?(U="",ut!=null&&(U=ut.replace(at,"$&/")+"/"),j(tt,q,U,"",function(oe){return oe})):tt!=null&&(it(tt)&&(tt=W(tt,U+(tt.key==null||T&&T.key===tt.key?"":(""+tt.key).replace(at,"$&/")+"/")+ut)),q.push(tt)),1;ut=0;var vt=F===""?".":F+":";if(k(T))for(var At=0;At<T.length;At++)F=T[At],ft=vt+rt(F,At),ut+=j(F,q,U,ft,tt);else if(At=w(T),typeof At=="function")for(T=At.call(T),At=0;!(F=T.next()).done;)F=F.value,ft=vt+rt(F,At++),ut+=j(F,q,U,ft,tt);else if(ft==="object"){if(typeof T.then=="function")return j(ct(T),q,U,F,tt);throw q=String(T),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.")}return ut}function P(T,q,U){if(T==null)return T;var F=[],tt=0;return j(T,F,"","",function(ft){return q.call(U,ft,tt++)}),F}function z(T){if(T._status===-1){var q=T._result;q=q(),q.then(function(U){(T._status===0||T._status===-1)&&(T._status=1,T._result=U)},function(U){(T._status===0||T._status===-1)&&(T._status=2,T._result=U)}),T._status===-1&&(T._status=0,T._result=q)}if(T._status===1)return T._result.default;throw T._result}var nt=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T),error:T});if(!window.dispatchEvent(q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)},ot={map:P,forEach:function(T,q,U){P(T,function(){q.apply(this,arguments)},U)},count:function(T){var q=0;return P(T,function(){q++}),q},toArray:function(T){return P(T,function(q){return q})||[]},only:function(T){if(!it(T))throw Error("React.Children.only expected to receive a single React element child.");return T}};return St.Activity=g,St.Children=ot,St.Component=C,St.Fragment=s,St.Profiler=l,St.PureComponent=B,St.StrictMode=r,St.Suspense=m,St.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=N,St.__COMPILER_RUNTIME={__proto__:null,c:function(T){return N.H.useMemoCache(T)}},St.cache=function(T){return function(){return T.apply(null,arguments)}},St.cacheSignal=function(){return null},St.cloneElement=function(T,q,U){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var F=A({},T.props),tt=T.key;if(q!=null)for(ft in q.key!==void 0&&(tt=""+q.key),q)!D.call(q,ft)||ft==="key"||ft==="__self"||ft==="__source"||ft==="ref"&&q.ref===void 0||(F[ft]=q[ft]);var ft=arguments.length-2;if(ft===1)F.children=U;else if(1<ft){for(var ut=Array(ft),vt=0;vt<ft;vt++)ut[vt]=arguments[vt+2];F.children=ut}return J(T.type,tt,F)},St.createContext=function(T){return T={$$typeof:u,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null}
17,T.Provider=T,T.Consumer={$$typeof:c,_context:T},T},St.createElement=function(T,q,U){var F,tt={},ft=null;if(q!=null)for(F in q.key!==void 0&&(ft=""+q.key),q)D.call(q,F)&&F!=="key"&&F!=="__self"&&F!=="__source"&&(tt[F]=q[F]);var ut=arguments.length-2;if(ut===1)tt.children=U;else if(1<ut){for(var vt=Array(ut),At=0;At<ut;At++)vt[At]=arguments[At+2];tt.children=vt}if(T&&T.defaultProps)for(F in ut=T.defaultProps,ut)tt[F]===void 0&&(tt[F]=ut[F]);return J(T,ft,tt)},St.createRef=function(){return{current:null}},St.forwardRef=function(T){return{$$typeof:h,render:T}},St.isValidElement=it,St.lazy=function(T){return{$$typeof:y,_payload:{_status:-1,_result:T},_init:z}},St.memo=function(T,q){return{$$typeof:p,type:T,compare:q===void 0?null:q}},St.startTransition=function(T){var q=N.T,U={};N.T=U;try{var F=T(),tt=N.S;tt!==null&&tt(U,F),typeof F=="object"&&F!==null&&typeof F.then=="function"&&F.then(G,nt)}catch(ft){nt(ft)}finally{q!==null&&U.types!==null&&(q.types=U.types),N.T=q}},St.unstable_useCacheRefresh=function(){return N.H.useCacheRefresh()},St.use=function(T){return N.H.use(T)},St.useActionState=function(T,q,U){return N.H.useActionState(T,q,U)},St.useCallback=function(T,q){return N.H.useCallback(T,q)},St.useContext=function(T){return N.H.useContext(T)},St.useDebugValue=function(){},St.useDeferredValue=function(T,q){return N.H.useDeferredValue(T,q)},St.useEffect=function(T,q){return N.H.useEffect(T,q)},St.useEffectEvent=function(T){return N.H.useEffectEvent(T)},St.useId=function(){return N.H.useId()},St.useImperativeHandle=function(T,q,U){return N.H.useImperativeHandle(T,q,U)},St.useInsertionEffect=function(T,q){return N.H.useInsertionEffect(T,q)},St.useLayoutEffect=function(T,q){return N.H.useLayoutEffect(T,q)},St.useMemo=function(T,q){return N.H.useMemo(T,q)},St.useOptimistic=function(T,q){return N.H.useOptimistic(T,q)},St.useReducer=function(T,q,U){return N.H.useReducer(T,q,U)},St.useRef=function(T){return N.H.useRef(T)},St.useState=function(T){return N.H.useState(T)},St.useSyncExternalStore=function(T,q,U){return N.H.useSyncExternalStore(T,q,U)},St.useTransition=function(){return N.H.useTransition()},St.version="19.2.1",St}var Hv;function jc(){return Hv||(Hv=1,cd.exports=AT()),cd.exports}var O=jc();const st=Wx(O),cb=KE({__proto__:null,default:st},[O]);var ub=O.createContext(void 0),Oo=t=>{const n=O.useContext(ub);if(t)return t;if(!n)throw new Error("No QueryClient set, use QueryClientProvider to set one");return n},CT=({client:t,children:n})=>(O.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),x.jsx(ub.Provider,{value:t,children:n})),fb=O.createContext(!1),db=()=>O.useContext(fb);fb.Provider;function OT(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var RT=O.createContext(OT()),hb=()=>O.useContext(RT),mb=(t,n,s)=>{const r=s?.state.error&&typeof t.throwOnError=="function"?Vh(t.throwOnError,[s.state.error,s]):t.throwOnError;(t.suspense||t.experimental_prefetchInRender||r)&&(n.isReset()||(t.retryOnMount=!1))},pb=t=>{O.useEffect(()=>{t.clearReset()},[t])},gb=({result:t,errorResetBoundary:n,throwOnError:s,query:r,suspense:l})=>t.isError&&!n.isReset()&&!t.isFetching&&r&&(l&&t.data===void 0||Vh(s,[t.error,r])),qh=(t,n)=>n.state.data===void 0,yb=t=>{if(t.suspense){const s=l=>l==="static"?l:Math.max(l??1e3,1e3),r=t.staleTime;t.staleTime=typeof r=="function"?(...l)=>s(r(...l)):s(r),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3))}},jT=(t,n)=>t.isLoading&&t.isFetching&&!n,Kd=(t,n)=>t?.suspense&&n.isPending,Xd=(t,n,s)=>n.fetchOptimistic(t).catch(()=>{s.clearReset()});function vb({queries:t,...n},s){const r=Oo(s),l=db(),c=hb(),u=O.useMemo(()=>t.map(A=>{const M=r.defaultQueryOptions(A);return M._optimisticResults=l?"isRestoring":"optimistic",M}),[t,r,l]);u.forEach(A=>{yb(A);const M=r.getQueryCache().get(A.queryHash);mb(A,c,M)}),pb(c);const[h]=O.useState(()=>new wT(r,u,n)),[m,p,y]=h.getOptimisticResult(u,n.combine),g=!l&&n.subscribed!==!1;O.useSyncExternalStore(O.useCallback(A=>g?h.subscribe($t.batchCalls(A)):Te,[h,g]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),O.useEffect(()=>{h.setQueries(u,n)},[u,n,h]);const w=m.some((A,M)=>Kd(u[M],A))?m.flatMap((A,M)=>{const C=u[M];if(C&&Kd(C,A)){const Q=new Co(r,C);return Xd(C,Q,c)}return[]}):[];if(w.length>0)throw Promise.all(w);const E=m.find((A,M)=>{const C=u[M];return C&&gb({result:A,errorResetBoundary:c,throwOnError:C.throwOnError,query:r.getQueryCache().get(C.queryHash),suspense:C.suspense})});if(E?.error)throw E.error;return p(y())}function Mc(t,n,s){const r=db(),l=hb(),c=Oo(s),u=c.defaultQueryOptions(t);c.getDefaultOptions().queries?._experimental_beforeQuery?.(u);const h=c.getQueryCache().get(u.queryHash),m=t.subscribed!==!1;u._optimisticResults=r?"isRestoring":m?"optimistic":void 0,yb(u),mb(u,l,h),pb(l);const p=!c.getQueryCache().get(u.queryHash),[y]=O.useState(()=>new n(c,u)),g=y.getOptimisticResult(u),b=!r&&m;if(O.useSyncExternalStore(O.useCallback(w=>{const E=b?y.subscribe($t.batchCalls(w)):Te;return y.updateResult(),E},[y,b]),()=>y.getCurrentResult(),()=>y.getCurrentResult()),O.useEffect(()=>{y.setOptions(u)},[u,y]),Kd(u,g))throw Xd(u,y,l);
17if(gb({result:g,errorResetBoundary:l,throwOnError:u.throwOnError,query:h,suspense:u.suspense}))throw g.error;return c.getDefaultOptions().queries?._experimental_afterQuery?.(u,g),u.experimental_prefetchInRender&&!fo.isServer()&&jT(g,r)&&(p?Xd(u,y,l):h?.promise)?.catch(Te).finally(()=>{y.updateResult()}),u.notifyOnChangeProps?g:y.trackResult(g)}function MT(t,n){return Mc(t,Co,n)}function NT(t,n){return Mc({...t,enabled:!0,suspense:!0,throwOnError:qh,placeholderData:void 0},Co,n)}function _T(t,n){return Mc({...t,enabled:!0,suspense:!0,throwOnError:qh},ob,n)}function DT(t,n){return vb({...t,queries:t.queries.map(s=>({...s,suspense:!0,throwOnError:qh,enabled:!0,placeholderData:void 0}))},n)}function zT(t,n){const s=Oo(n);s.getQueryState(t.queryKey)||s.prefetchQuery(t)}function PT(t,n){const s=Oo(n);s.getQueryState(t.queryKey)||s.prefetchInfiniteQuery(t)}function LT(t,n){const s=Oo(n),[r]=O.useState(()=>new bT(s,t));O.useEffect(()=>{r.setOptions(t)},[r,t]);const l=O.useSyncExternalStore(O.useCallback(u=>r.subscribe($t.batchCalls(u)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),c=O.useCallback((u,h)=>{r.mutate(u,h).catch(Te)},[r]);if(l.error&&Vh(r.options.throwOnError,[l.error]))throw l.error;return{...l,mutate:c,mutateAsync:l.mutate}}function kT(t,n){return Mc(t,ob,n)}function Ls(t){return!!t&&!Array.isArray(t)&&typeof t=="object"}function UT(){return Object.create(null)}const HT=typeof Symbol=="function"&&!!Symbol.asyncIterator;function xb(t){return HT&&Ls(t)&&Symbol.asyncIterator in t}var VT=Object.create,bb=Object.defineProperty,BT=Object.getOwnPropertyDescriptor,Sb=Object.getOwnPropertyNames,qT=Object.getPrototypeOf,IT=Object.prototype.hasOwnProperty,Ro=(t,n)=>function(){return n||(0,t[Sb(t)[0]])((n={exports:{}}).exports,n),n.exports},QT=(t,n,s,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(var l=Sb(n),c=0,u=l.length,h;c<u;c++)h=l[c],!IT.call(t,h)&&h!==s&&bb(t,h,{get:(m=>n[m]).bind(null,h),enumerable:!(r=BT(n,h))||r.enumerable});return t},Nc=(t,n,s)=>(s=t!=null?VT(qT(t)):{},QT(bb(s,"default",{value:t,enumerable:!0}),t));const wb=()=>{},Vv=t=>{Object.freeze&&Object.freeze(t)};function Eb(t,n,s){var r;const l=n.join(".");return(r=s[l])!==null&&r!==void 0||(s[l]=new Proxy(wb,{get(c,u){if(!(typeof u!="string"||u==="then"))return Eb(t,[...n,u],s)},apply(c,u,h){const m=n[n.length-1];if(m==="valueOf"||m==="toString"||m==="toJSON")return`tRPC.proxy(${n.slice(0,-1).join(".")})`;let p={args:h,path:n};return m==="call"?p={args:h.length>=2?[h[1]]:[],path:n.slice(0,-1)}:m==="apply"&&(p={args:h.length>=2?h[1]:[],path:n.slice(0,-1)}),Vv(p.args),Vv(p.path),t(p)}})),s[l]}const _c=t=>Eb(t,[],UT()),Ih=t=>new Proxy(wb,{get(n,s){if(s!=="then")return t(s)}});var Tb=Ro({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(t,n){function s(r){"@babel/helpers - typeof";return n.exports=s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},n.exports.__esModule=!0,n.exports.default=n.exports,s(r)}n.exports=s,n.exports.__esModule=!0,n.exports.default=n.exports}}),GT=Ro({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(t,n){var s=Tb().default;function r(l,c){if(s(l)!="object"||!l)return l;var u=l[Symbol.toPrimitive];if(u!==void 0){var h=u.call(l,c||"default");if(s(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(c==="string"?String:Number)(l)}n.exports=r,n.exports.__esModule=!0,n.exports.default=n.exports}}),YT=Ro({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(t,n){var s=Tb().default,r=GT();function l(c){var u=r(c,"string");return s(u)=="symbol"?u:u+""}n.exports=l,n.exports.__esModule=!0,n.exports.default=n.exports}}),Ab=Ro({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(t,n){var s=YT();function r(l,c,u){return(c=s(c))in l?Object.defineProperty(l,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):l[c]=u,l}n.exports=r,n.exports.__esModule=!0,n.exports.default=n.exports}}),Qh=Ro({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(t,n){var s=Ab();function r(c,u){var h=Object.keys(c);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(c);u&&(m=m.filter(function(p){return Object.getOwnPropertyDescriptor(c,p).enumerable})),h.push.apply(h,m)}return h}function l(c){for(var u=1;u<arguments.length;u++){var h=arguments[u]!=null?arguments[u]:{};
17u%2?r(Object(h),!0).forEach(function(m){s(c,m,h[m])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(h)):r(Object(h)).forEach(function(m){Object.defineProperty(c,m,Object.getOwnPropertyDescriptor(h,m))})}return c}n.exports=l,n.exports.__esModule=!0,n.exports.default=n.exports}});Nc(Qh());Nc(Ab());var $l=Nc(Qh());function FT(t,n){if("error"in t){const r=n.deserialize(t.error);return{ok:!1,error:(0,$l.default)((0,$l.default)({},t),{},{error:r})}}return{ok:!0,result:(0,$l.default)((0,$l.default)({},t.result),(!t.result.type||t.result.type==="data")&&{type:"data",data:n.deserialize(t.result.data)})}}var ud=class extends Error{constructor(){super("Unable to transform response from server")}};function KT(t,n){let s;try{s=FT(t,n)}catch{throw new ud}if(!s.ok&&(!Ls(s.error.error)||typeof s.error.error.code!="number"))throw new ud;if(s.ok&&!Ls(s.result))throw new ud;return s}Nc(Qh());function Dc(t){const n={subscribe(s){let r=null,l=!1,c=!1,u=!1;function h(){if(r===null){u=!0;return}c||(c=!0,typeof r=="function"?r():r&&r.unsubscribe())}return r=t({next(m){var p;l||(p=s.next)===null||p===void 0||p.call(s,m)},error(m){var p;l||(l=!0,(p=s.error)===null||p===void 0||p.call(s,m),h())},complete(){var m;l||(l=!0,(m=s.complete)===null||m===void 0||m.call(s),h())}}),u&&h(),{unsubscribe:h}},pipe(...s){return s.reduce(XT,n)}};return n}function XT(t,n){return n(t)}function ZT(t){const n=new AbortController;return new Promise((r,l)=>{let c=!1;function u(){c||(c=!0,h.unsubscribe())}n.signal.addEventListener("abort",()=>{l(n.signal.reason)});const h=t.subscribe({next(m){c=!0,r(m),u()},error(m){l(m)},complete(){n.abort(),u()}})})}var $T=Object.create,Cb=Object.defineProperty,JT=Object.getOwnPropertyDescriptor,Ob=Object.getOwnPropertyNames,WT=Object.getPrototypeOf,tA=Object.prototype.hasOwnProperty,ns=(t,n)=>function(){return n||(0,t[Ob(t)[0]])((n={exports:{}}).exports,n),n.exports},eA=(t,n,s,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(var l=Ob(n),c=0,u=l.length,h;c<u;c++)h=l[c],!tA.call(t,h)&&h!==s&&Cb(t,h,{get:(m=>n[m]).bind(null,h),enumerable:!(r=JT(n,h))||r.enumerable});return t},Hs=(t,n,s)=>(s=t!=null?$T(WT(t)):{},eA(n||!t||!t.__esModule?Cb(s,"default",{value:t,enumerable:!0}):s,t)),nA=ns({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutPropertiesLoose.js"(t,n){function s(r,l){if(r==null)return{};var c={};for(var u in r)if({}.hasOwnProperty.call(r,u)){if(l.includes(u))continue;c[u]=r[u]}return c}n.exports=s,n.exports.__esModule=!0,n.exports.default=n.exports}}),iA=ns({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutProperties.js"(t,n){var s=nA();function r(l,c){if(l==null)return{};var u,h,m=s(l,c);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(l);for(h=0;h<p.length;h++)u=p[h],c.includes(u)||{}.propertyIsEnumerable.call(l,u)&&(m[u]=l[u])}return m}n.exports=r,n.exports.__esModule=!0,n.exports.default=n.exports}}),Rb=ns({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(t,n){function s(r){"@babel/helpers - typeof";return n.exports=s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},n.exports.__esModule=!0,n.exports.default=n.exports,s(r)}n.exports=s,n.exports.__esModule=!0,n.exports.default=n.exports}}),sA=ns({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(t,n){var s=Rb().default;function r(l,c){if(s(l)!="object"||!l)return l;var u=l[Symbol.toPrimitive];if(u!==void 0){var h=u.call(l,c||"default");if(s(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(c==="string"?String:Number)(l)}n.exports=r,n.exports.__esModule=!0,n.exports.default=n.exports}}),aA=ns({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(t,n){var s=Rb().default,r=sA();function l(c){var u=r(c,"string");return s(u)=="symbol"?u:u+""}n.exports=l,n.exports.__esModule=!0,n.exports.default=n.exports}}),rA=ns({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/
17defineProperty.js"(t,n){var s=aA();function r(l,c,u){return(c=s(c))in l?Object.defineProperty(l,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):l[c]=u,l}n.exports=r,n.exports.__esModule=!0,n.exports.default=n.exports}}),jo=ns({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(t,n){var s=rA();function r(c,u){var h=Object.keys(c);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(c);u&&(m=m.filter(function(p){return Object.getOwnPropertyDescriptor(c,p).enumerable})),h.push.apply(h,m)}return h}function l(c){for(var u=1;u<arguments.length;u++){var h=arguments[u]!=null?arguments[u]:{};u%2?r(Object(h),!0).forEach(function(m){s(c,m,h[m])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(h)):r(Object(h)).forEach(function(m){Object.defineProperty(c,m,Object.getOwnPropertyDescriptor(h,m))})}return c}n.exports=l,n.exports.__esModule=!0,n.exports.default=n.exports}}),oA=Hs(iA(),1),Bv=Hs(jo(),1);const lA=["cursor","direction"];function Ln(t,n,s){const r=t.flatMap(l=>l.split("."));if(!n&&(!s||s==="any"))return r.length?[r]:[];if(s==="infinite"&&Ls(n)&&("direction"in n||"cursor"in n)){const{cursor:l,direction:c}=n,u=(0,oA.default)(n,lA);return[r,{input:u,type:"infinite"}]}return[r,(0,Bv.default)((0,Bv.default)({},typeof n<"u"&&n!==tn&&{input:n}),s&&s!=="any"&&{type:s})]}function uc(t){return Ln(t,void 0,"any")}var cA=Object.create,jb=Object.defineProperty,uA=Object.getOwnPropertyDescriptor,Mb=Object.getOwnPropertyNames,fA=Object.getPrototypeOf,dA=Object.prototype.hasOwnProperty,qn=(t,n)=>function(){return n||(0,t[Mb(t)[0]])((n={exports:{}}).exports,n),n.exports},hA=(t,n,s,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(var l=Mb(n),c=0,u=l.length,h;c<u;c++)h=l[c],!dA.call(t,h)&&h!==s&&jb(t,h,{get:(m=>n[m]).bind(null,h),enumerable:!(r=uA(n,h))||r.enumerable});return t},ee=(t,n,s)=>(s=t!=null?cA(fA(t)):{},hA(jb(s,"default",{value:t,enumerable:!0}),t)),Nb=qn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(t,n){function s(r){"@babel/helpers - typeof";return n.exports=s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},n.exports.__esModule=!0,n.exports.default=n.exports,s(r)}n.exports=s,n.exports.__esModule=!0,n.exports.default=n.exports}}),mA=qn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(t,n){var s=Nb().default;function r(l,c){if(s(l)!="object"||!l)return l;var u=l[Symbol.toPrimitive];if(u!==void 0){var h=u.call(l,c||"default");if(s(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(c==="string"?String:Number)(l)}n.exports=r,n.exports.__esModule=!0,n.exports.default=n.exports}}),pA=qn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(t,n){var s=Nb().default,r=mA();function l(c){var u=r(c,"string");return s(u)=="symbol"?u:u+""}n.exports=l,n.exports.__esModule=!0,n.exports.default=n.exports}}),Vs=qn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(t,n){var s=pA();function r(l,c,u){return(c=s(c))in l?Object.defineProperty(l,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):l[c]=u,l}n.exports=r,n.exports.__esModule=!0,n.exports.default=n.exports}}),On=qn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(t,n){var s=Vs();function r(c,u){var h=Object.keys(c);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(c);u&&(m=m.filter(function(p){return Object.getOwnPropertyDescriptor(c,p).enumerable})),h.push.apply(h,m)}return h}function l(c){for(var u=1;u<arguments.length;u++){var h=arguments[u]!=null?arguments[u]:{};u%2?r(Object(h),!0).forEach(function(m){s(c,m,h[m])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(h)):r(Object(h)).forEac
17h(function(m){Object.defineProperty(c,m,Object.getOwnPropertyDescriptor(h,m))})}return c}n.exports=l,n.exports.__esModule=!0,n.exports.default=n.exports}});function gA(t){return n=>{let s=0,r=null;const l=[];function c(){r||(r=n.subscribe({next(h){for(const p of l){var m;(m=p.next)===null||m===void 0||m.call(p,h)}},error(h){for(const p of l){var m;(m=p.error)===null||m===void 0||m.call(p,h)}},complete(){for(const m of l){var h;(h=m.complete)===null||h===void 0||h.call(m)}}}))}function u(){if(s===0&&r){const h=r;r=null,h.unsubscribe()}}return Dc(h=>(s++,l.push(h),c(),{unsubscribe(){s--,u();const m=l.findIndex(p=>p===h);m>-1&&l.splice(m,1)}}))}}function yA(t){let n=t;const s=[],r=u=>{n!==void 0&&u.next(n),s.push(u)},l=u=>{s.splice(s.indexOf(u),1)},c=Dc(u=>(r(u),()=>{l(u)}));return c.next=u=>{if(n!==u){n=u;for(const h of s)h.next(u)}},c.get=()=>n,c}function vA(t){return Dc(n=>{function s(l=0,c=t.op){const u=t.links[l];if(!u)throw new Error("No more links to execute - did you forget to add an ending link?");return u({op:c,next(m){return s(l+1,m)}})}return s().subscribe(n)})}var Jl=ee(Vs()),Na=ee(On());function xA(t){return t instanceof ho}function bA(t){return Ls(t)&&Ls(t.error)&&typeof t.error.code=="number"&&typeof t.error.message=="string"}function SA(t,n){return typeof t=="string"?t:Ls(t)&&typeof t.message=="string"?t.message:n}var ho=class fc extends Error{constructor(n,s){var r,l;const c=s?.cause;super(n,{cause:c}),(0,Jl.default)(this,"cause",void 0),(0,Jl.default)(this,"shape",void 0),(0,Jl.default)(this,"data",void 0),(0,Jl.default)(this,"meta",void 0),this.meta=s?.meta,this.cause=c,this.shape=s==null||(r=s.result)===null||r===void 0?void 0:r.error,this.data=s==null||(l=s.result)===null||l===void 0?void 0:l.error.data,this.name="TRPCClientError",Object.setPrototypeOf(this,fc.prototype)}static from(n,s={}){const r=n;return xA(r)?(s.meta&&(r.meta=(0,Na.default)((0,Na.default)({},r.meta),s.meta)),r):bA(r)?new fc(r.error.message,(0,Na.default)((0,Na.default)({},s),{},{result:r,cause:s.cause})):new fc(SA(r,"Unknown error"),(0,Na.default)((0,Na.default)({},s),{},{cause:r}))}};function wA(t){const n=t;return n?"input"in n?n:{input:n,output:n}:{input:{serialize:s=>s,deserialize:s=>s},output:{serialize:s=>s,deserialize:s=>s}}}const qv=t=>typeof t=="function";function EA(t){if(t)return t;if(typeof window<"u"&&qv(window.fetch))return window.fetch;if(typeof globalThis<"u"&&qv(globalThis.fetch))return globalThis.fetch;throw new Error("No fetch implementation found")}var no=ee(On());function TA(t){return{url:t.url.toString(),fetch:t.fetch,transformer:wA(t.transformer),methodOverride:t.methodOverride}}function AA(t){const n={};for(let s=0;s<t.length;s++){const r=t[s];n[s]=r}return n}const CA={query:"GET",mutation:"POST",subscription:"PATCH"};function _b(t){return"input"in t?t.transformer.input.serialize(t.input):AA(t.inputs.map(n=>t.transformer.input.serialize(n)))}const Db=t=>{const n=t.url.split("?");let r=n[0].replace(/\/$/,"")+"/"+t.path;const l=[];if(n[1]&&l.push(n[1]),"inputs"in t&&l.push("batch=1"),t.type==="query"||t.type==="subscription"){const c=_b(t);c!==void 0&&t.methodOverride!=="POST"&&l.push(`input=${encodeURIComponent(JSON.stringify(c))}`)}return l.length&&(r+="?"+l.join("&")),r},OA=t=>{if(t.type==="query"&&t.methodOverride!=="POST")return;const n=_b(t);return n!==void 0?JSON.stringify(n):void 0},RA=t=>_A((0,no.default)((0,no.default)({},t),{},{contentTypeHeader:"application/json",getUrl:Db,getBody:OA}));var jA=class extends Error{constructor(){const t="AbortError";super(t),this.name=t,this.message=t}};const MA=t=>{var n;if(t?.aborted)throw(n=t.throwIfAborted)===null||n===void 0||n.call(t),typeof DOMException<"u"?new DOMException("AbortError","AbortError"):new jA};async function NA(t){var n,s;MA(t.signal);const r=t.getUrl(t),l=t.getBody(t),c=(n=t.methodOverride)!==null&&n!==void 0?n:CA[t.type],u=await(async()=>{const m=await t.headers();return Symbol.iterator in m?Object.fromEntries(m):m})(),h=(0,no.default)((0,no.default)((0,no.default)({},t.contentTypeHeader&&c!=="GET"?{"content-type":t.contentTypeHeader}:{}),t.trpcAcceptHeader?{[(s=t.trpcAcceptHeaderKey)!==null&&s!==void 0?s:"trpc-accept"]:t.trpcAcceptHeader}:void 0),u);return EA(t.fetch)(r,{method:c,signal:t.signal,body:l,headers:h})}async function _A(t){const n={},s=await NA(t);n.response=s;const r=await s.json();return n.responseJSON=r,{json:r,meta:n}}ee(On());const Iv=()=>{throw new Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new")};function Qv(t){let n=null,s=null;const r=()=>{clearTimeout(s),s=null,n=null};function l(h){const m=[[]];let p=0;for(;;){const b=h[p];if(!b)break;const w=m[m.length-1];if(b.aborted){var y;(y=b.reject)===null||y===void 0||y.call(b,new Error("Aborted")),p++;continue}if(t.validate(w.concat(b).map(A=>A.key))){w.push(b),p++;continue}if(w.length===0){var g;(g=b.reject)===null||g===void 0||g.call(b,new Error("Input is too big for a single dispatch")),p++;continue}m.push([])}return m}function c(){const h=l(n);r();for(const m of h){if(!m.length)continue;const p={items:m};for(const g of m)g.batch=p;t.fetch(p.items.map(g=>g.key)).then(async g=>{await Promise.all(g.map(async(w,E)=>{const A=p.items[E];try{var M;const Q=await Promise.resolve(w);(M=A.resolve)===null||M===void 0||M.call(A,Q)}catch(Q){var C;(C=A.reject)===null||C===void 0||C.call(A,Q)}A.batch=null,A.reject=null,A.resolve=null}));for(const w of p.items){var b;(b=w.reject)===null||b===void 0||b.call(w,new Error("Missing result")),w.batch=null}}).catch(g=>{for(const w of p.items){var b;(b=w.reject)===null||b===void 0||b.call(w,g),w.batch=null}})}}function u(h){var m;const p={aborted:!1,key:h,batch:null,resolve:Iv,reject:Iv},y=new Promise((g,b)=>{var w;p.reject=b,p.resolve=g,(w=n)!==null&&w!==void 0||(n=[]),n.push(p)});return(m=s)!==null&&m!==void 0||(s=setTimeout(c)),y}return{load:u}}function DA(...t){const n=new AbortController,s=t.length;let r=0;const l=()=>{++r===s&&n.abort()};for(const c of t)c?.aborted?l():c?.addEventListener("abort",l,{once:!0});return n.signal}var Wl=ee(On());function zA(t){var n,s;const r=TA(t),l=(n=t.maxURLLength)!==null&&n!==void 0?n:1/0,c=(s=t.maxItems)!==null&&s!==void 0?s:1/0;return()=>{const u=y=>({validate(g){if(l===1/0&&c===1/0)return!0;
17if(g.length>c)return!1;const b=g.map(A=>A.path).join(","),w=g.map(A=>A.input);return Db((0,Wl.default)((0,Wl.default)({},r),{},{type:y,path:b,inputs:w,signal:null})).length<=l},async fetch(g){const b=g.map(Q=>Q.path).join(","),w=g.map(Q=>Q.input),E=DA(...g.map(Q=>Q.signal)),A=await RA((0,Wl.default)((0,Wl.default)({},r),{},{path:b,inputs:w,type:y,headers(){return t.headers?typeof t.headers=="function"?t.headers({opList:g}):t.headers:{}},signal:E}));return(Array.isArray(A.json)?A.json:g.map(()=>A.json)).map(Q=>({meta:A.meta,json:Q}))}}),h=Qv(u("query")),m=Qv(u("mutation")),p={query:h,mutation:m};return({op:y})=>Dc(g=>{/* istanbul ignore if -- @preserve */if(y.type==="subscription")throw new Error("Subscriptions are unsupported by `httpLink` - use `httpSubscriptionLink` or `wsLink`");const w=p[y.type].load(y);let E;return w.then(A=>{E=A;const M=KT(A.json,r.transformer.output);if(!M.ok){g.error(ho.from(M.error,{meta:A.meta}));return}g.next({context:A.meta,result:M.result}),g.complete()}).catch(A=>{g.error(ho.from(A,{meta:E?.meta}))}),()=>{}})}}ee(On());const zb=(t,...n)=>typeof t=="function"?t(...n):t;ee(Vs());function PA(){let t,n;return{promise:new Promise((r,l)=>{t=r,n=l}),resolve:t,reject:n}}async function LA(t){const n=await zb(t.url);if(!t.connectionParams)return n;const r=`${n.includes("?")?"&":"?"}connectionParams=1`;return n+r}async function kA(t,n){const s={method:"connectionParams",data:await zb(t)};return n.encode(s)}ee(Vs());var Yi=ee(Vs());function UA(t){const{promise:n,resolve:s,reject:r}=PA();return t.addEventListener("open",()=>{t.removeEventListener("error",r),s()}),t.addEventListener("error",r),n}function HA(t,{intervalMs:n,pongTimeoutMs:s}){let r,l;function c(){r=setTimeout(()=>{t.send("PING"),l=setTimeout(()=>{t.close()},s)},n)}function u(){clearTimeout(r),c()}function h(){clearTimeout(l),u()}t.addEventListener("open",c),t.addEventListener("message",({data:m})=>{clearTimeout(r),c(),m==="PONG"&&h()}),t.addEventListener("close",()=>{clearTimeout(r),clearTimeout(l)})}var VA=class Zd{constructor(n){var s;if((0,Yi.default)(this,"id",++Zd.connectCount),(0,Yi.default)(this,"WebSocketPonyfill",void 0),(0,Yi.default)(this,"urlOptions",void 0),(0,Yi.default)(this,"keepAliveOpts",void 0),(0,Yi.default)(this,"encoder",void 0),(0,Yi.default)(this,"wsObservable",yA(null)),(0,Yi.default)(this,"openPromise",null),this.WebSocketPonyfill=(s=n.WebSocketPonyfill)!==null&&s!==void 0?s:WebSocket,!this.WebSocketPonyfill)throw new Error("No WebSocket implementation found - you probably don't want to use this on the server, but if you do you need to pass a `WebSocket`-ponyfill");this.urlOptions=n.urlOptions,this.keepAliveOpts=n.keepAlive,this.encoder=n.encoder}get ws(){return this.wsObservable.get()}set ws(n){this.wsObservable.next(n)}isOpen(){return!!this.ws&&this.ws.readyState===this.WebSocketPonyfill.OPEN&&!this.openPromise}isClosed(){return!!this.ws&&(this.ws.readyState===this.WebSocketPonyfill.CLOSING||this.ws.readyState===this.WebSocketPonyfill.CLOSED)}async open(){var n=this;if(n.openPromise)return n.openPromise;n.id=++Zd.connectCount;const s=LA(n.urlOptions).then(r=>new n.WebSocketPonyfill(r));n.openPromise=s.then(async r=>{n.ws=r,r.binaryType="arraybuffer",r.addEventListener("message",function({data:l}){l==="PING"&&this.send("PONG")}),n.keepAliveOpts.enabled&&HA(r,n.keepAliveOpts),r.addEventListener("close",()=>{n.ws===r&&(n.ws=null)}),await UA(r),n.urlOptions.connectionParams&&r.send(await kA(n.urlOptions.connectionParams,n.encoder))});try{await n.openPromise}finally{n.openPromise=null}}async close(){var n=this;try{await n.openPromise}finally{var s;(s=n.ws)===null||s===void 0||s.close()}}};(0,Yi.default)(VA,"connectCount",0);ee(Vs());ee(On());var fd=ee(Vs()),Gv=ee(On()),zc=class{constructor(t){(0,fd.default)(this,"links",void 0),(0,fd.default)(this,"runtime",void 0),(0,fd.default)(this,"requestId",void 0),this.requestId=0,this.runtime={},this.links=t.links.map(n=>n(this.runtime))}$request(t){var n;return vA({links:this.links,op:(0,Gv.default)((0,Gv.default)({},t),{},{context:(n=t.context)!==null&&n!==void 0?n:{},id:++this.requestId})}).pipe(gA())}async requestAsPromise(t){var n=this;try{const s=n.$request(t);return(await ZT(s)).result.data}catch(s){throw ho.from(s)}}query(t,n,s){return this.requestAsPromise({type:"query",path:t,input:n,context:s?.context,signal:s?.signal})}mutation(t,n,s){return this.requestAsPromise({type:"mutation",path:t,input:n,context:s?.context,signal:s?.signal})}subscription(t,n,s){return this.$request({type:"subscription",path:t,input:n,context:s.context,signal:s.signal}).subscribe({next(l){switch(l.result.type){case"state":{var c;
17(c=s.onConnectionStateChange)===null||c===void 0||c.call(s,l.result);break}case"started":{var u;(u=s.onStarted)===null||u===void 0||u.call(s,{context:l.context});break}case"stopped":{var h;(h=s.onStopped)===null||h===void 0||h.call(s);break}case"data":case void 0:{var m;(m=s.onData)===null||m===void 0||m.call(s,l.result.data);break}}},error(l){var c;(c=s.onError)===null||c===void 0||c.call(s,l)},complete(){var l;(l=s.onComplete)===null||l===void 0||l.call(s)}})}};const Pb=Symbol.for("trpc_untypedClient"),BA={query:"query",mutate:"mutation",subscribe:"subscription"},qA=t=>BA[t];function Lb(t){const n=_c(({path:s,args:r})=>{const l=[...s],c=qA(l.pop()),u=l.join(".");return t[c](u,...r)});return Ih(s=>s===Pb?t:n[s])}function IA(t){const n=new zc(t);return Lb(n)}function Gh(t){return t[Pb]}ee(On());ee(On());var QA=qn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(t,n){function s(l){var c,u,h,m=2;for(typeof Symbol<"u"&&(u=Symbol.asyncIterator,h=Symbol.iterator);m--;){if(u&&(c=l[u])!=null)return c.call(l);if(h&&(c=l[h])!=null)return new r(c.call(l));u="@@asyncIterator",h="@@iterator"}throw new TypeError("Object is not async iterable")}function r(l){function c(u){if(Object(u)!==u)return Promise.reject(new TypeError(u+" is not an object."));var h=u.done;return Promise.resolve(u.value).then(function(m){return{value:m,done:h}})}return r=function(h){this.s=h,this.n=h.next},r.prototype={s:null,n:null,next:function(){return c(this.n.apply(this.s,arguments))},return:function(h){var m=this.s.return;return m===void 0?Promise.resolve({value:h,done:!0}):c(m.apply(this.s,arguments))},throw:function(h){var m=this.s.return;return m===void 0?Promise.reject(h):c(m.apply(this.s,arguments))}},new r(l)}n.exports=s,n.exports.__esModule=!0,n.exports.default=n.exports}});ee(QA());ee(On());var GA=qn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(t,n){function s(){var r=typeof SuppressedError=="function"?SuppressedError:function(h,m){var p=Error();return p.name="SuppressedError",p.error=h,p.suppressed=m,p},l={},c=[];function u(h,m){if(m!=null){if(Object(m)!==m)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(h)var p=m[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(p===void 0&&(p=m[Symbol.dispose||Symbol.for("Symbol.dispose")],h))var y=p;if(typeof p!="function")throw new TypeError("Object is not disposable.");y&&(p=function(){try{y.call(m)}catch(b){return Promise.reject(b)}}),c.push({v:m,d:p,a:h})}else h&&c.push({d:m,a:h});return m}return{e:l,u:u.bind(null,!1),a:u.bind(null,!0),d:function(){var m,p=this.e,y=0;function g(){for(;m=c.pop();)try{if(!m.a&&y===1)return y=0,c.push(m),Promise.resolve().then(g);if(m.d){var w=m.d.call(m.v);if(m.a)return y|=2,Promise.resolve(w).then(g,b)}else y|=1}catch(E){return b(E)}if(y===1)return p!==l?Promise.reject(p):Promise.resolve();if(p!==l)throw p}function b(w){return p=p!==l?new r(w,p):w,g()}return g()}}}n.exports=s,n.exports.__esModule=!0,n.exports.default=n.exports}}),kb=qn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/OverloadYield.js"(t,n){function s(r,l){this.v=r,this.k=l}n.exports=s,n.exports.__esModule=!0,n.exports.default=n.exports}}),YA=qn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/awaitAsyncGenerator.js"(t,n){var s=kb();function r(l){return new s(l,0)}n.exports=r,n.exports.__esModule=!0,n.exports.default=n.exports}}),FA=qn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/wrapAsyncGenerator.js"(t,n){var s=kb();function r(c){return function(){return new l(c.apply(this,arguments))}}function l(c){var u,h;function m(y,g){try{var b=c[y](g),w=b.value,E=w instanceof s;Promise.resolve(E?w.v:w).then(function(A){if(E){var M=y==="return"?"return":"next";if(!w.k||A.done)return m(M,A);A=c[M](A).value}p(b.done?"return":"normal",A)},function(A){m("throw",A)})}catch(A){p("throw",A)}}function p(y,g){switch(y){case"return":u.resolve({value:g,done:!0});break;case"throw":u.reject(g);break;default:u.resolve({value:g,done:!1})}(u=u.next)?m(u.key,u.arg):h=null}this._invoke=function(y,g){return new Promise(function(b,w){var E={key:y,arg:g,resolve:b,reject:w,next:null};h?h=h.next=E:(u=h=E,m(y,g))})},typeof c.return!="function"&&(this.return=void 0)}l.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},l.prototype.next=function(c){return this._invoke("next",c)},l.prototype.throw=function(c){return this._invoke("throw",c)},l.prototype.return=function(c){return this._invoke("return",c)},n.exports=r,n.exports.__esModule=!0,n.exports.default=n.exports}});ee(GA());ee(YA());ee(FA());ee(On());function KA(t){return _c(({path:n,args:s})=>{var r;const l=[...n],c=l.pop();if(c==="useMutation")return t[c](l,...s);if(c==="_def")return{path:l};const[u,...h]=s,m=(r=h[0])!==null&&r!==void 0?r:{};return t[c](l,u,m)})}var dd;const XA=["client","ssrContext","ssrState","abortOnUnmount"],ZA=(dd=O.createContext)===null||dd===void 0?void 0:dd.call(cb,null),$A=t=>{switch(t){case"queryOptions":case"fetch":case"ensureData":case"prefetch":case"getData":case"setData":case"setQueriesData":return"query";case"infiniteQueryOptions":case"fetchInfinite":case"prefetchInfinite":case"getInfiniteData":case"setInfiniteData":return"infinite";case"setMutationDefaults":case"getMutationDefaults":case"isMutating":case"cancel":case"invali
17date":case"refetch":case"reset":return"any"}};function JA(t){return _c(n=>{const s=[...n.path],r=s.pop(),l=[...n.args],c=l.shift(),u=$A(r),h=Ln(s,c,u);return{infiniteQueryOptions:()=>t.infiniteQueryOptions(s,h,l[0]),queryOptions:()=>t.queryOptions(s,h,...l),fetch:()=>t.fetchQuery(h,...l),fetchInfinite:()=>t.fetchInfiniteQuery(h,l[0]),prefetch:()=>t.prefetchQuery(h,...l),prefetchInfinite:()=>t.prefetchInfiniteQuery(h,l[0]),ensureData:()=>t.ensureQueryData(h,...l),invalidate:()=>t.invalidateQueries(h,...l),reset:()=>t.resetQueries(h,...l),refetch:()=>t.refetchQueries(h,...l),cancel:()=>t.cancelQuery(h,...l),setData:()=>{t.setQueryData(h,l[0],l[1])},setQueriesData:()=>t.setQueriesData(h,l[0],l[1],l[2]),setInfiniteData:()=>{t.setInfiniteQueryData(h,l[0],l[1])},getData:()=>t.getQueryData(h),getInfiniteData:()=>t.getInfiniteQueryData(h),setMutationDefaults:()=>t.setMutationDefaults(uc(s),c),getMutationDefaults:()=>t.getMutationDefaults(uc(s)),isMutating:()=>t.isMutating({mutationKey:uc(s)})}[r]()})}function WA(t){const n=Lb(t.client),s=JA(t);return Ih(r=>{const l=r;return l==="client"?n:XA.includes(l)?t[l]:s[r]})}var tC=Hs(jo(),1);function Yv(t){const n=t instanceof zc?t:Gh(t);return _c(s=>{const r=s.path,l=r.join("."),[c,u]=s.args;return(0,tC.default)({queryKey:Ln(r,c,"query"),queryFn:()=>n.query(l,c,u?.trpc)},u)})}var hd=Hs(jo(),1);function Me(t,n,s){var r;const l=t[0];let c=(r=t[1])===null||r===void 0?void 0:r.input;if(s){var u;c=(0,hd.default)((0,hd.default)((0,hd.default)({},(u=c)!==null&&u!==void 0?u:{}),s.pageParam?{cursor:s.pageParam}:{}),{},{direction:s.direction})}return[l.join("."),c,n?.trpc]}var eC=ns({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(t,n){function s(l){var c,u,h,m=2;for(typeof Symbol<"u"&&(u=Symbol.asyncIterator,h=Symbol.iterator);m--;){if(u&&(c=l[u])!=null)return c.call(l);if(h&&(c=l[h])!=null)return new r(c.call(l));u="@@asyncIterator",h="@@iterator"}throw new TypeError("Object is not async iterable")}function r(l){function c(u){if(Object(u)!==u)return Promise.reject(new TypeError(u+" is not an object."));var h=u.done;return Promise.resolve(u.value).then(function(m){return{value:m,done:h}})}return r=function(h){this.s=h,this.n=h.next},r.prototype={s:null,n:null,next:function(){return c(this.n.apply(this.s,arguments))},return:function(h){var m=this.s.return;return m===void 0?Promise.resolve({value:h,done:!0}):c(m.apply(this.s,arguments))},throw:function(h){var m=this.s.return;return m===void 0?Promise.reject(h):c(m.apply(this.s,arguments))}},new r(l)}n.exports=s,n.exports.__esModule=!0,n.exports.default=n.exports}}),nC=Hs(eC(),1);function $d(t){return{path:t.path.join(".")}}function $r(t){const n=$d(t);return O.useMemo(()=>n,[n])}async function Ub(t,n,s){const l=n.getQueryCache().build(n,{queryKey:s});l.setState({data:[],status:"success"});const c=[];var u=!1,h=!1,m;try{for(var p=(0,nC.default)(t),y;u=!(y=await p.next()).done;u=!1){const g=y.value;c.push(g),l.setState({data:[...c]})}}catch(g){h=!0,m=g}finally{try{u&&p.return!=null&&await p.return()}finally{if(h)throw m}}return c}var Dt=Hs(jo(),1);function iC(t){const{client:n,queryClient:s}=t,r=n instanceof zc?n:Gh(n);return{infiniteQueryOptions:(l,c,u)=>{var h,m;const p=((h=c[1])===null||h===void 0?void 0:h.input)===tn,y=async g=>{var b;const w=(0,Dt.default)((0,Dt.default)({},u),{},{trpc:(0,Dt.default)((0,Dt.default)({},u?.trpc),!(u==null||(b=u.trpc)===null||b===void 0)&&b.abortOnUnmount?{signal:g.signal}:{signal:null})});return await r.query(...Me(c,w,{direction:g.direction,pageParam:g.pageParam}))};return Object.assign((0,Dt.default)((0,Dt.default)({},u),{},{initialData:u?.initialData,queryKey:c,queryFn:p?tn:y,initialPageParam:(m=u?.initialCursor)!==null&&m!==void 0?m:null}),{trpc:$d({path:l})})},queryOptions:(l,c,u)=>{var h;const m=((h=c[1])===null||h===void 0?void 0:h.input)===tn,p=async y=>{var g;const b=(0,Dt.default)((0,Dt.default)({},u),{},{trpc:(0,Dt.default)((0,Dt.default)({},u?.trpc),!(u==null||(g=u.trpc)===null||g===void 0)&&g.abortOnUnmount?{signal:y.signal}:{signal:null})}),w=await r.query(...Me(c,b));
17return xb(w)?Ub(w,s,c):w};return Object.assign((0,Dt.default)((0,Dt.default)({},u),{},{initialData:u?.initialData,queryKey:c,queryFn:m?tn:p}),{trpc:$d({path:l})})},fetchQuery:(l,c)=>s.fetchQuery((0,Dt.default)((0,Dt.default)({},c),{},{queryKey:l,queryFn:()=>r.query(...Me(l,c))})),fetchInfiniteQuery:(l,c)=>{var u;return s.fetchInfiniteQuery((0,Dt.default)((0,Dt.default)({},c),{},{queryKey:l,queryFn:({pageParam:h,direction:m})=>r.query(...Me(l,c,{pageParam:h,direction:m})),initialPageParam:(u=c?.initialCursor)!==null&&u!==void 0?u:null}))},prefetchQuery:(l,c)=>s.prefetchQuery((0,Dt.default)((0,Dt.default)({},c),{},{queryKey:l,queryFn:()=>r.query(...Me(l,c))})),prefetchInfiniteQuery:(l,c)=>{var u;return s.prefetchInfiniteQuery((0,Dt.default)((0,Dt.default)({},c),{},{queryKey:l,queryFn:({pageParam:h,direction:m})=>r.query(...Me(l,c,{pageParam:h,direction:m})),initialPageParam:(u=c?.initialCursor)!==null&&u!==void 0?u:null}))},ensureQueryData:(l,c)=>s.ensureQueryData((0,Dt.default)((0,Dt.default)({},c),{},{queryKey:l,queryFn:()=>r.query(...Me(l,c))})),invalidateQueries:(l,c,u)=>s.invalidateQueries((0,Dt.default)((0,Dt.default)({},c),{},{queryKey:l}),u),resetQueries:(l,c,u)=>s.resetQueries((0,Dt.default)((0,Dt.default)({},c),{},{queryKey:l}),u),refetchQueries:(l,c,u)=>s.refetchQueries((0,Dt.default)((0,Dt.default)({},c),{},{queryKey:l}),u),cancelQuery:(l,c)=>s.cancelQueries({queryKey:l},c),setQueryData:(l,c,u)=>s.setQueryData(l,c,u),setQueriesData:(l,c,u,h)=>s.setQueriesData((0,Dt.default)((0,Dt.default)({},c),{},{queryKey:l}),u,h),getQueryData:l=>s.getQueryData(l),setInfiniteQueryData:(l,c,u)=>s.setQueryData(l,c,u),getInfiniteQueryData:l=>s.getQueryData(l),setMutationDefaults:(l,c)=>{const u=l[0],h=m=>r.mutation(...Me([u,{input:m}],t));return s.setMutationDefaults(l,typeof c=="function"?c({canonicalMutationFn:h}):c)},getMutationDefaults:l=>s.getMutationDefaults(l),isMutating:l=>s.isMutating((0,Dt.default)((0,Dt.default)({},l),{},{exact:!0}))}}var lt=Hs(jo());const Fv=(t,n)=>new Proxy(t,{get(r,l){return n(l),r[l]}});function sC(t){var n,s;const r=(n=void 0)!==null&&n!==void 0?n:k=>k.originalFn(),l=(s=void 0)!==null&&s!==void 0?s:ZA,c=IA,u=k=>{var G;const{abortOnUnmount:N=!1,queryClient:D,ssrContext:J}=k,[W,it]=O.useState((G=k.ssrState)!==null&&G!==void 0?G:!1),et=k.client instanceof zc?k.client:Gh(k.client),at=O.useMemo(()=>iC({client:et,queryClient:D}),[et,D]),rt=O.useMemo(()=>(0,lt.default)({abortOnUnmount:N,queryClient:D,client:et,ssrContext:J??null,ssrState:W},at),[N,et,at,D,J,W]);return O.useEffect(()=>{it(ct=>ct?"mounted":!1)},[]),x.jsx(l.Provider,{value:rt,children:k.children})};function h(){const k=O.useContext(l);if(!k)throw new Error("Unable to find tRPC Context. Did you forget to wrap your App inside `withTRPC` HoC?");return k}function m(k,G){var N;const{queryClient:D,ssrState:J}=h();return J&&J!=="mounted"&&((N=D.getQueryCache().find({queryKey:k}))===null||N===void 0?void 0:N.state.status)==="error"?(0,lt.default)({retryOnMount:!1},G):G}function p(k,G,N){var D,J,W,it,et;const at=h(),{abortOnUnmount:rt,client:ct,ssrState:j,queryClient:P,prefetchQuery:z}=at,nt=Ln(k,G,"query"),ot=P.getQueryDefaults(nt),T=G===tn;typeof window>"u"&&j==="prepass"&&(N==null||(D=N.trpc)===null||D===void 0?void 0:D.ssr)!==!1&&((J=N?.enabled)!==null&&J!==void 0?J:ot?.enabled)!==!1&&!T&&!P.getQueryCache().find({queryKey:nt})&&z(nt,N);const q=m(nt,(0,lt.default)((0,lt.default)({},ot),N)),U=(W=(it=N==null||(et=N.trpc)===null||et===void 0?void 0:et.abortOnUnmount)!==null&&it!==void 0?it:void 0)!==null&&W!==void 0?W:rt,F=MT((0,lt.default)((0,lt.default)({},q),{},{queryKey:nt,queryFn:T?G:async tt=>{const ft=(0,lt.default)((0,lt.default)({},q),{},{trpc:(0,lt.default)((0,lt.default)({},q?.trpc),U?{signal:tt.signal}:{signal:null})}),ut=await ct.query(...Me(nt,ft));return xb(ut)?Ub(ut,P,nt):ut}}),P);return F.trpc=$r({path:k}),F}function y(k,G,N){var D,J,W;const it=h(),et=Ln(k,G,"query"),at=G===tn,rt=(D=(J=N==null||(W=N.trpc)===null||W===void 0?void 0:W.abortOnUnmount)!==null&&J!==void 0?J:void 0)!==null&&D!==void 0?D:it.abortOnUnmount;zT((0,lt.default)((0,lt.default)({},N),{},{queryKey:et,queryFn:at?G:ct=>{const j={trpc:(0,lt.default)((0,lt.default)({},N?.trpc),rt?{signal:ct.signal}:{})};return it.client.query(...Me(et,j))}}))}function g(k,G,N){var D,J,W;const it=h(),et=Ln(k,G,"query"),at=(D=(J=N==null||(W=N.trpc)===null||W===void 0?void 0:W.abortOnUnmount)!==null&&J!==void 0?J:void 0)!==null&&D!==void 0?D:it.abortOnUnmount,rt=NT((0,lt.default)((0,lt.default)({},N),{},{queryKey:et,queryFn:ct=>{const j=(0,lt.default)((0,lt.default)({},N),{},{trpc:(0,lt.default)((0,lt.default)({},N?.trpc),at?{signal:ct.signal}:{signal:null})});return it.client.query(...Me(et,j))}}),it.queryClient);return rt.trpc=$r({path:k}),[rt.data,rt]}function b(k,G){const{client:N,queryClient:D}=h(),J=uc(k),W=D.defaultMutationOptions(D.getMutationDefaults(J)),it=LT((0,lt.default)((0,lt.default)({},G),{},{mutationKey:J,mutationFn:et=>N.mutation(...Me([k,{input:et}],G)),onSuccess(...et){var at,rt;return r({originalFn:()=>{var j,P,z;return(j=G==null||(P=G.onSuccess)===null||P===void 0?void 0:P.call(G,...et))!==null&&j!==void 0?j:W==null||(z=W.onSuccess)===null||z===void 0?void 0:z.call(W,...et)},queryClient:D,meta:(at=(rt=G?.meta)!==null&&rt!==void 0?rt:W?.meta)!==null&&at!==void 0?at:{}})}}),D);return it.trpc=$r({path:k}),it}const w={data:void 0,error:null,status:"idle"},E={data:void 0,error:null,status:"connecting"};/* istanbul ignore next -- @preserve */function A(k,G,N){var D;const J=(D=N?.enabled)!==null&&D!==void 0?D:G!==tn,W=Zi(Ln(k,G,"any")),{client:it}=h(),et=O.useRef(N);O.useEffect(()=>{et.current=N});const[at]=O.useState(new Set([])),rt=O.useCallback(T=>{at.add(T)},[at]),ct=O.useRef(null),j=O.useCallback(T=>{const q=z.current,U=z.current=T(q);let F=!1;for(const tt of at)if(q[tt]!==U[tt]){F=!0;break}F&&ot(Fv(U,rt))},[rt,at]),P=O.useCallback(()=>{var T;if((T=ct.current)===null||T===void 0||T.unsubscribe(),!J){j(()=>(0,lt.default)((0,lt.default)({},w),{},{reset:P}));return}j(()=>(0,lt.default)((0,lt.default)({},E),{},{reset:P}));const q=it.subscription(k.join("."),G??void 0,{onStarted:()=>{var U,F;(U=(F=et.current).onStarted)===null||U===void 0||U.call(F),j(tt=>(0,lt.default)((0,lt.default)({},tt),{},{status:"pending",error:null}))},onData:U=>{var F,tt;(F=(tt=et.current).onData)===null||F===void 0||F.call(tt,U),j(ft=>(0,lt.default)((0,lt.default)({},ft),{},{status:"pending",data:U,error:null}))},onError:U=>{var F,tt;(F=(tt=et.current).onError)===null||F===void 0||F.call(tt,U),j(ft=>(0,lt.default)((0,lt.default)({},ft),{},{status:"error",error:U}))},onConnectionStateChange:U=>{j(F=>{switch(U.state){case"idle":return(0,lt.default)((0,lt.default)({},F),{},{status:U.state,error:null,data:void 0});case"connecting":return(0,lt.default)((0,lt.default)({},F),{},{error:U.error,status:U.state});
17case"pending":return F}})},onComplete:()=>{var U,F;(U=(F=et.current).onComplete)===null||U===void 0||U.call(F),j(tt=>(0,lt.default)((0,lt.default)({},tt),{},{status:"idle",error:null,data:void 0}))}});ct.current=q},[it,W,J,j]);O.useEffect(()=>(P(),()=>{var T;(T=ct.current)===null||T===void 0||T.unsubscribe()}),[P]);const z=O.useRef(J?(0,lt.default)((0,lt.default)({},E),{},{reset:P}):(0,lt.default)((0,lt.default)({},w),{},{reset:P})),[nt,ot]=O.useState(Fv(z.current,rt));return nt}function M(k,G,N){var D,J,W,it,et;const{client:at,ssrState:rt,prefetchInfiniteQuery:ct,queryClient:j,abortOnUnmount:P}=h(),z=Ln(k,G,"infinite"),nt=j.getQueryDefaults(z),ot=G===tn;typeof window>"u"&&rt==="prepass"&&(N==null||(D=N.trpc)===null||D===void 0?void 0:D.ssr)!==!1&&((J=N?.enabled)!==null&&J!==void 0?J:nt?.enabled)!==!1&&!ot&&!j.getQueryCache().find({queryKey:z})&&ct(z,(0,lt.default)((0,lt.default)({},nt),N));const T=m(z,(0,lt.default)((0,lt.default)({},nt),N)),q=(W=N==null||(it=N.trpc)===null||it===void 0?void 0:it.abortOnUnmount)!==null&&W!==void 0?W:P,U=kT((0,lt.default)((0,lt.default)({},T),{},{initialPageParam:(et=N.initialCursor)!==null&&et!==void 0?et:null,persister:N.persister,queryKey:z,queryFn:ot?G:F=>{var tt;const ft=(0,lt.default)((0,lt.default)({},T),{},{trpc:(0,lt.default)((0,lt.default)({},T?.trpc),q?{signal:F.signal}:{signal:null})});return at.query(...Me(z,ft,{pageParam:(tt=F.pageParam)!==null&&tt!==void 0?tt:N.initialCursor,direction:F.direction}))}}),j);return U.trpc=$r({path:k}),U}function C(k,G,N){var D,J,W;const it=h(),et=Ln(k,G,"infinite"),at=it.queryClient.getQueryDefaults(et),rt=G===tn,ct=m(et,(0,lt.default)((0,lt.default)({},at),N)),j=(D=N==null||(J=N.trpc)===null||J===void 0?void 0:J.abortOnUnmount)!==null&&D!==void 0?D:it.abortOnUnmount;PT((0,lt.default)((0,lt.default)({},N),{},{initialPageParam:(W=N.initialCursor)!==null&&W!==void 0?W:null,queryKey:et,queryFn:rt?G:P=>{var z;const nt=(0,lt.default)((0,lt.default)({},ct),{},{trpc:(0,lt.default)((0,lt.default)({},ct?.trpc),j?{signal:P.signal}:{})});return it.client.query(...Me(et,nt,{pageParam:(z=P.pageParam)!==null&&z!==void 0?z:N.initialCursor,direction:P.direction}))}}))}function Q(k,G,N){var D,J,W;const it=h(),et=Ln(k,G,"infinite"),at=it.queryClient.getQueryDefaults(et),rt=m(et,(0,lt.default)((0,lt.default)({},at),N)),ct=(D=N==null||(J=N.trpc)===null||J===void 0?void 0:J.abortOnUnmount)!==null&&D!==void 0?D:it.abortOnUnmount,j=_T((0,lt.default)((0,lt.default)({},N),{},{initialPageParam:(W=N.initialCursor)!==null&&W!==void 0?W:null,queryKey:et,queryFn:P=>{var z;const nt=(0,lt.default)((0,lt.default)({},rt),{},{trpc:(0,lt.default)((0,lt.default)({},rt?.trpc),ct?{signal:P.signal}:{})});return it.client.query(...Me(et,nt,{pageParam:(z=P.pageParam)!==null&&z!==void 0?z:N.initialCursor,direction:P.direction}))}}),it.queryClient);return j.trpc=$r({path:k}),[j.data,j]}return{Provider:u,createClient:c,useContext:h,useUtils:h,useQuery:p,usePrefetchQuery:y,useSuspenseQuery:g,useQueries:(k,G)=>{const{ssrState:N,queryClient:D,prefetchQuery:J,client:W}=h(),it=Yv(W),et=k(it);if(typeof window>"u"&&N==="prepass")for(const rt of et){var at;const ct=rt;((at=ct.trpc)===null||at===void 0?void 0:at.ssr)!==!1&&!D.getQueryCache().find({queryKey:ct.queryKey})&&J(ct.queryKey,ct)}return vb({queries:et.map(rt=>(0,lt.default)((0,lt.default)({},rt),{},{queryKey:rt.queryKey})),combine:G?.combine},D)},useSuspenseQueries:k=>{const{queryClient:G,client:N}=h(),D=Yv(N),J=k(D),W=DT({queries:J.map(it=>(0,lt.default)((0,lt.default)({},it),{},{queryFn:it.queryFn,queryKey:it.queryKey}))},G);return[W.map(it=>it.data),W]},useMutation:b,useSubscription:A,useInfiniteQuery:M,usePrefetchInfiniteQuery:C,useSuspenseInfiniteQuery:Q}}function aC(t){const n=KA(t);return Ih(s=>s==="useContext"||s==="useUtils"?()=>{const r=t.useUtils();return O.useMemo(()=>WA(r),[r])}:t.hasOwnProperty(s)?t[s]:n[s])}function rC(t){const n=sC();return aC(n)}const qa=rC(),oC="Please login (10001)";var md={exports:{}},Jr={},pd={exports:{}},gd={};/**
18 * @license React
19 * scheduler.production.js
20 *
21 * Copyright (c) Meta Platforms, Inc. and affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */var Kv;function lC(){return Kv||(Kv=1,(function(t){function n(j,P){var z=j.length;j.push(P);t:for(;0<z;){var nt=z-1>>>1,ot=j[nt];if(0<l(ot,P))j[nt]=P,j[z]=ot,z=nt;else break t}}function s(j){return j.length===0?null:j[0]}function r(j){if(j.length===0)return null;var P=j[0],z=j.pop();if(z!==P){j[0]=z;t:for(var nt=0,ot=j.length,T=ot>>>1;nt<T;){var q=2*(nt+1)-1,U=j[q],F=q+1,tt=j[F];if(0>l(U,z))F<ot&&0>l(tt,U)?(j[nt]=tt,j[F]=z,nt=F):(j[nt]=U,j[q]=z,nt=q);else if(F<ot&&0>l(tt,z))j[nt]=tt,j[F]=z,nt=F;else break t}}return P}function l(j,P){var z=j.sortIndex-P.sortIndex;return z!==0?z:j.id-P.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;t.unstable_now=function(){return c.now()}}else{var u=Date,h=u.now();t.unstable_now=function(){return u.now()-h}}var m=[],p=[],y=1,g=null,b=3,w=!1,E=!1,A=!1,M=!1,C=typeof setTimeout=="function"?setTimeout:null,Q=typeof clearTimeout=="function"?clearTimeout:null,B=typeof setImmediate<"u"?setImmediate:null;function Z(j){for(var P=s(p);P!==null;){if(P.callback===null)r(p);else if(P.startTime<=j)r(p),P.sortIndex=P.expirationTime,n(m,P);else break;P=s(p)}}function k(j){if(A=!1,Z(j),!E)if(s(m)!==null)E=!0,G||(G=!0,et());else{var P=s(p);P!==null&&ct(k,P.startTime-j)}}var G=!1,N=-1,D=5,J=-1;function W(){return M?!0:!(t.unstable_now()-J<D)}function it(){if(M=!1,G){var j=t.unstable_now();J=j;var P=!0;try{t:{E=!1,A&&(A=!1,Q(N),N=-1),w=!0;var z=b;try{e:{for(Z(j),g=s(m);g!==null&&!(g.expirationTime>j&&W());){var nt=g.callback;if(typeof nt=="function"){g.callback=null,b=g.priorityLevel;var ot=nt(g.expirationTime<=j);if(j=t.unstable_now(),typeof ot=="function"){g.callback=ot,Z(j),P=!0;break e}g===s(m)&&r(m),Z(j)}else r(m);g=s(m)}if(g!==null)P=!0;else{var T=s(p);T!==null&&ct(k,T.startTime-j),P=!1}}break t}finally{g=null,b=z,w=!1}P=void 0}}finally{P?et():G=!1}}}var et;if(typeof B=="function")et=function(){B(it)};else if(typeof MessageChannel<"u"){var at=new MessageChannel,rt=at.port2;at.port1.onmessage=it,et=function(){rt.postMessage(null)}}else et=function(){C(it,0)};function ct(j,P){N=C(function(){j(t.unstable_now())},P)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(j){j.callback=null},t.unstable_forceFrameRate=function(j){0>j||125<j?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<j?Math.floor(1e3/j):5},t.unstable_getCurrentPriorityLevel=function(){return b},t.unstable_next=function(j){switch(b){case 1:case 2:case 3:var P=3;break;default:P=b}var z=b;b=P;try{return j()}finally{b=z}},t.unstable_requestPaint=function(){M=!0},t.unstable_runWithPriority=function(j,P){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var z=b;b=j;try{return P()}finally{b=z}},t.unstable_scheduleCallback=function(j,P,z){var nt=t.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0<z?nt+z:nt):z=nt,j){case 1:var ot=-1;break;case 2:ot=250;break;case 5:ot=1073741823;break;case 4:ot=1e4;break;default:ot=5e3}return ot=z+ot,j={id:y++,callback:P,priorityLevel:j,startTime:z,expirationTime:ot,sortIndex:-1},z>
vendor: 8,228 bytes, lines 25-41
25nt?(j.sortIndex=z,n(p,j),s(m)===null&&j===s(p)&&(A?(Q(N),N=-1):A=!0,ct(k,z-nt))):(j.sortIndex=ot,n(m,j),E||w||(E=!0,G||(G=!0,et()))),j},t.unstable_shouldYield=W,t.unstable_wrapCallback=function(j){var P=b;return function(){var z=b;b=P;try{return j.apply(this,arguments)}finally{b=z}}}})(gd)),gd}var Xv;function cC(){return Xv||(Xv=1,pd.exports=lC()),pd.exports}var yd={exports:{}},Ee={};/**
26 * @license React
27 * react-dom.production.js
28 *
29 * Copyright (c) Meta Platforms, Inc. and affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var Zv;function uC(){if(Zv)return Ee;Zv=1;var t=jc();function n(m){var p="https://react.dev/errors/"+m;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)p+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+m+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var r={d:{f:s,r:function(){throw Error(n(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},l=Symbol.for("react.portal");function c(m,p,y){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:g==null?null:""+g,children:m,containerInfo:p,implementation:y}}var u=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(m,p){if(m==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Ee.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Ee.createPortal=function(m,p){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(n(299));return c(m,p,null,y)},Ee.flushSync=function(m){var p=u.T,y=r.p;try{if(u.T=null,r.p=2,m)return m()}finally{u.T=p,r.p=y,r.d.f()}},Ee.preconnect=function(m,p){typeof m=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,r.d.C(m,p))},Ee.prefetchDNS=function(m){typeof m=="string"&&r.d.D(m)},Ee.preinit=function(m,p){if(typeof m=="string"&&p&&typeof p.as=="string"){var y=p.as,g=h(y,p.crossOrigin),b=typeof p.integrity=="string"?p.integrity:void 0,w=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;y==="style"?r.d.S(m,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:g,integrity:b,fetchPriority:w}):y==="script"&&r.d.X(m,{crossOrigin:g,integrity:b,fetchPriority:w,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Ee.preinitModule=function(m,p){if(typeof m=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var y=h(p.as,p.crossOrigin);r.d.M(m,{crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&r.d.M(m)},Ee.preload=function(m,p){if(typeof m=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var y=p.as,g=h(y,p.crossOrigin);r.d.L(m,y,{crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},Ee.preloadModule=function(m,p){if(typeof m=="string")if(p){var y=h(p.as,p.crossOrigin);r.d.m(m,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else r.d.m(m)},Ee.requestFormReset=function(m){r.d.r(m)},Ee.unstable_batchedUpdates=function(m,p){return m(p)},Ee.useFormState=function(m,p,y){return u.H.useFormState(m,p,y)},Ee.useFormStatus=function(){return u.H.useHostTransitionStatus()},Ee.version="19.2.1",Ee}var $v;function Hb(){if($v)return yd.exports;$v=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}return t(),yd.exports=uC(),yd.exports}/**
34 * @license React
35 * react-dom-client.production.js
36 *
37 * Copyright (c) Meta Platforms, Inc. and affiliates.
38 *
39 * This source code is licensed under the MIT license found in the
40 * LICENSE file in the root directory of this source tree.
41 */var Jv;function fC(){if(Jv)return Jr;Jv=1;var t=cC(),n=jc(),s=Hb();function r(e){var i="https://react.dev/errors/"+e;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)i+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function c(e){var i=e,a=e;if(e.alternate)for(;i.return;)i=i.return;else{e=i;do i=e,(i.flags&4098)!==0&&(a=i.return),e=i.return;while(e)}return i.tag===3?a:null}function u(e){if(e.tag===13){var i=e.memoizedState;if(i===null&&(e=e.alternate,e!==null&&(i=e.memoizedState)),i!==null)return i.dehydrated}return null}function h(e){if(e.tag===31){var i=e.memoizedState;if(i===null&&(e=e.alternate,e!==null&&(i=e.memoizedState)),i!==null)return i.dehydrated}return null}function m(e){if(c(e)!==e)throw Error(r(188))}function p(e){var i=e.alternate;if(!i){if(i=c(e),i===null)throw Error(r(188));return i!==e?null:e}for(var a=e,o=i;;){var f=a.return;if(f===null)break;var d=f.alternate;if(d===null){if(o=f.return,o!==null){a=o;continue}break}if(f.child===d.child){for(d=f.child;d;){if(d===a)return m(f),e;if(d===o)return m(f),i;d=d.sibling}throw Error(r(188))}if(a.return!==o.return)a=f,o=d;else{for(var v=!1,S=f.child;S;){if(S===a){v=!0,a=f,o=d;break}if(S===o){v=!0,o=f,a=d;break}S=S.sibling}if(!v){for(S=d.child;S;){if(S===a){v=!0,a=d,o=f;break}if(S===o){v=!0,o=d,a=f;break}S=S.sibling}if(!v)throw Error(r(189))}}if(a.alternate!==o)throw Error(r(190))}if(a.tag!==3)throw Error(r(188));return a.stateNode.current===a?e:i}function y(e){var i=e.tag;if(i===5||i===26||i===27||i===6)return e;for(e=e.child;e!==null;){if(i=y(e),i!==null)return i;e=e.sibling}return null}var g=Object.assign,b=Symbol.for("react.element"),w=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),Q=Symbol.for("react.consumer"),B=Symbol.for("react.context"),Z=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),W=Symbol.for("react.memo_cache_sentinel"),it=Symbol.iterator;function et(e){return e===null||typeof e!="object"?null:(e=it&&e[it]||e["@@iterator"],typeof e=="function"?e:null)}var at=Symbol.for("react.client.reference");function rt(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===at?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case A:return"Fragment";case C:return"Profiler";case M:return"StrictMode";case k:return"Suspense";case G:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case E:return"Portal";case B:return e.displayName||"Context";case Q:return(e._context.displayName||"Context")+".Consumer";case Z:var i=e.render;return e=e.displayName,e||(e=i.displayName||i.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case N:return i=e.displayName||null,i!==null?i:rt(e.type)||"Memo";case D:i=e._payload,e=e._init;try{return rt(e(i))}catch{}}return null}var ct=Array.isArray,j=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,z={pending:!1,data:null,method:null,action:null},nt=[],ot=-1;function T(e){return{current:e}}function q(e){0>ot||(e.current=nt[ot],nt[ot]=null,ot--)}function U(e,i){ot++,nt[ot]=e.current,e.current=i}var F=T(null),tt=T(null),ft=T(null),ut=T(null);function vt(e,i){switch(U(ft,i),U(tt,e),U(F,null),i.nodeType){case 9:case 11:e=(e
vendor: 12,036 bytes, lines 41-48
41=i.documentElement)&&(e=e.namespaceURI)?Zy(e):0;break;default:if(e=i.tagName,i=i.namespaceURI)i=Zy(i),e=$y(i,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}q(F),U(F,e)}function At(){q(F),q(tt),q(ft)}function oe(e){e.memoizedState!==null&&U(ut,e);var i=F.current,a=$y(i,e.type);i!==a&&(U(tt,e),U(F,a))}function he(e){tt.current===e&&(q(F),q(tt)),ut.current===e&&(q(ut),Yr._currentValue=z)}var me,Qn;function yn(e){if(me===void 0)try{throw Error()}catch(a){var i=a.stack.trim().match(/\n( *(at )?)/);me=i&&i[1]||"",Qn=-1<a.stack.indexOf(`
42    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
43`+me+e+Qn}var er=!1;function Is(e,i){if(!e||er)return"";er=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(i){var $=function(){throw Error()};if(Object.defineProperty($.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct($,[])}catch(Y){var I=Y}Reflect.construct(e,[],$)}else{try{$.call()}catch(Y){I=Y}e.call($.prototype)}}else{try{throw Error()}catch(Y){I=Y}($=e())&&typeof $.catch=="function"&&$.catch(function(){})}}catch(Y){if(Y&&I&&typeof Y.stack=="string")return[Y.stack,I.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=o.DetermineComponentFrameRoot(),v=d[0],S=d[1];if(v&&S){var R=v.split(`
44`),V=S.split(`
45`);for(f=o=0;o<R.length&&!R[o].includes("DetermineComponentFrameRoot");)o++;for(;f<V.length&&!V[f].includes("DetermineComponentFrameRoot");)f++;if(o===R.length||f===V.length)for(o=R.length-1,f=V.length-1;1<=o&&0<=f&&R[o]!==V[f];)f--;for(;1<=o&&0<=f;o--,f--)if(R[o]!==V[f]){if(o!==1||f!==1)do if(o--,f--,0>f||R[o]!==V[f]){var K=`
46`+R[o].replace(" at new "," at ");return e.displayName&&K.includes("<anonymous>")&&(K=K.replace("<anonymous>",e.displayName)),K}while(1<=o&&0<=f);break}}}finally{er=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?yn(a):""}function ss(e,i){switch(e.tag){case 26:case 27:case 5:return yn(e.type);case 16:return yn("Lazy");case 13:return e.child!==i&&i!==null?yn("Suspense Fallback"):yn("Suspense");case 19:return yn("SuspenseList");case 0:case 15:return Is(e.type,!1);case 11:return Is(e.type.render,!1);case 1:return Is(e.type,!0);case 31:return yn("Activity");default:return""}}function nr(e){try{var i="",a=null;do i+=ss(e,a),a=e,e=e.return;while(e);return i}catch(o){return`
47Error generating stack: `+o.message+`
48`+o.stack}}var Qe=Object.prototype.hasOwnProperty,ir=t.unstable_scheduleCallback,sr=t.unstable_cancelCallback,Ce=t.unstable_shouldYield,vi=t.unstable_requestPaint,Oe=t.unstable_now,Xc=t.unstable_getCurrentPriorityLevel,as=t.unstable_ImmediatePriority,Lo=t.unstable_UserBlockingPriority,rs=t.unstable_NormalPriority,ar=t.unstable_LowPriority,Gn=t.unstable_IdlePriority,ko=t.log,xi=t.unstable_setDisableYieldValue,os=null,Re=null;function vn(e){if(typeof ko=="function"&&xi(e),Re&&typeof Re.setStrictMode=="function")try{Re.setStrictMode(os,e)}catch{}}var Se=Math.clz32?Math.clz32:Rn,Zc=Math.log,rr=Math.LN2;function Rn(e){return e>>>=0,e===0?32:31-(Zc(e)/rr|0)|0}var Qs=256,Gs=262144,ls=4194304;function jn(e){var i=e&42;if(i!==0)return i;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&261888;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 bt(e,i,a){var o=e.pendingLanes;if(o===0)return 0;var f=0,d=e.suspendedLanes,v=e.pingedLanes;e=e.warmLanes;var S=o&134217727;return S!==0?(o=S&~d,o!==0?f=jn(o):(v&=S,v!==0?f=jn(v):a||(a=S&~e,a!==0&&(f=jn(a))))):(S=o&~d,S!==0?f=jn(S):v!==0?f=jn(v):a||(a=o&~e,a!==0&&(f=jn(a)))),f===0?0:i!==0&&i!==f&&(i&d)===0&&(d=f&-f,a=i&-i,d>=a||d===32&&(a&4194048)!==0)?i:f}function It(e,i){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&i)===0}function ue(e,i){switch(e){case 1:case 2:case 4:case 8:case 64:return i+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 i+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 we(){var e=ls;return ls<<=1,(ls&62914560)===0&&(ls=4194304),e}function bi(e){for(var i=[],a=0;31>a;a++)i.push(e);return i}function Yt(e,i){e.pendingLanes|=i,i!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function _e(e,i,a,o,f,d){var v=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var S=e.entanglements,R=e.expirationTimes,V=e.hiddenUpdates;for(a=v&~a;0<a;){var K=31-Se(a),$=1<<K;S[K]=0,R[K]=-1;var I=V[K];if(I!==null)for(V[K]=null,K=0;K<I.length;K++){var Y=I[K];Y!==null&&(Y.lane&=-536870913)}a&=~$}o!==0&&cs(e,o,0),d!==0&&f===0&&e.tag!==0&&(e.suspendedLanes|=d&~(v&~i))}function cs(e,i,a){e.pendingLanes|=i,e.suspendedLanes&=~i;var o=31-Se(i);e.entangledLanes|=i,e.entanglements[o]=e.entanglements[o]|1073741824|a&261930}function De(e,i){var a=e.entangledLanes|=i;for(e=e.entanglements;a;){var o=31-Se(a),f=1<<o;f&i|e[o]&i&&(e[o]|=i),a&=~f}}function ze(e,i){var a=i&-i;return a=(a&42)!==0?1:Ys(a),(a&(e.suspendedLanes|i))!==0?0:a}function Ys(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 xn(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function $c(){var e=P.p;return e!==0?e:(e=window.event,e===void 0?32:bv(e.type))}function Lm(e,i){var a=P.p;try{return P.p=e,i()}finally{P.p=a}}var Si=Math.random().toString(36).slice(2),pe="__reactFiber$"+Si,Pe="__reactProps$"+Si,Fs="__reactContainer$"+Si,Jc="__reactEvents$"+Si,kw="__reactListeners$"+Si,Uw="__reactHandles$"+Si,km="__reactResources$"+Si,or="__reactMarker$"+Si;function Wc(e){delete e[pe],delete e[Pe],delete e[Jc],delete e[kw],delete e[Uw]}function Ks(e){var i=e[pe];if(i)return i;for(var a=e.parentNode;a;){if(i=a[Fs]||a[pe]){if(a=i.alternate,i.child!==null||a!==null&&a.child!==null)for(e=sv(e);e!==null;){if(a=e[pe])return a;e=sv(e)}return i}e=a,a=e.parentNode}return null}function Xs(e){if(e=e[pe]||e[Fs]){var i=e.tag;if(i===5||i===6||i===13||i===31||i===26||i===27||i===3)return e}return null}function lr(e){var i=e.tag;if(i===5||i===26||i===27||i===6)return e.stateNode;throw Error(r(33))}function Zs(e){var i=e[km];return i||(i=e[km]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function fe(e){e[or]=!0}var Um=new Set,Hm={};function us(e,i){$s(e,i),$s(e+"Capture",i)}function $s(e,i){for(Hm[e]=i,e=0;e<i.length;e++)Um.add(i[e])}var Hw=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]*$"),Vm={},Bm={};function Vw(e){return Qe.call(Bm,e)?!0:Qe.call(Vm,e)?!1:Hw.test(e)?Bm[e]=!0:(Vm[e]=!0,!1)}function Uo(e,i,a){if(Vw(i))if(a===null)e.removeAttribute(i);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(i);return;case"boolean":var o=i.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(i);return}}e.setAttribute(i,""+a)}}function Ho(e,i,a){if(a===null)e.removeAttribute(i);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(i);return}e.setAttribute(i,""+a)}}function Yn(e,i,a,o){if(o===null)e.removeAttribute(a);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(i,a,""+o)}}function nn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function qm(e){var i=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function Bw(e,i,a){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,i);if(!e.hasOwnProperty(i)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var f=o.get,d=o.set;return Object.defineProperty(e,i,{configurable:!0,get:function(){return f.call(this)},set:function(v){a=""+v,d.call(this,v)}}),Object.defineProperty(e,i,{enumerable:o.enumerable}),{getValue:function(){return a},setValue:function(v){a=""+v},stopTracking:function(){e._valueTracker=null,delete e[i]}}}}function tu(e){if(!e._valueTracker){var i=qm(e)?"checked":"value";e._valueTracker=Bw(e,i,""+e[i])}}function Im(e){if(!e)return!1;var i=e._valueTracker;if(!i)return!0;var a=i.getValue(),o="";return e&&(o=qm(e)?e.checked?"true":"false":e.value),e=o,e!==a?(i.setValue(e),!0):!1}function Vo(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var qw=/[\n"\\]/g;function sn(e){return e.replace(qw,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function eu(e,i,a,o,f,d,v,S){e.name="",v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?e.type=v:e.removeAttribute("type"),i!=null?v==="number"?(i===0&&e.value===""||e.value!=i)&&(e.value=""+nn(i)):e.value!==""+nn(i)&&(e.value=""+nn(i)):v!=="submit"&&v!=="reset"||e.removeAttribute("value"),i!=null?nu(e,v,nn(i)):a!=null?nu(e,v,nn(a)):o!=null&&e.removeAttribute("value"),f==null&&d!=null&&(e.defaultChecked=!!d),f!=null&&(e.checked=f&&typeof f!="function"&&typeof f!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?e.name=""+nn(S):e.removeAttribute("name")}function Qm(e,i,a,o,f,d,v,S){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.type=d),i!=null||a!=null){if(!(d!=="submit"&&d!=="reset"||i!=null)){tu(e);return}a=a!=null?""+nn(a):"",i=i!=null?""+nn(i):a,S||i===e.value||(e.value=i),e.defaultValue=i}o=o??f,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=S?e.checked:!!o,e.defaultChecked=!!o,v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(e.name=v),tu(e)}function nu(e,i,a){i==="number"&&Vo(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Js(e,i,a,o){if(e=e.options,i){i={};for(var f=0;f<a.length;f++)i["$"+a[f]]=!0;for(a=0;a<e.length;a++)f=i.hasOwnProperty("$"+e[a].value),e[a].selected!==f&&(e[a].selected=f),f&&o&&(e[a].defaultSelected=!0)}else{for(a=""+nn(a),i=null,f=0;f<e.length;f++){if(e[f].value===a){e[f].selected=!0,o&&(e[f].defaultSelected=!0);return}i!==null||e[f].disabled||(i=e[f])}i!==null&&(i.selected=!0)}}function Gm(e,i,a){if(i!=null&&(i=""+nn(i),i!==e.value&&(e.value=i),a==null)){e.defaultValue!==i&&(e.defaultValue=i);return}e.defaultValue=a!=null?""+nn(a):""}function Ym(e,i,a,o){if(i==null){if(o!=null){if(a!=null)throw Error(r(92));if(ct(o)){if(1<o.length)throw Error(r(93));o=o[0]}a=o}a==null&&(a=""),i=a}a=nn(i),e.defaultValue=a,o=e.textContent,o===a&&o!==""&&o!==null&&(e.value=o),tu(e)}function Ws(e,i){if(i){var a=e.firstChild;
vendor: 4,140 bytes, line 48
48if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=i;return}}e.textContent=i}var Iw=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 Fm(e,i,a){var o=i.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?o?e.setProperty(i,""):i==="float"?e.cssFloat="":e[i]="":o?e.setProperty(i,a):typeof a!="number"||a===0||Iw.has(i)?i==="float"?e.cssFloat=a:e[i]=(""+a).trim():e[i]=a+"px"}function Km(e,i,a){if(i!=null&&typeof i!="object")throw Error(r(62));if(e=e.style,a!=null){for(var o in a)!a.hasOwnProperty(o)||i!=null&&i.hasOwnProperty(o)||(o.indexOf("--")===0?e.setProperty(o,""):o==="float"?e.cssFloat="":e[o]="");for(var f in i)o=i[f],i.hasOwnProperty(f)&&a[f]!==o&&Fm(e,f,o)}else for(var d in i)i.hasOwnProperty(d)&&Fm(e,d,i[d])}function iu(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 Qw=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"],["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
48-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"]]),Gw=/^[\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 Bo(e){return Gw.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Fn(){}var su=null;function au(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ta=null,ea=null;function Xm(e){var i=Xs(e);if(i&&(e=i.stateNode)){var a=e[Pe]||null;t:switch(e=i.stateNode,i.type){case"input":if(eu(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),i=a.name,a.type==="radio"&&i!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+sn(""+i)+'"][type="radio"]'),i=0;i<a.length;i++){var o=a[i];if(o!==e&&o.form===e.form){var f=o[Pe]||null;if(!f)throw Error(r(90));eu(o,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(i=0;i<a.length;i++)o=a[i],o.form===e.form&&Im(o)}break t;case"textarea":Gm(e,a.value,a.defaultValue);break t;case"select":i=a.value,i!=null&&Js(e,!!a.multiple,i,!1)}}}var ru=!1;function Zm(e,i,a){if(ru)return e(i,a);ru=!0;try{var o=e(i);return o}finally{if(ru=!1,(ta!==null||ea!==null)&&(Rl(),ta&&(i=ta,e=ea,ea=ta=null,Xm(i),e)))for(i=0;i<e.length;i++)Xm(e[i])}}function cr(e,i){var a=e.stateNode;if(a===null)return null;var o=a[Pe]||null;if(o===null)return null;a=o[i];
vendor: 8,993 bytes, line 48
48t:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break t;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(r(231,i,typeof a));return a}var Kn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ou=!1;if(Kn)try{var ur={};Object.defineProperty(ur,"passive",{get:function(){ou=!0}}),window.addEventListener("test",ur,ur),window.removeEventListener("test",ur,ur)}catch{ou=!1}var wi=null,lu=null,qo=null;function $m(){if(qo)return qo;var e,i=lu,a=i.length,o,f="value"in wi?wi.value:wi.textContent,d=f.length;for(e=0;e<a&&i[e]===f[e];e++);var v=a-e;for(o=1;o<=v&&i[a-o]===f[d-o];o++);return qo=f.slice(e,1<o?1-o:void 0)}function Io(e){var i=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&i===13&&(e=13)):e=i,e===10&&(e=13),32<=e||e===13?e:0}function Qo(){return!0}function Jm(){return!1}function Le(e){function i(a,o,f,d,v){this._reactName=a,this._targetInst=f,this.type=o,this.nativeEvent=d,this.target=v,this.currentTarget=null;for(var S in e)e.hasOwnProperty(S)&&(a=e[S],this[S]=a?a(d):d[S]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?Qo:Jm,this.isPropagationStopped=Jm,this}return g(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Qo)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Qo)},persist:function(){},isPersistent:Qo}),i}var fs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Go=Le(fs),fr=g({},fs,{view:0,detail:0}),Yw=Le(fr),cu,uu,dr,Yo=g({},fr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:du,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!==dr&&(dr&&e.type==="mousemove"?(cu=e.screenX-dr.screenX,uu=e.screenY-dr.screenY):uu=cu=0,dr=e),cu)},movementY:function(e){return"movementY"in e?e.movementY:uu}}),Wm=Le(Yo),Fw=g({},Yo,{dataTransfer:0}),Kw=Le(Fw),Xw=g({},fr,{relatedTarget:0}),fu=Le(Xw),Zw=g({},fs,{animationName:0,elapsedTime:0,pseudoElement:0}),$w=Le(Zw),Jw=g({},fs,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Ww=Le(Jw),t2=g({},fs,{data:0}),tp=Le(t2),e2={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},n2={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},i2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function s2(e){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(e):(e=i2[e])?!!i[e]:!1}function du(){return s2}var a2=g({},fr,{key:function(e){if(e.key){var i=e2[e.key]||e.key;if(i!=="Unidentified")return i}return e.type==="keypress"?(e=Io(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?n2[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:du,charCode:function(e){return e.type==="keypress"?Io(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Io(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),r2=Le(a2),o2=g({},Yo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ep=Le(o2),l2=g({},fr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:du}),c2=Le(l2),u2=g({},fs,{propertyName:0,elapsedTime:0,pseudoElement:0}),f2=Le(u2),d2=g({},Yo,{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}),h2=Le(d2),m2=g({},fs,{newState:0,oldState:0}),p2=Le(m2),g2=[9,13,27,32],hu=Kn&&"CompositionEvent"in window,hr=null;Kn&&"documentMode"in document&&(hr=document.documentMode);var y2=Kn&&"TextEvent"in window&&!hr,np=Kn&&(!hu||hr&&8<hr&&11>=hr),ip=" ",sp=!1;function ap(e,i){switch(e){case"keyup":return g2.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var na=!1;function v2(e,i){switch(e){case"compositionend":return rp(i);case"keypress":return i.which!==32?null:(sp=!0,ip);case"textInput":return e=i.data,e===ip&&sp?null:e;default:return null}}function x2(e,i){if(na)return e==="compositionend"||!hu&&ap(e,i)?(e=$m(),qo=lu=wi=null,na=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return np&&i.locale!=="ko"?null:i.data;default:return null}}var b2={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 op(e){var i=e&&e.nodeName&&e.nodeName.toLowerCase();return i==="input"?!!b2[e.type]:i==="textarea"}function lp(e,i,a,o){ta?ea?ea.push(o):ea=[o]:ta=o,i=Pl(i,"onChange"),0<i.length&&(a=new Go("onChange","change",null,a,o),e.push({event:a,listeners:i}))}var mr=null,pr=null;function S2(e){Qy(e,0)}function Fo(e){var i=lr(e);if(Im(i))return e}function cp(e,i){if(e==="change")return i}var up=!1;if(Kn){var mu;if(Kn){var pu="oninput"in document;if(!pu){var fp=document.createElement("div");fp.setAttribute("oninput","return;"),pu=typeof fp.oninput=="function"}mu=pu}else mu=!1;up=mu&&(!document.documentMode||9<document.documentMode)}function dp(){mr&&(mr.detachEvent("onpropertychange",hp),pr=mr=null)}function hp(e){if(e.propertyName==="value"&&Fo(pr)){var i=[];lp(i,pr,e,au(e)),Zm(S2,i)}}function w2(e,i,a){e==="focusin"?(dp(),mr=i,pr=a,mr.attachEvent("onpropertychange",hp)):e==="focusout"&&dp()}function E2(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Fo(pr)}function T2(e,i){if(e==="click")return Fo(i)}function A2(e,i){if(e==="input"||e==="change")return Fo(i)}function C2(e,i){return e===i&&(e!==0||1/e===1/i)||e!==e&&i!==i}var Ge=typeof Object.is=="function"?Object.is:C2;function gr(e,i){if(Ge(e,i))return!0;if(typeof e!="object"||e===null||typeof i!="object"||i===null)return!1;var a=Object.keys(e),o=Object.keys(i);if(a.length!==o.length)return!1;for(o=0;o<a.length;o++){var f=a[o];if(!Qe.call(i,f)||!Ge(e[f],i[f]))return!1}return!0}function mp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pp(e,i){var a=mp(e);e=0;for(var o;a;){if(a.nodeType===3){if(o=e+a.textContent.length,e<=i&&o>=i)return{node:a,offset:i-e};e=o}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=mp(a)}}function gp(e,i){return e&&i?e===i?!0:e&&e.nodeType===3?!1:i&&i.nodeType===3?gp(e,i.parentNode):"contains"in e?e.contains(i):e.compareDocumentPosition?!!(e.compareDocumentPosition(i)&16):!1:!1}function yp(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var i=Vo(e.document);i instanceof e.HTMLIFrameElement;){try{var a=typeof i.contentWindow.location.href=="string"}catch{a=!1}if(a)e=i.contentWindow;else break;i=Vo(e.document)}return i}function gu(e){var i=e&&e.nodeName&&e.nodeName.toLowerCase();return i&&(i==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||i==="textarea"||e.contentEditable==="true")}var O2=Kn&&"documentMode"in document&&11>=document.documentMode,ia=null,yu=null,yr=null,vu=!1;function vp(e,i,a){var o=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;vu||ia==null||ia!==Vo(o)||(o=ia,"selectionStart"in o&&gu(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focu
vendor: 22,181 bytes, line 48
48sNode:o.focusNode,focusOffset:o.focusOffset}),yr&&gr(yr,o)||(yr=o,o=Pl(yu,"onSelect"),0<o.length&&(i=new Go("onSelect","select",null,i,a),e.push({event:i,listeners:o}),i.target=ia)))}function ds(e,i){var a={};return a[e.toLowerCase()]=i.toLowerCase(),a["Webkit"+e]="webkit"+i,a["Moz"+e]="moz"+i,a}var sa={animationend:ds("Animation","AnimationEnd"),animationiteration:ds("Animation","AnimationIteration"),animationstart:ds("Animation","AnimationStart"),transitionrun:ds("Transition","TransitionRun"),transitionstart:ds("Transition","TransitionStart"),transitioncancel:ds("Transition","TransitionCancel"),transitionend:ds("Transition","TransitionEnd")},xu={},xp={};Kn&&(xp=document.createElement("div").style,"AnimationEvent"in window||(delete sa.animationend.animation,delete sa.animationiteration.animation,delete sa.animationstart.animation),"TransitionEvent"in window||delete sa.transitionend.transition);function hs(e){if(xu[e])return xu[e];if(!sa[e])return e;var i=sa[e],a;for(a in i)if(i.hasOwnProperty(a)&&a in xp)return xu[e]=i[a];return e}var bp=hs("animationend"),Sp=hs("animationiteration"),wp=hs("animationstart"),R2=hs("transitionrun"),j2=hs("transitionstart"),M2=hs("transitioncancel"),Ep=hs("transitionend"),Tp=new Map,bu="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error 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(" ");bu.push("scrollEnd");function bn(e,i){Tp.set(e,i),us(i,[e])}var Ko=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},an=[],aa=0,Su=0;function Xo(){for(var e=aa,i=Su=aa=0;i<e;){var a=an[i];an[i++]=null;var o=an[i];an[i++]=null;var f=an[i];an[i++]=null;var d=an[i];if(an[i++]=null,o!==null&&f!==null){var v=o.pending;v===null?f.next=f:(f.next=v.next,v.next=f),o.pending=f}d!==0&&Ap(a,f,d)}}function Zo(e,i,a,o){an[aa++]=e,an[aa++]=i,an[aa++]=a,an[aa++]=o,Su|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function wu(e,i,a,o){return Zo(e,i,a,o),$o(e)}function ms(e,i){return Zo(e,null,null,i),$o(e)}function Ap(e,i,a){e.lanes|=a;var o=e.alternate;o!==null&&(o.lanes|=a);for(var f=!1,d=e.return;d!==null;)d.childLanes|=a,o=d.alternate,o!==null&&(o.childLanes|=a),d.tag===22&&(e=d.stateNode,e===null||e._visibility&1||(f=!0)),e=d,d=d.return;return e.tag===3?(d=e.stateNode,f&&i!==null&&(f=31-Se(a),e=d.hiddenUpdates,o=e[f],o===null?e[f]=[i]:o.push(i),i.lane=a|536870912),d):null}function $o(e){if(50<Hr)throw Hr=0,_f=null,Error(r(185));for(var i=e.return;i!==null;)e=i,i=e.return;return e.tag===3?e.stateNode:null}var ra={};function N2(e,i,a,o){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ye(e,i,a,o){return new N2(e,i,a,o)}function Eu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Xn(e,i){var a=e.alternate;return a===null?(a=Ye(e.tag,i,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=i,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,i=e.dependencies,a.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function Cp(e,i){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=i,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,i=a.dependencies,e.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),e}function Jo(e,i,a,o,f,d){var v=0;if(o=e,typeof e=="function")Eu(e)&&(v=1);else if(typeof e=="string")v=LE(e,a,F.current)?26:e==="html"||e==="head"||e==="body"?27:5;else t:switch(e){case J:return e=Ye(31,a,i,f),e.elementType=J,e.lanes=d,e;case A:return ps(a.children,f,d,i);case M:v=8,f|=24;break;case C:return e=Ye(12,a,i,f|2),e.elementType=C,e.lanes=d,e;case k:return e=Ye(13,a,i,f),e.elementType=k,e.lanes=d,e;case G:return e=Ye(19,a,i,f),e.elementType=G,e.lanes=d,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case B:v=10;break t;case Q:v=9;break t;case Z:v=11;break t;case N:v=14;break t;case D:v=16,o=null;break t}v=29,a=Error(r(130,e===null?"null":typeof e,"")),o=null}return i=Ye(v,a,i,f),i.elementType=e,i.type=o,i.lanes=d,i}function ps(e,i,a,o){return e=Ye(7,e,o,i),e.lanes=a,e}function Tu(e,i,a){return e=Ye(6,e,null,i),e.lanes=a,e}function Op(e){var i=Ye(18,null,null,0);return i.stateNode=e,i}function Au(e,i,a){return i=Ye(4,e.children!==null?e.children:[],e.key,i),i.lanes=a,i.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},i}var Rp=new WeakMap;function rn(e,i){if(typeof e=="object"&&e!==null){var a=Rp.get(e);return a!==void 0?a:(i={value:e,source:i,stack:nr(i)},Rp.set(e,i),i)}return{value:e,source:i,stack:nr(i)}}var oa=[],la=0,Wo=null,vr=0,on=[],ln=0,Ei=null,Mn=1,Nn="";function Zn(e,i){oa[la++]=vr,oa[la++]=Wo,Wo=e,vr=i}function jp(e,i,a){on[ln++]=Mn,on[ln++]=Nn,on[ln++]=Ei,Ei=e;var o=Mn;e=Nn;var f=32-Se(o)-1;o&=~(1<<f),a+=1;var d=32-Se(i)+f;if(30<d){var v=f-f%5;d=(o&(1<<v)-1).toString(32),o>>=v,f-=v,Mn=1<<32-Se(i)+f|a<<f|o,Nn=d+e}else Mn=1<<d|a<<f|o,Nn=e}function Cu(e){e.return!==null&&(Zn(e,1),jp(e,1,0))}function Ou(e){for(;e===Wo;)Wo=oa[--la],oa[la]=null,vr=oa[--la],oa[la]=null;for(;e===Ei;)Ei=on[--ln],on[ln]=null,Nn=on[--ln],on[ln]=null,Mn=on[--ln],on[ln]=null}function Mp(e,i){on[ln++]=Mn,on[ln++]=Nn,on[ln++]=Ei,Mn=i.id,Nn=i.overflow,Ei=e}var ge=null,Bt=null,Mt=!1,Ti=null,cn=!1,Ru=Error(r(519));function Ai(e){var i=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw xr(rn(i,e)),Ru}function Np(e){var i=e.stateNode,a=e.type,o=e.memoizedProps;switch(i[pe]=e,i[Pe]=o,a){case"dialog":Ot("cancel",i),Ot("close",i);break;case"iframe":case"object":case"embed":Ot("load",i);break;case"video":case"audio":for(a=0;a<Br.length;a++)Ot(Br[a],i);break;case"source":Ot("error",i);break;case"img":case"image":case"link":Ot("error",i),Ot("load",i);break;case"details":Ot("toggle",i);break;case"input":Ot("invalid",i),Qm(i,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"select":Ot("invalid",i);break;case"textarea":Ot("invalid",i),Ym(i,o.value,o.defaultValue,o.children)}a=o.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||i.textContent===""+a||o.suppressHydrationWarning===!0||Ky(i.textContent,a)?(o.popover!=null&&(Ot("beforetoggle",i),Ot("toggle",i)),o.onScroll!=null&&Ot("scroll",i),o.onScrollEnd!=null&&Ot("scrollend",i),o.onClick!=null&&(i.onclick=Fn),i=!0):i=!1,i||Ai(e,!0)}function _p(e){for(ge=e.return;ge;)switch(ge.tag){case 5:case 31:case 13:cn=!1;return;case 27:case 3:cn=!0;return;default:ge=ge.return}}function ca(e){if(e!==ge)return!1;if(!Mt)return _p(e),Mt=!0,!1;var i=e.tag,a;if((a=i!==3&&i!==27)&&((a=i===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||Ff(e.type,e.memoizedProps)),a=!a),a&&Bt&&Ai(e),_p(e),i===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Bt=iv(e)}else if(i===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Bt=iv(e)}else i===27?(i=Bt,Hi(e.type)?(e=Jf,Jf=null,Bt=e):Bt=i):Bt=ge?fn(e.stateNode.nextSibling):null;return!0}function gs(){Bt=ge=null,Mt=!1}function ju(){var e=Ti;return e!==null&&(Ve===null?Ve=e:Ve.push.apply(Ve,e),Ti=null),e}function xr(e){Ti===null?Ti=[e]:Ti.push(e)}var Mu=T(null),ys=null,$n=null;function Ci(e,i,a){U(Mu,i._currentValue),i._currentValue=a}function Jn(e){e._currentValue=Mu.current,q(Mu)}function Nu(e,i,a){for(;e!==null;){var o=e.alternate;if((e.childLanes&i)!==i?(e.childLanes|=i,o!==null&&(o.childLanes|=i)):o!==null&&(o.childLanes&i)!==i&&(o.childLanes|=i),e===a)break;e=e.return}}function _u(e,i,a,o){var f=e.child;for(f!==null&&(f.return=e);f!==null;){var d=f.dependencies;if(d!==null){var v=f.child;d=d.firstContext;t:for(;d!==null;){var S=d;d=f;for(var R=0;R<i.length;R++)if(S.context===i[R]){d.lanes|=a,S=d.alternate,S!==null&&(S.lanes|=a),Nu(d.return,a,e),o||(v=null);break t}d=S.next}}else if(f.tag===18){if(v=f.return,v===null)throw Error(r(341));v.lanes|=a,d=v.alternate,d!==null&&(d.lanes|=a),Nu(v,a,e),v=null}else v=f.child;if(v!==null)v.return=f;else for(v=f;v!==null;){if(v===e){v=null;break}if(f=v.sibling,f!==null){f.return=v.return,v=f;break}v=v.return}f=v}}function ua(e,i,a,o){e=null;for(var f=i,d=!1;f!==null;){if(!d){if((f.flags&524288)!==0)d=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var v=f.alternate;if(v===null)throw Error(r(387));if(v=v.memoizedProps,v!==null){var S=f.type;Ge(f.pendingProps.value,v.value)||(e!==null?e.push(S):e=[S])}}else if(f===ut.current){if(v=f.alternate,v===null)throw Error(r(387));v.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(e!==null?e.push(Yr):e=[Yr])}f=f.return}e!==null&&_u(i,e,a,o),i.flags|=262144}function tl(e){for(e=e.firstContext;e!==null;){if(!Ge(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function vs(e){ys=e,$n=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ye(e){return Dp(ys,e)}function el(e,i){return ys===null&&vs(e),Dp(e,i)}function Dp(e,i){var a=i._currentValue;if(i={context:i,memoizedValue:a,next:null},$n===null){if(e===null)throw Error(r(308));$n=i,e.dependencies={lanes:0,firstContext:i},e.flags|=524288}else $n=$n.next=i;return a}var _2=typeof AbortController<"u"?AbortController:function(){var e=[],i=this.signal={aborted:!1,addEventListener:function(a,o){e.push(o)}};this.abort=function(){i.aborted=!0,e.forEach(function(a){return a()})}},D2=t.unstable_scheduleCallback,z2=t.unstable_NormalPriority,ne={$$typeof:B,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Du(){return{controller:new _2,data:new Map,refCount:0}}function br(e){e.refCount--,e.refCount===0&&D2(z2,function(){e.controller.abort()})}var Sr=null,zu=0,fa=0,da=null;function P2(e,i){if(Sr===null){var a=Sr=[];zu=0,fa=Uf(),da={status:"pending",value:void 0,then:function(o){a.push(o)}}}return zu++,i.then(zp,zp),i}function zp(){if(--zu===0&&Sr!==null){da!==null&&(da.status="fulfilled");var e=Sr;Sr=null,fa=0,da=null;for(var i=0;i<e.length;i++)(0,e[i])()}}function L2(e,i){var a=[],o={status:"pending",value:null,reason:null,then:function(f){a.push(f)}};return e.then(function(){o.status="fulfilled",o.value=i;for(var f=0;f<a.length;f++)(0,a[f])(i)},function(f){for(o.status="rejected",o.reason=f,f=0;f<a.length;f++)(0,a[f])(void 0)}),o}var Pp=j.S;j.S=function(e,i){vy=Oe(),typeof i=="object"&&i!==null&&typeof i.then=="function"&&P2(e,i),Pp!==null&&Pp(e,i)};var xs=T(null);function Pu(){var e=xs.current;return e!==null?e:Vt.pooledCache}function nl(e,i){i===null?U(xs,xs.current):U(xs,i.pool)}function Lp(){var e=Pu();return e===null?null:{parent:ne._currentValue,pool:e}}var ha=Error(r(460)),Lu=Error(r(474)),il=Error(r(542)),sl={then:function(){}};function kp(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Up(e,i,a){switch(a=e[a],a===void 0?e.push(i):a!==i&&(i.then(Fn,Fn),i=a),i.status){case"fulfilled":return i.value;case"rejected":throw e=i.reason,Vp(e),e;default:if(typeof i.status=="string")i.then(Fn,Fn);else{if(e=Vt,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=i,e.status="pending",e.then(function(o){if(i.status==="pending"){var f=i;f.status="fulfilled",f.value=o}},function(o){if(i.status==="pending"){var f=i;f.status="rejected",f.reason=o}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw e=i.reason,Vp(e),e}throw Ss=i,ha}}function bs(e){try{var i=e._init;return i(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(Ss=a,ha):a}}var Ss=null;function Hp(){if(Ss===null)throw Error(r(459));var e=Ss;return Ss=null,e}function Vp(e){if(e===ha||e===il)throw Error(r(483))}var ma=null,wr=0;function al(e){var i=wr;return wr+=1,ma===null&&(ma=[]),Up(ma,e,i)}function Er(e,i){i=i.props.ref,e.ref=i!==void 0?i:null}function rl(e,i){throw i.$$typeof===b?Error(r(525)):(e=Object.prototype.toString.call(i),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":e)))}function Bp(e){function i(L,_){if(e){var H=L.deletions;H===null?(L.deletions=[_],L.flags|=16):H.push(_)}}function a(L,_){if(!e)return null;for(;_!==null;)i(L,_),_=_.sibling;return null}function o(L){for(var _=new Map;L!==null;)L.key!==null?_.set(L.key,L):_.set(L.index,L),L=L.sibling;return _}function f(L,_){return L=Xn(L,_),L.index=0,L.sibling=null,L}function d(L,_,H){return L.index=H,e?(H=L.alternate,H!==null?(H=H.index,H<_?(L.flags|=67108866,_):H):(L.flags|=67108866,_)):(L.flags|=1048576,_)}function v(L){return e&&L.alternate===null&&(L.flags|=67108866),L}function S(L,_,H,X){return _===null||_.tag!==6?(_=Tu(H,L.mode,X),_.return=L,_):(_=f(_,H),_.return=L,_)}function R(L,_,H,X){var gt=H.type;return gt===A?K(L,_,H.props.children,X,H.key):_!==null&&(_.elementType===gt||typeof gt=="object"&&gt!==null&&gt.$$typeof===D&&bs(gt)===_.type)?(_=f(_,H.props),Er(_,H),_.return=L,_):(_=Jo(H.type,H.key,H.props,null,L.mode,X),Er(_,H),_.return=L,_)}function V(L,_,H,X){return _===null||_.tag!==4||_.stateNode.containerInfo!==H.containerInfo||_.stateNode.implementation!==H.implementation?(_=Au(H,L.mode,X),_.return=L,_):(_=f(_,H.children||[]),_.return=L,_)}function K(L,_,H,X,gt){return _===null||_.tag!==7?(_=ps(H,L.mode,X,gt),_.return=L,_):(_=f(_,H),_.return=L,_)}function $(L,_,H){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return _=Tu(""+_,L.mode,H),_.return=L,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case w:return H=Jo(_.type,_.key,_.props,null,L.mode,H),Er(H,_),H.return=L,H;case E:return _=Au(_,L.mode,H),_.return=L,_;case D:return _=bs(_),$(L,_,H)}if(ct(_)||et(_))return _=ps(_,L.mode,H,null),_.return=L,_;if(typeof _.then=="function")return $(L,al(_),H);if(_.$$typeof===B)return $(L,el(L,_),H);rl(L,_)}return null}function I(L,_,H,X){var gt=_!==null?_.key:null;if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return gt!==null?null:S(L,_,""+H,X);if(typeof H=="object"&&H!==null){switch(H.$$typeof){case w:return H.key===gt?R(L,_,H,X):null;case E:return H.key===gt?V(L,_,H,X):null;case D:return H=bs(H),I(L,_,H,X)}if(ct(H)||et(H))return gt!==null?null:K(L,_,H,X,null);if(typeof H.then=="function")return I(L,_,al(H),X);if(H.$$typeof===B)return I(L,_,el(L,H),X);rl(L,H)}return null}function Y(L,_,H,X,gt){if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return L=L.get(H)||null,S(_,L,""+X,gt);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case w:return L=L.get(X.key===null?H:X.key)||null,R(_,L,X,gt);case E:return L=L.get(X.key===null?H:X.key)||null,V(_,L,X,gt);case D:return X=bs(X),Y(L,_,H,X,gt)}if(ct(X)||et(X))return L=L.get(H)||null,K(_,L,X,gt,null);if(typeof X.then=="function")return Y(L,_,H,al(X),gt);if(X.$$typeof===B)return Y(L,_,H,el(_,X),gt);rl(_,X)}return null}function dt(L,_,H,X){for(var gt=null,Nt=null,pt=_,Et=_=0,jt=null;pt!==null&&Et<H.length;Et++){pt.index>Et?(jt=pt,pt=null):jt=pt.sibling;var _t=I(L,pt,H[Et],X);if(_t===null){pt===null&&(pt=jt);break}e&&pt&&_t.alternate===null&&i(L,pt),_=d(_t,_,Et),Nt===null?gt=_t:Nt.sibling=_t,Nt=_t,pt=jt}if(Et===H.length)return a(L,pt),Mt&&Zn(L,Et),gt;if(pt===null){for(;Et<H.length;Et++)pt=$(L,H[Et],X),pt!==null&&(_=d(pt,_,Et),Nt===null?gt=pt:Nt.sibling=pt,Nt=pt);return Mt&&Zn(L,Et),gt}for(pt=o(pt);Et<H.length;Et++)jt=Y(pt,L,Et,H[Et],X),jt!==null&&(e&&jt.alternate!==null&&pt.delete(jt.key===null?Et:jt.key),_=d(jt,_,Et),Nt===null?gt=jt:Nt.sibling=jt,Nt=jt);return e&&pt.forEach(function(Qi){return i(L,Qi)}),Mt&&Zn(L,Et),gt}function yt(L,_,H,X){if(H==null)throw Error(r(151));for(var gt=null,Nt=null,pt=_,Et=_=0,jt=null,_t=H.next();pt!==null&&!_t.done;Et++,_t=H.next()){pt.index>Et?(jt=pt,pt=null):jt=pt.sibling;var Qi=I(L,pt,_t.value,X);if(Qi===null){pt===null&&(pt=jt);break}e&&pt&&Qi.alternate===null&&i(L,pt),_=d(Qi,_,Et),Nt===null?gt=Qi:Nt.sibling=Qi,Nt=Qi,pt=jt}if(_t.done)return a(L,pt),Mt&&Zn(L,Et),gt;if(pt===null){for(;!_t.done;Et++,_t=H.next())_t=$(L,_t.value,X),_t!==null&&(_=d(_t,_,Et),Nt===null?gt=_t:Nt.sibling=_t,Nt=_t);return Mt&&Zn(L,Et),gt}for(pt=o(pt);!_t.done;Et++,_t=H.next())_t=Y(pt,L,Et,_t.value,X),_t!==null&&(e&&_t.alternate!==null&&pt.delete(_t.key===null?Et:_t.key),_=d(_t,_,Et),Nt===null?gt=_t:Nt.sibling=_t,Nt=_t);return e&&pt.forEach(function(FE){return i(L,FE)}),Mt&&Zn(L,Et),gt}function Ht(L,_,H,X){if(typeof H=="object"&&H!==null&&H.type===A&&H.key===null&&(H=H.props.children),typeof H=="object"&&H!==null){switch(H.$$typeof){case w:t:{for(var gt=H.key;_!==null;){if(_.key===gt){if(gt=H.type,gt===A){if(_.tag===7){a(L,_.sibling),X=f(_,H.props.children),X.return=L,L=X;break t}}else if(_.elementType===gt||typeof gt=="object"&&gt!==null&&gt.$$typeof===D&&bs(gt)===_.type){a(L,_.sibling),X=f(_,H.props),Er(X,H),X.return=L,L=X;break t}a(L,_);break}else i(L,_);_=_.sibling}H.type===A?(X=ps(H.props.children,L.mode,X,H.key),X.return=L,L=X):(X=Jo(H.type,H.key,H.props,null,L.mode,X),Er(X,H),X.return=L,L=X)}return v(L);case E:t:{for(gt=H.key;_!==null;){if(_.key===gt)if(_.tag===4&&_.stateNode.containerInfo===H.containerInfo&&_.stateNode.implementation===H.implementation){a(L,_.sibling),X=f(_,H.children||[]),X.return=L,L=X;break t}else{a(L,_);break}else i(L,_);_=_.sibling}X=Au(H,L.mode,X),X.return=L,L=X}return v(L);case D:return H=bs(H),Ht(L,_,H,X)}if(ct(H))return dt(L,_,H,X);if(et(H)){if(gt=et(H),typeof gt!="function")throw Error(r(150));return H=gt.call(H),yt(L,_,H,X)}if(typeof H.then=="function")return Ht(L,_,al(H),X);if(H.$$typeof===B)return Ht(L,_,el(L,H),X);rl(L,H)}return typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint"?(H=""+H,_!==null&&_.tag===6?(a(L,_.sibling),X=f(_,H),X.return=L,L=X):(a(L,_),X=Tu(H,L.mode,X),X.return=L,L=X),v(L)):a(L,_)}return function(L,_,H,X){try{wr=0;var gt=Ht(L,_,H,X);return ma=null,gt}catch(pt){if(pt===ha||pt===il)throw pt;var Nt=Ye(29,pt,null,L.mode);return Nt.lanes=X,Nt.return=L,Nt}finally{}}}var ws=Bp(!0),qp=Bp(!1),Oi=!1;function ku(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Uu(e,i){e=e.updateQueue,i.updateQueue===e&&(i.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ri(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ji(e,i,a){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,(zt&2)!==0){var f=o.pending;return f===null?i.next=i:(i.next=f.next,f.next=i),o.pending=i,i=$o(e),Ap(e,null,a),i}return Zo(e,o,i,a),$o(e)}function Tr(e,i,a){if(i=i.updateQueue,i!==null&&(i=i.shared,(a&4194048)!==0)){var o=i.lanes;o&=e.pendingLanes,a|=o,i.lanes=a,De(e,a)}}function Hu(e,i){var a=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,a===o)){var f=null,d=null;if(a=a.firstBaseUpdate,a!==null){do{var v={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};d===null?f=d=v:d=d.next=v,a=a.next}while(a!==null);d===null?f=d=i:d=d.next=i}else f=d=i;a={baseState:o.baseState,firstBaseUpdate:f,lastBaseUpdate:d,shared:o.shared,callbacks:o.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=i:e.next=i,a.lastBaseUpdate=i}var Vu=!1;function Ar(){if(Vu){var e=da;if(e!==null)throw e}}function Cr(e,i,a,o){Vu=!1;var f=e.updateQueue;Oi=!1;var d=f.firstBaseUpdate,v=f.lastBaseUpdate,S=f.shared.pending;if(S!==null){f.shared.pending=null;var R=S,V=R.next;R.next=null,v===null?d=V:v.next=V,v=R;var K=e.alternate;K!==null&&(K=K.updateQueue,S=K.lastBaseUpdate,S!==v&&(S===null?K.firstBaseUpdate=V:S.next=V,K.lastBaseUpdate=R))}if(d!==null){var $=f.baseState;v=0,K=V=R=null,S=d;do{var I=S.lane&-536870913,Y=I!==S.lane;if(Y?(Rt&I)===I:(o&I)===I){I!==0&&I===fa&&(Vu=!0),K!==null&&(K=K.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});t:{var dt=e,yt=S;I=i;var Ht=a;switch(yt.tag){case 1:if(dt=yt.payload,typeof dt=="function"){$=dt.call(Ht,$,I);break t}$=dt;break t;case 3:dt.flags=dt.flags&-65537|128;case 0:if(dt=yt.payload,I=typeof dt=="function"?dt.call(Ht,$,I):dt,I==null)break t;$=g({},$,I);break t;case 2:Oi=!0}}I=S.callback,I!==null&&(e.flags|=64,Y&&(e.flags|=8192),Y=f.callbacks,Y===null?f.callbacks=[I]:Y.push(I))}else Y={lane:I,tag:S.tag,payload:S.payload,callback:S.callback,next:null},K===null?(V=K=Y,R=$):K=K.next=Y,v|=I;if(S=S.next,S===null){if(S=f.shared.pending,S===null)break;Y=S,S=Y.next,Y.next=null,f.lastBaseUpdate=Y,f.shared.pending=null}}while(!0);K===null&&(R=$),f.baseState=R,f.firstBaseUpdate=V,f.lastBaseUpdate=K,d===null&&(f.shared.lanes=0),zi|=v,e.lanes=v,e.memoizedState=$}}function Ip(e,i){if(typeof e!="function")throw Error(r(191,e));e.call(i)}function Qp(e,i){var a=e.callbacks;
vendor: 7,785 bytes, line 48
48if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)Ip(a[e],i)}var pa=T(null),ol=T(0);function Gp(e,i){e=oi,U(ol,e),U(pa,i),oi=e|i.baseLanes}function Bu(){U(ol,oi),U(pa,pa.current)}function qu(){oi=ol.current,q(pa),q(ol)}var Fe=T(null),un=null;function Mi(e){var i=e.alternate;U(Jt,Jt.current&1),U(Fe,e),un===null&&(i===null||pa.current!==null||i.memoizedState!==null)&&(un=e)}function Iu(e){U(Jt,Jt.current),U(Fe,e),un===null&&(un=e)}function Yp(e){e.tag===22?(U(Jt,Jt.current),U(Fe,e),un===null&&(un=e)):Ni()}function Ni(){U(Jt,Jt.current),U(Fe,Fe.current)}function Ke(e){q(Fe),un===e&&(un=null),q(Jt)}var Jt=T(0);function ll(e){for(var i=e;i!==null;){if(i.tag===13){var a=i.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Zf(a)||$f(a)))return i}else if(i.tag===19&&(i.memoizedProps.revealOrder==="forwards"||i.memoizedProps.revealOrder==="backwards"||i.memoizedProps.revealOrder==="unstable_legacy-backwards"||i.memoizedProps.revealOrder==="together")){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)break;for(;i.sibling===null;){if(i.return===null||i.return===e)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var Wn=0,wt=null,kt=null,ie=null,cl=!1,ga=!1,Es=!1,ul=0,Or=0,ya=null,k2=0;function Kt(){throw Error(r(321))}function Qu(e,i){if(i===null)return!1;for(var a=0;a<i.length&&a<e.length;a++)if(!Ge(e[a],i[a]))return!1;return!0}function Gu(e,i,a,o,f,d){return Wn=d,wt=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,j.H=e===null||e.memoizedState===null?jg:of,Es=!1,d=a(o,f),Es=!1,ga&&(d=Kp(i,a,o,f)),Fp(e),d}function Fp(e){j.H=Mr;var i=kt!==null&&kt.next!==null;if(Wn=0,ie=kt=wt=null,cl=!1,Or=0,ya=null,i)throw Error(r(300));e===null||se||(e=e.dependencies,e!==null&&tl(e)&&(se=!0))}function Kp(e,i,a,o){wt=e;var f=0;do{if(ga&&(ya=null),Or=0,ga=!1,25<=f)throw Error(r(301));if(f+=1,ie=kt=null,e.updateQueue!=null){var d=e.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}j.H=Mg,d=i(a,o)}while(ga);return d}function U2(){var e=j.H,i=e.useState()[0];return i=typeof i.then=="function"?Rr(i):i,e=e.useState()[0],(kt!==null?kt.memoizedState:null)!==e&&(wt.flags|=1024),i}function Yu(){var e=ul!==0;return ul=0,e}function Fu(e,i,a){i.updateQueue=e.updateQueue,i.flags&=-2053,e.lanes&=~a}function Ku(e){if(cl){for(e=e.memoizedState;e!==null;){var i=e.queue;i!==null&&(i.pending=null),e=e.next}cl=!1}Wn=0,ie=kt=wt=null,ga=!1,Or=ul=0,ya=null}function je(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ie===null?wt.memoizedState=ie=e:ie=ie.next=e,ie}function Wt(){if(kt===null){var e=wt.alternate;e=e!==null?e.memoizedState:null}else e=kt.next;var i=ie===null?wt.memoizedState:ie.next;if(i!==null)ie=i,kt=e;else{if(e===null)throw wt.alternate===null?Error(r(467)):Error(r(310));kt=e,e={memoizedState:kt.memoizedState,baseState:kt.baseState,baseQueue:kt.baseQueue,queue:kt.queue,next:null},ie===null?wt.memoizedState=ie=e:ie=ie.next=e}return ie}function fl(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Rr(e){var i=Or;return Or+=1,ya===null&&(ya=[]),e=Up(ya,e,i),i=wt,(ie===null?i.memoizedState:ie.next)===null&&(i=i.alternate,j.H=i===null||i.memoizedState===null?jg:of),e}function dl(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Rr(e);if(e.$$typeof===B)return ye(e)}throw Error(r(438,String(e)))}function Xu(e){var i=null,a=wt.updateQueue;if(a!==null&&(i=a.memoCache),i==null){var o=wt.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(i={data:o.data.map(function(f){return f.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),a===null&&(a=fl(),wt.updateQueue=a),a.memoCache=i,a=i.data[i.index],a===void 0)for(a=i.data[i.index]=Array(e),o=0;o<e;o++)a[o]=W;return i.index++,a}function ti(e,i){return typeof i=="function"?i(e):i}function hl(e){var i=Wt();return Zu(i,kt,e)}function Zu(e,i,a){var o=e.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=a;var f=e.baseQueue,d=o.pending;if(d!==null){if(f!==null){var v=f.next;f.next=d.next,d.next=v}i.baseQueue=f=d,o.pending=null}if(d=e.baseState,f===null)e.memoizedState=d;else{i=f.next;var S=v=null,R=null,V=i,K=!1;do{var $=V.lane&-536870913;if($!==V.lane?(Rt&$)===$:(Wn&$)===$){var I=V.revertLane;if(I===0)R!==null&&(R=R.next={lane:0,revertLane:0,gesture:null,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null}),$===fa&&(K=!0);else if((Wn&I)===I){V=V.next,I===fa&&(K=!0);continue}else $={lane:0,revertLane:V.revertLane,gesture:null,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null},R===null?(S=R=$,v=d):R=R.next=$,wt.lanes|=I,zi|=I;$=V.action,Es&&a(d,$),d=V.hasEagerState?V.eagerState:a(d,$)}else I={lane:$,revertLane:V.revertLane,gesture:V.gesture,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null},R===null?(S=R=I,v=d):R=R.next=I,wt.lanes|=$,zi|=$;V=V.next}while(V!==null&&V!==i);if(R===null?v=d:R.next=S,!Ge(d,e.memoizedState)&&(se=!0,K&&(a=da,a!==null)))throw a;e.memoizedState=d,e.baseState=v,e.baseQueue=R,o.lastRenderedState=d}return f===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function $u(e){var i=Wt(),a=i.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=e;var o=a.dispatch,f=a.pending,d=i.memoizedState;if(f!==null){a.pending=null;var v=f=f.next;do d=e(d,v.action),v=v.next;while(v!==f);Ge(d,i.memoizedState)||(se=!0),i.memoizedState=d,i.baseQueue===null&&(i.baseState=d),a.lastRenderedState=d}return[d,o]}function Xp(e,i,a){var o=wt,f=Wt(),d=Mt;if(d){if(a===void 0)throw Error(r(407));a=a()}else a=i();var v=!Ge((kt||f).memoizedState,a);if(v&&(f.memoizedState=a,se=!0),f=f.queue,tf(Jp.bind(null,o,f,e),[e]),f.getSnapshot!==i||v||ie!==null&&ie.memoizedState.tag&1){if(o.flags|=2048,va(9,{destroy:void 0},$p.bind(null,o,f,a,i),null),Vt===null)throw Error(r(349));d||(Wn&127)!==0||Zp(o,i,a)}return a}function Zp(e,i,a){e.flags|=16384,e={getSnapshot:i,value:a},i=wt.updateQueue,i===null?(i=fl(),wt.updateQueue=i,i.stores=[e]):(a=i.stores,a===null?i.stores=[e]:a.push(e))}function $p(e,i,a,o){i.value=a,i.getSnapshot=o,Wp(i)&&tg(e)}function Jp(e,i,a){return a(function(){Wp(i)&&tg(e)})}function Wp(e){var i=e.getSnapshot;e=e.value;try{var a=i();return!Ge(e,a)}catch{return!0}}function tg(e){var i=ms(e,2);i!==null&&Be(i,e,2)}function Ju(e){var i=je();if(typeof e=="function"){var a=e;if(e=a(),Es){vn(!0);try{a()}finally{vn(!1)}}}return i.memoizedState=i.baseState=e,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ti,lastRenderedState:e},i}function eg(e,i,a,o){return e.baseState=a,Zu(e,kt,typeof o=="function"?o:ti)}function H2(e,i,a,o,f){if(gl(e))throw Error(r(485));if(e=i.action,e!==null){var d={payload:f,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(v){d.listeners.push(v)}};j.T!==null?a(!0):d.isTransition=!1,o(d),a=i.pending,a===null?(d.next=i.pending=d,ng(i,d)):(d.next=a.next,i.pending=a.next=d)}}function ng(e,i){var a=i.action,o=i.payload,f=e.state;if(i.isTransition){var d=j.T,v={};j.T=v;try{var S=a(f,o),R=j.S;R!==null&&R(v,S),ig(e,i,S)}catch(V){Wu(e,i,V)}finally{d!==null&&v.types!==null&&(d.types=v.types),j.T=d}}else try{d=a(f,o),ig(e,i,d)}catch(V){Wu(e,i,V)}}function ig(e,i,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(o){sg(e,i,o)},function(o){return Wu(e,i,o)}):sg(e,i,a)}function sg(e,i,a){i.status="fulfilled",i.value=a,ag(i),e.state=a,i=e.pending,i!==null&&(a=i.next,a===i?e.pending=null:(a=a.next,i.next=a,ng(e,a)))}function Wu(e,i,a){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do i.status="rejected",i.reason=a,ag(i),i=i.next;while(i!==o)}e.action=null}function ag(e){e=e.listeners;for(var i=0;i<e.length;i++)(0,e[i])()}
vendor: 12,369 bytes, line 48
48function rg(e,i){return i}function og(e,i){if(Mt){var a=Vt.formState;if(a!==null){t:{var o=wt;if(Mt){if(Bt){e:{for(var f=Bt,d=cn;f.nodeType!==8;){if(!d){f=null;break e}if(f=fn(f.nextSibling),f===null){f=null;break e}}d=f.data,f=d==="F!"||d==="F"?f:null}if(f){Bt=fn(f.nextSibling),o=f.data==="F!";break t}}Ai(o)}o=!1}o&&(i=a[0])}}return a=je(),a.memoizedState=a.baseState=i,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:rg,lastRenderedState:i},a.queue=o,a=Cg.bind(null,wt,o),o.dispatch=a,o=Ju(!1),d=rf.bind(null,wt,!1,o.queue),o=je(),f={state:i,dispatch:null,action:e,pending:null},o.queue=f,a=H2.bind(null,wt,f,d,a),f.dispatch=a,o.memoizedState=e,[i,a,!1]}function lg(e){var i=Wt();return cg(i,kt,e)}function cg(e,i,a){if(i=Zu(e,i,rg)[0],e=hl(ti)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var o=Rr(i)}catch(v){throw v===ha?il:v}else o=i;i=Wt();var f=i.queue,d=f.dispatch;return a!==i.memoizedState&&(wt.flags|=2048,va(9,{destroy:void 0},V2.bind(null,f,a),null)),[o,d,e]}function V2(e,i){e.action=i}function ug(e){var i=Wt(),a=kt;if(a!==null)return cg(i,a,e);Wt(),i=i.memoizedState,a=Wt();var o=a.queue.dispatch;return a.memoizedState=e,[i,o,!1]}function va(e,i,a,o){return e={tag:e,create:a,deps:o,inst:i,next:null},i=wt.updateQueue,i===null&&(i=fl(),wt.updateQueue=i),a=i.lastEffect,a===null?i.lastEffect=e.next=e:(o=a.next,a.next=e,e.next=o,i.lastEffect=e),e}function fg(){return Wt().memoizedState}function ml(e,i,a,o){var f=je();wt.flags|=e,f.memoizedState=va(1|i,{destroy:void 0},a,o===void 0?null:o)}function pl(e,i,a,o){var f=Wt();o=o===void 0?null:o;var d=f.memoizedState.inst;kt!==null&&o!==null&&Qu(o,kt.memoizedState.deps)?f.memoizedState=va(i,d,a,o):(wt.flags|=e,f.memoizedState=va(1|i,d,a,o))}function dg(e,i){ml(8390656,8,e,i)}function tf(e,i){pl(2048,8,e,i)}function B2(e){wt.flags|=4;var i=wt.updateQueue;if(i===null)i=fl(),wt.updateQueue=i,i.events=[e];else{var a=i.events;a===null?i.events=[e]:a.push(e)}}function hg(e){var i=Wt().memoizedState;return B2({ref:i,nextImpl:e}),function(){if((zt&2)!==0)throw Error(r(440));return i.impl.apply(void 0,arguments)}}function mg(e,i){return pl(4,2,e,i)}function pg(e,i){return pl(4,4,e,i)}function gg(e,i){if(typeof i=="function"){e=e();var a=i(e);return function(){typeof a=="function"?a():i(null)}}if(i!=null)return e=e(),i.current=e,function(){i.current=null}}function yg(e,i,a){a=a!=null?a.concat([e]):null,pl(4,4,gg.bind(null,i,e),a)}function ef(){}function vg(e,i){var a=Wt();i=i===void 0?null:i;var o=a.memoizedState;return i!==null&&Qu(i,o[1])?o[0]:(a.memoizedState=[e,i],e)}function xg(e,i){var a=Wt();i=i===void 0?null:i;var o=a.memoizedState;if(i!==null&&Qu(i,o[1]))return o[0];if(o=e(),Es){vn(!0);try{e()}finally{vn(!1)}}return a.memoizedState=[o,i],o}function nf(e,i,a){return a===void 0||(Wn&1073741824)!==0&&(Rt&261930)===0?e.memoizedState=i:(e.memoizedState=a,e=by(),wt.lanes|=e,zi|=e,a)}function bg(e,i,a,o){return Ge(a,i)?a:pa.current!==null?(e=nf(e,a,o),Ge(e,i)||(se=!0),e):(Wn&42)===0||(Wn&1073741824)!==0&&(Rt&261930)===0?(se=!0,e.memoizedState=a):(e=by(),wt.lanes|=e,zi|=e,i)}function Sg(e,i,a,o,f){var d=P.p;P.p=d!==0&&8>d?d:8;var v=j.T,S={};j.T=S,rf(e,!1,i,a);try{var R=f(),V=j.S;if(V!==null&&V(S,R),R!==null&&typeof R=="object"&&typeof R.then=="function"){var K=L2(R,o);jr(e,i,K,$e(e))}else jr(e,i,o,$e(e))}catch($){jr(e,i,{then:function(){},status:"rejected",reason:$},$e())}finally{P.p=d,v!==null&&S.types!==null&&(v.types=S.types),j.T=v}}function q2(){}function sf(e,i,a,o){if(e.tag!==5)throw Error(r(476));var f=wg(e).queue;Sg(e,f,i,z,a===null?q2:function(){return Eg(e),a(o)})}function wg(e){var i=e.memoizedState;if(i!==null)return i;i={memoizedState:z,baseState:z,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ti,lastRenderedState:z},next:null};var a={};return i.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ti,lastRenderedState:a},next:null},e.memoizedState=i,e=e.alternate,e!==null&&(e.memoizedState=i),i}function Eg(e){var i=wg(e);i.next===null&&(i=e.alternate.memoizedState),jr(e,i.next.queue,{},$e())}function af(){return ye(Yr)}function Tg(){return Wt().memoizedState}function Ag(){return Wt().memoizedState}function I2(e){for(var i=e.return;i!==null;){switch(i.tag){case 24:case 3:var a=$e();e=Ri(a);var o=ji(i,e,a);o!==null&&(Be(o,i,a),Tr(o,i,a)),i={cache:Du()},e.payload=i;return}i=i.return}}function Q2(e,i,a){var o=$e();a={lane:o,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},gl(e)?Og(i,a):(a=wu(e,i,a,o),a!==null&&(Be(a,e,o),Rg(a,i,o)))}function Cg(e,i,a){var o=$e();jr(e,i,a,o)}function jr(e,i,a,o){var f={lane:o,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(gl(e))Og(i,f);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=i.lastRenderedReducer,d!==null))try{var v=i.lastRenderedState,S=d(v,a);if(f.hasEagerState=!0,f.eagerState=S,Ge(S,v))return Zo(e,i,f,0),Vt===null&&Xo(),!1}catch{}finally{}if(a=wu(e,i,f,o),a!==null)return Be(a,e,o),Rg(a,i,o),!0}return!1}function rf(e,i,a,o){if(o={lane:2,revertLane:Uf(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},gl(e)){if(i)throw Error(r(479))}else i=wu(e,a,o,2),i!==null&&Be(i,e,2)}function gl(e){var i=e.alternate;return e===wt||i!==null&&i===wt}function Og(e,i){ga=cl=!0;var a=e.pending;a===null?i.next=i:(i.next=a.next,a.next=i),e.pending=i}function Rg(e,i,a){if((a&4194048)!==0){var o=i.lanes;o&=e.pendingLanes,a|=o,i.lanes=a,De(e,a)}}var Mr={readContext:ye,use:dl,useCallback:Kt,useContext:Kt,useEffect:Kt,useImperativeHandle:Kt,useLayoutEffect:Kt,useInsertionEffect:Kt,useMemo:Kt,useReducer:Kt,useRef:Kt,useState:Kt,useDebugValue:Kt,useDeferredValue:Kt,useTransition:Kt,useSyncExternalStore:Kt,useId:Kt,useHostTransitionStatus:Kt,useFormState:Kt,useActionState:Kt,useOptimistic:Kt,useMemoCache:Kt,useCacheRefresh:Kt};Mr.useEffectEvent=Kt;var jg={readContext:ye,use:dl,useCallback:function(e,i){return je().memoizedState=[e,i===void 0?null:i],e},useContext:ye,useEffect:dg,useImperativeHandle:function(e,i,a){a=a!=null?a.concat([e]):null,ml(4194308,4,gg.bind(null,i,e),a)},useLayoutEffect:function(e,i){return ml(4194308,4,e,i)},useInsertionEffect:function(e,i){ml(4,2,e,i)},useMemo:function(e,i){var a=je();i=i===void 0?null:i;var o=e();if(Es){vn(!0);try{e()}finally{vn(!1)}}return a.memoizedState=[o,i],o},useReducer:function(e,i,a){var o=je();if(a!==void 0){var f=a(i);if(Es){vn(!0);try{a(i)}finally{vn(!1)}}}else f=i;return o.memoizedState=o.baseState=f,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:f},o.queue=e,e=e.dispatch=Q2.bind(null,wt,e),[o.memoizedState,e]},useRef:function(e){var i=je();return e={current:e},i.memoizedState=e},useState:function(e){e=Ju(e);var i=e.queue,a=Cg.bind(null,wt,i);return i.dispatch=a,[e.memoizedState,a]},useDebugValue:ef,useDeferredValue:function(e,i){var a=je();return nf(a,e,i)},useTransition:function(){var e=Ju(!1);return e=Sg.bind(null,wt,e.queue,!0,!1),je().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,i,a){var o=wt,f=je();if(Mt){if(a===void 0)throw Error(r(407));a=a()}else{if(a=i(),Vt===null)throw Error(r(349));(Rt&127)!==0||Zp(o,i,a)}f.memoizedState=a;var d={value:a,getSnapshot:i};return f.queue=d,dg(Jp.bind(null,o,d,e),[e]),o.flags|=2048,va(9,{destroy:void 0},$p.bind(null,o,d,a,i),null),a},useId:function(){var e=je(),i=Vt.identifierPrefix;if(Mt){var a=Nn,o=Mn;a=(o&~(1<<32-Se(o)-1)).toString(32)+a,i="_"+i+"R_"+a,a=ul++,0<a&&(i+="H"+a.toString(32)),i+="_"}else a=k2++,i="_"+i+"r_"+a.toString(32)+"_";return e.memoizedState=i},useHostTransitionStatus:af,useFormState:og,useActionState:og,useOptimistic:function(e){var i=je();i.memoizedState=i.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=a,i=rf.bind(null,wt,!0,a),a.dispatch=i,[e,i]},useMemoCache:Xu,useCacheRefresh:function(){return je().memoizedState=I2.bind(null,wt)},useEffectEvent:function(e){var i=je(),a={impl:e};return i.memoizedState=a,function(){if((zt&2)!==0)throw Error(r(440));return a.impl.apply(void 0,arguments)}}},of={readContext:ye,use:dl,useCallback:vg,useContext:ye,useEffect:tf,useImperativeHandle:yg,useInsertionEffect:mg,useLayoutEffect:pg,useMemo:xg,useReducer:hl,useRef:fg,useState:function(){return hl(ti)},useDebugValue:ef,useDeferredValue:function(e,i){var a=Wt();return bg(a,kt.memoizedState,e,i)},useTransition:function(){var e=hl(ti)[0],i=Wt().memoizedState;return[typeof e=="boolean"?e:Rr(e),i]},useSyncExternalStore:Xp,useId:Tg,useHostTransitionStatus:af,useFormState:lg,useActionState:lg,useOptimistic:function(e,i){var a=Wt();return eg(a,kt,e,i)},useMemoCache:Xu,useCacheRefresh:Ag};of.useEffectEvent=hg;var Mg={readContext:ye,use:dl,useCallback:vg,useContext:ye,useEffect:tf,useImperativeHandle:yg,useInsertionEffect:mg,useLayoutEffect:pg,useMemo:xg,useReducer:$u,useRef:fg,useState:function(){return $u(ti)},useDebugValue:ef,useDeferredValue:function(e,i){var a=Wt();return kt===null?nf(a,e,i):bg(a,kt.memoizedState,e,i)},useTransition:function(){var e=$u(ti)[0],i=Wt().memoizedState;return[typeof e=="boolean"?e:Rr(e),i]},useSyncExternalStore:Xp,useId:Tg,useHostTransitionStatus:af,useFormState:ug,useActionState:ug,useOptimistic:function(e,i){var a=Wt();return kt!==null?eg(a,kt,e,i):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:Xu,useCacheRefresh:Ag};Mg.useEffectEvent=hg;function lf(e,i,a,o){i=e.memoizedState,a=a(o,i),a=a==null?i:g({},i,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var cf={enqueueSetState:function(e,i,a){e=e._reactInternals;var o=$e(),f=Ri(o);f.payload=i,a!=null&&(f.callback=a),i=ji(e,f,o),i!==null&&(Be(i,e,o),Tr(i,e,o))},enqueueReplaceState:function(e,i,a){e=e._reactInternals;var o=$e(),f=Ri(o);f.tag=1,f.payload=i,a!=null&&(f.callback=a),i=ji(e,f,o),i!==null&&(Be(i,e,o),Tr(i,e,o))},enqueueForceUpdate:function(e,i){e=e._reactInternals;var a=$e(),o=Ri(a);o.tag=2,i!=null&&(o.callback=i),i=ji(e,o,a),i!==null&&(Be(i,e,a),Tr(i,e,a))}};function Ng(e,i,a,o,f,d,v){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,d,v):i.prototype&&i.prototype.isPureReactComponent?!gr(a,o)||!gr(f,d):!0}function _g(e,i,a,o){e=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(a,o),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(a,o),i.state!==e&&cf.enqueueReplaceState(i,i.state,null)}function Ts(e,i){var a=i;if("ref"in i){a={};for(var o in i)o!=="ref"&&(a[o]=i[o])}if(e=e.defaultProps){a===i&&(a=g({},a));for(var f in e)a[f]===void 0&&(a[f]=e[f])}return a}function Dg(e){Ko(e)}function zg(e){console.error(e)}function Pg(e){Ko(e)}function yl(e,i){try{var a=e.onUncaughtError;a(i.value,{componentStack:i.stack})}catch(o){setTimeout(function(){throw o})}}function Lg(e,i,a){try{var o=e.onCaughtError;o(a.value,{componentStack:a.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function uf(e,i,a){return a=Ri(a),a.tag=3,a.payload={element:null},a.callback=function(){yl(e,i)},a}function kg(e){return e=Ri(e),e.tag=3,e}function Ug(e,i,a,o){var f=a.type.getDerivedStateFromError;if(typeof f=="function"){var d=o.value;e.payload=function(){return f(d)},e.callback=function(){Lg(i,a,o)}}var v=a.stateNode;v!==null&&typeof v.componentDidCatch=="function"&&(e.callback=function(){Lg(i,a,o),typeof f!="function"&&(Pi===null?Pi=new Set([this]):Pi.add(this));var S=o.stack;this.componentDidCatch(o.value,{componentStack:S!==null?S:""})})}function G2(e,i,a,o,f){if(a.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(i=a.alternate,i!==null&&ua(i,a,f,!0),a=Fe.current,a!==null){switch(a.tag){case 31:case 13:return un===null?jl():a.alternate===null&&Xt===0&&(Xt=3),a.flags&=-257,a.flags|=65536,a.lanes=f,o===sl?a.flags|=16384:(i=a.updateQueue,i===null?a.updateQueue=new Set([o]):i.add(o),Pf(e,o,f)),!1;case 22:return a.flags|=65536,o===sl?a.flags|=16384:(i=a.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([o])},a.updateQueue=i):(a=i.retryQueue,a===null?i.retryQueue=new Set([o]):a.add(o)),Pf(e,o,f)),!1}throw Error(r(435,a.tag))}return Pf(e,o,f),jl(),!1}if(Mt)return i=Fe.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=f,o!==Ru&&(e=Error(r(422),{cause:o}
vendor: 13,017 bytes, line 48
48),xr(rn(e,a)))):(o!==Ru&&(i=Error(r(423),{cause:o}),xr(rn(i,a))),e=e.current.alternate,e.flags|=65536,f&=-f,e.lanes|=f,o=rn(o,a),f=uf(e.stateNode,o,f),Hu(e,f),Xt!==4&&(Xt=2)),!1;var d=Error(r(520),{cause:o});if(d=rn(d,a),Ur===null?Ur=[d]:Ur.push(d),Xt!==4&&(Xt=2),i===null)return!0;o=rn(o,a),a=i;do{switch(a.tag){case 3:return a.flags|=65536,e=f&-f,a.lanes|=e,e=uf(a.stateNode,o,e),Hu(a,e),!1;case 1:if(i=a.type,d=a.stateNode,(a.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(Pi===null||!Pi.has(d))))return a.flags|=65536,f&=-f,a.lanes|=f,f=kg(f),Ug(f,e,a,o),Hu(a,f),!1}a=a.return}while(a!==null);return!1}var ff=Error(r(461)),se=!1;function ve(e,i,a,o){i.child=e===null?qp(i,null,a,o):ws(i,e.child,a,o)}function Hg(e,i,a,o,f){a=a.render;var d=i.ref;if("ref"in o){var v={};for(var S in o)S!=="ref"&&(v[S]=o[S])}else v=o;return vs(i),o=Gu(e,i,a,v,d,f),S=Yu(),e!==null&&!se?(Fu(e,i,f),ei(e,i,f)):(Mt&&S&&Cu(i),i.flags|=1,ve(e,i,o,f),i.child)}function Vg(e,i,a,o,f){if(e===null){var d=a.type;return typeof d=="function"&&!Eu(d)&&d.defaultProps===void 0&&a.compare===null?(i.tag=15,i.type=d,Bg(e,i,d,o,f)):(e=Jo(a.type,null,o,i,i.mode,f),e.ref=i.ref,e.return=i,i.child=e)}if(d=e.child,!xf(e,f)){var v=d.memoizedProps;if(a=a.compare,a=a!==null?a:gr,a(v,o)&&e.ref===i.ref)return ei(e,i,f)}return i.flags|=1,e=Xn(d,o),e.ref=i.ref,e.return=i,i.child=e}function Bg(e,i,a,o,f){if(e!==null){var d=e.memoizedProps;if(gr(d,o)&&e.ref===i.ref)if(se=!1,i.pendingProps=o=d,xf(e,f))(e.flags&131072)!==0&&(se=!0);else return i.lanes=e.lanes,ei(e,i,f)}return df(e,i,a,o,f)}function qg(e,i,a,o){var f=o.children,d=e!==null?e.memoizedState:null;if(e===null&&i.stateNode===null&&(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((i.flags&128)!==0){if(d=d!==null?d.baseLanes|a:a,e!==null){for(o=i.child=e.child,f=0;o!==null;)f=f|o.lanes|o.childLanes,o=o.sibling;o=f&~d}else o=0,i.child=null;return Ig(e,i,d,a,o)}if((a&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},e!==null&&nl(i,d!==null?d.cachePool:null),d!==null?Gp(i,d):Bu(),Yp(i);else return o=i.lanes=536870912,Ig(e,i,d!==null?d.baseLanes|a:a,a,o)}else d!==null?(nl(i,d.cachePool),Gp(i,d),Ni(),i.memoizedState=null):(e!==null&&nl(i,null),Bu(),Ni());return ve(e,i,f,a),i.child}function Nr(e,i){return e!==null&&e.tag===22||i.stateNode!==null||(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.sibling}function Ig(e,i,a,o,f){var d=Pu();return d=d===null?null:{parent:ne._currentValue,pool:d},i.memoizedState={baseLanes:a,cachePool:d},e!==null&&nl(i,null),Bu(),Yp(i),e!==null&&ua(e,i,o,!0),i.childLanes=f,null}function vl(e,i){return i=bl({mode:i.mode,children:i.children},e.mode),i.ref=e.ref,e.child=i,i.return=e,i}function Qg(e,i,a){return ws(i,e.child,null,a),e=vl(i,i.pendingProps),e.flags|=2,Ke(i),i.memoizedState=null,e}function Y2(e,i,a){var o=i.pendingProps,f=(i.flags&128)!==0;if(i.flags&=-129,e===null){if(Mt){if(o.mode==="hidden")return e=vl(i,o),i.lanes=536870912,Nr(null,e);if(Iu(i),(e=Bt)?(e=nv(e,cn),e=e!==null&&e.data==="&"?e:null,e!==null&&(i.memoizedState={dehydrated:e,treeContext:Ei!==null?{id:Mn,overflow:Nn}:null,retryLane:536870912,hydrationErrors:null},a=Op(e),a.return=i,i.child=a,ge=i,Bt=null)):e=null,e===null)throw Ai(i);return i.lanes=536870912,null}return vl(i,o)}var d=e.memoizedState;if(d!==null){var v=d.dehydrated;if(Iu(i),f)if(i.flags&256)i.flags&=-257,i=Qg(e,i,a);else if(i.memoizedState!==null)i.child=e.child,i.flags|=128,i=null;else throw Error(r(558));else if(se||ua(e,i,a,!1),f=(a&e.childLanes)!==0,se||f){if(o=Vt,o!==null&&(v=ze(o,a),v!==0&&v!==d.retryLane))throw d.retryLane=v,ms(e,v),Be(o,e,v),ff;jl(),i=Qg(e,i,a)}else e=d.treeContext,Bt=fn(v.nextSibling),ge=i,Mt=!0,Ti=null,cn=!1,e!==null&&Mp(i,e),i=vl(i,o),i.flags|=4096;return i}return e=Xn(e.child,{mode:o.mode,children:o.children}),e.ref=i.ref,i.child=e,e.return=i,e}function xl(e,i){var a=i.ref;if(a===null)e!==null&&e.ref!==null&&(i.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(r(284));(e===null||e.ref!==a)&&(i.flags|=4194816)}}function df(e,i,a,o,f){return vs(i),a=Gu(e,i,a,o,void 0,f),o=Yu(),e!==null&&!se?(Fu(e,i,f),ei(e,i,f)):(Mt&&o&&Cu(i),i.flags|=1,ve(e,i,a,f),i.child)}function Gg(e,i,a,o,f,d){return vs(i),i.updateQueue=null,a=Kp(i,o,a,f),Fp(e),o=Yu(),e!==null&&!se?(Fu(e,i,d),ei(e,i,d)):(Mt&&o&&Cu(i),i.flags|=1,ve(e,i,a,d),i.child)}function Yg(e,i,a,o,f){if(vs(i),i.stateNode===null){var d=ra,v=a.contextType;typeof v=="object"&&v!==null&&(d=ye(v)),d=new a(o,d),i.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=cf,i.stateNode=d,d._reactInternals=i,d=i.stateNode,d.props=o,d.state=i.memoizedState,d.refs={},ku(i),v=a.contextType,d.context=typeof v=="object"&&v!==null?ye(v):ra,d.state=i.memoizedState,v=a.getDerivedStateFromProps,typeof v=="function"&&(lf(i,a,v,o),d.state=i.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(v=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),v!==d.state&&cf.enqueueReplaceState(d,d.state,null),Cr(i,o,d,f),Ar(),d.state=i.memoizedState),typeof d.componentDidMount=="function"&&(i.flags|=4194308),o=!0}else if(e===null){d=i.stateNode;var S=i.memoizedProps,R=Ts(a,S);d.props=R;var V=d.context,K=a.contextType;v=ra,typeof K=="object"&&K!==null&&(v=ye(K));var $=a.getDerivedStateFromProps;K=typeof $=="function"||typeof d.getSnapshotBeforeUpdate=="function",S=i.pendingProps!==S,K||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(S||V!==v)&&_g(i,d,o,v),Oi=!1;var I=i.memoizedState;d.state=I,Cr(i,o,d,f),Ar(),V=i.memoizedState,S||I!==V||Oi?(typeof $=="function"&&(lf(i,a,$,o),V=i.memoizedState),(R=Oi||Ng(i,a,R,o,I,V,v))?(K||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(i.flags|=4194308)):(typeof d.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=o,i.memoizedState=V),d.props=o,d.state=V,d.context=v,o=R):(typeof d.componentDidMount=="function"&&(i.flags|=4194308),o=!1)}else{d=i.stateNode,Uu(e,i),v=i.memoizedProps,K=Ts(a,v),d.props=K,$=i.pendingProps,I=d.context,V=a.contextType,R=ra,typeof V=="object"&&V!==null&&(R=ye(V)),S=a.getDerivedStateFromProps,(V=typeof S=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(v!==$||I!==R)&&_g(i,d,o,R),Oi=!1,I=i.memoizedState,d.state=I,Cr(i,o,d,f),Ar();var Y=i.memoizedState;v!==$||I!==Y||Oi||e!==null&&e.dependencies!==null&&tl(e.dependencies)?(typeof S=="function"&&(lf(i,a,S,o),Y=i.memoizedState),(K=Oi||Ng(i,a,K,o,I,Y,R)||e!==null&&e.dependencies!==null&&tl(e.dependencies))?(V||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(o,Y,R),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(o,Y,R)),typeof d.componentDidUpdate=="function"&&(i.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof d.componentDidUpdate!="function"||v===e.memoizedProps&&I===e.memoizedState||(i.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&I===e.memoizedState||(i.flags|=1024),i.memoizedProps=o,i.memoizedState=Y),d.props=o,d.state=Y,d.context=R,o=K):(typeof d.componentDidUpdate!="function"||v===e.memoizedProps&&I===e.memoizedState||(i.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&I===e.memoizedState||(i.flags|=1024),o=!1)}return d=o,xl(e,i),o=(i.flags&128)!==0,d||o?(d=i.stateNode,a=o&&typeof a.getDerivedStateFromError!="function"?null:d.render(),i.flags|=1,e!==null&&o?(i.child=ws(i,e.child,null,f),i.child=ws(i,null,a,f)):ve(e,i,a,f),i.memoizedState=d.state,e=i.child):e=ei(e,i,f),e}function Fg(e,i,a,o){return gs(),i.flags|=256,ve(e,i,a,o),i.child}var hf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function mf(e){return{baseLanes:e,cachePool:Lp()}}function pf(e,i,a){return e=e!==null?e.childLanes&~a:0,i&&(e|=Ze),e}function Kg(e,i,a){var o=i.pendingProps,f=!1,d=(i.flags&128)!==0,v;if((v=d)||(v=e!==null&&e.memoizedState===null?!1:(Jt.current&2)!==0),v&&(f=!0,i.flags&=-129),v=(i.flags&32)!==0,i.flags&=-33,e===null){if(Mt){if(f?Mi(i):Ni(),(e=Bt)?(e=nv(e,cn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(i.memoizedState={dehydrated:e,treeContext:Ei!==null?{id:Mn,overflow:Nn}:null,retryLane:536870912,hydrationErrors:null},a=Op(e),a.return=i,i.child=a,ge=i,Bt=null)):e=null,e===null)throw Ai(i);return $f(e)?i.lanes=32:i.lanes=536870912,null}var S=o.children;return o=o.fallback,f?(Ni(),f=i.mode,S=bl({mode:"hidden",children:S},f),o=ps(o,f,a,null),S.return=i,o.return=i,S.sibling=o,i.child=S,o=i.child,o.memoizedState=mf(a),o.childLanes=pf(e,v,a),i.memoizedState=hf,Nr(null,o)):(Mi(i),gf(i,S))}var R=e.memoizedState;if(R!==null&&(S=R.dehydrated,S!==null)){if(d)i.flags&256?(Mi(i),i.flags&=-257,i=yf(e,i,a)):i.memoizedState!==null?(Ni(),i.child=e.child,i.flags|=128,i=null):(Ni(),S=o.fallback,f=i.mode,o=bl({mode:"visible",children:o.children},f),S=ps(S,f,a,null),S.flags|=2,o.return=i,S.return=i,o.sibling=S,i.child=o,ws(i,e.child,null,a),o=i.child,o.memoizedState=mf(a),o.childLanes=pf(e,v,a),i.memoizedState=hf,i=Nr(null,o));else if(Mi(i),$f(S)){if(v=S.nextSibling&&S.nextSibling.dataset,v)var V=v.dgst;v=V,o=Error(r(419)),o.stack="",o.digest=v,xr({value:o,source:null,stack:null}),i=yf(e,i,a)}else if(se||ua(e,i,a,!1),v=(a&e.childLanes)!==0,se||v){if(v=Vt,v!==null&&(o=ze(v,a),o!==0&&o!==R.retryLane))throw R.retryLane=o,ms(e,o),Be(v,e,o),ff;Zf(S)||jl(),i=yf(e,i,a)}else Zf(S)?(i.flags|=192,i.child=e.child,i=null):(e=R.treeContext,Bt=fn(S.nextSibling),ge=i,Mt=!0,Ti=null,cn=!1,e!==null&&Mp(i,e),i=gf(i,o.children),i.flags|=4096);return i}return f?(Ni(),S=o.fallback,f=i.mode,R=e.child,V=R.sibling,o=Xn(R,{mode:"hidden",children:o.children}),o.subtreeFlags=R.subtreeFlags&65011712,V!==null?S=Xn(V,S):(S=ps(S,f,a,null),S.flags|=2),S.return=i,o.return=i,o.sibling=S,i.child=o,Nr(null,o),o=i.child,S=e.child.memoizedState,S===null?S=mf(a):(f=S.cachePool,f!==null?(R=ne._currentValue,f=f.parent!==R?{parent:R,pool:R}:f):f=Lp(),S={baseLanes:S.baseLanes|a,cachePool:f}),o.memoizedState=S,o.childLanes=pf(e,v,a),i.memoizedState=hf,Nr(e.child,o)):(Mi(i),a=e.child,e=a.sibling,a=Xn(a,{mode:"visible",children:o.children}),a.return=i,a.sibling=null,e!==null&&(v=i.deletions,v===null?(i.deletions=[e],i.flags|=16):v.push(e)),i.child=a,i.memoizedState=null,a)}function gf(e,i){return i=bl({mode:"visible",children:i},e.mode),i.return=e,e.child=i}function bl(e,i){return e=Ye(22,e,null,i),e.lanes=0,e}function yf(e,i,a){return ws(i,e.child,null,a),e=gf(i,i.pendingProps.children),e.flags|=2,i.memoizedState=null,e}function Xg(e,i,a){e.lanes|=i;var o=e.alternate;o!==null&&(o.lanes|=i),Nu(e.return,i,a)}function vf(e,i,a,o,f,d){var v=e.memoizedState;v===null?e.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:o,tail:a,tailMode:f,treeForkCount:d}:(v.isBackwards=i,v.rendering=null,v.renderingStartTime=0,v.last=o,v.tail=a,v.tailMode=f,v.treeForkCount=d)}function Zg(e,i,a){var o=i.pendingProps,f=o.revealOrder,d=o.tail;o=o.children;var v=Jt.current,S=(v&2)!==0;if(S?(v=v&1|2,i.flags|=128):v&=1,U(Jt,v),ve(e,i,o,a),o=Mt?vr:0,!S&&e!==null&&(e.flags&128)!==0)t:for(e=i.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Xg(e,a,i);else if(e.tag===19)Xg(e,a,i);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===i)break t;for(;e.sibling===null;){if(e.return===null||e.return===i)break t;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(f){case"forwards":for(a=i.child,f=null;a!==null;)e=a.alternate,e!==null&&ll(e)===null&&(f=a),a=a.sibling;a=f,a===null?(f=i.child,i.child=null):(f=a.sibling,a.sibling=null),vf(i,!1,f,a,d,o);break;case"backwards":case"unstable_legacy-backwards":for(a=null,f=i.child,i.child=null;f!==null;){if(e=f.alternate,e!==null&&ll(e)===null){i.child=f;break}e=f.sibling,f.sibling=a,a=f,f=e}vf(i,!0,a,null,d,o);break;case"together":vf(i,!1,null,null,void 0,o);break;default:i.memoizedState=null}return i.child}function ei(e,i,a){if(e!==null&&(i.dependencies=e.dependencies),zi|=i.lanes,(a&i.childLanes)===0)if(e!==null){if(ua(e,i,a,!1),(a&i.childLanes)===0)return null}else return null;if(e!==null&&i.child!==e.child)throw Error(r(153));if(i.child!==null){for(e=i.child,a=Xn(e,e.pendingProps),i.child=a,a.return=i;e.sibling!==null;)e=e.sibling,a=a.sibling=Xn(e,e.pendingProps),a.return=i;a.sibling=null}return i.child}
vendor: 4,277 bytes, line 48
48function xf(e,i){return(e.lanes&i)!==0?!0:(e=e.dependencies,!!(e!==null&&tl(e)))}function F2(e,i,a){switch(i.tag){case 3:vt(i,i.stateNode.containerInfo),Ci(i,ne,e.memoizedState.cache),gs();break;case 27:case 5:oe(i);break;case 4:vt(i,i.stateNode.containerInfo);break;case 10:Ci(i,i.type,i.memoizedProps.value);break;case 31:if(i.memoizedState!==null)return i.flags|=128,Iu(i),null;break;case 13:var o=i.memoizedState;if(o!==null)return o.dehydrated!==null?(Mi(i),i.flags|=128,null):(a&i.child.childLanes)!==0?Kg(e,i,a):(Mi(i),e=ei(e,i,a),e!==null?e.sibling:null);Mi(i);break;case 19:var f=(e.flags&128)!==0;if(o=(a&i.childLanes)!==0,o||(ua(e,i,a,!1),o=(a&i.childLanes)!==0),f){if(o)return Zg(e,i,a);i.flags|=128}if(f=i.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),U(Jt,Jt.current),o)break;return null;case 22:return i.lanes=0,qg(e,i,a,i.pendingProps);case 24:Ci(i,ne,e.memoizedState.cache)}return ei(e,i,a)}function $g(e,i,a){if(e!==null)if(e.memoizedProps!==i.pendingProps)se=!0;else{if(!xf(e,a)&&(i.flags&128)===0)return se=!1,F2(e,i,a);se=(e.flags&131072)!==0}else se=!1,Mt&&(i.flags&1048576)!==0&&jp(i,vr,i.index);switch(i.lanes=0,i.tag){case 16:t:{var o=i.pendingProps;if(e=bs(i.elementType),i.type=e,typeof e=="function")Eu(e)?(o=Ts(e,o),i.tag=1,i=Yg(null,i,e,o,a)):(i.tag=0,i=df(null,i,e,o,a));else{if(e!=null){var f=e.$$typeof;if(f===Z){i.tag=11,i=Hg(null,i,e,o,a);break t}else if(f===N){i.tag=14,i=Vg(null,i,e,o,a);break t}}throw i=rt(e)||e,Error(r(306,i,""))}}return i;case 0:return df(e,i,i.type,i.pendingProps,a);case 1:return o=i.type,f=Ts(o,i.pendingProps),Yg(e,i,o,f,a);case 3:t:{if(vt(i,i.stateNode.containerInfo),e===null)throw Error(r(387));o=i.pendingProps;var d=i.memoizedState;f=d.element,Uu(e,i),Cr(i,o,null,a);var v=i.memoizedState;if(o=v.cache,Ci(i,ne,o),o!==d.cache&&_u(i,[ne],a,!0),Ar(),o=v.element,d.isDehydrated)if(d={element:o,isDehydrated:!1,cache:v.cache},i.updateQueue.baseState=d,i.memoizedState=d,i.flags&256){i=Fg(e,i,o,a);break t}else if(o!==f){f=rn(Error(r(424)),i),xr(f),i=Fg(e,i,o,a);break t}else{switch(e=i.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Bt=fn(e.firstChild),ge=i,Mt=!0,Ti=null,cn=!0,a=qp(i,null,o,a),i.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(gs(),o===f){i=ei(e,i,a);break t}ve(e,i,o,a)}i=i.child}return i;case 26:return xl(e,i),e===null?(a=lv(i.type,null,i.pendingProps,null))?i.memoizedState=a:Mt||(a=i.type,e=i.pendingProps,o=Ll(ft.current).createElement(a),o[pe]=i,o[Pe]=e,xe(o,a,e),fe(o),i.stateNode=o):i.memoizedState=lv(i.type,e.memoizedProps,i.pendingProps,e.memoizedState),null;case 27:return oe(i),e===null&&Mt&&(o=i.stateNode=av(i.type,i.pendingProps,ft.current),ge=i,cn=!0,f=Bt,Hi(i.type)?(Jf=f,Bt=fn(o.firstChild)):Bt=f),ve(e,i,i.pendingProps.children,a),xl(e,i),e===null&&(i.flags|=4194304),i.child;case 5:return e===null&&Mt&&((f=o=Bt)&&(o=EE(o,i.type,i.pendingProps,cn),o!==null?(i.stateNode=o,ge=i,Bt=fn(o.firstChild),cn=!1,f=!0):f=!1),f||Ai(i)),oe(i),f=i.type,d=i.pendingProps,v=e!==null?e.memoizedProps:null,o=d.children,Ff(f,d)?o=null:v!==null&&Ff(f,v)&&(i.flags|=32),i.memoizedState!==null&&(f=Gu(e,i,U2,null,null,a),Yr._currentValue=f),xl(e,i),ve(e,i,o,a),i.child;case 6:return e===null&&Mt&&((e=a=Bt)&&(a=TE(a,i.pendingProps,cn),a!==null?(i.stateNode=a,ge=i,Bt=null,e=!0):e=!1),e||Ai(i)),null;case 13:return Kg(e,i,a);case 4:return vt(i,i.stateNode.containerInfo),o=i.pendingProps,e===null?i.child=ws(i,null,o,a):ve(e,i,o,a),i.child;case 11:return Hg(e,i,i.type,i.pendingProps,a);case 7:return ve(e,i,i.pendingProps,a),i.child;case 8:return ve(e,i,i.pendingProps.children,a),i.child;case 12:return ve(e,i,i.pendingProps.children,a),i.child;case 10:return o=i.pendingProps,Ci(i,i.type,o.value),ve(e,i,o.children,a),i.child;case 9:return f=i.type._context,o=i.pendingProps.children,vs(i),f=ye(f),o=o(f),i.flags|=1,ve(e,i,o,a),i.child;case 14:return Vg(e,i,i.type,i.pendingProps,a);case 15:return Bg(e,i,i.type,i.pendingProps,a);case 19:return Zg(e,i,a);case 31:return Y2(e,i,a);case 22:return qg(e,i,a,i.pendingProps);case 24:return vs(i),o=ye(ne),e===null?(f=Pu(),f===null&&(f=Vt,d=Du(),f.pooledCache=d,d.refCount++,d!==null&&(f.pooledCacheLanes|=a),f=d),i.memoizedState={parent:o,cache:f}
vendor: 9,349 bytes, line 48
48,ku(i),Ci(i,ne,f)):((e.lanes&a)!==0&&(Uu(e,i),Cr(i,null,null,a),Ar()),f=e.memoizedState,d=i.memoizedState,f.parent!==o?(f={parent:o,cache:o},i.memoizedState=f,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=f),Ci(i,ne,o)):(o=d.cache,Ci(i,ne,o),o!==f.cache&&_u(i,[ne],a,!0))),ve(e,i,i.pendingProps.children,a),i.child;case 29:throw i.pendingProps}throw Error(r(156,i.tag))}function ni(e){e.flags|=4}function bf(e,i,a,o,f){if((i=(e.mode&32)!==0)&&(i=!1),i){if(e.flags|=16777216,(f&335544128)===f)if(e.stateNode.complete)e.flags|=8192;else if(Ty())e.flags|=8192;else throw Ss=sl,Lu}else e.flags&=-16777217}function Jg(e,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!hv(i))if(Ty())e.flags|=8192;else throw Ss=sl,Lu}function Sl(e,i){i!==null&&(e.flags|=4),e.flags&16384&&(i=e.tag!==22?we():536870912,e.lanes|=i,wa|=i)}function _r(e,i){if(!Mt)switch(e.tailMode){case"hidden":i=e.tail;for(var a=null;i!==null;)i.alternate!==null&&(a=i),i=i.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var o=null;a!==null;)a.alternate!==null&&(o=a),a=a.sibling;o===null?i||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function qt(e){var i=e.alternate!==null&&e.alternate.child===e.child,a=0,o=0;if(i)for(var f=e.child;f!==null;)a|=f.lanes|f.childLanes,o|=f.subtreeFlags&65011712,o|=f.flags&65011712,f.return=e,f=f.sibling;else for(f=e.child;f!==null;)a|=f.lanes|f.childLanes,o|=f.subtreeFlags,o|=f.flags,f.return=e,f=f.sibling;return e.subtreeFlags|=o,e.childLanes=a,i}function K2(e,i,a){var o=i.pendingProps;switch(Ou(i),i.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qt(i),null;case 1:return qt(i),null;case 3:return a=i.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),i.memoizedState.cache!==o&&(i.flags|=2048),Jn(ne),At(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(ca(i)?ni(i):e===null||e.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,ju())),qt(i),null;case 26:var f=i.type,d=i.memoizedState;return e===null?(ni(i),d!==null?(qt(i),Jg(i,d)):(qt(i),bf(i,f,null,o,a))):d?d!==e.memoizedState?(ni(i),qt(i),Jg(i,d)):(qt(i),i.flags&=-16777217):(e=e.memoizedProps,e!==o&&ni(i),qt(i),bf(i,f,e,o,a)),null;case 27:if(he(i),a=ft.current,f=i.type,e!==null&&i.stateNode!=null)e.memoizedProps!==o&&ni(i);else{if(!o){if(i.stateNode===null)throw Error(r(166));return qt(i),null}e=F.current,ca(i)?Np(i):(e=av(f,o,a),i.stateNode=e,ni(i))}return qt(i),null;case 5:if(he(i),f=i.type,e!==null&&i.stateNode!=null)e.memoizedProps!==o&&ni(i);else{if(!o){if(i.stateNode===null)throw Error(r(166));return qt(i),null}if(d=F.current,ca(i))Np(i);else{var v=Ll(ft.current);switch(d){case 1:d=v.createElementNS("http://www.w3.org/2000/svg",f);break;case 2:d=v.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;default:switch(f){case"svg":d=v.createElementNS("http://www.w3.org/2000/svg",f);break;case"math":d=v.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;case"script":d=v.createElement("div"),d.innerHTML="<script><\/script>",d=d.removeChild(d.firstChild);break;case"select":d=typeof o.is=="string"?v.createElement("select",{is:o.is}):v.createElement("select"),o.multiple?d.multiple=!0:o.size&&(d.size=o.size);break;default:d=typeof o.is=="string"?v.createElement(f,{is:o.is}):v.createElement(f)}}d[pe]=i,d[Pe]=o;t:for(v=i.child;v!==null;){if(v.tag===5||v.tag===6)d.appendChild(v.stateNode);else if(v.tag!==4&&v.tag!==27&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===i)break t;for(;v.sibling===null;){if(v.return===null||v.return===i)break t;v=v.return}v.sibling.return=v.return,v=v.sibling}i.stateNode=d;t:switch(xe(d,f,o),f){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break t;case"img":o=!0;break t;default:o=!1}o&&ni(i)}}return qt(i),bf(i,i.type,e===null?null:e.memoizedProps,i.pendingProps,a),null;case 6:if(e&&i.stateNode!=null)e.memoizedProps!==o&&ni(i);else{if(typeof o!="string"&&i.stateNode===null)throw Error(r(166));if(e=ft.current,ca(i)){if(e=i.stateNode,a=i.memoizedProps,o=null,f=ge,f!==null)switch(f.tag){case 27:case 5:o=f.memoizedProps}e[pe]=i,e=!!(e.nodeValue===a||o!==null&&o.suppressHydrationWarning===!0||Ky(e.nodeValue,a)),e||Ai(i,!0)}else e=Ll(e).createTextNode(o),e[pe]=i,i.stateNode=e}return qt(i),null;case 31:if(a=i.memoizedState,e===null||e.memoizedState!==null){if(o=ca(i),a!==null){if(e===null){if(!o)throw Error(r(318));if(e=i.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[pe]=i}else gs(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;qt(i),e=!1}else a=ju(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return i.flags&256?(Ke(i),i):(Ke(i),null);if((i.flags&128)!==0)throw Error(r(558))}return qt(i),null;case 13:if(o=i.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(f=ca(i),o!==null&&o.dehydrated!==null){if(e===null){if(!f)throw Error(r(318));if(f=i.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(r(317));f[pe]=i}else gs(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;qt(i),f=!1}else f=ju(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=f),f=!0;if(!f)return i.flags&256?(Ke(i),i):(Ke(i),null)}return Ke(i),(i.flags&128)!==0?(i.lanes=a,i):(a=o!==null,e=e!==null&&e.memoizedState!==null,a&&(o=i.child,f=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(f=o.alternate.memoizedState.cachePool.pool),d=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(d=o.memoizedState.cachePool.pool),d!==f&&(o.flags|=2048)),a!==e&&a&&(i.child.flags|=8192),Sl(i,i.updateQueue),qt(i),null);case 4:return At(),e===null&&qf(i.stateNode.containerInfo),qt(i),null;case 10:return Jn(i.type),qt(i),null;case 19:if(q(Jt),o=i.memoizedState,o===null)return qt(i),null;if(f=(i.flags&128)!==0,d=o.rendering,d===null)if(f)_r(o,!1);else{if(Xt!==0||e!==null&&(e.flags&128)!==0)for(e=i.child;e!==null;){if(d=ll(e),d!==null){for(i.flags|=128,_r(o,!1),e=d.updateQueue,i.updateQueue=e,Sl(i,e),i.subtreeFlags=0,e=a,a=i.child;a!==null;)Cp(a,e),a=a.sibling;return U(Jt,Jt.current&1|2),Mt&&Zn(i,o.treeForkCount),i.child}e=e.sibling}o.tail!==null&&Oe()>Cl&&(i.flags|=128,f=!0,_r(o,!1),i.lanes=4194304)}else{if(!f)if(e=ll(d),e!==null){if(i.flags|=128,f=!0,e=e.updateQueue,i.updateQueue=e,Sl(i,e),_r(o,!0),o.tail===null&&o.tailMode==="hidden"&&!d.alternate&&!Mt)return qt(i),null}else 2*Oe()-o.renderingStartTime>Cl&&a!==536870912&&(i.flags|=128,f=!0,_r(o,!1),i.lanes=4194304);o.isBackwards?(d.sibling=i.child,i.child=d):(e=o.last,e!==null?e.sibling=d:i.child=d,o.last=d)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Oe(),e.sibling=null,a=Jt.current,U(Jt,f?a&1|2:a&1),Mt&&Zn(i,o.treeForkCount),e):(qt(i),null);case 22:case 23:return Ke(i),qu(),o=i.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(i.flags|=8192):o&&(i.flags|=8192),o?(a&536870912)!==0&&(i.flags&128)===0&&(qt(i),i.subtreeFlags&6&&(i.flags|=8192)):qt(i),a=i.updateQueue,a!==null&&Sl(i,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),o=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(o=i.memoizedState.cachePool.pool),o!==a&&(i.flags|=2048),e!==null&&q(xs),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),i.memoizedState.cache!==a&&(i.flags|=2048),Jn(ne),qt(i),null;case 25:return null;case 30:return null}throw Error(r(156,i.tag))}function X2(e,i){switch(Ou(i),i.tag){case 1:return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 3:return Jn(ne),At(),e=i.flags,(e&65536)!==0&&(e&128)===0?(i.flags=e&-65537|128,i):null;case 26:case 27:case 5:return he(i),null;case 31:if(i.memoizedState!==null){if(Ke(i),i.alternate===null)throw Error(r(340));gs()}return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 13:if(Ke(i),e=i.memoizedState,e!==null&&e.dehydrated!==null){if(i.alternate===null)throw Error(r(340));gs()}return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 19:return q(Jt),null;case 4:return At(),null;case 10:return Jn(i.type),null;case 22:case 23:return Ke(i),qu(),e!==null&&q(xs),e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 24:return Jn(ne),null;case 25:return null;default:return null}}function Wg(e,i){switch(Ou(i),i.tag){case 3:Jn(ne),At();break;case 26:case 27:case 5:he(i);break;case 4:At();break;case 31:i.memoizedState!==null&&Ke(i);break;case 13:Ke(i);break;case 19:q(Jt);break;case 10:Jn(i.type);break;case 22:case 23:Ke(i),qu(),e!==null&&q(xs);break;case 24:Jn(ne)}}function Dr(e,i){try{var a=i.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var f=o.next;a=f;do{if((a.tag&e)===e){o=void 0;var d=a.create,v=a.inst;o=d(),v.destroy=o}a=a.next}while(a!==f)}}catch(S){Lt(i,i.return,S)}}function _i(e,i,a){try{var o=i.updateQueue,f=o!==null?o.lastEffect:null;if(f!==null){var d=f.next;o=d;do{if((o.tag&e)===e){var v=o.inst,S=v.destroy;if(S!==void 0){v.destroy=void 0,f=i;var R=a,V=S;try{V()}catch(K){Lt(f,R,K)}}}o=o.next}while(o!==d)}}catch(K){Lt(i,i.return,K)}}function ty(e){var i=e.updateQueue;if(i!==null){var a=e.stateNode;try{Qp(i,a)}catch(o){Lt(e,e.return,o)}}}function ey(e,i,a){a.props=Ts(e.type,e.memoizedProps),a.state=e.memoizedState;
vendor: 19,397 bytes, line 48
48try{a.componentWillUnmount()}catch(o){Lt(e,i,o)}}function zr(e,i){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var o=e.stateNode;break;case 30:o=e.stateNode;break;default:o=e.stateNode}typeof a=="function"?e.refCleanup=a(o):a.current=o}}catch(f){Lt(e,i,f)}}function _n(e,i){var a=e.ref,o=e.refCleanup;if(a!==null)if(typeof o=="function")try{o()}catch(f){Lt(e,i,f)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(f){Lt(e,i,f)}else a.current=null}function ny(e){var i=e.type,a=e.memoizedProps,o=e.stateNode;try{t:switch(i){case"button":case"input":case"select":case"textarea":a.autoFocus&&o.focus();break t;case"img":a.src?o.src=a.src:a.srcSet&&(o.srcset=a.srcSet)}}catch(f){Lt(e,e.return,f)}}function Sf(e,i,a){try{var o=e.stateNode;yE(o,e.type,a,i),o[Pe]=i}catch(f){Lt(e,e.return,f)}}function iy(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Hi(e.type)||e.tag===4}function wf(e){t:for(;;){for(;e.sibling===null;){if(e.return===null||iy(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&&Hi(e.type)||e.flags&2||e.child===null||e.tag===4)continue t;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ef(e,i,a){var o=e.tag;if(o===5||o===6)e=e.stateNode,i?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,i):(i=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,i.appendChild(e),a=a._reactRootContainer,a!=null||i.onclick!==null||(i.onclick=Fn));else if(o!==4&&(o===27&&Hi(e.type)&&(a=e.stateNode,i=null),e=e.child,e!==null))for(Ef(e,i,a),e=e.sibling;e!==null;)Ef(e,i,a),e=e.sibling}function wl(e,i,a){var o=e.tag;if(o===5||o===6)e=e.stateNode,i?a.insertBefore(e,i):a.appendChild(e);else if(o!==4&&(o===27&&Hi(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(wl(e,i,a),e=e.sibling;e!==null;)wl(e,i,a),e=e.sibling}function sy(e){var i=e.stateNode,a=e.memoizedProps;try{for(var o=e.type,f=i.attributes;f.length;)i.removeAttributeNode(f[0]);xe(i,o,a),i[pe]=e,i[Pe]=a}catch(d){Lt(e,e.return,d)}}var ii=!1,ae=!1,Tf=!1,ay=typeof WeakSet=="function"?WeakSet:Set,de=null;function Z2(e,i){if(e=e.containerInfo,Gf=Il,e=yp(e),gu(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else t:{a=(a=e.ownerDocument)&&a.defaultView||window;var o=a.getSelection&&a.getSelection();if(o&&o.rangeCount!==0){a=o.anchorNode;var f=o.anchorOffset,d=o.focusNode;o=o.focusOffset;try{a.nodeType,d.nodeType}catch{a=null;break t}var v=0,S=-1,R=-1,V=0,K=0,$=e,I=null;e:for(;;){for(var Y;$!==a||f!==0&&$.nodeType!==3||(S=v+f),$!==d||o!==0&&$.nodeType!==3||(R=v+o),$.nodeType===3&&(v+=$.nodeValue.length),(Y=$.firstChild)!==null;)I=$,$=Y;for(;;){if($===e)break e;if(I===a&&++V===f&&(S=v),I===d&&++K===o&&(R=v),(Y=$.nextSibling)!==null)break;$=I,I=$.parentNode}$=Y}a=S===-1||R===-1?null:{start:S,end:R}}else a=null}a=a||{start:0,end:0}}else a=null;for(Yf={focusedElem:e,selectionRange:a},Il=!1,de=i;de!==null;)if(i=de,e=i.child,(i.subtreeFlags&1028)!==0&&e!==null)e.return=i,de=e;else for(;de!==null;){switch(i=de,d=i.alternate,e=i.flags,i.tag){case 0:if((e&4)!==0&&(e=i.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)f=e[a],f.ref.impl=f.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&d!==null){e=void 0,a=i,f=d.memoizedProps,d=d.memoizedState,o=a.stateNode;try{var dt=Ts(a.type,f);e=o.getSnapshotBeforeUpdate(dt,d),o.__reactInternalSnapshotBeforeUpdate=e}catch(yt){Lt(a,a.return,yt)}}break;case 3:if((e&1024)!==0){if(e=i.stateNode.containerInfo,a=e.nodeType,a===9)Xf(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Xf(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(r(163))}if(e=i.sibling,e!==null){e.return=i.return,de=e;break}de=i.return}}function ry(e,i,a){var o=a.flags;switch(a.tag){case 0:case 11:case 15:ai(e,a),o&4&&Dr(5,a);break;case 1:if(ai(e,a),o&4)if(e=a.stateNode,i===null)try{e.componentDidMount()}catch(v){Lt(a,a.return,v)}else{var f=Ts(a.type,i.memoizedProps);i=i.memoizedState;try{e.componentDidUpdate(f,i,e.__reactInternalSnapshotBeforeUpdate)}catch(v){Lt(a,a.return,v)}}o&64&&ty(a),o&512&&zr(a,a.return);break;case 3:if(ai(e,a),o&64&&(e=a.updateQueue,e!==null)){if(i=null,a.child!==null)switch(a.child.tag){case 27:case 5:i=a.child.stateNode;break;case 1:i=a.child.stateNode}try{Qp(e,i)}catch(v){Lt(a,a.return,v)}}break;case 27:i===null&&o&4&&sy(a);case 26:case 5:ai(e,a),i===null&&o&4&&ny(a),o&512&&zr(a,a.return);break;case 12:ai(e,a);break;case 31:ai(e,a),o&4&&cy(e,a);break;case 13:ai(e,a),o&4&&uy(e,a),o&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=aE.bind(null,a),AE(e,a))));break;case 22:if(o=a.memoizedState!==null||ii,!o){i=i!==null&&i.memoizedState!==null||ae,f=ii;var d=ae;ii=o,(ae=i)&&!d?ri(e,a,(a.subtreeFlags&8772)!==0):ai(e,a),ii=f,ae=d}break;case 30:break;default:ai(e,a)}}function oy(e){var i=e.alternate;i!==null&&(e.alternate=null,oy(i)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(i=e.stateNode,i!==null&&Wc(i)),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 Qt=null,ke=!1;function si(e,i,a){for(a=a.child;a!==null;)ly(e,i,a),a=a.sibling}function ly(e,i,a){if(Re&&typeof Re.onCommitFiberUnmount=="function")try{Re.onCommitFiberUnmount(os,a)}catch{}switch(a.tag){case 26:ae||_n(a,i),si(e,i,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:ae||_n(a,i);var o=Qt,f=ke;Hi(a.type)&&(Qt=a.stateNode,ke=!1),si(e,i,a),Ir(a.stateNode),Qt=o,ke=f;break;case 5:ae||_n(a,i);case 6:if(o=Qt,f=ke,Qt=null,si(e,i,a),Qt=o,ke=f,Qt!==null)if(ke)try{(Qt.nodeType===9?Qt.body:Qt.nodeName==="HTML"?Qt.ownerDocument.body:Qt).removeChild(a.stateNode)}catch(d){Lt(a,i,d)}else try{Qt.removeChild(a.stateNode)}catch(d){Lt(a,i,d)}break;case 18:Qt!==null&&(ke?(e=Qt,tv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),Ma(e)):tv(Qt,a.stateNode));break;case 4:o=Qt,f=ke,Qt=a.stateNode.containerInfo,ke=!0,si(e,i,a),Qt=o,ke=f;break;case 0:case 11:case 14:case 15:_i(2,a,i),ae||_i(4,a,i),si(e,i,a);break;case 1:ae||(_n(a,i),o=a.stateNode,typeof o.componentWillUnmount=="function"&&ey(a,i,o)),si(e,i,a);break;case 21:si(e,i,a);break;case 22:ae=(o=ae)||a.memoizedState!==null,si(e,i,a),ae=o;break;default:si(e,i,a)}}function cy(e,i){if(i.memoizedState===null&&(e=i.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Ma(e)}catch(a){Lt(i,i.return,a)}}}function uy(e,i){if(i.memoizedState===null&&(e=i.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Ma(e)}catch(a){Lt(i,i.return,a)}}function $2(e){switch(e.tag){case 31:case 13:case 19:var i=e.stateNode;return i===null&&(i=e.stateNode=new ay),i;case 22:return e=e.stateNode,i=e._retryCache,i===null&&(i=e._retryCache=new ay),i;default:throw Error(r(435,e.tag))}}function El(e,i){var a=$2(e);i.forEach(function(o){if(!a.has(o)){a.add(o);var f=rE.bind(null,e,o);o.then(f,f)}})}function Ue(e,i){var a=i.deletions;if(a!==null)for(var o=0;o<a.length;o++){var f=a[o],d=e,v=i,S=v;t:for(;S!==null;){switch(S.tag){case 27:if(Hi(S.type)){Qt=S.stateNode,ke=!1;break t}break;case 5:Qt=S.stateNode,ke=!1;break t;case 3:case 4:Qt=S.stateNode.containerInfo,ke=!0;break t}S=S.return}if(Qt===null)throw Error(r(160));ly(d,v,f),Qt=null,ke=!1,d=f.alternate,d!==null&&(d.return=null),f.return=null}if(i.subtreeFlags&13886)for(i=i.child;i!==null;)fy(i,e),i=i.sibling}var Sn=null;function fy(e,i){var a=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ue(i,e),He(e),o&4&&(_i(3,e,e.return),Dr(3,e),_i(5,e,e.return));break;case 1:Ue(i,e),He(e),o&512&&(ae||a===null||_n(a,a.return)),o&64&&ii&&(e=e.updateQueue,e!==null&&(o=e.callbacks,o!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?o:a.concat(o))));break;case 26:var f=Sn;if(Ue(i,e),He(e),o&512&&(ae||a===null||_n(a,a.return)),o&4){var d=a!==null?a.memoizedState:null;if(o=e.memoizedState,a===null)if(o===null)if(e.stateNode===null){t:{o=e.type,a=e.memoizedProps,f=f.ownerDocument||f;e:switch(o){case"title":d=f.getElementsByTagName("title")[0],(!d||d[or]||d[pe]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=f.createElement(o),f.head.insertBefore(d,f.querySelector("head > title"))),xe(d,o,a),d[pe]=e,fe(d),o=d;break t;case"link":var v=fv("link","href",f).get(o+(a.href||""));if(v){for(var S=0;S<v.length;S++)if(d=v[S],d.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&d.getAttribute("rel")===(a.rel==null?null:a.rel)&&d.getAttribute("title")===(a.title==null?null:a.title)&&d.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){v.splice(S,1);break e}}d=f.createElement(o),xe(d,o,a),f.head.appendChild(d);break;case"meta":if(v=fv("meta","content",f).get(o+(a.content||""))){for(S=0;S<v.length;S++)if(d=v[S],d.getAttribute("content")===(a.content==null?null:""+a.content)&&d.getAttribute("name")===(a.name==null?null:a.name)&&d.getAttribute("property")===(a.property==null?null:a.property)&&d.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&d.getAttribute("charset")===(a.charSet==null?null:a.charSet)){v.splice(S,1);break e}}d=f.createElement(o),xe(d,o,a),f.head.appendChild(d);break;default:throw Error(r(468,o))}d[pe]=e,fe(d),o=d}e.stateNode=o}else dv(f,e.type,e.stateNode);else e.stateNode=uv(f,o,e.memoizedProps);else d!==o?(d===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):d.count--,o===null?dv(f,e.type,e.stateNode):uv(f,o,e.memoizedProps)):o===null&&e.stateNode!==null&&Sf(e,e.memoizedProps,a.memoizedProps)}break;case 27:Ue(i,e),He(e),o&512&&(ae||a===null||_n(a,a.return)),a!==null&&o&4&&Sf(e,e.memoizedProps,a.memoizedProps);break;case 5:if(Ue(i,e),He(e),o&512&&(ae||a===null||_n(a,a.return)),e.flags&32){f=e.stateNode;try{Ws(f,"")}catch(dt){Lt(e,e.return,dt)}}o&4&&e.stateNode!=null&&(f=e.memoizedProps,Sf(e,f,a!==null?a.memoizedProps:f)),o&1024&&(Tf=!0);break;case 6:if(Ue(i,e),He(e),o&4){if(e.stateNode===null)throw Error(r(162));o=e.memoizedProps,a=e.stateNode;try{a.nodeValue=o}catch(dt){Lt(e,e.return,dt)}}break;case 3:if(Hl=null,f=Sn,Sn=kl(i.containerInfo),Ue(i,e),Sn=f,He(e),o&4&&a!==null&&a.memoizedState.isDehydrated)try{Ma(i.containerInfo)}catch(dt){Lt(e,e.return,dt)}Tf&&(Tf=!1,dy(e));break;case 4:o=Sn,Sn=kl(e.stateNode.containerInfo),Ue(i,e),He(e),Sn=o;break;case 12:Ue(i,e),He(e);break;case 31:Ue(i,e),He(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,El(e,o)));break;case 13:Ue(i,e),He(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Al=Oe()),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,El(e,o)));break;case 22:f=e.memoizedState!==null;var R=a!==null&&a.memoizedState!==null,V=ii,K=ae;if(ii=V||f,ae=K||R,Ue(i,e),ae=K,ii=V,He(e),o&8192)t:for(i=e.stateNode,i._visibility=f?i._visibility&-2:i._visibility|1,f&&(a===null||R||ii||ae||As(e)),a=null,i=e;;){if(i.tag===5||i.tag===26){if(a===null){R=a=i;try{if(d=R.stateNode,f)v=d.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none";else{S=R.stateNode;var $=R.memoizedProps.style,I=$!=null&&$.hasOwnProperty("display")?$.display:null;S.style.display=I==null||typeof I=="boolean"?"":(""+I).trim()}}catch(dt){Lt(R,R.return,dt)}}}else if(i.tag===6){if(a===null){R=i;try{R.stateNode.nodeValue=f?"":R.memoizedProps}catch(dt){Lt(R,R.return,dt)}}}else if(i.tag===18){if(a===null){R=i;try{var Y=R.stateNode;f?ev(Y,!0):ev(R.stateNode,!1)}catch(dt){Lt(R,R.return,dt)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===e)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)break t;for(;i.sibling===null;){if(i.return===null||i.return===e)break t;a===i&&(a=null),i=i.return}a===i&&(a=null),i.sibling.return=i.return,i=i.sibling}o&4&&(o=e.updateQueue,o!==null&&(a=o.retryQueue,a!==null&&(o.retryQueue=null,El(e,a))));break;case 19:Ue(i,e),He(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,El(e,o)));break;case 30:break;case 21:break;default:Ue(i,e),He(e)}}function He(e){var i=e.flags;if(i&2){try{for(var a,o=e.return;o!==null;){if(iy(o)){a=o;break}o=o.return}if(a==null)throw Error(r(160));switch(a.tag){case 27:var f=a.stateNode,d=wf(e);wl(e,d,f);break;case 5:var v=a.stateNode;a.flags&32&&(Ws(v,""),a.flags&=-33);var S=wf(e);wl(e,S,v);break;case 3:case 4:var R=a.stateNode.containerInfo,V=wf(e);Ef(e,V,R);break;default:throw Error(r(161))}}catch(K){Lt(e,e.return,K)}e.flags&=-3}i&4096&&(e.flags&=-4097)}function dy(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var i=e;dy(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),e=e.sibling}}function ai(e,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)ry(e,i.alternate,i),i=i.sibling}function As(e){for(e=e.child;e!==null;){var i=e;switch(i.tag){case 0:case 11:case 14:case 15:_i(4,i,i.return),As(i);break;case 1:_n(i,i.return);var a=i.stateNode;typeof a.componentWillUnmount=="function"&&ey(i,i.return,a),As(i);break;case 27:Ir(i.stateNode);case 26:case 5:_n(i,i.return),As(i);break;case 22:i.memoizedState===null&&As(i);break;case 30:As(i);break;default:As(i)}e=e.sibling}}function ri(e,i,a){for(a=a&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var o=i.alternate,f=e,d=i,v=d.flags;switch(d.tag){case 0:case 11:case 15:ri(f,d,a),Dr(4,d);break;case 1:if(ri(f,d,a),o=d,f=o.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(V){Lt(o,o.return,V)}if(o=d,f=o.updateQueue,f!==null){var S=o.stateNode;try{var R=f.shared.hiddenCallbacks;if(R!==null)for(f.shared.hiddenCallbacks=null,f=0;f<R.length;f++)Ip(R[f],S)}catch(V){Lt(o,o.return,V)}}a&&v&64&&ty(d),zr(d,d.return);break;case 27:sy(d);case 26:case 5:ri(f,d,a),a&&o===null&&v&4&&ny(d),zr(d,d.return);break;case 12:ri(f,d,a);break;case 31:ri(f,d,a),a&&v&4&&cy(f,d);break;case 13:ri(f,d,a),a&&v&4&&uy(f,d);break;case 22:d.memoizedState===null&&ri(f,d,a),zr(d,d.return);break;case 30:break;default:ri(f,d,a)}i=i.sibling}}function Af(e,i){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(e=i.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&br(a))}function Cf(e,i){e=null,i.alternate!==null&&(e=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==e&&(i.refCount++,e!=null&&br(e))}function wn(e,i,a,o){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)hy(e,i,a,o),i=i.sibling}function hy(e,i,a,o){var f=i.flags;switch(i.tag){case 0:case 11:case 15:wn(e,i,a,o),f&2048&&Dr(9,i);break;case 1:wn(e,i,a,o);break;case 3:wn(e,i,a,o),f&2048&&(e=null,i.alternate!==null&&(e=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==e&&(i.refCount++,e!=null&&br(e)));break;case 12:if(f&2048){wn(e,i,a,o),e=i.stateNode;try{var d=i.memoizedProps,v=d.id,S=d.onPostCommit;typeof S=="function"&&S(v,i.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(R){Lt(i,i.return,R)}}else wn(e,i,a,o);break;case 31:wn(e,i,a,o);break;case 13:wn(e,i,a,o);break;case 23:break;case 22:d=i.stateNode,v=i.alternate,i.memoizedState!==null?d._visibility&2?wn(e,i,a,o):Pr(e,i):d._visibility&2?wn(e,i,a,o):(d._visibility|=2,xa(e,i,a,o,(i.subtreeFlags&10256)!==0||!1)),f&2048&&Af(v,i);break;case 24:wn(e,i,a,o),f&2048&&Cf(i.alternate,i);break;default:wn(e,i,a,o)}}function xa(e,i,a,o,f){for(f=f&&((i.subtreeFlags&10256)!==0||!1),i=i.child;i!==null;){var d=e,v=i,S=a,R=o,V=v.flags;switch(v.tag){case 0:case 11:case 15:xa(d,v,S,R,f),Dr(8,v);break;case 23:break;case 22:var K=v.stateNode;v.memoizedState!==null?K._visibility&2?xa(d,v,S,R,f):Pr(d,v):(K._visibility|=2,xa(d,v,S,R,f)),f&&V&2048&&Af(v.alternate,v);break;case 24:xa(d,v,S,R,f),f&&V&2048&&Cf(v.alternate,v);break;default:xa(d,v,S,R,f)}i=i.sibling}}function Pr(e,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var a=e,o=i,f=o.flags;switch(o.tag){case 22:Pr(a,o),f&2048&&Af(o.alternate,o);break;case 24:Pr(a,o),f&2048&&Cf(o.alternate,o);break;default:Pr(a,o)}i=i.sibling}}var Lr=8192;function ba(e,i,a){if(e.subtreeFlags&Lr)for(e=e.child;e!==null;)my(e,i,a),e=e.sibling}function my(e,i,a){switch(e.tag){case 26:ba(e,i,a),e.flags&Lr&&e.memoizedState!==null&&kE(a,Sn,e.memoizedState,e.memoizedProps);break;case 5:ba(e,i,a);break;case 3:case 4:var o=Sn;Sn=kl(e.stateNode.containerInfo),ba(e,i,a),Sn=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=Lr,Lr=16777216,ba(e,i,a),Lr=o):ba(e,i,a));break;default:ba(e,i,a)}}function py(e){var i=e.alternate;if(i!==null&&(e=i.child,e!==null)){i.child=null;do i=e.sibling,e.sibling=null,e=i;while(e!==null)}}function kr(e){var i=e.deletions;if((e.flags&16)!==0){if(i!==null)for(var a=0;a<i.length;a++){var o=i[a];de=o,yy(o,e)}py(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)gy(e),e=e.sibling}function gy(e){switch(e.tag){case 0:case 11:case 15:kr(e),e.flags&2048&&_i(9,e,e.return);break;case 3:kr(e);break;case 12:kr(e);break;case 22:var i=e.stateNode;e.memoizedState!==null&&i._visibility&2&&(e.return===null||e.return.tag!==13)?(i._visibility&=-3,Tl(e)):kr(e);break;default:kr(e)}}function Tl(e){var i=e.deletions;if((e.flags&16)!==0){if(i!==null)for(var a=0;a<i.length;a++){var o=i[a];de=o,yy(o,e)}py(e)}for(e=e.child;e!==null;){switch(i=e,i.tag){case 0:case 11:case 15:_i(8,i,i.return),Tl(i);break;case 22:a=i.stateNode,a._visibility&2&&(a._visibility&=-3,Tl(i));break;default:Tl(i)}e=e.sibling}}function yy(e,i){for(;de!==null;){var a=de;switch(a.tag){case 0:case 11:case 15:_i(8,a,i);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var o=a.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:br(a.memoizedState.cache)}if(o=a.child,o!==null)o.return=a,de=o;else t:for(a=e;de!==null;){o=de;var f=o.sibling,d=o.return;if(oy(o),o===a){de=null;break t}if(f!==null){f.return=d,de=f;break t}de=d}}}var J2={getCacheForType:function(e){var i=ye(ne),a=i.data.get(e);return a===void 0&&(a=e(),i.data.set(e,a)),a},cacheSignal:function(){return ye(ne).controller.signal}},W2=typeof WeakMap=="function"?WeakMap:Map,zt=0,Vt=null,Ct=null,Rt=0,Pt=0,Xe=null,Di=!1,Sa=!1,Of=!1,oi=0,Xt=0,zi=0,Cs=0,Rf=0,Ze=0,wa=0,Ur=null,Ve=null,jf=!1,Al=0,vy=0,Cl=1/0,Ol=null,Pi=null,le=0,Li=null,Ea=null,li=0,Mf=0,Nf=null,xy=null,Hr=0,_f=null;function $e(){return(zt&2)!==0&&Rt!==0?Rt&-Rt:j.T!==null?Uf():$c()}function by(){if(Ze===0)if((Rt&536870912)===0||Mt){var e=Gs;Gs<<=1,(Gs&3932160)===0&&(Gs=262144),Ze=e}else Ze=536870912;return e=Fe.current,e!==null&&(e.flags|=32),Ze}function Be(e,i,a){(e===Vt&&(Pt===2||Pt===9)||e.cancelPendingCommit!==null)&&(Ta(e,0),ki(e,Rt,Ze,!1)),Yt(e,a),((zt&2)===0||e!==Vt)&&(e===Vt&&((zt&2)===0&&(Cs|=a),Xt===4&&ki(e,Rt,Ze,!1)),Dn(e))}function Sy(e,i,a){if((zt&6)!==0)throw Error(r(327));var o=!a&&(i&127)===0&&(i&e.expiredLanes)===0||It(e,i),f=o?nE(e,i):zf(e,i,!0),d=o;do{if(f===0){Sa&&!o&&ki(e,i,0,!1);break}else{if(a=e.current.alternate,d&&!tE(a)){f=zf(e,i,!1),d=!1;continue}if(f===2){if(d=i,e.errorRecoveryDisabledLanes&d)var v=0;else v=e.pendingLanes&-536870913,v=v!==0?v:v&536870912?536870912:0;if(v!==0){i=v;t:{var S=e;f=Ur;var R=S.current.memoizedState.isDehydrated;if(R&&(Ta(S,v).flags|=256),v=zf(S,v,!1),v!==2){if(Of&&!R){S.errorRecoveryDisabledLanes|=d,
vendor: 13,631 bytes, line 48
48Cs|=d,f=4;break t}d=Ve,Ve=f,d!==null&&(Ve===null?Ve=d:Ve.push.apply(Ve,d))}f=v}if(d=!1,f!==2)continue}}if(f===1){Ta(e,0),ki(e,i,0,!0);break}t:{switch(o=e,d=f,d){case 0:case 1:throw Error(r(345));case 4:if((i&4194048)!==i)break;case 6:ki(o,i,Ze,!Di);break t;case 2:Ve=null;break;case 3:case 5:break;default:throw Error(r(329))}if((i&62914560)===i&&(f=Al+300-Oe(),10<f)){if(ki(o,i,Ze,!Di),bt(o,0,!0)!==0)break t;li=i,o.timeoutHandle=Jy(wy.bind(null,o,a,Ve,Ol,jf,i,Ze,Cs,wa,Di,d,"Throttled",-0,0),f);break t}wy(o,a,Ve,Ol,jf,i,Ze,Cs,wa,Di,d,null,-0,0)}}break}while(!0);Dn(e)}function wy(e,i,a,o,f,d,v,S,R,V,K,$,I,Y){if(e.timeoutHandle=-1,$=i.subtreeFlags,$&8192||($&16785408)===16785408){$={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Fn},my(i,d,$);var dt=(d&62914560)===d?Al-Oe():(d&4194048)===d?vy-Oe():0;if(dt=UE($,dt),dt!==null){li=d,e.cancelPendingCommit=dt(My.bind(null,e,i,d,a,o,f,v,S,R,K,$,null,I,Y)),ki(e,d,v,!V);return}}My(e,i,d,a,o,f,v,S,R)}function tE(e){for(var i=e;;){var a=i.tag;if((a===0||a===11||a===15)&&i.flags&16384&&(a=i.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var o=0;o<a.length;o++){var f=a[o],d=f.getSnapshot;f=f.value;try{if(!Ge(d(),f))return!1}catch{return!1}}if(a=i.child,i.subtreeFlags&16384&&a!==null)a.return=i,i=a;else{if(i===e)break;for(;i.sibling===null;){if(i.return===null||i.return===e)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function ki(e,i,a,o){i&=~Rf,i&=~Cs,e.suspendedLanes|=i,e.pingedLanes&=~i,o&&(e.warmLanes|=i),o=e.expirationTimes;for(var f=i;0<f;){var d=31-Se(f),v=1<<d;o[d]=-1,f&=~v}a!==0&&cs(e,a,i)}function Rl(){return(zt&6)===0?(Vr(0),!1):!0}function Df(){if(Ct!==null){if(Pt===0)var e=Ct.return;else e=Ct,$n=ys=null,Ku(e),ma=null,wr=0,e=Ct;for(;e!==null;)Wg(e.alternate,e),e=e.return;Ct=null}}function Ta(e,i){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,bE(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),li=0,Df(),Vt=e,Ct=a=Xn(e.current,null),Rt=i,Pt=0,Xe=null,Di=!1,Sa=It(e,i),Of=!1,wa=Ze=Rf=Cs=zi=Xt=0,Ve=Ur=null,jf=!1,(i&8)!==0&&(i|=i&32);var o=e.entangledLanes;if(o!==0)for(e=e.entanglements,o&=i;0<o;){var f=31-Se(o),d=1<<f;i|=e[f],o&=~d}return oi=i,Xo(),a}function Ey(e,i){wt=null,j.H=Mr,i===ha||i===il?(i=Hp(),Pt=3):i===Lu?(i=Hp(),Pt=4):Pt=i===ff?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,Xe=i,Ct===null&&(Xt=1,yl(e,rn(i,e.current)))}function Ty(){var e=Fe.current;return e===null?!0:(Rt&4194048)===Rt?un===null:(Rt&62914560)===Rt||(Rt&536870912)!==0?e===un:!1}function Ay(){var e=j.H;return j.H=Mr,e===null?Mr:e}function Cy(){var e=j.A;return j.A=J2,e}function jl(){Xt=4,Di||(Rt&4194048)!==Rt&&Fe.current!==null||(Sa=!0),(zi&134217727)===0&&(Cs&134217727)===0||Vt===null||ki(Vt,Rt,Ze,!1)}function zf(e,i,a){var o=zt;zt|=2;var f=Ay(),d=Cy();(Vt!==e||Rt!==i)&&(Ol=null,Ta(e,i)),i=!1;var v=Xt;t:do try{if(Pt!==0&&Ct!==null){var S=Ct,R=Xe;switch(Pt){case 8:Df(),v=6;break t;case 3:case 2:case 9:case 6:Fe.current===null&&(i=!0);var V=Pt;if(Pt=0,Xe=null,Aa(e,S,R,V),a&&Sa){v=0;break t}break;default:V=Pt,Pt=0,Xe=null,Aa(e,S,R,V)}}eE(),v=Xt;break}catch(K){Ey(e,K)}while(!0);return i&&e.shellSuspendCounter++,$n=ys=null,zt=o,j.H=f,j.A=d,Ct===null&&(Vt=null,Rt=0,Xo()),v}function eE(){for(;Ct!==null;)Oy(Ct)}function nE(e,i){var a=zt;zt|=2;var o=Ay(),f=Cy();Vt!==e||Rt!==i?(Ol=null,Cl=Oe()+500,Ta(e,i)):Sa=It(e,i);t:do try{if(Pt!==0&&Ct!==null){i=Ct;var d=Xe;e:switch(Pt){case 1:Pt=0,Xe=null,Aa(e,i,d,1);break;case 2:case 9:if(kp(d)){Pt=0,Xe=null,Ry(i);break}i=function(){Pt!==2&&Pt!==9||Vt!==e||(Pt=7),Dn(e)},d.then(i,i);break t;case 3:Pt=7;break t;case 4:Pt=5;break t;case 7:kp(d)?(Pt=0,Xe=null,Ry(i)):(Pt=0,Xe=null,Aa(e,i,d,7));break;case 5:var v=null;switch(Ct.tag){case 26:v=Ct.memoizedState;case 5:case 27:var S=Ct;if(v?hv(v):S.stateNode.complete){Pt=0,Xe=null;var R=S.sibling;if(R!==null)Ct=R;else{var V=S.return;V!==null?(Ct=V,Ml(V)):Ct=null}break e}}Pt=0,Xe=null,Aa(e,i,d,5);break;case 6:Pt=0,Xe=null,Aa(e,i,d,6);break;case 8:Df(),Xt=6;break t;default:throw Error(r(462))}}iE();break}catch(K){Ey(e,K)}while(!0);return $n=ys=null,j.H=o,j.A=f,zt=a,Ct!==null?0:(Vt=null,Rt=0,Xo(),Xt)}function iE(){for(;Ct!==null&&!Ce();)Oy(Ct)}function Oy(e){var i=$g(e.alternate,e,oi);e.memoizedProps=e.pendingProps,i===null?Ml(e):Ct=i}function Ry(e){var i=e,a=i.alternate;switch(i.tag){case 15:case 0:i=Gg(a,i,i.pendingProps,i.type,void 0,Rt);break;case 11:i=Gg(a,i,i.pendingProps,i.type.render,i.ref,Rt);break;case 5:Ku(i);default:Wg(a,i),i=Ct=Cp(i,oi),i=$g(a,i,oi)}e.memoizedProps=e.pendingProps,i===null?Ml(e):Ct=i}function Aa(e,i,a,o){$n=ys=null,Ku(i),ma=null,wr=0;var f=i.return;try{if(G2(e,f,i,a,Rt)){Xt=1,yl(e,rn(a,e.current)),Ct=null;return}}catch(d){if(f!==null)throw Ct=f,d;Xt=1,yl(e,rn(a,e.current)),Ct=null;return}i.flags&32768?(Mt||o===1?e=!0:Sa||(Rt&536870912)!==0?e=!1:(Di=e=!0,(o===2||o===9||o===3||o===6)&&(o=Fe.current,o!==null&&o.tag===13&&(o.flags|=16384))),jy(i,e)):Ml(i)}function Ml(e){var i=e;do{if((i.flags&32768)!==0){jy(i,Di);return}e=i.return;var a=K2(i.alternate,i,oi);if(a!==null){Ct=a;return}if(i=i.sibling,i!==null){Ct=i;return}Ct=i=e}while(i!==null);Xt===0&&(Xt=5)}function jy(e,i){do{var a=X2(e.alternate,e);if(a!==null){a.flags&=32767,Ct=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!i&&(e=e.sibling,e!==null)){Ct=e;return}Ct=e=a}while(e!==null);Xt=6,Ct=null}function My(e,i,a,o,f,d,v,S,R){e.cancelPendingCommit=null;do Nl();while(le!==0);if((zt&6)!==0)throw Error(r(327));if(i!==null){if(i===e.current)throw Error(r(177));if(d=i.lanes|i.childLanes,d|=Su,_e(e,a,d,v,S,R),e===Vt&&(Ct=Vt=null,Rt=0),Ea=i,Li=e,li=a,Mf=d,Nf=f,xy=o,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,oE(rs,function(){return Py(),null})):(e.callbackNode=null,e.callbackPriority=0),o=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||o){o=j.T,j.T=null,f=P.p,P.p=2,v=zt,zt|=4;try{Z2(e,i,a)}finally{zt=v,P.p=f,j.T=o}}le=1,Ny(),_y(),Dy()}}function Ny(){if(le===1){le=0;var e=Li,i=Ea,a=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||a){a=j.T,j.T=null;var o=P.p;P.p=2;var f=zt;zt|=4;try{fy(i,e);var d=Yf,v=yp(e.containerInfo),S=d.focusedElem,R=d.selectionRange;if(v!==S&&S&&S.ownerDocument&&gp(S.ownerDocument.documentElement,S)){if(R!==null&&gu(S)){var V=R.start,K=R.end;if(K===void 0&&(K=V),"selectionStart"in S)S.selectionStart=V,S.selectionEnd=Math.min(K,S.value.length);else{var $=S.ownerDocument||document,I=$&&$.defaultView||window;if(I.getSelection){var Y=I.getSelection(),dt=S.textContent.length,yt=Math.min(R.start,dt),Ht=R.end===void 0?yt:Math.min(R.end,dt);!Y.extend&&yt>Ht&&(v=Ht,Ht=yt,yt=v);var L=pp(S,yt),_=pp(S,Ht);if(L&&_&&(Y.rangeCount!==1||Y.anchorNode!==L.node||Y.anchorOffset!==L.offset||Y.focusNode!==_.node||Y.focusOffset!==_.offset)){var H=$.createRange();H.setStart(L.node,L.offset),Y.removeAllRanges(),yt>Ht?(Y.addRange(H),Y.extend(_.node,_.offset)):(H.setEnd(_.node,_.offset),Y.addRange(H))}}}}for($=[],Y=S;Y=Y.parentNode;)Y.nodeType===1&&$.push({element:Y,left:Y.scrollLeft,top:Y.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<$.length;S++){var X=$[S];X.element.scrollLeft=X.left,X.element.scrollTop=X.top}}Il=!!Gf,Yf=Gf=null}finally{zt=f,P.p=o,j.T=a}}e.current=i,le=2}}function _y(){if(le===2){le=0;var e=Li,i=Ea,a=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||a){a=j.T,j.T=null;var o=P.p;P.p=2;var f=zt;zt|=4;try{ry(e,i.alternate,i)}finally{zt=f,P.p=o,j.T=a}}le=3}}function Dy(){if(le===4||le===3){le=0,vi();var e=Li,i=Ea,a=li,o=xy;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?le=5:(le=0,Ea=Li=null,zy(e,e.pendingLanes));var f=e.pendingLanes;if(f===0&&(Pi=null),xn(a),i=i.stateNode,Re&&typeof Re.onCommitFiberRoot=="function")try{Re.onCommitFiberRoot(os,i,void 0,(i.current.flags&128)===128)}catch{}if(o!==null){i=j.T,f=P.p,P.p=2,j.T=null;try{for(var d=e.onRecoverableError,v=0;v<o.length;v++){var S=o[v];d(S.value,{componentStack:S.stack})}}finally{j.T=i,P.p=f}}(li&3)!==0&&Nl(),Dn(e),f=e.pendingLanes,(a&261930)!==0&&(f&42)!==0?e===_f?Hr++:(Hr=0,_f=e):Hr=0,Vr(0)}}function zy(e,i){(e.pooledCacheLanes&=i)===0&&(i=e.pooledCache,i!=null&&(e.pooledCache=null,br(i)))}function Nl(){return Ny(),_y(),Dy(),Py()}function Py(){if(le!==5)return!1;var e=Li,i=Mf;Mf=0;var a=xn(li),o=j.T,f=P.p;try{P.p=32>a?32:a,j.T=null,a=Nf,Nf=null;var d=Li,v=li;if(le=0,Ea=Li=null,li=0,(zt&6)!==0)throw Error(r(331));var S=zt;if(zt|=4,gy(d.current),hy(d,d.current,v,a),zt=S,Vr(0,!1),Re&&typeof Re.onPostCommitFiberRoot=="function")try{Re.onPostCommitFiberRoot(os,d)}catch{}return!0}finally{P.p=f,j.T=o,zy(e,i)}}function Ly(e,i,a){i=rn(a,i),i=uf(e.stateNode,i,2),e=ji(e,i,2),e!==null&&(Yt(e,2),Dn(e))}function Lt(e,i,a){if(e.tag===3)Ly(e,e,a);else for(;i!==null;){if(i.tag===3){Ly(i,e,a);break}else if(i.tag===1){var o=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Pi===null||!Pi.has(o))){e=rn(a,e),a=kg(2),o=ji(i,a,2),o!==null&&(Ug(a,o,i,e),Yt(o,2),Dn(o));break}}i=i.return}}function Pf(e,i,a){var o=e.pingCache;if(o===null){o=e.pingCache=new W2;var f=new Set;o.set(i,f)}else f=o.get(i),f===void 0&&(f=new Set,o.set(i,f));f.has(a)||(Of=!0,f.add(a),e=sE.bind(null,e,i,a),i.then(e,e))}function sE(e,i,a){var o=e.pingCache;o!==null&&o.delete(i),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Vt===e&&(Rt&a)===a&&(Xt===4||Xt===3&&(Rt&62914560)===Rt&&300>Oe()-Al?(zt&2)===0&&Ta(e,0):Rf|=a,wa===Rt&&(wa=0)),Dn(e)}function ky(e,i){i===0&&(i=we()),e=ms(e,i),e!==null&&(Yt(e,i),Dn(e))}function aE(e){var i=e.memoizedState,a=0;i!==null&&(a=i.retryLane),ky(e,a)}function rE(e,i){var a=0;switch(e.tag){case 31:case 13:var o=e.stateNode,f=e.memoizedState;f!==null&&(a=f.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error(r(314))}o!==null&&o.delete(i),ky(e,a)}function oE(e,i){return ir(e,i)}var _l=null,Ca=null,Lf=!1,Dl=!1,kf=!1,Ui=0;function Dn(e){e!==Ca&&e.next===null&&(Ca===null?_l=Ca=e:Ca=Ca.next=e),Dl=!0,Lf||(Lf=!0,cE())}function Vr(e,i){if(!kf&&Dl){kf=!0;do for(var a=!1,o=_l;o!==null;){if(e!==0){var f=o.pendingLanes;if(f===0)var d=0;else{var v=o.suspendedLanes,S=o.pingedLanes;d=(1<<31-Se(42|e)+1)-1,d&=f&~(v&~S),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(a=!0,By(o,d))}else d=Rt,d=bt(o,o===Vt?d:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(d&3)===0||It(o,d)||(a=!0,By(o,d));o=o.next}while(a);kf=!1}}function lE(){Uy()}function Uy(){Dl=Lf=!1;var e=0;Ui!==0&&xE()&&(e=Ui);for(var i=Oe(),a=null,o=_l;o!==null;){var f=o.next,d=Hy(o,i);d===0?(o.next=null,a===null?_l=f:a.next=f,f===null&&(Ca=a)):(a=o,(e!==0||(d&3)!==0)&&(Dl=!0)),o=f}le!==0&&le!==5||Vr(e),Ui!==0&&(Ui=0)}function Hy(e,i){for(var a=e.suspendedLanes,o=e.pingedLanes,f=e.expirationTimes,d=e.pendingLanes&-62914561;0<d;){var v=31-Se(d),S=1<<v,R=f[v];R===-1?((S&a)===0||(S&o)!==0)&&(f[v]=ue(S,i)):R<=i&&(e.expiredLanes|=S),d&=~S}if(i=Vt,a=Rt,a=bt(e,e===i?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o=e.callbackNode,a===0||e===i&&(Pt===2||Pt===9)||e.cancelPendingCommit!==null)return o!==null&&o!==null&&sr(o),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||It(e,a)){if(i=a&-a,i===e.callbackPriority)return i;switch(o!==null&&sr(o),xn(a)){case 2:case 8:a=Lo;break;case 32:a=rs;break;case 268435456:a=Gn;break;default:a=rs}return o=Vy.bind(null,e),a=ir(a,o),e.callbackPriority=i,e.callbackNode=a,i}return o!==null&&o!==null&&sr(o),e.callbackPriority=2,e.callbackNode=null,2}function Vy(e,i){if(le!==0&&le!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(Nl()&&e.callbackNode!==a)return null;var o=Rt;return o=bt(e,e===Vt?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o===0?null:(Sy(e,o,i),Hy(e,Oe()),e.callbackNode!=null&&e.callbackNode===a?Vy.bind(null,e):null)}function By(e,i){if(Nl())return null;Sy(e,i,!0)}function cE(){SE(function(){(zt&6)!==0?ir(as,lE):Uy()})}function Uf(){if(Ui===0){var e=fa;e===0&&(e=Qs,Qs<<=1,(Qs&261888)===0&&(Qs=256)),Ui=e}return Ui}function qy(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Bo(""+e)}function Iy(e,i){var a=i.ownerDocument.createElement("input");return a.name=i.name,a.value=i.value,e.id&&a.setAttribute("form",e.id),i.parentNode.insertBefore(a,i),e=new FormData(e),a.parentNode.removeChild(a),e}function uE(e,i,a,o,f){if(i==="submit"&&a&&a.stateNode===f){var d=qy((f[Pe]||null).action),v=o.submitter;v&&(i=(i=v[Pe]||null)?qy(i.formAction):v.getAttribute("formAction"),i!==null&&(d=i,v=null));var S=new Go("action","action",null,o,f);e.push({event:S,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Ui!==0){var R=v?Iy(f,v):new FormData(f);sf(a,{pending:!0,data:R,method:f.method,action:d},null,R)}}else typeof d=="function"&&(S.preventDefault(),R=v?Iy(f,v):new FormData(f),sf(a,{pending:!0,data:R,method:f.method,action:d},d,R))},currentTarget:f}]})}}for(var Hf=0;Hf<bu.length;Hf++){var Vf=bu[Hf],fE=Vf.toLowerCase(),dE=Vf[0].toUpperCase()+Vf.slice(1);bn(fE,"on"+dE)}bn(bp,"onAnimationEnd"),bn(Sp,"onAnimationIteration"),bn(wp,"onAnimationStart"),bn("dblclick","onDoubleClick"),bn("focusin","onFocus"),bn("focusout","onBlur"),bn(R2,"onTransitionRun"),bn(j2,"onTransitionStart"),bn(M2,"onTransitionCancel"),bn(Ep,"onTransitionEnd"),$s("onMouseEnter",["mouseout","mouseover"]),$s("onMouseLeave",["mouseout","mouseover"]),$s("onPointerEnter",["pointerout","pointerover"]),$s("onPointerLeave",["pointerout","pointerover"]),us("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),us("onSelect","focusout contextmenu dragend focu
48sin keydown keyup mousedown mouseup selectionchange".split(" ")),us("onBeforeInput",["compositionend","keypress","textInput","paste"]),us("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),us("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),us("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Br="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(" "),hE=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Br));function Qy(e,i){i=(i&4)!==0;for(var a=0;a<e.length;a++){var o=e[a],f=o.event;o=o.listeners;t:{var d=void 0;if(i)for(var v=o.length-1;0<=v;v--){var S=o[v],R=S.instance,V=S.currentTarget;if(S=S.listener,R!==d&&f.isPropagationStopped())break t;d=S,f.currentTarget=V;try{d(f)}catch(K){Ko(K)}f.currentTarget=null,d=R}else for(v=0;v<o.length;v++){if(S=o[v],R=S.instance,V=S.currentTarget,S=S.listener,R!==d&&f.isPropagationStopped())break t;d=S,f.currentTarget=V;try{d(f)}catch(K){Ko(K)}f.currentTarget=null,d=R}}}}function Ot(e,i){var a=i[Jc];a===void 0&&(a=i[Jc]=new Set);var o=e+"__bubble";a.has(o)||(Gy(i,e,2,!1),a.add(o))}function Bf(e,i,a){var o=0;i&&(o|=4),Gy(a,e,o,i)}var zl="_reactListening"+Math.random().toString(36).slice(2);function qf(e){if(!e[zl]){e[zl]=!0,Um.forEach(function(a){a!=="selectionchange"&&(hE.has(a)||Bf(a,!1,e),Bf(a,!0,e))});var i=e.nodeType===9?e:e.ownerDocument;i===null||i[zl]||(i[zl]=!0,Bf("selectionchange",!1,i))}}function Gy(e,i,a,o){switch(bv(i)){case 2:var f=BE;break;case 8:f=qE;break;default:f=id}a=f.bind(null,i,a,e),f=void 0,!ou||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(f=!0),o?f!==void 0?e.addEventListener(i,a,{capture:!0,passive:f}):e.addEventListener(i,a,!0):f!==void 0?e.addEventListener(i,a,{passive:f}):e.addEventListener(i,a,!1)}function If(e,i,a,o,f){var d=o;if((i&1)===0&&(i&2)===0&&o!==null)t:for(;;){if(o===null)return;var v=o.tag;if(v===3||v===4){var S=o.stateNode.containerInfo;if(S===f)break;if(v===4)for(v=o.return;v!==null;){var R=v.tag;if((R===3||R===4)&&v.stateNode.containerInfo===f)return;v=v.return}for(;S!==null;){if(v=Ks(S),v===null)return;if(R=v.tag,R===5||R===6||R===26||R===27){o=d=v;continue t}S=S.parentNode}}o=o.return}Zm(function(){var V=d,K=au(a),$=[];t:{var I=Tp.get(e);if(I!==void 0){var Y=Go,dt=e;switch(e){case"keypress":if(Io(a)===0)break t;case"keydown":case"keyup":Y=r2;break;case"focusin":dt="focus",Y=fu;break;case"focusout":dt="blur",Y=fu;break;case"beforeblur":case"afterblur":Y=fu;break;case"click":if(a.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Y=Wm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Y=Kw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Y=c2;break;case bp:case Sp:case wp:Y=$w;break;case Ep:Y=f2;break;case"scroll":case"scrollend":Y=Yw;break;case"wheel":Y=h2;break;case"copy":case"cut":case"paste":Y=Ww;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Y=ep;break;case"toggle":case"beforetoggle":Y=p2}var yt=(i&4)!==0,Ht=!yt&&(e==="scroll"||e==="scrollend"),L=yt?I!==null?I+"Capture":null:I;yt=[];for(var _=V,H;_!==null;){var X=_;if(H=X.stateNode,X=X.tag,X!==5&&X!==26&&X!==27||H===null||L===null||(X=cr(_,L),X!=null&&yt.push(qr(_,X,H))),Ht)break;_=_.return}0<yt.length&&(I=new Y(I,dt,null,a,K),$.push({event:I,listeners:yt}))}}if((i&7)===0){t:{if(I=e==="mouseover"||e==="pointerover",Y=e==="mouseout"||e==="pointerout",I&&a!==su&&(dt=a.relatedTarget||a.fromElement)&&(Ks(dt)||dt[Fs]))break t;if((Y||I)&&(I=K.window===K?K:(I=K.ownerDocument)?I.defaultView||I.parentWindow:window,Y?(dt=a.relatedTarget||a.toElement,Y=V,dt=dt?Ks(dt):null,dt!==null&&(Ht=c(dt),yt=dt.tag,dt!==Ht||yt!==5&&yt!==27&&yt!==6)&&(dt=null)):(Y=null,dt=V),Y!==dt)){if(yt=Wm,X="onMouseLeave",L="onMouseEnter",_="mouse",(e==="pointerout"||e==="pointerover")&&(yt=ep,X="onPointerLeave",L="onPointerEnter",_="pointer"),Ht=Y==null?I:lr(Y),H=dt==null?I:lr(dt),I=new yt(X,_+"leave",Y,a,K),I.target=Ht,I.relatedTarget=H,X=null,Ks(K)===V&&(yt=new yt(L,_+"enter",dt,a,K),yt.target=H,yt.relatedTarget=Ht,X=yt),Ht=X,Y&&dt)e:{for(yt=mE,L=Y,_=dt,H=0,X=L;X;X=yt(X))H++;X=0;for(var gt=_;gt;gt=yt(gt))X++;for(;0<H-X;)L=yt(L),H--;for(;0<X-H;)_=yt(_),X--;for(;H--;){if(L===_||_!==null&&L===_.alternate){yt=L;break e}L=yt(L),_=yt(_)}yt=null}else yt=null;Y!==null&&Yy($,I,Y,yt,!1),dt!==null&&Ht!==null&&Yy($,Ht,dt,yt,!0)}}t:{if(I=V?lr(V):window,Y=I.nodeName&&I.nodeName.toLowerCase(),Y==="select"||Y==="input"&&I.type==="file")var Nt=cp;else if(op(I))if(up)Nt=A2;else{Nt=E2;var pt=w2}else Y=I.nodeName,!Y||Y.toLowerCase()!=="input"||I.type!=="checkbox"&&I.type!=="radio"?V&&iu(V.elementType)&&(Nt=cp):Nt=T2;if(Nt&&(Nt=Nt(e,V))){lp($,Nt,a,K);break t}pt&&pt(e,I,V),e==="focusout"&&V&&I.type==="number"&&V.memoizedProps.value!=null&&nu(I,"number",I.value)}switch(pt=V?lr(V):window,e){case"focusin":(op(pt)||pt.contentEditable==="true")&&(ia=pt,yu=V,yr=null);break;case"focusout":yr=yu=ia=null;break;case"mousedown":vu=!0;break;case"contextmenu":case"mouseup":case"dragend":vu=!1,vp($,a,K);break;case"selectionchange":if(O2)break;case"keydown":case"keyup":vp($,a,K)}var Et;if(hu)t:{switch(e){case"compositionstart":var jt="onCompositionStart";break t;case"compositionend":jt="onCompositionEnd";break t;case"compositionupdate":jt="onCompositionUpdate";break t}jt=void 0}else na?ap(e,a)&&(jt="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(jt="onCompositionStart");jt&&(np&&a.locale!=="ko"&&(na||jt!=="onCompositionStart"?jt==="onCompositionEnd"&&na&&(Et=$m()):(wi=K,lu="value"in wi?wi.value:wi.textContent,na=!0)),pt=Pl(V,jt),0<pt.length&&(jt=new tp(jt,e,null,a,K),$.push({event:jt,listeners:pt}),Et?jt.data=Et:(Et=rp(a),Et!==null&&(jt.data=Et)))),(Et=y2?v2(e,a):x2(e,a))&&(jt=Pl(V,"onBeforeInput"),0<jt.length&&(pt=new tp("onBeforeInput","beforeinput",null,a,K),$.push({event:pt,listeners:jt}),pt.data=Et)),uE($,e,V,a,K)}Qy($,i)})}function qr(e,i,a){return{instance:e,listener:i,currentTarget:a}}function Pl(e,i){for(var a=i+"Capture",o=[];e!==null;){var f=e,d=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||d===null||(f=cr(e,a),f!=null&&o.unshift(qr(e,f,d)),f=cr(e,i),f!=null&&o.push(qr(e,f,d))),e.tag===3)return o;e=e.return}return[]}function mE(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Yy(e,i,a,o,f){for(var d=i._reactName,v=[];a!==null&&a!==o;){var S=a,R=S.alternate,V=S.stateNode;if(S=S.tag,R!==null&&R===o)break;S!==5&&S!==26&&S!==27||V===null||(R=V,f?(V=cr(a,d),V!=null&&v.unshift(qr(a,V,R))):f||(V=cr(a,d),V!=null&&v.push(qr(a,V,R)))),a=a.return}v.length!==0&&e.push({event:i,listeners:v})}var pE=/\r\n?/g,gE=/\u0000|\uFFFD/g;function Fy(e){return(typeof e=="string"?e:""+e).replace(pE,`
49`).replace(gE,"")}function Ky(e,i){return i=Fy(i),Fy(e)===i}function Ut(e,i,a,o,f,d){switch(a){case"children":typeof o=="str
49ing"?i==="body"||i==="textarea"&&o===""||Ws(e,o):(typeof o=="number"||typeof o=="bigint")&&i!=="body"&&Ws(e,""+o);break;case"className":Ho(e,"class",o);break;case"tabIndex":Ho(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Ho(e,a,o);break;case"style":Km(e,o,d);break;case"data":if(i!=="object"){Ho(e,"data",o);break}case"src":case"href":if(o===""&&(i!=="a"||a!=="href")){e.removeAttribute(a);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(a);break}o=Bo(""+o),e.setAttribute(a,o);break;case"action":case"formAction":if(typeof o=="function"){e.setAttribute(a,"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}else typeof d=="function"&&(a==="formAction"?(i!=="input"&&Ut(e,i,"name",f.name,f,null),Ut(e,i,"formEncType",f.formEncType,f,null),Ut(e,i,"formMethod",f.formMethod,f,null),Ut(e,i,"formTarget",f.formTarget,f,null)):(Ut(e,i,"encType",f.encType,f,null),Ut(e,i,"method",f.method,f,null),Ut(e,i,"target",f.target,f,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(a);break}o=Bo(""+o),e.setAttribute(a,o);break;case"onClick":o!=null&&(e.onclick=Fn);break;case"onScroll":o!=null&&Ot("scroll",e);break;case"onScrollEnd":o!=null&&Ot("scrollend",e);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(a=o.__html,a!=null){if(f.children!=null)throw Error(r(60));e.innerHTML=a}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}a=Bo(""+o),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(a,""+o):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":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":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":o===!0?e.setAttribute(a,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(a,o):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?e.setAttribute(a,o):e.removeAttribute(a);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(a):e.setAttribute(a,o);break;case"popover":Ot("beforetoggle",e),Ot("toggle",e),Uo(e,"popover",o);break;case"xlinkActuate":Yn(e,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":Yn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":Yn(e,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":Yn(e,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":Yn(e,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":Yn(e,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":Yn(e,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":Yn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":Yn(e,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":Uo(e,"is",o);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=Qw.get(a)||a,Uo(e,a,o))}}function Qf(e,i,a,o,f,d){switch(a){case"style":Km(e,o,d);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(a=o.__html,a!=null){if(f.children!=null)throw Error(r(60));e.innerHTML=a}}break;
vendor: 9,098 bytes, line 49
49case"children":typeof o=="string"?Ws(e,o):(typeof o=="number"||typeof o=="bigint")&&Ws(e,""+o);break;case"onScroll":o!=null&&Ot("scroll",e);break;case"onScrollEnd":o!=null&&Ot("scrollend",e);break;case"onClick":o!=null&&(e.onclick=Fn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Hm.hasOwnProperty(a))t:{if(a[0]==="o"&&a[1]==="n"&&(f=a.endsWith("Capture"),i=a.slice(2,f?a.length-7:void 0),d=e[Pe]||null,d=d!=null?d[a]:null,typeof d=="function"&&e.removeEventListener(i,d,f),typeof o=="function")){typeof d!="function"&&d!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(i,o,f);break t}a in e?e[a]=o:o===!0?e.setAttribute(a,""):Uo(e,a,o)}}}function xe(e,i,a){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ot("error",e),Ot("load",e);var o=!1,f=!1,d;for(d in a)if(a.hasOwnProperty(d)){var v=a[d];if(v!=null)switch(d){case"src":o=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,i));default:Ut(e,i,d,v,a,null)}}f&&Ut(e,i,"srcSet",a.srcSet,a,null),o&&Ut(e,i,"src",a.src,a,null);return;case"input":Ot("invalid",e);var S=d=v=f=null,R=null,V=null;for(o in a)if(a.hasOwnProperty(o)){var K=a[o];if(K!=null)switch(o){case"name":f=K;break;case"type":v=K;break;case"checked":R=K;break;case"defaultChecked":V=K;break;case"value":d=K;break;case"defaultValue":S=K;break;case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(r(137,i));break;default:Ut(e,i,o,K,a,null)}}Qm(e,d,S,R,V,v,f,!1);return;case"select":Ot("invalid",e),o=v=d=null;for(f in a)if(a.hasOwnProperty(f)&&(S=a[f],S!=null))switch(f){case"value":d=S;break;case"defaultValue":v=S;break;case"multiple":o=S;default:Ut(e,i,f,S,a,null)}i=d,a=v,e.multiple=!!o,i!=null?Js(e,!!o,i,!1):a!=null&&Js(e,!!o,a,!0);return;case"textarea":Ot("invalid",e),d=f=o=null;for(v in a)if(a.hasOwnProperty(v)&&(S=a[v],S!=null))switch(v){case"value":o=S;break;case"defaultValue":f=S;break;case"children":d=S;break;case"dangerouslySetInnerHTML":if(S!=null)throw Error(r(91));break;default:Ut(e,i,v,S,a,null)}Ym(e,o,f,d);return;case"option":for(R in a)if(a.hasOwnProperty(R)&&(o=a[R],o!=null))switch(R){case"selected":e.selected=o&&typeof o!="function"&&typeof o!="symbol";break;default:Ut(e,i,R,o,a,null)}return;case"dialog":Ot("beforetoggle",e),Ot("toggle",e),Ot("cancel",e),Ot("close",e);break;case"iframe":case"object":Ot("load",e);break;case"video":case"audio":for(o=0;o<Br.length;o++)Ot(Br[o],e);break;case"image":Ot("error",e),Ot("load",e);break;case"details":Ot("toggle",e);break;case"embed":case"source":case"link":Ot("error",e),Ot("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(V in a)if(a.hasOwnProperty(V)&&(o=a[V],o!=null))switch(V){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,i));default:Ut(e,i,V,o,a,null)}return;default:if(iu(i)){for(K in a)a.hasOwnProperty(K)&&(o=a[K],o!==void 0&&Qf(e,i,K,o,a,void 0));return}}for(S in a)a.hasOwnProperty(S)&&(o=a[S],o!=null&&Ut(e,i,S,o,a,null))}function yE(e,i,a,o){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,d=null,v=null,S=null,R=null,V=null,K=null;for(Y in a){var $=a[Y];if(a.hasOwnProperty(Y)&&$!=null)switch(Y){case"checked":break;case"value":break;case"defaultValue":R=$;default:o.hasOwnProperty(Y)||Ut(e,i,Y,null,o,$)}}for(var I in o){var Y=o[I];if($=a[I],o.hasOwnProperty(I)&&(Y!=null||$!=null))switch(I){case"type":d=Y;break;case"name":f=Y;break;case"checked":V=Y;break;case"defaultChecked":K=Y;break;case"value":v=Y;break;case"defaultValue":S=Y;break;case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(r(137,i));break;default:Y!==$&&Ut(e,i,I,Y,o,$)}}eu(e,v,S,R,V,K,d,f);return;case"select":Y=v=S=I=null;for(d in a)if(R=a[d],a.hasOwnProperty(d)&&R!=null)switch(d){case"value":break;case"multiple":Y=R;default:o.hasOwnProperty(d)||Ut(e,i,d,null,o,R)}for(f in o)if(d=o[f],R=a[f],o.hasOwnProperty(f)&&(d!=null||R!=null))switch(f){case"value":I=d;break;case"defaultValue":S=d;break;case"multiple":v=d;default:d!==R&&Ut(e,i,f,d,o,R)}i=S,a=v,o=Y,I!=null?Js(e,!!a,I,!1):!!o!=!!a&&(i!=null?Js(e,!!a,i,!0):Js(e,!!a,a?[]:"",!1));return;case"textarea":Y=I=null;for(S in a)if(f=a[S],a.hasOwnProperty(S)&&f!=null&&!o.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:Ut(e,i,S,null,o,f)}for(v in o)if(f=o[v],d=a[v],o.hasOwnProperty(v)&&(f!=null||d!=null))switch(v){case"value":I=f;break;case"defaultValue":Y=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(r(91));break;default:f!==d&&Ut(e,i,v,f,o,d)}Gm(e,I,Y);return;case"option":for(var dt in a)if(I=a[dt],a.hasOwnProperty(dt)&&I!=null&&!o.hasOwnProperty(dt))switch(dt){case"selected":e.selected=!1;break;default:Ut(e,i,dt,null,o,I)}for(R in o)if(I=o[R],Y=a[R],o.hasOwnProperty(R)&&I!==Y&&(I!=null||Y!=null))switch(R){case"selected":e.selected=I&&typeof I!="function"&&typeof I!="symbol";break;default:Ut(e,i,R,I,o,Y)}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 yt in a)I=a[yt],a.hasOwnProperty(yt)&&I!=null&&!o.hasOwnProperty(yt)&&Ut(e,i,yt,null,o,I);for(V in o)if(I=o[V],Y=a[V],o.hasOwnProperty(V)&&I!==Y&&(I!=null||Y!=null))switch(V){case"children":case"dangerouslySetInnerHTML":if(I!=null)throw Error(r(137,i));break;default:Ut(e,i,V,I,o,Y)}return;default:if(iu(i)){for(var Ht in a)I=a[Ht],a.hasOwnProperty(Ht)&&I!==void 0&&!o.hasOwnProperty(Ht)&&Qf(e,i,Ht,void 0,o,I);for(K in o)I=o[K],Y=a[K],!o.hasOwnProperty(K)||I===Y||I===void 0&&Y===void 0||Qf(e,i,K,I,o,Y);return}}for(var L in a)I=a[L],a.hasOwnProperty(L)&&I!=null&&!o.hasOwnProperty(L)&&Ut(e,i,L,null,o,I);for($ in o)I=o[$],Y=a[$],!o.hasOwnProperty($)||I===Y||I==null&&Y==null||Ut(e,i,$,I,o,Y)}function Xy(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function vE(){if(typeof performance.getEntriesByType=="function"){for(var e=0,i=0,a=performance.getEntriesByType("resource"),o=0;o<a.length;o++){var f=a[o],d=f.transferSize,v=f.initiatorType,S=f.duration;if(d&&S&&Xy(v)){for(v=0,S=f.responseEnd,o+=1;o<a.length;o++){var R=a[o],V=R.startTime;if(V>S)break;var K=R.transferSize,$=R.initiatorType;K&&Xy($)&&(R=R.responseEnd,v+=K*(R<S?1:(S-V)/(R-V)))}if(--o,i+=8*(d+v)/(f.duration/1e3),e++,10<e)break}}if(0<e)return i/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Gf=null,Yf=null;function Ll(e){return e.nodeType===9?e:e.ownerDocument}function Zy(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 $y(e,i){if(e===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&i==="foreignObject"?0:e}function Ff(e,i){return e==="textarea"||e==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var Kf=null;function xE(){var e=window.event;return e&&e.type==="popstate"?e===Kf?!1:(Kf=e,!0):(Kf=null,!1)}var Jy=typeof setTimeout=="function"?setTimeout:void 0,bE=typeof clearTimeout=="function"?clearTimeout:void 0,Wy=typeof Promise=="function"?Promise:void 0,SE=typeof queueMicrotask=="function"?queueMicrotask:typeof Wy<"u"?function(e){return Wy.resolve(null).then(e).catch(wE)}:Jy;function wE(e){setTimeout(function(){throw e})}function Hi(e){return e==="head"}function tv(e,i){var a=i,o=0;do{var f=a.nextSibling;if(e.removeChild(a),f&&f.nodeType===8)if(a=f.data,a==="/$"||a==="/&"){if(o===0){e.removeChild(f),Ma(i);return}o--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")o++;else if(a==="html")Ir(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,Ir(a);for(var d=a.firstChild;d;){var v=d.nextSibling,S=d.nodeName;d[or]||S==="SCRIPT"||S==="STYLE"||S==="LINK"&&d.rel.toLowerCase()==="stylesheet"||a.removeChild(d),d=v}}else a==="body"&&Ir(e.ownerDocument.body);a=f}while(a);Ma(i)}function ev(e,i){var a=e;e=0;do{var o=a.nextSibling;if(a.nodeType===1?i?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(i?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),o&&o.nodeType===8)if(a=o.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=o}while(a)}function Xf(e){var i=e.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var a=i;switch(i=i.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Xf(a),Wc(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function EE(e,i,a,o){for(;
vendor: 11,092 bytes, line 49
49e.nodeType===1;){var f=a;if(e.nodeName.toLowerCase()!==i.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[or])switch(i){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(d=e.getAttribute("rel"),d==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(d!==f.rel||e.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||e.getAttribute("title")!==(f.title==null?null:f.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(d=e.getAttribute("src"),(d!==(f.src==null?null:f.src)||e.getAttribute("type")!==(f.type==null?null:f.type)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&d&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(i==="input"&&e.type==="hidden"){var d=f.name==null?null:""+f.name;if(f.type==="hidden"&&e.getAttribute("name")===d)return e}else return e;if(e=fn(e.nextSibling),e===null)break}return null}function TE(e,i,a){if(i==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=fn(e.nextSibling),e===null))return null;return e}function nv(e,i){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!i||(e=fn(e.nextSibling),e===null))return null;return e}function Zf(e){return e.data==="$?"||e.data==="$~"}function $f(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function AE(e,i){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=i;else if(e.data!=="$?"||a.readyState!=="loading")i();else{var o=function(){i(),a.removeEventListener("DOMContentLoaded",o)};a.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function fn(e){for(;e!=null;e=e.nextSibling){var i=e.nodeType;if(i===1||i===3)break;if(i===8){if(i=e.data,i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"||i==="F!"||i==="F")break;if(i==="/$"||i==="/&")return null}}return e}var Jf=null;function iv(e){e=e.nextSibling;for(var i=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(i===0)return fn(e.nextSibling);i--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||i++}e=e.nextSibling}return null}function sv(e){e=e.previousSibling;for(var i=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(i===0)return e;i--}else a!=="/$"&&a!=="/&"||i++}e=e.previousSibling}return null}function av(e,i,a){switch(i=Ll(a),e){case"html":if(e=i.documentElement,!e)throw Error(r(452));return e;case"head":if(e=i.head,!e)throw Error(r(453));return e;case"body":if(e=i.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function Ir(e){for(var i=e.attributes;i.length;)e.removeAttributeNode(i[0]);Wc(e)}var dn=new Map,rv=new Set;function kl(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var ci=P.d;P.d={f:CE,r:OE,D:RE,C:jE,L:ME,m:NE,X:DE,S:_E,M:zE};function CE(){var e=ci.f(),i=Rl();return e||i}function OE(e){var i=Xs(e);i!==null&&i.tag===5&&i.type==="form"?Eg(i):ci.r(e)}var Oa=typeof document>"u"?null:document;function ov(e,i,a){var o=Oa;if(o&&typeof i=="string"&&i){var f=sn(i);f='link[rel="'+e+'"][href="'+f+'"]',typeof a=="string"&&(f+='[crossorigin="'+a+'"]'),rv.has(f)||(rv.add(f),e={rel:e,crossOrigin:a,href:i},o.querySelector(f)===null&&(i=o.createElement("link"),xe(i,"link",e),fe(i),o.head.appendChild(i)))}}function RE(e){ci.D(e),ov("dns-prefetch",e,null)}function jE(e,i){ci.C(e,i),ov("preconnect",e,i)}function ME(e,i,a){ci.L(e,i,a);var o=Oa;if(o&&e&&i){var f='link[rel="preload"][as="'+sn(i)+'"]';i==="image"&&a&&a.imageSrcSet?(f+='[imagesrcset="'+sn(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(f+='[imagesizes="'+sn(a.imageSizes)+'"]')):f+='[href="'+sn(e)+'"]';var d=f;switch(i){case"style":d=Ra(e);break;case"script":d=ja(e)}dn.has(d)||(e=g({rel:"preload",href:i==="image"&&a&&a.imageSrcSet?void 0:e,as:i},a),dn.set(d,e),o.querySelector(f)!==null||i==="style"&&o.querySelector(Qr(d))||i==="script"&&o.querySelector(Gr(d))||(i=o.createElement("link"),xe(i,"link",e),fe(i),o.head.appendChild(i)))}}function NE(e,i){ci.m(e,i);var a=Oa;if(a&&e){var o=i&&typeof i.as=="string"?i.as:"script",f='link[rel="modulepreload"][as="'+sn(o)+'"][href="'+sn(e)+'"]',d=f;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=ja(e)}if(!dn.has(d)&&(e=g({rel:"modulepreload",href:e},i),dn.set(d,e),a.querySelector(f)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Gr(d)))return}o=a.createElement("link"),xe(o,"link",e),fe(o),a.head.appendChild(o)}}}function _E(e,i,a){ci.S(e,i,a);var o=Oa;if(o&&e){var f=Zs(o).hoistableStyles,d=Ra(e);i=i||"default";var v=f.get(d);if(!v){var S={loading:0,preload:null};if(v=o.querySelector(Qr(d)))S.loading=5;else{e=g({rel:"stylesheet",href:e,"data-precedence":i},a),(a=dn.get(d))&&Wf(e,a);var R=v=o.createElement("link");fe(R),xe(R,"link",e),R._p=new Promise(function(V,K){R.onload=V,R.onerror=K}),R.addEventListener("load",function(){S.loading|=1}),R.addEventListener("error",function(){S.loading|=2}),S.loading|=4,Ul(v,i,o)}v={type:"stylesheet",instance:v,count:1,state:S},f.set(d,v)}}}function DE(e,i){ci.X(e,i);var a=Oa;if(a&&e){var o=Zs(a).hoistableScripts,f=ja(e),d=o.get(f);d||(d=a.querySelector(Gr(f)),d||(e=g({src:e,async:!0},i),(i=dn.get(f))&&td(e,i),d=a.createElement("script"),fe(d),xe(d,"link",e),a.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(f,d))}}function zE(e,i){ci.M(e,i);var a=Oa;if(a&&e){var o=Zs(a).hoistableScripts,f=ja(e),d=o.get(f);d||(d=a.querySelector(Gr(f)),d||(e=g({src:e,async:!0,type:"module"},i),(i=dn.get(f))&&td(e,i),d=a.createElement("script"),fe(d),xe(d,"link",e),a.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(f,d))}}function lv(e,i,a,o){var f=(f=ft.current)?kl(f):null;if(!f)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(i=Ra(a.href),a=Zs(f).hoistableStyles,o=a.get(i),o||(o={type:"style",instance:null,count:0,state:null},a.set(i,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=Ra(a.href);var d=Zs(f).hoistableStyles,v=d.get(e);if(v||(f=f.ownerDocument||f,v={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,v),(d=f.querySelector(Qr(e)))&&!d._p&&(v.instance=d,v.state.loading=5),dn.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},dn.set(e,a),d||PE(f,e,a,v.state))),i&&o===null)throw Error(r(528,""));return v}if(i&&o!==null)throw Error(r(529,""));return null;case"script":return i=a.async,a=a.src,typeof a=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=ja(a),a=Zs(f).hoistableScripts,o=a.get(i),o||(o={type:"script",instance:null,count:0,state:null},a.set(i,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Ra(e){return'href="'+sn(e)+'"'}function Qr(e){return'link[rel="stylesheet"]['+e+"]"}function cv(e){return g({},e,{"data-precedence":e.precedence,precedence:null})}function PE(e,i,a,o){e.querySelector('link[rel="preload"][as="style"]['+i+"]")?o.loading=1:(i=e.createElement("link"),o.preload=i,i.addEventListener("load",function(){return o.loading|=1}),i.addEventListener("error",function(){return o.loading|=2}),xe(i,"link",a),fe(i),e.head.appendChild(i))}function ja(e){return'[src="'+sn(e)+'"]'}function Gr(e){return"script[async]"+e}function uv(e,i,a){if(i.count++,i.instance===null)switch(i.type){case"style":var o=e.querySelector('style[data-href~="'+sn(a.href)+'"]');if(o)return i.instance=o,fe(o),o;var f=g({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),fe(o),xe(o,"style",f),Ul(o,a.precedence,e),i.instance=o;case"stylesheet":f=Ra(a.href);var d=e.querySelector(Qr(f));if(d)return i.state.loading|=4,i.instance=d,fe(d),d;o=cv(a),(f=dn.get(f))&&Wf(o,f),d=(e.ownerDocument||e).createElement("link"),fe(d);var v=d;return v._p=new Promise(function(S,R){v.onload=S,v.onerror=R}),xe(d,"link",o),i.state.loading|=4,Ul(d,a.precedence,e),i.instance=d;case"script":return d=ja(a.src),(f=e.querySelector(Gr(d)))?(i.instance=f,fe(f),f):(o=a,(f=dn.get(d))&&(o=g({},a),td(o,f)),e=e.ownerDocument||e,f=e.createElement("script"),fe(f),xe(f,"link",o),e.head.appendChild(f),i.instance=f);case"void":return null;default:throw Error(r(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(o=i.instance,i.state.loading|=4,Ul(o,a.precedence,e));return i.instance}function Ul(e,i,a){for(var o=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=o.length?o[o.length-1]:null,d=f,v=0;v<o.length;v++){var S=o[v];if(S.dataset.precedence===i)d=S;else if(d!==f)break}d?d.parentNode.insertBefore(e,d.nextSibling):(i=a.nodeType===9?a.head:a,i.insertBefore(e,i.firstChild))}function Wf(e,i){e.crossOrigin==null&&(e.crossOrigin=i.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=i.referrerPolicy),e.title==null&&(e.title=i.title)}function td(e,i){e.crossOrigin==null&&(e.crossOrigin=i.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=i.referrerPolicy),e.integrity==null&&(e.integrity=i.integrity)}var Hl=null;function fv(e,i,a){if(Hl===null){var o=new Map,f=Hl=new Map;f.set(a,o)}else f=Hl,o=f.get(a),o||(o=new Map,f.set(a,o));if(o.has(e))return o;for(o.set(e,null),a=a.getElementsByTagName(e),f=0;f<a.length;f++){var d=a[f];if(!(d[or]||d[pe]||e==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var v=d.getAttribute(i)||"";v=e+v;var S=o.get(v);S?S.push(d):o.set(v,[d])}}return o}function dv(e,i,a){e=e.ownerDocument||e,e.head.insertBefore(a,i==="title"?e.querySelector("head > title"):null)}function LE(e,i,a){if(a===1||i.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;switch(i.rel){case"stylesheet":return e=i.disabled,typeof i.precedence=="string"&&e==null;default:return!0}case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function hv(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function kE(e,i,a,o){if(a.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var f=Ra(o.href),d=i.querySelector(Qr(f));if(d){i=d._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(e.count++,e=Vl.bind(e),i.then(e,e)),a.state.loading|=4,a.instance=d,fe(d);return}
vendor: 10,679 bytes, line 49
49d=i.ownerDocument||i,o=cv(o),(f=dn.get(f))&&Wf(o,f),d=d.createElement("link"),fe(d);var v=d;v._p=new Promise(function(S,R){v.onload=S,v.onerror=R}),xe(d,"link",o),a.instance=d}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,i),(i=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=Vl.bind(e),i.addEventListener("load",a),i.addEventListener("error",a))}}var ed=0;function UE(e,i){return e.stylesheets&&e.count===0&&ql(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var o=setTimeout(function(){if(e.stylesheets&&ql(e,e.stylesheets),e.unsuspend){var d=e.unsuspend;e.unsuspend=null,d()}},6e4+i);0<e.imgBytes&&ed===0&&(ed=62500*vE());var f=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&ql(e,e.stylesheets),e.unsuspend)){var d=e.unsuspend;e.unsuspend=null,d()}},(e.imgBytes>ed?50:800)+i);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(f)}}:null}function Vl(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ql(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Bl=null;function ql(e,i){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Bl=new Map,i.forEach(HE,e),Bl=null,Vl.call(e))}function HE(e,i){if(!(i.state.loading&4)){var a=Bl.get(e);if(a)var o=a.get(null);else{a=new Map,Bl.set(e,a);for(var f=e.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<f.length;d++){var v=f[d];(v.nodeName==="LINK"||v.getAttribute("media")!=="not all")&&(a.set(v.dataset.precedence,v),o=v)}o&&a.set(null,o)}f=i.instance,v=f.getAttribute("data-precedence"),d=a.get(v)||o,d===o&&a.set(null,f),a.set(v,f),this.count++,o=Vl.bind(this),f.addEventListener("load",o),f.addEventListener("error",o),d?d.parentNode.insertBefore(f,d.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(f,e.firstChild)),i.state.loading|=4}}var Yr={$$typeof:B,Provider:null,Consumer:null,_currentValue:z,_currentValue2:z,_threadCount:0};function VE(e,i,a,o,f,d,v,S,R){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=bi(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bi(0),this.hiddenUpdates=bi(null),this.identifierPrefix=o,this.onUncaughtError=f,this.onCaughtError=d,this.onRecoverableError=v,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=R,this.incompleteTransitions=new Map}function mv(e,i,a,o,f,d,v,S,R,V,K,$){return e=new VE(e,i,a,v,R,V,K,$,S),i=1,d===!0&&(i|=24),d=Ye(3,null,null,i),e.current=d,d.stateNode=e,i=Du(),i.refCount++,e.pooledCache=i,i.refCount++,d.memoizedState={element:o,isDehydrated:a,cache:i},ku(d),e}function pv(e){return e?(e=ra,e):ra}function gv(e,i,a,o,f,d){f=pv(f),o.context===null?o.context=f:o.pendingContext=f,o=Ri(i),o.payload={element:a},d=d===void 0?null:d,d!==null&&(o.callback=d),a=ji(e,o,i),a!==null&&(Be(a,e,i),Tr(a,e,i))}function yv(e,i){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<i?a:i}}function nd(e,i){yv(e,i),(e=e.alternate)&&yv(e,i)}function vv(e){if(e.tag===13||e.tag===31){var i=ms(e,67108864);i!==null&&Be(i,e,67108864),nd(e,67108864)}}function xv(e){if(e.tag===13||e.tag===31){var i=$e();i=Ys(i);var a=ms(e,i);a!==null&&Be(a,e,i),nd(e,i)}}var Il=!0;function BE(e,i,a,o){var f=j.T;j.T=null;var d=P.p;try{P.p=2,id(e,i,a,o)}finally{P.p=d,j.T=f}}function qE(e,i,a,o){var f=j.T;j.T=null;var d=P.p;try{P.p=8,id(e,i,a,o)}finally{P.p=d,j.T=f}}function id(e,i,a,o){if(Il){var f=sd(o);if(f===null)If(e,i,o,Ql,a),Sv(e,o);else if(QE(f,e,i,a,o))o.stopPropagation();else if(Sv(e,o),i&4&&-1<IE.indexOf(e)){for(;f!==null;){var d=Xs(f);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var v=jn(d.pendingLanes);if(v!==0){var S=d;for(S.pendingLanes|=2,S.entangledLanes|=2;v;){var R=1<<31-Se(v);S.entanglements[1]|=R,v&=~R}Dn(d),(zt&6)===0&&(Cl=Oe()+500,Vr(0))}}break;case 31:case 13:S=ms(d,2),S!==null&&Be(S,d,2),Rl(),nd(d,2)}if(d=sd(o),d===null&&If(e,i,o,Ql,a),d===f)break;f=d}f!==null&&o.stopPropagation()}else If(e,i,o,null,a)}}function sd(e){return e=au(e),ad(e)}var Ql=null;function ad(e){if(Ql=null,e=Ks(e),e!==null){var i=c(e);if(i===null)e=null;else{var a=i.tag;if(a===13){if(e=u(i),e!==null)return e;e=null}else if(a===31){if(e=h(i),e!==null)return e;e=null}else if(a===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;e=null}else i!==e&&(e=null)}}return Ql=e,null}function bv(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":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"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"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Xc()){case as:return 2;case Lo:return 8;case rs:case ar:return 32;case Gn:return 268435456;default:return 32}default:return 32}}var rd=!1,Vi=null,Bi=null,qi=null,Fr=new Map,Kr=new Map,Ii=[],IE="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 Sv(e,i){switch(e){case"focusin":case"focusout":Vi=null;break;case"dragenter":case"dragleave":Bi=null;break;case"mouseover":case"mouseout":qi=null;break;case"pointerover":case"pointerout":Fr.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":Kr.delete(i.pointerId)}}function Xr(e,i,a,o,f,d){return e===null||e.nativeEvent!==d?(e={blockedOn:i,domEventName:a,eventSystemFlags:o,nativeEvent:d,targetContainers:[f]},i!==null&&(i=Xs(i),i!==null&&vv(i)),e):(e.eventSystemFlags|=o,i=e.targetContainers,f!==null&&i.indexOf(f)===-1&&i.push(f),e)}function QE(e,i,a,o,f){switch(i){case"focusin":return Vi=Xr(Vi,e,i,a,o,f),!0;case"dragenter":return Bi=Xr(Bi,e,i,a,o,f),!0;case"mouseover":return qi=Xr(qi,e,i,a,o,f),!0;case"pointerover":var d=f.pointerId;return Fr.set(d,Xr(Fr.get(d)||null,e,i,a,o,f)),!0;case"gotpointercapture":return d=f.pointerId,Kr.set(d,Xr(Kr.get(d)||null,e,i,a,o,f)),!0}return!1}function wv(e){var i=Ks(e.target);if(i!==null){var a=c(i);if(a!==null){if(i=a.tag,i===13){if(i=u(a),i!==null){e.blockedOn=i,Lm(e.priority,function(){xv(a)});return}}else if(i===31){if(i=h(a),i!==null){e.blockedOn=i,Lm(e.priority,function(){xv(a)});return}}else if(i===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Gl(e){if(e.blockedOn!==null)return!1;for(var i=e.targetContainers;0<i.length;){var a=sd(e.nativeEvent);if(a===null){a=e.nativeEvent;var o=new a.constructor(a.type,a);su=o,a.target.dispatchEvent(o),su=null}else return i=Xs(a),i!==null&&vv(i),e.blockedOn=a,!1;i.shift()}return!0}function Ev(e,i,a){Gl(e)&&a.delete(i)}function GE(){rd=!1,Vi!==null&&Gl(Vi)&&(Vi=null),Bi!==null&&Gl(Bi)&&(Bi=null),qi!==null&&Gl(qi)&&(qi=null),Fr.forEach(Ev),Kr.forEach(Ev)}function Yl(e,i){e.blockedOn===i&&(e.blockedOn=null,rd||(rd=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,GE)))}var Fl=null;function Tv(e){Fl!==e&&(Fl=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Fl===e&&(Fl=null);for(var i=0;i<e.length;i+=3){var a=e[i],o=e[i+1],f=e[i+2];if(typeof o!="function"){if(ad(o||a)===null)continue;break}var d=Xs(a);d!==null&&(e.splice(i,3),i-=3,sf(d,{pending:!0,data:f,method:a.method,action:o},o,f))}}))}function Ma(e){function i(R){return Yl(R,e)}Vi!==null&&Yl(Vi,e),Bi!==null&&Yl(Bi,e),qi!==null&&Yl(qi,e),Fr.forEach(i),Kr.forEach(i);for(var a=0;a<Ii.length;a++){var o=Ii[a];o.blockedOn===e&&(o.blockedOn=null)}for(;0<Ii.length&&(a=Ii[0],a.blockedOn===null);)wv(a),a.blockedOn===null&&Ii.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(o=0;o<a.length;o+=3){var f=a[o],d=a[o+1],v=f[Pe]||null;if(typeof d=="function")v||Tv(a);else if(v){var S=null;if(d&&d.hasAttribute("formAction")){if(f=d,v=d[Pe]||null)S=v.formAction;else if(ad(f)!==null)continue}else S=v.action;typeof S=="function"?a[o+1]=S:(a.splice(o,3),o-=3),Tv(a)}}}function Av(){function e(d){d.canIntercept&&d.info==="react-transition"&&d.intercept({handler:function(){return new Promise(function(v){return f=v})},focusReset:"manual",scroll:"manual"})}function i(){f!==null&&(f(),f=null),o||setTimeout(a,20)}function a(){if(!o&&!navigation.transition){var d=navigation.currentEntry;d&&d.url!=null&&navigation.navigate(d.url,{state:d.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,f=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",i),navigation.addEventListener("navigateerror",i),setTimeout(a,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",i),navigation.removeEventListener("navigateerror",i),f!==null&&(f(),f=null)}}}function od(e){this._internalRoot=e}Kl.prototype.render=od.prototype.render=function(e){var i=this._internalRoot;if(i===null)throw Error(r(409));var a=i.current,o=$e();gv(a,o,e,i,null,null)},Kl.prototype.unmount=od.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var i=e.containerInfo;gv(e.current,2,null,e,null,null),Rl(),i[Fs]=null}};function Kl(e){this._internalRoot=e}Kl.prototype.unstable_scheduleHydration=function(e){if(e){var i=$c();e={blockedOn:null,target:e,priority:i};for(var a=0;a<Ii.length&&i!==0&&i<Ii[a].priority;a++);Ii.splice(a,0,e),a===0&&wv(e)}};
49var Cv=n.version;if(Cv!=="19.2.1")throw Error(r(527,Cv,"19.2.1"));P.findDOMNode=function(e){var i=e._reactInternals;if(i===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=p(i),e=e!==null?y(e):null,e=e===null?null:e.stateNode,e};var YE={bundleType:0,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:j,reconcilerVersion:"19.2.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Xl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Xl.isDisabled&&Xl.supportsFiber)try{os=Xl.inject(YE),Re=Xl}catch{}}return Jr.createRoot=function(e,i){if(!l(e))throw Error(r(299));var a=!1,o="",f=Dg,d=zg,v=Pg;return i!=null&&(i.unstable_strictMode===!0&&(a=!0),i.identifierPrefix!==void 0&&(o=i.identifierPrefix),i.onUncaughtError!==void 0&&(f=i.onUncaughtError),i.onCaughtError!==void 0&&(d=i.onCaughtError),i.onRecoverableError!==void 0&&(v=i.onRecoverableError)),i=mv(e,1,!1,null,null,a,o,null,f,d,v,Av),e[Fs]=i.current,qf(e),new od(i)},Jr.hydrateRoot=function(e,i,a){if(!l(e))throw Error(r(299));var o=!1,f="",d=Dg,v=zg,S=Pg,R=null;return a!=null&&(a.unstable_strictMode===!0&&(o=!0),a.identifierPrefix!==void 0&&(f=a.identifierPrefix),a.onUncaughtError!==void 0&&(d=a.onUncaughtError),a.onCaughtError!==void 0&&(v=a.onCaughtError),a.onRecoverableError!==void 0&&(S=a.onRecoverableError),a.formState!==void 0&&(R=a.formState)),i=mv(e,1,!0,i,a??null,o,f,R,d,v,S,Av),i.context=pv(null),a=i.current,o=$e(),o=Ys(o),f=Ri(o),f.callback=null,ji(a,f,o),a=o,i.current.lanes=a,Yt(i,a),Dn(i),e[Fs]=i.current,qf(e),new Kl(i)},Jr.version="19.2.1",Jr}var Wv;function dC(){if(Wv)return md.exports;Wv=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}return t(),md.exports=fC(),md.exports}var hC=dC(),mC=(function(){function t(){this.keyToValue=new Map,this.valueToKey=new Map}return t.prototype.set=function(n,s){this.keyToValue.set(n,s),this.valueToKey.set(s,n)},t.prototype.getByKey=function(n){return this.keyToValue.get(n)},t.prototype.getByValue=function(n){return this.valueToKey.get(n)},t.prototype.clear=function(){this.keyToValue.clear(),this.valueToKey.clear()},t})(),Vb=(function(){function t(n){this.generateIdentifier=n,this.kv=new mC}return t.prototype.register=function(n,s){this.kv.getByValue(n)||(s||(s=this.generateIdentifier(n)),this.kv.set(s,n))},t.prototype.clear=function(){this.kv.clear()},t.prototype.getIdentifier=function(n){return this.kv.getByValue(n)},t.prototype.getValue=function(n){return this.kv.getByKey(n)},t})(),pC=(function(){var t=function(n,s){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,l){r.__proto__=l}||function(r,l){for(var c in l)Object.prototype.hasOwnProperty.call(l,c)&&(r[c]=l[c])},t(n,s)};return function(n,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");t(n,s);function r(){this.constructor=n}n.prototype=s===null?Object.create(s):(r.prototype=s.prototype,new r)}})(),gC=(function(t){pC(n,t);function n(){var s=t.call(this,function(r){return r.name})||this;return s.classToAllowedProps=new Map,s}return n.prototype.register=function(s,r){typeof r=="object"?(r.allowProps&&this.classToAllowedProps.set(s,r.allowProps),t.prototype.register.call(this,s,r.identifier)):t.prototype.register.call(this,s,r)},n.prototype.getAllowedProps=function(s){return this.classToAllowedProps.get(s)},n})(Vb),yC=function(t,n){var s=typeof Symbol=="function"&&t[Symbol.iterator];if(!s)return t;var r=s.call(t),l,c=[],u;try{for(;(n===void 0||n-- >0)&&!(l=r.next()).done;)c.push(l.value)}catch(h){u={error:h}}finally{try{l&&!l.done&&(s=r.return)&&s.call(r)}finally{if(u)throw u.error}}return c};function vC(t){if("values"in Object)return Object.values(t);var n=[];for(var s in t)t.hasOwnProperty(s)&&n.push(t[s]);return n}function xC(t,n){var s=vC(t);if("find"in s)return s.find(n);for(var r=s,l=0;l<r.length;l++){var c=r[l];if(n(c))return c}}function Ia(t,n){Object.entries(t).forEach(function(s){var r=yC(s,2),l=r[0],c=r[1];return n(c,l)})}function dc(t,n){return t.indexOf(n)!==-1}function t0(t,n){for(var s=0;s<t.length;s++){var r=t[s];if(n(r))return r}}var bC=(function(){function t(){this.transfomers={}}return t.prototype.register=function(n){this.transfomers[n.name]=n},t.prototype.findApplicable=function(n){return xC(this.transfomers,function(s){return s.isApplicable(n)})},t.prototype.findByName=function(n){return this.transfomers[n]},t})(),SC=function(t){return Object.prototype.toString.call(t).slice(8,-1)},Bb=function(t){return typeof t>"u"},wC=function(t){return t===null},mo=function(t){return typeof t!="object"||t===null||t===Object.prototype?!1:Object.getPrototypeOf(t)===null?!0:Object.getPrototypeOf(t)===Object.prototype},Jd=function(t){return mo(t)&&Object.keys(t).length===0},$i=function(t){return Array.isArray(t)},EC=function(t){return typeof t=="string"},TC=function(t){return typeof t=="number"&&!isNaN(t)},AC=function(t){return typeof t=="boolean"},CC=function(t){return t instanceof RegExp},po=function(t){return t instanceof Map},go=function(t){return t instanceof Set},qb=function(t){return SC(t)==="Symbol"},OC=function(t){return t instanceof Date&&!isNaN(t.valueOf())},RC=function(t){return t instanceof Error},e0=function(t){return typeof t=="number"&&isNaN(t)},jC=function(t){return AC(t)||wC(t)||Bb(t)||TC(t)||EC(t)||qb(t)},MC=function(t){return typeof t=="bigint"},NC=function(t){return t===1/0||t===-1/0},_C=function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)},DC=function(t){return t instanceof URL},Ib=function(t){return t.replace(/\./g,"\\.")},vd=function(t){return t.map(String).map(Ib).join(".")},io=function(t){for(var n=[],s="",r=0;r<t.length;r++){var l=t.charAt(r),c=l==="\\"&&t.charAt(r+1)===".";if(c){s+=".",r++;continue}var u=l===".";if(u){n.push(s),s="";continue}s+=l}var h=s;return n.push(h),n},Wd=function(){return Wd=Object.assign||function(t){for(var n,s=1,r=arguments.length;s<r;s++){n=arguments[s];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(t[l]=n[l])}return t},Wd.apply(this,arguments)},th=function(t,n){var s=typeof Symbol=="function"&&t[Symbol.iterator];if(!s)return t;var r=s.call(t),l,c=[],u;try{for(;(n===void 0||n-- >0)&&!(l=r.next()).done;)c.push(l.value)}catch(h){u={error:h}}finally{try{l&&!l.done&&(s=r.return)&&s.call(r)}finally{if(u)throw u.error}}return c},eh=function(t,n){for(var s=0,r=n.length,l=t.length;s<r;s++,l++)t[l]=n[s];return t};function zn(t,n,s,r){return{isApplicable:t,annotation:n,transform:s,untransform:r}}var Qb=[zn(Bb,"undefined",function(){return null},function(){}),zn(MC,"bigint",function(t){return t.toString()},function(t){return typeof BigInt<"u"?BigInt(t):(console.error("Please add a BigInt polyfill."),t)}),zn(OC,"Date",function(t){return t.toISOString()},function(t){return new Date(t)}),zn(RC,"Error",function(t,n){var s={name:t.name,message:t.message};return n.allowedErrorProps.forEach(function(r){s[r]=t[r]}),s},function(t,n){var s=new Error(t.message);return s.name=t.name,s.stack=t.stack,n.allowedErrorProps.forEach(function(r){s[r]=t[r]}),s}),zn(CC,"regexp",function(t){return""+t},function(t){var n=t.slice(1,t.lastIndexOf("/")),s=t.slice(t.lastIndexOf("/")+1);return new RegExp(n,s)}
49),zn(go,"set",function(t){return eh([],th(t.values()))},function(t){return new Set(t)}),zn(po,"map",function(t){return eh([],th(t.entries()))},function(t){return new Map(t)}),zn(function(t){return e0(t)||NC(t)},"number",function(t){return e0(t)?"NaN":t>0?"Infinity":"-Infinity"},Number),zn(function(t){return t===0&&1/t===-1/0},"number",function(){return"-0"},Number),zn(DC,"URL",function(t){return t.toString()},function(t){return new URL(t)})];function Pc(t,n,s,r){return{isApplicable:t,annotation:n,transform:s,untransform:r}}var Gb=Pc(function(t,n){if(qb(t)){var s=!!n.symbolRegistry.getIdentifier(t);return s}return!1},function(t,n){var s=n.symbolRegistry.getIdentifier(t);return["symbol",s]},function(t){return t.description},function(t,n,s){var r=s.symbolRegistry.getValue(n[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),zC=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce(function(t,n){return t[n.name]=n,t},{}),Yb=Pc(_C,function(t){return["typed-array",t.constructor.name]},function(t){return eh([],th(t))},function(t,n){var s=zC[n[1]];if(!s)throw new Error("Trying to deserialize unknown typed array");return new s(t)});function Fb(t,n){if(t?.constructor){var s=!!n.classRegistry.getIdentifier(t.constructor);return s}return!1}var Kb=Pc(Fb,function(t,n){var s=n.classRegistry.getIdentifier(t.constructor);return["class",s]},function(t,n){var s=n.classRegistry.getAllowedProps(t.constructor);if(!s)return Wd({},t);var r={};return s.forEach(function(l){r[l]=t[l]}),r},function(t,n,s){var r=s.classRegistry.getValue(n[1]);if(!r)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(r.prototype),t)}),Xb=Pc(function(t,n){return!!n.customTransformerRegistry.findApplicable(t)},function(t,n){var s=n.customTransformerRegistry.findApplicable(t);return["custom",s.name]},function(t,n){var s=n.customTransformerRegistry.findApplicable(t);return s.serialize(t)},function(t,n,s){var r=s.customTransformerRegistry.findByName(n[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(t)}),PC=[Kb,Gb,Xb,Yb],n0=function(t,n){var s=t0(PC,function(l){return l.isApplicable(t,n)});if(s)return{value:s.transform(t,n),type:s.annotation(t,n)};var r=t0(Qb,function(l){return l.isApplicable(t,n)});if(r)return{value:r.transform(t,n),type:r.annotation}},Zb={};Qb.forEach(function(t){Zb[t.annotation]=t});var LC=function(t,n,s){if($i(n))switch(n[0]){case"symbol":return Gb.untransform(t,n,s);case"class":return Kb.untransform(t,n,s);case"custom":return Xb.untransform(t,n,s);case"typed-array":return Yb.untransform(t,n,s);default:throw new Error("Unknown transformation: "+n)}else{var r=Zb[n];if(!r)throw new Error("Unknown transformation: "+n);return r.untransform(t,s)}},za=function(t,n){for(var s=t.keys();n>0;)s.next(),n--;return s.next().value};function $b(t){if(dc(t,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(dc(t,"prototype"))throw new Error("prototype is not allowed as a property");if(dc(t,"constructor"))throw new Error("constructor is not allowed as a property")}var kC=function(t,n){$b(n);for(var s=0;s<n.length;s++){var r=n[s];if(go(t))t=za(t,+r);else if(po(t)){var l=+r,c=+n[++s]==0?"key":"value",u=za(t,l);switch(c){case"key":t=u;break;case"value":t=t.get(u);break}}else t=t[r]}return t},nh=function(t,n,s){if($b(n),n.length===0)return s(t);for(var r=t,l=0;l<n.length-1;l++){var c=n[l];if($i(r)){var u=+c;r=r[u]}else if(mo(r))r=r[c];else if(go(r)){var h=+c;r=za(r,h)}else if(po(r)){var m=l===n.length-2;if(m)break;var h=+c,p=+n[++l]==0?"key":"value",y=za(r,h);switch(p){case"key":r=y;break;case"value":r=r.get(y);break}}}var g=n[n.length-1];if($i(r)?r[+g]=s(r[+g]):mo(r)&&(r[g]=s(r[g])),go(r)){var b=za(r,+g),w=s(b);b!==w&&(r.delete(b),r.add(w))}if(po(r)){var h=+n[n.length-2],E=za(r,h),p=+g==0?"key":"value";switch(p){case"key":{var A=s(E);r.set(A,r.get(E)),A!==E&&r.delete(E);break}case"value":{r.set(E,s(r.get(E)));break}}}return t},di=function(t,n){var s=typeof Symbol=="function"&&t[Symbol.iterator];if(!s)return t;var r=s.call(t),l,c=[],u;try{for(;(n===void 0||n-- >0)&&!(l=r.next()).done;)c.push(l.value)}catch(h){u={error:h}}finally{try{l&&!l.done&&(s=r.return)&&s.call(r)}finally{if(u)throw u.error}}return c},Ki=function(t,n){for(var s=0,r=n.length,l=t.length;s<r;s++,l++)t[l]=n[s];return t};function ih(t,n,s){if(s===void 0&&(s=[]),!!t){if(!$i(t)){Ia(t,function(u,h){return ih(u,n,Ki(Ki([],di(s)),di(io(h))))});return}var r=di(t,2),l=r[0],c=r[1];c&&Ia(c,function(u,h){ih(u,n,Ki(Ki([],di(s)),di(io(h))))}),n(l,s)}}function UC(t,n,s){return ih(n,function(r,l){t=nh(t,l,function(c){return LC(c,r,s)})}),t}function HC(t,n){function s(u,h){var m=kC(t,io(h));
49u.map(io).forEach(function(p){t=nh(t,p,function(){return m})})}if($i(n)){var r=di(n,2),l=r[0],c=r[1];l.forEach(function(u){t=nh(t,io(u),function(){return t})}),c&&Ia(c,s)}else Ia(n,s);return t}var VC=function(t,n){return mo(t)||$i(t)||po(t)||go(t)||Fb(t,n)};function BC(t,n,s){var r=s.get(t);r?r.push(n):s.set(t,[n])}function qC(t,n){var s={},r=void 0;return t.forEach(function(l){if(!(l.length<=1)){n||(l=l.map(function(m){return m.map(String)}).sort(function(m,p){return m.length-p.length}));var c=di(l),u=c[0],h=c.slice(1);u.length===0?r=h.map(vd):s[vd(u)]=h.map(vd)}}),r?Jd(s)?[r]:[r,s]:Jd(s)?void 0:s}var Jb=function(t,n,s,r,l,c,u){var h;l===void 0&&(l=[]),c===void 0&&(c=[]),u===void 0&&(u=new Map);var m=jC(t);if(!m){BC(t,l,n);var p=u.get(t);if(p)return r?{transformedValue:null}:p}if(!VC(t,s)){var y=n0(t,s),g=y?{transformedValue:y.value,annotations:[y.type]}:{transformedValue:t};return m||u.set(t,g),g}if(dc(c,t))return{transformedValue:null};var b=n0(t,s),w=(h=b?.value)!==null&&h!==void 0?h:t,E=$i(w)?[]:{},A={};Ia(w,function(C,Q){var B=Jb(C,n,s,r,Ki(Ki([],di(l)),[Q]),Ki(Ki([],di(c)),[t]),u);E[Q]=B.transformedValue,$i(B.annotations)?A[Q]=B.annotations:mo(B.annotations)&&Ia(B.annotations,function(Z,k){A[Ib(Q)+"."+k]=Z})});var M=Jd(A)?{transformedValue:E,annotations:b?[b.type]:void 0}:{transformedValue:E,annotations:b?[b.type,A]:A};return m||u.set(t,M),M};function Wb(t){return Object.prototype.toString.call(t).slice(8,-1)}function i0(t){return Wb(t)==="Array"}function IC(t){if(Wb(t)!=="Object")return!1;const n=Object.getPrototypeOf(t);return!!n&&n.constructor===Object&&n===Object.prototype}function QC(t,n,s,r,l){const c={}.propertyIsEnumerable.call(r,n)?"enumerable":"nonenumerable";c==="enumerable"&&(t[n]=s),l&&c==="nonenumerable"&&Object.defineProperty(t,n,{value:s,enumerable:!1,writable:!0,configurable:!0})}function sh(t,n={}){if(i0(t))return t.map(l=>sh(l,n));if(!IC(t))return t;const s=Object.getOwnPropertyNames(t),r=Object.getOwnPropertySymbols(t);return[...s,...r].reduce((l,c)=>{if(i0(n.props)&&!n.props.includes(c))return l;const u=t[c],h=sh(u,n);return QC(l,c,h,t,n.nonenumerable),l},{})}var Ms=function(){return Ms=Object.assign||function(t){for(var n,s=1,r=arguments.length;s<r;s++){n=arguments[s];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(t[l]=n[l])}return t},Ms.apply(this,arguments)},GC=function(t,n){var s=typeof Symbol=="function"&&t[Symbol.iterator];if(!s)return t;var r=s.call(t),l,c=[],u;try{for(;(n===void 0||n-- >0)&&!(l=r.next()).done;)c.push(l.value)}catch(h){u={error:h}}finally{try{l&&!l.done&&(s=r.return)&&s.call(r)}finally{if(u)throw u.error}}return c},YC=function(t,n){for(var s=0,r=n.length,l=t.length;s<r;s++,l++)t[l]=n[s];return t},yi=(function(){function t(n){var s=n===void 0?{}:n,r=s.dedupe,l=r===void 0?!1:r;this.classRegistry=new gC,this.symbolRegistry=new Vb(function(c){var u;return(u=c.description)!==null&&u!==void 0?u:""}),this.customTransformerRegistry=new bC,this.allowedErrorProps=[],this.dedupe=l}return t.prototype.serialize=function(n){var s=new Map,r=Jb(n,s,this,this.dedupe),l={json:r.transformedValue};r.annotations&&(l.meta=Ms(Ms({},l.meta),{values:r.annotations}));var c=qC(s,this.dedupe);return c&&(l.meta=Ms(Ms({},l.meta),{referentialEqualities:c})),l},t.prototype.deserialize=function(n){var s=n.json,r=n.meta,l=sh(s);return r?.values&&(l=UC(l,r.values,this)),r?.referentialEqualities&&(l=HC(l,r.referentialEqualities)),l},t.prototype.stringify=function(n){return JSON.stringify(this.serialize(n))},t.prototype.parse=function(n){return this.deserialize(JSON.parse(n))},t.prototype.registerClass=function(n,s){this.classRegistry.register(n,s)},t.prototype.registerSymbol=function(n,s){this.symbolRegistry.register(n,s)},t.prototype.registerCustom=function(n,s){this.customTransformerRegistry.register(Ms({name:s},n))},t.prototype.allowErrorProps=function(){for(var n,s=[],r=0;r<arguments.length;r++)s[r]=arguments[r];(n=this.allowedErrorProps).push.apply(n,YC([],GC(s)))},t.defaultInstance=new t,t.serialize=t.defaultInstance.serialize.bind(t.defaultInstance),t.deserialize=t.defaultInstance.deserialize.bind(t.defaultInstance),t.stringify=t.defaultInstance.stringify.bind(t.defaultInstance),t.parse=t.defaultInstance.parse.bind(t.defaultInstance),t.registerClass=t.defaultInstance.registerClass.bind(t.defaultInstance),t.registerSymbol=t.defaultInstance.registerSymbol.bind(t.defaultInstance),t.registerCustom=t.defaultInstance.registerCustom.bind(t.defaultInstance),t.allowErrorProps=t.defaultInstance.allowErrorProps.bind(t.defaultInstance),t})();
vendor: 4,191 bytes, line 49
49yi.serialize;yi.deserialize;yi.stringify;yi.parse;yi.registerClass;yi.registerCustom;yi.registerSymbol;yi.allowErrorProps;var FC=(t,n,s,r,l,c,u,h)=>{let m=document.documentElement,p=["light","dark"];function y(w){(Array.isArray(t)?t:[t]).forEach(E=>{let A=E==="class",M=A&&c?l.map(C=>c[C]||C):l;A?(m.classList.remove(...M),m.classList.add(c&&c[w]?c[w]:w)):m.setAttribute(E,w)}),g(w)}function g(w){h&&p.includes(w)&&(m.style.colorScheme=w)}function b(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(r)y(r);else try{let w=localStorage.getItem(n)||s,E=u&&w==="system"?b():w;y(E)}catch{}},KC=O.createContext(void 0),XC={setTheme:t=>{},themes:[]},ZC=()=>{var t;return(t=O.useContext(KC))!=null?t:XC};O.memo(({forcedTheme:t,storageKey:n,attribute:s,enableSystem:r,enableColorScheme:l,defaultTheme:c,value:u,themes:h,nonce:m,scriptProps:p})=>{let y=JSON.stringify([s,n,c,t,h,u,r,l]).slice(1,-1);return O.createElement("script",{...p,suppressHydrationWarning:!0,nonce:typeof window>"u"?m:"",dangerouslySetInnerHTML:{__html:`(${FC.toString()})(${y})`}})});var Yh=Hb();const $C=Wx(Yh);function JC(t){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css",n.appendChild(s),s.styleSheet?s.styleSheet.cssText=t:s.appendChild(document.createTextNode(t))}const WC=t=>{switch(t){case"success":return nO;case"info":return sO;case"warning":return iO;case"error":return aO;default:return null}},tO=Array(12).fill(0),eO=({visible:t,className:n})=>st.createElement("div",{className:["sonner-loading-wrapper",n].filter(Boolean).join(" "),"data-visible":t},st.createElement("div",{className:"sonner-spinner"},tO.map((s,r)=>st.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),nO=st.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},st.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),iO=st.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},st.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),sO=st.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},st.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),aO=st.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},st.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),rO=st.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},st.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),st.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),oO=()=>{const[t,n]=st.useState(document.hidden);return st.useEffect(()=>{const s=()=>{n(document.hidden)};return document.addEventListener("visibilitychange",s),()=>window.removeEventListener("visibilitychange",s)},[]),t};let ah=1;class lO{constructor(){this.subscribe=n=>(this.subscribers.push(n),()=>{const s=this.subscribers.indexOf(n);this.subscribers.splice(s,1)}),this.publish=n=>{this.subscribers.forEach(s=>s(n))},this.addToast=n=>{this.publish(n),this.toasts=[...this.toasts,n]},this.create=n=>{var s;const{message:r,...l}
vendor: 3,472 bytes, line 49
49=n,c=typeof n?.id=="number"||((s=n.id)==null?void 0:s.length)>0?n.id:ah++,u=this.toasts.find(m=>m.id===c),h=n.dismissible===void 0?!0:n.dismissible;return this.dismissedToasts.has(c)&&this.dismissedToasts.delete(c),u?this.toasts=this.toasts.map(m=>m.id===c?(this.publish({...m,...n,id:c,title:r}),{...m,...n,id:c,dismissible:h,title:r}):m):this.addToast({title:r,...l,dismissible:h,id:c}),c},this.dismiss=n=>(n?(this.dismissedToasts.add(n),requestAnimationFrame(()=>this.subscribers.forEach(s=>s({id:n,dismiss:!0})))):this.toasts.forEach(s=>{this.subscribers.forEach(r=>r({id:s.id,dismiss:!0}))}),n),this.message=(n,s)=>this.create({...s,message:n}),this.error=(n,s)=>this.create({...s,message:n,type:"error"}),this.success=(n,s)=>this.create({...s,type:"success",message:n}),this.info=(n,s)=>this.create({...s,type:"info",message:n}),this.warning=(n,s)=>this.create({...s,type:"warning",message:n}),this.loading=(n,s)=>this.create({...s,type:"loading",message:n}),this.promise=(n,s)=>{if(!s)return;let r;s.loading!==void 0&&(r=this.create({...s,promise:n,type:"loading",message:s.loading,description:typeof s.description!="function"?s.description:void 0}));const l=Promise.resolve(n instanceof Function?n():n);let c=r!==void 0,u;const h=l.then(async p=>{if(u=["resolve",p],st.isValidElement(p))c=!1,this.create({id:r,type:"default",message:p});else if(uO(p)&&!p.ok){c=!1;const g=typeof s.error=="function"?await s.error(`HTTP error! status: ${p.status}`):s.error,b=typeof s.description=="function"?await s.description(`HTTP error! status: ${p.status}`):s.description,E=typeof g=="object"&&!st.isValidElement(g)?g:{message:g};this.create({id:r,type:"error",description:b,...E})}else if(p instanceof Error){c=!1;const g=typeof s.error=="function"?await s.error(p):s.error,b=typeof s.description=="function"?await s.description(p):s.description,E=typeof g=="object"&&!st.isValidElement(g)?g:{message:g};this.create({id:r,type:"error",description:b,...E})}else if(s.success!==void 0){c=!1;const g=typeof s.success=="function"?await s.success(p):s.success,b=typeof s.description=="function"?await s.description(p):s.description,E=typeof g=="object"&&!st.isValidElement(g)?g:{message:g};this.create({id:r,type:"success",description:b,...E})}}).catch(async p=>{if(u=["reject",p],s.error!==void 0){c=!1;const y=typeof s.error=="function"?await s.error(p):s.error,g=typeof s.description=="function"?await s.description(p):s.description,w=typeof y=="object"&&!st.isValidElement(y)?y:{message:y};this.create({id:r,type:"error",description:g,...w})}}).finally(()=>{c&&(this.dismiss(r),r=void 0),s.finally==null||s.finally.call(s)}),m=()=>new Promise((p,y)=>h.then(()=>u[0]==="reject"?y(u[1]):p(u[1])).catch(y));return typeof r!="string"&&typeof r!="number"?{unwrap:m}:Object.assign(r,{unwrap:m})},this.custom=(n,s)=>{const r=s?.id||ah++;return this.create({jsx:n(r),id:r,...s}),r},this.getActiveToasts=()=>this.toasts.filter(n=>!this.dismissedToasts.has(n.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const qe=new lO,cO=(t,n)=>{const s=n?.id||ah++;return qe.addToast({title:t,...n,id:s}),s},uO=t=>t&&typeof t=="object"&&"ok"in t&&typeof t.ok=="boolean"&&"status"in t&&typeof t.status=="number",fO=cO,dO=()=>qe.toasts,hO=()=>qe.getActiveToasts(),En=Object.assign(fO,{success:qe.success,info:qe.info,warning:qe.warning,error:qe.error,custom:qe.custom,message:qe.message,promise:qe.promise,dismiss:qe.dismiss,loading:qe.loading},{getHistory:dO,getToasts:hO});JC
vendor: 14,873 bytes, line 49
49("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function 
vendor: 2,457 bytes, line 49
49tc(t){return t.label!==void 0}const mO=3,pO="24px",gO="16px",s0=4e3,yO=356,vO=14,xO=45,bO=200;function Pn(...t){return t.filter(Boolean).join(" ")}function SO(t){const[n,s]=t.split("-"),r=[];return n&&r.push(n),s&&r.push(s),r}const wO=t=>{var n,s,r,l,c,u,h,m,p;const{invert:y,toast:g,unstyled:b,interacting:w,setHeights:E,visibleToasts:A,heights:M,index:C,toasts:Q,expanded:B,removeToast:Z,defaultRichColors:k,closeButton:G,style:N,cancelButtonStyle:D,actionButtonStyle:J,className:W="",descriptionClassName:it="",duration:et,position:at,gap:rt,expandByDefault:ct,classNames:j,icons:P,closeButtonAriaLabel:z="Close toast"}=t,[nt,ot]=st.useState(null),[T,q]=st.useState(null),[U,F]=st.useState(!1),[tt,ft]=st.useState(!1),[ut,vt]=st.useState(!1),[At,oe]=st.useState(!1),[he,me]=st.useState(!1),[Qn,yn]=st.useState(0),[er,Is]=st.useState(0),ss=st.useRef(g.duration||et||s0),nr=st.useRef(null),Qe=st.useRef(null),ir=C===0,sr=C+1<=A,Ce=g.type,vi=g.dismissible!==!1,Oe=g.className||"",Xc=g.descriptionClassName||"",as=st.useMemo(()=>M.findIndex(bt=>bt.toastId===g.id)||0,[M,g.id]),Lo=st.useMemo(()=>{var bt;return(bt=g.closeButton)!=null?bt:G},[g.closeButton,G]),rs=st.useMemo(()=>g.duration||et||s0,[g.duration,et]),ar=st.useRef(0),Gn=st.useRef(0),ko=st.useRef(0),xi=st.useRef(null),[os,Re]=at.split("-"),vn=st.useMemo(()=>M.reduce((bt,It,ue)=>ue>=as?bt:bt+It.height,0),[M,as]),Se=oO(),Zc=g.invert||y,rr=Ce==="loading";Gn.current=st.useMemo(()=>as*rt+vn,[as,vn]),st.useEffect(()=>{ss.current=rs},[rs]),st.useEffect(()=>{F(!0)},[]),st.useEffect(()=>{const bt=Qe.current;if(bt){const It=bt.getBoundingClientRect().height;return Is(It),E(ue=>[{toastId:g.id,height:It,position:g.position},...ue]),()=>E(ue=>ue.filter(we=>we.toastId!==g.id))}},[E,g.id]),st.useLayoutEffect(()=>{if(!U)return;const bt=Qe.current,It=bt.style.height;bt.style.height="auto";const ue=bt.getBoundingClientRect().height;bt.style.height=It,Is(ue),E(we=>we.find(Yt=>Yt.toastId===g.id)?we.map(Yt=>Yt.toastId===g.id?{...Yt,height:ue}:Yt):[{toastId:g.id,height:ue,position:g.position},...we])},[U,g.title,g.description,E,g.id,g.jsx,g.action,g.cancel]);const Rn=st.useCallback(()=>{ft(!0),yn(Gn.current),E(bt=>bt.filter(It=>It.toastId!==g.id)),setTimeout(()=>{Z(g)},bO)},[g,Z,E,Gn]);st.useEffect(()=>{if(g.promise&&Ce==="loading"||g.duration===1/0||g.type==="loading")return;let bt;return B||w||Se?(()=>{if(ko.current<ar.current){const we=new Date().getTime()-ar.current;ss.current=ss.current-we}
vendor: 5,423 bytes, line 49
49ko.current=new Date().getTime()})():(()=>{ss.current!==1/0&&(ar.current=new Date().getTime(),bt=setTimeout(()=>{g.onAutoClose==null||g.onAutoClose.call(g,g),Rn()},ss.current))})(),()=>clearTimeout(bt)},[B,w,g,Ce,Se,Rn]),st.useEffect(()=>{g.delete&&(Rn(),g.onDismiss==null||g.onDismiss.call(g,g))},[Rn,g.delete]);function Qs(){var bt;if(P?.loading){var It;return st.createElement("div",{className:Pn(j?.loader,g==null||(It=g.classNames)==null?void 0:It.loader,"sonner-loader"),"data-visible":Ce==="loading"},P.loading)}return st.createElement(eO,{className:Pn(j?.loader,g==null||(bt=g.classNames)==null?void 0:bt.loader),visible:Ce==="loading"})}const Gs=g.icon||P?.[Ce]||WC(Ce);var ls,jn;return st.createElement("li",{tabIndex:0,ref:Qe,className:Pn(W,Oe,j?.toast,g==null||(n=g.classNames)==null?void 0:n.toast,j?.default,j?.[Ce],g==null||(s=g.classNames)==null?void 0:s[Ce]),"data-sonner-toast":"","data-rich-colors":(ls=g.richColors)!=null?ls:k,"data-styled":!(g.jsx||g.unstyled||b),"data-mounted":U,"data-promise":!!g.promise,"data-swiped":he,"data-removed":tt,"data-visible":sr,"data-y-position":os,"data-x-position":Re,"data-index":C,"data-front":ir,"data-swiping":ut,"data-dismissible":vi,"data-type":Ce,"data-invert":Zc,"data-swipe-out":At,"data-swipe-direction":T,"data-expanded":!!(B||ct&&U),"data-testid":g.testId,style:{"--index":C,"--toasts-before":C,"--z-index":Q.length-C,"--offset":`${tt?Qn:Gn.current}px`,"--initial-height":ct?"auto":`${er}px`,...N,...g.style},onDragEnd:()=>{vt(!1),ot(null),xi.current=null},onPointerDown:bt=>{bt.button!==2&&(rr||!vi||(nr.current=new Date,yn(Gn.current),bt.target.setPointerCapture(bt.pointerId),bt.target.tagName!=="BUTTON"&&(vt(!0),xi.current={x:bt.clientX,y:bt.clientY})))},onPointerUp:()=>{var bt,It,ue;if(At||!vi)return;xi.current=null;const we=Number(((bt=Qe.current)==null?void 0:bt.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),bi=Number(((It=Qe.current)==null?void 0:It.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Yt=new Date().getTime()-((ue=nr.current)==null?void 0:ue.getTime()),_e=nt==="x"?we:bi,cs=Math.abs(_e)/Yt;if(Math.abs(_e)>=xO||cs>.11){yn(Gn.current),g.onDismiss==null||g.onDismiss.call(g,g),q(nt==="x"?we>0?"right":"left":bi>0?"down":"up"),Rn(),oe(!0);return}else{var De,ze;(De=Qe.current)==null||De.style.setProperty("--swipe-amount-x","0px"),(ze=Qe.current)==null||ze.style.setProperty("--swipe-amount-y","0px")}me(!1),vt(!1),ot(null)},onPointerMove:bt=>{var It,ue,we;if(!xi.current||!vi||((It=window.getSelection())==null?void 0:It.toString().length)>0)return;const Yt=bt.clientY-xi.current.y,_e=bt.clientX-xi.current.x;var cs;const De=(cs=t.swipeDirections)!=null?cs:SO(at);!nt&&(Math.abs(_e)>1||Math.abs(Yt)>1)&&ot(Math.abs(_e)>Math.abs(Yt)?"x":"y");let ze={x:0,y:0};const Ys=xn=>1/(1.5+Math.abs(xn)/20);if(nt==="y"){if(De.includes("top")||De.includes("bottom"))if(De.includes("top")&&Yt<0||De.includes("bottom")&&Yt>0)ze.y=Yt;else{const xn=Yt*Ys(Yt);ze.y=Math.abs(xn)<Math.abs(Yt)?xn:Yt}}else if(nt==="x"&&(De.includes("left")||De.includes("right")))if(De.includes("left")&&_e<0||De.includes("right")&&_e>0)ze.x=_e;else{const xn=_e*Ys(_e);ze.x=Math.abs(xn)<Math.abs(_e)?xn:_e}(Math.abs(ze.x)>0||Math.abs(ze.y)>0)&&me(!0),(ue=Qe.current)==null||ue.style.setProperty("--swipe-amount-x",`${ze.x}px`),(we=Qe.current)==null||we.style.setProperty("--swipe-amount-y",`${ze.y}px`)}},Lo&&!g.jsx&&Ce!=="loading"?st.createElement("button",{"aria-label":z,"data-disabled":rr,"data-close-button":!0,onClick:rr||!vi?()=>{}:()=>{Rn(),g.onDismiss==null||g.onDismiss.call(g,g)},className:Pn(j?.closeButton,g==null||(r=g.classNames)==null?void 0:r.closeButton)},(jn=P?.close)!=null?jn:rO):null,(Ce||g.icon||g.promise)&&g.icon!==null&&(P?.[Ce]!==null||g.icon)?st.createElement("div",{"data-icon":"",className:Pn(j?.icon,g==null||(l=g.classNames)==null?void 0:l.icon)},g.promise||g.type==="loading"&&!g.icon?g.icon||Qs():null,g.type!=="loading"?Gs:null):null,st.createElement("div",{"data-content":"",className:Pn(j?.content,g==null||(c=g.classNames)==null?void 0:c.content)},st.createElement("div",{"data-title":"",className:Pn(j?.title,g==null||(u=g.classNames)==null?void 0:u.title)},g.jsx?g.jsx:typeof g.title=="function"?g.title():g.title),g.description?st.createElement("div",{"data-description":"",className:Pn(it,Xc,j?.description,g==null||(h=g.classNames)==null?void 0:h.description)},typeof g.description=="function"?g.description():g.description):null),st.isValidElement(g.cancel)?g.cancel:g.cancel&&tc(g.cancel)?st.createElement("button",{"data-button":!0,"data-cancel":!0,style:g.cancelButtonStyle||D,onClick:bt=>{tc(g.cancel)&&vi&&(g.cancel.onClick==null||g.cancel.onClick.call(g.cancel,bt),Rn())},className:Pn(j?.cancelButton,g==null||(m=g.classNames)==null?void 0:m.cancelButton)},g.cancel.label):null,st.isValidElement(g.action)?g.action:g.action&&tc(g.action)?st.createElement("button",{"data-button":!0,"data-action":!0,style:g.actionButtonStyle||J,onClick:bt=>{tc(g.action)&&(g.action.onClick==null||g.action.onClick.call(g.action,bt),!bt.defaultPrevented&&Rn())},className:Pn(j?.actionButton,g==null||(p=g.classNames)==null?void 0:p.actionButton)},g.action.label):null)};function a0(){if(typeof window>"u"||typeof document>"u")return"ltr";const t=document.documentElement.getAttribute("dir");return t==="auto"||!t?window.getComputedStyle(document.documentElement).direction:t}function EO(t,n){const s={};
vendor: 4,557 bytes, line 49
49return[t,n].forEach((r,l)=>{const c=l===1,u=c?"--mobile-offset":"--offset",h=c?gO:pO;function m(p){["top","right","bottom","left"].forEach(y=>{s[`${u}-${y}`]=typeof p=="number"?`${p}px`:p})}typeof r=="number"||typeof r=="string"?m(r):typeof r=="object"?["top","right","bottom","left"].forEach(p=>{r[p]===void 0?s[`${u}-${p}`]=h:s[`${u}-${p}`]=typeof r[p]=="number"?`${r[p]}px`:r[p]}):m(h)}),s}const TO=st.forwardRef(function(n,s){const{id:r,invert:l,position:c="bottom-right",hotkey:u=["altKey","KeyT"],expand:h,closeButton:m,className:p,offset:y,mobileOffset:g,theme:b="light",richColors:w,duration:E,style:A,visibleToasts:M=mO,toastOptions:C,dir:Q=a0(),gap:B=vO,icons:Z,containerAriaLabel:k="Notifications"}=n,[G,N]=st.useState([]),D=st.useMemo(()=>r?G.filter(U=>U.toasterId===r):G.filter(U=>!U.toasterId),[G,r]),J=st.useMemo(()=>Array.from(new Set([c].concat(D.filter(U=>U.position).map(U=>U.position)))),[D,c]),[W,it]=st.useState([]),[et,at]=st.useState(!1),[rt,ct]=st.useState(!1),[j,P]=st.useState(b!=="system"?b:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),z=st.useRef(null),nt=u.join("+").replace(/Key/g,"").replace(/Digit/g,""),ot=st.useRef(null),T=st.useRef(!1),q=st.useCallback(U=>{N(F=>{var tt;return(tt=F.find(ft=>ft.id===U.id))!=null&&tt.delete||qe.dismiss(U.id),F.filter(({id:ft})=>ft!==U.id)})},[]);return st.useEffect(()=>qe.subscribe(U=>{if(U.dismiss){requestAnimationFrame(()=>{N(F=>F.map(tt=>tt.id===U.id?{...tt,delete:!0}:tt))});return}setTimeout(()=>{$C.flushSync(()=>{N(F=>{const tt=F.findIndex(ft=>ft.id===U.id);return tt!==-1?[...F.slice(0,tt),{...F[tt],...U},...F.slice(tt+1)]:[U,...F]})})})}),[G]),st.useEffect(()=>{if(b!=="system"){P(b);return}if(b==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?P("dark"):P("light")),typeof window>"u")return;const U=window.matchMedia("(prefers-color-scheme: dark)");try{U.addEventListener("change",({matches:F})=>{P(F?"dark":"light")})}catch{U.addListener(({matches:tt})=>{try{P(tt?"dark":"light")}catch(ft){console.error(ft)}})}},[b]),st.useEffect(()=>{G.length<=1&&at(!1)},[G]),st.useEffect(()=>{const U=F=>{var tt;if(u.every(vt=>F[vt]||F.code===vt)){var ut;at(!0),(ut=z.current)==null||ut.focus()}F.code==="Escape"&&(document.activeElement===z.current||(tt=z.current)!=null&&tt.contains(document.activeElement))&&at(!1)};return document.addEventListener("keydown",U),()=>document.removeEventListener("keydown",U)},[u]),st.useEffect(()=>{if(z.current)return()=>{ot.current&&(ot.current.focus({preventScroll:!0}),ot.current=null,T.current=!1)}},[z.current]),st.createElement("section",{ref:s,"aria-label":`${k} ${nt}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},J.map((U,F)=>{var tt;const[ft,ut]=U.split("-");return D.length?st.createElement("ol",{key:U,dir:Q==="auto"?a0():Q,tabIndex:-1,ref:z,className:p,"data-sonner-toaster":!0,"data-sonner-theme":j,"data-y-position":ft,"data-x-position":ut,style:{"--front-toast-height":`${((tt=W[0])==null?void 0:tt.height)||0}px`,"--width":`${yO}px`,"--gap":`${B}px`,...A,...EO(y,g)},onBlur:vt=>{T.current&&!vt.currentTarget.contains(vt.relatedTarget)&&(T.current=!1,ot.current&&(ot.current.focus({preventScroll:!0}),ot.current=null))},onFocus:vt=>{vt.target instanceof HTMLElement&&vt.target.dataset.dismissible==="false"||T.current||(T.current=!0,ot.current=vt.relatedTarget)},onMouseEnter:()=>at(!0),onMouseMove:()=>at(!0),onMouseLeave:()=>{rt||at(!1)},onDragEnd:()=>at(!1),onPointerDown:vt=>{vt.target instanceof HTMLElement&&vt.target.dataset.dismissible==="false"||ct(!0)},onPointerUp:()=>ct(!1)},D.filter(vt=>!vt.position&&F===0||vt.position===U).map((vt,At)=>{var oe,he;return st.createElement(wO,{key:vt.id,icons:Z,index:At,toast:vt,defaultRichColors:w,duration:(oe=C?.duration)!=null?oe:E,className:C?.className,descriptionClassName:C?.descriptionClassName,invert:l,visibleToasts:M,closeButton:(he=C?.closeButton)!=null?he:m,interacting:rt,position:U,style:C?.style,unstyled:C?.unstyled,classNames:C?.classNames,cancelButtonStyle:C?.cancelButtonStyle,actionButtonStyle:C?.actionButtonStyle,closeButtonAriaLabel:C?.closeButtonAriaLabel,removeToast:q,toasts:D.filter(me=>me.position==vt.position),heights:W.filter(me=>me.position==vt.position),setHeights:it,expandByDefault:h,gap:B,expanded:et,swipeDirections:n.swipeDirections})})):null}))}),AO=({...t})=>{const{theme:n="system"}=ZC();return x.jsx(TO,{"data-loc":"client/src/components/ui/sonner.tsx:8",theme:n,
vendor: 10,281 bytes, line 49
49className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...t})};function fi(t,n,{checkForDefaultPrevented:s=!0}={}){return function(l){if(t?.(l),s===!1||!l.defaultPrevented)return n?.(l)}}function r0(t,n){if(typeof t=="function")return t(n);t!=null&&(t.current=n)}function t1(...t){return n=>{let s=!1;const r=t.map(l=>{const c=r0(l,n);return!s&&typeof c=="function"&&(s=!0),c});if(s)return()=>{for(let l=0;l<r.length;l++){const c=r[l];typeof c=="function"?c():r0(t[l],null)}}}}function Bs(...t){return O.useCallback(t1(...t),t)}function e1(t,n=[]){let s=[];function r(c,u){const h=O.createContext(u),m=s.length;s=[...s,u];const p=g=>{const{scope:b,children:w,...E}=g,A=b?.[t]?.[m]||h,M=O.useMemo(()=>E,Object.values(E));return x.jsx(A.Provider,{value:M,children:w})};p.displayName=c+"Provider";function y(g,b){const w=b?.[t]?.[m]||h,E=O.useContext(w);if(E)return E;if(u!==void 0)return u;throw new Error(`\`${g}\` must be used within \`${c}\``)}return[p,y]}const l=()=>{const c=s.map(u=>O.createContext(u));return function(h){const m=h?.[t]||c;return O.useMemo(()=>({[`__scope${t}`]:{...h,[t]:m}}),[h,m])}};return l.scopeName=t,[r,CO(l,...n)]}function CO(...t){const n=t[0];if(t.length===1)return n;const s=()=>{const r=t.map(l=>({useScope:l(),scopeName:l.scopeName}));return function(c){const u=r.reduce((h,{useScope:m,scopeName:p})=>{const g=m(c)[`__scope${p}`];return{...h,...g}},{});return O.useMemo(()=>({[`__scope${n.scopeName}`]:u}),[u])}};return s.scopeName=n.scopeName,s}function n1(t){const n=RO(t),s=O.forwardRef((r,l)=>{const{children:c,...u}=r,h=O.Children.toArray(c),m=h.find(MO);if(m){const p=m.props.children,y=h.map(g=>g===m?O.Children.count(p)>1?O.Children.only(null):O.isValidElement(p)?p.props.children:null:g);return x.jsx(n,{...u,ref:l,children:O.isValidElement(p)?O.cloneElement(p,void 0,y):null})}return x.jsx(n,{...u,ref:l,children:c})});return s.displayName=`${t}.Slot`,s}var OO=n1("Slot");function RO(t){const n=O.forwardRef((s,r)=>{const{children:l,...c}=s;if(O.isValidElement(l)){const u=_O(l),h=NO(c,l.props);return l.type!==O.Fragment&&(h.ref=r?t1(r,u):u),O.cloneElement(l,h)}return O.Children.count(l)>1?O.Children.only(null):null});return n.displayName=`${t}.SlotClone`,n}var i1=Symbol("radix.slottable");function jO(t){const n=({children:s})=>x.jsx(x.Fragment,{children:s});return n.displayName=`${t}.Slottable`,n.__radixId=i1,n}function MO(t){return O.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===i1}function NO(t,n){const s={...n};for(const r in n){const l=t[r],c=n[r];/^on[A-Z]/.test(r)?l&&c?s[r]=(...h)=>{const m=c(...h);return l(...h),m}:l&&(s[r]=l):r==="style"?s[r]={...l,...c}:r==="className"&&(s[r]=[l,c].filter(Boolean).join(" "))}return{...t,...s}}function _O(t){let n=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,s=n&&"isReactWarning"in n&&n.isReactWarning;return s?t.ref:(n=Object.getOwnPropertyDescriptor(t,"ref")?.get,s=n&&"isReactWarning"in n&&n.isReactWarning,s?t.props.ref:t.props.ref||t.ref)}var DO=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],qs=DO.reduce((t,n)=>{const s=n1(`Primitive.${n}`),r=O.forwardRef((l,c)=>{const{asChild:u,...h}=l,m=u?s:n;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),x.jsx(m,{...h,ref:c})});return r.displayName=`Primitive.${n}`,{...t,[n]:r}},{});function zO(t,n){t&&Yh.flushSync(()=>t.dispatchEvent(n))}function Lc(t){const n=O.useRef(t);return O.useEffect(()=>{n.current=t}),O.useMemo(()=>(...s)=>n.current?.(...s),[])}function PO(t,n=globalThis?.document){const s=Lc(t);O.useEffect(()=>{const r=l=>{l.key==="Escape"&&s(l)};return n.addEventListener("keydown",r,{capture:!0}),()=>n.removeEventListener("keydown",r,{capture:!0})},[s,n])}var LO="DismissableLayer",rh="dismissableLayer.update",kO="dismissableLayer.pointerDownOutside",UO="dismissableLayer.focusOutside",o0,s1=O.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),a1=O.forwardRef((t,n)=>{const{disableOutsidePointerEvents:s=!1,onEscapeKeyDown:r,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:u,onDismiss:h,...m}=t,p=O.useContext(s1),[y,g]=O.useState(null),b=y?.ownerDocument??globalThis?.document,[,w]=O.useState({}),E=Bs(n,N=>g(N)),A=Array.from(p.layers),[M]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),C=A.indexOf(M),Q=y?A.indexOf(y):-1,B=p.layersWithOutsidePointerEventsDisabled.size>0,Z=Q>=C,k=BO(N=>{const D=N.target,J=[...p.branches].some(W=>W.contains(D));!Z||J||(l?.(N),u?.(N),N.defaultPrevented||h?.())},b),G=qO(N=>{const D=N.target;[...p.branches].some(W=>W.contains(D))||(c?.(N),u?.(N),N.defaultPrevented||h?.())},b);return PO(N=>{Q===p.layers.size-1&&(r?.(N),!N.defaultPrevented&&h&&(N.preventDefault(),h()))},b),O.useEffect(()=>{if(y)return s&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(o0=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(y)),p.layers.add(y),l0(),()=>{s&&p.layersWithOutsidePointerEventsDisabled.size===1&&(b.body.style.pointerEvents=o0)}},[y,b,s,p]),O.useEffect(()=>()=>{y&&(p.layers.delete(y),p.layersWithOutsidePointerEventsDisabled.delete(y),l0())},[y,p]),O.useEffect(()=>{const N=()=>w({});return document.addEventListener(rh,N),()=>document.removeEventListener(rh,N)},[]),x.jsx(qs.div,{...m,ref:E,style:{pointerEvents:B?Z?"auto":"none":void 0,...t.style},onFocusCapture:fi(t.onFocusCapture,G.onFocusCapture),onBlurCapture:fi(t.onBlurCapture,G.onBlurCapture),onPointerDownCapture:fi(t.onPointerDownCapture,k.onPointerDownCapture)})});a1.displayName=LO;var HO="DismissableLayerBranch",VO=O.forwardRef((t,n)=>{const s=O.useContext(s1),r=O.useRef(null),l=Bs(n,r);return O.useEffect(()=>{const c=r.current;if(c)return s.branches.add(c),()=>{s.branches.delete(c)}},[s.branches]),x.jsx(qs.div,{...t,ref:l})});VO.displayName=HO;function BO(t,n=globalThis?.document){const s=Lc(t),r=O.useRef(!1),l=O.useRef(()=>{});return O.useEffect(()=>{const c=h=>{if(h.target&&!r.current){let m=function(){r1(kO,s,p,{discrete:!0})};const p={originalEvent:h};h.pointerType==="touch"?(n.removeEventListener("click",l.current),l.current=m,n.addEventListener("click",l.current,{once:!0})):m()}else n.removeEventListener("click",l.current);r.current=!1},u=window.setTimeout(()=>{n.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(u),n.removeEventListener("pointerdown",c),n.removeEventListener("click",l.current)}},[n,s]),{onPointerDownCapture:()=>r.current=!0}}function qO(t,n=globalThis?.document){const s=Lc(t),r=O.useRef(!1);return O.useEffect(()=>{const l=c=>{c.target&&!r.current&&r1(UO,s,{originalEvent:c},{discrete:!1})};return n.addEventListener("focusin",l),()=>n.removeEventListener("focusin",l)},[n,s]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function l0(){const t=new CustomEvent(rh);document.dispatchEvent(t)}function r1(t,n,s,{discrete:r}){const l=s.originalEvent.target,c=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:s});n&&l.addEventListener(t,n,{once:!0}),r?zO(l,c):l.dispatchEvent(c)}var yo=globalThis?.document?O.useLayoutEffect:()=>{};const IO=["top","right","bottom","left"],Ji=Math.min,We=Math.max,xc=Math.round,ec=Math.floor,Un=t=>({x:t,y:t}),QO={left:"right",right:"left",bottom:"top",top:"bottom"},GO={start:"end",end:"start"};function oh(t,n,s){return We(t,Ji(n,s))}function hi(t,n){return typeof t=="function"?t(n):t}function mi(t){return t.split("-")[0]}function Ka(t){return t.split("-")[1]}function Fh(t){return t==="x"?"y":"x"}function Kh(t){return t==="y"?"height":"width"}const YO=new Set(["top","bottom"]);function kn(t){return YO.has(mi(t))?"y":"x"}function Xh(t){return Fh(kn(t))}function FO(t,n,s){s===void 0&&(s=!1);const r=Ka(t),l=Xh(t),c=Kh(l);let u=l==="x"?r===(s?"end":"start")?"right":"left":r==="start"?"bottom":"top";return n.reference[c]>n.floating[c]&&(u=bc(u)),[u,bc(u)]}function KO(t){const n=bc(t);return[lh(t),n,lh(n)]}function lh(t){return t.replace(/start|end/g,n=>GO[n])}const c0=["left","right"],u0=["right","left"],XO=["top","bottom"],ZO=["bottom","top"];function $O(t,n,s){switch(t){case"top":case"bottom":return s?n?u0:c0:n?c0:u0;case"left":case"right":return n?XO:ZO;default:return[]}}function JO(t,n,s,r){const l=Ka(t);let c=$O(mi(t),s==="start",r);return l&&(c=c.map(u=>u+"-"+l),n&&(c=c.concat(c.map(lh)))),c}function bc(t){return t.replace(/left|right|bottom|top/g,n=>QO[n])}function WO(t){return{top:0,right:0,bottom:0,left:0,...t}}function o1(t){return typeof t!="number"?WO(t):{top:t,right:t,bottom:t,left:t}}function Sc(t){const{x:n,y:s,width:r,height:l}=t;return{width:r,height:l,top:s,left:n,right:n+r,bottom:s+l,x:n,y:s}}function f0(t,n,s){let{reference:r,floating:l}=t;const c=kn(n),u=Xh(n),h=Kh(u),m=mi(n),p=c==="y",y=r.x+r.width/2-l.width/2,g=r.y+r.height/2-l.height/2,b=r[h]/2-l[h]/2;let w;switch(m){case"top":w={x:y,y:r.y-l.height};break;case"bottom":w={x:y,y:r.y+r.height};break;case"right":w={x:r.x+r.width,y:g};break;case"left":w={x:r.x-l.width,y:g};break;default:w={x:r.x,y:r.y}}switch(Ka(n)){case"start":w[u]-=b*(s&&p?-1:1);break;case"end":w[u]+=b*(s&&p?-1:1);break}return w}const tR=async(t,n,s)=>{const{placement:r="bottom",strategy:l="absolute",middleware:c=[],platform:u}=s,h=c.filter(Boolean),m=await(u.isRTL==null?void 0:u.isRTL(n));let p=await u.getElementRects({reference:t,floating:n,strategy:l}),{x:y,y:g}=f0(p,r,m),b=r,w={},E=0;for(let A=0;A<h.length;A++){const{name:M,fn:C}=h[A],{x:Q,y:B,data:Z,reset:k}=await C({x:y,y:g,initialPlacement:r,placement:b,strategy:l,middlewareData:w,rects:p,platform:u,elements:{reference:t,floating:n}});y=Q??y,g=B??g,w={...w,[M]:{...w[M],...Z}},k&&E<=50&&(E++,typeof k=="object"&&(k.placement&&(b=k.placement),k.rects&&(p=k.rects===!0?await u.getElementRects({reference:t,floating:n,strategy:l}):k.rects),{x:y,y:g}=f0(p,b,m)),A=-1)}return{x:y,y:g,placement:b,strategy:l,middlewareData:w}};async function vo(t,n){var s;n===void 0&&(n={});const{x:r,y:l,platform:c,rects:u,elements:h,strategy:m}=t,{boundary:p="clippingAncestors",rootBoundary:y="viewport",elementContext:g="floating",altBoundary:b=!1,padding:w=0}=hi(n,t),E=o1(w),M=h[b?g==="floating"?"reference":"floating":g],C=Sc(await c.getClippingRect
vendor: 14,775 bytes, line 49
49({element:(s=await(c.isElement==null?void 0:c.isElement(M)))==null||s?M:M.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(h.floating)),boundary:p,rootBoundary:y,strategy:m})),Q=g==="floating"?{x:r,y:l,width:u.floating.width,height:u.floating.height}:u.reference,B=await(c.getOffsetParent==null?void 0:c.getOffsetParent(h.floating)),Z=await(c.isElement==null?void 0:c.isElement(B))?await(c.getScale==null?void 0:c.getScale(B))||{x:1,y:1}:{x:1,y:1},k=Sc(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:h,rect:Q,offsetParent:B,strategy:m}):Q);return{top:(C.top-k.top+E.top)/Z.y,bottom:(k.bottom-C.bottom+E.bottom)/Z.y,left:(C.left-k.left+E.left)/Z.x,right:(k.right-C.right+E.right)/Z.x}}const eR=t=>({name:"arrow",options:t,async fn(n){const{x:s,y:r,placement:l,rects:c,platform:u,elements:h,middlewareData:m}=n,{element:p,padding:y=0}=hi(t,n)||{};if(p==null)return{};const g=o1(y),b={x:s,y:r},w=Xh(l),E=Kh(w),A=await u.getDimensions(p),M=w==="y",C=M?"top":"left",Q=M?"bottom":"right",B=M?"clientHeight":"clientWidth",Z=c.reference[E]+c.reference[w]-b[w]-c.floating[E],k=b[w]-c.reference[w],G=await(u.getOffsetParent==null?void 0:u.getOffsetParent(p));let N=G?G[B]:0;(!N||!await(u.isElement==null?void 0:u.isElement(G)))&&(N=h.floating[B]||c.floating[E]);const D=Z/2-k/2,J=N/2-A[E]/2-1,W=Ji(g[C],J),it=Ji(g[Q],J),et=W,at=N-A[E]-it,rt=N/2-A[E]/2+D,ct=oh(et,rt,at),j=!m.arrow&&Ka(l)!=null&&rt!==ct&&c.reference[E]/2-(rt<et?W:it)-A[E]/2<0,P=j?rt<et?rt-et:rt-at:0;return{[w]:b[w]+P,data:{[w]:ct,centerOffset:rt-ct-P,...j&&{alignmentOffset:P}},reset:j}}}),nR=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(n){var s,r;const{placement:l,middlewareData:c,rects:u,initialPlacement:h,platform:m,elements:p}=n,{mainAxis:y=!0,crossAxis:g=!0,fallbackPlacements:b,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:A=!0,...M}=hi(t,n);if((s=c.arrow)!=null&&s.alignmentOffset)return{};const C=mi(l),Q=kn(h),B=mi(h)===h,Z=await(m.isRTL==null?void 0:m.isRTL(p.floating)),k=b||(B||!A?[bc(h)]:KO(h)),G=E!=="none";!b&&G&&k.push(...JO(h,A,E,Z));const N=[h,...k],D=await vo(n,M),J=[];let W=((r=c.flip)==null?void 0:r.overflows)||[];if(y&&J.push(D[C]),g){const rt=FO(l,u,Z);J.push(D[rt[0]],D[rt[1]])}if(W=[...W,{placement:l,overflows:J}],!J.every(rt=>rt<=0)){var it,et;const rt=(((it=c.flip)==null?void 0:it.index)||0)+1,ct=N[rt];if(ct&&(!(g==="alignment"?Q!==kn(ct):!1)||W.every(z=>kn(z.placement)===Q?z.overflows[0]>0:!0)))return{data:{index:rt,overflows:W},reset:{placement:ct}};let j=(et=W.filter(P=>P.overflows[0]<=0).sort((P,z)=>P.overflows[1]-z.overflows[1])[0])==null?void 0:et.placement;if(!j)switch(w){case"bestFit":{var at;const P=(at=W.filter(z=>{if(G){const nt=kn(z.placement);return nt===Q||nt==="y"}return!0}).map(z=>[z.placement,z.overflows.filter(nt=>nt>0).reduce((nt,ot)=>nt+ot,0)]).sort((z,nt)=>z[1]-nt[1])[0])==null?void 0:at[0];P&&(j=P);break}case"initialPlacement":j=h;break}if(l!==j)return{reset:{placement:j}}}return{}}}};function d0(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function h0(t){return IO.some(n=>t[n]>=0)}const iR=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(n){const{rects:s}=n,{strategy:r="referenceHidden",...l}=hi(t,n);switch(r){case"referenceHidden":{const c=await vo(n,{...l,elementContext:"reference"}),u=d0(c,s.reference);return{data:{referenceHiddenOffsets:u,referenceHidden:h0(u)}}}case"escaped":{const c=await vo(n,{...l,altBoundary:!0}),u=d0(c,s.floating);return{data:{escapedOffsets:u,escaped:h0(u)}}}default:return{}}}}},l1=new Set(["left","top"]);async function sR(t,n){const{placement:s,platform:r,elements:l}=t,c=await(r.isRTL==null?void 0:r.isRTL(l.floating)),u=mi(s),h=Ka(s),m=kn(s)==="y",p=l1.has(u)?-1:1,y=c&&m?-1:1,g=hi(n,t);let{mainAxis:b,crossAxis:w,alignmentAxis:E}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return h&&typeof E=="number"&&(w=h==="end"?E*-1:E),m?{x:w*y,y:b*p}:{x:b*p,y:w*y}}const aR=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(n){var s,r;const{x:l,y:c,placement:u,middlewareData:h}=n,m=await sR(n,t);return u===((s=h.offset)==null?void 0:s.placement)&&(r=h.arrow)!=null&&r.alignmentOffset?{}:{x:l+m.x,y:c+m.y,data:{...m,placement:u}}}}},rR=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(n){const{x:s,y:r,placement:l}=n,{mainAxis:c=!0,crossAxis:u=!1,limiter:h={fn:M=>{let{x:C,y:Q}=M;return{x:C,y:Q}}},...m}=hi(t,n),p={x:s,y:r},y=await vo(n,m),g=kn(mi(l)),b=Fh(g);let w=p[b],E=p[g];if(c){const M=b==="y"?"top":"left",C=b==="y"?"bottom":"right",Q=w+y[M],B=w-y[C];w=oh(Q,w,B)}if(u){const M=g==="y"?"top":"left",C=g==="y"?"bottom":"right",Q=E+y[M],B=E-y[C];E=oh(Q,E,B)}const A=h.fn({...n,[b]:w,[g]:E});return{...A,data:{x:A.x-s,y:A.y-r,enabled:{[b]:c,[g]:u}}}}}},oR=function(t){return t===void 0&&(t={}),{options:t,fn(n){const{x:s,y:r,placement:l,rects:c,middlewareData:u}=n,{offset:h=0,mainAxis:m=!0,crossAxis:p=!0}=hi(t,n),y={x:s,y:r},g=kn(l),b=Fh(g);let w=y[b],E=y[g];const A=hi(h,n),M=typeof A=="number"?{mainAxis:A,crossAxis:0}:{mainAxis:0,crossAxis:0,...A};if(m){const B=b==="y"?"height":"width",Z=c.reference[b]-c.floating[B]+M.mainAxis,k=c.reference[b]+c.reference[B]-M.mainAxis;w<Z?w=Z:w>k&&(w=k)}if(p){var C,Q;const B=b==="y"?"width":"height",Z=l1.has(mi(l)),k=c.reference[g]-c.floating[B]+(Z&&((C=u.offset)==null?void 0:C[g])||0)+(Z?0:M.crossAxis),G=c.reference[g]+c.reference[B]+(Z?0:((Q=u.offset)==null?void 0:Q[g])||0)-(Z?M.crossAxis:0);E<k?E=k:E>G&&(E=G)}return{[b]:w,[g]:E}}}},lR=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(n){var s,r;const{placement:l,rects:c,platform:u,elements:h}=n,{apply:m=()=>{},...p}=hi(t,n),y=await vo(n,p),g=mi(l),b=Ka(l),w=kn(l)==="y",{width:E,height:A}=c.floating;let M,C;g==="top"||g==="bottom"?(M=g,C=b===(await(u.isRTL==null?void 0:u.isRTL(h.floating))?"start":"end")?"left":"right"):(C=g,M=b==="end"?"top":"bottom");const Q=A-y.top-y.bottom,B=E-y.left-y.right,Z=Ji(A-y[M],Q),k=Ji(E-y[C],B),G=!n.middlewareData.shift;let N=Z,D=k;if((s=n.middlewareData.shift)!=null&&s.enabled.x&&(D=B),(r=n.middlewareData.shift)!=null&&r.enabled.y&&(N=Q),G&&!b){const W=We(y.left,0),it=We(y.right,0),et=We(y.top,0),at=We(y.bottom,0);w?D=E-2*(W!==0||it!==0?W+it:We(y.left,y.right)):N=A-2*(et!==0||at!==0?et+at:We(y.top,y.bottom))}await m({...n,availableWidth:D,availableHeight:N});const J=await u.getDimensions(h.floating);return E!==J.width||A!==J.height?{reset:{rects:!0}}:{}}}};function kc(){return typeof window<"u"}function Xa(t){return c1(t)?(t.nodeName||"").toLowerCase():"#document"}function en(t){var n;return(t==null||(n=t.ownerDocument)==null?void 0:n.defaultView)||window}function In(t){var n;return(n=(c1(t)?t.ownerDocument:t.document)||window.document)==null?void 0:n.documentElement}function c1(t){return kc()?t instanceof Node||t instanceof en(t).Node:!1}function An(t){return kc()?t instanceof Element||t instanceof en(t).Element:!1}function Bn(t){return kc()?t instanceof HTMLElement||t instanceof en(t).HTMLElement:!1}function m0(t){return!kc()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof en(t).ShadowRoot}const cR=new Set(["inline","contents"]);function Mo(t){const{overflow:n,overflowX:s,overflowY:r,display:l}=Cn(t);return/auto|scroll|overlay|hidden|clip/.test(n+r+s)&&!cR.has(l)}const uR=new Set(["table","td","th"]);function fR(t){return uR.has(Xa(t))}const dR=[":popover-open",":modal"];function Uc(t){return dR.some(n=>{try{return t.matches(n)}catch{return!1}})}const hR=["transform","translate","scale","rotate","perspective"],mR=["transform","translate","scale","rotate","perspective","filter"],pR=["paint","layout","strict","content"];function Zh(t){const n=$h(),s=An(t)?Cn(t):t;return hR.some(r=>s[r]?s[r]!=="none":!1)||(s.containerType?s.containerType!=="normal":!1)||!n&&(s.backdropFilter?s.backdropFilter!=="none":!1)||!n&&(s.filter?s.filter!=="none":!1)||mR.some(r=>(s.willChange||"").includes(r))||pR.some(r=>(s.contain||"").includes(r))}function gR(t){let n=Wi(t);for(;Bn(n)&&!Qa(n);){if(Zh(n))return n;if(Uc(n))return null;n=Wi(n)}return null}function $h(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const yR=new Set(["html","body","#document"]);function Qa(t){return yR.has(Xa(t))}function Cn(t){return en(t).getComputedStyle(t)}function Hc(t){return An(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Wi(t){if(Xa(t)==="html")return t;const n=t.assignedSlot||t.parentNode||m0(t)&&t.host||In(t);return m0(n)?n.host:n}function u1(t){const n=Wi(t);return Qa(n)?t.ownerDocument?t.ownerDocument.body:t.body:Bn(n)&&Mo(n)?n:u1(n)}function xo(t,n,s){var r;n===void 0&&(n=[]),s===void 0&&(s=!0);const l=u1(t),c=l===((r=t.ownerDocument)==null?void 0:r.body),u=en(l);if(c){const h=ch(u);return n.concat(u,u.visualViewport||[],Mo(l)?l:[],h&&s?xo(h):[])}return n.concat(l,xo(l,[],s))}function ch(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function f1(t){const n=Cn(t);let s=parseFloat(n.width)||0,r=parseFloat(n.height)||0;const l=Bn(t),c=l?t.offsetWidth:s,u=l?t.offsetHeight:r,h=xc(s)!==c||xc(r)!==u;return h&&(s=c,r=u),{width:s,height:r,$:h}}function Jh(t){return An(t)?t:t.contextElement}function Va(t){const n=Jh(t);if(!Bn(n))return Un(1);const s=n.getBoundingClientRect(),{width:r,height:l,$:c}=f1(n);let u=(c?xc(s.width):s.width)/r,h=(c?xc(s.height):s.height)/l;return(!u||!Number.isFinite(u))&&(u=1),(!h||!Number.isFinite(h))&&(h=1),{x:u,y:h}}const vR=Un(0);function d1(t){const n=en(t);return!$h()||!n.visualViewport?vR:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function xR(t,n,s){return n===void 0&&(n=!1),!s||n&&s!==en(t)?!1:n}function ks(t,n,s,r){n===void 0&&(n=!1),s===void 0&&(s=!1);const l=t.getBoundingClientRect(),c=Jh(t);let u=Un(1);n&&(r?An(r)&&(u=Va(r)):u=Va(t));const h=xR(c,s,r)?d1(c):Un(0);let m=(l.left+h.x)/u.x,p=(l.top+h.y)/u.y,y=l.width/u.x,g=l.height/u.y;if(c){const b=en(c),w=r&&An(r)?en(r):r;let E=b,A=ch(E);for(;A&&r&&w!==E;){const M=Va(A),C=A.getBoundingClientRect(),Q=Cn(A),B=C.left+(A.clientLeft+parseFloat(Q.paddingLeft))*M.x,Z=C.top+(A.clientTop+parseFloat(Q.paddingTop))*M.y;m*=M.x,p*=M.y,y*=M.x,g*=M.y,m+=B,p+=Z,E=en(A),A=ch(E)}}return Sc({width:y,height:g,x:m,y:p})}function Vc(t,n){const s=Hc(t).scrollLeft;return n?n.left+s:ks(In(t)).left+s}function h1(t,n){const s=t.getBoundingClientRect(),r=s.left+n.scrollLeft-Vc(t,s),l=s.top+n.scrollTop;return{x:r,y:l}}function bR(t){let{elements:n,rect:s,offsetParent:r,strategy:l}=t;const c=l==="fixed",u=In(r),h=n?Uc(n.floating):!1;if(r===u||h&&c)return s;let m={scrollLeft:0,scrollTop:0},p=Un(1);const y=Un(0),g=Bn(r);if((g||!g&&!c)&&((Xa(r)!=="body"||Mo(u))&&(m=Hc(r)),Bn(r))){const w=ks(r);p=Va(r),y.x=w.x+r.clientLeft,y.y=w.y+r.clientTop}const b=u&&!g&&!c?h1(u,m):Un(0);return{width:s.width*p.x,height:s.height*p.y,x:s.x*p.x-m.scrollLeft*p.x+y.x+b.x,y:s.y*p.y-m.scrollTop*p.y+y.y+b.y}}function SR(t){return Array.from(t.getClientRects())}function wR(t){const n=In(t),s=Hc(t),r=t.ownerDocument.body,l=We(n.scrollWidth,n.clientWidth,r.scrollWidth,r.clientWidth),c=We(n.scrollHeight,n.clientHeight,r.scrollHeight,r.clientHeight);let u=-s.scrollLeft+Vc(t);const h=-s.scrollTop;return Cn(r).direction==="rtl"&&(u+=We(n.clientWidth,r.clientWidth)-l),{width:l,height:c,x:u,y:h}}const p0=25;function ER(t,n){const s=en(t),r=In(t),l=s.visualViewport;let c=r.clientWidth,u=r.clientHeight,h=0,m=0;if(l){c=l.width,u=l.height;const y=$h();(!y||y&&n==="fixed")&&(h=l.offsetLeft,m=l.offsetTop)}const p=Vc(r);if(p<=0){const y=r.ownerDocument,g=y.body,b=getComputedStyle(g),w=y.compatMode==="CSS1Compat"&&parseFloat(b.marginLeft)+parseFloat(b.marginRight)||0,E=Math.abs(r.clientWidth-g.clientWidth-w);E<=p0&&(c-=E)}else p<=p0&&(c+=p);return{width:c,height:u,x:h,y:m}}const TR=new Set(["absolute","fixed"]);function AR(t,n){const s=ks(t,!0,n==="fixed"),r=s.top+t.clientTop,l=s.left+t.clientLeft,c=Bn(t)?Va(t):Un(1),u=t.clientWidth*c.x,h=t.clientHeight*c.y,m=l*c.x,p=r*c.y;return{width:u,height:h,x:m,y:p}}function g0(t,n,s){let r;if(n==="viewport")r=ER(t,s);else if(n==="document")r=wR(In(t));else if(An(n))r=AR(n,s);else{const l=d1(t);r={x:n.x-l.x,y:n.y-l.y,width:n.width,height:n.height}}return Sc(r)}function m1(t,n){const s=Wi(t);return s===n||!An(s)||Qa(s)?!1:Cn(s).position==="fixed"||m1(s,n)}function CR(t,n){const s=n.get(t);if(s)return s;let r=xo(t,[],!1).filter(h=>An(h)&&Xa(h)!=="body"),l=null;const c=Cn(t).position==="fixed";let u=c?Wi(t):t;for(;An(u)&&!Qa(u);){const h=Cn(u),m=Zh(u);!m&&h.position==="fixed"&&(l=null),(c?!m&&!l:!m&&h.position==="static"&&!!l&&TR.has(l.position)||Mo(u)&&!m&&m1(t,u))?r=r.filter(y=>y!==u):l=h,u=Wi(u)}return n.set(t,r),r}function OR(t){let{element:n,boundary:s,rootBoundary:r,strategy:l}=t;const u=[...s==="clippingAncestors"?Uc(n)?[]:CR(n,this._c):[].concat(s),r],h=u[0],m=u.reduce((p,y)=>{const g=g0(n,y,l);return p.top=We(g.top,p.top),p.right=Ji(g.right,p.right),p.bottom=Ji(g.bottom,p.bottom),p.left=We(g.left,p.left),p},g0(n,h,l));return{width:m.right-m.left,height:m.bottom-m.top,x:m.left,y:m.top}}function RR(t){const{width:n,height:s}=f1(t);return{width:n,height:s}}function jR(t,n,s){const r=Bn(n),l=In(n),c=s==="fixed",u=ks(t,!0,c,n);let h={scrollLeft:0,scrollTop:0};const m=Un(0);function p(){m.x=Vc(l)}if(r||!r&&!c)if((Xa(n)!=="body"||Mo(l))&&(h=Hc(n)),r){const w=ks(n,!0,c,n);m.x=w.x+n.clientLeft,m.y=w.y+n.clientTop}else l&&p();c&&!r&&l&&p();const y=l&&!r&&!c?h1(l,h):Un(0),g=u.left+h.scrollLeft-m.x-y.x,b=u.top+h.scrollTop-m.y-y.y;return{x:g,y:b,width:u.width,height:u.height}}function xd(t){return Cn(t).position==="static"}function y0(t,n){if(!Bn(t)||Cn(t).position==="fixed")return null;if(n)return n(t);let s=t.offsetParent;return In(t)===s&&(s=s.ownerDocument.body),s}function p1(t,n){const s=en(t);if(Uc(t))return s;if(!Bn(t)){let l=Wi(t);for(;l&&!Qa(l);){if(An(l)&&!xd(l))return l;l=Wi(l)}return s}let r=y0(t,n);for(;r&&fR(r)&&xd(r);)r=y0(r,n);return r&&Qa(r)&&xd(r)&&!Zh(r)?s:r||gR(t)||s}const MR=async function(t){const n=this.getOffsetParent||p1,s=this.getDimensions,r=await s(t.floating);return{reference:jR(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function NR(t){return Cn(t).direction==="rtl"}const _R={convertOffsetParentRelativeRectToViewportRelativeRect:bR,getDocumentElement:In,getClippingRect:OR,getOffsetParent:p1,getElementRects:MR,getClientRects:SR,getDimensions:RR,getScale:Va,isElement:An,isRTL:NR};function g1(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}
vendor: 4,788 bytes, line 49
49function DR(t,n){let s=null,r;const l=In(t);function c(){var h;clearTimeout(r),(h=s)==null||h.disconnect(),s=null}function u(h,m){h===void 0&&(h=!1),m===void 0&&(m=1),c();const p=t.getBoundingClientRect(),{left:y,top:g,width:b,height:w}=p;if(h||n(),!b||!w)return;const E=ec(g),A=ec(l.clientWidth-(y+b)),M=ec(l.clientHeight-(g+w)),C=ec(y),B={rootMargin:-E+"px "+-A+"px "+-M+"px "+-C+"px",threshold:We(0,Ji(1,m))||1};let Z=!0;function k(G){const N=G[0].intersectionRatio;if(N!==m){if(!Z)return u();N?u(!1,N):r=setTimeout(()=>{u(!1,1e-7)},1e3)}N===1&&!g1(p,t.getBoundingClientRect())&&u(),Z=!1}try{s=new IntersectionObserver(k,{...B,root:l.ownerDocument})}catch{s=new IntersectionObserver(k,B)}s.observe(t)}return u(!0),c}function zR(t,n,s,r){r===void 0&&(r={});const{ancestorScroll:l=!0,ancestorResize:c=!0,elementResize:u=typeof ResizeObserver=="function",layoutShift:h=typeof IntersectionObserver=="function",animationFrame:m=!1}=r,p=Jh(t),y=l||c?[...p?xo(p):[],...xo(n)]:[];y.forEach(C=>{l&&C.addEventListener("scroll",s,{passive:!0}),c&&C.addEventListener("resize",s)});const g=p&&h?DR(p,s):null;let b=-1,w=null;u&&(w=new ResizeObserver(C=>{let[Q]=C;Q&&Q.target===p&&w&&(w.unobserve(n),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var B;(B=w)==null||B.observe(n)})),s()}),p&&!m&&w.observe(p),w.observe(n));let E,A=m?ks(t):null;m&&M();function M(){const C=ks(t);A&&!g1(A,C)&&s(),A=C,E=requestAnimationFrame(M)}return s(),()=>{var C;y.forEach(Q=>{l&&Q.removeEventListener("scroll",s),c&&Q.removeEventListener("resize",s)}),g?.(),(C=w)==null||C.disconnect(),w=null,m&&cancelAnimationFrame(E)}}const PR=aR,LR=rR,kR=nR,UR=lR,HR=iR,v0=eR,VR=oR,BR=(t,n,s)=>{const r=new Map,l={platform:_R,...s},c={...l.platform,_c:r};return tR(t,n,{...l,platform:c})};var qR=typeof document<"u",IR=function(){},hc=qR?O.useLayoutEffect:IR;function wc(t,n){if(t===n)return!0;if(typeof t!=typeof n)return!1;if(typeof t=="function"&&t.toString()===n.toString())return!0;let s,r,l;if(t&&n&&typeof t=="object"){if(Array.isArray(t)){if(s=t.length,s!==n.length)return!1;for(r=s;r--!==0;)if(!wc(t[r],n[r]))return!1;return!0}if(l=Object.keys(t),s=l.length,s!==Object.keys(n).length)return!1;for(r=s;r--!==0;)if(!{}.hasOwnProperty.call(n,l[r]))return!1;for(r=s;r--!==0;){const c=l[r];if(!(c==="_owner"&&t.$$typeof)&&!wc(t[c],n[c]))return!1}return!0}return t!==t&&n!==n}function y1(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function x0(t,n){const s=y1(t);return Math.round(n*s)/s}function bd(t){const n=O.useRef(t);return hc(()=>{n.current=t}),n}function QR(t){t===void 0&&(t={});const{placement:n="bottom",strategy:s="absolute",middleware:r=[],platform:l,elements:{reference:c,floating:u}={},transform:h=!0,whileElementsMounted:m,open:p}=t,[y,g]=O.useState({x:0,y:0,strategy:s,placement:n,middlewareData:{},isPositioned:!1}),[b,w]=O.useState(r);wc(b,r)||w(r);const[E,A]=O.useState(null),[M,C]=O.useState(null),Q=O.useCallback(z=>{z!==G.current&&(G.current=z,A(z))},[]),B=O.useCallback(z=>{z!==N.current&&(N.current=z,C(z))},[]),Z=c||E,k=u||M,G=O.useRef(null),N=O.useRef(null),D=O.useRef(y),J=m!=null,W=bd(m),it=bd(l),et=bd(p),at=O.useCallback(()=>{if(!G.current||!N.current)return;const z={placement:n,strategy:s,middleware:b};it.current&&(z.platform=it.current),BR(G.current,N.current,z).then(nt=>{const ot={...nt,isPositioned:et.current!==!1};rt.current&&!wc(D.current,ot)&&(D.current=ot,Yh.flushSync(()=>{g(ot)}))})},[b,n,s,it,et]);hc(()=>{p===!1&&D.current.isPositioned&&(D.current.isPositioned=!1,g(z=>({...z,isPositioned:!1})))},[p]);const rt=O.useRef(!1);hc(()=>(rt.current=!0,()=>{rt.current=!1}),[]),hc(()=>{if(Z&&(G.current=Z),k&&(N.current=k),Z&&k){if(W.current)return W.current(Z,k,at);at()}},[Z,k,at,W,J]);const ct=O.useMemo(()=>({reference:G,floating:N,setReference:Q,setFloating:B}),[Q,B]),j=O.useMemo(()=>({reference:Z,floating:k}),[Z,k]),P=O.useMemo(()=>{const z={position:s,left:0,top:0};if(!j.floating)return z;const nt=x0(j.floating,y.x),ot=x0(j.floating,y.y);return h?{...z,transform:"translate("+nt+"px, "+ot+"px)",...y1(j.floating)>=1.5&&{willChange:"transform"}}:{position:s,left:nt,top:ot}},[s,h,j.floating,y.x,y.y]);return O.useMemo(()=>({...y,update:at,refs:ct,elements:j,floatingStyles:P}),[y,at,ct,j,P])}const GR=t=>{function n(s){return{}.hasOwnProperty.call(s,"current")}return{name:"arrow",options:t,fn(s){const{element:r,padding:l}=typeof t=="function"?t(s):t;return r&&n(r)?r.current!=null?v0({element:r.current,padding:l}).fn(s):{}:r?v0({element:r,padding:l}).fn(s):{}}}},YR=(t,n)=>({...PR(t),options:[t,n]}),FR=(t,n)=>({...LR(t),options:[t,n]}),KR=(t,n)=>({...VR(t),options:[t,n]}),XR=(t,n)=>({...kR(t),options:[t,n]}),ZR=(t,n)=>({...UR(t),options:[t,n]}),$R=(t,n)=>({...HR(t),options:[t,n]}),JR=(t,n)=>({...GR(t),options:[t,n]});
vendor: 9,845 bytes, line 49
49var WR="Arrow",v1=O.forwardRef((t,n)=>{const{children:s,width:r=10,height:l=5,...c}=t;return x.jsx(qs.svg,{...c,ref:n,width:r,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?s:x.jsx("polygon",{points:"0,0 30,0 15,10"})})});v1.displayName=WR;var tj=v1;function ej(t){const[n,s]=O.useState(void 0);return yo(()=>{if(t){s({width:t.offsetWidth,height:t.offsetHeight});const r=new ResizeObserver(l=>{if(!Array.isArray(l)||!l.length)return;const c=l[0];let u,h;if("borderBoxSize"in c){const m=c.borderBoxSize,p=Array.isArray(m)?m[0]:m;u=p.inlineSize,h=p.blockSize}else u=t.offsetWidth,h=t.offsetHeight;s({width:u,height:h})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else s(void 0)},[t]),n}var x1="Popper",[b1,S1]=e1(x1),[iz,w1]=b1(x1),E1="PopperAnchor",T1=O.forwardRef((t,n)=>{const{__scopePopper:s,virtualRef:r,...l}=t,c=w1(E1,s),u=O.useRef(null),h=Bs(n,u),m=O.useRef(null);return O.useEffect(()=>{const p=m.current;m.current=r?.current||u.current,p!==m.current&&c.onAnchorChange(m.current)}),r?null:x.jsx(qs.div,{...l,ref:h})});T1.displayName=E1;var Wh="PopperContent",[nj,ij]=b1(Wh),A1=O.forwardRef((t,n)=>{const{__scopePopper:s,side:r="bottom",sideOffset:l=0,align:c="center",alignOffset:u=0,arrowPadding:h=0,avoidCollisions:m=!0,collisionBoundary:p=[],collisionPadding:y=0,sticky:g="partial",hideWhenDetached:b=!1,updatePositionStrategy:w="optimized",onPlaced:E,...A}=t,M=w1(Wh,s),[C,Q]=O.useState(null),B=Bs(n,ut=>Q(ut)),[Z,k]=O.useState(null),G=ej(Z),N=G?.width??0,D=G?.height??0,J=r+(c!=="center"?"-"+c:""),W=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},it=Array.isArray(p)?p:[p],et=it.length>0,at={padding:W,boundary:it.filter(aj),altBoundary:et},{refs:rt,floatingStyles:ct,placement:j,isPositioned:P,middlewareData:z}=QR({strategy:"fixed",placement:J,whileElementsMounted:(...ut)=>zR(...ut,{animationFrame:w==="always"}),elements:{reference:M.anchor},middleware:[YR({mainAxis:l+D,alignmentAxis:u}),m&&FR({mainAxis:!0,crossAxis:!1,limiter:g==="partial"?KR():void 0,...at}),m&&XR({...at}),ZR({...at,apply:({elements:ut,rects:vt,availableWidth:At,availableHeight:oe})=>{const{width:he,height:me}=vt.reference,Qn=ut.floating.style;Qn.setProperty("--radix-popper-available-width",`${At}px`),Qn.setProperty("--radix-popper-available-height",`${oe}px`),Qn.setProperty("--radix-popper-anchor-width",`${he}px`),Qn.setProperty("--radix-popper-anchor-height",`${me}px`)}}),Z&&JR({element:Z,padding:h}),rj({arrowWidth:N,arrowHeight:D}),b&&$R({strategy:"referenceHidden",...at})]}),[nt,ot]=R1(j),T=Lc(E);yo(()=>{P&&T?.()},[P,T]);const q=z.arrow?.x,U=z.arrow?.y,F=z.arrow?.centerOffset!==0,[tt,ft]=O.useState();return yo(()=>{C&&ft(window.getComputedStyle(C).zIndex)},[C]),x.jsx("div",{ref:rt.setFloating,"data-radix-popper-content-wrapper":"",style:{...ct,transform:P?ct.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:tt,"--radix-popper-transform-origin":[z.transformOrigin?.x,z.transformOrigin?.y].join(" "),...z.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:x.jsx(nj,{scope:s,placedSide:nt,onArrowChange:k,arrowX:q,arrowY:U,shouldHideArrow:F,children:x.jsx(qs.div,{"data-side":nt,"data-align":ot,...A,ref:B,style:{...A.style,animation:P?void 0:"none"}})})})});A1.displayName=Wh;var C1="PopperArrow",sj={top:"bottom",right:"left",bottom:"top",left:"right"},O1=O.forwardRef(function(n,s){const{__scopePopper:r,...l}=n,c=ij(C1,r),u=sj[c.placedSide];return x.jsx("span",{ref:c.onArrowChange,style:{position:"absolute",left:c.arrowX,top:c.arrowY,[u]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[c.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[c.placedSide],visibility:c.shouldHideArrow?"hidden":void 0},children:x.jsx(tj,{...l,ref:s,style:{...l.style,display:"block"}})})});O1.displayName=C1;function aj(t){return t!==null}var rj=t=>({name:"transformOrigin",options:t,fn(n){const{placement:s,rects:r,middlewareData:l}=n,u=l.arrow?.centerOffset!==0,h=u?0:t.arrowWidth,m=u?0:t.arrowHeight,[p,y]=R1(s),g={start:"0%",center:"50%",end:"100%"}[y],b=(l.arrow?.x??0)+h/2,w=(l.arrow?.y??0)+m/2;let E="",A="";return p==="bottom"?(E=u?g:`${b}px`,A=`${-m}px`):p==="top"?(E=u?g:`${b}px`,A=`${r.floating.height+m}px`):p==="right"?(E=`${-m}px`,A=u?g:`${w}px`):p==="left"&&(E=`${r.floating.width+m}px`,A=u?g:`${w}px`),{data:{x:E,y:A}}}});function R1(t){const[n,s="center"]=t.split("-");return[n,s]}var oj=T1,lj=A1,cj=O1;function uj(t,n){return O.useReducer((s,r)=>n[s][r]??s,t)}var j1=t=>{const{present:n,children:s}=t,r=fj(n),l=typeof s=="function"?s({present:r.isPresent}):O.Children.only(s),c=Bs(r.ref,dj(l));return typeof s=="function"||r.isPresent?O.cloneElement(l,{ref:c}):null};j1.displayName="Presence";function fj(t){const[n,s]=O.useState(),r=O.useRef(null),l=O.useRef(t),c=O.useRef("none"),u=t?"mounted":"unmounted",[h,m]=uj(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return O.useEffect(()=>{const p=nc(r.current);c.current=h==="mounted"?p:"none"},[h]),yo(()=>{const p=r.current,y=l.current;if(y!==t){const b=c.current,w=nc(p);t?m("MOUNT"):w==="none"||p?.display==="none"?m("UNMOUNT"):m(y&&b!==w?"ANIMATION_OUT":"UNMOUNT"),l.current=t}},[t,m]),yo(()=>{if(n){let p;const y=n.ownerDocument.defaultView??window,g=w=>{const A=nc(r.current).includes(CSS.escape(w.animationName));if(w.target===n&&A&&(m("ANIMATION_END"),!l.current)){const M=n.style.animationFillMode;n.style.animationFillMode="forwards",p=y.setTimeout(()=>{n.style.animationFillMode==="forwards"&&(n.style.animationFillMode=M)})}},b=w=>{w.target===n&&(c.current=nc(r.current))};return n.addEventListener("animationstart",b),n.addEventListener("animationcancel",g),n.addEventListener("animationend",g),()=>{y.clearTimeout(p),n.removeEventListener("animationstart",b),n.removeEventListener("animationcancel",g),n.removeEventListener("animationend",g)}}else m("ANIMATION_END")},[n,m]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:O.useCallback(p=>{r.current=p?getComputedStyle(p):null,s(p)},[])}}function nc(t){return t?.animationName||"none"}function dj(t){let n=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,s=n&&"isReactWarning"in n&&n.isReactWarning;return s?t.ref:(n=Object.getOwnPropertyDescriptor(t,"ref")?.get,s=n&&"isReactWarning"in n&&n.isReactWarning,s?t.props.ref:t.props.ref||t.ref)}var hj=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),mj="VisuallyHidden",M1=O.forwardRef((t,n)=>x.jsx(qs.span,{...t,ref:n,style:{...hj,...t.style}}));M1.displayName=mj;var pj=M1,[Bc]=e1("Tooltip",[S1]),tm=S1(),N1="TooltipProvider",gj=700,b0="tooltip.open",[yj,_1]=Bc(N1),D1=t=>{const{__scopeTooltip:n,delayDuration:s=gj,skipDelayDuration:r=300,disableHoverableContent:l=!1,children:c}=t,u=O.useRef(!0),h=O.useRef(!1),m=O.useRef(0);return O.useEffect(()=>{const p=m.current;return()=>window.clearTimeout(p)},[]),x.jsx(yj,{scope:n,isOpenDelayedRef:u,delayDuration:s,onOpen:O.useCallback(()=>{window.clearTimeout(m.current),u.current=!1},[]),onClose:O.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>u.current=!0,r)},[r]),isPointerInTransitRef:h,onPointerInTransitChange:O.useCallback(p=>{h.current=p},[]),disableHoverableContent:l,children:c})};D1.displayName=N1;var z1="Tooltip",[sz,qc]=Bc(z1),uh="TooltipTrigger",vj=O.forwardRef((t,n)=>{const{__scopeTooltip:s,...r}=t,l=qc(uh,s),c=_1(uh,s),u=tm(s),h=O.useRef(null),m=Bs(n,h,l.onTriggerChange),p=O.useRef(!1),y=O.useRef(!1),g=O.useCallback(()=>p.current=!1,[]);return O.useEffect(()=>()=>document.removeEventListener("pointerup",g),[g]),x.jsx(oj,{asChild:!0,...u,children:x.jsx(qs.button,{"aria-describedby":l.open?l.contentId:void 0,"data-state":l.stateAttribute,...r,ref:m,onPointerMove:fi(t.onPointerMove,b=>{b.pointerType!=="touch"&&!y.current&&!c.isPointerInTransitRef.current&&(l.onTriggerEnter(),y.current=!0)}),onPointerLeave:fi(t.onPointerLeave,()=>{l.onTriggerLeave(),y.current=!1}),onPointerDown:fi(t.onPointerDown,()=>{l.open&&l.onClose(),p.current=!0,document.addEventListener("pointerup",g,{once:!0})}),onFocus:fi(t.onFocus,()=>{p.current||l.onOpen()}),onBlur:fi(t.onBlur,l.onClose),onClick:fi(t.onClick,l.onClose)})})});vj.displayName=uh;var xj="TooltipPortal",[az,bj]=Bc(xj,{forceMount:void 0}),Ga="TooltipContent",Sj=O.forwardRef((t,n)=>{const s=bj(Ga,t.__scopeTooltip),{forceMount:r=s.forceMount,side:l="top",...c}=t,u=qc(Ga,t.__scopeTooltip);return x.jsx(j1,{present:r||u.open,children:u.disableHoverableContent?x.jsx(P1,{side:l,...c,ref:n}):x.jsx(wj,{side:l,...c,ref:n})})}),wj=O.forwardRef((t,n)=>{const s=qc(Ga,t.__scopeTooltip),r=_1(Ga,t.__scopeTooltip),l=O.useRef(null),c=Bs(n,l),[u,h]=O.useState(null),{trigger:m,onClose:p}=s,y=l.current,{onPointerInTransitChange:g}=r,b=O.useCallback(()=>{h(null),g(!1)},[g]),w=O.useCallback((E,A)=>{const M=E.currentTarget,C={x:E.clientX,y:E.clientY},Q=Oj(C,M.getBoundingClientRect()),B=Rj(C,Q),Z=jj(A.getBoundingClientRect()),k=Nj([...B,...Z]);h(k),g(!0)},[g]);return O.useEffect(()=>()=>b(),[b]),O.useEffect(()=>{if(m&&y){const E=M=>w(M,y),A=M=>w(M,m);return m.addEventListener("pointerleave",E),y.addEventListener("pointerleave",A),()=>{m.removeEventListener("pointerleave",E),y.removeEventListener("pointerleave",A)}}},[m,y,w,b]),O.useEffect(()=>{if(u){const E=A=>{const M=A.target,C={x:A.clientX,y:A.clientY},Q=m?.contains(M)||y?.contains(M),B=!Mj(C,u);Q?b():B&&(b(),p())};return document.addEventListener("pointermove",E),()=>document.removeEventListener("pointermove",E)}},[m,y,u,p,b]),x.jsx(P1,{...t,ref:c})}),[Ej,Tj]=Bc(z1,{isInside:!1}
vendor: 10,692 bytes, line 49
49),Aj=jO("TooltipContent"),P1=O.forwardRef((t,n)=>{const{__scopeTooltip:s,children:r,"aria-label":l,onEscapeKeyDown:c,onPointerDownOutside:u,...h}=t,m=qc(Ga,s),p=tm(s),{onClose:y}=m;return O.useEffect(()=>(document.addEventListener(b0,y),()=>document.removeEventListener(b0,y)),[y]),O.useEffect(()=>{if(m.trigger){const g=b=>{b.target?.contains(m.trigger)&&y()};return window.addEventListener("scroll",g,{capture:!0}),()=>window.removeEventListener("scroll",g,{capture:!0})}},[m.trigger,y]),x.jsx(a1,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:g=>g.preventDefault(),onDismiss:y,children:x.jsxs(lj,{"data-state":m.stateAttribute,...p,...h,ref:n,style:{...h.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[x.jsx(Aj,{children:r}),x.jsx(Ej,{scope:s,isInside:!0,children:x.jsx(pj,{id:m.contentId,role:"tooltip",children:l||r})})]})})});Sj.displayName=Ga;var L1="TooltipArrow",Cj=O.forwardRef((t,n)=>{const{__scopeTooltip:s,...r}=t,l=tm(s);return Tj(L1,s).isInside?null:x.jsx(cj,{...l,...r,ref:n})});Cj.displayName=L1;function Oj(t,n){const s=Math.abs(n.top-t.y),r=Math.abs(n.bottom-t.y),l=Math.abs(n.right-t.x),c=Math.abs(n.left-t.x);switch(Math.min(s,r,l,c)){case c:return"left";case l:return"right";case s:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Rj(t,n,s=5){const r=[];switch(n){case"top":r.push({x:t.x-s,y:t.y+s},{x:t.x+s,y:t.y+s});break;case"bottom":r.push({x:t.x-s,y:t.y-s},{x:t.x+s,y:t.y-s});break;case"left":r.push({x:t.x+s,y:t.y-s},{x:t.x+s,y:t.y+s});break;case"right":r.push({x:t.x-s,y:t.y-s},{x:t.x-s,y:t.y+s});break}return r}function jj(t){const{top:n,right:s,bottom:r,left:l}=t;return[{x:l,y:n},{x:s,y:n},{x:s,y:r},{x:l,y:r}]}function Mj(t,n){const{x:s,y:r}=t;let l=!1;for(let c=0,u=n.length-1;c<n.length;u=c++){const h=n[c],m=n[u],p=h.x,y=h.y,g=m.x,b=m.y;y>r!=b>r&&s<(g-p)*(r-y)/(b-y)+p&&(l=!l)}return l}function Nj(t){const n=t.slice();return n.sort((s,r)=>s.x<r.x?-1:s.x>r.x?1:s.y<r.y?-1:s.y>r.y?1:0),_j(n)}function _j(t){if(t.length<=1)return t.slice();const n=[];for(let r=0;r<t.length;r++){const l=t[r];for(;n.length>=2;){const c=n[n.length-1],u=n[n.length-2];if((c.x-u.x)*(l.y-u.y)>=(c.y-u.y)*(l.x-u.x))n.pop();else break}n.push(l)}n.pop();const s=[];for(let r=t.length-1;r>=0;r--){const l=t[r];for(;s.length>=2;){const c=s[s.length-1],u=s[s.length-2];if((c.x-u.x)*(l.y-u.y)>=(c.y-u.y)*(l.x-u.x))s.pop();else break}s.push(l)}return s.pop(),n.length===1&&s.length===1&&n[0].x===s[0].x&&n[0].y===s[0].y?n:n.concat(s)}var Dj=D1;function k1(t){var n,s,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var l=t.length;for(n=0;n<l;n++)t[n]&&(s=k1(t[n]))&&(r&&(r+=" "),r+=s)}else for(s in t)t[s]&&(r&&(r+=" "),r+=s);return r}function U1(){for(var t,n,s=0,r="",l=arguments.length;s<l;s++)(t=arguments[s])&&(n=k1(t))&&(r&&(r+=" "),r+=n);return r}const em="-",zj=t=>{const n=Lj(t),{conflictingClassGroups:s,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:u=>{const h=u.split(em);return h[0]===""&&h.length!==1&&h.shift(),H1(h,n)||Pj(u)},getConflictingClassGroupIds:(u,h)=>{const m=s[u]||[];return h&&r[u]?[...m,...r[u]]:m}}},H1=(t,n)=>{if(t.length===0)return n.classGroupId;const s=t[0],r=n.nextPart.get(s),l=r?H1(t.slice(1),r):void 0;if(l)return l;if(n.validators.length===0)return;const c=t.join(em);return n.validators.find(({validator:u})=>u(c))?.classGroupId},S0=/^\[(.+)\]$/,Pj=t=>{if(S0.test(t)){const n=S0.exec(t)[1],s=n?.substring(0,n.indexOf(":"));if(s)return"arbitrary.."+s}},Lj=t=>{const{theme:n,classGroups:s}=t,r={nextPart:new Map,validators:[]};for(const l in s)fh(s[l],r,l,n);return r},fh=(t,n,s,r)=>{t.forEach(l=>{if(typeof l=="string"){const c=l===""?n:w0(n,l);c.classGroupId=s;return}if(typeof l=="function"){if(kj(l)){fh(l(r),n,s,r);return}n.validators.push({validator:l,classGroupId:s});return}Object.entries(l).forEach(([c,u])=>{fh(u,w0(n,c),s,r)})})},w0=(t,n)=>{let s=t;return n.split(em).forEach(r=>{s.nextPart.has(r)||s.nextPart.set(r,{nextPart:new Map,validators:[]}),s=s.nextPart.get(r)}),s},kj=t=>t.isThemeGetter,Uj=t=>{if(t<1)return{get:()=>{},set:()=>{}};let n=0,s=new Map,r=new Map;const l=(c,u)=>{s.set(c,u),n++,n>t&&(n=0,r=s,s=new Map)};return{get(c){let u=s.get(c);if(u!==void 0)return u;if((u=r.get(c))!==void 0)return l(c,u),u},set(c,u){s.has(c)?s.set(c,u):l(c,u)}}},dh="!",hh=":",Hj=hh.length,Vj=t=>{const{prefix:n,experimentalParseClassName:s}=t;let r=l=>{const c=[];let u=0,h=0,m=0,p;for(let E=0;E<l.length;E++){let A=l[E];if(u===0&&h===0){if(A===hh){c.push(l.slice(m,E)),m=E+Hj;continue}if(A==="/"){p=E;continue}}A==="["?u++:A==="]"?u--:A==="("?h++:A===")"&&h--}const y=c.length===0?l:l.substring(m),g=Bj(y),b=g!==y,w=p&&p>m?p-m:void 0;return{modifiers:c,hasImportantModifier:b,baseClassName:g,maybePostfixModifierPosition:w}};if(n){const l=n+hh,c=r;r=u=>u.startsWith(l)?c(u.substring(l.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:u,maybePostfixModifierPosition:void 0}}if(s){const l=r;r=c=>s({className:c,parseClassName:l})}return r},Bj=t=>t.endsWith(dh)?t.substring(0,t.length-1):t.startsWith(dh)?t.substring(1):t,qj=t=>{const n=Object.fromEntries(t.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const l=[];let c=[];return r.forEach(u=>{u[0]==="["||n[u]?(l.push(...c.sort(),u),c=[]):c.push(u)}),l.push(...c.sort()),l}},Ij=t=>({cache:Uj(t.cacheSize),parseClassName:Vj(t),sortModifiers:qj(t),...zj(t)}),Qj=/\s+/,Gj=(t,n)=>{const{parseClassName:s,getClassGroupId:r,getConflictingClassGroupIds:l,sortModifiers:c}=n,u=[],h=t.trim().split(Qj);let m="";for(let p=h.length-1;p>=0;p-=1){const y=h[p],{isExternal:g,modifiers:b,hasImportantModifier:w,baseClassName:E,maybePostfixModifierPosition:A}=s(y);if(g){m=y+(m.length>0?" "+m:m);continue}let M=!!A,C=r(M?E.substring(0,A):E);if(!C){if(!M){m=y+(m.length>0?" "+m:m);continue}if(C=r(E),!C){m=y+(m.length>0?" "+m:m);continue}M=!1}const Q=c(b).join(":"),B=w?Q+dh:Q,Z=B+C;if(u.includes(Z))continue;u.push(Z);const k=l(C,M);for(let G=0;G<k.length;++G){const N=k[G];u.push(B+N)}m=y+(m.length>0?" "+m:m)}return m};function Yj(){let t=0,n,s,r="";for(;t<arguments.length;)(n=arguments[t++])&&(s=V1(n))&&(r&&(r+=" "),r+=s);return r}const V1=t=>{if(typeof t=="string")return t;let n,s="";for(let r=0;r<t.length;r++)t[r]&&(n=V1(t[r]))&&(s&&(s+=" "),s+=n);return s};function Fj(t,...n){let s,r,l,c=u;function u(m){const p=n.reduce((y,g)=>g(y),t());return s=Ij(p),r=s.cache.get,l=s.cache.set,c=h,h(m)}function h(m){const p=r(m);if(p)return p;const y=Gj(m,s);return l(m,y),y}return function(){return c(Yj.apply(null,arguments))}}const ce=t=>{const n=s=>s[t]||[];return n.isThemeGetter=!0,n},B1=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,q1=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Kj=/^\d+\/\d+$/,Xj=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Zj=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,$j=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Jj=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Wj=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_a=t=>Kj.test(t),Tt=t=>!!t&&!Number.isNaN(Number(t)),Gi=t=>!!t&&Number.isInteger(Number(t)),Sd=t=>t.endsWith("%")&&Tt(t.slice(0,-1)),ui=t=>Xj.test(t),t3=()=>!0,e3=t=>Zj.test(t)&&!$j.test(t),I1=()=>!1,n3=t=>Jj.test(t),i3=t=>Wj.test(t),s3=t=>!ht(t)&&!mt(t),a3=t=>Za(t,Y1,I1),ht=t=>B1.test(t),Os=t=>Za(t,F1,e3),wd=t=>Za(t,u3,Tt),E0=t=>Za(t,Q1,I1),r3=t=>Za(t,G1,i3),ic=t=>Za(t,K1,n3),mt=t=>q1.test(t),Wr=t=>$a(t,F1),o3=t=>$a(t,f3),T0=t=>$a(t,Q1),l3=t=>$a(t,Y1),c3=t=>$a(t,G1),sc=t=>$a(t,K1,!0),Za=(t,n,s)=>{const r=B1.exec(t);return r?r[1]?n(r[1]):s(r[2]):!1},$a=(t,n,s=!1)=>{const r=q1.exec(t);return r?r[1]?n(r[1]):s:!1},Q1=t=>t==="position"||t==="percentage",G1=t=>t==="image"||t==="url",Y1=t=>t==="length"||t==="size"||t==="bg-size",F1=t=>t==="length",u3=t=>t==="number",f3=t=>t==="family-name",K1=t=>t==="shadow",d3=()=>{const t=ce("color"),n=ce("font"),s=ce("text"),r=ce("font-weight"),l=ce("tracking"),c=ce("leading"),u=ce("breakpoint"),h=ce("container"),m=ce("spacing"),p=ce("radius"),y=ce("shadow"),g=ce("inset-shadow"),b=ce("text-shadow"),w=ce("drop-shadow"),E=ce("blur"),A=ce("perspective"),M=ce("aspect"),C=ce("ease"),Q=ce("animate"),B=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Z=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...Z(),mt,ht],G=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto","contain","none"],D=()=>[mt,ht,m],J=()=>[_a,"full","auto",...D()],W=()=>[Gi,"none","subgrid",mt,ht],it=()=>["auto",{span:["full",Gi,mt,ht]},Gi,mt,ht],et=()=>[Gi,"auto",mt,ht],at=()=>["auto","min","max","fr",mt,ht],rt=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ct=()=>["start","end","center","stretch","center-safe","end-safe"],j=()=>["auto",...D()],P=()=>[_a,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...D()],z=()=>[t,mt,ht],nt=()=>[...Z(),T0,E0,{position:[mt,ht]}],ot=()=>["no-repeat",{repeat:["","x","y","space","round"]}],T=()=>["auto","cover","contain",l3,a3,{size:[mt,ht]}],q=()=>[Sd,Wr,Os],U=()=>["","none","full",p,mt,ht],F=()=>["",Tt,Wr,Os],tt=()=>["solid","dashed","dotted","double"],ft=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ut=()=>[Tt,Sd,T0,E0],vt=()=>["","none",E,mt,ht],At=()=>["none",Tt,mt,ht],oe=()=>["none",Tt,mt,ht],he=()=>[Tt,mt,ht],me=()=>[_a,"full",...D()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ui],breakpoint:[ui],color:[t3],container:[ui],"drop-shadow":[ui],ease:["in","out","in-out"],font:[s3],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ui],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ui],shadow:[ui],spacing:["px",Tt],text:[ui],"text-shadow":[ui],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",_a,ht,mt,M]}
vendor: 12,865 bytes, line 49
49],container:["container"],columns:[{columns:[Tt,ht,mt,h]}],"break-after":[{"break-after":B()}],"break-before":[{"break-before":B()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:k()}],overflow:[{overflow:G()}],"overflow-x":[{"overflow-x":G()}],"overflow-y":[{"overflow-y":G()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:J()}],"inset-x":[{"inset-x":J()}],"inset-y":[{"inset-y":J()}],start:[{start:J()}],end:[{end:J()}],top:[{top:J()}],right:[{right:J()}],bottom:[{bottom:J()}],left:[{left:J()}],visibility:["visible","invisible","collapse"],z:[{z:[Gi,"auto",mt,ht]}],basis:[{basis:[_a,"full","auto",h,...D()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Tt,_a,"auto","initial","none",ht]}],grow:[{grow:["",Tt,mt,ht]}],shrink:[{shrink:["",Tt,mt,ht]}],order:[{order:[Gi,"first","last","none",mt,ht]}],"grid-cols":[{"grid-cols":W()}],"col-start-end":[{col:it()}],"col-start":[{"col-start":et()}],"col-end":[{"col-end":et()}],"grid-rows":[{"grid-rows":W()}],"row-start-end":[{row:it()}],"row-start":[{"row-start":et()}],"row-end":[{"row-end":et()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":at()}],"auto-rows":[{"auto-rows":at()}],gap:[{gap:D()}],"gap-x":[{"gap-x":D()}],"gap-y":[{"gap-y":D()}],"justify-content":[{justify:[...rt(),"normal"]}],"justify-items":[{"justify-items":[...ct(),"normal"]}],"justify-self":[{"justify-self":["auto",...ct()]}],"align-content":[{content:["normal",...rt()]}],"align-items":[{items:[...ct(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ct(),{baseline:["","last"]}]}],"place-content":[{"place-content":rt()}],"place-items":[{"place-items":[...ct(),"baseline"]}],"place-self":[{"place-self":["auto",...ct()]}],p:[{p:D()}],px:[{px:D()}],py:[{py:D()}],ps:[{ps:D()}],pe:[{pe:D()}],pt:[{pt:D()}],pr:[{pr:D()}],pb:[{pb:D()}],pl:[{pl:D()}],m:[{m:j()}],mx:[{mx:j()}],my:[{my:j()}],ms:[{ms:j()}],me:[{me:j()}],mt:[{mt:j()}],mr:[{mr:j()}],mb:[{mb:j()}],ml:[{ml:j()}],"space-x":[{"space-x":D()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":D()}],"space-y-reverse":["space-y-reverse"],size:[{size:P()}],w:[{w:[h,"screen",...P()]}],"min-w":[{"min-w":[h,"screen","none",...P()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[u]},...P()]}],h:[{h:["screen","lh",...P()]}],"min-h":[{"min-h":["screen","lh","none",...P()]}],"max-h":[{"max-h":["screen","lh",...P()]}],"font-size":[{text:["base",s,Wr,Os]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,mt,wd]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Sd,ht]}],"font-family":[{font:[o3,ht,n]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[l,mt,ht]}],"line-clamp":[{"line-clamp":[Tt,"none",mt,wd]}],leading:[{leading:[c,...D()]}],"list-image":[{"list-image":["none",mt,ht]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",mt,ht]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:z()}],"text-color":[{text:z()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...tt(),"wavy"]}],"text-decoration-thickness":[{decoration:[Tt,"from-font","auto",mt,Os]}],"text-decoration-color":[{decoration:z()}],"underline-offset":[{"underline-offset":[Tt,"auto",mt,ht]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",mt,ht]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",mt,ht]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:nt()}],"bg-repeat":[{bg:ot()}],"bg-size":[{bg:T()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Gi,mt,ht],radial:["",mt,ht],conic:[Gi,mt,ht]},c3,r3]}],"bg-color":[{bg:z()}],"gradient-from-pos":[{from:q()}],"gradient-via-pos":[{via:q()}],"gradient-to-pos":[{to:q()}],"gradient-from":[{from:z()}],"gradient-via":[{via:z()}],"gradient-to":[{to:z()}],rounded:[{rounded:U()}],"rounded-s":[{"rounded-s":U()}],"rounded-e":[{"rounded-e":U()}],"rounded-t":[{"rounded-t":U()}],"rounded-r":[{"rounded-r":U()}],"rounded-b":[{"rounded-b":U()}],"rounded-l":[{"rounded-l":U()}],"rounded-ss":[{"rounded-ss":U()}],"rounded-se":[{"rounded-se":U()}],"rounded-ee":[{"rounded-ee":U()}],"rounded-es":[{"rounded-es":U()}],"rounded-tl":[{"rounded-tl":U()}],"rounded-tr":[{"rounded-tr":U()}],"rounded-br":[{"rounded-br":U()}],"rounded-bl":[{"rounded-bl":U()}],"border-w":[{border:F()}],"border-w-x":[{"border-x":F()}],"border-w-y":[{"border-y":F()}],"border-w-s":[{"border-s":F()}],"border-w-e":[{"border-e":F()}],"border-w-t":[{"border-t":F()}],"border-w-r":[{"border-r":F()}],"border-w-b":[{"border-b":F()}],"border-w-l":[{"border-l":F()}],"divide-x":[{"divide-x":F()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":F()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...tt(),"hidden","none"]}],"divide-style":[{divide:[...tt(),"hidden","none"]}],"border-color":[{border:z()}],"border-color-x":[{"border-x":z()}],"border-color-y":[{"border-y":z()}],"border-color-s":[{"border-s":z()}],"border-color-e":[{"border-e":z()}],"border-color-t":[{"border-t":z()}],"border-color-r":[{"border-r":z()}],"border-color-b":[{"border-b":z()}],"border-color-l":[{"border-l":z()}],"divide-color":[{divide:z()}],"outline-style":[{outline:[...tt(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Tt,mt,ht]}],"outline-w":[{outline:["",Tt,Wr,Os]}],"outline-color":[{outline:z()}],shadow:[{shadow:["","none",y,sc,ic]}],"shadow-color":[{shadow:z()}],"inset-shadow":[{"inset-shadow":["none",g,sc,ic]}],"inset-shadow-color":[{"inset-shadow":z()}],"ring-w":[{ring:F()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:z()}],"ring-offset-w":[{"ring-offset":[Tt,Os]}],"ring-offset-color":[{"ring-offset":z()}],"inset-ring-w":[{"inset-ring":F()}],"inset-ring-color":[{"inset-ring":z()}],"text-shadow":[{"text-shadow":["none",b,sc,ic]}],"text-shadow-color":[{"text-shadow":z()}],opacity:[{opacity:[Tt,mt,ht]}],"mix-blend":[{"mix-blend":[...ft(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ft()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Tt]}],"mask-image-linear-from-pos":[{"mask-linear-from":ut()}],"mask-image-linear-to-pos":[{"mask-linear-to":ut()}],"mask-image-linear-from-color":[{"mask-linear-from":z()}],"mask-image-linear-to-color":[{"mask-linear-to":z()}],"mask-image-t-from-pos":[{"mask-t-from":ut()}],"mask-image-t-to-pos":[{"mask-t-to":ut()}],"mask-image-t-from-color":[{"mask-t-from":z()}],"mask-image-t-to-color":[{"mask-t-to":z()}],"mask-image-r-from-pos":[{"mask-r-from":ut()}],"mask-image-r-to-pos":[{"mask-r-to":ut()}],"mask-image-r-from-color":[{"mask-r-from":z()}],"mask-image-r-to-color":[{"mask-r-to":z()}],"mask-image-b-from-pos":[{"mask-b-from":ut()}],"mask-image-b-to-pos":[{"mask-b-to":ut()}],"mask-image-b-from-color":[{"mask-b-from":z()}],"mask-image-b-to-color":[{"mask-b-to":z()}],"mask-image-l-from-pos":[{"mask-l-from":ut()}],"mask-image-l-to-pos":[{"mask-l-to":ut()}],"mask-image-l-from-color":[{"mask-l-from":z()}],"mask-image-l-to-color":[{"mask-l-to":z()}],"mask-image-x-from-pos":[{"mask-x-from":ut()}],"mask-image-x-to-pos":[{"mask-x-to":ut()}],"mask-image-x-from-color":[{"mask-x-from":z()}],"mask-image-x-to-color":[{"mask-x-to":z()}],"mask-image-y-from-pos":[{"mask-y-from":ut()}],"mask-image-y-to-pos":[{"mask-y-to":ut()}],"mask-image-y-from-color":[{"mask-y-from":z()}],"mask-image-y-to-color":[{"mask-y-to":z()}],"mask-image-radial":[{"mask-radial":[mt,ht]}],"mask-image-radial-from-pos":[{"mask-radial-from":ut()}],"mask-image-radial-to-pos":[{"mask-radial-to":ut()}],"mask-image-radial-from-color":[{"mask-radial-from":z()}],"mask-image-radial-to-color":[{"mask-radial-to":z()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":Z()}],"mask-image-conic-pos":[{"mask-conic":[Tt]}],"mask-image-conic-from-pos":[{"mask-conic-from":ut()}],"mask-image-conic-to-pos":[{"mask-conic-to":ut()}],"mask-image-conic-from-color":[{"mask-conic-from":z()}],"mask-image-conic-to-color":[{"mask-conic-to":z()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:nt()}],"mask-repeat":[{mask:ot()}],"mask-size":[{mask:T()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",mt,ht]}],filter:[{filter:["","none",mt,ht]}],blur:[{blur:vt()}],brightness:[{brightness:[Tt,mt,ht]}],contrast:[{contrast:[Tt,mt,ht]}],"drop-shadow":[{"drop-shadow":["","none",w,sc,ic]}],"drop-shadow-color":[{"drop-shadow":z()}],grayscale:[{grayscale:["",Tt,mt,ht]}],"hue-rotate":[{"hue-rotate":[Tt,mt,ht]}],invert:[{invert:["",Tt,mt,ht]}],saturate:[{saturate:[Tt,mt,ht]}],sepia:[{sepia:["",Tt,mt,ht]}],"backdrop-filter":[{"backdrop-filter":["","none",mt,ht]}],"backdrop-blur":[{"backdrop-blur":vt()}],"backdrop-brightness":[{"backdrop-brightness":[Tt,mt,ht]}],"backdrop-contrast":[{"backdrop-contrast":[Tt,mt,ht]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Tt,mt,ht]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Tt,mt,ht]}],"backdrop-invert":[{"backdrop-invert":["",Tt,mt,ht]}],"backdrop-opacity":[{"backdrop-opacity":[Tt,mt,ht]}],"backdrop-saturate":[{"backdrop-saturate":[Tt,mt,ht]}],"backdrop-sepia":[{"backdrop-sepia":["",Tt,mt,ht]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":D()}],"border-spacing-x":[{"border-spacing-x":D()}],"border-spacing-y":[{"border-spacing-y":D()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",mt,ht]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Tt,"initial",mt,ht]}],ease:[{ease:["linear","initial",C,mt,ht]}],delay:[{delay:[Tt,mt,ht]}],animate:[{animate:["none",Q,mt,ht]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[A,mt,ht]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:At()}],"rotate-x":[{"rotate-x":At()}],"rotate-y":[{"rotate-y":At()}],"rotate-z":[{"rotate-z":At()}],scale:[{scale:oe()}],"scale-x":[{"scale-x":oe()}],"scale-y":[{"scale-y":oe()}],"scale-z":[{"scale-z":oe()}],"scale-3d":["scale-3d"],skew:[{skew:he()}],"skew-x":[{"skew-x":he()}],"skew-y":[{"skew-y":he()}],transform:[{transform:[mt,ht,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:me()}],"translate-x":[{"translate-x":me()}],"translate-y":[{"translate-y":me()}],"translate-z":[{"translate-z":me()}],"translate-none":["translate-none"],accent:[{accent:z()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:z()}
vendor: 5,141 bytes, line 49
49],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",mt,ht]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",mt,ht]}],fill:[{fill:["none",...z()]}],"stroke-w":[{stroke:[Tt,Wr,Os,wd]}],stroke:[{stroke:["none",...z()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},h3=Fj(d3);function Ic(...t){return h3(U1(t))}function m3({delayDuration:t=0,...n}){return x.jsx(Dj,{"data-loc":"client/src/components/ui/tooltip.tsx:11","data-slot":"tooltip-provider",delayDuration:t,...n})}const A0=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,C0=U1,p3=(t,n)=>s=>{var r;if(n?.variants==null)return C0(t,s?.class,s?.className);const{variants:l,defaultVariants:c}=n,u=Object.keys(l).map(p=>{const y=s?.[p],g=c?.[p];if(y===null)return null;const b=A0(y)||A0(g);return l[p][b]}),h=s&&Object.entries(s).reduce((p,y)=>{let[g,b]=y;return b===void 0||(p[g]=b),p},{}),m=n==null||(r=n.compoundVariants)===null||r===void 0?void 0:r.reduce((p,y)=>{let{class:g,className:b,...w}=y;return Object.entries(w).every(E=>
49{let[A,M]=E;return Array.isArray(M)?M.includes({...c,...h}[A]):{...c,...h}[A]===M})?[...p,g,b]:p},[]);return C0(t,u,m,s?.class,s?.className)},g3=p3("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-transparent shadow-xs hover:bg-accent dark:bg-transparent dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function y3({className:t,variant:n,size:s,asChild:r=!1,...l}){const c=r?OO:"button";return x.jsx(c,{"data-loc":"client/src/components/ui/button.tsx:52","data-slot":"button",className:Ic(g3({variant:n,size:s,className:t})),...l})}function v3({className:t,...n}){return x.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:7","data-slot":"card",className:Ic("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",t),...n})}function x3({className:t,...n}){return x.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:66","data-slot":"card-content",className:Ic("px-6",t),...n})}/**
50 * @license lucide-react v0.453.0 - ISC
51 *
52 * This source code is licensed under the ISC license.
53 * See the LICENSE file in the root directory of this source tree.
54 */const b3=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),X1=(...t)=>t.filter((n,s,r)=>!!n&&r.indexOf(n)===s).join(" ");/**
55 * @license lucide-react v0.453.0 - ISC
56 *
57 * This source code is licensed under the ISC license.
58 * See the LICENSE file in the root directory of this source tree.
59 */var S3={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
60 * @license lucide-react v0.453.0 - ISC
61 *
62 * This source code is licensed under the ISC license.
63 * See the LICENSE file in the root directory of this source tree.
64 */const w3=O.forwardRef(({color:t="currentColor",size:n=24,strokeWidth:s=2,absoluteStrokeWidth:r,className:l="",children:c,iconNode:u,...h},m)=>O.createElement("svg",{ref:m,...S3,width:n,height:n,stroke:t,strokeWidth:r?Number(s)*24/Number(n):s,className:X1("lucide",l),...h},[...u.map(([p,y])=>O.createElement(p,y)),...Array.isArray(c)?c:[c]]));/**
65 * @license lucide-react v0.453.0 - ISC
66 *
67 * This source code is licensed under the ISC license.
68 * See the LICENSE file in the root directory of this source tree.
69 */const Qc=(t,n)=>{const s=O.forwardRef(({className:r,...l},c)=>O.createElement(w3,{ref:c,iconNode:n,className:X1(`lucide-${b3(t)}`,r),...l}));return s.displayName=`${t}`,s};/**
70 * @license lucide-react v0.453.0 - ISC
71 *
72 * This source code is licensed under the ISC license.
73 * See the LICENSE file in the root directory of this source tree.
74 */const E3=Qc("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
75 * @license lucide-react v0.453.0 - ISC
76 *
77 * This source code is licensed under the ISC license.
78 * See the LICENSE file in the root directory of this source tree.
79 */const T3=Qc("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
80 * @license lucide-react v0.453.0 - ISC
81 *
82 * This source code is licensed under the ISC license.
83 * See the LICENSE file in the root directory of this source tree.
84 */const A3=Qc("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
85 * @license lucide-react v0.453.0 - ISC
86 *
87 * This source code is licensed under the ISC license.
88 * See the LICENSE file in the root directory of this source tree.
89 */const C3=Qc("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);function O3(t,n){if(t instanceof RegExp)return{keys:!1,pattern:t};var s,r,l,c,u=[],h="",m=t.split("/");for(m[0]||m.shift();l=m.shift();)s=l[0],s==="*"?(u.push(s),h+=l[1]==="?"?"(?:/(.*))?":"/(.*)"):s===":"?(r=l.indexOf("?",1),c=l.indexOf(".",1),u.push(l.substring(1,~r?r:~c?c:l.length)),h+=~r&&!~c?"(?:/([^/]+?))?":"/([^/]+?)",~c&&(h+=(~r?"?":"")+"\\"+l.substring(c))):h+="/"+l;return{keys:u,pattern:new RegExp("^"+h+(n?"(?=$|/)":"/?$"),"i")}}var Ed={exports:{}},Td={};/**
90 * @license React
91 * use-sync-external-store-shim.production.js
92 *
93 * Copyright (c) Meta Platforms, Inc. and affiliates.
94 *
95 * This source code is licensed under the MIT license found in the
96 * LICENSE file in the root directory of this source tree.
97 */var O0;function R3(){if(O0)return Td;O0=1;var t=jc();function n(g,b){return g===b&&(g!==0||1/g===1/b)||g!==g&&b!==b}var s=typeof Object.is=="function"?Object.is:n,r=t.useState,l=t.useEffect,c=t.useLayoutEffect,u=t.useDebugValue;function h(g,b){var w=b(),E=r({inst:{value:w,getSnapshot:b}}),A=E[0].inst,M=E[1];return c(function(){A.value=w,A.getSnapshot=b,m(A)&&M({inst:A})},[g,w,b]),l(function(){return m(A)&&M({inst:A}),g(function(){m(A)&&M({inst:A})})},[g]),u(w),w}function m(g){var b=g.getSnapshot;g=g.value;try{var w=b();return!s(g,w)}catch{return!0}}function p(g,b){return b()}var y=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:h;return Td.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:y,Td}var R0;function j3(){return R0||(R0=1,Ed.exports=R3()),Ed.exports}var M3=j3();const N3=cb.useInsertionEffect,_3=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",D3=_3?O.useLayoutEffect:O.useEffect,z3=N3||D3,Z1=t=>{const n=O.useRef([t,(...s)=>n[0](...s)]).current;return z3(()=>{n[0]=t}),n[1]},P3="popstate",nm="pushState",im="replaceState",L3="hashchange",j0=[P3,nm,im,L3],k3=t=>{for(const n of j0)addEventListener(n,t);return()=>{for(const n of j0)removeEventListener(n,t)}},$1=(t,n)=>
97M3.useSyncExternalStore(k3,t,n),U3=()=>location.search,H3=({ssrSearch:t=""}={})=>$1(U3,()=>t),M0=()=>location.pathname,V3=({ssrPath:t}={})=>$1(M0,t?()=>t:M0),B3=(t,{replace:n=!1,state:s=null}={})=>history[n?im:nm](s,"",t),q3=(t={})=>[V3(t),B3],N0=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[N0]>"u"){for(const t of[nm,im]){const n=history[t];history[t]=function(){const s=n.apply(this,arguments),r=new Event(t);return r.arguments=arguments,dispatchEvent(r),s}}Object.defineProperty(window,N0,{value:!0})}const I3=(t,n)=>n.toLowerCase().indexOf(t.toLowerCase())?"~"+n:n.slice(t.length)||"/",J1=(t="")=>t==="/"?"":t,Q3=(t,n)=>t[0]==="~"?t.slice(1):J1(n)+t,G3=(t="",n)=>I3(_0(J1(t)),_0(n)),_0=t=>{try{return decodeURI(t)}catch{return t}},W1={hook:q3,searchHook:H3,parser:O3,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:t=>t},tS=O.createContext(W1),No=()=>O.useContext(tS),eS={},nS=O.createContext(eS),Y3=()=>O.useContext(nS),Gc=t=>{const[n,s]=t.hook(t);return[G3(t.base,n),Z1((r,l)=>s(Q3(r,t.base),l))]},F3=()=>Gc(No()),iS=(t,n,s,r)=>{const{pattern:l,keys:c}=n instanceof RegExp?{keys:!1,pattern:n}:t(n||"*",r),u=l.exec(s)||[],[h,...m]=u;return h!==void 0?[!0,(()=>{const p=c!==!1?Object.fromEntries(c.map((g,b)=>[g,m[b]])):u.groups;let y={...m};return p&&Object.assign(y,p),y})(),...r?[h]:[]]:[!1,null]},K3=({children:t,...n})=>{const s=No(),r=n.hook?W1:s;let l=r;const[c,u]=n.ssrPath?.split("?")??[];u&&(n.ssrSearch=u,n.ssrPath=c),n.hrefs=n.hrefs??n.hook?.hrefs;let h=O.useRef({}),m=h.current,p=m;for(let y in r){const g=y==="base"?r[y]+(n[y]||""):n[y]||r[y];m===p&&g!==p[y]&&(h.current=p={...p}),p[y]=g,(g!==r[y]||g!==l[y])&&(l=p)}return O.createElement(tS.Provider,{value:l,children:t})},D0=({children:t,component:n},s)=>n?O.createElement(n,{params:s}):typeof t=="function"?t(s):t,X3=t=>{let n=O.useRef(eS);const s=n.current;return n.current=Object.keys(t).length!==Object.keys(s).length||Object.entries(t).some(([r,l])=>l!==s[r])?t:s},Da=({path:t,nest:n,match:s,...r})=>{const l=No(),[c]=Gc(l),[u,h,m]=s??iS(l.parser,t,c,n),p=X3({...Y3(),...h});if(!u)return null;const y=m?O.createElement(K3,{base:m},D0(r,p)):D0(r,p);return O.createElement(nS.Provider,{value:p,children:y})};O.forwardRef((t,n)=>{const s=No(),[r,l]=Gc(s),{to:c="",href:u=c,onClick:h,asChild:m,children:p,className:y,replace:g,state:b,...w}=t,E=Z1(M=>{M.ctrlKey||M.metaKey||M.altKey||M.shiftKey||M.button!==0||(h?.(M),M.defaultPrevented||(M.preventDefault(),l(u,t)))}),A=s.hrefs(u[0]==="~"?u.slice(1):s.base+u,s);return m&&O.isValidElement(p)?O.cloneElement(p,{onClick:E,href:A}):O.createElement("a",{...w,onClick:E,href:A,className:y?.call?y(r===u):y,children:p,ref:n})});const mh=t=>Array.isArray(t)?t.flatMap(n=>mh(n&&n.type===O.Fragment?n.props.children:n)):[t],Z3=({children:t,location:n})=>{const s=No(),[r]=Gc(s);typeof window<"u"&&(window.__WOUTER_ROUTES__||(window.__WOUTER_ROUTES__=[]),mh(t).forEach(c=>{if(O.isValidElement(c)&&c.props.path){const u=c.props.path;window.__WOUTER_ROUTES__.includes(u)||window.__WOUTER_ROUTES__.push(u)}}));for(const l of mh(t)){let c=0;if(O.isValidElement(l)&&(c=iS(s.parser,l.props.path,n||r,l.props.nest))[0])return O.cloneElement(l,{match:c})}return null};function z0(){const[,t]=F3(),n=()=>{t("/")};return x.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:14",className:"min-h-screen w-full flex items-center justify-center bg-gradient-to-br from-slate-50 to-slate-100",children:x.jsx(v3,{"data-loc":"client/src/pages/NotFound.tsx:15",className:"w-full max-w-lg mx-4 shadow-lg border-0 bg-white/80 backdrop-blur-sm",children:x.jsxs(x3,{"data-loc":"client/src/pages/NotFound.tsx:16",className:"pt-8 pb-8 text-center",children:[x.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:17",className:"flex justify-center mb-6",children:x.jsxs("div",{"data-loc":"client/src/pages/NotFound.tsx:18",className:"relative",children:[x.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:19",className:"absolute inset-0 bg-red-100 rounded-full animate-pulse"}),x.jsx(E3,{"data-loc":"client/src/pages/NotFound.tsx:20",className:"relative h-16 w-16 text-red-500"})]})}),x.jsx("h1",{"data-loc":"client/src/pages/NotFound.tsx:24",className:"text-4xl font-bold text-slate-900 mb-2",children:"404"}),x.jsx("h2",{"data-loc":"client/src/pages/NotFound.tsx:26",className:"text-xl font-semibold text-slate-700 mb-4",children:"Page Not Found"}),x.jsxs("p",{"data-loc":"client/src/pages/NotFound.tsx:30",className:"text-slate-600 mb-8 leading-relaxed",children:["Sorry, the page you are looking for doesn't exist.",x.jsx("br",{"data-loc":"client/src/pages/NotFound.tsx:32"}),"It may have been moved or deleted."]}),x.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:36",id:"not-found-button-group",className:"flex flex-col sm:flex-row gap-3 justify-center",children:x.jsxs(y3,{"data-loc":"client/src/pages/NotFound.tsx:40",onClick:n,className:"bg-blue-600 hover:bg-blue-700 text-white px-6 py-2.5 rounded-lg transition-all duration-200 shadow-md hover:shadow-lg",children:[x.jsx(T3,{"data-loc":"client/src/pages/NotFound.tsx:44",className:"w-4 h-4 mr-2"}),"Go Home"]})})]})})})}class $3 extends O.Component{constructor(n){super(n),this.state={hasError:!1,error:null}}static getDerivedStateFromError(n){return{hasError:!0,error:n}}render(){return this.state.hasError?x.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:27",className:"flex items-center justify-center min-h-screen p-8 bg-background",children:x.jsxs("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:28",className:"flex flex-col items-center w-full max-w-2xl p-8",children:[x.jsx(C3,{"data-loc":"client/src/components/ErrorBoundary.tsx:29",size:48,className:"text-destructive mb-6 flex-shrink-0"}),x.jsx("h2",{"data-loc":"client/src/components/ErrorBoundary.tsx:34",className:"text-xl mb-4",children:"An unexpected error occurred."}),x.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:36",className:"p-4 w-full rounded bg-muted overflow-auto mb-6",children:x.jsx("pre",{"data-loc":"client/src/components/ErrorBoundary.tsx:37",className:"text-sm text-muted-foreground whitespace-break-spaces",children:this.state.error?.stack})}),x.jsxs("button",{"data-loc":"client/src/components/ErrorBoundary.tsx:42",onClick:()=>window.location.reload(),className:Ic("flex items-center gap-2 px-4 py-2 rounded-lg","bg-primary text-primary-foreground","hover:opacity-90 cursor-pointer"),children:[x.jsx(A3,{"data-loc":"client/src/components/ErrorBoundary.tsx:50",size:16}),"Reload Page"]})]})}):this.props.children}}const J3=O.createContext(void 0);function W3({children:t,defaultTheme:n="light",switchable:s=!1}){const[r,l]=O.useState(()=>s&&localStorage.getItem("theme")||n);O.useEffect(()=>{const u=document.documentElement;
97r==="dark"?u.classList.add("dark"):u.classList.remove("dark"),s&&localStorage.setItem("theme",r)},[r,s]);const c=s?()=>{l(u=>u==="light"?"dark":"light")}:void 0;return x.jsx(J3.Provider,{"data-loc":"client/src/contexts/ThemeContext.tsx:52",value:{theme:r,toggleTheme:c,switchable:s},children:t})}const sS=O.createContext({});function tM(t){const n=O.useRef(null);return n.current===null&&(n.current=t()),n.current}const sm=typeof window<"u",eM=sm?O.useLayoutEffect:O.useEffect,am=O.createContext(null);function rm(t,n){t.indexOf(n)===-1&&t.push(n)}function om(t,n){const s=t.indexOf(n);s>-1&&t.splice(s,1)}const pi=(t,n,s)=>s>n?n:s<t?t:s;let lm=()=>{};const gi={},aS=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function rS(t){return typeof t=="object"&&t!==null}const oS=t=>/^0[^.\s]+$/u.test(t);function cm(t){let n;return()=>(n===void 0&&(n=t()),n)}const gn=t=>t,nM=(t,n)=>s=>n(t(s)),_o=(...t)=>t.reduce(nM),bo=(t,n,s)=>{const r=n-t;return r===0?1:(s-t)/r};class um{constructor(){this.subscriptions=[]}add(n){return rm(this.subscriptions,n),()=>om(this.subscriptions,n)}notify(n,s,r){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](n,s,r);else for(let c=0;c<l;c++){const u=this.subscriptions[c];u&&u(n,s,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Hn=t=>t*1e3,pn=t=>t/1e3;function lS(t,n){return n?t*(1e3/n):0}const cS=(t,n,s)=>(((1-3*s+3*n)*t+(3*s-6*n))*t+3*n)*t,iM=1e-7,sM=12;function aM(t,n,s,r,l){let c,u,h=0;do u=n+(s-n)/2,c=cS(u,r,l)-t,c>0?s=u:n=u;
vendor: 8,725 bytes, line 97
97while(Math.abs(c)>iM&&++h<sM);return u}function Do(t,n,s,r){if(t===n&&s===r)return gn;const l=c=>aM(c,0,1,t,s);return c=>c===0||c===1?c:cS(l(c),n,r)}const uS=t=>n=>n<=.5?t(2*n)/2:(2-t(2*(1-n)))/2,fS=t=>n=>1-t(1-n),dS=Do(.33,1.53,.69,.99),fm=fS(dS),hS=uS(fm),mS=t=>(t*=2)<1?.5*fm(t):.5*(2-Math.pow(2,-10*(t-1))),dm=t=>1-Math.sin(Math.acos(t)),pS=fS(dm),gS=uS(dm),rM=Do(.42,0,1,1),oM=Do(0,0,.58,1),yS=Do(.42,0,.58,1),lM=t=>Array.isArray(t)&&typeof t[0]!="number",vS=t=>Array.isArray(t)&&typeof t[0]=="number",cM={linear:gn,easeIn:rM,easeInOut:yS,easeOut:oM,circIn:dm,circInOut:gS,circOut:pS,backIn:fm,backInOut:hS,backOut:dS,anticipate:mS},uM=t=>typeof t=="string",P0=t=>{if(vS(t)){lm(t.length===4);const[n,s,r,l]=t;return Do(n,s,r,l)}else if(uM(t))return cM[t];return t},ac=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function fM(t,n){let s=new Set,r=new Set,l=!1,c=!1;const u=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function m(y){u.has(y)&&(p.schedule(y),t()),y(h)}const p={schedule:(y,g=!1,b=!1)=>{const E=b&&l?s:r;return g&&u.add(y),E.has(y)||E.add(y),y},cancel:y=>{r.delete(y),u.delete(y)},process:y=>{if(h=y,l){c=!0;return}l=!0,[s,r]=[r,s],s.forEach(m),s.clear(),l=!1,c&&(c=!1,p.process(y))}};return p}const dM=40;function xS(t,n){let s=!1,r=!0;const l={delta:0,timestamp:0,isProcessing:!1},c=()=>s=!0,u=ac.reduce((B,Z)=>(B[Z]=fM(c),B),{}),{setup:h,read:m,resolveKeyframes:p,preUpdate:y,update:g,preRender:b,render:w,postRender:E}=u,A=()=>{const B=gi.useManualTiming?l.timestamp:performance.now();s=!1,gi.useManualTiming||(l.delta=r?1e3/60:Math.max(Math.min(B-l.timestamp,dM),1)),l.timestamp=B,l.isProcessing=!0,h.process(l),m.process(l),p.process(l),y.process(l),g.process(l),b.process(l),w.process(l),E.process(l),l.isProcessing=!1,s&&n&&(r=!1,t(A))},M=()=>{s=!0,r=!0,l.isProcessing||t(A)};return{schedule:ac.reduce((B,Z)=>{const k=u[Z];return B[Z]=(G,N=!1,D=!1)=>(s||M(),k.schedule(G,N,D)),B},{}),cancel:B=>{for(let Z=0;Z<ac.length;Z++)u[ac[Z]].cancel(B)},state:l,steps:u}}const{schedule:Gt,cancel:ts,state:be,steps:Ad}=xS(typeof requestAnimationFrame<"u"?requestAnimationFrame:gn,!0);let mc;function hM(){mc=void 0}const Ie={now:()=>(mc===void 0&&Ie.set(be.isProcessing||gi.useManualTiming?be.timestamp:performance.now()),mc),set:t=>{mc=t,queueMicrotask(hM)}},bS=t=>n=>typeof n=="string"&&n.startsWith(t),hm=bS("--"),mM=bS("var(--"),mm=t=>mM(t)?pM.test(t.split("/*")[0].trim()):!1,pM=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Ja={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},So={...Ja,transform:t=>pi(0,1,t)},rc={...Ja,default:1},so=t=>Math.round(t*1e5)/1e5,pm=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function gM(t){return t==null}const yM=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,gm=(t,n)=>s=>!!(typeof s=="string"&&yM.test(s)&&s.startsWith(t)||n&&!gM(s)&&Object.prototype.hasOwnProperty.call(s,n)),SS=(t,n,s)=>r=>{if(typeof r!="string")return r;const[l,c,u,h]=r.match(pm);return{[t]:parseFloat(l),[n]:parseFloat(c),[s]:parseFloat(u),alpha:h!==void 0?parseFloat(h):1}},vM=t=>pi(0,255,t),Cd={...Ja,transform:t=>Math.round(vM(t))},_s={test:gm("rgb","red"),parse:SS("red","green","blue"),transform:({red:t,green:n,blue:s,alpha:r=1})=>"rgba("+Cd.transform(t)+", "+Cd.transform(n)+", "+Cd.transform(s)+", "+so(So.transform(r))+")"};function xM(t){let n="",s="",r="",l="";return t.length>5?(n=t.substring(1,3),s=t.substring(3,5),r=t.substring(5,7),l=t.substring(7,9)):(n=t.substring(1,2),s=t.substring(2,3),r=t.substring(3,4),l=t.substring(4,5),n+=n,s+=s,r+=r,l+=l),{red:parseInt(n,16),green:parseInt(s,16),blue:parseInt(r,16),alpha:l?parseInt(l,16)/255:1}}const ph={test:gm("#"),parse:xM,transform:_s.transform},zo=t=>({test:n=>typeof n=="string"&&n.endsWith(t)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${t}`}),Fi=zo("deg"),Vn=zo("%"),xt=zo("px"),bM=zo("vh"),SM=zo("vw"),L0={...Vn,parse:t=>Vn.parse(t)/100,transform:t=>Vn.transform(t*100)},Pa={test:gm("hsl","hue"),parse:SS("hue","saturation","lightness"),transform:({hue:t,saturation:n,lightness:s,alpha:r=1})=>"hsla("+Math.round(t)+", "+Vn.transform(so(n))+", "+Vn.transform(so(s))+", "+so(So.transform(r))+")"},re={test:t=>_s.test(t)||ph.test(t)||Pa.test(t),parse:t=>_s.test(t)?_s.parse(t):Pa.test(t)?Pa.parse(t):ph.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?_s.transform(t):Pa.transform(t),getAnimatableNone:t=>{const n=re.parse(t);return n.alpha=0,re.transform(n)}},wM=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function EM(t){return isNaN(t)&&typeof t=="string"&&(t.match(pm)?.length||0)+(t.match(wM)?.length||0)>0}const wS="number",ES="color",TM="var",AM="var(",k0="${}",CM=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function wo(t){const n=t.toString(),s=[],r={color:[],number:[],var:[]},l=[];let c=0;const h=n.replace(CM,m=>(re.test(m)?(r.color.push(c),l.push(ES),s.push(re.parse(m))):m.startsWith(AM)?(r.var.push(c),l.push(TM),s.push(m)):(r.number.push(c),l.push(wS),s.push(parseFloat(m))),++c,k0)).split(k0);return{values:s,split:h,indexes:r,types:l}}function TS(t){return wo(t).values}function AS(t){const{split:n,types:s}=wo(t),r=n.length;return l=>{let c="";for(let u=0;u<r;u++)if(c+=n[u],l[u]!==void 0){const h=s[u];h===wS?c+=so(l[u]):h===ES?c+=re.transform(l[u]):c+=l[u]}return c}}const OM=t=>typeof t=="number"?0:re.test(t)?re.getAnimatableNone(t):t;function RM(t){const n=TS(t);return AS(t)(n.map(OM))}const es={test:EM,parse:TS,createTransformer:AS,getAnimatableNone:RM};function Od(t,n,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?t+(n-t)*6*s:s<1/2?n:s<2/3?t+(n-t)*(2/3-s)*6:t}function jM({hue:t,saturation:n,lightness:s,alpha:r}){t/=360,n/=100,s/=100;let l=0,c=0,u=0;if(!n)l=c=u=s;else{const h=s<.5?s*(1+n):s+n-s*n,m=2*s-h;l=Od(m,h,t+1/3),c=Od(m,h,t),u=Od(m,h,t-1/3)}return{red:Math.round(l*255),green:Math.round(c*255),blue:Math.round(u*255),alpha:r}}function Ec(t,n){return s=>s>0?n:t}const Ft=(t,n,s)=>t+(n-t)*s,Rd=(t,n,s)=>{const r=t*t,l=s*(n*n-r)+r;return l<0?0:Math.sqrt(l)},MM=[ph,_s,Pa],NM=t=>MM.find(n=>n.test(t));function U0(t){const n=NM(t);if(!n)return!1;let s=n.parse(t);return n===Pa&&(s=jM(s)),s}const H0=(t,n)=>{const s=U0(t),r=U0(n);if(!s||!r)return Ec(t,n);const l={...s};return c=>(l.red=Rd(s.red,r.red,c),l.green=Rd(s.green,r.green,c),l.blue=Rd(s.blue,r.blue,c),l.alpha=Ft(s.alpha,r.alpha,c),_s.transform(l))},gh=new Set(["none","hidden"]);function _M(t,n){return gh.has(t)?s=>s<=0?t:n:s=>s>=1?n:t}function DM(t,n){return s=>Ft(t,n,s)}function ym(t){return typeof t=="number"?DM:typeof t=="string"?mm(t)?Ec:re.test(t)?H0:LM:Array.isArray(t)?CS:typeof t=="object"?re.test(t)?H0:zM:Ec}function CS(t,n){const s=[...t],r=s.length,l=t.map((c,u)=>ym(c)(c,n[u]));return c=>{for(let u=0;u<r;u++)s[u]=l[u](c);return s}}function zM(t,n){const s={...t,...n},r={};for(const l in s)t[l]!==void 0&&n[l]!==void 0&&(r[l]=ym(t[l])(t[l],n[l]));return l=>{for(const c in r)s[c]=r[c](l);return s}}function PM(t,n){const s=[],r={color:0,var:0,number:0};for(let l=0;l<n.values.length;l++){const c=n.types[l],u=t.indexes[c][r[c]],h=t.values[u]??0;s[l]=h,r[c]++}return s}const LM=(t,n)=>{const s=es.createTransformer(n),r=wo(t),l=wo(n);return r.indexes.var.length===l.indexes.var.length&&r.indexes.color.length===l.indexes.color.length&&r.indexes.number.length>=l.indexes.number.length?gh.has(t)&&!l.values.length||gh.has(n)&&!r.values.length?_M(t,n):_o(CS(PM(r,l),l.values),s):Ec(t,n)};function OS(t,n,s){return typeof t=="number"&&typeof n=="number"&&typeof s=="number"?Ft(t,n,s):ym(t)(t,n)}const kM=t=>{const n=({timestamp:s})=>t(s);return{start:(s=!0)=>Gt.update(n,s),stop:()=>ts(n),now:()=>be.isProcessing?be.timestamp:Ie.now()}},RS=(t,n,s=10)=>{let r="";const l=Math.max(Math.round(n/s),2);for(let c=0;c<l;c++)r+=Math.round(t(c/(l-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Tc=2e4;function vm(t){let n=0;const s=50;let r=t.next(n);for(;!r.done&&n<Tc;)n+=s,r=t.next(n);return n>=Tc?1/0:n}function UM(t,n=100,s){const r=s({...t,keyframes:[0,n]}),l=Math.min(vm(r),Tc);return{type:"keyframes",ease:c=>r.next(l*c).value/n,duration:pn(l)}}const HM=5;function jS(t,n,s){const r=Math.max(n-HM,0);return lS(s-t(r),n-r)}const Zt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},jd=.001;
vendor: 2,025 bytes, line 97
97function VM({duration:t=Zt.duration,bounce:n=Zt.bounce,velocity:s=Zt.velocity,mass:r=Zt.mass}){let l,c,u=1-n;u=pi(Zt.minDamping,Zt.maxDamping,u),t=pi(Zt.minDuration,Zt.maxDuration,pn(t)),u<1?(l=p=>{const y=p*u,g=y*t,b=y-s,w=yh(p,u),E=Math.exp(-g);return jd-b/w*E},c=p=>{const g=p*u*t,b=g*s+s,w=Math.pow(u,2)*Math.pow(p,2)*t,E=Math.exp(-g),A=yh(Math.pow(p,2),u);return(-l(p)+jd>0?-1:1)*((b-w)*E)/A}):(l=p=>{const y=Math.exp(-p*t),g=(p-s)*t+1;return-jd+y*g},c=p=>{const y=Math.exp(-p*t),g=(s-p)*(t*t);return y*g});const h=5/t,m=qM(l,c,h);if(t=Hn(t),isNaN(m))return{stiffness:Zt.stiffness,damping:Zt.damping,duration:t};{const p=Math.pow(m,2)*r;return{stiffness:p,damping:u*2*Math.sqrt(r*p),duration:t}}}const BM=12;function qM(t,n,s){let r=s;for(let l=1;l<BM;l++)r=r-t(r)/n(r);return r}function yh(t,n){return t*Math.sqrt(1-n*n)}const IM=["duration","bounce"],QM=["stiffness","damping","mass"];function V0(t,n){return n.some(s=>t[s]!==void 0)}function GM(t){let n={velocity:Zt.velocity,stiffness:Zt.stiffness,damping:Zt.damping,mass:Zt.mass,isResolvedFromDuration:!1,...t};if(!V0(t,QM)&&V0(t,IM))if(t.visualDuration){const s=t.visualDuration,r=2*Math.PI/(s*1.2),l=r*r,c=2*pi(.05,1,1-(t.bounce||0))*Math.sqrt(l);n={...n,mass:Zt.mass,stiffness:l,damping:c}}else{const s=VM(t);n={...n,...s,mass:Zt.mass},n.isResolvedFromDuration=!0}return n}function Ac(t=Zt.visualDuration,n=Zt.bounce){const s=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:n}:t;let{restSpeed:r,restDelta:l}=s;const c=s.keyframes[0],u=s.keyframes[s.keyframes.length-1],h={done:!1,value:c},{stiffness:m,damping:p,mass:y,duration:g,velocity:b,isResolvedFromDuration:w}=GM({...s,velocity:-pn(s.velocity||0)}),E=b||0,A=p/(2*Math.sqrt(m*y)),M=u-c,C=pn(Math.sqrt(m/y)),Q=Math.abs(M)<5;r||(r=Q?Zt.restSpeed.granular:Zt.restSpeed.default),l||(l=Q?Zt.restDelta.granular:Zt.restDelta.default);let B;if(A<1){const k=yh(C,A);B=G=>{const N=Math.exp(-A*C*G);return u-N*((E+A*C*M)/k*Math.sin(k*G)+M*Math.cos(k*G))}}else if(A===1)B=k=>u-Math.exp(-C*k)*(M+(E+C*M)*k);
vendor: 28,557 bytes, line 97
97else{const k=C*Math.sqrt(A*A-1);B=G=>{const N=Math.exp(-A*C*G),D=Math.min(k*G,300);return u-N*((E+A*C*M)*Math.sinh(D)+k*M*Math.cosh(D))/k}}const Z={calculatedDuration:w&&g||null,next:k=>{const G=B(k);if(w)h.done=k>=g;else{let N=k===0?E:0;A<1&&(N=k===0?Hn(E):jS(B,k,G));const D=Math.abs(N)<=r,J=Math.abs(u-G)<=l;h.done=D&&J}return h.value=h.done?u:G,h},toString:()=>{const k=Math.min(vm(Z),Tc),G=RS(N=>Z.next(k*N).value,k,30);return k+"ms "+G},toTransition:()=>{}};return Z}Ac.applyToOptions=t=>{const n=UM(t,100,Ac);return t.ease=n.ease,t.duration=Hn(n.duration),t.type="keyframes",t};function vh({keyframes:t,velocity:n=0,power:s=.8,timeConstant:r=325,bounceDamping:l=10,bounceStiffness:c=500,modifyTarget:u,min:h,max:m,restDelta:p=.5,restSpeed:y}){const g=t[0],b={done:!1,value:g},w=D=>h!==void 0&&D<h||m!==void 0&&D>m,E=D=>h===void 0?m:m===void 0||Math.abs(h-D)<Math.abs(m-D)?h:m;let A=s*n;const M=g+A,C=u===void 0?M:u(M);C!==M&&(A=C-g);const Q=D=>-A*Math.exp(-D/r),B=D=>C+Q(D),Z=D=>{const J=Q(D),W=B(D);b.done=Math.abs(J)<=p,b.value=b.done?C:W};let k,G;const N=D=>{w(b.value)&&(k=D,G=Ac({keyframes:[b.value,E(b.value)],velocity:jS(B,D,b.value),damping:l,stiffness:c,restDelta:p,restSpeed:y}))};return N(0),{calculatedDuration:null,next:D=>{let J=!1;return!G&&k===void 0&&(J=!0,Z(D),N(D)),k!==void 0&&D>=k?G.next(D-k):(!J&&Z(D),b)}}}function YM(t,n,s){const r=[],l=s||gi.mix||OS,c=t.length-1;for(let u=0;u<c;u++){let h=l(t[u],t[u+1]);if(n){const m=Array.isArray(n)?n[u]||gn:n;h=_o(m,h)}r.push(h)}return r}function FM(t,n,{clamp:s=!0,ease:r,mixer:l}={}){const c=t.length;if(lm(c===n.length),c===1)return()=>n[0];if(c===2&&n[0]===n[1])return()=>n[1];const u=t[0]===t[1];t[0]>t[c-1]&&(t=[...t].reverse(),n=[...n].reverse());const h=YM(n,r,l),m=h.length,p=y=>{if(u&&y<t[0])return n[0];let g=0;if(m>1)for(;g<t.length-2&&!(y<t[g+1]);g++);const b=bo(t[g],t[g+1],y);return h[g](b)};return s?y=>p(pi(t[0],t[c-1],y)):p}function KM(t,n){const s=t[t.length-1];for(let r=1;r<=n;r++){const l=bo(0,n,r);t.push(Ft(s,1,l))}}function XM(t){const n=[0];return KM(n,t.length-1),n}function ZM(t,n){return t.map(s=>s*n)}function $M(t,n){return t.map(()=>n||yS).splice(0,t.length-1)}function ao({duration:t=300,keyframes:n,times:s,ease:r="easeInOut"}){const l=lM(r)?r.map(P0):P0(r),c={done:!1,value:n[0]},u=ZM(s&&s.length===n.length?s:XM(n),t),h=FM(u,n,{ease:Array.isArray(l)?l:$M(n,l)});return{calculatedDuration:t,next:m=>(c.value=h(m),c.done=m>=t,c)}}const JM=t=>t!==null;function xm(t,{repeat:n,repeatType:s="loop"},r,l=1){const c=t.filter(JM),h=l<0||n&&s!=="loop"&&n%2===1?0:c.length-1;return!h||r===void 0?c[h]:r}const WM={decay:vh,inertia:vh,tween:ao,keyframes:ao,spring:Ac};function MS(t){typeof t.type=="string"&&(t.type=WM[t.type])}class bm{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(n=>{this.resolve=n})}notifyFinished(){this.resolve()}then(n,s){return this.finished.then(n,s)}}const tN=t=>t/100;class Sm extends bm{constructor(n){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:s}=this.options;s&&s.updatedAt!==Ie.now()&&this.tick(Ie.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=n,this.initAnimation(),this.play(),n.autoplay===!1&&this.pause()}initAnimation(){const{options:n}=this;MS(n);const{type:s=ao,repeat:r=0,repeatDelay:l=0,repeatType:c,velocity:u=0}=n;let{keyframes:h}=n;const m=s||ao;m!==ao&&typeof h[0]!="number"&&(this.mixKeyframes=_o(tN,OS(h[0],h[1])),h=[0,100]);const p=m({...n,keyframes:h});c==="mirror"&&(this.mirroredGenerator=m({...n,keyframes:[...h].reverse(),velocity:-u})),p.calculatedDuration===null&&(p.calculatedDuration=vm(p));const{calculatedDuration:y}=p;this.calculatedDuration=y,this.resolvedDuration=y+l,this.totalDuration=this.resolvedDuration*(r+1)-l,this.generator=p}updateTime(n){const s=Math.round(n-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=s}tick(n,s=!1){const{generator:r,totalDuration:l,mixKeyframes:c,mirroredGenerator:u,resolvedDuration:h,calculatedDuration:m}=this;if(this.startTime===null)return r.next(0);const{delay:p=0,keyframes:y,repeat:g,repeatType:b,repeatDelay:w,type:E,onUpdate:A,finalKeyframe:M}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-l/this.speed,this.startTime)),s?this.currentTime=n:this.updateTime(n);const C=this.currentTime-p*(this.playbackSpeed>=0?1:-1),Q=this.playbackSpeed>=0?C<0:C>l;this.currentTime=Math.max(C,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=l);let B=this.currentTime,Z=r;if(g){const D=Math.min(this.currentTime,l)/h;let J=Math.floor(D),W=D%1;!W&&D>=1&&(W=1),W===1&&J--,J=Math.min(J,g+1),!!(J%2)&&(b==="reverse"?(W=1-W,w&&(W-=w/h)):b==="mirror"&&(Z=u)),B=pi(0,1,W)*h}const k=Q?{done:!1,value:y[0]}:Z.next(B);c&&(k.value=c(k.value));let{done:G}=k;!Q&&m!==null&&(G=this.playbackSpeed>=0?this.currentTime>=l:this.currentTime<=0);const N=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&G);return N&&E!==vh&&(k.value=xm(y,this.options,M,this.speed)),A&&A(k.value),N&&this.finish(),k}then(n,s){return this.finished.then(n,s)}get duration(){return pn(this.calculatedDuration)}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+pn(n)}get time(){return pn(this.currentTime)}set time(n){n=Hn(n),this.currentTime=n,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=n:this.driver&&(this.startTime=this.driver.now()-n/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(n){this.updateTime(Ie.now());const s=this.playbackSpeed!==n;this.playbackSpeed=n,s&&(this.time=pn(this.currentTime))}play(){if(this.isStopped)return;const{driver:n=kM,startTime:s}=this.options;this.driver||(this.driver=n(l=>this.tick(l))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=s??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ie.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(n){return this.startTime=0,this.tick(n,!0)}attachTimeline(n){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),n.observe(this)}}function eN(t){for(let n=1;n<t.length;n++)t[n]??(t[n]=t[n-1])}const Ds=t=>t*180/Math.PI,xh=t=>{const n=Ds(Math.atan2(t[1],t[0]));return bh(n)},nN={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:xh,rotateZ:xh,skewX:t=>Ds(Math.atan(t[1])),skewY:t=>Ds(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},bh=t=>(t=t%360,t<0&&(t+=360),t),B0=xh,q0=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),I0=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),iN={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:q0,scaleY:I0,scale:t=>(q0(t)+I0(t))/2,rotateX:t=>bh(Ds(Math.atan2(t[6],t[5]))),rotateY:t=>bh(Ds(Math.atan2(-t[2],t[0]))),rotateZ:B0,rotate:B0,skewX:t=>Ds(Math.atan(t[4])),skewY:t=>Ds(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function Sh(t){return t.includes("scale")?1:0}function wh(t,n){if(!t||t==="none")return Sh(n);const s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,l;if(s)r=iN,l=s;else{const h=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=nN,l=h}if(!l)return Sh(n);const c=r[n],u=l[1].split(",").map(aN);return typeof c=="function"?c(u):u[c]}const sN=(t,n)=>{const{transform:s="none"}=getComputedStyle(t);return wh(s,n)};function aN(t){return parseFloat(t.trim())}const Wa=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],tr=new Set(Wa),Q0=t=>t===Ja||t===xt,rN=new Set(["x","y","z"]),oN=Wa.filter(t=>!rN.has(t));function lN(t){const n=[];return oN.forEach(s=>{const r=t.getValue(s);r!==void 0&&(n.push([s,r.get()]),r.set(s.startsWith("scale")?1:0))}),n}const zs={width:({x:t},{paddingLeft:n="0",paddingRight:s="0"})=>t.max-t.min-parseFloat(n)-parseFloat(s),height:({y:t},{paddingTop:n="0",paddingBottom:s="0"})=>t.max-t.min-parseFloat(n)-parseFloat(s),top:(t,{top:n})=>parseFloat(n),left:(t,{left:n})=>parseFloat(n),bottom:({y:t},{top:n})=>parseFloat(n)+(t.max-t.min),right:({x:t},{left:n})=>parseFloat(n)+(t.max-t.min),x:(t,{transform:n})=>wh(n,"x"),y:(t,{transform:n})=>wh(n,"y")};zs.translateX=zs.x;zs.translateY=zs.y;const Ps=new Set;let Eh=!1,Th=!1,Ah=!1;function NS(){if(Th){const t=Array.from(Ps).filter(r=>r.needsMeasurement),n=new Set(t.map(r=>r.element)),s=new Map;n.forEach(r=>{const l=lN(r);l.length&&(s.set(r,l),r.render())}),t.forEach(r=>r.measureInitialState()),n.forEach(r=>{r.render();const l=s.get(r);l&&l.forEach(([c,u])=>{r.getValue(c)?.set(u)})}),t.forEach(r=>r.measureEndState()),t.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Th=!1,Eh=!1,Ps.forEach(t=>t.complete(Ah)),Ps.clear()}function _S(){Ps.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Th=!0)})}function cN(){Ah=!0,_S(),NS(),Ah=!1}class wm{constructor(n,s,r,l,c,u=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...n],this.onComplete=s,this.name=r,this.motionValue=l,this.element=c,this.isAsync=u}scheduleResolve(){this.state="scheduled",this.isAsync?(Ps.add(this),Eh||(Eh=!0,Gt.read(_S),Gt.resolveKeyframes(NS))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:s,element:r,motionValue:l}=this;if(n[0]===null){const c=l?.get(),u=n[n.length-1];if(c!==void 0)n[0]=c;else if(r&&s){const h=r.readValue(s,u);h!=null&&(n[0]=h)}n[0]===void 0&&(n[0]=u),l&&c===void 0&&l.set(n[0])}eN(n)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(n=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,n),Ps.delete(this)}cancel(){this.state==="scheduled"&&(Ps.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const uN=t=>t.startsWith("--");function fN(t,n,s){uN(n)?t.style.setProperty(n,s):t.style[n]=s}const dN=cm(()=>window.ScrollTimeline!==void 0),hN={};function mN(t,n){const s=cm(t);return()=>hN[n]??s()}const DS=mN(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),eo=([t,n,s,r])=>`cubic-bezier(${t}, ${n}, ${s}, ${r})`,G0={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:eo([0,.65,.55,1]),circOut:eo([.55,0,1,.45]),backIn:eo([.31,.01,.66,-.59]),backOut:eo([.33,1.53,.69,.99])};function zS(t,n){if(t)return typeof t=="function"?DS()?RS(t,n):"ease-out":vS(t)?eo(t):Array.isArray(t)?t.map(s=>zS(s,n)||G0.easeOut):G0[t]}function pN(t,n,s,{delay:r=0,duration:l=300,repeat:c=0,repeatType:u="loop",ease:h="easeOut",times:m}={},p=void 0){const y={[n]:s};m&&(y.offset=m);const g=zS(h,l);Array.isArray(g)&&(y.easing=g);const b={delay:r,duration:l,easing:Array.isArray(g)?"linear":g,fill:"both",iterations:c+1,direction:u==="reverse"?"alternate":"normal"};return p&&(b.pseudoElement=p),t.animate(y,b)}function PS(t){return typeof t=="function"&&"applyToOptions"in t}function gN({type:t,...n}){return PS(t)&&DS()?t.applyToOptions(n):(n.duration??(n.duration=300),n.ease??(n.ease="easeOut"),n)}class yN extends bm{constructor(n){if(super(),this.finishedTime=null,this.isStopped=!1,!n)return;const{element:s,name:r,keyframes:l,pseudoElement:c,allowFlatten:u=!1,finalKeyframe:h,onComplete:m}=n;this.isPseudoElement=!!c,this.allowFlatten=u,this.options=n,lm(typeof n.type!="string");const p=gN(n);this.animation=pN(s,r,l,p,c),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!c){const y=xm(l,this.options,h,this.speed);this.updateMotionValue?this.updateMotionValue(y):fN(s,r,y),this.animation.cancel()}m?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:n}=this;n==="idle"||n==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const n=this.animation.effect?.getComputedTiming?.().duration||0;return pn(Number(n))}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+pn(n)}get time(){return pn(Number(this.animation.currentTime)||0)}set time(n){this.finishedTime=null,this.animation.currentTime=Hn(n)}get speed(){return this.animation.playbackRate}set speed(n){n<0&&(this.finishedTime=null),this.animation.playbackRate=n}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(n){this.animation.startTime=n}attachTimeline({timeline:n,observe:s}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,n&&dN()?(this.animation.timeline=n,gn):s(this)}}const LS={anticipate:mS,backInOut:hS,circInOut:gS};function vN(t){return t in LS}function xN(t){typeof t.ease=="string"&&vN(t.ease)&&(t.ease=LS[t.ease])}const Y0=10;class bN extends yN{constructor(n){xN(n),MS(n),super(n),n.startTime&&(this.startTime=n.startTime),this.options=n}updateMotionValue(n){const{motionValue:s,onUpdate:r,onComplete:l,element:c,...u}=this.options;if(!s)return;if(n!==void 0){s.set(n);return}const h=new Sm({...u,autoplay:!1}),m=Hn(this.finishedTime??this.time);s.setWithVelocity(h.sample(m-Y0).value,h.sample(m).value,Y0),h.stop()}}const F0=(t,n)=>n==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(es.test(t)||t==="0")&&!t.startsWith("url("));function SN(t){const n=t[0];if(t.length===1)return!0;for(let s=0;s<t.length;s++)if(t[s]!==n)return!0}function wN(t,n,s,r){const l=t[0];if(l===null)return!1;if(n==="display"||n==="visibility")return!0;const c=t[t.length-1],u=F0(l,n),h=F0(c,n);return!u||!h?!1:SN(t)||(s==="spring"||PS(s))&&r}function Ch(t){t.duration=0,t.type="keyframes"}const EN=new Set(["opacity","clipPath","filter","transform"]),TN=cm(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function AN(t){const{motionValue:n,name:s,repeatDelay:r,repeatType:l,damping:c,type:u}=t;if(!(n?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:m,transformTemplate:p}=n.owner.getProps();return TN()&&s&&EN.has(s)&&(s!=="transform"||!p)&&!m&&!r&&l!=="mirror"&&c!==0&&u!=="inertia"}const CN=40;class ON extends bm{constructor({autoplay:n=!0,delay:s=0,type:r="keyframes",repeat:l=0,repeatDelay:c=0,repeatType:u="loop",keyframes:h,name:m,motionValue:p,element:y,...g}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Ie.now();const b={autoplay:n,delay:s,type:r,repeat:l,repeatDelay:c,repeatType:u,name:m,motionValue:p,element:y,...g},w=y?.KeyframeResolver||wm;this.keyframeResolver=new w(h,(E,A,M)=>this.onKeyframesResolved(E,A,b,!M),m,p,y),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(n,s,r,l){this.keyframeResolver=void 0;const{name:c,type:u,velocity:h,delay:m,isHandoff:p,onUpdate:y}=r;this.resolvedAt=Ie.now(),wN(n,c,u,h)||((gi.instantAnimations||!m)&&y?.(xm(n,r,s)),n[0]=n[n.length-1],Ch(r),r.repeat=0);const b={startTime:l?this.resolvedAt?this.resolvedAt-this.createdAt>CN?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...r,keyframes:n},w=!p&&AN(b)?new bN({...b,element:b.motionValue.owner.current}):new Sm(b);w.finished.then(()=>this.notifyFinished()).catch(gn),this.pendingTimeline&&(this.stopTimeline=w.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=w}get finished(){return this._animation?this.animation.finished:this._finished}then(n,s){return this.finished.finally(n).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),cN()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(n){this.animation.time=n}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(n){this.animation.speed=n}get startTime(){return this.animation.startTime}attachTimeline(n){return this._animation?this.stopTimeline=this.animation.attachTimeline(n):this.pendingTimeline=n,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const RN=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function jN(t){const n=RN.exec(t);if(!n)return[,];const[,s,r,l]=n;return[`--${s??r}`,l]}function kS(t,n,s=1){const[r,l]=jN(t);if(!r)return;const c=window.getComputedStyle(n).getPropertyValue(r);if(c){const u=c.trim();return aS(u)?parseFloat(u):u}return mm(l)?kS(l,n,s+1):l}function Em(t,n){return t?.[n]??t?.default??t}const US=new Set(["width","height","top","left","right","bottom",...Wa]),MN={test:t=>t==="auto",parse:t=>t},HS=t=>n=>n.test(t),VS=[Ja,xt,Vn,Fi,SM,bM,MN],K0=t=>VS.find(HS(t));function NN(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||oS(t):!0}const _N=new Set(["brightness","contrast","saturate","opacity"]);function DN(t){const[n,s]=t.slice(0,-1).split("(");if(n==="drop-shadow")return t;const[r]=s.match(pm)||[];if(!r)return t;const l=s.replace(r,"");let c=_N.has(n)?1:0;return r!==s&&(c*=100),n+"("+c+l+")"}const zN=/\b([a-z-]*)\(.*?\)/gu,Oh={...es,getAnimatableNone:t=>{const n=t.match(zN);return n?n.map(DN).join(" "):t}},X0={...Ja,transform:Math.round},PN={rotate:Fi,rotateX:Fi,rotateY:Fi,rotateZ:Fi,scale:rc,scaleX:rc,scaleY:rc,scaleZ:rc,skew:Fi,skewX:Fi,skewY:Fi,distance:xt,translateX:xt,translateY:xt,translateZ:xt,x:xt,y:xt,z:xt,perspective:xt,transformPerspective:xt,opacity:So,originX:L0,originY:L0,originZ:xt},Tm={borderWidth:xt,borderTopWidth:xt,borderRightWidth:xt,borderBottomWidth:xt,borderLeftWidth:xt,borderRadius:xt,radius:xt,borderTopLeftRadius:xt,borderTopRightRadius:xt,borderBottomRightRadius:xt,borderBottomLeftRadius:xt,width:xt,maxWidth:xt,height:xt,maxHeight:xt,top:xt,right:xt,bottom:xt,left:xt,padding:xt,paddingTop:xt,paddingRight:xt,paddingBottom:xt,paddingLeft:xt,margin:xt,marginTop:xt,marginRight:xt,marginBottom:xt,marginLeft:xt,backgroundPositionX:xt,backgroundPositionY:xt,...PN,zIndex:X0,fillOpacity:So,strokeOpacity:So,numOctaves:X0},LN={...Tm,color:re,backgroundColor:re,outlineColor:re,fill:re,stroke:re,borderColor:re,borderTopColor:re,borderRightColor:re,borderBottomColor:re,borderLeftColor:re,filter:Oh,WebkitFilter:Oh},BS=t=>LN[t];function qS(t,n){let s=BS(t);return s!==Oh&&(s=es),s.getAnimatableNone?s.getAnimatableNone(n):void 0}const kN=new Set(["auto","none","0"]);function UN(t,n,s){let r=0,l;for(;r<t.length&&!l;){const c=t[r];typeof c=="string"&&!kN.has(c)&&wo(c).values.length&&(l=t[r]),r++}if(l&&s)for(const c of n)t[c]=qS(s,l)}class HN extends wm{constructor(n,s,r,l,c){super(n,s,r,l,c,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:s,name:r}=this;if(!s||!s.current)return;super.readKeyframes();for(let m=0;m<n.length;m++){let p=n[m];if(typeof p=="string"&&(p=p.trim(),mm(p))){const y=kS(p,s.current);y!==void 0&&(n[m]=y),m===n.length-1&&(this.finalKeyframe=p)}}if(this.resolveNoneKeyframes(),!US.has(r)||n.length!==2)return;const[l,c]=n,u=K0(l),h=K0(c);if(u!==h)if(Q0(u)&&Q0(h))for(let m=0;m<n.length;m++){const p=n[m];typeof p=="string"&&(n[m]=parseFloat(p))}else zs[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:s}=this,r=[];for(let l=0;l<n.length;l++)(n[l]===null||NN(n[l]))&&r.push(l);r.length&&UN(n,r,s)}measureInitialState(){const{element:n,unresolvedKeyframes:s,name:r}=this;if(!n||!n.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=zs[r](n.measureViewportBox(),window.getComputedStyle(n.current)),s[0]=this.measuredOrigin;const l=s[s.length-1];l!==void 0&&n.getValue(r,l).jump(l,!1)}measureEndState(){const{element:n,name:s,unresolvedKeyframes:r}=this;if(!n||!n.current)return;const l=n.getValue(s);l&&l.jump(this.measuredOrigin,!1);const c=r.length-1,u=r[c];r[c]=zs[s](n.measureViewportBox(),window.getComputedStyle(n.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),this.removedTransforms?.length&&this.removedTransforms.forEach(([h,m])=>{n.getValue(h).set(m)}),this.resolveNoneKeyframes()}}function IS(t,n,s){if(t instanceof EventTarget)return[t];if(typeof t=="string"){const l=document.querySelectorAll(t);return l?Array.from(l):[]}return Array.from(t)}const QS=(t,n)=>n&&typeof t=="number"?n.transform(t):t;function VN(t){return rS(t)&&"offsetHeight"in t}const Z0=30,BN=t=>!isNaN(parseFloat(t));class qN{constructor(n,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const l=Ie.now();if(this.updatedAt!==l&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const c of this.dependents)c.dirty()},this.hasAnimated=!1,this.setCurrent(n),this.owner=s.owner}setCurrent(n){this.current=n,this.updatedAt=Ie.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=BN(this.current))}setPrevFrameValue(n=this.current){this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt}onChange(n){return this.on("change",n)}on(n,s){this.events[n]||(this.events[n]=new um);const r=this.events[n].add(s);return n==="change"?()=>{r(),Gt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,s){this.passiveEffect=n,this.stopPassiveEffect=s}set(n){this.passiveEffect?this.passiveEffect(n,this.updateAndNotify):this.updateAndNotify(n)}setWithVelocity(n,s,r){this.set(s),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-r}jump(n,s=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(n){this.dependents||(this.dependents=new Set),this.dependents.add(n)}removeDependent(n){this.dependents&&this.dependents.delete(n)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const n=Ie.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>Z0)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,Z0);return lS(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(n){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=n(s),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ya(t,n){return new qN(t,n)}const{schedule:Am}=xS(queueMicrotask,!1),Tn={x:!1,y:!1};function GS(){return Tn.x||Tn.y}function IN(t){return t==="x"||t==="y"?Tn[t]?null:(Tn[t]=!0,()=>{Tn[t]=!1}):Tn.x||Tn.y?null:(Tn.x=Tn.y=!0,()=>{Tn.x=Tn.y=!1})}function YS(t,n){const s=IS(t),r=new AbortController,l={passive:!0,...n,signal:r.signal};return[s,l,()=>r.abort()]}function $0(t){return!(t.pointerType==="touch"||GS())}function QN(t,n,s={}){const[r,l,c]=YS(t,s),u=h=>{if(!$0(h))return;const{target:m}=h,p=n(m,h);if(typeof p!="function"||!m)return;const y=g=>{$0(g)&&(p(g),m.removeEventListener("pointerleave",y))};m.addEventListener("pointerleave",y,l)};return r.forEach(h=>{h.addEventListener("pointerenter",u,l)}),c}const FS=(t,n)=>n?t===n?!0:FS(t,n.parentElement):!1,Cm=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,GN=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function YN(t){return GN.has(t.tagName)||t.tabIndex!==-1}const pc=new WeakSet;function J0(t){return n=>{n.key==="Enter"&&t(n)}}function Md(t,n){t.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const FN=(t,n)=>{const s=t.currentTarget;if(!s)return;const r=J0(()=>{if(pc.has(s))return;Md(s,"down");const l=J0(()=>{Md(s,"up")}),c=()=>Md(s,"cancel");s.addEventListener("keyup",l,n),s.addEventListener("blur",c,n)});s.addEventListener("keydown",r,n),s.addEventListener("blur",()=>s.removeEventListener("keydown",r),n)};function W0(t){return Cm(t)&&!GS()}function KN(t,n,s={}){const[r,l,c]=YS(t,s),u=h=>{const m=h.currentTarget;if(!W0(h))return;pc.add(m);const p=n(m,h),y=(w,E)=>{window.removeEventListener("pointerup",g),window.removeEventListener("pointercancel",b),pc.has(m)&&pc.delete(m),W0(w)&&typeof p=="function"&&p(w,{success:E})},g=w=>{y(w,m===window||m===document||s.useGlobalTarget||FS(m,w.target))},b=w=>{y(w,!1)};window.addEventListener("pointerup",g,l),window.addEventListener("pointercancel",b,l)};return r.forEach(h=>{(s.useGlobalTarget?window:h).addEventListener("pointerdown",u,l),VN(h)&&(h.addEventListener("focus",p=>FN(p,l)),!YN(h)&&!h.hasAttribute("tabindex")&&(h.tabIndex=0))}),c}function KS(t){return rS(t)&&"ownerSVGElement"in t}function XN(t){return KS(t)&&t.tagName==="svg"}const Ae=t=>!!(t&&t.getVelocity),ZN=[...VS,re,es],$N=t=>ZN.find(HS(t)),XS=O.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function JN(t=!0){const n=O.useContext(am);if(n===null)return[!0,null];const{isPresent:s,onExitComplete:r,register:l}=n,c=O.useId();O.useEffect(()=>{if(t)return l(c)},[t]);const u=O.useCallback(()=>t&&r&&r(c),[c,r,t]);return!s&&r?[!1,u]:[!0]}const ZS=O.createContext({strict:!1}),tx={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Fa={};for(const t in tx)Fa[t]={isEnabled:n=>tx[t].some(s=>!!n[s])};function WN(t){for(const n in t)Fa[n]={...Fa[n],...t[n]}}const t_=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Cc(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||t_.has(t)}let $S=t=>!Cc(t);function e_(t){typeof t=="function"&&($S=n=>n.startsWith("on")?!Cc(n):t(n))}try{e_(require("@emotion/is-prop-valid").default)}catch{}function n_(t,n,s){const r={};for(const l in t)l==="values"&&typeof t.values=="object"||($S(l)||s===!0&&Cc(l)||!n&&!Cc(l)||t.draggable&&l.startsWith("onDrag"))&&(r[l]=t[l]);return r}const Yc=O.createContext({});function Fc(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function Eo(t){return typeof t=="string"||Array.isArray(t)}const Om=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Rm=["initial",...Om];
vendor: 8,193 bytes, line 97
97function Kc(t){return Fc(t.animate)||Rm.some(n=>Eo(t[n]))}function JS(t){return!!(Kc(t)||t.variants)}function i_(t,n){if(Kc(t)){const{initial:s,animate:r}=t;return{initial:s===!1||Eo(s)?s:void 0,animate:Eo(r)?r:void 0}}return t.inherit!==!1?n:{}}function s_(t){const{initial:n,animate:s}=i_(t,O.useContext(Yc));return O.useMemo(()=>({initial:n,animate:s}),[ex(n),ex(s)])}function ex(t){return Array.isArray(t)?t.join(" "):t}const To={};function a_(t){for(const n in t)To[n]=t[n],hm(n)&&(To[n].isCSSVariable=!0)}function WS(t,{layout:n,layoutId:s}){return tr.has(t)||t.startsWith("origin")||(n||s!==void 0)&&(!!To[t]||t==="opacity")}const r_={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},o_=Wa.length;function l_(t,n,s){let r="",l=!0;for(let c=0;c<o_;c++){const u=Wa[c],h=t[u];if(h===void 0)continue;let m=!0;if(typeof h=="number"?m=h===(u.startsWith("scale")?1:0):m=parseFloat(h)===0,!m||s){const p=QS(h,Tm[u]);if(!m){l=!1;const y=r_[u]||u;r+=`${y}(${p}) `}s&&(n[u]=p)}}return r=r.trim(),s?r=s(n,l?"":r):l&&(r="none"),r}function jm(t,n,s){const{style:r,vars:l,transformOrigin:c}=t;let u=!1,h=!1;for(const m in n){const p=n[m];if(tr.has(m)){u=!0;continue}else if(hm(m)){l[m]=p;continue}else{const y=QS(p,Tm[m]);m.startsWith("origin")?(h=!0,c[m]=y):r[m]=y}}if(n.transform||(u||s?r.transform=l_(n,t.transform,s):r.transform&&(r.transform="none")),h){const{originX:m="50%",originY:p="50%",originZ:y=0}=c;r.transformOrigin=`${m} ${p} ${y}`}}const Mm=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function tw(t,n,s){for(const r in n)!Ae(n[r])&&!WS(r,s)&&(t[r]=n[r])}function c_({transformTemplate:t},n){return O.useMemo(()=>{const s=Mm();return jm(s,n,t),Object.assign({},s.vars,s.style)},[n])}function u_(t,n){const s=t.style||{},r={};return tw(r,s,t),Object.assign(r,c_(t,n)),r}function f_(t,n){const s={},r=u_(t,n);return t.drag&&t.dragListener!==!1&&(s.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(s.tabIndex=0),s.style=r,s}const d_={offset:"stroke-dashoffset",array:"stroke-dasharray"},h_={offset:"strokeDashoffset",array:"strokeDasharray"};function m_(t,n,s=1,r=0,l=!0){t.pathLength=1;const c=l?d_:h_;t[c.offset]=xt.transform(-r);const u=xt.transform(n),h=xt.transform(s);t[c.array]=`${u} ${h}`}function ew(t,{attrX:n,attrY:s,attrScale:r,pathLength:l,pathSpacing:c=1,pathOffset:u=0,...h},m,p,y){if(jm(t,h,p),m){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:g,style:b}=t;g.transform&&(b.transform=g.transform,delete g.transform),(b.transform||g.transformOrigin)&&(b.transformOrigin=g.transformOrigin??"50% 50%",delete g.transformOrigin),b.transform&&(b.transformBox=y?.transformBox??"fill-box",delete g.transformBox),n!==void 0&&(g.x=n),s!==void 0&&(g.y=s),r!==void 0&&(g.scale=r),l!==void 0&&m_(g,l,c,u,!1)}const nw=()=>({...Mm(),attrs:{}}),iw=t=>typeof t=="string"&&t.toLowerCase()==="svg";function p_(t,n,s,r){const l=O.useMemo(()=>{const c=nw();return ew(c,n,iw(r),t.transformTemplate,t.style),{...c.attrs,style:{...c.style}}},[n]);if(t.style){const c={};tw(c,t.style,t),l.style={...c,...l.style}}return l}const g_=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Nm(t){return typeof t!="string"||t.includes("-")?!1:!!(g_.indexOf(t)>-1||/[A-Z]/u.test(t))}function y_(t,n,s,{latestValues:r},l,c=!1){const h=(Nm(t)?p_:f_)(n,r,l,t),m=n_(n,typeof t=="string",c),p=t!==O.Fragment?{...m,...h,ref:s}:{},{children:y}=n,g=O.useMemo(()=>Ae(y)?y.get():y,[y]);return O.createElement(t,{...p,children:g})}function nx(t){const n=[{},{}];return t?.values.forEach((s,r)=>{n[0][r]=s.get(),n[1][r]=s.getVelocity()}),n}function _m(t,n,s,r){if(typeof n=="function"){const[l,c]=nx(r);n=n(s!==void 0?s:t.custom,l,c)}if(typeof n=="string"&&(n=t.variants&&t.variants[n]),typeof n=="function"){const[l,c]=nx(r);n=n(s!==void 0?s:t.custom,l,c)}return n}function gc(t){return Ae(t)?t.get():t}function v_({scrapeMotionValuesFromProps:t,createRenderState:n},s,r,l){return{latestValues:x_(s,r,l,t),renderState:n()}}function x_(t,n,s,r){const l={},c=r(t,{});for(const b in c)l[b]=gc(c[b]);let{initial:u,animate:h}=t;const m=Kc(t),p=JS(t);n&&p&&!m&&t.inherit!==!1&&(u===void 0&&(u=n.initial),h===void 0&&(h=n.animate));let y=s?s.initial===!1:!1;y=y||u===!1;const g=y?h:u;if(g&&typeof g!="boolean"&&!Fc(g)){const b=Array.isArray(g)?g:[g];for(let w=0;w<b.length;w++){const E=_m(t,b[w]);if(E){const{transitionEnd:A,transition:M,...C}=E;for(const Q in C){let B=C[Q];if(Array.isArray(B)){const Z=y?B.length-1:0;B=B[Z]}B!==null&&(l[Q]=B)}for(const Q in A)l[Q]=A[Q]}}}return l}const sw=t=>(n,s)=>{const r=O.useContext(Yc),l=O.useContext(am),c=()=>v_(t,n,r,l);return s?c():tM(c)};function Dm(t,n,s){const{style:r}=t,l={};for(const c in r)(Ae(r[c])||n.style&&Ae(n.style[c])||WS(c,t)||s?.getValue(c)?.liveStyle!==void 0)&&(l[c]=r[c]);return l}const b_=sw({scrapeMotionValuesFromProps:Dm,createRenderState:Mm});function aw(t,n,s){const r=Dm(t,n,s);for(const l in t)if(Ae(t[l])||Ae(n[l])){const c=Wa.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;r[c]=t[l]}return r}const S_=sw({scrapeMotionValuesFromProps:aw,createRenderState:nw}),w_=Symbol.for("motionComponentSymbol");function La(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function E_(t,n,s){return O.useCallback(r=>{r&&t.onMount&&t.onMount(r),n&&(r?n.mount(r):n.unmount()),s&&(typeof s=="function"?s(r):La(s)&&(s.current=r))},[n])}const zm=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),T_="framerAppearId",rw="data-"+zm(T_),ow=O.createContext({});function A_(t,n,s,r,l){const{visualElement:c}=O.useContext(Yc),u=O.useContext(ZS),h=O.useContext(am),m=O.useContext(XS).reducedMotion,p=O.useRef(null);r=r||u.renderer,!p.current&&r&&(p.current=r(t,{visualState:n,parent:c,props:s,presenceContext:h,blockInitialAnimation:h?h.initial===!1:!1,reducedMotionConfig:m}));const y=p.current,g=O.useContext(ow);y&&!y.projection&&l&&(y.type==="html"||y.type==="svg")&&C_(p.current,s,l,g);const b=O.useRef(!1);O.useInsertionEffect(()=>{y&&b.current&&y.update(s,h)});const w=s[rw],E=O.useRef(!!w&&!window.MotionHandoffIsComplete?.(w)&&window.MotionHasOptimisedAnimation?.(w));return eM(()=>{y&&(b.current=!0,window.MotionIsMounted=!0,y.updateFeatures(),y.scheduleRenderMicrotask(),E.current&&y.animationState&&y.animationState.animateChanges())}),O.useEffect(()=>{y&&(!E.current&&y.animationState&&y.animationState.animateChanges(),E.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(w)}),E.current=!1),y.enteringChildren=void 0)}),y}function C_(t,n,s,r){const{layoutId:l,layout:c,drag:u,dragConstraints:h,layoutScroll:m,layoutRoot:p,layoutCrossfade:y}=n;t.projection=new s(t.latestValues,n["data-framer-portal-id"]?void 0:lw(t.parent)),t.projection.setOptions({layoutId:l,layout:c,alwaysMeasureLayout:!!u||h&&La(h),visualElement:t,animationType:typeof c=="string"?c:"both",initialPromotionConfig:r,crossfade:y,layoutScroll:m,layoutRoot:p})}function lw(t){if(t)return t.options.allowProjection!==!1?t.projection:lw(t.parent)}function Nd(t,{forwardMotionProps:n=!1}={},s,r){s&&WN(s);const l=Nm(t)?S_:b_;function c(h,m){let p;const y={...O.useContext(XS),...h,layoutId:O_(h)},{isStatic:g}=y,b=s_(h),w=l(h,g);if(!g&&sm){R_();const E=j_(y);p=E.MeasureLayout,b.visualElement=A_(t,w,y,r,E.ProjectionNode)}return x.jsxs(Yc.Provider,{value:b,children:[p&&b.visualElement?x.jsx(p,{visualElement:b.visualElement,...y}):null,y_(t,h,E_(w,b.visualElement,m),w,g,n)]})}c.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const u=O.forwardRef(c);return u[w_]=t,u}function O_({layoutId:t}){const n=O.useContext(sS).id;return n&&t!==void 0?n+"-"+t:t}function R_(t,n){O.useContext(ZS).strict}function j_(t){const{drag:n,layout:s}=Fa;if(!n&&!s)return{};const r={...n,...s};return{MeasureLayout:n?.isEnabled(t)||s?.isEnabled(t)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
vendor: 34,638 bytes, line 97
97function M_(t,n){if(typeof Proxy>"u")return Nd;const s=new Map,r=(c,u)=>Nd(c,u,t,n),l=(c,u)=>r(c,u);return new Proxy(l,{get:(c,u)=>u==="create"?r:(s.has(u)||s.set(u,Nd(u,void 0,t,n)),s.get(u))})}function cw({top:t,left:n,right:s,bottom:r}){return{x:{min:n,max:s},y:{min:t,max:r}}}function N_({x:t,y:n}){return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function __(t,n){if(!n)return t;const s=n({x:t.left,y:t.top}),r=n({x:t.right,y:t.bottom});return{top:s.y,left:s.x,bottom:r.y,right:r.x}}function _d(t){return t===void 0||t===1}function Rh({scale:t,scaleX:n,scaleY:s}){return!_d(t)||!_d(n)||!_d(s)}function js(t){return Rh(t)||uw(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function uw(t){return ix(t.x)||ix(t.y)}function ix(t){return t&&t!=="0%"}function Oc(t,n,s){const r=t-s,l=n*r;return s+l}function sx(t,n,s,r,l){return l!==void 0&&(t=Oc(t,l,r)),Oc(t,s,r)+n}function jh(t,n=0,s=1,r,l){t.min=sx(t.min,n,s,r,l),t.max=sx(t.max,n,s,r,l)}function fw(t,{x:n,y:s}){jh(t.x,n.translate,n.scale,n.originPoint),jh(t.y,s.translate,s.scale,s.originPoint)}const ax=.999999999999,rx=1.0000000000001;function D_(t,n,s,r=!1){const l=s.length;if(!l)return;n.x=n.y=1;let c,u;for(let h=0;h<l;h++){c=s[h],u=c.projectionDelta;const{visualElement:m}=c.options;m&&m.props.style&&m.props.style.display==="contents"||(r&&c.options.layoutScroll&&c.scroll&&c!==c.root&&Ua(t,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),u&&(n.x*=u.x.scale,n.y*=u.y.scale,fw(t,u)),r&&js(c.latestValues)&&Ua(t,c.latestValues))}n.x<rx&&n.x>ax&&(n.x=1),n.y<rx&&n.y>ax&&(n.y=1)}function ka(t,n){t.min=t.min+n,t.max=t.max+n}function ox(t,n,s,r,l=.5){const c=Ft(t.min,t.max,l);jh(t,n,s,c,r)}function Ua(t,n){ox(t.x,n.x,n.scaleX,n.scale,n.originX),ox(t.y,n.y,n.scaleY,n.scale,n.originY)}function dw(t,n){return cw(__(t.getBoundingClientRect(),n))}function z_(t,n,s){const r=dw(t,s),{scroll:l}=n;return l&&(ka(r.x,l.offset.x),ka(r.y,l.offset.y)),r}const lx=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ha=()=>({x:lx(),y:lx()}),cx=()=>({min:0,max:0}),te=()=>({x:cx(),y:cx()}),Mh={current:null},hw={current:!1};function P_(){if(hw.current=!0,!!sm)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),n=()=>Mh.current=t.matches;t.addEventListener("change",n),n()}else Mh.current=!1}const L_=new WeakMap;function k_(t,n,s){for(const r in n){const l=n[r],c=s[r];if(Ae(l))t.addValue(r,l);else if(Ae(c))t.addValue(r,Ya(l,{owner:t}));else if(c!==l)if(t.hasValue(r)){const u=t.getValue(r);u.liveStyle===!0?u.jump(l):u.hasAnimated||u.set(l)}else{const u=t.getStaticValue(r);t.addValue(r,Ya(u!==void 0?u:l,{owner:t}))}}for(const r in s)n[r]===void 0&&t.removeValue(r);return n}const ux=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class U_{scrapeMotionValuesFromProps(n,s,r){return{}}constructor({parent:n,props:s,presenceContext:r,reducedMotionConfig:l,blockInitialAnimation:c,visualState:u},h={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=wm,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const b=Ie.now();this.renderScheduledAt<b&&(this.renderScheduledAt=b,Gt.render(this.render,!1,!0))};const{latestValues:m,renderState:p}=u;this.latestValues=m,this.baseTarget={...m},this.initialValues=s.initial?{...m}:{},this.renderState=p,this.parent=n,this.props=s,this.presenceContext=r,this.depth=n?n.depth+1:0,this.reducedMotionConfig=l,this.options=h,this.blockInitialAnimation=!!c,this.isControllingVariants=Kc(s),this.isVariantNode=JS(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:y,...g}=this.scrapeMotionValuesFromProps(s,{},this);for(const b in g){const w=g[b];m[b]!==void 0&&Ae(w)&&w.set(m[b])}}mount(n){this.current=n,L_.set(n,this),this.projection&&!this.projection.instance&&this.projection.mount(n),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,r)=>this.bindToMotionValue(r,s)),hw.current||P_(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Mh.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),ts(this.notifyUpdate),ts(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const s=this.features[n];s&&(s.unmount(),s.isMounted=!1)}this.current=null}addChild(n){this.children.add(n),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(n)}removeChild(n){this.children.delete(n),this.enteringChildren&&this.enteringChildren.delete(n)}bindToMotionValue(n,s){this.valueSubscriptions.has(n)&&this.valueSubscriptions.get(n)();const r=tr.has(n);r&&this.onBindTransform&&this.onBindTransform();const l=s.on("change",u=>{this.latestValues[n]=u,this.props.onUpdate&&Gt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let c;window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,n,s)),this.valueSubscriptions.set(n,()=>{l(),c&&c(),s.owner&&s.stop()})}sortNodePosition(n){return!this.current||!this.sortInstanceNodePosition||this.type!==n.type?0:this.sortInstanceNodePosition(this.current,n.current)}updateFeatures(){let n="animation";for(n in Fa){const s=Fa[n];if(!s)continue;const{isEnabled:r,Feature:l}=s;if(!this.features[n]&&l&&r(this.props)&&(this.features[n]=new l(this)),this.features[n]){const c=this.features[n];c.isMounted?c.update():(c.mount(),c.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):te()}getStaticValue(n){return this.latestValues[n]}setStaticValue(n,s){this.latestValues[n]=s}update(n,s){(n.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=n,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let r=0;r<ux.length;r++){const l=ux[r];this.propEventSubscriptions[l]&&(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);const c="on"+l,u=n[c];u&&(this.propEventSubscriptions[l]=this.on(l,u))}this.prevMotionValues=k_(this,this.scrapeMotionValuesFromProps(n,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(n){return this.props.variants?this.props.variants[n]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(n){const s=this.getClosestVariantNode();if(s)return s.variantChildren&&s.variantChildren.add(n),()=>s.variantChildren.delete(n)}addValue(n,s){const r=this.values.get(n);s!==r&&(r&&this.removeValue(n),this.bindToMotionValue(n,s),this.values.set(n,s),this.latestValues[n]=s.get())}removeValue(n){this.values.delete(n);const s=this.valueSubscriptions.get(n);s&&(s(),this.valueSubscriptions.delete(n)),delete this.latestValues[n],this.removeValueFromRenderState(n,this.renderState)}hasValue(n){return this.values.has(n)}getValue(n,s){if(this.props.values&&this.props.values[n])return this.props.values[n];let r=this.values.get(n);return r===void 0&&s!==void 0&&(r=Ya(s===null?void 0:s,{owner:this}),this.addValue(n,r)),r}readValue(n,s){let r=this.latestValues[n]!==void 0||!this.current?this.latestValues[n]:this.getBaseTargetFromProps(this.props,n)??this.readValueFromInstance(this.current,n,this.options);return r!=null&&(typeof r=="string"&&(aS(r)||oS(r))?r=parseFloat(r):!$N(r)&&es.test(s)&&(r=qS(n,s)),this.setBaseTarget(n,Ae(r)?r.get():r)),Ae(r)?r.get():r}setBaseTarget(n,s){this.baseTarget[n]=s}getBaseTarget(n){const{initial:s}=this.props;let r;if(typeof s=="string"||typeof s=="object"){const c=_m(this.props,s,this.presenceContext?.custom);c&&(r=c[n])}if(s&&r!==void 0)return r;const l=this.getBaseTargetFromProps(this.props,n);return l!==void 0&&!Ae(l)?l:this.initialValues[n]!==void 0&&r===void 0?void 0:this.baseTarget[n]}on(n,s){return this.events[n]||(this.events[n]=new um),this.events[n].add(s)}notify(n,...s){this.events[n]&&this.events[n].notify(...s)}scheduleRenderMicrotask(){Am.render(this.render)}}class mw extends U_{constructor(){super(...arguments),this.KeyframeResolver=HN}sortInstanceNodePosition(n,s){return n.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(n,s){return n.style?n.style[s]:void 0}removeValueFromRenderState(n,{vars:s,style:r}){delete s[n],delete r[n]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:n}=this.props;Ae(n)&&(this.childSubscription=n.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}function pw(t,{style:n,vars:s},r,l){const c=t.style;let u;for(u in n)c[u]=n[u];l?.applyProjectionStyles(c,r);for(u in s)c.setProperty(u,s[u])}function H_(t){return window.getComputedStyle(t)}class V_ extends mw{constructor(){super(...arguments),this.type="html",this.renderInstance=pw}readValueFromInstance(n,s){if(tr.has(s))return this.projection?.isProjecting?Sh(s):sN(n,s);{const r=H_(n),l=(hm(s)?r.getPropertyValue(s):r[s])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(n,{transformPagePoint:s}){return dw(n,s)}build(n,s,r){jm(n,s,r.transformTemplate)}scrapeMotionValuesFromProps(n,s,r){return Dm(n,s,r)}}const gw=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function B_(t,n,s,r){pw(t,n,void 0,r);for(const l in n.attrs)t.setAttribute(gw.has(l)?l:zm(l),n.attrs[l])}class q_ extends mw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=te}getBaseTargetFromProps(n,s){return n[s]}readValueFromInstance(n,s){if(tr.has(s)){const r=BS(s);return r&&r.default||0}return s=gw.has(s)?s:zm(s),n.getAttribute(s)}scrapeMotionValuesFromProps(n,s,r){return aw(n,s,r)}build(n,s,r){ew(n,s,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(n,s,r,l){B_(n,s,r,l)}mount(n){this.isSVGTag=iw(n.tagName),super.mount(n)}}const I_=(t,n)=>Nm(t)?new q_(n):new V_(n,{allowProjection:t!==O.Fragment});function Ba(t,n,s){const r=t.getProps();return _m(r,n,s!==void 0?s:r.custom,t)}const Nh=t=>Array.isArray(t);function Q_(t,n,s){t.hasValue(n)?t.getValue(n).set(s):t.addValue(n,Ya(s))}function G_(t){return Nh(t)?t[t.length-1]||0:t}function Y_(t,n){const s=Ba(t,n);let{transitionEnd:r={},transition:l={},...c}=s||{};c={...c,...r};for(const u in c){const h=G_(c[u]);Q_(t,u,h)}}function F_(t){return!!(Ae(t)&&t.add)}function _h(t,n){const s=t.getValue("willChange");if(F_(s))return s.add(n);if(!s&&gi.WillChange){const r=new gi.WillChange("auto");t.addValue("willChange",r),r.add(n)}}function yw(t){return t.props[rw]}const K_=t=>t!==null;function X_(t,{repeat:n,repeatType:s="loop"},r){const l=t.filter(K_),c=n&&s!=="loop"&&n%2===1?0:l.length-1;return l[c]}const Z_={type:"spring",stiffness:500,damping:25,restSpeed:10},$_=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),J_={type:"keyframes",duration:.8},W_={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tD=(t,{keyframes:n})=>n.length>2?J_:tr.has(t)?t.startsWith("scale")?$_(n[1]):Z_:W_;function eD({when:t,delay:n,delayChildren:s,staggerChildren:r,staggerDirection:l,repeat:c,repeatType:u,repeatDelay:h,from:m,elapsed:p,...y}){return!!Object.keys(y).length}const Pm=(t,n,s,r={},l,c)=>u=>{const h=Em(r,t)||{},m=h.delay||r.delay||0;let{elapsed:p=0}=r;p=p-Hn(m);const y={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:n.getVelocity(),...h,delay:-p,onUpdate:b=>{n.set(b),h.onUpdate&&h.onUpdate(b)},onComplete:()=>{u(),h.onComplete&&h.onComplete()},name:t,motionValue:n,element:c?void 0:l};eD(h)||Object.assign(y,tD(t,y)),y.duration&&(y.duration=Hn(y.duration)),y.repeatDelay&&(y.repeatDelay=Hn(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let g=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(Ch(y),y.delay===0&&(g=!0)),(gi.instantAnimations||gi.skipAnimations)&&(g=!0,Ch(y),y.delay=0),y.allowFlatten=!h.type&&!h.ease,g&&!c&&n.get()!==void 0){const b=X_(y.keyframes,h);if(b!==void 0){Gt.update(()=>{y.onUpdate(b),y.onComplete()});return}}return h.isSync?new Sm(y):new ON(y)};function nD({protectedKeys:t,needsAnimating:n},s){const r=t.hasOwnProperty(s)&&n[s]!==!0;return n[s]=!1,r}function vw(t,n,{delay:s=0,transitionOverride:r,type:l}={}){let{transition:c=t.getDefaultTransition(),transitionEnd:u,...h}=n;r&&(c=r);const m=[],p=l&&t.animationState&&t.animationState.getState()[l];for(const y in h){const g=t.getValue(y,t.latestValues[y]??null),b=h[y];if(b===void 0||p&&nD(p,y))continue;const w={delay:s,...Em(c||{},y)},E=g.get();if(E!==void 0&&!g.isAnimating&&!Array.isArray(b)&&b===E&&!w.velocity)continue;let A=!1;if(window.MotionHandoffAnimation){const C=yw(t);if(C){const Q=window.MotionHandoffAnimation(C,y,Gt);Q!==null&&(w.startTime=Q,A=!0)}}_h(t,y),g.start(Pm(y,g,b,t.shouldReduceMotion&&US.has(y)?{type:!1}:w,t,A));const M=g.animation;M&&m.push(M)}return u&&Promise.all(m).then(()=>{Gt.update(()=>{u&&Y_(t,u)})}),m}function xw(t,n,s,r=0,l=1){const c=Array.from(t).sort((p,y)=>p.sortNodePosition(y)).indexOf(n),u=t.size,h=(u-1)*r;return typeof s=="function"?s(c,u):l===1?c*r:h-c*r}function Dh(t,n,s={}){const r=Ba(t,n,s.type==="exit"?t.presenceContext?.custom:void 0);let{transition:l=t.getDefaultTransition()||{}}=r||{};s.transitionOverride&&(l=s.transitionOverride);const c=r?()=>Promise.all(vw(t,r,s)):()=>Promise.resolve(),u=t.variantChildren&&t.variantChildren.size?(m=0)=>{const{delayChildren:p=0,staggerChildren:y,staggerDirection:g}=l;return iD(t,n,m,p,y,g,s)}:()=>Promise.resolve(),{when:h}=l;if(h){const[m,p]=h==="beforeChildren"?[c,u]:[u,c];return m().then(()=>p())}else return Promise.all([c(),u(s.delay)])}function iD(t,n,s=0,r=0,l=0,c=1,u){const h=[];for(const m of t.variantChildren)m.notify("AnimationStart",n),h.push(Dh(m,n,{...u,delay:s+(typeof r=="function"?0:r)+xw(t.variantChildren,m,r,l,c)}).then(()=>m.notify("AnimationComplete",n)));return Promise.all(h)}function sD(t,n,s={}){t.notify("AnimationStart",n);let r;if(Array.isArray(n)){const l=n.map(c=>Dh(t,c,s));r=Promise.all(l)}else if(typeof n=="string")r=Dh(t,n,s);else{const l=typeof n=="function"?Ba(t,n,s.custom):n;r=Promise.all(vw(t,l,s))}return r.then(()=>{t.notify("AnimationComplete",n)})}function bw(t,n){if(!Array.isArray(n))return!1;const s=n.length;if(s!==t.length)return!1;for(let r=0;r<s;r++)if(n[r]!==t[r])return!1;return!0}const aD=Rm.length;function Sw(t){if(!t)return;if(!t.isControllingVariants){const s=t.parent?Sw(t.parent)||{}:{};return t.props.initial!==void 0&&(s.initial=t.props.initial),s}const n={};for(let s=0;s<aD;s++){const r=Rm[s],l=t.props[r];(Eo(l)||l===!1)&&(n[r]=l)}return n}const rD=[...Om].reverse(),oD=Om.length;function lD(t){return n=>Promise.all(n.map(({animation:s,options:r})=>sD(t,s,r)))}function cD(t){let n=lD(t),s=fx(),r=!0;const l=m=>(p,y)=>{const g=Ba(t,y,m==="exit"?t.presenceContext?.custom:void 0);if(g){const{transition:b,transitionEnd:w,...E}=g;p={...p,...E,...w}}return p};function c(m){n=m(t)}function u(m){const{props:p}=t,y=Sw(t.parent)||{},g=[],b=new Set;let w={},E=1/0;for(let M=0;M<oD;M++){const C=rD[M],Q=s[C],B=p[C]!==void 0?p[C]:y[C],Z=Eo(B),k=C===m?Q.isActive:null;k===!1&&(E=M);let G=B===y[C]&&B!==p[C]&&Z;if(G&&r&&t.manuallyAnimateOnMount&&(G=!1),Q.protectedKeys={...w},!Q.isActive&&k===null||!B&&!Q.prevProp||Fc(B)||typeof B=="boolean")continue;const N=uD(Q.prevProp,B);let D=N||C===m&&Q.isActive&&!G&&Z||M>E&&Z,J=!1;const W=Array.isArray(B)?B:[B];let it=W.reduce(l(C),{});k===!1&&(it={});const{prevResolvedValues:et={}}=Q,at={...et,...it},rt=P=>{D=!0,b.has(P)&&(J=!0,b.delete(P)),Q.needsAnimating[P]=!0;const z=t.getValue(P);z&&(z.liveStyle=!1)};for(const P in at){const z=it[P],nt=et[P];if(w.hasOwnProperty(P))continue;let ot=!1;Nh(z)&&Nh(nt)?ot=!bw(z,nt):ot=z!==nt,ot?z!=null?rt(P):b.add(P):z!==void 0&&b.has(P)?rt(P):Q.protectedKeys[P]=!0}Q.prevProp=B,Q.prevResolvedValues=it,Q.isActive&&(w={...w,...it}),r&&t.blockInitialAnimation&&(D=!1);const ct=G&&N;D&&(!ct||J)&&g.push(...W.map(P=>{const z={type:C};if(typeof P=="string"&&r&&!ct&&t.manuallyAnimateOnMount&&t.parent){const{parent:nt}=t,ot=Ba(nt,P);if(nt.enteringChildren&&ot){const{delayChildren:T}=ot.transition||{};z.delay=xw(nt.enteringChildren,t,T)}}return{animation:P,options:z}}))}if(b.size){const M={};if(typeof p.initial!="boolean"){const C=Ba(t,Array.isArray(p.initial)?p.initial[0]:p.initial);C&&C.transition&&(M.transition=C.transition)}b.forEach(C=>{const Q=t.getBaseTarget(C),B=t.getValue(C);B&&(B.liveStyle=!0),M[C]=Q??null}),g.push({animation:M})}let A=!!g.length;return r&&(p.initial===!1||p.initial===p.animate)&&!t.manuallyAnimateOnMount&&(A=!1),r=!1,A?n(g):Promise.resolve()}function h(m,p){if(s[m].isActive===p)return Promise.resolve();t.variantChildren?.forEach(g=>g.animationState?.setActive(m,p)),s[m].isActive=p;const y=u(m);for(const g in s)s[g].protectedKeys={};return y}return{animateChanges:u,setActive:h,setAnimateFunction:c,getState:()=>s,reset:()=>{s=fx(),r=!0}}}function uD(t,n){return typeof n=="string"?n!==t:Array.isArray(n)?!bw(n,t):!1}function Rs(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function fx(){return{animate:Rs(!0),whileInView:Rs(),whileHover:Rs(),whileTap:Rs(),whileDrag:Rs(),whileFocus:Rs(),exit:Rs()}}class is{constructor(n){this.isMounted=!1,this.node=n}update(){}}class fD extends is{constructor(n){super(n),n.animationState||(n.animationState=cD(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();Fc(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:n}=this.node.getProps(),{animate:s}=this.node.prevProps||{};n!==s&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let dD=0;class hD extends is{constructor(){super(...arguments),this.id=dD++}update(){if(!this.node.presenceContext)return;const{isPresent:n,onExitComplete:s}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||n===r)return;const l=this.node.animationState.setActive("exit",!n);s&&!n&&l.then(()=>{s(this.id)})}mount(){const{register:n,onExitComplete:s}=this.node.presenceContext||{};s&&s(this.id),n&&(this.unmount=n(this.id))}unmount(){}}const mD={animation:{Feature:fD},exit:{Feature:hD}};function Ao(t,n,s,r={passive:!0}){return t.addEventListener(n,s,r),()=>t.removeEventListener(n,s)}function Po(t){return{point:{x:t.pageX,y:t.pageY}}}const pD=t=>n=>Cm(n)&&t(n,Po(n));function ro(t,n,s,r){return Ao(t,n,pD(s),r)}const ww=1e-4,gD=1-ww,yD=1+ww,Ew=.01,vD=0-Ew,xD=0+Ew;function Ne(t){return t.max-t.min}function bD(t,n,s){return Math.abs(t-n)<=s}function dx(t,n,s,r=.5){t.origin=r,t.originPoint=Ft(n.min,n.max,t.origin),t.scale=Ne(s)/Ne(n),t.translate=Ft(s.min,s.max,t.origin)-t.originPoint,(t.scale>=gD&&t.scale<=yD||isNaN(t.scale))&&(t.scale=1),(t.translate>=vD&&t.translate<=xD||isNaN(t.translate))&&(t.translate=0)}function oo(t,n,s,r){dx(t.x,n.x,s.x,r?r.originX:void 0),dx(t.y,n.y,s.y,r?r.originY:void 0)}function hx(t,n,s){t.min=s.min+n.min,t.max=t.min+Ne(n)}function SD(t,n,s){hx(t.x,n.x,s.x),hx(t.y,n.y,s.y)}function mx(t,n,s){t.min=n.min-s.min,t.max=t.min+Ne(n)}function lo(t,n,s){mx(t.x,n.x,s.x),mx(t.y,n.y,s.y)}function mn(t){return[t("x"),t("y")]}const Tw=({current:t})=>t?t.ownerDocument.defaultView:null,px=(t,n)=>Math.abs(t-n);function wD(t,n){const s=px(t.x,n.x),r=px(t.y,n.y);return Math.sqrt(s**2+r**2)}class Aw{constructor(n,s,{transformPagePoint:r,contextWindow:l=window,dragSnapToOrigin:c=!1,distanceThreshold:u=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const b=zd(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,E=wD(b.offset,{x:0,y:0})>=this.distanceThreshold;if(!w&&!E)return;const{point:A}=b,{timestamp:M}=be;this.history.push({...A,timestamp:M});const{onStart:C,onMove:Q}=this.handlers;w||(C&&C(this.lastMoveEvent,b),this.startEvent=this.lastMoveEvent),Q&&Q(this.lastMoveEvent,b)},this.handlePointerMove=(b,w)=>{this.lastMoveEvent=b,this.lastMoveEventInfo=Dd(w,this.transformPagePoint),Gt.update(this.updatePoint,!0)},this.handlePointerUp=(b,w)=>{this.end();const{onEnd:E,onSessionEnd:A,resumeAnimation:M}=this.handlers;if(this.dragSnapToOrigin&&M&&M(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const C=zd(b.type==="pointercancel"?this.lastMoveEventInfo:Dd(w,this.transformPagePoint),this.history);this.startEvent&&E&&E(b,C),A&&A(b,C)},!Cm(n))return;this.dragSnapToOrigin=c,this.handlers=s,this.transformPagePoint=r,this.distanceThreshold=u,this.contextWindow=l||window;const h=Po(n),m=Dd(h,this.transformPagePoint),{point:p}=m,{timestamp:y}=be;this.history=[{...p,timestamp:y}];const{onSessionStart:g}=s;g&&g(n,zd(m,this.history)),this.removeListeners=_o(ro(this.contextWindow,"pointermove",this.handlePointerMove),ro(this.contextWindow,"pointerup",this.handlePointerUp),ro(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(n){this.handlers=n}end(){this.removeListeners&&this.removeListeners(),ts(this.updatePoint)}}function Dd(t,n){return n?{point:n(t.point)}:t}function gx(t,n){return{x:t.x-n.x,y:t.y-n.y}}function zd({point:t},n){return{point:t,delta:gx(t,Cw(n)),offset:gx(t,ED(n)),velocity:TD(n,.1)}}function ED(t){return t[0]}function Cw(t){return t[t.length-1]}function TD(t,n){if(t.length<2)return{x:0,y:0};let s=t.length-1,r=null;const l=Cw(t);for(;s>=0&&(r=t[s],!(l.timestamp-r.timestamp>Hn(n)));)s--;if(!r)return{x:0,y:0};const c=pn(l.timestamp-r.timestamp);if(c===0)return{x:0,y:0};const u={x:(l.x-r.x)/c,y:(l.y-r.y)/c};return u.x===1/0&&(u.x=0),u.y===1/0&&(u.y=0),u}function AD(t,{min:n,max:s},r){return n!==void 0&&t<n?t=r?Ft(n,t,r.min):Math.max(t,n):s!==void 0&&t>s&&(t=r?Ft(s,t,r.max):Math.min(t,s)),t}function yx(t,n,s){return{min:n!==void 0?t.min+n:void 0,max:s!==void 0?t.max+s-(t.max-t.min):void 0}}function CD(t,{top:n,left:s,bottom:r,right:l}){return{x:yx(t.x,s,l),y:yx(t.y,n,r)}}function vx(t,n){let s=n.min-t.min,r=n.max-t.max;return n.max-n.min<t.max-t.min&&([s,r]=[r,s]),{min:s,max:r}}function OD(t,n){return{x:vx(t.x,n.x),y:vx(t.y,n.y)}}function RD(t,n){let s=.5;const r=Ne(t),l=Ne(n);return l>r?s=bo(n.min,n.max-r,t.min):r>l&&(s=bo(t.min,t.max-l,n.min)),pi(0,1,s)}function jD(t,n){const s={};return n.min!==void 0&&(s.min=n.min-t.min),n.max!==void 0&&(s.max=n.max-t.min),s}const zh=.35;function MD(t=zh){return t===!1?t=0:t===!0&&(t=zh),{x:xx(t,"left","right"),y:xx(t,"top","bottom")}}function xx(t,n,s){return{min:bx(t,n),max:bx(t,s)}}function bx(t,n){return typeof t=="number"?t:t[n]||0}const ND=new WeakMap;class _D{constructor(n){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=te(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=n}start(n,{snapToCursor:s=!1,distanceThreshold:r}={}){const{presenceContext:l}=this.visualElement;if(l&&l.isPresent===!1)return;const c=g=>{const{dragSnapToOrigin:b}=this.getProps();b?this.pauseAnimation():this.stopAnimation(),s&&this.snapToCursor(Po(g).point)},u=(g,b)=>{const{drag:w,dragPropagation:E,onDragStart:A}=this.getProps();if(w&&!E&&(this.openDragLock&&this.openDragLock(),this.openDragLock=IN(w),!this.openDragLock))return;this.latestPointerEvent=g,this.latestPanInfo=b,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),mn(C=>{let Q=this.getAxisMotionValue(C).get()||0;if(Vn.test(Q)){const{projection:B}=this.visualElement;if(B&&B.layout){const Z=B.layout.layoutBox[C];Z&&(Q=Ne(Z)*(parseFloat(Q)/100))}}this.originPoint[C]=Q}),A&&Gt.postRender(()=>A(g,b)),_h(this.visualElement,"transform");const{animationState:M}=this.visualElement;M&&M.setActive("whileDrag",!0)},h=(g,b)=>{this.latestPointerEvent=g,this.latestPanInfo=b;const{dragPropagation:w,dragDirectionLock:E,onDirectionLock:A,onDrag:M}=this.getProps();if(!w&&!this.openDragLock)return;const{offset:C}=b;if(E&&this.currentDirection===null){this.currentDirection=DD(C),this.currentDirection!==null&&A&&A(this.currentDirection);return}this.updateAxis("x",b.point,C),this.updateAxis("y",b.point,C),this.visualElement.render(),M&&M(g,b)},m=(g,b)=>{this.latestPointerEvent=g,this.latestPanInfo=b,this.stop(g,b),this.latestPointerEvent=null,this.latestPanInfo=null},p=()=>mn(g=>this.getAnimationState(g)==="paused"&&this.getAxisMotionValue(g).animation?.play()),{dragSnapToOrigin:y}=this.getProps();this.panSession=new Aw(n,{onSessionStart:c,onStart:u,onMove:h,onSessionEnd:m,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:y,distanceThreshold:r,contextWindow:Tw(this.visualElement)})}stop(n,s){const r=n||this.latestPointerEvent,l=s||this.latestPanInfo,c=this.isDragging;if(this.cancel(),!c||!l||!r)return;const{velocity:u}=l;this.startAnimation(u);const{onDragEnd:h}=this.getProps();h&&Gt.postRender(()=>h(r,l))}cancel(){this.isDragging=!1;const{projection:n,animationState:s}=this.visualElement;n&&(n.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),s&&s.setActive("whileDrag",!1)}updateAxis(n,s,r){const{drag:l}=this.getProps();if(!r||!oc(n,l,this.currentDirection))return;const c=this.getAxisMotionValue(n);let u=this.originPoint[n]+r[n];this.constraints&&this.constraints[n]&&(u=AD(u,this.constraints[n],this.elastic[n])),c.set(u)}resolveConstraints(){const{dragConstraints:n,dragElastic:s}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,l=this.constraints;n&&La(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&r?this.constraints=CD(r.layoutBox,n):this.constraints=!1,this.elastic=MD(s),l!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&mn(c=>{this.constraints!==!1&&this.getAxisMotionValue(c)&&(this.constraints[c]=jD(r.layoutBox[c],this.constraints[c]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:s}=this.getProps();if(!n||!La(n))return!1;const r=n.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;const c=z_(r,l.root,this.visualElement.getTransformPagePoint());let u=OD(l.layout.layoutBox,c);if(s){const h=s(N_(u));this.hasMutatedConstraints=!!h,h&&(u=cw(h))}return u}startAnimation(n){const{drag:s,dragMomentum:r,dragElastic:l,dragTransition:c,dragSnapToOrigin:u,onDragTransitionEnd:h}=this.getProps(),m=this.constraints||{},p=mn(y=>{if(!oc(y,s,this.currentDirection))return;let g=m&&m[y]||{};u&&(g={min:0,max:0});const b=l?200:1e6,w=l?40:1e7,E={type:"inertia",velocity:r?n[y]:0,bounceStiffness:b,bounceDamping:w,timeConstant:750,restDelta:1,restSpeed:10,...c,...g};return this.startAxisValueAnimation(y,E)});return Promise.all(p).then(h)}startAxisValueAnimation(n,s){const r=this.getAxisMotionValue(n);return _h(this.visualElement,n),r.start(Pm(n,r,0,s,this.visualElement,!1))}stopAnimation(){mn(n=>this.getAxisMotionValue(n).stop())}pauseAnimation(){mn(n=>this.getAxisMotionValue(n).animation?.pause())}getAnimationState(n){return this.getAxisMotionValue(n).animation?.state}getAxisMotionValue(n){const s=`_drag${n.toUpperCase()}`,r=this.visualElement.getProps(),l=r[s];return l||this.visualElement.getValue(n,(r.initial?r.initial[n]:void 0)||0)}snapToCursor(n){mn(s=>{const{drag:r}=this.getProps();if(!oc(s,r,this.currentDirection))return;const{projection:l}=this.visualElement,c=this.getAxisMotionValue(s);if(l&&l.layout){const{min:u,max:h}=l.layout.layoutBox[s];c.set(n[s]-Ft(u,h,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:s}=this.getProps(),{projection:r}=this.visualElement;if(!La(s)||!r||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};mn(u=>{const h=this.getAxisMotionValue(u);if(h&&this.constraints!==!1){const m=h.get();l[u]=RD({min:m,max:m},this.constraints[u])}});const{transformTemplate:c}=this.visualElement.getProps();this.visualElement.current.style.transform=c?c({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),mn(u=>{if(!oc(u,n,null))return;const h=this.getAxisMotionValue(u),{min:m,max:p}=this.constraints[u];h.set(Ft(m,p,l[u]))})}addListeners(){if(!this.visualElement.current)return;ND.set(this.visualElement,this);const n=this.visualElement.current,s=ro(n,"pointerdown",m=>{const{drag:p,dragListener:y=!0}=this.getProps();p&&y&&this.start(m)}),r=()=>{const{dragConstraints:m}=this.getProps();La(m)&&m.current&&(this.constraints=this.resolveRefConstraints())},{projection:l}=this.visualElement,c=l.addEventListener("measure",r);l&&!l.layout&&(l.root&&l.root.updateScroll(),l.updateLayout()),Gt.read(r);const u=Ao(window,"resize",()=>this.scalePositionWithinConstraints()),h=l.addEventListener("didUpdate",(({delta:m,hasLayoutChanged:p})=>{this.isDragging&&p&&(mn(y=>{const g=this.getAxisMotionValue(y);g&&(this.originPoint[y]+=m[y].translate,g.set(g.get()+m[y].translate))}),this.visualElement.render())}));return()=>{u(),s(),c(),h&&h()}}getProps(){const n=this.visualElement.getProps(),{drag:s=!1,dragDirectionLock:r=!1,dragPropagation:l=!1,dragConstraints:c=!1,dragElastic:u=zh,dragMomentum:h=!0}=n;return{...n,drag:s,dragDirectionLock:r,dragPropagation:l,dragConstraints:c,dragElastic:u,dragMomentum:h}}}function oc(t,n,s){return(n===!0||n===t)&&(s===null||s===t)}function DD(t,n=10){let s=null;return Math.abs(t.y)>n?s="y":Math.abs(t.x)>n&&(s="x"),s}class zD extends is{constructor(n){super(n),this.removeGroupControls=gn,this.removeListeners=gn,this.controls=new _D(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||gn}unmount(){this.removeGroupControls(),this.removeListeners()}}const Sx=t=>(n,s)=>{t&&Gt.postRender(()=>t(n,s))};class PD extends is{constructor(){super(...arguments),this.removePointerDownListener=gn}onPointerDown(n){this.session=new Aw(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Tw(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:s,onPan:r,onPanEnd:l}=this.node.getProps();return{onSessionStart:Sx(n),onStart:Sx(s),onMove:r,onEnd:(c,u)=>{delete this.session,l&&Gt.postRender(()=>l(c,u))}}}mount(){this.removePointerDownListener=ro(this.node.current,"pointerdown",n=>this.onPointerDown(n))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const yc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function wx(t,n){return n.max===n.min?0:t/(n.max-n.min)*100}const to={correct:(t,n)=>{if(!n.target)return t;if(typeof t=="string")if(xt.test(t))t=parseFloat(t);else return t;const s=wx(t,n.target.x),r=wx(t,n.target.y);return`${s}% ${r}%`}},LD={correct:(t,{treeScale:n,projectionDelta:s})=>{const r=t,l=es.parse(t);if(l.length>5)return r;const c=es.createTransformer(t),u=typeof l[0]!="number"?1:0,h=s.x.scale*n.x,m=s.y.scale*n.y;l[0+u]/=h,l[1+u]/=m;const p=Ft(h,m,.5);return typeof l[2+u]=="number"&&(l[2+u]/=p),typeof l[3+u]=="number"&&(l[3+u]/=p),c(l)}};let Pd=!1;class kD extends O.Component{componentDidMount(){const{visualElement:n,layoutGroup:s,switchLayoutGroup:r,layoutId:l}=this.props,{projection:c}=n;a_(UD),c&&(s.group&&s.group.add(c),r&&r.register&&l&&r.register(c),Pd&&c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,onExitComplete:()=>this.safeToRemove()})),yc.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:s,visualElement:r,drag:l,isPresent:c}=this.props,{projection:u}=r;return u&&(u.isPresent=c,Pd=!0,l||n.layoutDependency!==s||s===void 0||n.isPresent!==c?u.willUpdate():this.safeToRemove(),n.isPresent!==c&&(c?u.promote():u.relegate()||Gt.postRender(()=>{const h=u.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:n}=this.props.visualElement;n&&(n.root.didUpdate(),Am.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:s,switchLayoutGroup:r}=this.props,{projection:l}=n;Pd=!0,l&&(l.scheduleCheckAfterUnmount(),s&&s.group&&s.group.remove(l),r&&r.deregister&&r.deregister(l))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}}function Ow(t){const[n,s]=JN(),r=O.useContext(sS);return x.jsx(kD,{...t,layoutGroup:r,switchLayoutGroup:O.useContext(ow),isPresent:n,safeToRemove:s})}const UD={borderRadius:{...to,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:to,borderTopRightRadius:to,borderBottomLeftRadius:to,borderBottomRightRadius:to,boxShadow:LD};function HD(t,n,s){const r=Ae(t)?t:Ya(t);return r.start(Pm("",r,n,s)),r.animation}const VD=(t,n)=>t.depth-n.depth;class BD{constructor(){this.children=[],this.isDirty=!1}add(n){rm(this.children,n),this.isDirty=!0}remove(n){om(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(VD),this.isDirty=!1,this.children.forEac
vendor: 4,090 bytes, line 97
97h(n)}}function qD(t,n){const s=Ie.now(),r=({timestamp:l})=>{const c=l-s;c>=n&&(ts(r),t(c-n))};return Gt.setup(r,!0),()=>ts(r)}const Rw=["TopLeft","TopRight","BottomLeft","BottomRight"],ID=Rw.length,Ex=t=>typeof t=="string"?parseFloat(t):t,Tx=t=>typeof t=="number"||xt.test(t);function QD(t,n,s,r,l,c){l?(t.opacity=Ft(0,s.opacity??1,GD(r)),t.opacityExit=Ft(n.opacity??1,0,YD(r))):c&&(t.opacity=Ft(n.opacity??1,s.opacity??1,r));for(let u=0;u<ID;u++){const h=`border${Rw[u]}Radius`;let m=Ax(n,h),p=Ax(s,h);if(m===void 0&&p===void 0)continue;m||(m=0),p||(p=0),m===0||p===0||Tx(m)===Tx(p)?(t[h]=Math.max(Ft(Ex(m),Ex(p),r),0),(Vn.test(p)||Vn.test(m))&&(t[h]+="%")):t[h]=p}(n.rotate||s.rotate)&&(t.rotate=Ft(n.rotate||0,s.rotate||0,r))}function Ax(t,n){return t[n]!==void 0?t[n]:t.borderRadius}const GD=jw(0,.5,pS),YD=jw(.5,.95,gn);function jw(t,n,s){return r=>r<t?0:r>n?1:s(bo(t,n,r))}function Cx(t,n){t.min=n.min,t.max=n.max}function hn(t,n){Cx(t.x,n.x),Cx(t.y,n.y)}function Ox(t,n){t.translate=n.translate,t.scale=n.scale,t.originPoint=n.originPoint,t.origin=n.origin}function Rx(t,n,s,r,l){return t-=n,t=Oc(t,1/s,r),l!==void 0&&(t=Oc(t,1/l,r)),t}function FD(t,n=0,s=1,r=.5,l,c=t,u=t){if(Vn.test(n)&&(n=parseFloat(n),n=Ft(u.min,u.max,n/100)-u.min),typeof n!="number")return;let h=Ft(c.min,c.max,r);t===c&&(h-=n),t.min=Rx(t.min,n,s,h,l),t.max=Rx(t.max,n,s,h,l)}function jx(t,n,[s,r,l],c,u){FD(t,n[s],n[r],n[l],n.scale,c,u)}const KD=["x","scaleX","originX"],XD=["y","scaleY","originY"];function Mx(t,n,s,r){jx(t.x,n,KD,s?s.x:void 0,r?r.x:void 0),jx(t.y,n,XD,s?s.y:void 0,r?r.y:void 0)}function Nx(t){return t.translate===0&&t.scale===1}function Mw(t){return Nx(t.x)&&Nx(t.y)}function _x(t,n){return t.min===n.min&&t.max===n.max}function ZD(t,n){return _x(t.x,n.x)&&_x(t.y,n.y)}function Dx(t,n){return Math.round(t.min)===Math.round(n.min)&&Math.round(t.max)===Math.round(n.max)}function Nw(t,n){return Dx(t.x,n.x)&&Dx(t.y,n.y)}function zx(t){return Ne(t.x)/Ne(t.y)}function Px(t,n){return t.translate===n.translate&&t.scale===n.scale&&t.originPoint===n.originPoint}class $D{constructor(){this.members=[]}add(n){rm(this.members,n),n.scheduleRender()}remove(n){if(om(this.members,n),n===this.prevLead&&(this.prevLead=void 0),n===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(n){const s=this.members.findIndex(l=>n===l);if(s===0)return!1;let r;for(let l=s;l>=0;l--){const c=this.members[l];if(c.isPresent!==!1){r=c;break}}return r?(this.promote(r),!0):!1}promote(n,s){const r=this.lead;if(n!==r&&(this.prevLead=r,this.lead=n,n.show(),r)){r.instance&&r.scheduleRender(),n.scheduleRender(),n.resumeFrom=r,s&&(n.resumeFrom.preserveOpacity=!0),r.snapshot&&(n.snapshot=r.snapshot,n.snapshot.latestValues=r.animationValues||r.latestValues),n.root&&n.root.isUpdating&&(n.isLayoutDirty=!0);const{crossfade:l}=n.options;l===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(n=>{const{options:s,resumingFrom:r}=n;s.onExitComplete&&s.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(n=>{n.instance&&n.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function JD(t,n,s){let r="";const l=t.x.translate/n.x,c=t.y.translate/n.y,u=s?.z||0;if((l||c||u)&&(r=`translate3d(${l}px, ${c}px, ${u}px) `),(n.x!==1||n.y!==1)&&(r+=`scale(${1/n.x}, ${1/n.y}) `),s){const{transformPerspective:p,rotate:y,rotateX:g,rotateY:b,skewX:w,skewY:E}=s;p&&(r=`perspective(${p}px) ${r}`),y&&(r+=`rotate(${y}deg) `),g&&(r+=`rotateX(${g}deg) `),b&&(r+=`rotateY(${b}deg) `),w&&(r+=`skewX(${w}deg) `),E&&(r+=`skewY(${E}deg) `)}const h=t.x.scale*n.x,m=t.y.scale*n.y;return(h!==1||m!==1)&&(r+=`scale(${h}, ${m})`),r||"none"}const Ld=["","X","Y","Z"],WD=1e3;let t4=0;function kd(t,n,s,r){const{latestValues:l}=n;l[t]&&(s[t]=l[t],n.setStaticValue(t,0),r&&(r[t]=0))}function _w(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:n}=t.options;if(!n)return;const s=yw(n);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:l,layoutId:c}=t.options;
vendor: 8,899 bytes, line 97
97window.MotionCancelOptimisedAnimation(s,"transform",Gt,!(l||c))}const{parent:r}=t;r&&!r.hasCheckedOptimisedAppear&&_w(r)}function Dw({attachResizeListener:t,defaultParent:n,measureScroll:s,checkIsScrollRoot:r,resetTransform:l}){return class{constructor(u={},h=n?.()){this.id=t4++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(i4),this.nodes.forEach(o4),this.nodes.forEach(l4),this.nodes.forEach(s4)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=u,this.root=h?h.root||h:this,this.path=h?[...h.path,h]:[],this.parent=h,this.depth=h?h.depth+1:0;for(let m=0;m<this.path.length;m++)this.path[m].shouldResetTransform=!0;this.root===this&&(this.nodes=new BD)}addEventListener(u,h){return this.eventHandlers.has(u)||this.eventHandlers.set(u,new um),this.eventHandlers.get(u).add(h)}notifyListeners(u,...h){const m=this.eventHandlers.get(u);m&&m.notify(...h)}hasListeners(u){return this.eventHandlers.has(u)}mount(u){if(this.instance)return;this.isSVG=KS(u)&&!XN(u),this.instance=u;const{layoutId:h,layout:m,visualElement:p}=this.options;if(p&&!p.current&&p.mount(u),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(m||h)&&(this.isLayoutDirty=!0),t){let y,g=0;const b=()=>this.root.updateBlockedByResize=!1;Gt.read(()=>{g=window.innerWidth}),t(u,()=>{const w=window.innerWidth;w!==g&&(g=w,this.root.updateBlockedByResize=!0,y&&y(),y=qD(b,250),yc.hasAnimatedSinceResize&&(yc.hasAnimatedSinceResize=!1,this.nodes.forEach(Ux)))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&p&&(h||m)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:g,hasRelativeLayoutChanged:b,layout:w})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const E=this.options.transition||p.getDefaultTransition()||h4,{onLayoutAnimationStart:A,onLayoutAnimationComplete:M}=p.getProps(),C=!this.targetLayout||!Nw(this.targetLayout,w),Q=!g&&b;if(this.options.layoutRoot||this.resumeFrom||Q||g&&(C||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const B={...Em(E,"layout"),onPlay:A,onComplete:M};(p.shouldReduceMotion||this.options.layoutRoot)&&(B.delay=0,B.type=!1),this.startAnimation(B),this.setAnimationOrigin(y,Q)}else g||Ux(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=w})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const u=this.getStack();u&&u.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ts(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(c4),this.animationId++)}getTransformTemplate(){const{visualElement:u}=this.options;return u&&u.getProps().transformTemplate}willUpdate(u=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&_w(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const g=this.path[y];g.shouldResetTransform=!0,g.updateScroll("snapshot"),g.options.layoutRoot&&g.willUpdate(!1)}const{layoutId:h,layout:m}=this.options;if(h===void 0&&!m)return;const p=this.getTransformTemplate();this.prevTransformTemplateValue=p?p(this.latestValues,""):void 0,this.updateSnapshot(),u&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Lx);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(kx);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(r4),this.nodes.forEach(e4),this.nodes.forEach(n4)):this.nodes.forEach(kx),this.clearAllSnapshots();const h=Ie.now();be.delta=pi(0,1e3/60,h-be.timestamp),be.timestamp=h,be.isProcessing=!0,Ad.update.process(be),Ad.preRender.process(be),Ad.render.process(be),be.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Am.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(a4),this.sharedNodes.forEach(u4)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ne(this.snapshot.measuredBox.x)&&!Ne(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let m=0;m<this.path.length;m++)this.path[m].updateScroll();const u=this.layout;this.layout=this.measure(!1),this.layoutCorrected=te(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:h}=this.options;h&&h.notify("LayoutMeasure",this.layout.layoutBox,u?u.layoutBox:void 0)}updateScroll(u="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===u&&(h=!1),h&&this.instance){const m=r(this.instance);this.scroll={animationId:this.root.animationId,phase:u,isRoot:m,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:m}}}resetTransform(){if(!l)return;const u=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!Mw(this.projectionDelta),m=this.getTransformTemplate(),p=m?m(this.latestValues,""):void 0,y=p!==this.prevTransformTemplateValue;u&&this.instance&&(h||js(this.latestValues)||y)&&(l(this.instance,p),this.shouldResetTransform=!1,this.scheduleRender())}measure(u=!0){const h=this.measurePageBox();let m=this.removeElementScroll(h);return u&&(m=this.removeTransform(m)),m4(m),{animationId:this.root.animationId,measuredBox:h,layoutBox:m,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:u}=this.options;if(!u)return te();const h=u.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(p4))){const{scroll:p}=this.root;p&&(ka(h.x,p.offset.x),ka(h.y,p.offset.y))}return h}removeElementScroll(u){const h=te();if(hn(h,u),this.scroll?.wasRoot)return h;for(let m=0;m<this.path.length;m++){const p=this.path[m],{scroll:y,options:g}=p;p!==this.root&&y&&g.layoutScroll&&(y.wasRoot&&hn(h,u),ka(h.x,y.offset.x),ka(h.y,y.offset.y))}return h}applyTransform(u,h=!1){const m=te();hn(m,u);for(let p=0;p<this.path.length;p++){const y=this.path[p];!h&&y.options.layoutScroll&&y.scroll&&y!==y.root&&Ua(m,{x:-y.scroll.offset.x,y:-y.scroll.offset.y}),js(y.latestValues)&&Ua(m,y.latestValues)}return js(this.latestValues)&&Ua(m,this.latestValues),m}removeTransform(u){const h=te();hn(h,u);for(let m=0;m<this.path.length;m++){const p=this.path[m];if(!p.instance||!js(p.latestValues))continue;Rh(p.latestValues)&&p.updateSnapshot();const y=te(),g=p.measurePageBox();hn(y,g),Mx(h,p.latestValues,p.snapshot?p.snapshot.layoutBox:void 0,y)}return js(this.latestValues)&&Mx(h,this.latestValues),h}setTargetDelta(u){this.targetDelta=u,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(u){this.options={...this.options,...u,crossfade:u.crossfade!==void 0?u.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==be.t
vendor: 7,192 bytes, line 97
97imestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(u=!1){const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==h;if(!(u||m&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:y,layoutId:g}=this.options;if(!(!this.layout||!(y||g))){if(this.resolvedRelativeTargetAt=be.timestamp,!this.targetDelta&&!this.relativeTarget){const b=this.getClosestProjectingParent();b&&b.layout&&this.animationProgress!==1?(this.relativeParent=b,this.forceRelativeParentToResolveTarget(),this.relativeTarget=te(),this.relativeTargetOrigin=te(),lo(this.relativeTargetOrigin,this.layout.layoutBox,b.layout.layoutBox),hn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=te(),this.targetWithTransforms=te()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),SD(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):hn(this.target,this.layout.layoutBox),fw(this.target,this.targetDelta)):hn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const b=this.getClosestProjectingParent();b&&!!b.resumingFrom==!!this.resumingFrom&&!b.options.layoutScroll&&b.target&&this.animationProgress!==1?(this.relativeParent=b,this.forceRelativeParentToResolveTarget(),this.relativeTarget=te(),this.relativeTargetOrigin=te(),lo(this.relativeTargetOrigin,this.target,b.target),hn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Rh(this.parent.latestValues)||uw(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const u=this.getLead(),h=!!this.resumingFrom||this!==u;let m=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(m=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===be.timestamp&&(m=!1),m)return;const{layout:p,layoutId:y}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(p||y))return;hn(this.layoutCorrected,this.layout.layoutBox);const g=this.treeScale.x,b=this.treeScale.y;D_(this.layoutCorrected,this.treeScale,this.path,h),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox,u.targetWithTransforms=te());const{target:w}=u;if(!w){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Ox(this.prevProjectionDelta.x,this.projectionDelta.x),Ox(this.prevProjectionDelta.y,this.projectionDelta.y)),oo(this.projectionDelta,this.layoutCorrected,w,this.latestValues),(this.treeScale.x!==g||this.treeScale.y!==b||!Px(this.projectionDelta.x,this.prevProjectionDelta.x)||!Px(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",w))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(u=!0){if(this.options.visualElement?.scheduleRender(),u){const h=this.getStack();h&&h.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Ha(),this.projectionDelta=Ha(),this.projectionDeltaWithTransform=Ha()}setAnimationOrigin(u,h=!1){const m=this.snapshot,p=m?m.latestValues:{},y={...this.latestValues},g=Ha();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const b=te(),w=m?m.source:void 0,E=this.layout?this.layout.source:void 0,A=w!==E,M=this.getStack(),C=!M||M.members.length<=1,Q=!!(A&&!C&&this.options.crossfade===!0&&!this.path.some(d4));this.animationProgress=0;let B;this.mixTargetDelta=Z=>{const k=Z/1e3;Hx(g.x,u.x,k),Hx(g.y,u.y,k),this.setTargetDelta(g),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(lo(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox),f4(this.relativeTarget,this.relativeTargetOrigin,b,k),B&&ZD(this.relativeTarget,B)&&(this.isProjectionDirty=!1),B||(B=te()),hn(B,this.relativeTarget)),A&&(this.animationValues=y,QD(y,p,this.latestValues,k,Q,C)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=k},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(u){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(ts(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Gt.update(()=>{yc.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Ya(0)),this.currentAnimation=HD(this.motionValue,[0,1e3],{...u,velocity:0,isSync:!0,onUpdate:h=>{this.mixTargetDelta(h),u.onUpdate&&u.onUpdate(h)},onStop:()=>{},onComplete:()=>{u.onComplete&&u.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const u=this.getStack();u&&u.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(WD),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const u=this.getLead();let{targetWithTransforms:h,target:m,layout:p,latestValues:y}=u;if(!(!h||!m||!p)){if(this!==u&&this.layout&&p&&zw(this.options.animationType,this.layout.layoutBox,p.layoutBox)){m=this.target||te();const g=Ne(this.layout.layoutBox.x);m.x.min=u.target.x.min,m.x.max=m.x.min+g;const b=Ne(this.layout.layoutBox.y);m.y.min=u.target.y.min,m.y.max=m.y.min+b}hn(h,m),Ua(h,y),oo(this.projectionDeltaWithTransform,this.layoutCorrected,h,y)}}registerSharedNode(u,h){this.sharedNodes.has(u)||this.sharedNodes.set(u,new $D),this.sharedNodes.get(u).add(h);const p=h.options.initialPromotionConfig;h.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.shouldPreserveFollowOpacity(h):void 0})}isLead(){const u=this.getStack();return u?u.lead===this:!0}getLead(){const{layoutId:u}=this.options;
vendor: 9,234 bytes, line 97
97return u?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:u}=this.options;return u?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:u}=this.options;if(u)return this.root.sharedNodes.get(u)}promote({needsReset:u,transition:h,preserveFollowOpacity:m}={}){const p=this.getStack();p&&p.promote(this,m),u&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const u=this.getStack();return u?u.relegate(this):!1}resetSkewAndRotation(){const{visualElement:u}=this.options;if(!u)return;let h=!1;const{latestValues:m}=u;if((m.z||m.rotate||m.rotateX||m.rotateY||m.rotateZ||m.skewX||m.skewY)&&(h=!0),!h)return;const p={};m.z&&kd("z",u,p,this.animationValues);for(let y=0;y<Ld.length;y++)kd(`rotate${Ld[y]}`,u,p,this.animationValues),kd(`skew${Ld[y]}`,u,p,this.animationValues);u.render();for(const y in p)u.setStaticValue(y,p[y]),this.animationValues&&(this.animationValues[y]=p[y]);u.scheduleRender()}applyProjectionStyles(u,h){if(!this.instance||this.isSVG)return;if(!this.isVisible){u.visibility="hidden";return}const m=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,u.visibility="",u.opacity="",u.pointerEvents=gc(h?.pointerEvents)||"",u.transform=m?m(this.latestValues,""):"none";return}const p=this.getLead();if(!this.projectionDelta||!this.layout||!p.target){this.options.layoutId&&(u.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,u.pointerEvents=gc(h?.pointerEvents)||""),this.hasProjected&&!js(this.latestValues)&&(u.transform=m?m({},""):"none",this.hasProjected=!1);return}u.visibility="";const y=p.animationValues||p.latestValues;this.applyTransformsToTarget();let g=JD(this.projectionDeltaWithTransform,this.treeScale,y);m&&(g=m(y,g)),u.transform=g;const{x:b,y:w}=this.projectionDelta;u.transformOrigin=`${b.origin*100}% ${w.origin*100}% 0`,p.animationValues?u.opacity=p===this?y.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:y.opacityExit:u.opacity=p===this?y.opacity!==void 0?y.opacity:"":y.opacityExit!==void 0?y.opacityExit:0;for(const E in To){if(y[E]===void 0)continue;const{correct:A,applyTo:M,isCSSVariable:C}=To[E],Q=g==="none"?y[E]:A(y[E],p);if(M){const B=M.length;for(let Z=0;Z<B;Z++)u[M[Z]]=Q}else C?this.options.visualElement.renderState.vars[E]=Q:u[E]=Q}this.options.layoutId&&(u.pointerEvents=p===this?gc(h?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(u=>u.currentAnimation?.stop()),this.root.nodes.forEach(Lx),this.root.sharedNodes.clear()}}}function e4(t){t.updateLayout()}function n4(t){const n=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:r}=t.layout,{animationType:l}=t.options,c=n.source!==t.layout.source;l==="size"?mn(y=>{const g=c?n.measuredBox[y]:n.layoutBox[y],b=Ne(g);g.min=s[y].min,g.max=g.min+b}):zw(l,n.layoutBox,s)&&mn(y=>{const g=c?n.measuredBox[y]:n.layoutBox[y],b=Ne(s[y]);g.max=g.min+b,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[y].max=t.relativeTarget[y].min+b)});const u=Ha();oo(u,s,n.layoutBox);const h=Ha();c?oo(h,t.applyTransform(r,!0),n.measuredBox):oo(h,s,n.layoutBox);const m=!Mw(u);let p=!1;if(!t.resumeFrom){const y=t.getClosestProjectingParent();if(y&&!y.resumeFrom){const{snapshot:g,layout:b}=y;if(g&&b){const w=te();lo(w,n.layoutBox,g.layoutBox);const E=te();lo(E,s,b.layoutBox),Nw(w,E)||(p=!0),y.options.layoutRoot&&(t.relativeTarget=E,t.relativeTargetOrigin=w,t.relativeParent=y)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:n,delta:h,layoutDelta:u,hasLayoutChanged:m,hasRelativeLayoutChanged:p})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function i4(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function s4(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function a4(t){t.clearSnapshot()}function Lx(t){t.clearMeasurements()}function kx(t){t.isLayoutDirty=!1}function r4(t){const{visualElement:n}=t.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),t.resetTransform()}function Ux(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function o4(t){t.resolveTargetDelta()}function l4(t){t.calcProjection()}function c4(t){t.resetSkewAndRotation()}function u4(t){t.removeLeadSnapshot()}function Hx(t,n,s){t.translate=Ft(n.translate,0,s),t.scale=Ft(n.scale,1,s),t.origin=n.origin,t.originPoint=n.originPoint}function Vx(t,n,s,r){t.min=Ft(n.min,s.min,r),t.max=Ft(n.max,s.max,r)}function f4(t,n,s,r){Vx(t.x,n.x,s.x,r),Vx(t.y,n.y,s.y,r)}function d4(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const h4={duration:.45,ease:[.4,0,.1,1]},Bx=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),qx=Bx("applewebkit/")&&!Bx("chrome/")?Math.round:gn;function Ix(t){t.min=qx(t.min),t.max=qx(t.max)}function m4(t){Ix(t.x),Ix(t.y)}function zw(t,n,s){return t==="position"||t==="preserve-aspect"&&!bD(zx(n),zx(s),.2)}function p4(t){return t!==t.root&&t.scroll?.wasRoot}const g4=Dw({attachResizeListener:(t,n)=>Ao(t,"resize",n),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ud={current:void 0},Pw=Dw({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Ud.current){const t=new g4({});t.mount(window),t.setOptions({layoutScroll:!0}),Ud.current=t}return Ud.current},resetTransform:(t,n)=>{t.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),y4={pan:{Feature:PD},drag:{Feature:zD,ProjectionNode:Pw,MeasureLayout:Ow}};function Qx(t,n,s){const{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover",s==="Start");const l="onHover"+s,c=r[l];c&&Gt.postRender(()=>c(n,Po(n)))}class v4 extends is{mount(){const{current:n}=this.node;n&&(this.unmount=QN(n,(s,r)=>(Qx(this.node,r,"Start"),l=>Qx(this.node,l,"End"))))}unmount(){}}class x4 extends is{constructor(){super(...arguments),this.isActive=!1}onFocus(){let n=!1;try{n=this.node.current.matches(":focus-visible")}catch{n=!0}!n||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=_o(Ao(this.node.current,"focus",()=>this.onFocus()),Ao(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Gx(t,n,s){const{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap",s==="Start");const l="onTap"+(s==="End"?"":s),c=r[l];c&&Gt.postRender(()=>c(n,Po(n)))}class b4 extends is{mount(){const{current:n}=this.node;n&&(this.unmount=KN(n,(s,r)=>(Gx(this.node,r,"Start"),(l,{success:c})=>Gx(this.node,l,c?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Ph=new WeakMap,Hd=new WeakMap,S4=t=>{const n=Ph.get(t.target);n&&n(t)},w4=t=>{t.forEach(S4)};function E4({root:t,...n}){const s=t||document;Hd.has(s)||Hd.set(s,{});const r=Hd.get(s),l=JSON.stringify(n);return r[l]||(r[l]=new IntersectionObserver(w4,{root:t,...n})),r[l]}function T4(t,n,s){const r=E4(n);return Ph.set(t,s),r.observe(t),()=>{Ph.delete(t),r.unobserve(t)}}const A4={some:0,all:1};class C4 extends is{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:n={}}=this.node.getProps(),{root:s,margin:r,amount:l="some",once:c}=n,u={root:s?s.current:void 0,rootMargin:r,threshold:typeof l=="number"?l:A4[l]},h=m=>{const{isIntersecting:p}=m;if(this.isInView===p||(this.isInView=p,c&&!p&&this.hasEnteredView))return;p&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",p);const{onViewportEnter:y,onViewportLeave:g}=this.node.getProps(),b=p?y:g;b&&b(m)};return T4(this.node.current,u,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:s}=this.node;["amount","margin","root"].some(O4(n,s))&&this.startObserver()}unmount(){}}function O4({viewport:t={}},{viewport:n={}}={}){return s=>t[s]!==n[s]}const R4={inView:{Feature:C4},tap:{Feature:b4},focus:{Feature:x4},hover:{Feature:v4}},j4={layout:{ProjectionNode:Pw,MeasureLayout:Ow}},M4={...mD,...R4,...y4,...j4},Lh=M_(M4,I_),N4={some:0,all:1};function _4(t,n,{root:s,margin:r,amount:l="some"}={}){const c=IS(t),u=new WeakMap,h=p=>{p.forEach(y=>{const g=u.get(y.target);if(y.isIntersecting!==!!g)if(y.isIntersecting){const b=n(y.target,y);typeof b=="function"?u.set(y.target,b):m.unobserve(y.target)}else typeof g=="function"&&(g(y),u.delete(y.target))})},m=new IntersectionObserver(h,{root:s,rootMargin:r,threshold:typeof l=="number"?l:N4[l]});
97return c.forEach(p=>m.observe(p)),()=>m.disconnect()}function D4(t,{root:n,margin:s,amount:r,once:l=!1,initial:c=!1}={}){const[u,h]=O.useState(c);return O.useEffect(()=>{if(!t.current||l&&u)return;const m=()=>(h(!0),l?void 0:()=>h(!1)),p={root:n&&n.current||void 0,margin:s,amount:r};return _4(t.current,m,p)},[n,t,s,l,r]),u}const lc="/iscrizione",z4="https://app.cal.eu/codici-marche-odv/15min?user=codici-marche-odv",Yx="/manus-storage/CODICI-colors_6a89e155.png",P4="/manus-storage/logocodicicircolare_5e2ec552.jpg",L4="/manus-storage/Design14_f2b01dba.png";function Vd({children:t}){return x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:19",className:"flex items-start gap-4 mb-8",children:[x.jsx("div",{"data-loc":"client/src/pages/Home.tsx:20",className:"w-1 bg-[#E31E24] self-stretch min-h-[2.5rem] rounded-full flex-shrink-0"}),x.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:21",className:"text-3xl md:text-4xl font-black text-[#1A1A1A] leading-tight uppercase tracking-tight font-display",children:t})]})}function cc({children:t,className:n=""}){const s=O.useRef(null),r=D4(s,{once:!0,margin:"-80px"});return x.jsx(Lh.div,{"data-loc":"client/src/pages/Home.tsx:32",ref:s,initial:{opacity:0,x:-20},animate:r?{opacity:1,x:0}:{},transition:{duration:.4,ease:[.23,1,.32,1]},className:n,children:t})}function k4(){const[t,n]=O.useState(!1);return O.useEffect(()=>{const s=()=>n(window.scrollY>40);return window.addEventListener("scroll",s),()=>window.removeEventListener("scroll",s)},[]),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:54",className:"min-h-screen bg-white font-body text-[#1A1A1A]",children:[x.jsx("header",{"data-loc":"client/src/pages/Home.tsx:56",className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${t?"bg-white/95 backdrop-blur-md shadow-sm":"bg-white"}`,children:x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:61",className:"max-w-6xl mx-auto px-4 sm:px-6 flex items-center justify-between h-16",children:[x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:62",href:"https://www.codicimarche.org",target:"_blank",rel:"noopener noreferrer",children:x.jsx("img",{"data-loc":"client/src/pages/Home.tsx:63",src:Yx,alt:"Codici Marche",className:"h-10 w-auto"})}),x.jsxs("nav",{"data-loc":"client/src/pages/Home.tsx:65",className:"hidden md:flex items-center gap-6 text-sm font-semibold uppercase tracking-wide",children:[x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:66",href:"https://www.codicimarche.org/chi-siamo/",target:"_blank",rel:"noopener noreferrer",className:"hover:text-[#E31E24] transition-colors",children:"Chi Siamo"}),x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:67",href:"https://www.codicimarche.org/cosa-facciamo/",target:"_blank",rel:"noopener noreferrer",className:"hover:text-[#E31E24] transition-colors",children:"Cosa Facciamo"}),x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:68",href:"https://www.codicimarche.org/news-e-aggiornamenti/",target:"_blank",rel:"noopener noreferrer",className:"hover:text-[#E31E24] transition-colors",children:"News"}),x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:69",href:"https://www.codicimarche.org/dove-siamo/",target:"_blank",rel:"noopener noreferrer",className:"hover:text-[#E31E24] transition-colors",children:"Dove Siamo"})]}),x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:71",href:lc,target:"_blank",rel:"noopener noreferrer",className:"bg-[#E31E24] text-white font-bold uppercase tracking-wide px-5 py-2.5 text-sm hover:bg-[#c01a20] active:scale-95 transition-all duration-150 rounded-sm",children:"Iscriviti"})]})}),x.jsx("section",{"data-loc":"client/src/pages/Home.tsx:83",className:"pt-16 min-h-[85vh] flex items-center bg-white",children:x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:84",className:"max-w-6xl mx-auto px-4 sm:px-6 py-16 grid md:grid-cols-2 gap-12 items-center",children:[x.jsxs(Lh.div,{"data-loc":"client/src/pages/Home.tsx:85",initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.5,ease:[.23,1,.32,1]},children:[x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:90",className:"inline-block bg-[#E31E24] text-white text-xs font-bold uppercase tracking-widest px-3 py-1.5 mb-6",children:"#DifendiamoIDirittiInsieme"}),x.jsxs("h1",{"data-loc":"client/src/pages/Home.tsx:93",className:"text-5xl md:text-6xl font-black uppercase leading-none tracking-tight font-display text-[#1A1A1A] mb-6",children:["Difendiamo",x.jsx("br",{"data-loc":"client/src/pages/Home.tsx:94"}),x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:95",className:"text-[#E31E24]",children:"i tuoi diritti,"}),x.jsx("br",{"data-loc":"client/src/pages/Home.tsx:95"}),"tuteliamo",x.jsx("br",{"data-loc":"client/src/pages/Home.tsx:96"}),"il tuo futuro"]}),x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:98",className:"text-lg text-gray-600 mb-8 leading-relaxed max-w-md",children:"Unisciti a Codici Marche Odv e fai sentire la tua voce. Siamo al tuo fianco contro ingiustizie, abusi e disservizi."}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:101",className:"flex flex-wrap gap-3",children:[x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:102",href:"#info",className:"bg-[#1A1A1A] text-white font-bold uppercase tracking-wide px-6 py-3 hover:bg-[#333] active:scale-95 transition-all duration-150 rounded-sm",children:"Richiedi Informazioni"}),x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:108",href:"#sportello",className:"border-2 border-[#1A1A1A] text-[#1A1A1A] font-bold uppercase tracking-wide px-6 py-3 hover:bg-[#1A1A1A] hover:text-white active:scale-95 transition-all duration-150 rounded-sm",children:"Sportello Virtuale"}),x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:114",href:lc,target:"_blank",rel:"noopener noreferrer",className:"bg-[#E31E24] text-white font-bold uppercase tracking-wide px-6 py-3 hover:bg-[#c01a20] active:scale-95 transition-all duration-150 rounded-sm",children:"Iscriviti Ora"})]})]}),x.jsx(Lh.div,{"data-loc":"client/src/pages/Home.tsx:124",initial:{opacity:0,scale:.95}
97,animate:{opacity:1,scale:1},transition:{duration:.5,delay:.15,ease:[.23,1,.32,1]},className:"flex justify-center",children:x.jsx("img",{"data-loc":"client/src/pages/Home.tsx:130",src:P4,alt:"Codici Marche",className:"w-64 h-64 md:w-80 md:h-80 object-contain rounded-full shadow-2xl"})})]})}),x.jsx("section",{"data-loc":"client/src/pages/Home.tsx:140",className:"bg-[#F5F5F5] py-20",children:x.jsx("div",{"data-loc":"client/src/pages/Home.tsx:141",className:"max-w-6xl mx-auto px-4 sm:px-6",children:x.jsxs(cc,{"data-loc":"client/src/pages/Home.tsx:142",children:[x.jsx(Vd,{"data-loc":"client/src/pages/Home.tsx:143",children:"Chi è Codici Marche"}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:144",className:"grid md:grid-cols-2 gap-10",children:[x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:145",children:[x.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:146",className:"text-lg text-gray-700 leading-relaxed mb-4",children:["L'associazione ",x.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:147",children:'"Centro per i Diritti del Cittadino Codici Marche Odv"'})," difende i diritti dei cittadini — siano consumatori, utenti o produttori — dalle angherie da parte di grandi aziende, fisco, pubblica amministrazione, finanziarie, assicurazioni e molto altro."]}),x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:149",className:"text-lg text-gray-700 leading-relaxed",children:"Con la nostra esperienza e competenza, offriamo supporto concreto per risolvere problematiche e tutelare i tuoi interessi in ogni ambito della vita quotidiana."})]}),x.jsx("div",{"data-loc":"client/src/pages/Home.tsx:153",className:"grid grid-cols-1 gap-4",children:[{icon:"🛡️",title:"Difesa dei Diritti",desc:"Ti assistiamo nelle controversie contro pratiche commerciali scorrette e disservizi pubblici."},{icon:"🤝",title:"Assistenza Personalizzata",desc:"Supporto su misura per ogni caso e soluzioni condivise attraverso la conciliazione stragiudiziale."},{icon:"⚖️",title:"Tutela Legale",desc:"Quando necessario, ti supportiamo con assistenza legale qualificata per difendere i tuoi diritti."}].map(s=>x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:159",className:"bg-white p-5 border-l-4 border-[#E31E24] shadow-sm",children:[x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:160",className:"flex items-center gap-3 mb-2",children:[x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:161",className:"text-2xl",children:s.icon}),x.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:162",className:"font-bold text-[#1A1A1A] text-base uppercase tracking-wide",children:s.title})]}),x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:164",className:"text-gray-600 text-sm leading-relaxed",children:s.desc})]},s.title))})]})]})})}),x.jsx("section",{"data-loc":"client/src/pages/Home.tsx:174",id:"info",className:"bg-white py-20",children:x.jsx("div",{"data-loc":"client/src/pages/Home.tsx:175",className:"max-w-6xl mx-auto px-4 sm:px-6",children:x.jsxs(cc,{"data-loc":"client/src/pages/Home.tsx:176",children:[x.jsx(Vd,{"data-loc":"client/src/pages/Home.tsx:177",children:"Richiedi Informazioni"}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:178",className:"grid md:grid-cols-2 gap-12",children:[x.jsx(H4,{"data-loc":"client/src/pages/Home.tsx:179"}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:180",className:"space-y-6",children:[x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:181",className:"flex items-start gap-4 p-5 bg-[#F5F5F5]",children:[x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:182",className:"text-2xl mt-0.5",children:"📍"}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:183",children:[x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:184",className:"font-bold text-[#1A1A1A] mb-1",children:"Sedi"}),x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:185",className:"text-gray-600 text-sm",children:"Ancona, Macerata, Pesaro Urbino, Ascoli Piceno"}),x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:186",href:"https://www.codicimarche.org/dove-siamo/",target:"_blank",rel:"noopener noreferrer",className:"text-[#E31E24] text-sm font-semibold hover:underline mt-1 inline-block",children:"Trova la sede più vicina →"})]})]}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:189",className:"flex items-start gap-4 p-5 bg-[#F5F5F5]",children:[x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:190",className:"text-2xl mt-0.5",children:"✉️"}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:191",children:[x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:192",className:"font-bold text-[#1A1A1A] mb-1",children:"Email"}),x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:193",href:"mailto:[email protected]",className:"text-[#E31E24] text-sm font-semibold hover:underline",children:"[email protected]"})]})]}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:196",className:"flex items-start gap-4 p-5 bg-[#F5F5F5]",children:[x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:197",className:"text-2xl mt-0.5",children:"📞"}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:198",children:[x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:199",className:"font-bold text-[#1A1A1A] mb-1",children:"Telefono & WhatsApp"}),x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:200",href:"tel:+393792609884",className:"text-[#E31E24] text-sm font-semibold hover:underline",children:"379 260 9884"})]})]})]})]})]})})}),x.jsx("section",{"data-loc":"client/src/pages/Home.tsx:210",id:"sportello",className:"bg-[#1A1A1A] py-20",children:x.jsx("div",{"data-loc":"client/src/pages/Home.tsx:211",className:"max-w-6xl mx-auto px-4 sm:px-6",children:x.jsxs(cc,{"data-loc":"client/src/pages/Home.tsx:212",children:[x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:213",className:"flex items-start gap-4 mb-8",children:[x.jsx("div",{"data-loc":"client/src/pages/Home.tsx:214",className:"w-1 bg-[#E31E24] self-stretch min-h-[2.5rem] rounded-full flex-shrink-0"}),x.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:215",className:"text-3xl md:text-4xl font-black text-white leading-tight uppercase tracking-tight font-display",children:"Sportello Virtuale"})]}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:219",className:"grid md:grid-cols-2 gap-10 items-center",children:[x.jsx("div",{"data-loc":"client/src/pages/Home.tsx:220",children:x.jsx("img",{"data-loc":"client/src/pages/Home.tsx:221",src:L4,alt:"Sportello Virtuale Codici Marche",className:"w-full rounded-sm shadow-xl mb-6 md:mb-0"})}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:227",children:[x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:228",className:"text-gray-300 text-lg leading-relaxed mb-4",children:"Hai bisogno di assistenza immediata? Prenota un appuntamento con il nostro Sportello Virtuale e parla direttamente con i nostri esperti."}),x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:231",className:"text-gray-300 text-lg leading-relaxed mb-8",children:"Il servizio ti permette di ricevere consulenza personalizzata comodamente da casa tua."}),x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:234",href:z4,target:"_blank",rel:"noopener noreferrer",className:"inline-block bg-[#E31E24] text-white font-bold uppercase tracking-wide px-8 py-4 hover:bg-[#c01a20] active:scale-95 transition-all duration-150 rounded-sm text-base",children:"Prenota Appuntamento"})]})]})]})})}),x.jsx("section",{"data-loc":"client/src/pages/Home.tsx:249",className:"bg-[#F5F5F5] py-20",children:x.jsx("div",{"data-loc":"client/src/pages/Home.tsx:250",className:"max-w-6xl mx-auto px-4 sm:px-6",children:x.jsxs(cc,{"data-loc":"client/src/pages/Home.tsx:251",children:[x.jsx(Vd,{"data-loc":"client/src/pages/Home.tsx:252",children:"Perché iscriversi a Codici Marche?"}),x.jsx("div",{"data-loc":"client/src/pages/Home.tsx:253",className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6 mb-12",children:[{num:"01",text:"Assistenza continua per la tutela dei tuoi diritti"},{num:"02",text:"Supporto legale qualificato e conciliazione"},{num:"03",text:"Accesso allo Sportello Virtuale"},{num:"04",text:"Far parte di una comunità che difende i cittadini"}
97].map(s=>x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:260",className:"bg-white p-6 shadow-sm",children:[x.jsx("div",{"data-loc":"client/src/pages/Home.tsx:261",className:"text-4xl font-black text-[#E31E24] font-display mb-3",children:s.num}),x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:262",className:"text-[#1A1A1A] font-medium leading-snug",children:s.text})]},s.num))}),x.jsx("div",{"data-loc":"client/src/pages/Home.tsx:266",className:"text-center",children:x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:267",href:lc,target:"_blank",rel:"noopener noreferrer",className:"inline-block bg-[#E31E24] text-white font-black uppercase tracking-widest px-10 py-5 text-lg hover:bg-[#c01a20] active:scale-95 transition-all duration-150 rounded-sm shadow-lg",children:"Iscriviti Ora a Codici Marche"})})]})})}),x.jsx("footer",{"data-loc":"client/src/pages/Home.tsx:281",className:"bg-[#1A1A1A] text-white py-12",children:x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:282",className:"max-w-6xl mx-auto px-4 sm:px-6",children:[x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:283",className:"grid md:grid-cols-3 gap-8 mb-8",children:[x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:284",children:[x.jsx("img",{"data-loc":"client/src/pages/Home.tsx:285",src:Yx,alt:"Codici Marche",className:"h-10 w-auto mb-3 brightness-0 invert"}),x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:286",className:"text-gray-400 text-sm leading-relaxed",children:"Centro per i Diritti del Cittadino Codici Marche Odv"})]}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:288",children:[x.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:289",className:"font-bold uppercase tracking-wide text-sm mb-4 text-[#E31E24]",children:"Collegamenti Rapidi"}),x.jsxs("ul",{"data-loc":"client/src/pages/Home.tsx:290",className:"space-y-2 text-sm text-gray-400",children:[x.jsx("li",{"data-loc":"client/src/pages/Home.tsx:291",children:x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:291",href:"https://www.codicimarche.org/chi-siamo/",target:"_blank",rel:"noopener noreferrer",className:"hover:text-white transition-colors",children:"Chi Siamo"})}),x.jsx("li",{"data-loc":"client/src/pages/Home.tsx:292",children:x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:292",href:"https://www.codicimarche.org/cosa-facciamo/",target:"_blank",rel:"noopener noreferrer",className:"hover:text-white transition-colors",children:"Cosa Facciamo"})}),x.jsx("li",{"data-loc":"client/src/pages/Home.tsx:293",children:x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:293",href:"https://www.codicimarche.org/news-e-aggiornamenti/",target:"_blank",rel:"noopener noreferrer",className:"hover:text-white transition-colors",children:"News"})}),x.jsx("li",{"data-loc":"client/src/pages/Home.tsx:294",children:x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:294",href:"https://www.codicimarche.org/dove-siamo/",target:"_blank",rel:"noopener noreferrer",className:"hover:text-white transition-colors",children:"Dove Siamo"})}),x.jsx("li",{"data-loc":"client/src/pages/Home.tsx:295",children:x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:296",href:lc,target:"_blank",rel:"noopener noreferrer",className:"hover:text-[#E31E24] transition-colors font-semibold",children:"Iscriviti"})})]})]}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:307",children:[x.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:308",className:"font-bold uppercase tracking-wide text-sm mb-4 text-[#E31E24]",children:"Seguici"}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:309",className:"flex gap-4",children:[x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:310",href:"https://www.facebook.com/Codici.Marche/",target:"_blank",rel:"noopener noreferrer",className:"text-gray-400 hover:text-white transition-colors text-xl",children:"f"}),x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:311",href:"https://x.com/Codici_Ancona",target:"_blank",rel:"noopener noreferrer",className:"text-gray-400 hover:text-white transition-colors text-xl",children:"𝕏"}),x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:312",href:"https://www.instagram.com/codici.marcheodv/",target:"_blank",rel:"noopener noreferrer",className:"text-gray-400 hover:text-white transition-colors text-xl",children:"◎"})]})]})]}),x.jsx("div",{"data-loc":"client/src/pages/Home.tsx:316",className:"border-t border-white/10 pt-6 text-center text-gray-500 text-xs",children:"© 2025 Codici Marche Odv. Tutti i diritti riservati."})]})})]})}const U4="https://formspree.io/f/mjybeaqk";function H4(){const[t,n]=O.useState(!1),[s,r]=O.useState(!1),[l,c]=O.useState(""),[u,h]=O.useState({name:"",email:"",ph
97one:"",message:""}),m=async p=>{p.preventDefault(),r(!0),c("");try{if(!(await fetch(U4,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({_subject:"Richiesta informazioni dal sito iscrizioni",nome:u.name,email:u.email,telefono:u.phone,messaggio:u.message})})).ok)throw new Error("invio non riuscito");n(!0)}catch{c("Non siamo riusciti a inviare la richiesta. Riprova, oppure scrivici a [email protected] o al 379 260 9884.")}finally{r(!1)}};return t?x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:360",className:"bg-green-50 border-l-4 border-green-500 p-8 text-center",children:[x.jsx("div",{"data-loc":"client/src/pages/Home.tsx:361",className:"text-4xl mb-3",children:"✅"}),x.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:362",className:"font-bold text-green-800 text-lg mb-2",children:"Richiesta inviata!"}),x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:363",className:"text-green-700 text-sm",children:"Ti risponderemo il prima possibile."})]}):x.jsxs("form",{"data-loc":"client/src/pages/Home.tsx:369",onSubmit:m,className:"space-y-4",children:[x.jsx("input",{"data-loc":"client/src/pages/Home.tsx:370",type:"text",name:"_gotcha",tabIndex:-1,autoComplete:"off",style:{display:"none"}}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:372",children:[x.jsx("label",{"data-loc":"client/src/pages/Home.tsx:373",className:"block text-sm font-bold uppercase tracking-wide text-[#1A1A1A] mb-1",children:"Nome e Cognome"}),x.jsx("input",{"data-loc":"client/src/pages/Home.tsx:374",type:"text",required:!0,value:u.name,onChange:p=>h({...u,name:p.target.value}),className:"w-full border-2 border-gray-200 focus:border-[#E31E24] outline-none px-4 py-3 text-sm transition-colors rounded-sm",placeholder:"Mario Rossi"})]}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:377",children:[x.jsx("label",{"data-loc":"client/src/pages/Home.tsx:378",className:"block text-sm font-bold uppercase tracking-wide text-[#1A1A1A] mb-1",children:"Email"}),x.jsx("input",{"data-loc":"client/src/pages/Home.tsx:379",type:"email",required:!0,value:u.email,onChange:p=>h({...u,email:p.target.value}),className:"w-full border-2 border-gray-200 focus:border-[#E31E24] outline-none px-4 py-3 text-sm transition-colors rounded-sm",placeholder:"[email protected]"})]}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:382",children:[x.jsx("label",{"data-loc":"client/src/pages/Home.tsx:383",className:"block text-sm font-bold uppercase tracking-wide text-[#1A1A1A] mb-1",children:"Telefono"}),x.jsx("input",{"data-loc":"client/src/pages/Home.tsx:384",type:"tel",value:u.phone,onChange:p=>h({...u,phone:p.target.value}),className:"w-full border-2 border-gray-200 focus:border-[#E31E24] outline-none px-4 py-3 text-sm transition-colors rounded-sm",placeholder:"+39 3XX XXX XXXX"})]}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:387",children:[x.jsx("label",{"data-loc":"client/src/pages/Home.tsx:388",className:"block text-sm font-bold uppercase tracking-wide text-[#1A1A1A] mb-1",children:"Il tuo messaggio"}),x.jsx("textarea",{"data-loc":"client/src/pages/Home.tsx:389",required:!0,rows:4,value:u.message,onChange:p=>h({...u,message:p.target.value}),className:"w-full border-2 border-gray-200 focus:border-[#E31E24] outline-none px-4 py-3 text-sm transition-colors rounded-sm resize-none",placeholder:"Descrivi brevemente la tua situazione..."})]}),l&&x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:392",className:"text-sm text-[#E31E24] font-semibold",role:"alert",children:l}),x.jsx("button",{"data-loc":"client/src/pages/Home.tsx:394",type:"submit",disabled:s,className:"w-full bg-[#E31E24] text-white font-bold uppercase tracking-wide py-4 hover:bg-[#c01a20] active:scale-95 transition-all duration-150 disabled:opacity-60 rounded-sm",children:s?"Invio in corso...":"Invia Richiesta"})]})}const V4="/manus-storage/CODICI-colors_6a89e155.png",Fx=[{id:"supporter",title:"Socio Digitale",price:1,color:"#6B7280",benefits:["Accesso alla newsletter e agli aggiornamenti","Accesso alla newsletter","Partecipazione agli eventi"],description:"Accesso digitale alle attività dell'associazione"}
97,{id:"ordinary",title:"Socio Ordinario",price:15,color:"#E31E24",benefits:["Analisi ed Assistenza di base","Accesso allo Sportello Virtuale","Newsletter","Supporto per controversie semplici"],description:"La scelta più popolare per la tutela quotidiana",popular:!0},{id:"services",title:"Tessera Servizi",price:50,color:"#16A34A",benefits:["Tutto il piano Ordinario","Consulenza 730 e ISEE inclusa","Assistenza prioritaria","Accesso a webinar esclusivi","Supporto per controversie complesse"],description:"Assistenza completa con servizi fiscali inclusi"},{id:"plus",title:"Tessera ServiziPlus",price:120,color:"#1A1A1A",benefits:["Tutto il piano Servizi","Consulenze illimitate","Supporto Prioritario 24/7*","Assistenza stragiudiziale","Rappresentanza legale in giudizio"],description:"La massima protezione e supporto disponibili"}],B4=[{code:"IT",name:"Italia"},{code:"CH",name:"Svizzera"},{code:"AT",name:"Austria"},{code:"FR",name:"Francia"},{code:"DE",name:"Germania"},{code:"ES",name:"Spagna"}],Kx="IT10X0849121302000240000391",Xx={supporter:"https://www.paypal.com/ncp/payment/H3KAATJ7BEJRJ",ordinary:"https://www.paypal.com/ncp/payment/DQ93SNSQ9U876",services:"https://www.paypal.com/ncp/payment/KERZUY785Q4BL",plus:"https://www.paypal.com/ncp/payment/LHV6KFZFC82EU"},Zx="https://www.satispay.com/app/pay/shops/b31aa572-321d-4802-9432-7aa0aff7cfa9",q4=["poczta.onet.eu","onet.eu","op.pl","mailinator.com","guerrillamail.com","10minutemail.com","yopmail.com","sharklasers.com","getnada.com","trashmail.com","tempmail.com","temp-mail.org","throwawaymail.com","dispostable.com","maildrop.cc","fakeinbox.com"];function I4(t){const n=t.split("@")[1]?.toLowerCase()??"";return q4.includes(n)}function Q4(){const[t,n]=O.useState("ordinary"),[s,r]=O.useState(!1),[l,c]=O.useState(!1),u=Fx.find(T=>T.id===t),[h,m]=O.useState(""),p=O.useRef(Date.now()),[y,g]=O.useState(""),[b,w]=O.useState(!1),[E,A]=O.useState(""),M=qa.subscriptions.getCaptcha.useQuery(void 0,{refetchOnWindowFocus:!1,staleTime:540*1e3});O.useEffect(()=>{M.data?.token&&A(M.data.token)},[M.data?.token]);const[C,Q]=O.useState({nome:"",cognome:"",codiceFiscale:"",email:"",telefono:"",indirizzo:"",numeroCivico:"",dataNascita:"",luogoNascita:"",provinciaNascita:"",citta:"",cap:"",provincia:"",paese:"IT",statuoPrivacy:!1,newsletter:!1}),B={A:1,B:2,C:3,D:4,E:5,H:6,L:7,M:8,P:9,R:10,S:11,T:12},Z={0:1,1:0,2:5,3:7,4:9,5:13,6:15,7:17,8:19,9:21,A:1,B:0,C:5,D:7,E:9,F:13,G:15,H:17,I:19,J:21,K:2,L:4,M:18,N:20,O:11,P:3,Q:6,R:8,S:12,T:14,U:16,V:10,W:22,X:25,Y:24,Z:23},k={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:0,B:1,C:2,D:3,E:4,F:5,G:6,H:7,I:8,J:9,K:10,L:11,M:12,N:13,O:14,P:15,Q:16,R:17,S:18,T:19,U:20,V:21,W:22,X:23,Y:24,Z:25},G="ABCDEFGHIJKLMNOPQRSTUVWXYZ";function N(T){if(T.length!==16)return!1;const q=T.toUpperCase();let U=0;for(let F=0;F<15;F++){const tt=q[F];U+=F%2===0?Z[tt]??0:k[tt]??0}return G[U%26]===q[15]}function D(T){if(T.length!==16)return null;const q=T.toUpperCase(),U=q.slice(6,8),F=q[8],tt=B[F];if(!tt)return null;const ft=parseInt(q.slice(9,11),10);if(isNaN(ft))return null;const ut=ft>40?"F":"M",vt=ut==="F"?ft-40:ft,At=parseInt(U,10)>=25?1900+parseInt(U,10):2e3+parseInt(U,10),oe=String(vt).padStart(2,"0"),he=String(tt).padStart(2,"0");return{date:`${oe}/${he}/${At}`,gender:ut}}const J=C.codiceFiscale.toUpperCase(),W=J.length===16,it=W?N(J):!0,et=W?D(J):null,at=C.dataNascita?(()=>{const[T,q,U]=C.dataNascita.split("-");return`${U}/${q}/${T}`})():"",rt=et&&at?et.date===at:!0,ct=W&&(!it||!rt),j=qa.subscriptions.create.useMutation({onSuccess:()=>{r(!0),En.success(`Iscrizione a ${u.title} avviata! Controlla la tua email.`)},onError:T=>{T.message?.includes("anti-bot")&&(w(!0),g(""),M.refetch()),En.error(T.message||"Errore durante l'iscrizione. Riprova più tardi.")}}),P=T=>{const{name:q,value:U,type:F}=T.target;Q(F==="checkbox"?tt=>({...tt,[q]:T.target.checked}):tt=>({...tt,[q]:U}))},z=T=>T.trim().replace(/\b\w/g,q=>q.toUpperCase()),nt=async T=>{if(T.preventDefault(),!(h||Date.now()-p.current<3e3)){if(C.codiceFiscale.replace(/\s/g,"").length!==16){En.error("Il Codice Fiscale deve essere di esattamente 16 caratteri.");return}if(!N(C.codiceFiscale.toUpperCase())){En.error("Il codice fiscale non corrisponde ai dati anagrafici inseriti. Verifica i dati.");return}if(et&&at&&et.date!==at){En.error("Il codice fiscale non corrisponde ai dati anagrafici inseriti. Verifica i dati.");return}if(!/^\d{5}$/.test(C.cap)){En.error("Il CAP deve essere di esattamente 5 cifre numeriche.");return}if(!/^[A-Za-z]{2}$/.test(C.provinciaNascita)){En.error("La Provincia di nascita deve essere una sigla di 2 lettere (EE se nato all'estero).");return}if(C.provincia&&!/^[A-Za-z]{2}$/.test(C.provincia)){En.error("La Provincia deve essere una sigla di 2 lettere (es. MC, AN).");return}if(I4(C.email)){En.error("Indirizzo email non ammesso. Usa un indirizzo email personale valido.");return}if(!y.trim()){w(!0),En.error("Inserisci la risposta alla verifica anti-bot.");return}if(w(!1),!C.statuoPrivacy){En.error("Devi accettare lo Statuto e l'informativa privacy");return}await j.mutateAsync({firstName:z(C.nome),lastName:z(C.cognome),fiscalCode:C.codiceFiscale,email:C.email,phone:C.telefono,address:C.indirizzo,streetNumber:C.numeroCivico,birthDate:C.dataNascita,birthPlace:z(C.luogoNascita),birthProvince:C.provinciaNascita.toUpperCase(),city:C.citta,postalCode:C.cap,province:C.provincia,country:C.paese,membership:t,membershipType:u.title,amount:String(u.price),statusPrivacy:C.statuoPrivacy,newsletter:C.newsletter,honeypot:h,captchaToken:E,captchaAnswer:y.trim(),loadTimestamp:p.current})}},ot=()=>{navigator.clipboard.writeText(Kx),c(!0),setTimeout(()=>c(!1),2e3)};return x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:332",className:"min-h-screen bg-white font-body text-[#1A1A1A]",children:[x.jsx("header",{"data-loc":"client/src/pages/Iscrizione.tsx:334",className:"bg-white border-b border-gray-100 sticky top-0 z-50 shadow-sm",children:x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:335",className:"max-w-6xl mx-auto px-4 sm:px-6 flex items-center justify-between h-16",children:[x.jsx("a",{"data-loc":"client/src/pages/Iscrizione.tsx:33
976",href:"/",className:"flex items-center",children:x.jsx("img",{"data-loc":"client/src/pages/Iscrizione.tsx:337",src:V4,alt:"Codici Marche",className:"h-10 w-auto"})}),x.jsx("a",{"data-loc":"client/src/pages/Iscrizione.tsx:339",href:"https://www.codicimarche.org",target:"_blank",rel:"noopener noreferrer",className:"text-sm text-gray-500 hover:text-[#E31E24] transition-colors",children:"www.codicimarche.org"})]})}),x.jsxs("main",{"data-loc":"client/src/pages/Iscrizione.tsx:350",className:"max-w-6xl mx-auto px-4 sm:px-6 py-12",children:[x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:352",className:"text-center mb-10",children:[x.jsx("span",{"data-loc":"client/src/pages/Iscrizione.tsx:353",className:"inline-block bg-[#E31E24] text-white text-xs font-bold uppercase tracking-widest px-3 py-1.5 mb-4",children:"Diventa Socio"}),x.jsx("h1",{"data-loc":"client/src/pages/Iscrizione.tsx:356",className:"text-4xl md:text-5xl font-black uppercase tracking-tight font-display text-[#1A1A1A] mb-3",children:"Iscriviti a Codici Marche"}),x.jsx("p",{"data-loc":"client/src/pages/Iscrizione.tsx:359",className:"text-gray-500 text-lg max-w-xl mx-auto",children:"Scegli il piano più adatto alle tue esigenze e inizia a difendere i tuoi diritti."})]}),x.jsx("div",{"data-loc":"client/src/pages/Iscrizione.tsx:365",className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-4 mb-12",children:Fx.map(T=>x.jsxs("button",{"data-loc":"client/src/pages/Iscrizione.tsx:367",onClick:()=>n(T.id),className:`text-left p-5 border-2 rounded-sm transition-all duration-150 relative ${t===T.id?"border-[#E31E24] shadow-md":"border-gray-200 hover:border-gray-300"}`,children:[T.popular&&x.jsx("span",{"data-loc":"client/src/pages/Iscrizione.tsx:377",className:"absolute -top-3 left-1/2 -translate-x-1/2 bg-[#E31E24] text-white text-xs font-bold px-3 py-0.5 rounded-full whitespace-nowrap",children:"Più scelto"}),x.jsx("div",{"data-loc":"client/src/pages/Iscrizione.tsx:381",className:"w-3 h-3 rounded-full mb-3",style:{backgroundColor:T.color}}),x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:385",className:"font-black text-2xl font-display mb-0.5",children:["€",T.price,x.jsx("span",{"data-loc":"client/src/pages/Iscrizione.tsx:387",className:"text-sm font-normal text-gray-400",children:"/anno"})]}),x.jsx("div",{"data-loc":"client/src/pages/Iscrizione.tsx:389",className:"font-bold text-sm uppercase tracking-wide mb-2",children:T.title}),x.jsx("p",{"data-loc":"client/src/pages/Iscrizione.tsx:390",className:"text-xs text-gray-500 mb-3 leading-relaxed",children:T.description}),x.jsx("ul",{"data-loc":"client/src/pages/Iscrizione.tsx:391",className:"space-y-1",children:T.benefits.map(q=>x.jsxs("li",{"data-loc":"client/src/pages/Iscrizione.tsx:393",className:"text-xs text-gray-600 flex items-start gap-1.5",children:[x.jsx("span",{"data-loc":"client/src/pages/Iscrizione.tsx:394",className:"text-[#E31E24] mt-0.5 flex-shrink-0",children:"✓"}),q]},q))}),t===T.id&&x.jsx("div",{"data-loc":"client/src/pages/Iscrizione.tsx:400",className:"mt-3 text-xs font-bold text-[#E31E24] uppercase tracking-wide",children:"✓ Selezionato"})]},T.id))}),s?x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:410",className:"max-w-2xl mx-auto",children:[x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:411",className:"bg-green-50 border-l-4 border-green-500 p-8 mb-8 rounded-sm",children:[x.jsx("div",{"data-loc":"client/src/pages/Iscrizione.tsx:412",className:"text-4xl mb-3",children:"✅"}),x.jsx("h2",{"data-loc":"client/src/pages/Iscrizione.tsx:413",className:"text-2xl font-black font-display text-green-800 mb-2",children:"Richiesta ricevuta!"}),x.jsxs("p",{"data-loc":"client/src/pages/Iscrizione.tsx:416",className:"text-green-700 leading-relaxed",children:["Abbiamo inviato un'email di conferma a ",x.jsx("strong",{"data-loc":"client/src/pages/Iscrizione.tsx:417",children:C.email}),".",x.jsx("br",{"data-loc":"client/src/pages/Iscrizione.tsx:417"}),"Clicca il link nell'email per completare l'iscrizione e ricevere le istruzioni di pagamento."]})]}),x.jsx("h3",{"data-loc":"client/src/pages/Iscrizione.tsx:423",className:"text-xl font-black font-display uppercase mb-4",children:"Modalità di Pagamento"}),x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:426",className:"grid md:grid-cols-2 gap-4",children:[x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:427",className:"border-2 border-gray-200 p-5 rounded-sm",children:[x.jsx("h4",{"data-loc":"client/src/pages/Iscrizione.tsx:428",className:"font-bold uppercase tracking-wide text-sm mb-3",children:"Bonifico Bancario"}),x.jsx("p",{"data-loc":"client/src/pages/Iscrizione.tsx:429",className:"text-xs text-gray-500 mb-1",children:"Intestato a:"}),x.jsx("p",{"data-loc":"client/src/pages/Iscrizione.tsx:430",className:"text-sm font-semibold mb-3",children:"Centro per i Diritti del Cittadino CODICI Marche Odv"}),x.jsx("p",{"data-loc":"client/src/pages/Iscrizione.tsx:433",className:"text-xs text-gray-500 mb-1",children:"IBAN:"}),x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:434",className:"flex items-center gap-2",children:[x.jsx("code",{"data-loc":"client/src/pages/Iscrizione.tsx:435",className:"text-sm font-mono bg-gray-100 px-2 py-1 rounded flex-1",children:Kx}),x.jsx("button",{"data-loc":"client/src/pages/Iscrizione.tsx:438",onClick:ot,className:"text-xs bg-[#E31E24] text-white px-2 py-1 rounded hover:bg-[#c01a20] transition-colors",children:l?"✓":"Copia"})]}),x.jsxs("p",{"data-loc":"client/src/pages/Iscrizione.tsx:445",className:"text-xs text-gray-400 mt-2",children:["Causale: Iscrizione ",u.title," — ",C.nome," ",C.cognome]})]}),x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:449",className:"border-2 border-gray-200 p-5 rounded-sm flex flex-col items-center justify-center text-center",children:[x.jsx("h4",{"data-loc":"client/src/pages/Iscrizione.tsx:450",className:"font-bold uppercase tracking-wide text-sm mb-3",children:"PayPal"}),x.jsxs("a",{"data-loc":"client/src/pages/Iscrizione.tsx:451",href:Xx[t]??Xx.ordinary,target:"_blank",rel:"noopener noreferrer",className:"bg-[#003087] text-white font-bold px-6 py-3 rounded hover:bg-[#002070
97] transition-colors text-sm",children:["Paga con PayPal — €",u.price]}),x.jsxs("p",{"data-loc":"client/src/pages/Iscrizione.tsx:459",className:"text-xs text-gray-500 mt-2",children:["Anche con carta: Visa, Mastercard, American Express e prepagate.",x.jsx("br",{"data-loc":"client/src/pages/Iscrizione.tsx:459"}),"Non serve avere un account PayPal."]})]})]}),x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:463",className:"border-2 border-gray-200 p-5 rounded-sm mt-4 flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4",children:[x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:464",children:[x.jsx("h4",{"data-loc":"client/src/pages/Iscrizione.tsx:465",className:"font-bold uppercase tracking-wide text-sm mb-1",children:"Satispay"}),x.jsx("p",{"data-loc":"client/src/pages/Iscrizione.tsx:466",className:"text-xs text-gray-500",children:"Paga in un tocco con l'app Satispay: l'importo è già impostato."})]}),x.jsxs("a",{"data-loc":"client/src/pages/Iscrizione.tsx:468",href:`${Zx}?amount=${u.price*100}`,target:"_blank",rel:"noopener noreferrer",className:"bg-[#F94B4B] text-white font-bold px-6 py-3 rounded hover:bg-[#e13d3d] transition-colors text-sm whitespace-nowrap text-center",children:["Paga con Satispay — €",u.price]})]})]}):x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:480",className:"max-w-2xl mx-auto",children:[x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:481",className:"bg-[#F5F5F5] border-l-4 border-[#E31E24] p-4 mb-6 rounded-sm",children:[x.jsx("span",{"data-loc":"client/src/pages/Iscrizione.tsx:482",className:"font-bold text-[#1A1A1A]",children:"Piano selezionato: "}),x.jsxs("span",{"data-loc":"client/src/pages/Iscrizione.tsx:483",className:"text-[#E31E24] font-black",children:[u.title," — €",u.price,"/anno"]})]}),x.jsxs("form",{"data-loc":"client/src/pages/Iscrizione.tsx:488",onSubmit:nt,className:"space-y-4",children:[x.jsx("div",{"data-loc":"client/src/pages/Iscrizione.tsx:490",style:{display:"none"},"aria-hidden":"true",children:x.jsx("input",{"data-loc":"client/src/pages/Iscrizione.tsx:491",type:"text",name:"website",tabIndex:-1,autoComplete:"off",value:h,onChange:T=>m(T.target.value)})}),x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:501",className:"grid md:grid-cols-2 gap-4",children:[x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:502",children:[x.jsx("label",{"data-loc":"client/src/pages/Iscrizione.tsx:503",className:"block text-xs font-bold uppercase tracking-wide mb-1",children:"Nome *"}),x.jsx("input",{"data-loc":"client/src/pages/Iscrizione.tsx:506",type:"text",name:"nome",required:!0,value:C.nome,onChange:P,className:"w-full border-2 border-gray-200 focus:border-[#E31E24] outline-none px-4 py-3 text-sm transition-colors rounded-sm",placeholder:"Mario"})]}),x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:516",children:[x.jsx("label",{"data-loc":"client/src/pages/Iscrizione.tsx:517",className:"block text-xs font-bold uppercase tracking-wide mb-1",children:"Cognome *"}),x.jsx("input",{"data-loc":"client/src/pages/Iscrizione.tsx:520",type:"text",name:"cognome",required:!0,value:C.cognome,onChange:P,className:"w-full border-2 border-gray-200 focus:border-[#E31E24] outline-none px-4 py-3 text-sm transition-colors rounded-sm",placeholder:"Rossi"})]})]}),x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:532",children:[x.jsx("label",{"data-loc":"client/src/pages/Iscrizione.tsx:533",className:"block text-xs font-bold uppercase tracking-wide mb-1",children:"Codice Fiscale *"}),x.jsx("input",{"data-loc":"client/src/pages/Iscrizione.tsx:536",type:"text",name:"codiceFiscale",required:!0,value:C.codiceFiscale,onChange:P,className:`w-full border-2 outline-none px-4 py-3 text-sm transition-colors rounded-sm uppercase ${ct||C.codiceFiscale.length>0&&!W?"border-red-400 bg-red-50":"border-gray-200 focus:border-[#E31E24]"}`,placeholder:"RSSMRA80A01H501U",maxLength:16}),C.codiceFiscale.length>0&&!W&&x.jsx("p",{"data-loc":"client/src/pages/Iscrizione.tsx:551",className:"text-xs text-red-600 mt-1",children:"Il Codice Fiscale deve essere di 16 caratteri."}),ct&&x.jsx("p",{"data-loc":"client/src/pages/Iscrizione.tsx:554",className:"text-xs text-red-600 mt-1",children:"Il codice fiscale non corrisponde ai dati anagrafici inseriti. Verifica i dati."})]}),x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:559",className:"grid md:grid-cols-3 gap-4",children:[x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:560",children:[x.jsx("label",{"data-loc":"client/src/pages/Iscrizione.tsx:561",className:"block text-xs font-bold uppercase tracking-wide mb-1",children:"Data di nascita *"}),x.jsx("input",{"data-loc":"client/src/pages/Iscrizione.tsx:564",type:"date",name:"dataNascita",required:!0,value:C.dataNascita,onChange:P,className:"w-full border-2 border-gray-200 focus:border-[#
97E31E24] outline-none px-4 py-3 text-sm transition-colors rounded-sm",max:new Date().toISOString().split("T")[0]})]}),x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:574",children:[x.jsx("label",{"data-loc":"client/src/pages/Iscrizione.tsx:575",className:"block text-xs font-bold uppercase tracking-wide mb-1",children:"Luogo di nascita *"}),x.jsx("input",{"data-loc":"client/src/pages/Iscrizione.tsx:578",type:"text",name:"luogoNascita",required:!0,value:C.luogoNascita,onChange:P,className:"w-full border-2 border-gray-200 focus:border-[#E31E24] outline-none px-4 py-3 text-sm transition-colors rounded-sm",placeholder:"Ancona"})]}),x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:588",children:[x.jsx("label",{"data-loc":"client/src/pages/Iscrizione.tsx:589",className:"block text-xs font-bold uppercase tracking-wide mb-1",children:"Prov. nascita *"}),x.jsx("input",{"data-loc":"client/src/pages/Iscrizione.tsx:592",type:"text",name:"provinciaNascita",required:!0,value:C.provinciaNascita,onChange:P,className:"w-full border-2 border-gray-200 focus:border-[#E31E24] outline-none px-4 py-3 text-sm transition-colors rounded-sm uppercase",placeholder:"AN",maxLength:2}),x.jsx("p",{"data-loc":"client/src/pages/Iscrizione.tsx:602",className:"text-xs text-gray-400 mt-1",children:"EE se nato all'estero"})]})]}),x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:606",className:"grid md:grid-cols-2 gap-4",children:[x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:607",children:[x.jsx("label",{"data-loc":"client/src/pages/Iscrizione.tsx:608",className:"block text-xs font-bold uppercase tracking-wide mb-1",children:"Email *"}),x.jsx("input",{"data-loc":"client/src/pages/Iscrizione.tsx:611",type:"email",name:"email",required:!0,value:C.email,onChange:P,className:"w-full border-2 border-gray-200 focus:border-[#E31E24] outline-none px-4 py-3 text-sm transition-colors rounded-sm",placeholder:"[email protected]"})]}),x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:621",children:[x.jsx("label",{"data-loc":"client/src/pages/Iscrizione.tsx:622",className:"block text-xs font-bold uppercase tracking-wide mb-1",children:"Telefono *"}),x.jsx("input",{"data-loc":"client/src/pages/Iscrizione.tsx:625",type:"tel",name:"telefono",required:!0,value:C.telefono,onChange:P,className:"w-full border-2 border-gray-200 focus:border-[#E31E24] outline-none px-4 py-3 text-sm transition-colors rounded-sm",placeholder:"338 000 0000"})]})]}),x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:637",className:"grid grid-cols-3 gap-4",children:[x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:638",className:"col-span-2",children:[x.jsx("label",{"data-loc":"client/src/pages/Iscrizione.tsx:639",className:"block text-xs font-bold uppercase tracking-wide mb-1",children:"Via / Piazza *"}),x.jsx("input",{"data-loc":"client/src/pages/Iscrizione.tsx:642",type:"text",name:"indirizzo",required:!0,value:C.indirizzo,onChange:P,className:"w-full border-2 border-gray-200 focus:border-[#E31E24] outline-none px-4 py-3 text-sm transition-colors rounded-sm",placeholder:"Via Roma"})]}),x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:652",children:[x.jsx("label",{"data-loc":"client/src/pages/Iscrizione.tsx:653",className:"block text-xs font-bold uppercase tracking-wide mb-1",children:"N. Civico *"}),x.jsx("input",{"data-loc":"client/src/pages/Iscrizione.tsx:656",type:"text",name:"numeroCivico",required:!0,value:C.numeroCivico,onChange:P,className:"w-full border-2 border-gray-200 focus:border-[#E31E24] outline-none px-4 py-3 text-sm transition-colors rounded-sm",placeholder:"1"})]})]}),x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:668",className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:[x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:669",children:[x.jsx("label",{"data-loc":"client/src/pages/Iscrizione.tsx:670",className:"block text-xs font-bold uppercase tracking-wide mb-1",children:"CAP *"}),x.jsx("input",{"data-loc":"client/src/pages/Iscrizione.tsx:673",type:"text",name:"cap",required:!0,value:C.cap,onChange:P,className:"w-full border-2 border-gray-200 focus:border-[#
97E31E24] outline-none px-4 py-3 text-sm transition-colors rounded-sm",placeholder:"60100",maxLength:5})]}),x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:684",className:"md:col-span-1",children:[x.jsx("label",{"data-loc":"client/src/pages/Iscrizione.tsx:685",className:"block text-xs font-bold uppercase tracking-wide mb-1",children:"Comune *"}),x.jsx("input",{"data-loc":"client/src/pages/Iscrizione.tsx:688",type:"text",name:"citta",required:!0,value:C.citta,onChange:P,className:"w-full border-2 border-gray-200 focus:border-[#E31E24] outline-none px-4 py-3 text-sm transition-colors rounded-sm",placeholder:"Ancona"})]}),x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:698",children:[x.jsx("label",{"data-loc":"client/src/pages/Iscrizione.tsx:699",className:"block text-xs font-bold uppercase tracking-wide mb-1",children:"Provincia *"}),x.jsx("input",{"data-loc":"client/src/pages/Iscrizione.tsx:702",type:"text",name:"provincia",required:!0,value:C.provincia,onChange:P,className:"w-full border-2 border-gray-200 focus:border-[#E31E24] outline-none px-4 py-3 text-sm transition-colors rounded-sm uppercase",placeholder:"AN",maxLength:2})]}),x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:713",children:[x.jsx("label",{"data-loc":"client/src/pages/Iscrizione.tsx:714",className:"block text-xs font-bold uppercase tracking-wide mb-1",children:"Paese *"}),x.jsx("select",{"data-loc":"client/src/pages/Iscrizione.tsx:717",name:"paese",value:C.paese,onChange:P,className:"w-full border-2 border-gray-200 focus:border-[#E31E24] outline-none px-4 py-3 text-sm transition-colors rounded-sm bg-white",children:B4.map(T=>x.jsx("option",{"data-loc":"client/src/pages/Iscrizione.tsx:724",value:T.code,children:T.name},T.code))})]})]}),x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:733",className:"border-2 border-gray-200 p-4 rounded-sm space-y-3",children:[x.jsxs("label",{"data-loc":"client/src/pages/Iscrizione.tsx:734",className:"flex items-start gap-3 cursor-pointer",children:[x.jsx("input",{"data-loc":"client/src/pages/Iscrizione.tsx:735",type:"checkbox",name:"statuoPrivacy",checked:C.statuoPrivacy,onChange:P,className:"mt-0.5 accent-[#E31E24] w-4 h-4 flex-shrink-0"}),x.jsxs("span",{"data-loc":"client/src/pages/Iscrizione.tsx:742",className:"text-sm text-gray-700",children:["Accetto lo"," ",x.jsx("a",{"data-loc":"client/src/pages/Iscrizione.tsx:744",href:"https://www.codicimarche.org/statuto/",target:"_blank",rel:"noopener noreferrer",className:"text-[#E31E24] font-semibold hover:underline",children:"Statuto"})," ","e l'informativa sulla privacy di Codici Marche ODV *"]})]}),x.jsxs("label",{"data-loc":"client/src/pages/Iscrizione.tsx:755",className:"flex items-start gap-3 cursor-pointer",children:[x.jsx("input",{"data-loc":"client/src/pages/Iscrizione.tsx:756",type:"checkbox",name:"newsletter",checked:C.newsletter,onChange:P,className:"mt-0.5 accent-[#E31E24] w-4 h-4 flex-shrink-0"}),x.jsx("span",{"data-loc":"client/src/pages/Iscrizione.tsx:763",className:"text-sm text-gray-700",children:"Desidero ricevere la newsletter settimanale di Codici Marche"})]})]}),x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:770",className:"border-2 border-gray-200 p-4 rounded-sm",children:[x.jsx("label",{"data-loc":"client/src/pages/Iscrizione.tsx:771",className:"block text-xs font-bold uppercase tracking-wide mb-2",children:"Verifica anti-bot *"}),x.jsx("p",{"data-loc":"client/src/pages/Iscrizione.tsx:774",className:"text-sm text-gray-600 mb-2",children:M.isLoading?"Caricamento verifica...":x.jsx("strong",{"data-loc":"client/src/pages/Iscrizione.tsx:777",children:M.data?.question??"Quanto fa...?"})}),x.jsx("input",{"data-loc":"client/src/pages/Iscrizione.tsx:780",type:"text",inputMode:"numeric",value:y,onChange:T=>{g(T.target.value),w(!1)},className:`w-32 border-2 outline-none px-4 py-2 text-sm rounded-sm transition-colors ${b?"border-red-500 bg-red-50":"border-gray-200 focus:border-[#E31E24]"}`,placeholder:"Risposta",required:!0}),b&&x.jsx("p",{"data-loc":"client/src/pages/Iscrizione.tsx:794",className:"text-xs text-red-600 mt-1",children:"Risposta non corretta. Riprova."})]}),x.jsx("button",{"data-loc":"client/src/pages/Iscrizione.tsx:798",type:"submit",disabled:j.isPending,className:"w-full bg-[#E31E24] text-white font-black uppercase tracking-widest py-4 text-base hover:bg-[#c01a20] active:scale-[0.98] transition-all duration-150 disabled:opacity-60 rounded-sm",children:j.isPending?"Invio in corso...":`Procedi all'Iscrizione — €${u.price}/anno`}),x.jsx("p",{"data-loc":"client/src/pages/Iscrizione.tsx:807",className:"text-xs text-gray-400 text-center",children:"Riceverai un'email di conferma. Il pagamento avviene dopo la conferma."}),x.jsxs("p",{"data-loc":"client/src/pages/Iscrizione.tsx:810",className:"text-xs text-gray-400 text-center mt-1",children:["Hai sottoscritto una Tessera e vuoi recedere?"," ",x.jsx("a",{"data-loc":"client/src/pages/Iscrizione.tsx:812",href:"/recesso",className:"text-gray-500 underline hover:text-[#E31E24] transition-colors",children:"Esercita il diritto di recesso"})]})]})]}),x.jsx("section",{"data-loc":"client/src/pages/Iscrizione.tsx:821",className:"max-w-2xl mx-auto px-4 sm:px-6 mb-8",children:x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:822",className:"bg-[#F5F5F5] border-2 border-gray-200 rounded-sm p-6 text-center",children:[x.jsx("h2",{"data-loc":"client/src/pages/Iscrizione.tsx:823",className:"text-lg font-black font-display uppercase tracking-tight mb-2",children:"Sostieni Codici Marche"}),x.jsx("p",{"data-loc":"client/src/pages/Iscrizione.tsx:826",className:"text-sm text-gray-600 leading-relaxed mb-5 max-w-md mx-auto",children:"Sei già iscritto e vuoi dare una mano in più? Puoi sostenere le nostre azioni con una donazione libera tramite Satispay."}),x.jsx("a",{"data-loc":"client/src/pages/Iscrizione.tsx:829",href:Zx,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 bg-[#F94B4B] text-white font-bold uppercase tracking-wide px-8 py-3.5 rounded-sm hover:bg-[#e13d3d] transition-colors text-sm",children:"Dona con Satispay"})]})})]}),x.jsx("footer",{"data-loc":"client/src/pages/Iscrizione.tsx:843",className:"bg-[#1A1A1A] text-white mt-16 py-8",children:x.jsxs("div",{"data-loc":"client/src/pages/Iscrizione.tsx:844",className:"max-w-6xl mx-auto px-4 sm:px-6 text-center text-gray-500 text-xs",children:[x.jsx("p",{"data-loc":"client/src/pages/Iscrizione.tsx:845",children:"Centro per i Diritti del Cittadino Codici Marche Odv"}),x.jsx("p",{"data-loc":"client/src/pages/Iscrizione.tsx:846",children:"Via Cluentina 35/B, 62100 Macerata — CF: 93096460436 — RUNTS n° 141664"}),x.jsxs("p",{"data-loc":"client/src/pages/Iscrizione.tsx:847",className:"mt-1",children:[x.jsx("a",{"data-loc":"client/src/pages/Iscrizione.tsx:848",href:"mailto:[email protected]",className:"hover:text-white transition-colors",children:"[email protected]"})," ","| Tel: 379 260 9884"]}),x.jsx("p",{"data-loc":"client/src/pages/Iscrizione.tsx:853",className:"mt-2",children:x.jsx("a",{"data-loc":"client/src/pages/Iscrizione.tsx:854",href:"/recesso",className:"hover:text-white transition-colors",children:"Diritto di recesso"})})]})})]})}const G4="/manus-storage/CODICI-colors_6a89e155.png",$x="IT10X0849121302000240000391",Y4="https://paypal.me/CODICIMARCHE?country.x=IT&locale.x=it_IT",F4={supporter:"https://www.paypal.com/ncp/payment/H3KAATJ7BEJRJ",ordinary:"https://www.paypal.com/ncp/payment/DQ93SNSQ9U876",services:"https://www.paypal.com/ncp/payment/KERZUY785Q4BL",plus:"https://www.paypal.com/ncp/payment/LHV6KFZFC82EU"};function K4(){const[t,n]=O.useState(null),[s,r]=O.useState("loading"),[l,c]=O.useState(!1),[u,h]=O.useState(""),[m,p]=O.useState(""),y=qa.subscriptions.confirm.useMutation({onSuccess:b=>{r(b.alreadyConfirmed?"already":"success"),b.alreadyConfirmed||(h(b.membership??""),p(b.amount??""))},onError:()=>{r("error")}});O.useEffect(()=>{const w=new URLSearchParams(window.location.search).get("token");n(w),w?y.mutate({token:w}):r("error")},[]);const g=()=>{navigator.clipboard.writeText($x),c(!0),setTimeout(()=>c(!1),2e3)};return x.jsxs("div",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:56",className:"min-h-screen bg-white font-body text-[#1A1A1A]",children:[x.jsx("header",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:58",className:"bg-white border-b border-gray-100 sticky top-0 z-50 shadow-sm",children:x.jsxs("div",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:59",className:"max-w-6xl mx-auto px-4 sm:px-6 flex items-center justify-between h-16",children:[x.jsx("a",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:60",href:"/",className:"flex items-center",children:x.jsx("img",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:61",src:G4,alt:"Codici Marche",className:"h-10 w-auto"})}),x.jsx("a",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:63",href:"https://www.codicimarche.org",target:"_blank",rel:"noopener noreferrer",className:"text-sm text-gray-500 hover:text-[#E31E24] transition-colors",children:"www.codicimarche.org"})]})}),x.jsxs("main",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:74",className:"max-w-2xl mx-auto px-4 sm:px-6 py-16",children:[s==="loading"&&x.jsxs("div",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:76",className:"text-center",children:[x.jsx("div",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:77",className:"inline-block w-10 h-10 border-4 border-[#
97E31E24] border-t-transparent rounded-full animate-spin mb-4"}),x.jsx("p",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:78",className:"text-gray-500",children:"Conferma in corso..."})]}),s==="success"&&x.jsxs("div",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:83",children:[x.jsxs("div",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:84",className:"bg-green-50 border-l-4 border-green-500 p-8 mb-8 rounded-sm",children:[x.jsx("div",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:85",className:"text-4xl mb-3",children:"✅"}),x.jsx("h1",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:86",className:"text-2xl font-black font-display text-green-800 mb-2",children:"Iscrizione confermata!"}),x.jsxs("p",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:89",className:"text-green-700 leading-relaxed",children:["Grazie per aver confermato la tua iscrizione a"," ",x.jsx("strong",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:91",children:"Codici Marche Odv"}),".",x.jsx("br",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:91"}),"Hai ricevuto un'email con le istruzioni di pagamento."]})]}),x.jsx("h2",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:96",className:"text-xl font-black font-display uppercase mb-4",children:"Come pagare la quota"}),x.jsxs("div",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:99",className:"grid md:grid-cols-3 gap-4",children:[x.jsxs("div",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:100",className:"border-2 border-gray-200 p-5 rounded-sm",children:[x.jsx("h3",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:101",className:"font-bold uppercase tracking-wide text-sm mb-3",children:"Bonifico Bancario"}),x.jsx("p",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:104",className:"text-xs text-gray-500 mb-1",children:"Intestato a:"}),x.jsx("p",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:105",className:"text-sm font-semibold mb-3",children:"Centro per i Diritti del Cittadino CODICI Marche Odv"}),x.jsx("p",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:108",className:"text-xs text-gray-500 mb-1",children:"IBAN:"}),x.jsxs("div",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:109",className:"flex items-center gap-2",children:[x.jsx("code",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:110",className:"text-sm font-mono bg-gray-100 px-2 py-1 rounded flex-1 break-all",children:$x}),x.jsx("button",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:113",onClick:g,className:"text-xs bg-[#E31E24] text-white px-2 py-1 rounded hover:bg-[#c01a20] transition-colors flex-shrink-0",children:l?"✓":"Copia"})]})]}),x.jsxs("div",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:121",className:"border-2 border-gray-200 p-5 rounded-sm flex flex-col items-center justify-center text-center",children:[x.jsx("h3",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:122",className:"font-bold uppercase tracking-wide text-sm mb-3",children:"PayPal"}),x.jsx("a",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:123",href:F4[u]??Y4,target:"_blank",rel:"noopener noreferrer",className:"bg-[#003087] text-white font-bold px-6 py-3 rounded hover:bg-[#002070] transition-colors text-sm",children:m?`Paga con PayPal — €${m}`:"Paga con PayPal"}),x.jsxs("p",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:131",className:"text-xs text-gray-500 mt-2",children:["Anche con carta: Visa, Mastercard, American Express e prepagate.",x.jsx("br",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:131"}),"Non serve avere un account PayPal."]})]}),x.jsxs("div",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:133",className:"border-2 border-gray-200 p-5 rounded-sm flex flex-col items-center justify-center text-center",children:[x.jsx("h3",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:134",className:"font-bold uppercase tracking-wide text-sm mb-3",children:"Satispay"}),x.jsx("a",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:135",href:m?`${Jx}?amount=${Number(m)*100}`:Jx,target:"_blank",rel:"noopener noreferrer",className:"bg-[#F94B4B] text-white font-bold px-6 py-3 rounded hover:bg-[#e13d3d] transition-colors text-sm",children:m?`Paga con Satispay — €${m}`:"Paga con Satispay"})]})]}),x.jsx("div",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:14
976",className:"mt-8 p-4 bg-[#F5F5F5] border-l-4 border-[#E31E24] rounded-sm",children:x.jsxs("p",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:147",className:"text-sm text-gray-600",children:["Per qualsiasi informazione:"," ",x.jsx("a",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:149",href:"mailto:[email protected]",className:"text-[#E31E24] font-semibold hover:underline",children:"[email protected]"})," ","| Tel:"," ",x.jsx("a",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:156",href:"tel:+393792609884",className:"text-[#E31E24] font-semibold hover:underline",children:"379 260 9884"})]})})]}),s==="already"&&x.jsxs("div",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:165",className:"bg-blue-50 border-l-4 border-blue-500 p-8 rounded-sm",children:[x.jsx("div",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:166",className:"text-4xl mb-3",children:"ℹ️"}),x.jsx("h1",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:167",className:"text-2xl font-black font-display text-blue-800 mb-2",children:"Già confermata"}),x.jsxs("p",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:170",className:"text-blue-700 leading-relaxed",children:["Questa iscrizione è già stata confermata in precedenza. Se hai bisogno di assistenza, contattaci a"," ",x.jsx("a",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:173",href:"mailto:[email protected]",className:"font-semibold hover:underline",children:"[email protected]"}),"."]})]}),s==="error"&&x.jsxs("div",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:185",className:"bg-red-50 border-l-4 border-[#E31E24] p-8 rounded-sm",children:[x.jsx("div",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:186",className:"text-4xl mb-3",children:"❌"}),x.jsx("h1",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:187",className:"text-2xl font-black font-display text-red-800 mb-2",children:"Link non valido"}),x.jsx("p",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:190",className:"text-red-700 leading-relaxed",children:"Il link di conferma non è valido o è già stato utilizzato. Prova a iscriverti nuovamente o contattaci."}),x.jsx("a",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:194",href:"/iscrizione",className:"inline-block mt-4 bg-[#E31E24] text-white font-bold uppercase px-6 py-3 rounded-sm hover:bg-[#c01a20] transition-colors text-sm",children:"Torna all'iscrizione"})]})]}),x.jsx("footer",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:204",className:"bg-[#1A1A1A] text-white mt-16 py-8",children:x.jsxs("div",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:205",className:"max-w-6xl mx-auto px-4 sm:px-6 text-center text-gray-500 text-xs",children:[x.jsx("p",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:206",children:"Centro per i Diritti del Cittadino Codici Marche Odv"}),x.jsx("p",{"data-loc":"client/src/pages/ConfermaIscrizione.tsx:207",children:"Via Cluentina 35/B, 62100 Macerata — CF: 93096460436 — RUNTS n° 141664"})]})})]})}const Jx="https://www.satispay.com/app/pay/shops/b31aa572-321d-4802-9432-7aa0aff7cfa9",X4="/manus-storage/CODICI-colors_6a89e155.png";function Z4(){return x.jsxs("div",{"data-loc":"client/src/pages/Recesso.tsx:13",className:"min-h-screen bg-white font-body text-[#1A1A1A]",children:[x.jsx("header",{"data-loc":"client/src/pages/Recesso.tsx:15",className:"bg-white border-b border-gray-100 sticky top-0 z-50 shadow-sm",children:x.jsxs("div",{"data-loc":"client/src/pages/Recesso.tsx:16",className:"max-w-6xl mx-auto px-4 sm:px-6 flex items-center justify-between h-16",children:[x.jsx("a",{"data-loc":"client/src/pages/Recesso.tsx:17",href:"/",className:"flex items-center",children:x.jsx("img",{"data-loc":"client/src/pages/Recesso.tsx:18",src:X4,alt:"Codici Marche",className:"h-10 w-auto"})}),x.jsx("a",{"data-loc":"client/src/pages/Recesso.tsx:20",href:"https://www.codicimarche.org",target:"_blank",rel:"noopener noreferrer",className:"text-sm text-gray-500 hover:text-[#E31E24] transition-colors",children:"www.codicimarche.org"})]})}),x.jsxs("main",{"data-loc":"client/src/pages/Recesso.tsx:31",className:"max-w-6xl mx-auto px-4 sm:px-6 py-12",children:[x.jsxs("div",{"data-loc":"client/src/pages/Recesso.tsx:33",className:"text-center mb-10",children:[x.jsx("span",{"data-loc":"client/src/pages/Recesso.tsx:34",className:"inline-block bg-[#1A1A1A] text-white text-xs font-bold uppercase tracking-widest px-3 py-1.5 mb-4",children:"Tutela del Socio"}),x.jsx("h1",{"data-loc":"client/src/pages/Recesso.tsx:37",className:"text-4xl md:text-5xl font-black uppercase tracking-tight font-display text-[#1A1A1A] mb-3",children:"Diritto di Recesso"}),x.jsx("p",{"data-loc":"client/src/pages/Recesso.tsx:40",className:"text-gray-500 text-lg max-w-xl mx-auto",children:"Art. 54-bis Codice del Consumo — Tessera Servizi e Tessera ServiziPlus"})]}),x.jsx($4,{"data-loc":"client/src/pages/Recesso.tsx:45"})]}),x.jsx("footer",{"data-loc":"client/src/pages/Recesso.tsx:49",className:"bg-[#1A1A1A] text-white mt-16 py-8",children:x.jsxs("div",{"data-loc":"client/src/pages/Recesso.tsx:50",className:"max-w-6xl mx-auto px-4 sm:px-6 text-center text-gray-500 text-xs",children:[x.jsx("p",{"data-loc":"client/src/pages/Recesso.tsx:51",children:"Centro per i Diritti del Cittadino Codici Marche Odv"}),x.jsx("p",{"data-loc":"client/src/pages/Recesso.tsx:52",children:"Via Cluentina 35/B, 62100 Macerata — CF: 93096460436 — RUNTS n° 141664"}),x.jsxs("p",{"data-loc":"client/src/pages/Recesso.tsx:53",className:"mt-1",children:[x.jsx("a",{"data-loc":"client/src/pages/Recesso.tsx:54",href:"mailto:[email protected]",className:"hover:text-white transition-colors",children:"[email protected]"})," ","| Tel: 379 260 9884"]}),x.jsx("p",{"data-loc":"client/src/pages/Recesso.tsx:59",className:"mt-2",children:x.jsx("a",{"data-loc":"client/src/pages/Recesso.tsx:60",href:"/iscrizione",className:"hover:text-white transition-colors",children:"← Torna alla pagina di iscrizione"})})]})})]})}function $4(){const[t,n]=O.useState({nomeCompleto:"",email:"",dataIscrizione:"",tipoTessera:"",iban:"",motivo:"",consenso:!1}),[s,r]=O.useState(""),[l,c]=O.useState(!1),u=qa.subscriptions.submitRecesso.useMutation({onSuccess:()=>{c(!0)},onError:g=>{r(g.message||"Errore durante l'invio. Riprova o contatta [email protected].")}});function h(g){const b=g.target,w=b instanceof HTMLInputElement&&b.type==="checkbox"?b.checked:b.value;n(E=>({...E,[b.name]:w})),r("")}function m(g){if(g.preventDefault(),!t.consenso){r("Devi spuntare la casella di conferma per procedere con la richiesta di recesso.");return}u.mutate({nomeCompleto:t.nomeCompleto,email:t.email,dataIscrizione:t.dataIscrizione,tipoTessera:t.tipoTessera,iban:t.iban,motivo:t.motivo||void 0})}
97const p="w-full border-2 border-gray-200 focus:border-[#E31E24] outline-none px-4 py-3 text-sm transition-colors rounded-sm",y="block text-xs font-bold uppercase tracking-wide mb-1";return l?x.jsx("section",{"data-loc":"client/src/pages/Recesso.tsx:132",className:"max-w-2xl mx-auto px-4 sm:px-6 mt-4 mb-8",children:x.jsxs("div",{"data-loc":"client/src/pages/Recesso.tsx:133",className:"bg-green-50 border-2 border-green-200 rounded-sm p-8 text-center",children:[x.jsx("div",{"data-loc":"client/src/pages/Recesso.tsx:134",className:"w-12 h-12 rounded-full bg-green-100 flex items-center justify-center mx-auto mb-4",children:x.jsx("svg",{"data-loc":"client/src/pages/Recesso.tsx:135",className:"w-6 h-6 text-green-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:x.jsx("path",{"data-loc":"client/src/pages/Recesso.tsx:136",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})}),x.jsx("h3",{"data-loc":"client/src/pages/Recesso.tsx:139",className:"text-lg font-black font-display uppercase text-green-800 mb-2",children:"Email inviata"}),x.jsxs("p",{"data-loc":"client/src/pages/Recesso.tsx:142",className:"text-green-700 text-sm leading-relaxed",children:["Ti abbiamo inviato un'email: aprila e premi il pulsante di conferma per completare la richiesta di recesso.",x.jsx("br",{"data-loc":"client/src/pages/Recesso.tsx:143"}),x.jsx("span",{"data-loc":"client/src/pages/Recesso.tsx:144",className:"text-green-600 text-xs mt-1 block",children:"Il pulsante aprirà il tuo client di posta con un'email precompilata da inviare a Codici Marche."})]})]})}):x.jsxs("section",{"data-loc":"client/src/pages/Recesso.tsx:152",className:"max-w-2xl mx-auto px-4 sm:px-6 mt-4 mb-8",children:[x.jsxs("div",{"data-loc":"client/src/pages/Recesso.tsx:154",className:"border-l-4 border-[#E31E24] pl-4 mb-6",children:[x.jsx("h2",{"data-loc":"client/src/pages/Recesso.tsx:155",className:"text-xl font-black font-display uppercase tracking-tight",children:"Modulo di recesso"}),x.jsx("p",{"data-loc":"client/src/pages/Recesso.tsx:158",className:"text-xs text-gray-500 uppercase tracking-wide mt-0.5",children:"Art. 54-bis Codice del Consumo"})]}),x.jsxs("p",{"data-loc":"client/src/pages/Recesso.tsx:164",className:"text-sm text-gray-600 leading-relaxed mb-6",children:["Se hai sottoscritto la ",x.jsx("strong",{"data-loc":"client/src/pages/Recesso.tsx:165",children:"Tessera Servizi (50€/anno)"})," o la"," ",x.jsx("strong",{"data-loc":"client/src/pages/Recesso.tsx:166",children:"Tessera ServiziPlus (120€/anno)"}),", puoi recedere dall'adesione entro"," ",x.jsx("strong",{"data-loc":"client/src/pages/Recesso.tsx:167",children:"14 giorni"})," dalla data di iscrizione, senza necessità di fornire alcuna motivazione. Il diritto di recesso cessa anticipatamente se, entro tale termine, hai conferito a Codici Marche un mandato scritto ad agire su un caso specifico."]}),x.jsx("ol",{"data-loc":"client/src/pages/Recesso.tsx:173",className:"space-y-2 mb-8",children:["Compila il modulo sottostante.","Invialo entro 14 giorni dalla data di iscrizione.","Riceverai conferma entro 48 ore lavorative."].map((g,b)=>x.jsxs("li",{"data-loc":"client/src/pages/Recesso.tsx:179",className:"flex items-start gap-3 text-sm text-gray-700",children:[x.jsx("span",{"data-loc":"client/src/pages/Recesso.tsx:180",className:"flex-shrink-0 w-6 h-6 rounded-full bg-[#E31E24] text-white text-xs font-bold flex items-center justify-center mt-0.5",children:b+1}),g]},b))}),x.jsxs("form",{"data-loc":"client/src/pages/Recesso.tsx:189",onSubmit:m,className:"bg-gray-50 border border-gray-200 rounded-sm p-6 space-y-5",noValidate:!0,children:[x.jsxs("div",{"data-loc":"client/src/pages/Recesso.tsx:195",children:[x.jsx("label",{"data-loc":"client/src/pages/Recesso.tsx:196",className:y,children:"Nome e Cognome *"}),x.jsx("input",{"data-loc":"client/src/pages/Recesso.tsx:197",type:"text",name:"nomeCompleto",required:!0,value:t.nomeCompleto,onChange:h,className:p,placeholder:"Mario Rossi"})]}),x.jsxs("div",{"data-loc":"client/src/pages/Recesso.tsx:209",children:[x.jsx("label",{"data-loc":"client/src/pages/Recesso.tsx:210",className:y,children:"Email *"}),x.jsx("input",{"data-loc":"client/src/pages/Recesso.tsx:211",type:"email",name:"email",required:!0,value:t.email,onChange:h,className:p,placeholder:"[email protected]"})]}),x.jsxs("div",{"data-loc":"client/src/pages/Recesso.tsx:223",children:[x.jsx("label",{"data-loc":"client/src/pages/Recesso.tsx:224",className:y,children:"Data di iscrizione *"}),x.jsx("input",{"data-loc":"client/src/pages/Recesso.tsx:225",type:"date",name:"dataIscrizione",required:!0,value:t.dataIscrizione,onChange:h,className:p})]}),x.jsxs("div",{"data-loc":"client/src/pages/Recesso.tsx:236",children:[x.jsx("label",{"data-loc":"client/src/pages/Recesso.tsx:237",className:y,children:"Tipo di tessera *"}),x.jsxs("select",{"data-loc":"client/src/pages/Recesso.tsx:238",name:"tipoTessera",required:!0,value:t.tipoTessera,onChange:h,className:p+" bg-white",children:[x.jsx("option",{"data-loc":"client/src/pages/Recesso.tsx:245",value:"",children:"— Seleziona —"}),x.jsx("option",{"data-loc":"client/src/pages/Recesso.tsx:246",value:"Tessera Servizi — 50€",children:"Tessera Servizi — 50€"}),x.jsx("option",{"data-loc":"client/src/pages/Recesso.tsx:247",value:"Tessera ServiziPlus — 120€",children:"Tessera ServiziPlus — 120€"})]})]}),x.jsxs("div",{"data-loc":"client/src/pages/Recesso.tsx:252",children:[x.jsx("label",{"data-loc":"client/src/pages/Recesso.tsx:253",className:y,children:"IBAN per il rimborso *"}),x.jsx("input",{"data-loc":"client/src/pages/Recesso.tsx:254",type:"text",name:"iban",required:!0,value:t.iban,onChange:h,className:p,placeholder:"IT00 X000 0000 0000 0000 0000 000"})]}),x.jsxs("div",{"data-loc":"client/src/pages/Recesso.tsx:266",children:[x.jsx("label",{"data-loc":"client/src/pages/Recesso.tsx:267",className:y,children:"Motivo (facoltativo)"}),x.jsx("textarea",{"data-loc":"client/src/pages/Recesso.tsx:268",name:"motivo",value:t.motivo,onChange:h,rows:3,className:p+" resize-none",placeholder:"Descrivi brevemente il motivo, se lo desideri."})]}),x.jsxs("div",{"data-loc":"client/src/pages/Recesso.tsx:279",className:"flex items-start gap-3",children:[x.jsx("input",{"data-loc":"client/src/pages/Recesso.tsx:280",type:"checkbox",id:"consensoReso",name:"consenso",checked:t.consenso,onChange:h,className:"mt-1 w-4 h-4 accent-[#E31E24] flex-shrink-0"}),x.jsx("label",{"data-loc":"client/src/pages/Recesso.tsx:288",htmlFor:"consensoReso",className:"text-sm text-gray-700 leading-snug cursor-pointer",children:"Confermo di voler esercitare il diritto di recesso ai sensi dell'art. 54-bis del Co
97dice del Consumo."})]}),s&&x.jsx("p",{"data-loc":"client/src/pages/Recesso.tsx:296",className:"text-sm text-red-600 font-medium",children:s}),x.jsx("button",{"data-loc":"client/src/pages/Recesso.tsx:300",type:"submit",disabled:u.isPending,className:"w-full bg-[#1A1A1A] text-white font-black uppercase tracking-wide py-4 px-6 text-sm hover:bg-[#E31E24] transition-colors duration-200 rounded-sm active:scale-[0.98] disabled:opacity-60 disabled:cursor-not-allowed",children:u.isPending?"Invio in corso...":"Invia richiesta di recesso"}),x.jsx("p",{"data-loc":"client/src/pages/Recesso.tsx:309",className:"text-xs text-gray-400 text-center leading-relaxed",children:"Riceverai un'email con il pulsante di conferma. Inviala per completare la procedura: Codici Marche verificherà che il mittente corrisponda all'email indicata in fase di iscrizione."})]})]})}function J4(){return x.jsxs(Z3,{"data-loc":"client/src/App.tsx:15",children:[x.jsx(Da,{"data-loc":"client/src/App.tsx:16",path:"/",component:k4}),x.jsx(Da,{"data-loc":"client/src/App.tsx:17",path:"/iscrizione",component:Q4}),x.jsx(Da,{"data-loc":"client/src/App.tsx:18",path:"/conferma-iscrizione",component:K4}),x.jsx(Da,{"data-loc":"client/src/App.tsx:19",path:"/recesso",component:Z4}),x.jsx(Da,{"data-loc":"client/src/App.tsx:20",path:"/404",component:z0}),x.jsx(Da,{"data-loc":"client/src/App.tsx:22",component:z0})]})}function W4(){return x.jsx($3,{"data-loc":"client/src/App.tsx:34",children:x.jsx(W3,{"data-loc":"client/src/App.tsx:35",defaultTheme:"light",children:x.jsxs(m3,{"data-loc":"client/src/App.tsx:39",children:[x.jsx(AO,{"data-loc":"client/src/App.tsx:40"}),x.jsx(J4,{"data-loc":"client/src/App.tsx:41"})]})})})}const tz=()=>{const t="https://manus.im",n="kZbNrTAUYHC9SYnK7hXqTh",s=`${window.location.origin}/api/oauth/callback`,r=btoa(s),l=new URL(`${t}/app-auth`);return l.searchParams.set("appId",n),l.searchParams.set("redirectUri",s),l.searchParams.set("state",r),l.searchParams.set("type","signIn"),l.toString()},Rc=new TT,Lw=t=>{!(t instanceof ho)||typeof window>"u"||!(t.message===oC)||(window.location.href=tz())};Rc.getQueryCache().subscribe(t=>{if(t.type==="updated"&&t.action.type==="error"){const n=t.query.state.error;Lw(n),console.error("[API Query Error]",n)}});Rc.getMutationCache().subscribe(t=>{if(t.type==="updated"&&t.action.type==="error"){const n=t.mutation.state.error;Lw(n),console.error("[API Mutation Error]",n)}});const ez=qa.createClient({links:[zA({url:"/api/trpc",transformer:yi,fetch(t,n){return globalThis.fetch(t,{...n??{},credentials:"include"})}})]});hC.createRoot(document.getElementById("root")).render(x.jsx(qa.Provider,{"data-loc":"client/src/main.tsx:56",client:ez,queryClient:Rc,children:x.jsx(CT,{"data-loc":"client/src/main.tsx:57",client:Rc,children:x.jsx(W4,{"data-loc":"client/src/main.tsx:58"})})}));

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.