vendor: 28,774 bytes, lines 1-9
1function $T(t,n){for(var i=0;i<n.length;i++){const r=n[i];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 i(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=i(l);fetch(l.href,c)}})();function tb(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var cd={exports:{}},to={};/** 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 Nv;function JT(){if(Nv)return to;Nv=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function i(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 to.Fragment=n,to.jsx=i,to.jsxs=i,to}var Mv;function WT(){return Mv||(Mv=1,cd.exports=JT()),cd.exports}var v=WT(),qi=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(){}},tE=class extends qi{#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"}},Lh=new tE,eE={setTimeout:(t,n)=>setTimeout(t,n),clearTimeout:t=>clearTimeout(t),setInterval:(t,n)=>setInterval(t,n),clearInterval:t=>clearInterval(t)},nE=class{#e=eE;#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)}},Pi=new nE;function aE(t){setTimeout(t,0)}var iE=typeof window>"u"||"Deno"in globalThis;function Oe(){}function sE(t,n){return typeof t=="function"?t(n):t}function Gd(t){return typeof t=="number"&&t>=0&&t!==1/0}function eb(t,n){return Math.max(t+(n||0)-Date.now(),0)}function Wa(t,n){return typeof t=="function"?t(n):t}function nn(t,n){return typeof t=="function"?t(n):t}function Rv(t,n){const{type:i="all",exact:r,fetchStatus:l,predicate:c,queryKey:u,stale:h}=t;if(u){if(r){if(n.queryHash!==Vh(u,n.options))return!1}else if(!mo(n.queryKey,u))return!1}if(i!=="all"){const m=n.isActive();if(i==="active"&&!m||i==="inactive"&&m)return!1}return!(typeof h=="boolean"&&n.isStale()!==h||l&&l!==n.state.fetchStatus||c&&!c(n))}function Dv(t,n){const{exact:i,status:r,predicate:l,mutationKey:c}=t;if(c){if(!n.options.mutationKey)return!1;if(i){if(ti(n.options.mutationKey)!==ti(c))return!1}else if(!mo(n.options.mutationKey,c))return!1}return!(r&&n.state.status!==r||l&&!l(n))}function Vh(t,n){return(n?.queryKeyHashFn||ti)(t)}function ti(t){return JSON.stringify(t,(n,i)=>Fd(i)?Object.keys(i).sort().reduce((r,l)=>(r[l]=i[l],r),{}):i)}function mo(t,n){return t===n?!0:typeof t!=typeof n?!1:t&&n&&typeof t=="object"&&typeof n=="object"?Object.keys(n).every(i=>mo(t[i],n[i])):!1}var rE=Object.prototype.hasOwnProperty;function Bh(t,n,i=0){if(t===n)return t;if(i>500)return n;const r=_v(t)&&_v(n);if(!r&&!(Fd(t)&&Fd(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 g=0;g<h;g++){const y=r?g:u[g],b=t[y],w=n[y];if(b===w){m[y]=b,(r?g<c:rE.call(t,y))&&p++;continue}if(b===null||w===null||typeof b!="object"||typeof w!="object"){m[y]=w;continue}const T=Bh(b,w,i+1);m[y]=T,T===b&&p++}return c===h&&p===c?t:m}function po(t,n){if(!n||Object.keys(t).length!==Object.keys(n).length)return!1;for(const i in t)if(t[i]!==n[i])return!1;return!0}function _v(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function Fd(t){if(!zv(t))return!1;const n=t.constructor;if(n===void 0)return!0;const i=n.prototype;return!(!zv(i)||!i.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function zv(t){return Object.prototype.toString.call(t)==="[object Object]"}function oE(t){return new Promise(n=>{Pi.setTimeout(n,t)})}function Yd(t,n,i){return typeof i.structuralSharing=="function"?i.structuralSharing(t,n):i.structuralSharing!==!1?Bh(t,n):n}function lE(t,n,i=0){const r=[...t,n];return i&&r.length>i?r.slice(1):r}function cE(t,n,i=0){const r=[n,...t];return i&&r.length>i?r.slice(0,-1):r}var sn=Symbol();function nb(t,n){return!t.queryFn&&n?.initialPromise?()=>n.initialPromise:!t.queryFn||t.queryFn===sn?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function qh(t,n){return typeof t=="function"?t(...n):!!t}function uE(t,n,i){let r=!1,l;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(l??=n(),r||(r=!0,l.aborted?i():l.addEventListener("abort",i,{once:!0})),l)}),t}var go=(()=>{let t=()=>iE;return{isServer(){return t()},setIsServer(n){t=n}}})();function Kd(){let t,n;const i=new Promise((l,c)=>{t=l,n=c});i.status="pending",i.catch(()=>{});function r(l){Object.assign(i,l),delete i.resolve,delete i.reject}return i.resolve=l=>{r({status:"fulfilled",value:l}),t(l)},i.reject=l=>{r({status:"rejected",reason:l}),n(l)},i}var fE=aE;function dE(){let t=[],n=0,i=h=>{h()},r=h=>{h()},l=fE;const c=h=>{n?t.push(h):l(()=>{i(h)})},u=()=>{const h=t;t=[],h.length&&l(()=>{r(()=>{h.forEach(m=>{i(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=>{i=h},setBatchNotifyFunction:h=>{r=h},setScheduler:h=>{l=h}}}var te=dE(),hE=class extends qi{#e=!0;#t;#n;constructor(){super(),this.#n=t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",i)}}}}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(i=>{i(t)}))}isOnline(){return this.#e}},bc=new hE;function mE(t){return Math.min(1e3*2**t,3e4)}function ab(t){return(t??"online")==="online"?bc.isOnline():!0}var Xd=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function ib(t){let n=!1,i=0,r;const l=Kd(),c=()=>l.status!=="pending",u=E=>{if(!c()){const D=new Xd(E);b(D),t.onCancel?.(D)}},h=()=>{n=!0},m=()=>{n=!1},p=()=>Lh.isFocused()&&(t.networkMode==="always"||bc.isOnline())&&t.canRun(),g=()=>ab(t.networkMode)&&t.canRun(),y=E=>{c()||(r?.(),l.resolve(E))},b=E=>{c()||(r?.(),l.reject(E))},w=()=>new Promise(E=>{r=D=>{(c()||p())&&E(D)},t.onPause?.()}).then(()=>{r=void 0,c()||t.onContinue?.()}),T=()=>{if(c())return;let E;const D=i===0?t.initialPromise:void 0;try{E=D??t.fn()}catch(N){E=Promise.reject(N)}Promise.resolve(E).then(y).catch(N=>{if(c())return;const Q=t.retry??(go.isServer()?0:3),q=t.retryDelay??mE,$=typeof q=="function"?q(i,N):q,U=Q===!0||typeof Q=="number"&&i<Q||typeof Q=="function"&&Q(i,N);if(n||!U){b(N);return}i++,t.onFail?.(i,N),oE($).then(()=>p()?void 0:w()).then(()=>{n?b(N):T()})})};return{promise:l,status:()=>l.status,cancel:u,continue:()=>(r?.(),l),cancelRetry:h,continueRetry:m,canStart:g,start:()=>(g()?T():w().then(T),l)}}var sb=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Gd(this.gcTime)&&(this.#e=Pi.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(go.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(Pi.clearTimeout(this.#e),this.#e=void 0)}};function pE(t){return{onFetch:(n,i)=>{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 g=!1;const y=T=>{uE(T,()=>n.signal,()=>g=!0)},b=nb(n.options,n.fetchOptions),w=async(T,E,D)=>{if(g)return Promise.reject(n.signal.reason);if(E==null&&T.pages.length)return Promise.resolve(T);const Q=(()=>{const G={client:n.client,queryKey:n.queryKey,pageParam:E,direction:D?"backward":"forward",meta:n.options.meta};return y(G),G})(),q=await b(Q),{maxPages:$}=n.options,U=D?cE:lE;return{pages:U(T.pages,q,$),pageParams:U(T.pageParams,E,$)}};if(l&&c.length){const T=l==="backward",E=T?rb:Id,D={pages:c,pageParams:u},N=E(r,D);h=await w(D,N,T)}else{const T=t??c.length;do{const E=m===0?u[0]??r.initialPageParam:Id(r,h);if(m>0&&E==null)break;h=await w(h,E),m++}while(m<T)}return h};n.options.persister?n.fetchFn=()=>n.options.persister?.(p,{client:n.client,queryKey:n.queryKey,meta:n.options.meta,signal:n.signal},i):n.fetchFn=p}}}function Id(t,{pages:n,pageParams:i}){const r=n.length-1;return n.length>0?t.getNextPageParam(n[r],n,i[r],i):void 0}function rb(t,{pages:n,pageParams:i}){return n.length>0?t.getPreviousPageParam?.(n[0],n,i[0],i):void 0}function gE(t,n){return n?Id(t,n)!=null:!1}function yE(t,n){return!n||!t.getPreviousPageParam?!1:rb(t,n)!=null}var vE=class extends sb{#e;#t;#n;#a;#i;#s;#o;#r;constructor(t){super(),this.#r=!1,this.#o=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#i=t.client,this.#a=this.#i.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#t=Hv(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.#s?.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=Hv(this.options);n.data!==void 0&&(this.setState(Pv(n.data,n.dataUpdatedAt)),this.#t=n)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#a.remove(this)}setData(t,n){const i=Yd(this.state.data,t,this.options);return this.#l({data:i,type:"success",dataUpdatedAt:n?.updatedAt,manual:n?.manual}),i}setState(t){this.#l({type:"setState",state:t})}cancel(t){const n=this.#s?.promise;return this.#s?.cancel(t),n?n.then(Oe).catch(Oe):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=>nn(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===sn||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Wa(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:!eb(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(n=>n.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#s?.continue()}onOnline(){this.observers.find(n=>n.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#s?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#a.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.#s&&(this.#r||this.#u()?this.#s.cancel({revert:!0}):this.#s.cancelRetry()),this.scheduleGc()),this.#a.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.#s?.status()!=="rejected"){if(this.state.data!==void 0&&n?.cancelRefetch)this.cancel({silent:!0});else if(this.#s)return this.#s.continueRetry(),this.#s.promise}if(t&&this.setOptions(t),!this.options.queryFn){const m=this.observers.find(p=>p.options.queryFn);m&&this.setOptions(m.options)}const i=new AbortController,r=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(this.#r=!0,i.signal)})},l=()=>{const m=nb(this.options,n),g=(()=>{const y={client:this.#i,queryKey:this.queryKey,meta:this.meta};return r(y),y})();return this.#r=!1,this.options.persister?this.options.persister(m,g,this):m(g)},u=(()=>{const m={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:l};return r(m),m})();(this.#e==="infinite"?pE(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.#s=ib({initialPromise:n?.initialPromise,fn:u.fetchFn,onCancel:m=>{m instanceof Xd&&m.revert&&this.setState({...this.#n,fetchStatus:"idle"}),i.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.#s.start();if(m===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(m),this.#a.config.onSuccess?.(m,this),this.#a.config.onSettled?.(m,this.state.error,this),m}catch(m){if(m instanceof Xd){if(m.silent)return this.#s.promise;if(m.revert){if(this.state.data===void 0)throw m;return this.state.data}}throw this.#l({type:"error",error:m}),this.#a.config.onError?.(m,this),this.#a.config.onSettled?.(this.state.data,m,this),m}finally{this.scheduleGc()}}#l(t){const n=i=>{switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...ob(i.data,this.options),fetchMeta:t.meta??null};case"success":const r={...i,...Pv(t.data,t.dataUpdatedAt),dataUpdateCount:i.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{...i,error:l,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=n(this.state),te.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),this.#a.notify({query:this,type:"updated",action:t})})}};function ob(t,n){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ab(n.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function Pv(t,n){return{data:t,dataUpdatedAt:n??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Hv(t){const n=typeof t.initialData=="function"?t.initialData():t.initialData,i=n!==void 0,r=i?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:n,dataUpdateCount:0,dataUpdatedAt:i?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}var No=class extends qi{constructor(t,n){super(),this.options=n,this.#e=t,this.#r=null,this.#o=Kd(),this.bindMethods(),this.setOptions(n)}#e;#t=void 0;#n=void 0;#a=void 0;#i;#s;#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),Uv(this.#t,this.options)?this.#d():this.updateResult(),this.#x())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Zd(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Zd(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,i=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 nn(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&&!po(this.options,n)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const r=this.hasListeners();r&&kv(this.#t,i,this.options,n)&&this.#d(),this.updateResult(),r&&(this.#t!==i||nn(this.options.enabled,this.#t)!==nn(n.enabled,this.#t)||Wa(this.options.staleTime,this.#t)!==Wa(n.staleTime,this.#t))&&this.#g();const l=this.#y();r&&(this.#t!==i||nn(this.options.enabled,this.#t)!==nn(n.enabled,this.#t)||l!==this.#c)&&this.#v(l)}getOptimisticResult(t){const n=this.#e.getQueryCache().build(this.#e,t),i=this.createResult(n,t);return bE(this,i)&&(this.#a=i,this.#s=this.options,this.#i=this.#t.state),i}getCurrentResult(){return this.#a}trackResult(t,n){return new Proxy(t,{get:(i,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(i,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),i=this.#e.getQueryCache().build(this.#e,n);return i.fetch().then(()=>this.createResult(i,n))}fetch(t){return this.#d({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#a))}#d(t){this.#w();let n=this.#t.fetch(this.options,t);return t?.throwOnError||(n=n.catch(Oe)),n}#g(){this.#b();const t=Wa(this.options.staleTime,this.#t);if(go.isServer()||this.#a.isStale||!Gd(t))return;const i=eb(this.#a.dataUpdatedAt,t)+1;this.#f=Pi.setTimeout(()=>{this.#a.isStale||this.updateResult()},i)}#y(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#v(t){this.#S(),this.#c=t,!(go.isServer()||nn(this.options.enabled,this.#t)===!1||!Gd(this.#c)||this.#c===0)&&(this.#m=Pi.setInterval(()=>{(this.options.refetchIntervalInBackground||Lh.isFocused())&&this.#d()},this.#c))}#x(){this.#g(),this.#v(this.#y())}#b(){this.#f!==void 0&&(Pi.clearTimeout(this.#f),this.#f=void 0)}#S(){this.#m!==void 0&&(Pi.clearInterval(this.#m),this.#m=void 0)}createResult(t,n){const i=this.#t,r=this.options,l=this.#a,c=this.#i,u=this.#s,m=t!==i?t.state:this.#n,{state:p}=t;let g={...p},y=!1,b;if(n._optimisticResults){const _=this.hasListeners(),J=!_&&Uv(t,n),W=_&&kv(t,i,n,r);(J||W)&&(g={...g,...ob(p.data,t.options)}),n._optimisticResults==="isRestoring"&&(g.fetchStatus="idle")}let{error:w,errorUpdatedAt:T,status:E}=g;b=g.data;let D=!1;if(n.placeholderData!==void 0&&b===void 0&&E==="pending"){let _;l?.isPlaceholderData&&n.placeholderData===u?.placeholderData?(_=l.data,D=!0):_=typeof n.placeholderData=="function"?n.placeholderData(this.#h?.state.data,this.#h):n.placeholderData,_!==void 0&&(E="success",b=Yd(l?.data,_,n),y=!0)}if(n.select&&b!==void 0&&!D)if(l&&b===c?.data&&n.select===this.#u)b=this.#l;else try{this.#u=n.select,b=n.select(b),b=Yd(l?.data,b,n),this.#l=b,this.#r=null}catch(_){this.#r=_}this.#r&&(w=this.#r,b=this.#l,T=Date.now(),E="error");const N=g.fetchStatus==="fetching",Q=E==="pending",q=E==="error",$=Q&&N,U=b!==void 0,R={status:E,fetchStatus:g.fetchStatus,isPending:Q,isSuccess:E==="success",isError:q,isInitialLoading:$,isLoading:$,data:b,dataUpdatedAt:g.dataUpdatedAt,error:w,errorUpdatedAt:T,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:t.isFetched(),isFetchedAfterMount:g.dataUpdateCount>m.dataUpdateCount||g.errorUpdateCount>m.errorUpdateCount,isFetching:N,isRefetching:N&&!Q,isLoadingError:q&&!U,isPaused:g.fetchStatus==="paused",isPlaceholderData:y,isRefetchError:q&&U,isStale:Qh(t,n),refetch:this.refetch,promise:this.#o,isEnabled:nn(n.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const _=R.data!==void 0,J=R.status==="error"&&!_,W=st=>{J?st.reject(R.error):_&&st.resolve(R.data)},at=()=>{const st=this.#o=R.promise=Kd();W(st)},tt=this.#o;switch(tt.status){case"pending":t.queryHash===i.queryHash&&W(tt);break;case"fulfilled":(J||R.data!==tt.value)&&at();break;case"rejected":(!J||R.error!==tt.reason)&&at();break}}return R}updateResult(){const t=this.#a,n=this.createResult(this.#t,this.options);if(this.#i=this.#t.state,this.#s=this.options,this.#i.data!==void 0&&(this.#h=this.#t),po(n,t))return;this.#a=n;const i=()=>{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.#a).some(u=>{const h=u;return this.#a[h]!==t[h]&&c.has(h)})};this.#T({listeners:i()})}#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()}#T(t){te.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(this.#a)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function xE(t,n){return nn(n.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&nn(n.retryOnMount,t)===!1)}function Uv(t,n){return xE(t,n)||t.state.data!==void 0&&Zd(t,n,n.refetchOnMount)}function Zd(t,n,i){if(nn(n.enabled,t)!==!1&&Wa(n.staleTime,t)!=="static"){const r=typeof i=="function"?i(t):i;return r==="always"||r!==!1&&Qh(t,n)}return!1}function kv(t,n,i,r){return(t!==n||nn(r.enabled,t)===!1)&&(!i.suspense||t.state.status!=="error")&&Qh(t,i)}function Qh(t,n){return nn(n.enabled,t)!==!1&&t.isStaleByTime(Wa(n.staleTime,t))}function bE(t,n){return!po(t.getCurrentResult(),n)}var lb=class extends No{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:i}=t,r=super.createResult(t,n),{isFetching:l,isRefetching:c,isError:u,isRefetchError:h}=r,m=i.fetchMeta?.fetchMore?.direction,p=u&&m==="forward",g=l&&m==="forward",y=u&&m==="backward",b=l&&m==="backward";return{...r,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:gE(n,i.data),hasPreviousPage:yE(n,i.data),isFetchNextPageError:p,isFetchingNextPage:g,isFetchPreviousPageError:y,isFetchingPreviousPage:b,isRefetchError:h&&!p&&!y,isRefetching:c&&!g&&!b}}},SE=class extends sb{#e;#t;#n;#a;constructor(t){super(),this.#e=t.client,this.mutationId=t.mutationId,this.#n=t.mutationCache,this.#t=[],this.state=t.state||cb(),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.#a?.continue()??this.execute(this.state.variables)}async execute(t){const n=()=>{this.#i({type:"continue"})},i={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#a=ib({fn:()=>this.options.mutationFn?this.options.mutationFn(t,i):Promise.reject(new Error("No mutationFn found")),onFail:(c,u)=>{this.#i({type:"failed",failureCount:c,error:u})},onPause:()=>{this.#i({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.#a.canStart();try{if(r)n();else{this.#i({type:"pending",variables:t,isPaused:l}),this.#n.config.onMutate&&await this.#n.config.onMutate(t,this,i);const u=await this.options.onMutate?.(t,i);u!==this.state.context&&this.#i({type:"pending",context:u,variables:t,isPaused:l})}const c=await this.#a.start();return await this.#n.config.onSuccess?.(c,t,this.state.context,this,i),await this.options.onSuccess?.(c,t,this.state.context,i),await this.#n.config.onSettled?.(c,null,this.state.variables,this.state.context,this,i),await this.options.onSettled?.(c,null,t,this.state.context,i),this.#i({type:"success",data:c}),c}catch(c){try{await this.#n.config.onError?.(c,t,this.state.context,this,i)}catch(u){Promise.reject(u)}try{await this.options.onError?.(c,t,this.state.context,i)}catch(u){Promise.reject(u)}try{await this.#n.config.onSettled?.(void 0,c,this.state.variables,this.state.context,this,i)}catch(u){Promise.reject(u)}try{await this.options.onSettled?.(void 0,c,t,this.state.context,i)}catch(u){Promise.reject(u)}throw this.#i({type:"error",error:c}),c}finally{this.#n.runNext(this)}}#i(t){const n=i=>{switch(t.type){case"failed":return{...i,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,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{...i,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),te.batch(()=>{this.#t.forEach(i=>{i.onMutationUpdate(t)}),this.#n.notify({mutation:this,type:"updated",action:t})})}};function cb(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var wE=class extends qi{constructor(t={}){super(),this.config=t,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(t,n,i){const r=new SE({client:t,mutationCache:this,mutationId:++this.#n,options:t.defaultMutationOptions(n),state:i});return this.add(r),r}add(t){this.#e.add(t);const n=Wl(t);if(typeof n=="string"){const i=this.#t.get(n);i?i.push(t):this.#t.set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){const n=Wl(t);if(typeof n=="string"){const i=this.#t.get(n);if(i)if(i.length>1){const r=i.indexOf(t);r!==-1&&i.splice(r,1)}else i[0]===t&&this.#t.delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Wl(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=Wl(t);return typeof n=="string"?this.#t.get(n)?.find(r=>
9r!==t&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){te.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(i=>Dv(n,i))}findAll(t={}){return this.getAll().filter(n=>Dv(t,n))}notify(t){te.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return te.batch(()=>Promise.all(t.map(n=>n.continue().catch(Oe))))}};function Wl(t){return t.options.scope?.id}var TE=class extends qi{#e;#t=void 0;#n;#a;constructor(n,i){super(),this.#e=n,this.setOptions(i),this.bindMethods(),this.#i()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){const i=this.options;this.options=this.#e.defaultMutationOptions(n),po(this.options,i)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),i?.mutationKey&&this.options.mutationKey&&ti(i.mutationKey)!==ti(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.#i(),this.#s(n)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#i(),this.#s()}mutate(n,i){return this.#a=i,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(n)}#i(){const n=this.#n?.state??cb();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}}#s(n){te.batch(()=>{if(this.#a&&this.hasListeners()){const i=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.#a.onSuccess?.(n.data,i,r,l)}catch(c){Promise.reject(c)}try{this.#a.onSettled?.(n.data,null,i,r,l)}catch(c){Promise.reject(c)}}else if(n?.type==="error"){try{this.#a.onError?.(n.error,i,r,l)}catch(c){Promise.reject(c)}try{this.#a.onSettled?.(void 0,n.error,i,r,l)}catch(c){Promise.reject(c)}}}this.listeners.forEach(i=>{i(this.#t)})})}};function Lv(t,n){const i=new Set(n);return t.filter(r=>!i.has(r))}function EE(t,n,i){const r=t.slice(0);return r[n]=i,r}var AE=class extends qi{#e;#t;#n;#a;#i;#s;#o;#r;#u;#l=[];constructor(t,n,i){super(),this.#e=t,this.#a=i,this.#n=[],this.#i=[],this.#t=[],this.setQueries(n)}onSubscribe(){this.listeners.size===1&&this.#i.forEach(t=>{t.subscribe(n=>{this.#p(t,n)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#i.forEach(t=>{t.destroy()})}setQueries(t,n){this.#n=t,this.#a=n,te.batch(()=>{const i=this.#i,r=this.#c(this.#n);r.forEach(g=>g.observer.setOptions(g.defaultedQueryOptions));const l=r.map(g=>g.observer),c=l.map(g=>g.getCurrentResult()),u=i.length!==l.length,h=l.some((g,y)=>g!==i[y]),m=u||h,p=m?!0:c.some((g,y)=>{const b=this.#t[y];return!b||!po(g,b)});!m&&!p||(m&&(this.#l=r,this.#i=l),this.#t=c,this.hasListeners()&&(m&&(Lv(i,l).forEach(g=>{g.destroy()}),Lv(l,i).forEach(g=>{g.subscribe(y=>{this.#p(g,y)})})),this.#d()))})}getCurrentResult(){return this.#t}getQueries(){return this.#i.map(t=>t.getCurrentQuery())}getObservers(){return this.#i}getOptimisticResult(t,n){const i=this.#c(t),r=i.map(c=>c.observer.getOptimisticResult(c.defaultedQueryOptions)),l=i.map(c=>c.defaultedQueryOptions.queryHash);return[r,c=>this.#f(c??r,n,l),()=>this.#h(r,i)]}#h(t,n){return n.map((i,r)=>{const l=t[r];return i.defaultedQueryOptions.notifyOnChangeProps?l:i.observer.trackResult(l,c=>{n.forEach(u=>{u.observer.trackProp(c)})})})}#f(t,n,i){if(n){const r=this.#u,l=i!==void 0&&r!==void 0&&(r.length!==i.length||i.some((c,u)=>c!==r[u]));return(!this.#s||this.#t!==this.#r||l||n!==this.#o)&&(this.#o=n,this.#r=this.#t,i!==void 0&&(this.#u=i),this.#s=Bh(this.#s,n(t))),this.#s}return t}#m(){return this.#a?.combine!==void 0&&this.#i.some((t,n)=>t.options.suspense&&this.#t[n]?.data===void 0)}#c(t){const n=new Map;
vendor: 8,660 bytes, lines 9-17
9this.#i.forEach(r=>{const l=r.options.queryHash;if(!l)return;const c=n.get(l);c?c.push(r):n.set(l,[r])});const i=[];return t.forEach(r=>{const l=this.#e.defaultQueryOptions(r),u=n.get(l.queryHash)?.shift()??new No(this.#e,l);i.push({defaultedQueryOptions:l,observer:u})}),i}#p(t,n){const i=this.#i.indexOf(t);i!==-1&&(this.#t=EE(this.#t,i,n),this.#d())}#d(){if(this.hasListeners()){const t=this.#h(this.#t,this.#l),n=this.#m(),i=this.#s,r=n?i:this.#f(t,this.#a?.combine);(n||i!==r)&&te.batch(()=>{this.listeners.forEach(l=>{l(this.#t)})})}}},CE=class extends qi{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,n,i){const r=n.queryKey,l=n.queryHash??Vh(r,n);let c=this.get(l);return c||(c=new vE({client:t,queryKey:r,queryHash:l,options:t.defaultQueryOptions(n),state:i,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(){te.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(i=>Rv(n,i))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(i=>Rv(t,i)):n}notify(t){te.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){te.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){te.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},OE=class{#e;#t;#n;#a;#i;#s;#o;#r;constructor(t={}){this.#e=t.queryCache||new CE,this.#t=t.mutationCache||new wE,this.#n=t.defaultOptions||{},this.#a=new Map,this.#i=new Map,this.#s=0}mount(){this.#s++,this.#s===1&&(this.#o=Lh.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#r=bc.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#s--,this.#s===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),i=this.#e.build(this,n),r=i.state.data;return r===void 0?this.fetchQuery(t):(t.revalidateIfStale&&i.isStaleByTime(Wa(n.staleTime,i))&&this.prefetchQuery(n),Promise.resolve(r))}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:n,state:i})=>{const r=i.data;return[n,r]})}setQueryData(t,n,i){const r=this.defaultQueryOptions({queryKey:t}),c=this.#e.get(r.queryHash)?.state.data,u=sE(n,c);if(u!==void 0)return this.#e.build(this,r).setData(u,{...i,manual:!0})}setQueriesData(t,n,i){return te.batch(()=>this.#e.findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,n,i)]))}getQueryState(t){const n=this.defaultQueryOptions({queryKey:t});return this.#e.get(n.queryHash)?.state}removeQueries(t){const n=this.#e;te.batch(()=>{n.findAll(t).forEach(i=>{n.remove(i)})})}resetQueries(t,n){const i=this.#e;return te.batch(()=>(i.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},n)))}cancelQueries(t,n={}){const i={revert:!0,...n},r=te.batch(()=>this.#e.findAll(t).map(l=>l.cancel(i)));return Promise.all(r).then(Oe).catch(Oe)}invalidateQueries(t,n={}){return te.batch(()=>(this.#e.findAll(t).forEach(i=>{i.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},n)))}refetchQueries(t,n={}){const i={...n,cancelRefetch:n.cancelRefetch??!0},r=te.batch(()=>this.#e.findAll(t).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let c=l.fetch(void 0,i);return i.throwOnError||(c=c.catch(Oe)),l.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(r).then(Oe)}fetchQuery(t){const n=this.defaultQueryOptions(t);n.retry===void 0&&(n.retry=!1);const i=this.#e.build(this,n);return i.isStaleByTime(Wa(n.staleTime,i))?i.fetch(n):Promise.resolve(i.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Oe).catch(Oe)}fetchInfiniteQuery(t){return t._type="infinite",this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Oe).catch(Oe)}ensureInfiniteQueryData(t){return t._type="infinite",this.ensureQueryData(t)}resumePausedMutations(){return bc.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.#a.set(ti(t),{queryKey:t,defaultOptions:n})}getQueryDefaults(t){const n=[...this.#a.values()],i={};return n.forEach(r=>{mo(t,r.queryKey)&&Object.assign(i,r.defaultOptions)}),i}setMutationDefaults(t,n){this.#i.set(ti(t),{mutationKey:t,defaultOptions:n})}getMutationDefaults(t){const n=[...this.#i.values()],i={};return n.forEach(r=>{mo(t,r.mutationKey)&&Object.assign(i,r.defaultOptions)}),i}defaultQueryOptions(t){if(t._defaulted)return t;const n={...this.#n.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return n.queryHash||(n.queryHash=Vh(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===sn&&(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()}},ud={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 Vv;function jE(){if(Vv)return St;Vv=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),i=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"),g=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),b=Symbol.iterator;function w(C){return C===null||typeof C!="object"?null:(C=b&&C[b]||C["@@iterator"],typeof C=="function"?C:null)}var T={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,D={};function N(C,Y,V){this.props=C,this.context=Y,this.refs=D,this.updater=V||T}N.prototype.isReactComponent={},N.prototype.setState=function(C,Y){if(typeof C!="object"&&typeof C!="function"&&C!=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,C,Y,"setState")},N.prototype.forceUpdate=function(C){this.updater.enqueueForceUpdate(this,C,"forceUpdate")};function Q(){}Q.prototype=N.prototype;function q(C,Y,V){this.props=C,this.context=Y,this.refs=D,this.updater=V||T}var $=q.prototype=new Q;$.constructor=q,E($,N.prototype),$.isPureReactComponent=!0;var U=Array.isArray;function G(){}var R={H:null,A:null,T:null,S:null},_=Object.prototype.hasOwnProperty;function J(C,Y,V){var K=V.ref;return{$$typeof:t,type:C,key:Y,ref:K!==void 0?K:null,props:V}}function W(C,Y){return J(C.type,Y,C.props)}function at(C){return typeof C=="object"&&C!==null&&C.$$typeof===t}function tt(C){var Y={"=":"=0",":":"=2"};return"$"+C.replace(/[=:]/g,function(V){return Y[V]})}var st=/\/+/g;function rt(C,Y){return typeof C=="object"&&C!==null&&C.key!=null?tt(""+C.key):Y.toString(36)}function ct(C){switch(C.status){case"fulfilled":return C.value;case"rejected":throw C.reason;default:switch(typeof C.status=="string"?C.then(G,G):(C.status="pending",C.then(function(Y){C.status==="pending"&&(C.status="fulfilled",C.value=Y)},function(Y){C.status==="pending"&&(C.status="rejected",C.reason=Y)})),C.status){case"fulfilled":return C.value;case"rejected":throw C.reason}}throw C}function j(C,Y,V,K,et){var mt=typeof C;(mt==="undefined"||mt==="boolean")&&(C=null);var ut=!1;if(C===null)ut=!0;else switch(mt){case"bigint":case"string":case"number":ut=!0;break;case"object":switch(C.$$typeof){case t:case n:ut=!0;break;case g:return ut=C._init,j(ut(C._payload),Y,V,K,et)}}if(ut)return et=et(C),ut=K===""?"."+rt(C,0):K,U(et)?(V="",ut!=null&&(V=ut.replace(st,"$&/")+"/"),j(et,Y,V,"",function(ge){return ge})):et!=null&&(at(et)&&(et=W(et,V+(et.key==null||C&&C.key===et.key?"":(""+et.ke
vendor: 4,125 bytes, line 17
17y).replace(st,"$&/")+"/")+ut)),Y.push(et)),1;ut=0;var xt=K===""?".":K+":";if(U(C))for(var Nt=0;Nt<C.length;Nt++)K=C[Nt],mt=xt+rt(K,Nt),ut+=j(K,Y,V,mt,et);else if(Nt=w(C),typeof Nt=="function")for(C=Nt.call(C),Nt=0;!(K=C.next()).done;)K=K.value,mt=xt+rt(K,Nt++),ut+=j(K,Y,V,mt,et);else if(mt==="object"){if(typeof C.then=="function")return j(ct(C),Y,V,K,et);throw Y=String(C),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(C).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return ut}function H(C,Y,V){if(C==null)return C;var K=[],et=0;return j(C,K,"","",function(mt){return Y.call(V,mt,et++)}),K}function z(C){if(C._status===-1){var Y=C._result;Y=Y(),Y.then(function(V){(C._status===0||C._status===-1)&&(C._status=1,C._result=V)},function(V){(C._status===0||C._status===-1)&&(C._status=2,C._result=V)}),C._status===-1&&(C._status=0,C._result=Y)}if(C._status===1)return C._result.default;throw C._result}var nt=typeof reportError=="function"?reportError:function(C){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof C=="object"&&C!==null&&typeof C.message=="string"?String(C.message):String(C),error:C});if(!window.dispatchEvent(Y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",C);return}console.error(C)},lt={map:H,forEach:function(C,Y,V){H(C,function(){Y.apply(this,arguments)},V)},count:function(C){var Y=0;return H(C,function(){Y++}),Y},toArray:function(C){return H(C,function(Y){return Y})||[]},only:function(C){if(!at(C))throw Error("React.Children.only expected to receive a single React element child.");return C}};return St.Activity=y,St.Children=lt,St.Component=N,St.Fragment=i,St.Profiler=l,St.PureComponent=q,St.StrictMode=r,St.Suspense=m,St.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=R,St.__COMPILER_RUNTIME={__proto__:null,c:function(C){return R.H.useMemoCache(C)}},St.cache=function(C){return function(){return C.apply(null,arguments)}},St.cacheSignal=function(){return null},St.cloneElement=function(C,Y,V){if(C==null)throw Error("The argument must be a React element, but you passed "+C+".");var K=E({},C.props),et=C.key;if(Y!=null)for(mt in Y.key!==void 0&&(et=""+Y.key),Y)!_.call(Y,mt)||mt==="key"||mt==="__self"||mt==="__source"||mt==="ref"&&Y.ref===void 0||(K[mt]=Y[mt]);var mt=arguments.length-2;if(mt===1)K.children=V;else if(1<mt){for(var ut=Array(mt),xt=0;xt<mt;xt++)ut[xt]=arguments[xt+2];K.children=ut}return J(C.type,et,K)},St.createContext=function(C){return C={$$typeof:u,_currentValue:C,_currentValue2:C,_threadCount:0,Provider:null,Consumer:null},C.Provider=C,C.Consumer={$$typeof:c,_context:C},C},St.createElement=function(C,Y,V){var K,et={},mt=null;if(Y!=null)for(K in Y.key!==void 0&&(mt=""+Y.key),Y)_.call(Y,K)&&K!=="key"&&K!=="__self"&&K!=="__source"&&(et[K]=Y[K]);var ut=arguments.length-2;if(ut===1)et.children=V;else if(1<ut){for(var xt=Array(ut),Nt=0;Nt<ut;Nt++)xt[Nt]=arguments[Nt+2];et.children=xt}if(C&&C.defaultProps)for(K in ut=C.defaultProps,ut)et[K]===void 0&&(et[K]=ut[K]);return J(C,mt,et)},St.createRef=function(){return{current:null}},St.forwardRef=function(C){return{$$typeof:h,render:C}},St.isValidElement=at,St.lazy=function(C){return{$$typeof:g,_payload:{_status:-1,_result:C},_init:z}},St.memo=function(C,Y){return{$$typeof:p,type:C,compare:Y===void 0?null:Y}},St.startTransition=function(C){var Y=R.T,V={};R.T=V;try{var K=C(),et=R.S;et!==null&&et(V,K),typeof K=="object"&&K!==null&&typeof K.then=="function"&&K.then(G,nt)}catch(mt){nt(mt)}finally{Y!==null&&V.types!==null&&(Y.types=V.types),R.T=Y}},St.unstable_useCacheRefresh=function(){return R.H.useCacheRefresh()},St.use=function(C){return R.H.use(C)},St.useActionState=function(C,Y,V){return R.H.useActionState(C,Y,V)},St.useCallback=function(C,Y){return R.H.useCallback(C,Y)},St.useContext=function(C){return R.H.useContext(C)},St.useDebugValue=function(){},St.useDeferredValue=function(C,Y){return R.H.useDeferredValue(C,Y)}
17,St.useEffect=function(C,Y){return R.H.useEffect(C,Y)},St.useEffectEvent=function(C){return R.H.useEffectEvent(C)},St.useId=function(){return R.H.useId()},St.useImperativeHandle=function(C,Y,V){return R.H.useImperativeHandle(C,Y,V)},St.useInsertionEffect=function(C,Y){return R.H.useInsertionEffect(C,Y)},St.useLayoutEffect=function(C,Y){return R.H.useLayoutEffect(C,Y)},St.useMemo=function(C,Y){return R.H.useMemo(C,Y)},St.useOptimistic=function(C,Y){return R.H.useOptimistic(C,Y)},St.useReducer=function(C,Y,V){return R.H.useReducer(C,Y,V)},St.useRef=function(C){return R.H.useRef(C)},St.useState=function(C){return R.H.useState(C)},St.useSyncExternalStore=function(C,Y,V){return R.H.useSyncExternalStore(C,Y,V)},St.useTransition=function(){return R.H.useTransition()},St.version="19.2.1",St}var Bv;function Rc(){return Bv||(Bv=1,ud.exports=jE()),ud.exports}var A=Rc();const it=tb(A),ub=$T({__proto__:null,default:it},[A]);var fb=A.createContext(void 0),Mo=t=>{const n=A.useContext(fb);if(t)return t;if(!n)throw new Error("No QueryClient set, use QueryClientProvider to set one");return n},NE=({client:t,children:n})=>(A.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),v.jsx(fb.Provider,{value:t,children:n})),db=A.createContext(!1),hb=()=>A.useContext(db);db.Provider;function ME(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var RE=A.createContext(ME()),mb=()=>A.useContext(RE),pb=(t,n,i)=>{const r=i?.state.error&&typeof t.throwOnError=="function"?qh(t.throwOnError,[i.state.error,i]):t.throwOnError;(t.suspense||t.experimental_prefetchInRender||r)&&(n.isReset()||(t.retryOnMount=!1))},gb=t=>{A.useEffect(()=>{t.clearReset()},[t])},yb=({result:t,errorResetBoundary:n,throwOnError:i,query:r,suspense:l})=>t.isError&&!n.isReset()&&!t.isFetching&&r&&(l&&t.data===void 0||qh(i,[t.error,r])),Gh=(t,n)=>n.state.data===void 0,vb=t=>{if(t.suspense){const i=l=>l==="static"?l:Math.max(l??1e3,1e3),r=t.staleTime;t.staleTime=typeof r=="function"?(...l)=>i(r(...l)):i(r),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3))}},DE=(t,n)=>t.isLoading&&t.isFetching&&!n,$d=(t,n)=>t?.suspense&&n.isPending,Jd=(t,n,i)=>n.fetchOptimistic(t).catch(()=>{i.clearReset()});function xb({queries:t,...n},i){const r=Mo(i),l=hb(),c=mb(),u=A.useMemo(()=>t.map(E=>{const D=r.defaultQueryOptions(E);return D._optimisticResults=l?"isRestoring":"optimistic",D}),[t,r,l]);u.forEach(E=>{vb(E);const D=r.getQueryCache().get(E.queryHash);pb(E,c,D)}),gb(c);const[h]=A.useState(()=>new AE(r,u,n)),[m,p,g]=h.getOptimisticResult(u,n.combine),y=!l&&n.subscribed!==!1;A.useSyncExternalStore(A.useCallback(E=>y?h.subscribe(te.batchCalls(E)):Oe,[h,y]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),A.useEffect(()=>{h.setQueries(u,n)},[u,n,h]);const w=m.some((E,D)=>$d(u[D],E))?m.flatMap((E,D)=>{const N=u[D];if(N&&$d(N,E)){const Q=new No(r,N);return Jd(N,Q,c)}return[]}):[];if(w.length>0)throw Promise.all(w);const T=m.find((E,D)=>{const N=u[D];return N&&yb({result:E,errorResetBoundary:c,throwOnError:N.throwOnError,query:r.getQueryCache().get(N.queryHash),suspense:N.suspense})});if(T?.error)throw T.error;return p(g())}function Dc(t,n,i){const r=hb(),l=mb(),c=Mo(i),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,vb(u),pb(u,l,h),gb(l);const p=!c.getQueryCache().get(u.queryHash),[g]=A.useState(()=>new n(c,u)),y=g.getOptimisticResult(u),b=!r&&m;if(A.useSyncExternalStore(A.useCallback(w=>{const T=b?g.subscribe(te.batchCalls(w)):Oe;return g.updateResult(),T},[g,b]),()=>g.getCurrentResult(),()=>g.getCurrentResult()),A.useEffect(()=>{g.setOptions(u)},[u,g]),$d(u,y))throw Jd(u,g,l);if(yb({result:y,errorResetBoundary:l,throwOnError:u.throwOnError,query:h,suspense:u.suspense}))throw y.error;return c.getDefaultOptions().queries?._experimental_afterQuery?.(u,y),u.experimental_prefetchInRender&&!go.isServer()&&DE(y,r)&&(p?Jd(u,g,l):h?.promise)?.catch(Oe).finally(()=>{g.updateResult()}),u.notifyOnChangeProps?y:g.trackResult(y)}function _E(t,n){return Dc(t,No,n)}function zE(t,n){return Dc({...t,enabled:!0,suspense:!0,throwOnError:Gh,placeholderData:void 0},No,n)}function PE(t,n){return Dc({...t,enabled:!0,suspense:!0,throwOnError:Gh},lb,n)}function HE(t,n){return xb({...t,queries:t.queries.map(i=>({...i,suspense:!0,throwOnError:Gh,enabled:!0,placeholderData:void 0}))},n)}function UE(t,n){const i=Mo(n);i.getQueryState(t.queryKey)||i.prefetchQuery(t)}function kE(t,n){const i=Mo(n);i.getQueryState(t.queryKey)||i.prefetchInfiniteQuery(t)}function LE(t,n){const i=Mo(n),[r]=A.useState(()=>new TE(i,t));A.useEffect(()=>{r.setOptions(t)},[r,t]);const l=A.useSyncExternalStore(A.useCallback(u=>r.subscribe(te.batchCalls(u)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),c=A.useCallback((u,h)=>{r.mutate(u,h).catch(Oe)},[r]);if(l.error&&qh(r.options.throwOnError,[l.error]))throw l.error;return{...l,mutate:c,mutateAsync:l.mutate}}function VE(t,n){return Dc(t,lb,n)}function Vi(t){return!!t&&!Array.isArray(t)&&typeof t=="object"}function BE(){return Object.create(null)}const qE=typeof Symbol=="function"&&!!Symbol.asyncIterator;function bb(t){return qE&&Vi(t)&&Symbol.asyncIterator in t}var QE=Object.create,Sb=Object.defineProperty,GE=Object.getOwnPropertyDescriptor,wb=Object.getOwnPropertyNames,FE=Object.getPrototypeOf,YE=Object.prototype.hasOwnProperty,Ro=(t,n)=>function(){return n||(0,t[wb(t)[0]])((n={exports:{}}).exports,n),n.exports},KE=(t,n,i,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(var l=wb(n),c=0,u=l.length,h;c<u;c++)h=l[c],!YE.call(t,h)&&h!==i&&Sb(t,h,{get:(m=>n[m]).bind(null,h),enumerable:!(r=GE(n,h))||r.enumerable});return t},_c=(t,n,i)=>(i=t!=null?QE(FE(t)):{},KE(Sb(i,"default",{value:t,enumerable:!0}),t));const Tb=()=>{},qv=t=>{Object.freeze&&Object.freeze(t)};function Eb(t,n,i){var r;const l=n.join(".");return(r=i[l])!==null&&r!==void 0||(i[l]=new Proxy(Tb,{get(c,u){if(!(typeof u!="string"||u==="then"))return Eb(t,[...n,u],i)},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)}),qv(p.args),qv(p.path),t(p)}})),i[l]}const zc=t=>Eb(t,[],BE()),Fh=t=>new Proxy(Tb,{get(n,i){if(i!=="then")return t(i)}});var Ab=Ro({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(t,n){function i(r){"@babel/helpers - typeof";return n.exports=i=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,i(r)}n.exports=i,n.exports.__esModule=!0,n.exports.default=n.exports}}),XE=Ro({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(t,n){var i=Ab().default;function r(l,c){if(i(l)!="object"||!l)return l;var u=l[Symbol.toPrimitive];if(u!==void 0){var h=u.call(l,c||"default");if(i(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}}),IE=Ro({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(t,n){var i=Ab().default,r=XE();function l(c){var u=r(c,"string");return i(u)=="symbol"?u:u+""}n.exports=l,n.exports.__esModule=!0,n.exports.default=n.exports}}),Cb=Ro({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/
17defineProperty.js"(t,n){var i=IE();function r(l,c,u){return(c=i(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}}),Yh=Ro({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(t,n){var i=Cb();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){i(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}});_c(Yh());_c(Cb());var tc=_c(Yh());function ZE(t,n){if("error"in t){const r=n.deserialize(t.error);return{ok:!1,error:(0,tc.default)((0,tc.default)({},t),{},{error:r})}}return{ok:!0,result:(0,tc.default)((0,tc.default)({},t.result),(!t.result.type||t.result.type==="data")&&{type:"data",data:n.deserialize(t.result.data)})}}var fd=class extends Error{constructor(){super("Unable to transform response from server")}};function $E(t,n){let i;try{i=ZE(t,n)}catch{throw new fd}if(!i.ok&&(!Vi(i.error.error)||typeof i.error.error.code!="number"))throw new fd;if(i.ok&&!Vi(i.result))throw new fd;return i}_c(Yh());function Pc(t){const n={subscribe(i){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=i.next)===null||p===void 0||p.call(i,m)},error(m){var p;l||(l=!0,(p=i.error)===null||p===void 0||p.call(i,m),h())},complete(){var m;l||(l=!0,(m=i.complete)===null||m===void 0||m.call(i),h())}}),u&&h(),{unsubscribe:h}},pipe(...i){return i.reduce(JE,n)}};return n}function JE(t,n){return n(t)}function WE(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 tA=Object.create,Ob=Object.defineProperty,eA=Object.getOwnPropertyDescriptor,jb=Object.getOwnPropertyNames,nA=Object.getPrototypeOf,aA=Object.prototype.hasOwnProperty,ri=(t,n)=>function(){return n||(0,t[jb(t)[0]])((n={exports:{}}).exports,n),n.exports},iA=(t,n,i,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(var l=jb(n),c=0,u=l.length,h;c<u;c++)h=l[c],!aA.call(t,h)&&h!==i&&Ob(t,h,{get:(m=>n[m]).bind(null,h),enumerable:!(r=eA(n,h))||r.enumerable});return t},Qi=(t,n,i)=>(i=t!=null?tA(nA(t)):{},iA(n||!t||!t.__esModule?Ob(i,"default",{value:t,enumerable:!0}):i,t)),sA=ri({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutPropertiesLoose.js"(t,n){function i(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=i,n.exports.__esModule=!0,n.exports.default=n.exports}}),rA=ri({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutProperties.js"(t,n){var i=sA();function r(l,c){if(l==null)return{};var u,h,m=i(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}}),Nb=ri({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(t,n){function i(r){"@babel/helpers - typeof";return n.exports=i=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,i(r)}n.exports=i,n.exports.__esModule=!0,n.exports.default=n.exports}}),oA=ri({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(t,n){var i=Nb().default;function r(l,c){if(i(l)!="object"||!l)return l;var u=l[Symbol.toPrimitive];if(u!==void 0){var h=u.call(l,c||"default");if(i(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}}),lA=ri({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(t,n){var i=Nb().default,r=oA();function l(c){var u=r(c,"string");return i(u)=="symbol"?u:u+""}n.exports=l,n.exports.__esModule=!0,n.exports.default=n.exports}}),cA=ri({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/
17defineProperty.js"(t,n){var i=lA();function r(l,c,u){return(c=i(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}}),Do=ri({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(t,n){var i=cA();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){i(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}}),uA=Qi(rA(),1),Qv=Qi(Do(),1);const fA=["cursor","direction"];function Ln(t,n,i){const r=t.flatMap(l=>l.split("."));if(!n&&(!i||i==="any"))return r.length?[r]:[];if(i==="infinite"&&Vi(n)&&("direction"in n||"cursor"in n)){const{cursor:l,direction:c}=n,u=(0,uA.default)(n,fA);return[r,{input:u,type:"infinite"}]}return[r,(0,Qv.default)((0,Qv.default)({},typeof n<"u"&&n!==sn&&{input:n}),i&&i!=="any"&&{type:i})]}function dc(t){return Ln(t,void 0,"any")}var dA=Object.create,Mb=Object.defineProperty,hA=Object.getOwnPropertyDescriptor,Rb=Object.getOwnPropertyNames,mA=Object.getPrototypeOf,pA=Object.prototype.hasOwnProperty,Fn=(t,n)=>function(){return n||(0,t[Rb(t)[0]])((n={exports:{}}).exports,n),n.exports},gA=(t,n,i,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(var l=Rb(n),c=0,u=l.length,h;c<u;c++)h=l[c],!pA.call(t,h)&&h!==i&&Mb(t,h,{get:(m=>n[m]).bind(null,h),enumerable:!(r=hA(n,h))||r.enumerable});return t},se=(t,n,i)=>(i=t!=null?dA(mA(t)):{},gA(Mb(i,"default",{value:t,enumerable:!0}),t)),Db=Fn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(t,n){function i(r){"@babel/helpers - typeof";return n.exports=i=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,i(r)}n.exports=i,n.exports.__esModule=!0,n.exports.default=n.exports}}),yA=Fn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(t,n){var i=Db().default;function r(l,c){if(i(l)!="object"||!l)return l;var u=l[Symbol.toPrimitive];if(u!==void 0){var h=u.call(l,c||"default");if(i(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}}),vA=Fn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(t,n){var i=Db().default,r=yA();function l(c){var u=r(c,"string");return i(u)=="symbol"?u:u+""}n.exports=l,n.exports.__esModule=!0,n.exports.default=n.exports}}),Gi=Fn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(t,n){var i=vA();function r(l,c,u){return(c=i(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}}),Mn=Fn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(t,n){var i=Gi();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){i(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 xA(t){return n=>{let i=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(i===0&&r){const h=r;r=null,h.unsubscribe()}}return Pc(h=>(i++,l.push(h),c(),{unsubscribe(){i--,u();const m=l.findIndex(p=>p===h);m>-1&&l.splice(m,1)}}))}}function bA(t){let n=t;const i=[],r=u=>{n!==void 0&&u.next(n),i.push(u)},l=u=>{i.splice(i.indexOf(u),1)},c=Pc(u=>(r(u),()=>{l(u)}));return c.next=u=>{if(n!==u){n=u;for(const h of i)h.next(u)}},c.get=()=>n,c}function SA(t){return Pc(n=>{function i(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 i(l+1,m)}})}return i().subscribe(n)})}var ec=se(Gi()),Ps=se(Mn());function wA(t){return t instanceof Ys}function TA(t){return Vi(t)&&Vi(t.error)&&typeof t.error.code=="number"&&typeof t.error.message=="string"}function EA(t,n){return typeof t=="string"?t:Vi(t)&&typeof t.message=="string"?t.message:n}
17var Ys=class hc extends Error{constructor(n,i){var r,l;const c=i?.cause;super(n,{cause:c}),(0,ec.default)(this,"cause",void 0),(0,ec.default)(this,"shape",void 0),(0,ec.default)(this,"data",void 0),(0,ec.default)(this,"meta",void 0),this.meta=i?.meta,this.cause=c,this.shape=i==null||(r=i.result)===null||r===void 0?void 0:r.error,this.data=i==null||(l=i.result)===null||l===void 0?void 0:l.error.data,this.name="TRPCClientError",Object.setPrototypeOf(this,hc.prototype)}static from(n,i={}){const r=n;return wA(r)?(i.meta&&(r.meta=(0,Ps.default)((0,Ps.default)({},r.meta),i.meta)),r):TA(r)?new hc(r.error.message,(0,Ps.default)((0,Ps.default)({},i),{},{result:r,cause:i.cause})):new hc(EA(r,"Unknown error"),(0,Ps.default)((0,Ps.default)({},i),{},{cause:r}))}};function AA(t){const n=t;return n?"input"in n?n:{input:n,output:n}:{input:{serialize:i=>i,deserialize:i=>i},output:{serialize:i=>i,deserialize:i=>i}}}const Gv=t=>typeof t=="function";function CA(t){if(t)return t;if(typeof window<"u"&&Gv(window.fetch))return window.fetch;if(typeof globalThis<"u"&&Gv(globalThis.fetch))return globalThis.fetch;throw new Error("No fetch implementation found")}var ro=se(Mn());function OA(t){return{url:t.url.toString(),fetch:t.fetch,transformer:AA(t.transformer),methodOverride:t.methodOverride}}function jA(t){const n={};for(let i=0;i<t.length;i++){const r=t[i];n[i]=r}return n}const NA={query:"GET",mutation:"POST",subscription:"PATCH"};function _b(t){return"input"in t?t.transformer.input.serialize(t.input):jA(t.inputs.map(n=>t.transformer.input.serialize(n)))}const zb=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},MA=t=>{if(t.type==="query"&&t.methodOverride!=="POST")return;const n=_b(t);return n!==void 0?JSON.stringify(n):void 0},RA=t=>PA((0,ro.default)((0,ro.default)({},t),{},{contentTypeHeader:"application/json",getUrl:zb,getBody:MA}));var DA=class extends Error{constructor(){const t="AbortError";super(t),this.name=t,this.message=t}};const _A=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 DA};async function zA(t){var n,i;_A(t.signal);const r=t.getUrl(t),l=t.getBody(t),c=(n=t.methodOverride)!==null&&n!==void 0?n:NA[t.type],u=await(async()=>{const m=await t.headers();return Symbol.iterator in m?Object.fromEntries(m):m})(),h=(0,ro.default)((0,ro.default)((0,ro.default)({},t.contentTypeHeader&&c!=="GET"?{"content-type":t.contentTypeHeader}:{}),t.trpcAcceptHeader?{[(i=t.trpcAcceptHeaderKey)!==null&&i!==void 0?i:"trpc-accept"]:t.trpcAcceptHeader}:void 0),u);return CA(t.fetch)(r,{method:c,signal:t.signal,body:l,headers:h})}async function PA(t){const n={},i=await zA(t);n.response=i;const r=await i.json();return n.responseJSON=r,{json:r,meta:n}}se(Mn());const Fv=()=>{throw new Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new")};function Yv(t){let n=null,i=null;const r=()=>{clearTimeout(i),i=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 g;(g=b.reject)===null||g===void 0||g.call(b,new Error("Aborted")),p++;continue}if(t.validate(w.concat(b).map(E=>E.key))){w.push(b),p++;continue}if(w.length===0){var y;(y=b.reject)===null||y===void 0||y.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 y of m)y.batch=p;t.fetch(p.items.map(y=>y.key)).then(async y=>{await Promise.all(y.map(async(w,T)=>{const E=p.items[T];try{var D;const Q=await Promise.resolve(w);(D=E.resolve)===null||D===void 0||D.call(E,Q)}catch(Q){var N;(N=E.reject)===null||N===void 0||N.call(E,Q)}E.batch=null,E.reject=null,E.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(y=>{for(const w of p.items){var b;(b=w.reject)===null||b===void 0||b.call(w,y),w.batch=null}})}}function u(h){var m;const p={aborted:!1,key:h,batch:null,resolve:Fv,reject:Fv},g=new Promise((y,b)=>{var w;p.reject=b,p.resolve=y,(w=n)!==null&&w!==void 0||(n=[]),n.push(p)});return(m=i)!==null&&m!==void 0||(i=setTimeout(c)),g}return{load:u}}function HA(...t){const n=new AbortController,i=t.length;let r=0;const l=()=>{++r===i&&n.abort()};for(const c of t)c?.aborted?l():c?.addEventListener("abort",l,{once:!0});return n.signal}var nc=se(Mn());function UA(t){var n,i;const r=OA(t),l=(n=t.maxURLLength)!==null&&n!==void 0?n:1/0,c=(i=t.maxItems)!==null&&i!==void 0?i:1/0;return()=>{const u=g=>({validate(y){if(l===1/0&&c===1/0)return!0;
17if(y.length>c)return!1;const b=y.map(E=>E.path).join(","),w=y.map(E=>E.input);return zb((0,nc.default)((0,nc.default)({},r),{},{type:g,path:b,inputs:w,signal:null})).length<=l},async fetch(y){const b=y.map(Q=>Q.path).join(","),w=y.map(Q=>Q.input),T=HA(...y.map(Q=>Q.signal)),E=await RA((0,nc.default)((0,nc.default)({},r),{},{path:b,inputs:w,type:g,headers(){return t.headers?typeof t.headers=="function"?t.headers({opList:y}):t.headers:{}},signal:T}));return(Array.isArray(E.json)?E.json:y.map(()=>E.json)).map(Q=>({meta:E.meta,json:Q}))}}),h=Yv(u("query")),m=Yv(u("mutation")),p={query:h,mutation:m};return({op:g})=>Pc(y=>{/* istanbul ignore if -- @preserve */if(g.type==="subscription")throw new Error("Subscriptions are unsupported by `httpLink` - use `httpSubscriptionLink` or `wsLink`");const w=p[g.type].load(g);let T;return w.then(E=>{T=E;const D=$E(E.json,r.transformer.output);if(!D.ok){y.error(Ys.from(D.error,{meta:E.meta}));return}y.next({context:E.meta,result:D.result}),y.complete()}).catch(E=>{y.error(Ys.from(E,{meta:T?.meta}))}),()=>{}})}}se(Mn());const Pb=(t,...n)=>typeof t=="function"?t(...n):t;se(Gi());function kA(){let t,n;return{promise:new Promise((r,l)=>{t=r,n=l}),resolve:t,reject:n}}async function LA(t){const n=await Pb(t.url);if(!t.connectionParams)return n;const r=`${n.includes("?")?"&":"?"}connectionParams=1`;return n+r}async function VA(t,n){const i={method:"connectionParams",data:await Pb(t)};return n.encode(i)}se(Gi());var Ia=se(Gi());function BA(t){const{promise:n,resolve:i,reject:r}=kA();return t.addEventListener("open",()=>{t.removeEventListener("error",r),i()}),t.addEventListener("error",r),n}function qA(t,{intervalMs:n,pongTimeoutMs:i}){let r,l;function c(){r=setTimeout(()=>{t.send("PING"),l=setTimeout(()=>{t.close()},i)},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 QA=class Wd{constructor(n){var i;if((0,Ia.default)(this,"id",++Wd.connectCount),(0,Ia.default)(this,"WebSocketPonyfill",void 0),(0,Ia.default)(this,"urlOptions",void 0),(0,Ia.default)(this,"keepAliveOpts",void 0),(0,Ia.default)(this,"encoder",void 0),(0,Ia.default)(this,"wsObservable",bA(null)),(0,Ia.default)(this,"openPromise",null),this.WebSocketPonyfill=(i=n.WebSocketPonyfill)!==null&&i!==void 0?i: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=++Wd.connectCount;const i=LA(n.urlOptions).then(r=>new n.WebSocketPonyfill(r));n.openPromise=i.then(async r=>{n.ws=r,r.binaryType="arraybuffer",r.addEventListener("message",function({data:l}){l==="PING"&&this.send("PONG")}),n.keepAliveOpts.enabled&&qA(r,n.keepAliveOpts),r.addEventListener("close",()=>{n.ws===r&&(n.ws=null)}),await BA(r),n.urlOptions.connectionParams&&r.send(await VA(n.urlOptions.connectionParams,n.encoder))});try{await n.openPromise}finally{n.openPromise=null}}async close(){var n=this;try{await n.openPromise}finally{var i;(i=n.ws)===null||i===void 0||i.close()}}};(0,Ia.default)(QA,"connectCount",0);se(Gi());se(Mn());var dd=se(Gi()),Kv=se(Mn()),Hc=class{constructor(t){(0,dd.default)(this,"links",void 0),(0,dd.default)(this,"runtime",void 0),(0,dd.default)(this,"requestId",void 0),this.requestId=0,this.runtime={},this.links=t.links.map(n=>n(this.runtime))}$request(t){var n;return SA({links:this.links,op:(0,Kv.default)((0,Kv.default)({},t),{},{context:(n=t.context)!==null&&n!==void 0?n:{},id:++this.requestId})}).pipe(xA())}async requestAsPromise(t){var n=this;try{const i=n.$request(t);return(await WE(i)).result.data}catch(i){throw Ys.from(i)}}query(t,n,i){return this.requestAsPromise({type:"query",path:t,input:n,context:i?.context,signal:i?.signal})}mutation(t,n,i){return this.requestAsPromise({type:"mutation",path:t,input:n,context:i?.context,signal:i?.signal})}subscription(t,n,i){return this.$request({type:"subscription",path:t,input:n,context:i.context,signal:i.signal}).subscribe({next(l){switch(l.result.type){case"state":{var c;
17(c=i.onConnectionStateChange)===null||c===void 0||c.call(i,l.result);break}case"started":{var u;(u=i.onStarted)===null||u===void 0||u.call(i,{context:l.context});break}case"stopped":{var h;(h=i.onStopped)===null||h===void 0||h.call(i);break}case"data":case void 0:{var m;(m=i.onData)===null||m===void 0||m.call(i,l.result.data);break}}},error(l){var c;(c=i.onError)===null||c===void 0||c.call(i,l)},complete(){var l;(l=i.onComplete)===null||l===void 0||l.call(i)}})}};const Hb=Symbol.for("trpc_untypedClient"),GA={query:"query",mutate:"mutation",subscribe:"subscription"},FA=t=>GA[t];function Ub(t){const n=zc(({path:i,args:r})=>{const l=[...i],c=FA(l.pop()),u=l.join(".");return t[c](u,...r)});return Fh(i=>i===Hb?t:n[i])}function YA(t){const n=new Hc(t);return Ub(n)}function Kh(t){return t[Hb]}se(Mn());se(Mn());var KA=Fn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(t,n){function i(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=i,n.exports.__esModule=!0,n.exports.default=n.exports}});se(KA());se(Mn());var XA=Fn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(t,n){function i(){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 g=p;if(typeof p!="function")throw new TypeError("Object is not disposable.");g&&(p=function(){try{g.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,g=0;function y(){for(;m=c.pop();)try{if(!m.a&&g===1)return g=0,c.push(m),Promise.resolve().then(y);if(m.d){var w=m.d.call(m.v);if(m.a)return g|=2,Promise.resolve(w).then(y,b)}else g|=1}catch(T){return b(T)}if(g===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,y()}return y()}}}n.exports=i,n.exports.__esModule=!0,n.exports.default=n.exports}}),kb=Fn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/OverloadYield.js"(t,n){function i(r,l){this.v=r,this.k=l}n.exports=i,n.exports.__esModule=!0,n.exports.default=n.exports}}),IA=Fn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/awaitAsyncGenerator.js"(t,n){var i=kb();function r(l){return new i(l,0)}n.exports=r,n.exports.__esModule=!0,n.exports.default=n.exports}}),ZA=Fn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/wrapAsyncGenerator.js"(t,n){var i=kb();function r(c){return function(){return new l(c.apply(this,arguments))}}function l(c){var u,h;function m(g,y){try{var b=c[g](y),w=b.value,T=w instanceof i;Promise.resolve(T?w.v:w).then(function(E){if(T){var D=g==="return"?"return":"next";if(!w.k||E.done)return m(D,E);E=c[D](E).value}p(b.done?"return":"normal",E)},function(E){m("throw",E)})}catch(E){p("throw",E)}}function p(g,y){switch(g){case"return":u.resolve({value:y,done:!0});break;case"throw":u.reject(y);break;default:u.resolve({value:y,done:!1})}(u=u.next)?m(u.key,u.arg):h=null}this._invoke=function(g,y){return new Promise(function(b,w){var T={key:g,arg:y,resolve:b,reject:w,next:null};h?h=h.next=T:(u=h=T,m(g,y))})},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}});se(XA());se(IA());se(ZA());se(Mn());function $A(t){return zc(({path:n,args:i})=>{var r;const l=[...n],c=l.pop();if(c==="useMutation")return t[c](l,...i);if(c==="_def")return{path:l};const[u,...h]=i,m=(r=h[0])!==null&&r!==void 0?r:{};return t[c](l,u,m)})}var hd;const JA=["client","ssrContext","ssrState","abortOnUnmount"],WA=(hd=A.createContext)===null||hd===void 0?void 0:hd.c
17all(ub,null),tC=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"invalidate":case"refetch":case"reset":return"any"}};function eC(t){return zc(n=>{const i=[...n.path],r=i.pop(),l=[...n.args],c=l.shift(),u=tC(r),h=Ln(i,c,u);return{infiniteQueryOptions:()=>t.infiniteQueryOptions(i,h,l[0]),queryOptions:()=>t.queryOptions(i,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(dc(i),c),getMutationDefaults:()=>t.getMutationDefaults(dc(i)),isMutating:()=>t.isMutating({mutationKey:dc(i)})}[r]()})}function nC(t){const n=Ub(t.client),i=eC(t);return Fh(r=>{const l=r;return l==="client"?n:JA.includes(l)?t[l]:i[r]})}var aC=Qi(Do(),1);function Xv(t){const n=t instanceof Hc?t:Kh(t);return zc(i=>{const r=i.path,l=r.join("."),[c,u]=i.args;return(0,aC.default)({queryKey:Ln(r,c,"query"),queryFn:()=>n.query(l,c,u?.trpc)},u)})}var md=Qi(Do(),1);function ze(t,n,i){var r;const l=t[0];let c=(r=t[1])===null||r===void 0?void 0:r.input;if(i){var u;c=(0,md.default)((0,md.default)((0,md.default)({},(u=c)!==null&&u!==void 0?u:{}),i.pageParam?{cursor:i.pageParam}:{}),{},{direction:i.direction})}return[l.join("."),c,n?.trpc]}var iC=ri({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(t,n){function i(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=i,n.exports.__esModule=!0,n.exports.default=n.exports}}),sC=Qi(iC(),1);function th(t){return{path:t.path.join(".")}}function eo(t){const n=th(t);return A.useMemo(()=>n,[n])}
17async function Lb(t,n,i){const l=n.getQueryCache().build(n,{queryKey:i});l.setState({data:[],status:"success"});const c=[];var u=!1,h=!1,m;try{for(var p=(0,sC.default)(t),g;u=!(g=await p.next()).done;u=!1){const y=g.value;c.push(y),l.setState({data:[...c]})}}catch(y){h=!0,m=y}finally{try{u&&p.return!=null&&await p.return()}finally{if(h)throw m}}return c}var Pt=Qi(Do(),1);function rC(t){const{client:n,queryClient:i}=t,r=n instanceof Hc?n:Kh(n);return{infiniteQueryOptions:(l,c,u)=>{var h,m;const p=((h=c[1])===null||h===void 0?void 0:h.input)===sn,g=async y=>{var b;const w=(0,Pt.default)((0,Pt.default)({},u),{},{trpc:(0,Pt.default)((0,Pt.default)({},u?.trpc),!(u==null||(b=u.trpc)===null||b===void 0)&&b.abortOnUnmount?{signal:y.signal}:{signal:null})});return await r.query(...ze(c,w,{direction:y.direction,pageParam:y.pageParam}))};return Object.assign((0,Pt.default)((0,Pt.default)({},u),{},{initialData:u?.initialData,queryKey:c,queryFn:p?sn:g,initialPageParam:(m=u?.initialCursor)!==null&&m!==void 0?m:null}),{trpc:th({path:l})})},queryOptions:(l,c,u)=>{var h;const m=((h=c[1])===null||h===void 0?void 0:h.input)===sn,p=async g=>{var y;const b=(0,Pt.default)((0,Pt.default)({},u),{},{trpc:(0,Pt.default)((0,Pt.default)({},u?.trpc),!(u==null||(y=u.trpc)===null||y===void 0)&&y.abortOnUnmount?{signal:g.signal}:{signal:null})}),w=await r.query(...ze(c,b));return bb(w)?Lb(w,i,c):w};return Object.assign((0,Pt.default)((0,Pt.default)({},u),{},{initialData:u?.initialData,queryKey:c,queryFn:m?sn:p}),{trpc:th({path:l})})},fetchQuery:(l,c)=>i.fetchQuery((0,Pt.default)((0,Pt.default)({},c),{},{queryKey:l,queryFn:()=>r.query(...ze(l,c))})),fetchInfiniteQuery:(l,c)=>{var u;return i.fetchInfiniteQuery((0,Pt.default)((0,Pt.default)({},c),{},{queryKey:l,queryFn:({pageParam:h,direction:m})=>r.query(...ze(l,c,{pageParam:h,direction:m})),initialPageParam:(u=c?.initialCursor)!==null&&u!==void 0?u:null}))},prefetchQuery:(l,c)=>i.prefetchQuery((0,Pt.default)((0,Pt.default)({},c),{},{queryKey:l,queryFn:()=>r.query(...ze(l,c))})),prefetchInfiniteQuery:(l,c)=>{var u;return i.prefetchInfiniteQuery((0,Pt.default)((0,Pt.default)({},c),{},{queryKey:l,queryFn:({pageParam:h,direction:m})=>r.query(...ze(l,c,{pageParam:h,direction:m})),initialPageParam:(u=c?.initialCursor)!==null&&u!==void 0?u:null}))},ensureQueryData:(l,c)=>i.ensureQueryData((0,Pt.default)((0,Pt.default)({},c),{},{queryKey:l,queryFn:()=>r.query(...ze(l,c))})),invalidateQueries:(l,c,u)=>i.invalidateQueries((0,Pt.default)((0,Pt.default)({},c),{},{queryKey:l}),u),resetQueries:(l,c,u)=>i.resetQueries((0,Pt.default)((0,Pt.default)({},c),{},{queryKey:l}),u),refetchQueries:(l,c,u)=>i.refetchQueries((0,Pt.default)((0,Pt.default)({},c),{},{queryKey:l}),u),cancelQuery:(l,c)=>i.cancelQueries({queryKey:l},c),setQueryData:(l,c,u)=>i.setQueryData(l,c,u),setQueriesData:(l,c,u,h)=>i.setQueriesData((0,Pt.default)((0,Pt.default)({},c),{},{queryKey:l}),u,h),getQueryData:l=>i.getQueryData(l),setInfiniteQueryData:(l,c,u)=>i.setQueryData(l,c,u),getInfiniteQueryData:l=>i.getQueryData(l),setMutationDefaults:(l,c)=>{const u=l[0],h=m=>r.mutation(...ze([u,{input:m}],t));return i.setMutationDefaults(l,typeof c=="function"?c({canonicalMutationFn:h}):c)},getMutationDefaults:l=>i.getMutationDefaults(l),isMutating:l=>i.isMutating((0,Pt.default)((0,Pt.default)({},l),{},{exact:!0}))}}var ot=Qi(Do());const Iv=(t,n)=>new Proxy(t,{get(r,l){return n(l),r[l]}});function oC(t){var n,i;const r=(n=void 0)!==null&&n!==void 0?n:U=>U.originalFn(),l=(i=void 0)!==null&&i!==void 0?i:WA,c=YA,u=U=>{var G;const{abortOnUnmount:R=!1,queryClient:_,ssrContext:J}=U,[W,at]=A.useState((G=U.ssrState)!==null&&G!==void 0?G:!1),tt=U.client instanceof Hc?U.client:Kh(U.client),st=A.useMemo(()=>rC({client:tt,queryClient:_}),[tt,_]),rt=A.useMemo(()=>(0,ot.default)({abortOnUnmount:R,queryClient:_,client:tt,ssrContext:J??null,ssrState:W},st),[R,tt,st,_,J,W]);return A.useEffect(()=>{at(ct=>ct?"mounted":!1)},[]),v.jsx(l.Provider,{value:rt,children:U.children})};function h(){const U=A.useContext(l);if(!U)throw new Error("Unable to find tRPC Context. Did you forget to wrap your Ap
17p inside `withTRPC` HoC?");return U}function m(U,G){var R;const{queryClient:_,ssrState:J}=h();return J&&J!=="mounted"&&((R=_.getQueryCache().find({queryKey:U}))===null||R===void 0?void 0:R.state.status)==="error"?(0,ot.default)({retryOnMount:!1},G):G}function p(U,G,R){var _,J,W,at,tt;const st=h(),{abortOnUnmount:rt,client:ct,ssrState:j,queryClient:H,prefetchQuery:z}=st,nt=Ln(U,G,"query"),lt=H.getQueryDefaults(nt),C=G===sn;typeof window>"u"&&j==="prepass"&&(R==null||(_=R.trpc)===null||_===void 0?void 0:_.ssr)!==!1&&((J=R?.enabled)!==null&&J!==void 0?J:lt?.enabled)!==!1&&!C&&!H.getQueryCache().find({queryKey:nt})&&z(nt,R);const Y=m(nt,(0,ot.default)((0,ot.default)({},lt),R)),V=(W=(at=R==null||(tt=R.trpc)===null||tt===void 0?void 0:tt.abortOnUnmount)!==null&&at!==void 0?at:void 0)!==null&&W!==void 0?W:rt,K=_E((0,ot.default)((0,ot.default)({},Y),{},{queryKey:nt,queryFn:C?G:async et=>{const mt=(0,ot.default)((0,ot.default)({},Y),{},{trpc:(0,ot.default)((0,ot.default)({},Y?.trpc),V?{signal:et.signal}:{signal:null})}),ut=await ct.query(...ze(nt,mt));return bb(ut)?Lb(ut,H,nt):ut}}),H);return K.trpc=eo({path:U}),K}function g(U,G,R){var _,J,W;const at=h(),tt=Ln(U,G,"query"),st=G===sn,rt=(_=(J=R==null||(W=R.trpc)===null||W===void 0?void 0:W.abortOnUnmount)!==null&&J!==void 0?J:void 0)!==null&&_!==void 0?_:at.abortOnUnmount;UE((0,ot.default)((0,ot.default)({},R),{},{queryKey:tt,queryFn:st?G:ct=>{const j={trpc:(0,ot.default)((0,ot.default)({},R?.trpc),rt?{signal:ct.signal}:{})};return at.client.query(...ze(tt,j))}}))}function y(U,G,R){var _,J,W;const at=h(),tt=Ln(U,G,"query"),st=(_=(J=R==null||(W=R.trpc)===null||W===void 0?void 0:W.abortOnUnmount)!==null&&J!==void 0?J:void 0)!==null&&_!==void 0?_:at.abortOnUnmount,rt=zE((0,ot.default)((0,ot.default)({},R),{},{queryKey:tt,queryFn:ct=>{const j=(0,ot.default)((0,ot.default)({},R),{},{trpc:(0,ot.default)((0,ot.default)({},R?.trpc),st?{signal:ct.signal}:{signal:null})});return at.client.query(...ze(tt,j))}}),at.queryClient);return rt.trpc=eo({path:U}),[rt.data,rt]}function b(U,G){const{client:R,queryClient:_}=h(),J=dc(U),W=_.defaultMutationOptions(_.getMutationDefaults(J)),at=LE((0,ot.default)((0,ot.default)({},G),{},{mutationKey:J,mutationFn:tt=>R.mutation(...ze([U,{input:tt}],G)),onSuccess(...tt){var st,rt;return r({originalFn:()=>{var j,H,z;return(j=G==null||(H=G.onSuccess)===null||H===void 0?void 0:H.call(G,...tt))!==null&&j!==void 0?j:W==null||(z=W.onSuccess)===null||z===void 0?void 0:z.call(W,...tt)},queryClient:_,meta:(st=(rt=G?.meta)!==null&&rt!==void 0?rt:W?.meta)!==null&&st!==void 0?st:{}})}}),_);return at.trpc=eo({path:U}),at}const w={data:void 0,error:null,status:"idle"},T={data:void 0,error:null,status:"connecting"};/* istanbul ignore next -- @preserve */function E(U,G,R){var _;const J=(_=R?.enabled)!==null&&_!==void 0?_:G!==sn,W=ti(Ln(U,G,"any")),{client:at}=h(),tt=A.useRef(R);A.useEffect(()=>{tt.current=R});const[st]=A.useState(new Set([])),rt=A.useCallback(C=>{st.add(C)},[st]),ct=A.useRef(null),j=A.useCallback(C=>{const Y=z.current,V=z.current=C(Y);let K=!1;for(const et of st)if(Y[et]!==V[et]){K=!0;break}K&<(Iv(V,rt))},[rt,st]),H=A.useCallback(()=>{var C;if((C=ct.current)===null||C===void 0||C.unsubscribe(),!J){j(()=>(0,ot.default)((0,ot.default)({},w),{},{reset:H}));return}j(()=>(0,ot.default)((0,ot.default)({},T),{},{reset:H}));const Y=at.subscription(U.join("."),G??void 0,{onStarted:()=>{var V,K;(V=(K=tt.current).onStarted)===null||V===void 0||V.call(K),j(et=>(0,ot.default)((0,ot.default)({},et),{},{status:"pending",error:null}))},onData:V=>{var K,et;(K=(et=tt.current).onData)===null||K===void 0||K.call(et,V),j(mt=>(0,ot.default)((0,ot.default)({},mt),{},{status:"pending",data:V,error:null}))},onError:V=>{var K,et;(K=(et=tt.current).onError)===null||K===void 0||K.call(et,V),j(mt=>(0,ot.default)((0,ot.default)({},mt),{},{status:"error",error:V}))},onConnectionStateChange:V=>{j(K=>{switch(V.state){case"idle":return(0,ot.default)((0,ot.default)({},K),{},{status:V.state,error:null,data:void 0});case"connecting":return(0,ot.default)((0,ot.default)({},K),{},{error:V.error,status:V.state});
17case"pending":return K}})},onComplete:()=>{var V,K;(V=(K=tt.current).onComplete)===null||V===void 0||V.call(K),j(et=>(0,ot.default)((0,ot.default)({},et),{},{status:"idle",error:null,data:void 0}))}});ct.current=Y},[at,W,J,j]);A.useEffect(()=>(H(),()=>{var C;(C=ct.current)===null||C===void 0||C.unsubscribe()}),[H]);const z=A.useRef(J?(0,ot.default)((0,ot.default)({},T),{},{reset:H}):(0,ot.default)((0,ot.default)({},w),{},{reset:H})),[nt,lt]=A.useState(Iv(z.current,rt));return nt}function D(U,G,R){var _,J,W,at,tt;const{client:st,ssrState:rt,prefetchInfiniteQuery:ct,queryClient:j,abortOnUnmount:H}=h(),z=Ln(U,G,"infinite"),nt=j.getQueryDefaults(z),lt=G===sn;typeof window>"u"&&rt==="prepass"&&(R==null||(_=R.trpc)===null||_===void 0?void 0:_.ssr)!==!1&&((J=R?.enabled)!==null&&J!==void 0?J:nt?.enabled)!==!1&&!lt&&!j.getQueryCache().find({queryKey:z})&&ct(z,(0,ot.default)((0,ot.default)({},nt),R));const C=m(z,(0,ot.default)((0,ot.default)({},nt),R)),Y=(W=R==null||(at=R.trpc)===null||at===void 0?void 0:at.abortOnUnmount)!==null&&W!==void 0?W:H,V=VE((0,ot.default)((0,ot.default)({},C),{},{initialPageParam:(tt=R.initialCursor)!==null&&tt!==void 0?tt:null,persister:R.persister,queryKey:z,queryFn:lt?G:K=>{var et;const mt=(0,ot.default)((0,ot.default)({},C),{},{trpc:(0,ot.default)((0,ot.default)({},C?.trpc),Y?{signal:K.signal}:{signal:null})});return st.query(...ze(z,mt,{pageParam:(et=K.pageParam)!==null&&et!==void 0?et:R.initialCursor,direction:K.direction}))}}),j);return V.trpc=eo({path:U}),V}function N(U,G,R){var _,J,W;const at=h(),tt=Ln(U,G,"infinite"),st=at.queryClient.getQueryDefaults(tt),rt=G===sn,ct=m(tt,(0,ot.default)((0,ot.default)({},st),R)),j=(_=R==null||(J=R.trpc)===null||J===void 0?void 0:J.abortOnUnmount)!==null&&_!==void 0?_:at.abortOnUnmount;kE((0,ot.default)((0,ot.default)({},R),{},{initialPageParam:(W=R.initialCursor)!==null&&W!==void 0?W:null,queryKey:tt,queryFn:rt?G:H=>{var z;const nt=(0,ot.default)((0,ot.default)({},ct),{},{trpc:(0,ot.default)((0,ot.default)({},ct?.trpc),j?{signal:H.signal}:{})});return at.client.query(...ze(tt,nt,{pageParam:(z=H.pageParam)!==null&&z!==void 0?z:R.initialCursor,direction:H.direction}))}}))}function Q(U,G,R){var _,J,W;const at=h(),tt=Ln(U,G,"infinite"),st=at.queryClient.getQueryDefaults(tt),rt=m(tt,(0,ot.default)((0,ot.default)({},st),R)),ct=(_=R==null||(J=R.trpc)===null||J===void 0?void 0:J.abortOnUnmount)!==null&&_!==void 0?_:at.abortOnUnmount,j=PE((0,ot.default)((0,ot.default)({},R),{},{initialPageParam:(W=R.initialCursor)!==null&&W!==void 0?W:null,queryKey:tt,queryFn:H=>{var z;const nt=(0,ot.default)((0,ot.default)({},rt),{},{trpc:(0,ot.default)((0,ot.default)({},rt?.trpc),ct?{signal:H.signal}:{})});return at.client.query(...ze(tt,nt,{pageParam:(z=H.pageParam)!==null&&z!==void 0?z:R.initialCursor,direction:H.direction}))}}),at.queryClient);return j.trpc=eo({path:U}),[j.data,j]}return{Provider:u,createClient:c,useContext:h,useUtils:h,useQuery:p,usePrefetchQuery:g,useSuspenseQuery:y,useQueries:(U,G)=>{const{ssrState:R,queryClient:_,prefetchQuery:J,client:W}
vendor: 4,482 bytes, lines 17-25
17=h(),at=Xv(W),tt=U(at);if(typeof window>"u"&&R==="prepass")for(const rt of tt){var st;const ct=rt;((st=ct.trpc)===null||st===void 0?void 0:st.ssr)!==!1&&!_.getQueryCache().find({queryKey:ct.queryKey})&&J(ct.queryKey,ct)}return xb({queries:tt.map(rt=>(0,ot.default)((0,ot.default)({},rt),{},{queryKey:rt.queryKey})),combine:G?.combine},_)},useSuspenseQueries:U=>{const{queryClient:G,client:R}=h(),_=Xv(R),J=U(_),W=HE({queries:J.map(at=>(0,ot.default)((0,ot.default)({},at),{},{queryFn:at.queryFn,queryKey:at.queryKey}))},G);return[W.map(at=>at.data),W]},useMutation:b,useSubscription:E,useInfiniteQuery:D,usePrefetchInfiniteQuery:N,useSuspenseInfiniteQuery:Q}}function lC(t){const n=$A(t);return Fh(i=>i==="useContext"||i==="useUtils"?()=>{const r=t.useUtils();return A.useMemo(()=>nC(r),[r])}:t.hasOwnProperty(i)?t[i]:n[i])}function cC(t){const n=oC();return lC(n)}const Qs=cC(),uC="Please login (10001)";var pd={exports:{}},no={},gd={exports:{}},yd={};/** 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 Zv;function fC(){return Zv||(Zv=1,(function(t){function n(j,H){var z=j.length;j.push(H);t:for(;0<z;){var nt=z-1>>>1,lt=j[nt];if(0<l(lt,H))j[nt]=H,j[z]=lt,z=nt;else break t}}function i(j){return j.length===0?null:j[0]}function r(j){if(j.length===0)return null;var H=j[0],z=j.pop();if(z!==H){j[0]=z;t:for(var nt=0,lt=j.length,C=lt>>>1;nt<C;){var Y=2*(nt+1)-1,V=j[Y],K=Y+1,et=j[K];if(0>l(V,z))K<lt&&0>l(et,V)?(j[nt]=et,j[K]=z,nt=K):(j[nt]=V,j[Y]=z,nt=Y);else if(K<lt&&0>l(et,z))j[nt]=et,j[K]=z,nt=K;else break t}}return H}function l(j,H){var z=j.sortIndex-H.sortIndex;return z!==0?z:j.id-H.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=[],g=1,y=null,b=3,w=!1,T=!1,E=!1,D=!1,N=typeof setTimeout=="function"?setTimeout:null,Q=typeof clearTimeout=="function"?clearTimeout:null,q=typeof setImmediate<"u"?setImmediate:null;function $(j){for(var H=i(p);H!==null;){if(H.callback===null)r(p);else if(H.startTime<=j)r(p),H.sortIndex=H.expirationTime,n(m,H);else break;H=i(p)}}function U(j){if(E=!1,$(j),!T)if(i(m)!==null)T=!0,G||(G=!0,tt());else{var H=i(p);H!==null&&ct(U,H.startTime-j)}}var G=!1,R=-1,_=5,J=-1;function W(){return D?!0:!(t.unstable_now()-J<_)}function at(){if(D=!1,G){var j=t.unstable_now();J=j;var H=!0;try{t:{T=!1,E&&(E=!1,Q(R),R=-1),w=!0;var z=b;try{e:{for($(j),y=i(m);y!==null&&!(y.expirationTime>j&&W());){var nt=y.callback;if(typeof nt=="function"){y.callback=null,b=y.priorityLevel;var lt=nt(y.expirationTime<=j);if(j=t.unstable_now(),typeof lt=="function"){y.callback=lt,$(j),H=!0;break e}y===i(m)&&r(m),$(j)}else r(m);y=i(m)}if(y!==null)H=!0;else{var C=i(p);C!==null&&ct(U,C.startTime-j),H=!1}}break t}finally{y=null,b=z,w=!1}H=void 0}}finally{H?tt():G=!1}}}var tt;if(typeof q=="function")tt=function(){q(at)};else if(typeof MessageChannel<"u"){var st=new MessageChannel,rt=st.port2;st.port1.onmessage=at,tt=function(){rt.postMessage(null)}}else tt=function(){N(at,0)};function ct(j,H){R=N(function(){j(t.unstable_now())},H)}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"):_=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 H=3;break;default:H=b}var z=b;b=H;try{return j()}finally{b=z}},t.unstable_requestPaint=function(){D=!0},t.unstable_runWithPriority=function(j,H){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var z=b;b=j;try{return H()}finally{b=z}},t.unstable_scheduleCallback=function(j,H,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 lt=-1;break;case 2:lt=250;break;case 5:lt=1073741823;break;case 4:lt=1e4;break;default:lt=5e3}return lt=z+lt,j={id:g++,callback:H,priorityLevel:j,startTime:z,expirationTime:lt,sortIndex:-1},z>
vendor: 8,228 bytes, lines 25-41
25nt?(j.sortIndex=z,n(p,j),i(m)===null&&j===i(p)&&(E?(Q(R),R=-1):E=!0,ct(U,z-nt))):(j.sortIndex=lt,n(m,j),T||w||(T=!0,G||(G=!0,tt()))),j},t.unstable_shouldYield=W,t.unstable_wrapCallback=function(j){var H=b;return function(){var z=b;b=H;try{return j.apply(this,arguments)}finally{b=z}}}})(yd)),yd}var $v;function dC(){return $v||($v=1,gd.exports=fC()),gd.exports}var vd={exports:{}},Ce={};/** 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 Jv;function hC(){if(Jv)return Ce;Jv=1;var t=Rc();function n(m){var p="https://react.dev/errors/"+m;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)p+="&args[]="+encodeURIComponent(arguments[g])}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 i(){}var r={d:{f:i,r:function(){throw Error(n(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},l=Symbol.for("react.portal");function c(m,p,g){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:y==null?null:""+y,children:m,containerInfo:p,implementation:g}}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 Ce.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Ce.createPortal=function(m,p){var g=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,g)},Ce.flushSync=function(m){var p=u.T,g=r.p;try{if(u.T=null,r.p=2,m)return m()}finally{u.T=p,r.p=g,r.d.f()}},Ce.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))},Ce.prefetchDNS=function(m){typeof m=="string"&&r.d.D(m)},Ce.preinit=function(m,p){if(typeof m=="string"&&p&&typeof p.as=="string"){var g=p.as,y=h(g,p.crossOrigin),b=typeof p.integrity=="string"?p.integrity:void 0,w=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;g==="style"?r.d.S(m,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:y,integrity:b,fetchPriority:w}):g==="script"&&r.d.X(m,{crossOrigin:y,integrity:b,fetchPriority:w,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Ce.preinitModule=function(m,p){if(typeof m=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var g=h(p.as,p.crossOrigin);r.d.M(m,{crossOrigin:g,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)},Ce.preload=function(m,p){if(typeof m=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var g=p.as,y=h(g,p.crossOrigin);r.d.L(m,g,{crossOrigin:y,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})}},Ce.preloadModule=function(m,p){if(typeof m=="string")if(p){var g=h(p.as,p.crossOrigin);r.d.m(m,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else r.d.m(m)},Ce.requestFormReset=function(m){r.d.r(m)},Ce.unstable_batchedUpdates=function(m,p){return m(p)},Ce.useFormState=function(m,p,g){return u.H.useFormState(m,p,g)},Ce.useFormStatus=function(){return u.H.useHostTransitionStatus()},Ce.version="19.2.1",Ce}var Wv;function Vb(){if(Wv)return vd.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(),vd.exports=hC(),vd.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 t0;function mC(){if(t0)return no;t0=1;var t=dC(),n=Rc(),i=Vb();function r(e){var a="https://react.dev/errors/"+e;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var s=2;s<arguments.length;s++)a+="&args[]="+encodeURIComponent(arguments[s])}return"Minified React error #"+e+"; visit "+a+" 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 a=e,s=e;if(e.alternate)for(;a.return;)a=a.return;else{e=a;do a=e,(a.flags&4098)!==0&&(s=a.return),e=a.return;while(e)}return a.tag===3?s:null}function u(e){if(e.tag===13){var a=e.memoizedState;if(a===null&&(e=e.alternate,e!==null&&(a=e.memoizedState)),a!==null)return a.dehydrated}return null}function h(e){if(e.tag===31){var a=e.memoizedState;if(a===null&&(e=e.alternate,e!==null&&(a=e.memoizedState)),a!==null)return a.dehydrated}return null}function m(e){if(c(e)!==e)throw Error(r(188))}function p(e){var a=e.alternate;if(!a){if(a=c(e),a===null)throw Error(r(188));return a!==e?null:e}for(var s=e,o=a;;){var f=s.return;if(f===null)break;var d=f.alternate;if(d===null){if(o=f.return,o!==null){s=o;continue}break}if(f.child===d.child){for(d=f.child;d;){if(d===s)return m(f),e;if(d===o)return m(f),a;d=d.sibling}throw Error(r(188))}if(s.return!==o.return)s=f,o=d;else{for(var x=!1,S=f.child;S;){if(S===s){x=!0,s=f,o=d;break}if(S===o){x=!0,o=f,s=d;break}S=S.sibling}if(!x){for(S=d.child;S;){if(S===s){x=!0,s=d,o=f;break}if(S===o){x=!0,o=d,s=f;break}S=S.sibling}if(!x)throw Error(r(189))}}if(s.alternate!==o)throw Error(r(190))}if(s.tag!==3)throw Error(r(188));return s.stateNode.current===s?e:a}function g(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e;for(e=e.child;e!==null;){if(a=g(e),a!==null)return a;e=e.sibling}return null}var y=Object.assign,b=Symbol.for("react.element"),w=Symbol.for("react.transitional.element"),T=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),Q=Symbol.for("react.consumer"),q=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),W=Symbol.for("react.memo_cache_sentinel"),at=Symbol.iterator;function tt(e){return e===null||typeof e!="object"?null:(e=at&&e[at]||e["@@iterator"],typeof e=="function"?e:null)}var st=Symbol.for("react.client.reference");function rt(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===st?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case E:return"Fragment";case N:return"Profiler";case D:return"StrictMode";case U:return"Suspense";case G:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case T:return"Portal";case q:return e.displayName||"Context";case Q:return(e._context.displayName||"Context")+".Consumer";case $:var a=e.render;return e=e.displayName,e||(e=a.displayName||a.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case R:return a=e.displayName||null,a!==null?a:rt(e.type)||"Memo";case _:a=e._payload,e=e._init;try{return rt(e(a))}catch{}}return null}var ct=Array.isArray,j=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,H=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,z={pending:!1,data:null,method:null,action:null},nt=[],lt=-1;function C(e){return{current:e}}function Y(e){0>lt||(e.current=nt[lt],nt[lt]=null,lt--)}function V(e,a){lt++,nt[lt]=e.current,e.current=a}var K=C(null),et=C(null),mt=C(null),ut=C(null);function xt(e,a){switch(V(mt,a),V(et,e),V(K,null),a.nodeType){case 9:case 11:e=(e
vendor: 10,000 bytes, lines 41-48
41=a.documentElement)&&(e=e.namespaceURI)?Jy(e):0;break;default:if(e=a.tagName,a=a.namespaceURI)a=Jy(a),e=Wy(a,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Y(K),V(K,e)}function Nt(){Y(K),Y(et),Y(mt)}function ge(e){e.memoizedState!==null&&V(ut,e);var a=K.current,s=Wy(a,e.type);a!==s&&(V(et,e),V(K,s))}function Ne(e){et.current===e&&(Y(K),Y(et)),ut.current===e&&(Y(ut),Zr._currentValue=z)}var ye,Kn;function Sn(e){if(ye===void 0)try{throw Error()}catch(s){var a=s.stack.trim().match(/\n( *(at )?)/);ye=a&&a[1]||"",Kn=-1<s.stack.indexOf(` 42 at`)?" (<anonymous>)":-1<s.stack.indexOf("@")?"@unknown:0:0":""}return` 43`+ye+e+Kn}var sr=!1;function Ki(e,a){if(!e||sr)return"";sr=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(a){var Z=function(){throw Error()};if(Object.defineProperty(Z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Z,[])}catch(F){var B=F}Reflect.construct(e,[],Z)}else{try{Z.call()}catch(F){B=F}e.call(Z.prototype)}}else{try{throw Error()}catch(F){B=F}(Z=e())&&typeof Z.catch=="function"&&Z.catch(function(){})}}catch(F){if(F&&B&&typeof F.stack=="string")return[F.stack,B.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(),x=d[0],S=d[1];if(x&&S){var O=x.split(` 44`),L=S.split(` 45`);for(f=o=0;o<O.length&&!O[o].includes("DetermineComponentFrameRoot");)o++;for(;f<L.length&&!L[f].includes("DetermineComponentFrameRoot");)f++;if(o===O.length||f===L.length)for(o=O.length-1,f=L.length-1;1<=o&&0<=f&&O[o]!==L[f];)f--;for(;1<=o&&0<=f;o--,f--)if(O[o]!==L[f]){if(o!==1||f!==1)do if(o--,f--,0>f||O[o]!==L[f]){var X=` 46`+O[o].replace(" at new "," at ");return e.displayName&&X.includes("<anonymous>")&&(X=X.replace("<anonymous>",e.displayName)),X}while(1<=o&&0<=f);break}}}finally{sr=!1,Error.prepareStackTrace=s}return(s=e?e.displayName||e.name:"")?Sn(s):""}function li(e,a){switch(e.tag){case 26:case 27:case 5:return Sn(e.type);case 16:return Sn("Lazy");case 13:return e.child!==a&&a!==null?Sn("Suspense Fallback"):Sn("Suspense");case 19:return Sn("SuspenseList");case 0:case 15:return Ki(e.type,!1);case 11:return Ki(e.type.render,!1);case 1:return Ki(e.type,!0);case 31:return Sn("Activity");default:return""}}function rr(e){try{var a="",s=null;do a+=li(e,s),s=e,e=e.return;while(e);return a}catch(o){return` 47Error generating stack: `+o.message+` 48`+o.stack}}var Xe=Object.prototype.hasOwnProperty,or=t.unstable_scheduleCallback,lr=t.unstable_cancelCallback,Me=t.unstable_shouldYield,Sa=t.unstable_requestPaint,Re=t.unstable_now,Zc=t.unstable_getCurrentPriorityLevel,ci=t.unstable_ImmediatePriority,Lo=t.unstable_UserBlockingPriority,ui=t.unstable_NormalPriority,cr=t.unstable_LowPriority,Xn=t.unstable_IdlePriority,Vo=t.log,wa=t.unstable_setDisableYieldValue,fi=null,De=null;function wn(e){if(typeof Vo=="function"&&wa(e),De&&typeof De.setStrictMode=="function")try{De.setStrictMode(fi,e)}catch{}}var Ee=Math.clz32?Math.clz32:Rn,$c=Math.log,ur=Math.LN2;function Rn(e){return e>>>=0,e===0?32:31-($c(e)/ur|0)|0}var Xi=256,Ii=262144,di=4194304;function Dn(e){var a=e&42;if(a!==0)return a;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,a,s){var o=e.pendingLanes;if(o===0)return 0;var f=0,d=e.suspendedLanes,x=e.pingedLanes;e=e.warmLanes;var S=o&134217727;return S!==0?(o=S&~d,o!==0?f=Dn(o):(x&=S,x!==0?f=Dn(x):s||(s=S&~e,s!==0&&(f=Dn(s))))):(S=o&~d,S!==0?f=Dn(S):x!==0?f=Dn(x):s||(s=o&~e,s!==0&&(f=Dn(s)))),f===0?0:a!==0&&a!==f&&(a&d)===0&&(d=f&-f,s=a&-a,d>=s||d===32&&(s&4194048)!==0)?a:f}function Ft(e,a){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&a)===0}function he(e,a){switch(e){case 1:case 2:case 4:case 8:case 64:return a+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 a+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 Ae(){var e=di;return di<<=1,(di&62914560)===0&&(di=4194304),e}function Ta(e){for(var a=[],s=0;31>s;s++)a.push(e);return a}function Xt(e,a){e.pendingLanes|=a,a!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function He(e,a,s,o,f,d){var x=e.pendingLanes;e.pendingLanes=s,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=s,e.entangledLanes&=s,e.errorRecoveryDisabledLanes&=s,e.shellSuspendCounter=0;var S=e.entanglements,O=e.expirationTimes,L=e.hiddenUpdates;for(s=x&~s;0<s;){var X=31-Ee(s),Z=1<<X;S[X]=0,O[X]=-1;var B=L[X];if(B!==null)for(L[X]=null,X=0;X<B.length;X++){var F=B[X];F!==null&&(F.lane&=-536870913)}s&=~Z}o!==0&&hi(e,o,0),d!==0&&f===0&&e.tag!==0&&(e.suspendedLanes|=d&~(x&~a))}function hi(e,a,s){e.pendingLanes|=a,e.suspendedLanes&=~a;var o=31-Ee(a);e.entangledLanes|=a,e.entanglements[o]=e.entanglements[o]|1073741824|s&261930}function Ue(e,a){var s=e.entangledLanes|=a;for(e=e.entanglements;s;){var o=31-Ee(s),f=1<<o;f&a|e[o]&a&&(e[o]|=a),s&=~f}}function ke(e,a){var s=a&-a;return s=(s&42)!==0?1:Zi(s),(s&(e.suspendedLanes|a))!==0?0:s}function Zi(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 Tn(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Jc(){var e=H.p;return e!==0?e:(e=window.event,e===void 0?32:wv(e.type))}function km(e,a){var s=H.p;try{return H.p=e,a()}finally{H.p=s}}var Ea=Math.random().toString(36).slice(2),ve="__reactFiber$"+Ea,Le="__reactProps$"+Ea,$i="__reactContainer$"+Ea,Wc="__reactEvents$"+Ea,Vw="__reactListeners$"+Ea,Bw="__reactHandles$"+Ea,Lm="__reactResources$"+Ea,fr="__reactMarker$"+Ea;function tu(e){delete e[ve],delete e[Le],delete e[Wc],delete e[Vw],delete e[Bw]}function Ji(e){var a=e[ve];if(a)return a;for(var s=e.parentNode;s;){if(a=s[$i]||s[ve]){if(s=a.alternate,a.child!==null||s!==null&&s.child!==null)for(e=rv(e);e!==null;){if(s=e[ve])return s;e=rv(e)}return a}e=s,s=e.parentNode}return null}function Wi(e){if(e=e[ve]||e[$i]){var a=e.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return e}return null}function dr(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e.stateNode;throw Error(r(33))}function ts(e){var a=e[Lm];return a||(a=e[Lm]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function me(e){e[fr]=!0}var Vm=new Set,Bm={};function mi(e,a){es(e,a),es(e+"Capture",a)}function es(e,a){for(Bm[e]=a,e=0;e<a.length;e++)Vm.add(a[e])}var qw=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]*$"),qm={},Qm={};function Qw(e){return Xe.call(Qm,e)?!0:Xe.call(qm,e)?!1:qw.test(e)?Qm[e]=!0:(qm[e]=!0,!1)}function Bo(e,a,s){if(Qw(a))if(s===null)e.removeAttribute(a);else{switch(typeof s){case"undefined":case"function":case"symbol":e.removeAttribute(a);return;case"boolean":var o=a.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(a);return}}e.setAttribute(a,""+s)}}function qo(e,a,s){if(s===null)e.removeAttribute(a);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttribute(a,""+s)}}function In(e,a,s,o){if(o===null)e.removeAttribute(s);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(s);return}e.setAttributeNS(a,s,""+o)}}function on(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Gm(e){var a=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function Gw(e,a,s){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,a);if(!e.hasOwnProperty(a)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var f=o.get,d=o.set;return Object.defineProperty(e,a,{configurable:!0,get:function(){return f.call(this)},set:function(x){s=""+x,d.call(this,x)}}),Object.defineProperty(e,a,{enumerable:o.enumerable}),{getValue:function(){return s},setValue:function(x){s=""+x},stopTracking:function(){e._valueTracker=null,delete e[a]}}}}function eu(e){if(!e._valueTracker){var a=Gm(e)?"checked":"value";e._valueTracker=Gw(e,a,""+e[a])}}function Fm(e){if(!e)return!1;var a=e._valueTracker;if(!a)return!0;var s=a.getValue(),o="";return e&&(o=Gm(e)?e.checked?"true":"false":e.value),e=o,e!==s?(a.setValue(e),!0):!1}function Qo(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 Fw=/[\n"\\]/g;function ln(e){return e.replace(Fw,function(a){return"\\"+a.charCo
vendor: 4,418 bytes, line 48
48deAt(0).toString(16)+" "})}function nu(e,a,s,o,f,d,x,S){e.name="",x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?e.type=x:e.removeAttribute("type"),a!=null?x==="number"?(a===0&&e.value===""||e.value!=a)&&(e.value=""+on(a)):e.value!==""+on(a)&&(e.value=""+on(a)):x!=="submit"&&x!=="reset"||e.removeAttribute("value"),a!=null?au(e,x,on(a)):s!=null?au(e,x,on(s)):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=""+on(S):e.removeAttribute("name")}function Ym(e,a,s,o,f,d,x,S){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.type=d),a!=null||s!=null){if(!(d!=="submit"&&d!=="reset"||a!=null)){eu(e);return}s=s!=null?""+on(s):"",a=a!=null?""+on(a):s,S||a===e.value||(e.value=a),e.defaultValue=a}o=o??f,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=S?e.checked:!!o,e.defaultChecked=!!o,x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"&&(e.name=x),eu(e)}function au(e,a,s){a==="number"&&Qo(e.ownerDocument)===e||e.defaultValue===""+s||(e.defaultValue=""+s)}function ns(e,a,s,o){if(e=e.options,a){a={};for(var f=0;f<s.length;f++)a["$"+s[f]]=!0;for(s=0;s<e.length;s++)f=a.hasOwnProperty("$"+e[s].value),e[s].selected!==f&&(e[s].selected=f),f&&o&&(e[s].defaultSelected=!0)}else{for(s=""+on(s),a=null,f=0;f<e.length;f++){if(e[f].value===s){e[f].selected=!0,o&&(e[f].defaultSelected=!0);return}a!==null||e[f].disabled||(a=e[f])}a!==null&&(a.selected=!0)}}function Km(e,a,s){if(a!=null&&(a=""+on(a),a!==e.value&&(e.value=a),s==null)){e.defaultValue!==a&&(e.defaultValue=a);return}e.defaultValue=s!=null?""+on(s):""}function Xm(e,a,s,o){if(a==null){if(o!=null){if(s!=null)throw Error(r(92));if(ct(o)){if(1<o.length)throw Error(r(93));o=o[0]}s=o}s==null&&(s=""),a=s}s=on(a),e.defaultValue=s,o=e.textContent,o===s&&o!==""&&o!==null&&(e.value=o),eu(e)}function as(e,a){if(a){var s=e.firstChild;if(s&&s===e.lastChild&&s.nodeType===3){s.nodeValue=a;return}}e.textContent=a}var Yw=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 Im(e,a,s){var o=a.indexOf("--")===0;s==null||typeof s=="boolean"||s===""?o?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="":o?e.setProperty(a,s):typeof s!="number"||s===0||Yw.has(a)?a==="float"?e.cssFloat=s:e[a]=(""+s).trim():e[a]=s+"px"}function Zm(e,a,s){if(a!=null&&typeof a!="object")throw Error(r(62));if(e=e.style,s!=null){for(var o in s)!s.hasOwnProperty(o)||a!=null&&a.hasOwnProperty(o)||(o.indexOf("--")===0?e.setProperty(o,""):o==="float"?e.cssFloat="":e[o]="");for(var f in a)o=a[f],a.hasOwnProperty(f)&&s[f]!==o&&Im(e,f,o)}else for(var d in a)a.hasOwnProperty(d)&&Im(e,d,a[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 Kw=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"],["colorRen
48dering","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-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"]]),Xw=/^[\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 Go(e){return Xw.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Zn(){}var su=null;function ru(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var is=null,ss=null;function $m(e){var a=Wi(e);if(a&&(e=a.stateNode)){var s=e[Le]||null;t:switch(e=a.stateNode,a.type){case"input":if(nu(e,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name),a=s.name,s.type==="radio"&&a!=null){for(s=e;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll('input[name="'+ln(""+a)+'"][type="radio"]'),a=0;a<s.length;a++){var o=s[a];if(o!==e&&o.form===e.form){var f=o[Le]||null;if(!f)throw Error(r(90));nu(o,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(a=0;a<s.length;a++)o=s[a],o.form===e.form&&Fm(o)}break t;case"textarea":Km(e,s.value,s.defaultValue);break t;case"select":a=s.value,a!=null&&ns(e,!!s.multiple,a,!1)}}}var ou=!1;function Jm(e,a,s){if(ou)return e(a,s);ou=!0;try{var o=e(a);return o}finally{if(ou=!1,(is!==null||ss!==null)&&(Rl(),is&&(a=is,e=ss,ss=is=null,$m(a),e)))for(a=0;a<e.length;a++)$m(e[a])}}function hr(e,a){var s=e.stateNode;if(s===null)return null;var o=s[Le]||null;if(o===null)return null;s=o[a];t:switch(a){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(s&&typeof s!="function")throw Error(r(231,a,typeof s));return s}var $n=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),lu=!1;if($n)try{var mr={};Object.defineProperty(mr,"passive",{get:function(){lu=!0}}),window.addEventListener("test",mr,mr),window.removeEventListener("test",mr,mr)}catch{lu=!1}var Aa=null,cu=null,Fo=null;function Wm(){if(Fo)return Fo;var e,a=cu,s=a.length,o,f="value"in Aa?Aa.value:Aa.textContent,d=f.length;for(e=0;e<s&&a[e]===f[e];e++);var x=s-e;for(o=1;o<=x&&a[s-o]===f[d-o];o++);return Fo=f.slice(e,1<o?1-o:void 0)}function Yo(e){var a=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&a===13&&(e=13)):e=a,e===10&&(e=13),32<=e||e===13?e:0}function Ko(){return!0}function tp(){return!1}function Ve(e){function a(s,o,f,d,x){this._reactName=s,this._targetInst=f,this.type=o,this.nativeEvent=d,this.target=x,this.currentTarget=null;for(var S in e)e.hasOwnProperty(S)&&(s=e[S],this[S]=s?s(d):d[S]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?Ko:tp,this.isPropagationStopped=tp,this}return y(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=Ko)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Ko)},persist:function(){},isPersistent:Ko}),a}var pi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Xo=Ve(pi),pr=y({},pi,{view:0,detail:0}),Iw=Ve(pr),uu,fu,gr,Io=y({},pr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:hu,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!==gr&&(gr&&e.type==="mousemove"?(uu=e.screenX-gr.screenX,fu=e.screenY-gr.screenY):fu=uu=0,gr=e),uu)},movementY:function(e){return"movementY"in e?e.movementY:fu}}),ep=Ve(Io),Zw=y({},Io,{dataTransfer:0}),$w=Ve(Zw),Jw=y({},pr,{relatedTarget:0}),du=Ve(Jw),Ww=y({},pi,{animationName:0,elapsedTime:0,pseudoElement:0}),t2=Ve(Ww),e2=y({},pi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),n2=Ve(e2),a2=y({},pi,{data:0}),np=Ve(a2),i2={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},s2={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"},r2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function o2(e){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(e):(e=r2[e])?!!a[e]:!1}
vendor: 5,306 bytes, line 48
48function hu(){return o2}var l2=y({},pr,{key:function(e){if(e.key){var a=i2[e.key]||e.key;if(a!=="Unidentified")return a}return e.type==="keypress"?(e=Yo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?s2[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:hu,charCode:function(e){return e.type==="keypress"?Yo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Yo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),c2=Ve(l2),u2=y({},Io,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ap=Ve(u2),f2=y({},pr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:hu}),d2=Ve(f2),h2=y({},pi,{propertyName:0,elapsedTime:0,pseudoElement:0}),m2=Ve(h2),p2=y({},Io,{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}),g2=Ve(p2),y2=y({},pi,{newState:0,oldState:0}),v2=Ve(y2),x2=[9,13,27,32],mu=$n&&"CompositionEvent"in window,yr=null;$n&&"documentMode"in document&&(yr=document.documentMode);var b2=$n&&"TextEvent"in window&&!yr,ip=$n&&(!mu||yr&&8<yr&&11>=yr),sp=" ",rp=!1;function op(e,a){switch(e){case"keyup":return x2.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function lp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var rs=!1;function S2(e,a){switch(e){case"compositionend":return lp(a);case"keypress":return a.which!==32?null:(rp=!0,sp);case"textInput":return e=a.data,e===sp&&rp?null:e;default:return null}}function w2(e,a){if(rs)return e==="compositionend"||!mu&&op(e,a)?(e=Wm(),Fo=cu=Aa=null,rs=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return ip&&a.locale!=="ko"?null:a.data;default:return null}}var T2={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 cp(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a==="input"?!!T2[e.type]:a==="textarea"}function up(e,a,s,o){is?ss?ss.push(o):ss=[o]:is=o,a=kl(a,"onChange"),0<a.length&&(s=new Xo("onChange","change",null,s,o),e.push({event:s,listeners:a}))}var vr=null,xr=null;function E2(e){Yy(e,0)}function Zo(e){var a=dr(e);if(Fm(a))return e}function fp(e,a){if(e==="change")return a}var dp=!1;if($n){var pu;if($n){var gu="oninput"in document;if(!gu){var hp=document.createElement("div");hp.setAttribute("oninput","return;"),gu=typeof hp.oninput=="function"}pu=gu}else pu=!1;dp=pu&&(!document.documentMode||9<document.documentMode)}function mp(){vr&&(vr.detachEvent("onpropertychange",pp),xr=vr=null)}function pp(e){if(e.propertyName==="value"&&Zo(xr)){var a=[];up(a,xr,e,ru(e)),Jm(E2,a)}}function A2(e,a,s){e==="focusin"?(mp(),vr=a,xr=s,vr.attachEvent("onpropertychange",pp)):e==="focusout"&&mp()}function C2(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Zo(xr)}function O2(e,a){if(e==="click")return Zo(a)}function j2(e,a){if(e==="input"||e==="change")return Zo(a)}function N2(e,a){return e===a&&(e!==0||1/e===1/a)||e!==e&&a!==a}var Ie=typeof Object.is=="function"?Object.is:N2;function br(e,a){if(Ie(e,a))return!0;if(typeof e!="object"||e===null||typeof a!="object"||a===null)return!1;var s=Object.keys(e),o=Object.keys(a);if(s.length!==o.length)return!1;for(o=0;o<s.length;o++){var f=s[o];if(!Xe.call(a,f)||!Ie(e[f],a[f]))return!1}return!0}function gp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function yp(e,a){var s=gp(e);e=0;for(var o;s;){if(s.nodeType===3){if(o=e+s.textContent.length,e<=a&&o>=a)return{node:s,offset:a-e};e=o}t:{for(;s;){if(s.nextSibling){s=s.nextSibling;break t}s=s.parentNode}s=void 0}s=gp(s)}}function vp(e,a){return e&&a?e===a?!0:e&&e.nodeType===3?!1:a&&a.nodeType===3?vp(e,a.parentNode):"contains"in e?e.contains(a):e.compareDocumentPosition?!!(e.compareDocumentPosition(a)&16):!1:!1}function xp(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var a=Qo(e.document);a instanceof e.HTMLIFrameElement;){try{var s=typeof a.contentWindow.location.href=="string"}catch{s=!1}if(s)e=a.contentWindow;else break;a=Qo(e.document)}return a}function yu(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a&&(a==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||a==="textarea"||e.contentEditable==="true")}var M2=$n&&"documentMode"in document&&11>=document.documentMode,os=null,vu=null,Sr=null,xu=!1;function bp(e,a,s){var o=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;xu||os==null||os!==Qo(o)||(o=os,"selectionStart"in o&&yu(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}),Sr&&br(Sr,o)||(Sr=o,o=kl(vu,"onSelect"),0<o.length&&(a=new Xo("onSelect","select",null,a,s),e.push({event:a,listeners:o}),a.target=os)))}function gi(e,a){var s={};return s[e.toLowerCase()]=a.toLowerCase(),s["Webkit"+e]="webkit"+a,s["Moz"+e]="moz"+a,s}var ls={animationend:gi("Animation","AnimationEnd"),animationiteration:gi("Animation","AnimationIteration"),animationstart:gi("Animation","AnimationStart"),transitionrun:gi("Transition","TransitionRun"),transitionstart:gi("Transition","TransitionStart"),transitioncancel:gi("Transition","TransitionCancel"),transitionend:gi("Transition","TransitionEnd")},bu={},Sp={};$n&&(Sp=document.createElement("div").style,"AnimationEvent"in window||(delete ls.animationend.animation,delete ls.animationiteration.animation,delete ls.animationstart.animation),"TransitionEvent"in window||delete ls.transitionend.transition);function yi(e){if(bu[e])return bu[e];if(!ls[e])return e;var a=ls[e],s;for(s in a)if(a.hasOwnProperty(s)&&s in Sp)return bu[e]=a[s];return e}var wp=yi("animationend"),Tp=yi("animationiteration"),Ep=yi("animationstart"),R2=yi("transitionrun"),D2=yi("transitionstart"),_2=yi("transitioncancel"),Ap=yi("transitionend"),Cp=new Map,Su="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(" ");Su.push("scrollEnd");function En(e,a){Cp.set(e,a),mi(a,[e])}var $o=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=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(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},cn=[],cs=0,wu=0;function Jo(){for(var e=cs,a=wu=cs=0;a<e;){var s=cn[a];cn[a++]=null;var o=cn[a];cn[a++]=null;var f=cn[a];cn[a++]=null;var d=cn[a];if(cn[a++]=null,o!==null&&f!==null){var x=o.pending;x===null?f.next=f:(f.next=x.next,x.next=f),o.pending=f}d!==0&&Op(s,f,d)}}function Wo(e,a,s,o){cn[cs++]=e,cn[cs++]=a,cn[cs++]=s,cn[cs++]=o,wu|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function Tu(e,a,s,o){return Wo(e,a,s,o),tl(e)}function vi(e,a){return Wo(e,null,null,a),tl(e)}function Op(e,a,s){e.lanes|=s;var o=e.alternate;o!==null&&(o.lanes|=s);for(var f=!1,d=e.return;d!==null;)d.childLanes|=s,o=d.alternate,o!==null&&(o.childLanes|=s),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&&a!==null&&(f=31-Ee(s),e=d.hiddenUpdates,o=e[f],o===null?e[f]=[a]:o.push(a),a.lane=s|536870912),d):null}function tl(e){if(50<Qr)throw Qr=0,_f=null,Error(r(185));for(var a=e.return;a!==null;)e=a,a=e.return;return e.tag===3?e.stateNode:null}var us={};function z2(e,a,s,o){this.tag=e,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,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 Ze(e,a,s,o){return new z2(e,a,s,o)}function Eu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Jn(e,a){var s=e.alternate;return s===null?(s=Ze(e.tag,a,e.key,e.mode),s.elementType=e.elementType,s.type=e.type,s.stateNode=e.stateNode,s.alternate=e,e.alternate=s):(s.pendingProps=a,s.type=e.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=e.flags&65011712,s.childLanes=e.childLanes,s.lanes=e.lanes,s.child=e.child,s.memoizedProps=e.memoizedProps,s.memoizedState=e.memoizedState,s.updateQueue=e.updateQueue,a=e.dependencies,s.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},s.sibling=e.sibling,s.index=e.index,s.ref=e.ref,s.refCleanup=e.refCleanup,s}function jp(e,a){e.flags&=65011714;var s=e.alternate;return s===null?(e.childLanes=0,e.lanes=a,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=s.childLanes,e.lanes=s.lanes,e.child=s.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=s.memoizedProps,e.memoizedState=s.memoizedState,e.updateQueue=s.updateQueue,e.type=s.type,a=s.dependencies,e.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),e}function el(e,a,s,o,f,d){var x=0;if(o=e,typeof e=="function")Eu(e)&&(x=1);else if(typeof e=="string")x=LT(e,s,K.current)?26:e==="html"||e==="head"||e==="body"?27:5;else t:switch(e){case J:return e=Ze(31,s,a,f),e.elementType=J,e.lanes=d,e;case E:return xi(s.children,f,d,a);case D:x=8,f|=24;break;case N:return e=Ze(12,s,a,f|2),e.elementType=N,e.lanes=d,e;case U:return e=Ze(13,s,a,f),e.elementType=U,e.lanes=d,e;case G:return e=Ze(19,s,a,f),e.elementType=G,e.lanes=d,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case q:x=10;break t;case Q:x=9;break t;case $:x=11;break t;case R:x=14;break t;case _:x=16,o=null;break t}x=29,s=Error(r(130,e===null?"null":typeof e,"")),o=null}return a=Ze(x,s,a,f),a.elementType=e,a.type=o,a.lanes=d,a}function xi(e,a,s,o){return e=Ze(7,e,o,a),e.lanes=s,e}function Au(e,a,s){return e=Ze(6,e,null,a),e.lanes=s,e}function Np(e){var a=Ze(18,null,null,0);return a.stateNode=e,a}function Cu(e,a,s){return a=Ze(4,e.children!==null?e.children:[],e.key,a),a.lanes=s,a.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},a}var Mp=new WeakMap;function un(e,a){if(typeof e=="object"&&e!==null){var s=Mp.get(e);return s!==void 0?s:(a={value:e,source:a,stack:rr(a)},Mp.set(e,a),a)}return{value:e,source:a,stack:rr(a)}}var fs=[],ds=0,nl=null,wr=0,fn=[],dn=0,Ca=null,_n=1,zn="";function Wn(e,a){fs[ds++]=wr,fs[ds++]=nl,nl=e,wr=a}function Rp(e,a,s){fn[dn++]=_n,fn[dn++]=zn,fn[dn++]=Ca,Ca=e;var o=_n;e=zn;var f=32-Ee(o)-1;o&=~(1<<f),s+=1;var d=32-Ee(a)+f;if(30<d){var x=f-f%5;d=(o&(1<<x)-1).toString(32),o>>=x,f-=x,_n=1<<32-Ee(a)+f|s<<f|o,zn=d+e}else _n=1<<d|s<<f|o,zn=e}function Ou(e){e.return!==null&&(Wn(e,1),Rp(e,1,0))}function ju(e){for(;e===nl;)nl=fs[--ds],fs[ds]=null,wr=fs[--ds],fs[ds]=null;for(;e===Ca;)Ca=fn[--dn],fn[dn]=null,zn=fn[--dn],fn[dn]=null,_n=fn[--dn],fn[dn]=null}function Dp(e,a){fn[dn++]=_n,fn[dn++]=zn,fn[dn++]=Ca,_n=a.id,zn=a.overflow,Ca=e}var xe=null,Qt=null,Mt=!1,Oa=null,hn=!1,Nu=Error(r(519));function ja(e){var a=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Tr(un(a,e)),Nu}function _p(e){var a=e.stateNode,s=e.type,o=e.memoizedProps;switch(a[ve]=e,a[Le]=o,s){case"dialog":Ct("cancel",a),Ct("close",a);break;case"iframe":case"object":case"embed":Ct("load",a);break;case"video":case"audio":for(s=0;s<Fr.length;s++)Ct(Fr[s],a);break;case"source":Ct("error",a);break;case"img":case"image":case"link":Ct("error",a),Ct("load",a);break;case"details":Ct("toggle",a);break;case"input":Ct("invalid",a),Ym(a,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"select":Ct("invalid",a);break;case"textarea":Ct("invalid",a),Xm(a,o.value,o.defaultValue,o.children)}s=o.children,typeof s!="string"&&typeof s!="number"&&typeof s!="bigint"||a.textContent===""+s||o.suppressHydrationWarning===!0||Zy(a.textContent,s)?(o.popover!=null&&(Ct("beforetoggle",a),Ct("toggle",a)),o.onScroll!=null&&Ct("scroll",a),o.onScrollEnd!=null&&Ct("scrollend",a),o.onClick!=null&&(a.onclick=Zn),a=!0):a=!1,a||ja(e,!0)}function zp(e){for(xe=e.return;xe;)switch(xe.tag){case 5:case 31:case 13:hn=!1;return;case 27:case 3:hn=!0;return;default:xe=xe.return}}function hs(e){if(e!==xe)return!1;if(!Mt)return zp(e),Mt=!0,!1;var a=e.tag,s;if((s=a!==3&&a!==27)&&((s=a===5)&&(s=e.type,s=!(s!=="form"&&s!=="button")||Xf(e.type,e.memoizedProps)),s=!s),s&&Qt&&ja(e),zp(e),a===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Qt=sv(e)}else if(a===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Qt=sv(e)}else a===27?(a=Qt,qa(e.type)?(e=Wf,Wf=null,Qt=e):Qt=a):Qt=xe?pn(e.stateNode.nextSibling):null;return!0}function bi(){Qt=xe=null,Mt=!1}function Mu(){var e=Oa;return e!==null&&(Ge===null?Ge=e:Ge.push.apply(Ge,e),Oa=null),e}function Tr(e){Oa===null?Oa=[e]:Oa.push(e)}var Ru=C(null),Si=null,ta=null;function Na(e,a,s){V(Ru,a._currentValue),a._currentValue=s}function ea(e){e._currentValue=Ru.current,Y(Ru)}function Du(e,a,s){for(;e!==null;){var o=e.alternate;if((e.childLanes&a)!==a?(e.childLanes|=a,o!==null&&(o.childLanes|=a)):o!==null&&(o.childLanes&a)!==a&&(o.childLanes|=a),e===s)break;e=e.return}}function _u(e,a,s,o){var f=e.child;for(f!==null&&(f.return=e);f!==null;){var d=f.dependencies;if(d!==null){var x=f.child;d=d.firstContext;t:for(;d!==null;){var S=d;d=f;for(var O=0;O<a.length;O++)if(S.context===a[O]){d.lanes|=s,S=d.alternate,S!==null&&(S.lanes|=s),Du(d.return,s,e),o||(x=null);break t}d=S.next}}else if(f.tag===18){if(x=f.return,x===null)throw Error(r(341));x.lanes|=s,d=x.alternate,d!==null&&(d.lanes|=s),Du(x,s,e),x=null}else x=f.child;if(x!==null)x.return=f;else for(x=f;x!==null;){if(x===e){x=null;break}if(f=x.sibling,f!==null){f.return=x.return,x=f;break}x=x.return}f=x}}function ms(e,a,s,o){e=null;for(var f=a,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 x=f.alternate;if(x===null)throw Error(r(387));if(x=x.memoizedProps,x!==null){var S=f.type;Ie(f.pendingProps.value,x.value)||(e!==null?e.push(S):e=[S])}}else if(f===ut.current){if(x=f.alternate,x===null)throw Error(r(387));x.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(e!==null?e.push(Zr):e=[Zr])}f=f.return}e!==null&&_u(a,e,s,o),a.flags|=262144}function al(e){for(e=e.firstContext;e!==null;){if(!Ie(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function wi(e){Si=e,ta=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function be(e){return Pp(Si,e)}function il(e,a){return Si===null&&wi(e),Pp(e,a)}function Pp(e,a){var s=a._currentValue;if(a={context:a,memoizedValue:s,next:null},ta===null){if(e===null)throw Error(r(308));ta=a,e.dependencies={lanes:0,firstContext:a},e.flags|=524288}else ta=ta.next=a;return s}var P2=typeof AbortController<"u"?AbortController:function(){var e=[],a=this.signal={aborted:!1,addEventListener:function(s,o){e.push(o)}};this.abort=function(){a.aborted=!0,e.forEach(function(s){return s()})}},H2=t.unstable_scheduleCallback,U2=t.unstable_NormalPriority,re={$$typeof:q,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function zu(){return{controller:new P2,data:new Map,refCount:0}}function Er(e){e.refCount--,e.refCount===0&&H2(U2,function(){e.controller.abort()})}var Ar=null,Pu=0,ps=0,gs=null;function k2(e,a){if(Ar===null){var s=Ar=[];Pu=0,ps=Lf(),gs={status:"pending",value:void 0,then:function(o){s.push(o)}}}return Pu++,a.then(Hp,Hp),a}function Hp(){if(--Pu===0&&Ar!==null){gs!==null&&(gs.status="fulfilled");var e=Ar;Ar=null,ps=0,gs=null;for(var a=0;a<e.length;a++)(0,e[a])()}}function L2(e,a){var s=[],o={status:"pending",value:null,reason:null,then:function(f){s.push(f)}};return e.then(function(){o.status="fulfilled",o.value=a;for(var f=0;f<s.length;f++)(0,s[f])(a)},function(f){for(o.status="rejected",o.reason=f,f=0;f<s.length;f++)(0,s[f])(void 0)}),o}var Up=j.S;j.S=function(e,a){by=Re(),typeof a=="object"&&a!==null&&typeof a.then=="function"&&k2(e,a),Up!==null&&Up(e,a)};var Ti=C(null);function Hu(){var e=Ti.current;return e!==null?e:qt.pooledCache}function sl(e,a){a===null?V(Ti,Ti.current):V(Ti,a.pool)}function kp(){var e=Hu();return e===null?null:{parent:re._currentValue,pool:e}}var ys=Error(r(460)),Uu=Error(r(474)),rl=Error(r(542)),ol={then:function(){}};function Lp(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Vp(e,a,s){switch(s=e[s],s===void 0?e.push(a):s!==a&&(a.then(Zn,Zn),a=s),a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,qp(e),e;default:if(typeof a.status=="string")a.then(Zn,Zn);else{if(e=qt,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=a,e.status="pending",e.then(function(o){if(a.status==="pending"){var f=a;f.status="fulfilled",f.value=o}},function(o){if(a.status==="pending"){var f=a;f.status="rejected",f.reason=o}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,qp(e),e}throw Ai=a,ys}}function Ei(e){try{var a=e._init;return a(e._payload)}catch(s){throw s!==null&&typeof s=="object"&&typeof s.then=="function"?(Ai=s,ys):s}}var Ai=null;function Bp(){if(Ai===null)throw Error(r(459));var e=Ai;return Ai=null,e}function qp(e){if(e===ys||e===rl)throw Error(r(483))}var vs=null,Cr=0;function ll(e){var a=Cr;return Cr+=1,vs===null&&(vs=[]),Vp(vs,e,a)}function Or(e,a){a=a.props.ref,e.ref=a!==void 0?a:null}function cl(e,a){throw a.$$typeof===b?Error(r(525)):(e=Object.prototype.toString.call(a),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":e)))}function Qp(e){function a(P,M){if(e){var k=P.deletions;k===null?(P.deletions=[M],P.flags|=16):k.push(M)}}function s(P,M){if(!e)return null;for(;M!==null;)a(P,M),M=M.sibling;return null}function o(P){for(var M=new Map;P!==null;)P.key!==null?M.set(P.key,P):M.set(P.index,P),P=P.sibling;return M}function f(P,M){return P=Jn(P,M),P.index=0,P.sibling=null,P}function d(P,M,k){return P.index=k,e?(k=P.alternate,k!==null?(k=k.index,k<M?(P.flags|=67108866,M):k):(P.flags|=67108866,M)):(P.flags|=1048576,M)}function x(P){return e&&P.alternate===null&&(P.flags|=67108866),P}function S(P,M,k,I){return M===null||M.tag!==6?(M=Au(k,P.mode,I),M.return=P,M):(M=f(M,k),M.return=P,M)}function O(P,M,k,I){var gt=k.type;return gt===E?X(P,M,k.props.children,I,k.key):M!==null&&(M.elementType===gt||typeof gt=="object"&>!==null&>.$$typeof===_&&Ei(gt)===M.type)?(M=f(M,k.props),Or(M,k),M.return=P,M):(M=el(k.type,k.key,k.props,null,P.mode,I),Or(M,k),M.return=P,M)}function L(P,M,k,I){return M===null||M.tag!==4||M.stateNode.containerInfo!==k.containerInfo||M.stateNode.implementation!==k.implementation?(M=Cu(k,P.mode,I),M.return=P,M):(M=f(M,k.children||[]),M.return=P,M)}function X(P,M,k,I,gt){return M===null||M.tag!==7?(M=xi(k,P.mode,I,gt),M.return=P,M):(M=f(M,k),M.return=P,M)}function Z(P,M,k){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return M=Au(""+M,P.mode,k),M.return=P,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case w:return k=el(M.type,M.key,M.props,null,P.mode,k),Or(k,M),k.return=P,k;case T:return M=Cu(M,P.mode,k),M.return=P,M;case _:return M=Ei(M),Z(P,M,k)}if(ct(M)||tt(M))return M=xi(M,P.mode,k,null),M.return=P,M;if(typeof M.then=="function")return Z(P,ll(M),k);if(M.$$typeof===q)return Z(P,il(P,M),k);cl(P,M)}return null}function B(P,M,k,I){var gt=M!==null?M.key:null;if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return gt!==null?null:S(P,M,""+k,I);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case w:return k.key===gt?O(P,M,k,I):null;case T:return k.key===gt?L(P,M,k,I):null;case _:return k=Ei(k),B(P,M,k,I)}if(ct(k)||tt(k))return gt!==null?null:X(P,M,k,I,null);if(typeof k.then=="function")return B(P,M,ll(k),I);if(k.$$typeof===q)return B(P,M,il(P,k),I);cl(P,k)}return null}function F(P,M,k,I,gt){if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return P=P.get(k)||null,S(M,P,""+I,gt);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case w:return P=P.get(I.key===null?k:I.key)||null,O(M,P,I,gt);case T:return P=P.get(I.key===null?k:I.key)||null,L(M,P,I,gt);case _:return I=Ei(I),F(P,M,k,I,gt)}if(ct(I)||tt(I))return P=P.get(k)||null,X(M,P,I,gt,null);if(typeof I.then=="function")return F(P,M,k,ll(I),gt);if(I.$$typeof===q)return F(P,M,k,il(M,I),gt);cl(M,I)}return null}function ft(P,M,k,I){for(var gt=null,_t=null,pt=M,Tt=M=0,jt=null;pt!==null&&Tt<k.length;Tt++){pt.index>Tt?(jt=pt,pt=null):jt=pt.sibling;var zt=B(P,pt,k[Tt],I);if(zt===null){pt===null&&(pt=jt);break}e&&pt&&zt.alternate===null&&a(P,pt),M=d(zt,M,Tt),_t===null?gt=zt:_t.sibling=zt,_t=zt,pt=jt}if(Tt===k.length)return s(P,pt),Mt&&Wn(P,Tt),gt;if(pt===null){for(;Tt<k.length;Tt++)pt=Z(P,k[Tt],I),pt!==null&&(M=d(pt,M,Tt),_t===null?gt=pt:_t.sibling=pt,_t=pt);return Mt&&Wn(P,Tt),gt}for(pt=o(pt);Tt<k.length;Tt++)jt=F(pt,P,Tt,k[Tt],I),jt!==null&&(e&&jt.alternate!==null&&pt.delete(jt.key===null?Tt:jt.key),M=d(jt,M,Tt),_t===null?gt=jt:_t.sibling=jt,_t=jt);return e&&pt.forEach(function(Ka){return a(P,Ka)}),Mt&&Wn(P,Tt),gt}function yt(P,M,k,I){if(k==null)throw Error(r(151));for(var gt=null,_t=null,pt=M,Tt=M=0,jt=null,zt=k.next();pt!==null&&!zt.done;Tt++,zt=k.next()){pt.index>Tt?(jt=pt,pt=null):jt=pt.sibling;var Ka=B(P,pt,zt.value,I);if(Ka===null){pt===null&&(pt=jt);break}e&&pt&&Ka.alternate===null&&a(P,pt),M=d(Ka,M,Tt),_t===null?gt=Ka:_t.sibling=Ka,_t=Ka,pt=jt}if(zt.done)return s(P,pt),Mt&&Wn(P,Tt),gt;if(pt===null){for(;!zt.done;Tt++,zt=k.next())zt=Z(P,zt.value,I),zt!==null&&(M=d(zt,M,Tt),_t===null?gt=zt:_t.sibling=zt,_t=zt);return Mt&&Wn(P,Tt),gt}for(pt=o(pt);!zt.done;Tt++,zt=k.next())zt=F(pt,P,Tt,zt.value,I),zt!==null&&(e&&zt.alternate!==null&&pt.delete(zt.key===null?Tt:zt.key),M=d(zt,M,Tt),_t===null?gt=zt:_t.sibling=zt,_t=zt);return e&&pt.forEach(function(ZT){return a(P,ZT)}),Mt&&Wn(P,Tt),gt}function Bt(P,M,k,I){if(typeof k=="object"&&k!==null&&k.type===E&&k.key===null&&(k=k.props.children),typeof k=="object"&&k!==null){switch(k.$$typeof){case w:t:{for(var gt=k.key;M!==null;){if(M.key===gt){if(gt=k.type,gt===E){if(M.tag===7){s(P,M.sibling),I=f(M,k.props.children),I.return=P,P=I;break t}}else if(M.elementType===gt||typeof gt=="object"&>!==null&>.$$typeof===_&&Ei(gt)===M.type){s(P,M.sibling),I=f(M,k.props),Or(I,k),I.return=P,P=I;break t}s(P,M);break}else a(P,M);M=M.sibling}k.type===E?(I=xi(k.props.children,P.mode,I,k.key),I.return=P,P=I):(I=el(k.type,k.key,k.props,null,P.mode,I),Or(I,k),I.return=P,P=I)}return x(P);case T:t:{for(gt=k.key;M!==null;){if(M.key===gt)if(M.tag===4&&M.stateNode.containerInfo===k.containerInfo&&M.stateNode.implementation===k.implementation){s(P,M.sibling),I=f(M,k.children||[]),I.return=P,P=I;break t}else{s(P,M);break}else a(P,M);M=M.sibling}I=Cu(k,P.mode,I),I.return=P,P=I}return x(P);case _:return k=Ei(k),Bt(P,M,k,I)}if(ct(k))return ft(P,M,k,I);if(tt(k)){if(gt=tt(k),typeof gt!="function")throw Error(r(150));return k=gt.call(k),yt(P,M,k,I)}if(typeof k.then=="function")return Bt(P,M,ll(k),I);if(k.$$typeof===q)return Bt(P,M,il(P,k),I);cl(P,k)}return typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint"?(k=""+k,M!==null&&M.tag===6?(s(P,M.sibling),I=f(M,k),I.return=P,P=I):(s(P,M),I=Au(k,P.mode,I),I.return=P,P=I),x(P)):s(P,M)}return function(P,M,k,I){try{Cr=0;var gt=Bt(P,M,k,I);return vs=null,gt}catch(pt){if(pt===ys||pt===rl)throw pt;var _t=Ze(29,pt,null,P.mode);return _t.lanes=I,_t.return=P,_t}finally{}}}var Ci=Qp(!0),Gp=Qp(!1),Ma=!1;function ku(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Lu(e,a){e=e.updateQueue,a.updateQueue===e&&(a.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ra(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Da(e,a,s){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,(Ht&2)!==0){var f=o.pending;return f===null?a.next=a:(a.next=f.next,f.next=a),o.pending=a,a=tl(e),Op(e,null,s),a}return Wo(e,o,a,s),tl(e)}function jr(e,a,s){if(a=a.updateQueue,a!==null&&(a=a.shared,(s&4194048)!==0)){var o=a.lanes;o&=e.pendingLanes,s|=o,a.lanes=s,Ue(e,s)}}function Vu(e,a){var s=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,s===o)){var f=null,d=null;if(s=s.firstBaseUpdate,s!==null){do{var x={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};d===null?f=d=x:d=d.next=x,s=s.next}while(s!==null);d===null?f=d=a:d=d.next=a}else f=d=a;s={baseState:o.baseState,firstBaseUpdate:f,lastBaseUpdate:d,shared:o.shared,callbacks:o.callbacks},e.updateQueue=s;return}e=s.lastBaseUpdate,e===null?s.firstBaseUpdate=a:e.next=a,s.lastBaseUpdate=a}var Bu=!1;function Nr(){if(Bu){var e=gs;if(e!==null)throw e}}function Mr(e,a,s,o){Bu=!1;var f=e.updateQueue;Ma=!1;var d=f.firstBaseUpdate,x=f.lastBaseUpdate,S=f.shared.pending;if(S!==null){f.shared.pending=null;var O=S,L=O.next;O.next=null,x===null?d=L:x.next=L,x=O;var X=e.alternate;X!==null&&(X=X.updateQueue,S=X.lastBaseUpdate,S!==x&&(S===null?X.firstBaseUpdate=L:S.next=L,X.lastBaseUpdate=O))}if(d!==null){var Z=f.baseState;x=0,X=L=O=null,S=d;do{var B=S.lane&-536870913,F=B!==S.lane;if(F?(Ot&B)===B:(o&B)===B){B!==0&&B===ps&&(Bu=!0),X!==null&&(X=X.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});t:{var ft=e,yt=S;B=a;var Bt=s;switch(yt.tag){case 1:if(ft=yt.payload,typeof ft=="function"){Z=ft.call(Bt,Z,B);break t}Z=ft;break t;case 3:ft.flags=ft.flags&-65537|128;case 0:if(ft=yt.payload,B=typeof ft=="function"?ft.call(Bt,Z,B):ft,B==null)break t;Z=y({},Z,B);break t;case 2:Ma=!0}}B=S.callback,B!==null&&(e.flags|=64,F&&(e.flags|=8192),F=f.callbacks,F===null?f.callbacks=[B]:F.push(B))}else F={lane:B,tag:S.tag,payload:S.payload,callback:S.callback,next:null},X===null?(L=X=F,O=Z):X=X.next=F,x|=B;if(S=S.next,S===null){if(S=f.shared.pending,S===null)break;F=S,S=F.next,F.next=null,f.lastBaseUpdate=F,f.shared.pending=null}}while(!0);X===null&&(O=Z),f.baseState=O,f.firstBaseUpdate=L,f.lastBaseUpdate=X,d===null&&(f.shared.lanes=0),Ua|=x,e.lanes=x,e.memoizedState=Z}}function Fp(e,a){if(typeof e!="function")throw Error(r(191,e));e.call(a)}function Yp(e,a){var s=e.callbacks;
vendor: 7,531 bytes, line 48
48if(s!==null)for(e.callbacks=null,e=0;e<s.length;e++)Fp(s[e],a)}var xs=C(null),ul=C(0);function Kp(e,a){e=ua,V(ul,e),V(xs,a),ua=e|a.baseLanes}function qu(){V(ul,ua),V(xs,xs.current)}function Qu(){ua=ul.current,Y(xs),Y(ul)}var $e=C(null),mn=null;function _a(e){var a=e.alternate;V(ne,ne.current&1),V($e,e),mn===null&&(a===null||xs.current!==null||a.memoizedState!==null)&&(mn=e)}function Gu(e){V(ne,ne.current),V($e,e),mn===null&&(mn=e)}function Xp(e){e.tag===22?(V(ne,ne.current),V($e,e),mn===null&&(mn=e)):za()}function za(){V(ne,ne.current),V($e,$e.current)}function Je(e){Y($e),mn===e&&(mn=null),Y(ne)}var ne=C(0);function fl(e){for(var a=e;a!==null;){if(a.tag===13){var s=a.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||$f(s)||Jf(s)))return a}else if(a.tag===19&&(a.memoizedProps.revealOrder==="forwards"||a.memoizedProps.revealOrder==="backwards"||a.memoizedProps.revealOrder==="unstable_legacy-backwards"||a.memoizedProps.revealOrder==="together")){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var na=0,wt=null,Lt=null,oe=null,dl=!1,bs=!1,Oi=!1,hl=0,Rr=0,Ss=null,V2=0;function Zt(){throw Error(r(321))}function Fu(e,a){if(a===null)return!1;for(var s=0;s<a.length&&s<e.length;s++)if(!Ie(e[s],a[s]))return!1;return!0}function Yu(e,a,s,o,f,d){return na=d,wt=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,j.H=e===null||e.memoizedState===null?Rg:lf,Oi=!1,d=s(o,f),Oi=!1,bs&&(d=Zp(a,s,o,f)),Ip(e),d}function Ip(e){j.H=zr;var a=Lt!==null&&Lt.next!==null;if(na=0,oe=Lt=wt=null,dl=!1,Rr=0,Ss=null,a)throw Error(r(300));e===null||le||(e=e.dependencies,e!==null&&al(e)&&(le=!0))}function Zp(e,a,s,o){wt=e;var f=0;do{if(bs&&(Ss=null),Rr=0,bs=!1,25<=f)throw Error(r(301));if(f+=1,oe=Lt=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=Dg,d=a(s,o)}while(bs);return d}function B2(){var e=j.H,a=e.useState()[0];return a=typeof a.then=="function"?Dr(a):a,e=e.useState()[0],(Lt!==null?Lt.memoizedState:null)!==e&&(wt.flags|=1024),a}function Ku(){var e=hl!==0;return hl=0,e}function Xu(e,a,s){a.updateQueue=e.updateQueue,a.flags&=-2053,e.lanes&=~s}function Iu(e){if(dl){for(e=e.memoizedState;e!==null;){var a=e.queue;a!==null&&(a.pending=null),e=e.next}dl=!1}na=0,oe=Lt=wt=null,bs=!1,Rr=hl=0,Ss=null}function _e(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return oe===null?wt.memoizedState=oe=e:oe=oe.next=e,oe}function ae(){if(Lt===null){var e=wt.alternate;e=e!==null?e.memoizedState:null}else e=Lt.next;var a=oe===null?wt.memoizedState:oe.next;if(a!==null)oe=a,Lt=e;else{if(e===null)throw wt.alternate===null?Error(r(467)):Error(r(310));Lt=e,e={memoizedState:Lt.memoizedState,baseState:Lt.baseState,baseQueue:Lt.baseQueue,queue:Lt.queue,next:null},oe===null?wt.memoizedState=oe=e:oe=oe.next=e}return oe}function ml(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Dr(e){var a=Rr;return Rr+=1,Ss===null&&(Ss=[]),e=Vp(Ss,e,a),a=wt,(oe===null?a.memoizedState:oe.next)===null&&(a=a.alternate,j.H=a===null||a.memoizedState===null?Rg:lf),e}function pl(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Dr(e);if(e.$$typeof===q)return be(e)}throw Error(r(438,String(e)))}function Zu(e){var a=null,s=wt.updateQueue;if(s!==null&&(a=s.memoCache),a==null){var o=wt.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(a={data:o.data.map(function(f){return f.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),s===null&&(s=ml(),wt.updateQueue=s),s.memoCache=a,s=a.data[a.index],s===void 0)for(s=a.data[a.index]=Array(e),o=0;o<e;o++)s[o]=W;return a.index++,s}function aa(e,a){return typeof a=="function"?a(e):a}function gl(e){var a=ae();return $u(a,Lt,e)}function $u(e,a,s){var o=e.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=s;var f=e.baseQueue,d=o.pending;if(d!==null){if(f!==null){var x=f.next;f.next=d.next,d.next=x}a.baseQueue=f=d,o.pending=null}if(d=e.baseState,f===null)e.memoizedState=d;else{a=f.next;var S=x=null,O=null,L=a,X=!1;do{var Z=L.lane&-536870913;if(Z!==L.lane?(Ot&Z)===Z:(na&Z)===Z){var B=L.revertLane;if(B===0)O!==null&&(O=O.next={lane:0,revertLane:0,gesture:null,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null}),Z===ps&&(X=!0);else if((na&B)===B){L=L.next,B===ps&&(X=!0);continue}else Z={lane:0,revertLane:L.revertLane,gesture:null,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},O===null?(S=O=Z,x=d):O=O.next=Z,wt.lanes|=B,Ua|=B;Z=L.action,Oi&&s(d,Z),d=L.hasEagerState?L.eagerState:s(d,Z)}else B={lane:Z,revertLane:L.revertLane,gesture:L.gesture,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},O===null?(S=O=B,x=d):O=O.next=B,wt.lanes|=Z,Ua|=Z;L=L.next}while(L!==null&&L!==a);if(O===null?x=d:O.next=S,!Ie(d,e.memoizedState)&&(le=!0,X&&(s=gs,s!==null)))throw s;e.memoizedState=d,e.baseState=x,e.baseQueue=O,o.lastRenderedState=d}return f===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function Ju(e){var a=ae(),s=a.queue;if(s===null)throw Error(r(311));s.lastRenderedReducer=e;var o=s.dispatch,f=s.pending,d=a.memoizedState;if(f!==null){s.pending=null;var x=f=f.next;do d=e(d,x.action),x=x.next;while(x!==f);Ie(d,a.memoizedState)||(le=!0),a.memoizedState=d,a.baseQueue===null&&(a.baseState=d),s.lastRenderedState=d}return[d,o]}function $p(e,a,s){var o=wt,f=ae(),d=Mt;if(d){if(s===void 0)throw Error(r(407));s=s()}else s=a();var x=!Ie((Lt||f).memoizedState,s);if(x&&(f.memoizedState=s,le=!0),f=f.queue,ef(tg.bind(null,o,f,e),[e]),f.getSnapshot!==a||x||oe!==null&&oe.memoizedState.tag&1){if(o.flags|=2048,ws(9,{destroy:void 0},Wp.bind(null,o,f,s,a),null),qt===null)throw Error(r(349));d||(na&127)!==0||Jp(o,a,s)}return s}function Jp(e,a,s){e.flags|=16384,e={getSnapshot:a,value:s},a=wt.updateQueue,a===null?(a=ml(),wt.updateQueue=a,a.stores=[e]):(s=a.stores,s===null?a.stores=[e]:s.push(e))}function Wp(e,a,s,o){a.value=s,a.getSnapshot=o,eg(a)&&ng(e)}function tg(e,a,s){return s(function(){eg(a)&&ng(e)})}function eg(e){var a=e.getSnapshot;e=e.value;try{var s=a();return!Ie(e,s)}catch{return!0}}function ng(e){var a=vi(e,2);a!==null&&Fe(a,e,2)}function Wu(e){var a=_e();if(typeof e=="function"){var s=e;if(e=s(),Oi){wn(!0);try{s()}finally{wn(!1)}}}return a.memoizedState=a.baseState=e,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:aa,lastRenderedState:e},a}function ag(e,a,s,o){return e.baseState=s,$u(e,Lt,typeof o=="function"?o:aa)}function q2(e,a,s,o,f){if(xl(e))throw Error(r(485));if(e=a.action,e!==null){var d={payload:f,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(x){d.listeners.push(x)}};j.T!==null?s(!0):d.isTransition=!1,o(d),s=a.pending,s===null?(d.next=a.pending=d,ig(a,d)):(d.next=s.next,a.pending=s.next=d)}}function ig(e,a){var s=a.action,o=a.payload,f=e.state;if(a.isTransition){var d=j.T,x={};j.T=x;try{var S=s(f,o),O=j.S;O!==null&&O(x,S),sg(e,a,S)}catch(L){tf(e,a,L)}finally{d!==null&&x.types!==null&&(d.types=x.types),j.T=d}}else try{d=s(f,o),sg(e,a,d)}catch(L){tf(e,a,L)}}function sg(e,a,s){s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(function(o){rg(e,a,o)},function(o){return tf(e,a,o)}):rg(e,a,s)}function rg(e,a,s){a.status="fulfilled",a.value=s,og(a),e.state=s,a=e.pending,a!==null&&(s=a.next,s===a?e.pen
vendor: 5,627 bytes, line 48
48ding=null:(s=s.next,a.next=s,ig(e,s)))}function tf(e,a,s){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do a.status="rejected",a.reason=s,og(a),a=a.next;while(a!==o)}e.action=null}function og(e){e=e.listeners;for(var a=0;a<e.length;a++)(0,e[a])()}function lg(e,a){return a}function cg(e,a){if(Mt){var s=qt.formState;if(s!==null){t:{var o=wt;if(Mt){if(Qt){e:{for(var f=Qt,d=hn;f.nodeType!==8;){if(!d){f=null;break e}if(f=pn(f.nextSibling),f===null){f=null;break e}}d=f.data,f=d==="F!"||d==="F"?f:null}if(f){Qt=pn(f.nextSibling),o=f.data==="F!";break t}}ja(o)}o=!1}o&&(a=s[0])}}return s=_e(),s.memoizedState=s.baseState=a,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:lg,lastRenderedState:a},s.queue=o,s=jg.bind(null,wt,o),o.dispatch=s,o=Wu(!1),d=of.bind(null,wt,!1,o.queue),o=_e(),f={state:a,dispatch:null,action:e,pending:null},o.queue=f,s=q2.bind(null,wt,f,d,s),f.dispatch=s,o.memoizedState=e,[a,s,!1]}function ug(e){var a=ae();return fg(a,Lt,e)}function fg(e,a,s){if(a=$u(e,a,lg)[0],e=gl(aa)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var o=Dr(a)}catch(x){throw x===ys?rl:x}else o=a;a=ae();var f=a.queue,d=f.dispatch;return s!==a.memoizedState&&(wt.flags|=2048,ws(9,{destroy:void 0},Q2.bind(null,f,s),null)),[o,d,e]}function Q2(e,a){e.action=a}function dg(e){var a=ae(),s=Lt;if(s!==null)return fg(a,s,e);ae(),a=a.memoizedState,s=ae();var o=s.queue.dispatch;return s.memoizedState=e,[a,o,!1]}function ws(e,a,s,o){return e={tag:e,create:s,deps:o,inst:a,next:null},a=wt.updateQueue,a===null&&(a=ml(),wt.updateQueue=a),s=a.lastEffect,s===null?a.lastEffect=e.next=e:(o=s.next,s.next=e,e.next=o,a.lastEffect=e),e}function hg(){return ae().memoizedState}function yl(e,a,s,o){var f=_e();wt.flags|=e,f.memoizedState=ws(1|a,{destroy:void 0},s,o===void 0?null:o)}function vl(e,a,s,o){var f=ae();o=o===void 0?null:o;var d=f.memoizedState.inst;Lt!==null&&o!==null&&Fu(o,Lt.memoizedState.deps)?f.memoizedState=ws(a,d,s,o):(wt.flags|=e,f.memoizedState=ws(1|a,d,s,o))}function mg(e,a){yl(8390656,8,e,a)}function ef(e,a){vl(2048,8,e,a)}function G2(e){wt.flags|=4;var a=wt.updateQueue;if(a===null)a=ml(),wt.updateQueue=a,a.events=[e];else{var s=a.events;s===null?a.events=[e]:s.push(e)}}function pg(e){var a=ae().memoizedState;return G2({ref:a,nextImpl:e}),function(){if((Ht&2)!==0)throw Error(r(440));return a.impl.apply(void 0,arguments)}}function gg(e,a){return vl(4,2,e,a)}function yg(e,a){return vl(4,4,e,a)}function vg(e,a){if(typeof a=="function"){e=e();var s=a(e);return function(){typeof s=="function"?s():a(null)}}if(a!=null)return e=e(),a.current=e,function(){a.current=null}}function xg(e,a,s){s=s!=null?s.concat([e]):null,vl(4,4,vg.bind(null,a,e),s)}function nf(){}function bg(e,a){var s=ae();a=a===void 0?null:a;var o=s.memoizedState;return a!==null&&Fu(a,o[1])?o[0]:(s.memoizedState=[e,a],e)}function Sg(e,a){var s=ae();a=a===void 0?null:a;var o=s.memoizedState;if(a!==null&&Fu(a,o[1]))return o[0];if(o=e(),Oi){wn(!0);try{e()}finally{wn(!1)}}return s.memoizedState=[o,a],o}function af(e,a,s){return s===void 0||(na&1073741824)!==0&&(Ot&261930)===0?e.memoizedState=a:(e.memoizedState=s,e=wy(),wt.lanes|=e,Ua|=e,s)}function wg(e,a,s,o){return Ie(s,a)?s:xs.current!==null?(e=af(e,s,o),Ie(e,a)||(le=!0),e):(na&42)===0||(na&1073741824)!==0&&(Ot&261930)===0?(le=!0,e.memoizedState=s):(e=wy(),wt.lanes|=e,Ua|=e,a)}function Tg(e,a,s,o,f){var d=H.p;H.p=d!==0&&8>d?d:8;var x=j.T,S={};j.T=S,of(e,!1,a,s);try{var O=f(),L=j.S;if(L!==null&&L(S,O),O!==null&&typeof O=="object"&&typeof O.then=="function"){var X=L2(O,o);_r(e,a,X,en(e))}else _r(e,a,o,en(e))}catch(Z){_r(e,a,{then:function(){},status:"rejected",reason:Z},en())}finally{H.p=d,x!==null&&S.types!==null&&(x.types=S.types),j.T=x}}function F2(){}function sf(e,a,s,o){if(e.tag!==5)throw Error(r(476));var f=Eg(e).queue;Tg(e,f,a,z,s===null?F2:function(){return Ag(e),s(o)})}function Eg(e){var a=e.memoizedState;if(a!==null)return a;a={memoizedState:z,baseState:z,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:aa,lastRenderedState:z},next:null};var s={};return a.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:aa,lastRenderedState:s},next:null},e.memoizedState=a,e=e.alternate,e!==null&&(e.memoizedState=a),a}function Ag(e){var a=Eg(e);a.next===null&&(a=e.alternate.memoizedState),_r(e,a.next.queue,{},en())}function rf(){return be(Zr)}function Cg(){return ae().memoizedState}function Og(){return ae().memoizedState}function Y2(e){for(var a=e.return;a!==null;){switch(a.tag){case 24:case 3:var s=en();e=Ra(s);var o=Da(a,e,s);o!==null&&(Fe(o,a,s),jr(o,a,s)),a={cache:zu()},e.payload=a;return}a=a.return}}function K2(e,a,s){var o=en();s={lane:o,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},xl(e)?Ng(a,s):(s=Tu(e,a,s,o),s!==null&&(Fe(s,e,o),Mg(s,a,o)))}function jg(e,a,s){var o=en();_r(e,a,s,o)}function _r(e,a,s,o){var f={lane:o,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null};if(xl(e))Ng(a,f);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=a.lastRenderedReducer,d!==null))try{var x=a.lastRenderedState,S=d(x,s);if(f.hasEagerState=!0,f.eagerState=S,Ie(S,x))return Wo(e,a,f,0),qt===null&&Jo(),!1}catch{}finally{}if(s=Tu(e,a,f,o),s!==null)return Fe(s,e,o),Mg(s,a,o),!0}return!1}function of(e,a,s,o){if(o={lane:2,revertLane:Lf(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},xl(e)){if(a)throw Error(r(479))}else a=Tu(e,s,o,2),a!==null&&Fe(a,e,2)}function xl(e){var a=e.alternate;return e===wt||a!==null&&a===wt}function Ng(e,a){bs=dl=!0;var s=e.pending;
vendor: 9,902 bytes, line 48
48s===null?a.next=a:(a.next=s.next,s.next=a),e.pending=a}function Mg(e,a,s){if((s&4194048)!==0){var o=a.lanes;o&=e.pendingLanes,s|=o,a.lanes=s,Ue(e,s)}}var zr={readContext:be,use:pl,useCallback:Zt,useContext:Zt,useEffect:Zt,useImperativeHandle:Zt,useLayoutEffect:Zt,useInsertionEffect:Zt,useMemo:Zt,useReducer:Zt,useRef:Zt,useState:Zt,useDebugValue:Zt,useDeferredValue:Zt,useTransition:Zt,useSyncExternalStore:Zt,useId:Zt,useHostTransitionStatus:Zt,useFormState:Zt,useActionState:Zt,useOptimistic:Zt,useMemoCache:Zt,useCacheRefresh:Zt};zr.useEffectEvent=Zt;var Rg={readContext:be,use:pl,useCallback:function(e,a){return _e().memoizedState=[e,a===void 0?null:a],e},useContext:be,useEffect:mg,useImperativeHandle:function(e,a,s){s=s!=null?s.concat([e]):null,yl(4194308,4,vg.bind(null,a,e),s)},useLayoutEffect:function(e,a){return yl(4194308,4,e,a)},useInsertionEffect:function(e,a){yl(4,2,e,a)},useMemo:function(e,a){var s=_e();a=a===void 0?null:a;var o=e();if(Oi){wn(!0);try{e()}finally{wn(!1)}}return s.memoizedState=[o,a],o},useReducer:function(e,a,s){var o=_e();if(s!==void 0){var f=s(a);if(Oi){wn(!0);try{s(a)}finally{wn(!1)}}}else f=a;return o.memoizedState=o.baseState=f,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:f},o.queue=e,e=e.dispatch=K2.bind(null,wt,e),[o.memoizedState,e]},useRef:function(e){var a=_e();return e={current:e},a.memoizedState=e},useState:function(e){e=Wu(e);var a=e.queue,s=jg.bind(null,wt,a);return a.dispatch=s,[e.memoizedState,s]},useDebugValue:nf,useDeferredValue:function(e,a){var s=_e();return af(s,e,a)},useTransition:function(){var e=Wu(!1);return e=Tg.bind(null,wt,e.queue,!0,!1),_e().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,a,s){var o=wt,f=_e();if(Mt){if(s===void 0)throw Error(r(407));s=s()}else{if(s=a(),qt===null)throw Error(r(349));(Ot&127)!==0||Jp(o,a,s)}f.memoizedState=s;var d={value:s,getSnapshot:a};return f.queue=d,mg(tg.bind(null,o,d,e),[e]),o.flags|=2048,ws(9,{destroy:void 0},Wp.bind(null,o,d,s,a),null),s},useId:function(){var e=_e(),a=qt.identifierPrefix;if(Mt){var s=zn,o=_n;s=(o&~(1<<32-Ee(o)-1)).toString(32)+s,a="_"+a+"R_"+s,s=hl++,0<s&&(a+="H"+s.toString(32)),a+="_"}else s=V2++,a="_"+a+"r_"+s.toString(32)+"_";return e.memoizedState=a},useHostTransitionStatus:rf,useFormState:cg,useActionState:cg,useOptimistic:function(e){var a=_e();a.memoizedState=a.baseState=e;var s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=s,a=of.bind(null,wt,!0,s),s.dispatch=a,[e,a]},useMemoCache:Zu,useCacheRefresh:function(){return _e().memoizedState=Y2.bind(null,wt)},useEffectEvent:function(e){var a=_e(),s={impl:e};return a.memoizedState=s,function(){if((Ht&2)!==0)throw Error(r(440));return s.impl.apply(void 0,arguments)}}},lf={readContext:be,use:pl,useCallback:bg,useContext:be,useEffect:ef,useImperativeHandle:xg,useInsertionEffect:gg,useLayoutEffect:yg,useMemo:Sg,useReducer:gl,useRef:hg,useState:function(){return gl(aa)},useDebugValue:nf,useDeferredValue:function(e,a){var s=ae();return wg(s,Lt.memoizedState,e,a)},useTransition:function(){var e=gl(aa)[0],a=ae().memoizedState;return[typeof e=="boolean"?e:Dr(e),a]},useSyncExternalStore:$p,useId:Cg,useHostTransitionStatus:rf,useFormState:ug,useActionState:ug,useOptimistic:function(e,a){var s=ae();return ag(s,Lt,e,a)},useMemoCache:Zu,useCacheRefresh:Og};lf.useEffectEvent=pg;var Dg={readContext:be,use:pl,useCallback:bg,useContext:be,useEffect:ef,useImperativeHandle:xg,useInsertionEffect:gg,useLayoutEffect:yg,useMemo:Sg,useReducer:Ju,useRef:hg,useState:function(){return Ju(aa)},useDebugValue:nf,useDeferredValue:function(e,a){var s=ae();return Lt===null?af(s,e,a):wg(s,Lt.memoizedState,e,a)},useTransition:function(){var e=Ju(aa)[0],a=ae().memoizedState;return[typeof e=="boolean"?e:Dr(e),a]},useSyncExternalStore:$p,useId:Cg,useHostTransitionStatus:rf,useFormState:dg,useActionState:dg,useOptimistic:function(e,a){var s=ae();return Lt!==null?ag(s,Lt,e,a):(s.baseState=e,[e,s.queue.dispatch])},useMemoCache:Zu,useCacheRefresh:Og};Dg.useEffectEvent=pg;function cf(e,a,s,o){a=e.memoizedState,s=s(o,a),s=s==null?a:y({},a,s),e.memoizedState=s,e.lanes===0&&(e.updateQueue.baseState=s)}var uf={enqueueSetState:function(e,a,s){e=e._reactInternals;var o=en(),f=Ra(o);f.payload=a,s!=null&&(f.callback=s),a=Da(e,f,o),a!==null&&(Fe(a,e,o),jr(a,e,o))},enqueueReplaceState:function(e,a,s){e=e._reactInternals;var o=en(),f=Ra(o);f.tag=1,f.payload=a,s!=null&&(f.callback=s),a=Da(e,f,o),a!==null&&(Fe(a,e,o),jr(a,e,o))},enqueueForceUpdate:function(e,a){e=e._reactInternals;var s=en(),o=Ra(s);o.tag=2,a!=null&&(o.callback=a),a=Da(e,o,s),a!==null&&(Fe(a,e,s),jr(a,e,s))}};function _g(e,a,s,o,f,d,x){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,d,x):a.prototype&&a.prototype.isPureReactComponent?!br(s,o)||!br(f,d):!0}function zg(e,a,s,o){e=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(s,o),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(s,o),a.state!==e&&uf.enqueueReplaceState(a,a.state,null)}function ji(e,a){var s=a;if("ref"in a){s={};for(var o in a)o!=="ref"&&(s[o]=a[o])}if(e=e.defaultProps){s===a&&(s=y({},s));for(var f in e)s[f]===void 0&&(s[f]=e[f])}return s}function Pg(e){$o(e)}function Hg(e){console.error(e)}function Ug(e){$o(e)}function bl(e,a){try{var s=e.onUncaughtError;s(a.value,{componentStack:a.stack})}catch(o){setTimeout(function(){throw o})}}function kg(e,a,s){try{var o=e.onCaughtError;o(s.value,{componentStack:s.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function ff(e,a,s){return s=Ra(s),s.tag=3,s.payload={element:null},s.callback=function(){bl(e,a)},s}function Lg(e){return e=Ra(e),e.tag=3,e}function Vg(e,a,s,o){var f=s.type.getDerivedStateFromError;if(typeof f=="function"){var d=o.value;e.payload=function(){return f(d)},e.callback=function(){kg(a,s,o)}}var x=s.stateNode;x!==null&&typeof x.componentDidCatch=="function"&&(e.callback=function(){kg(a,s,o),typeof f!="function"&&(ka===null?ka=new Set([this]):ka.add(this));var S=o.stack;this.componentDidCatch(o.value,{componentStack:S!==null?S:""})})}function X2(e,a,s,o,f){if(s.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(a=s.alternate,a!==null&&ms(a,s,f,!0),s=$e.current,s!==null){switch(s.tag){case 31:case 13:return mn===null?Dl():s.alternate===null&&$t===0&&($t=3),s.flags&=-257,s.flags|=65536,s.lanes=f,o===ol?s.flags|=16384:(a=s.updateQueue,a===null?s.updateQueue=new Set([o]):a.add(o),Hf(e,o,f)),!1;case 22:return s.flags|=65536,o===ol?s.flags|=16384:(a=s.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([o])},s.updateQueue=a):(s=a.retryQueue,s===null?a.retryQueue=new Set([o]):s.add(o)),Hf(e,o,f)),!1}throw Error(r(435,s.tag))}return Hf(e,o,f),Dl(),!1}if(Mt)return a=$e.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=f,o!==Nu&&(e=Error(r(422),{cause:o}),Tr(un(e,s)))):(o!==Nu&&(a=Error(r(423),{cause:o}),Tr(un(a,s))),e=e.current.alternate,e.flags|=65536,f&=-f,e.lanes|=f,o=un(o,s),f=ff(e.stateNode,o,f),Vu(e,f),$t!==4&&($t=2)),!1;var d=Error(r(520),{cause:o});if(d=un(d,s),qr===null?qr=[d]:qr.push(d),$t!==4&&($t=2),a===null)return!0;o=un(o,s),s=a;do{switch(s.tag){case 3:return s.flags|=65536,e=f&-f,s.lanes|=e,e=ff(s.stateNode,o,e),Vu(s,e),!1;case 1:if(a=s.type,d=s.stateNode,(s.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(ka===null||!ka.has(d))))return s.flags|=65536,f&=-f,s.lanes|=f,f=Lg(f),Vg(f,e,s,o),Vu(s,f),!1}s=s.return}while(s!==null);return!1}var df=Error(r(461)),le=!1;function Se(e,a,s,o){a.child=e===null?Gp(a,null,s,o):Ci(a,e.child,s,o)}function Bg(e,a,s,o,f){s=s.render;var d=a.ref;if("ref"in o){var x={};for(var S in o)S!=="ref"&&(x[S]=o[S])}else x=o;return wi(a),o=Yu(e,a,s,x,d,f),S=Ku(),e!==null&&!le?(Xu(e,a,f),ia(e,a,f)):(Mt&&S&&Ou(a),a.flags|=1,Se(e,a,o,f),a.child)}function qg(e,a,s,o,f){if(e===null){var d=s.type;return typeof d=="function"&&!Eu(d)&&d.defaultProps===void 0&&s.compare===null?(a.tag=15,a.type=d,Qg(e,a,d,o,f)):(e=el(s.type,null,o,a,a.mode,f),e.ref=a.ref,e.return=a,a.child=e)}if(d=e.child,!bf(e,f)){var x=d.memoizedProps;if(s=s.compare,s=s!==null?s:br,s(x,o)&&e.ref===a.ref)return ia(e,a,f)}return a.flags|=1,e=Jn(d,o),e.ref=a.ref,e.return=a,a.child=e}function Qg(e,a,s,o,f){if(e!==null){var d=e.memoizedProps;if(br(d,o)&&e.ref===a.ref)if(le=!1,a.pendingProps=o=d,bf(e,f))(e.flags&131072)!==0&&(le=!0);else return a.lanes=e.lanes,ia(e,a,f)}return hf(e,a,s,o,f)}function Gg(e,a,s,o){var f=o.children,d=e!==null?e.memoizedState:null;if(e===null&&a.stateNode===null&&(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((a.flags&128)!==0){if(d=d!==null?d.baseLanes|s:s,e!==null){for(o=a.child=e.child,f=0;o!==null;)f=f|o.lanes|o.childLanes,o=o.sibling;o=f&~d}else o=0,a.child=null;return Fg(e,a,d,s,o)}if((s&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},e!==null&&sl(a,d!==null?d.cachePool:null),d!==null?Kp(a,d):qu(),Xp(a);else return o=a.lanes=536870912,Fg(e,a,d!==null?d.baseLanes|s:s,s,o)}else d!==null?(sl(a,d.cachePool),Kp(a,d),za(),a.memoizedState=null):(e!==null&&sl(a,null),qu(),za());return Se(e,a,f,s),a.child}function Pr(e,a){return e!==null&&e.tag===22||a.stateNode!==null||(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.sibling}function Fg(e,a,s,o,f){var d=Hu();return d=d===null?null:{parent:re._currentValue,pool:d},a.memoizedState={baseLanes:s,cachePool:d},e!==null&&sl(a,null),qu(),Xp(a),e!==null&&ms(e,a,o,!0),a.childLanes=f,null}function Sl(e,a){return a=Tl({mode:a.mode,children:a.children},e.mode),a.ref=e.ref,e.child=a,a.return=e,a}function Yg(e,a,s){return Ci(a,e.child,null,s),e=Sl(a,a.pendingProps),e.flags|=2,Je(
vendor: 4,077 bytes, line 48
48a),a.memoizedState=null,e}function I2(e,a,s){var o=a.pendingProps,f=(a.flags&128)!==0;if(a.flags&=-129,e===null){if(Mt){if(o.mode==="hidden")return e=Sl(a,o),a.lanes=536870912,Pr(null,e);if(Gu(a),(e=Qt)?(e=iv(e,hn),e=e!==null&&e.data==="&"?e:null,e!==null&&(a.memoizedState={dehydrated:e,treeContext:Ca!==null?{id:_n,overflow:zn}:null,retryLane:536870912,hydrationErrors:null},s=Np(e),s.return=a,a.child=s,xe=a,Qt=null)):e=null,e===null)throw ja(a);return a.lanes=536870912,null}return Sl(a,o)}var d=e.memoizedState;if(d!==null){var x=d.dehydrated;if(Gu(a),f)if(a.flags&256)a.flags&=-257,a=Yg(e,a,s);else if(a.memoizedState!==null)a.child=e.child,a.flags|=128,a=null;else throw Error(r(558));else if(le||ms(e,a,s,!1),f=(s&e.childLanes)!==0,le||f){if(o=qt,o!==null&&(x=ke(o,s),x!==0&&x!==d.retryLane))throw d.retryLane=x,vi(e,x),Fe(o,e,x),df;Dl(),a=Yg(e,a,s)}else e=d.treeContext,Qt=pn(x.nextSibling),xe=a,Mt=!0,Oa=null,hn=!1,e!==null&&Dp(a,e),a=Sl(a,o),a.flags|=4096;return a}return e=Jn(e.child,{mode:o.mode,children:o.children}),e.ref=a.ref,a.child=e,e.return=a,e}function wl(e,a){var s=a.ref;if(s===null)e!==null&&e.ref!==null&&(a.flags|=4194816);else{if(typeof s!="function"&&typeof s!="object")throw Error(r(284));(e===null||e.ref!==s)&&(a.flags|=4194816)}}function hf(e,a,s,o,f){return wi(a),s=Yu(e,a,s,o,void 0,f),o=Ku(),e!==null&&!le?(Xu(e,a,f),ia(e,a,f)):(Mt&&o&&Ou(a),a.flags|=1,Se(e,a,s,f),a.child)}function Kg(e,a,s,o,f,d){return wi(a),a.updateQueue=null,s=Zp(a,o,s,f),Ip(e),o=Ku(),e!==null&&!le?(Xu(e,a,d),ia(e,a,d)):(Mt&&o&&Ou(a),a.flags|=1,Se(e,a,s,d),a.child)}function Xg(e,a,s,o,f){if(wi(a),a.stateNode===null){var d=us,x=s.contextType;typeof x=="object"&&x!==null&&(d=be(x)),d=new s(o,d),a.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=uf,a.stateNode=d,d._reactInternals=a,d=a.stateNode,d.props=o,d.state=a.memoizedState,d.refs={},ku(a),x=s.contextType,d.context=typeof x=="object"&&x!==null?be(x):us,d.state=a.memoizedState,x=s.getDerivedStateFromProps,typeof x=="function"&&(cf(a,s,x,o),d.state=a.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(x=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),x!==d.state&&uf.enqueueReplaceState(d,d.state,null),Mr(a,o,d,f),Nr(),d.state=a.memoizedState),typeof d.componentDidMount=="function"&&(a.flags|=4194308),o=!0}else if(e===null){d=a.stateNode;var S=a.memoizedProps,O=ji(s,S);d.props=O;var L=d.context,X=s.contextType;x=us,typeof X=="object"&&X!==null&&(x=be(X));var Z=s.getDerivedStateFromProps;X=typeof Z=="function"||typeof d.getSnapshotBeforeUpdate=="function",S=a.pendingProps!==S,X||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(S||L!==x)&&zg(a,d,o,x),Ma=!1;var B=a.memoizedState;d.state=B,Mr(a,o,d,f),Nr(),L=a.memoizedState,S||B!==L||Ma?(typeof Z=="function"&&(cf(a,s,Z,o),L=a.memoizedState),(O=Ma||_g(a,s,O,o,B,L,x))?(X||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"&&(a.flags|=4194308)):(typeof d.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=o,a.memoizedState=L),d.props=o,d.state=L,d.context=x,o=O):(typeof d.componentDidMount=="function"&&(a.flags|=4194308),o=!1)}else{d=a.stateNode,Lu(e,a),x=a.memoizedProps,X=ji(s,x),d.props=X,Z=a.pendingProps,B=d.context,L=s.contextType,O=us,typeof L=="object"&&L!==null&&(O=be(L)),S=s.getDerivedStateFromProps,(L=typeof S=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(x!==Z||B!==O)&&zg(a,d,o,O),Ma=!1,B=a.memoizedState,d.state=B,Mr(a,o,d,f),Nr();var F=a.memoizedState;
vendor: 3,947 bytes, line 48
48x!==Z||B!==F||Ma||e!==null&&e.dependencies!==null&&al(e.dependencies)?(typeof S=="function"&&(cf(a,s,S,o),F=a.memoizedState),(X=Ma||_g(a,s,X,o,B,F,O)||e!==null&&e.dependencies!==null&&al(e.dependencies))?(L||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(o,F,O),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(o,F,O)),typeof d.componentDidUpdate=="function"&&(a.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof d.componentDidUpdate!="function"||x===e.memoizedProps&&B===e.memoizedState||(a.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||x===e.memoizedProps&&B===e.memoizedState||(a.flags|=1024),a.memoizedProps=o,a.memoizedState=F),d.props=o,d.state=F,d.context=O,o=X):(typeof d.componentDidUpdate!="function"||x===e.memoizedProps&&B===e.memoizedState||(a.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||x===e.memoizedProps&&B===e.memoizedState||(a.flags|=1024),o=!1)}return d=o,wl(e,a),o=(a.flags&128)!==0,d||o?(d=a.stateNode,s=o&&typeof s.getDerivedStateFromError!="function"?null:d.render(),a.flags|=1,e!==null&&o?(a.child=Ci(a,e.child,null,f),a.child=Ci(a,null,s,f)):Se(e,a,s,f),a.memoizedState=d.state,e=a.child):e=ia(e,a,f),e}function Ig(e,a,s,o){return bi(),a.flags|=256,Se(e,a,s,o),a.child}var mf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function pf(e){return{baseLanes:e,cachePool:kp()}}function gf(e,a,s){return e=e!==null?e.childLanes&~s:0,a&&(e|=tn),e}function Zg(e,a,s){var o=a.pendingProps,f=!1,d=(a.flags&128)!==0,x;if((x=d)||(x=e!==null&&e.memoizedState===null?!1:(ne.current&2)!==0),x&&(f=!0,a.flags&=-129),x=(a.flags&32)!==0,a.flags&=-33,e===null){if(Mt){if(f?_a(a):za(),(e=Qt)?(e=iv(e,hn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(a.memoizedState={dehydrated:e,treeContext:Ca!==null?{id:_n,overflow:zn}:null,retryLane:536870912,hydrationErrors:null},s=Np(e),s.return=a,a.child=s,xe=a,Qt=null)):e=null,e===null)throw ja(a);return Jf(e)?a.lanes=32:a.lanes=536870912,null}var S=o.children;return o=o.fallback,f?(za(),f=a.mode,S=Tl({mode:"hidden",children:S},f),o=xi(o,f,s,null),S.return=a,o.return=a,S.sibling=o,a.child=S,o=a.child,o.memoizedState=pf(s),o.childLanes=gf(e,x,s),a.memoizedState=mf,Pr(null,o)):(_a(a),yf(a,S))}var O=e.memoizedState;if(O!==null&&(S=O.dehydrated,S!==null)){if(d)a.flags&256?(_a(a),a.flags&=-257,a=vf(e,a,s)):a.memoizedState!==null?(za(),a.child=e.child,a.flags|=128,a=null):(za(),S=o.fallback,f=a.mode,o=Tl({mode:"visible",children:o.children},f),S=xi(S,f,s,null),S.flags|=2,o.return=a,S.return=a,o.sibling=S,a.child=o,Ci(a,e.child,null,s),o=a.child,o.memoizedState=pf(s),o.childLanes=gf(e,x,s),a.memoizedState=mf,a=Pr(null,o));else if(_a(a),Jf(S)){if(x=S.nextSibling&&S.nextSibling.dataset,x)var L=x.dgst;x=L,o=Error(r(419)),o.stack="",o.digest=x,Tr({value:o,source:null,stack:null}),a=vf(e,a,s)}else if(le||ms(e,a,s,!1),x=(s&e.childLanes)!==0,le||x){if(x=qt,x!==null&&(o=ke(x,s),o!==0&&o!==O.retryLane))throw O.retryLane=o,vi(e,o),Fe(x,e,o),df;$f(S)||Dl(),a=vf(e,a,s)}else $f(S)?(a.flags|=192,a.child=e.child,a=null):(e=O.treeContext,Qt=pn(S.nextSibling),xe=a,Mt=!0,Oa=null,hn=!1,e!==null&&Dp(a,e),a=yf(a,o.children),a.flags|=4096);return a}return f?(za(),S=o.fallback,f=a.mode,O=e.child,L=O.sibling,o=Jn(O,{mode:"hidden",children:o.children}),o.subtreeFlags=O.subtreeFlags&65011712,L!==null?S=Jn(L,S):(S=xi(S,f,s,null),S.flags|=2),S.return=a,o.return=a,o.sibling=S,a.child=o,Pr(null,o),o=a.child,S=e.child.memoizedState,S===null?S=pf(s):(f=S.cachePool,f!==null?(O=re._currentValue,f=f.parent!==O?{parent:O,pool:O}:f):f=kp(),S={baseLanes:S.baseLanes|s,cachePool:f}),o.memoizedState=S,o.childLanes=gf(e,x,s),a.memoizedState=mf,Pr(e.child,o)):(_a(a),s=e.child,e=s.sibling,s=Jn(s,{mode:"visible",children:o.children}),s.return=a,s.sibling=null,e!==null&&(x=a.deletions,x===null?(a.deleti
vendor: 5,898 bytes, line 48
48ons=[e],a.flags|=16):x.push(e)),a.child=s,a.memoizedState=null,s)}function yf(e,a){return a=Tl({mode:"visible",children:a},e.mode),a.return=e,e.child=a}function Tl(e,a){return e=Ze(22,e,null,a),e.lanes=0,e}function vf(e,a,s){return Ci(a,e.child,null,s),e=yf(a,a.pendingProps.children),e.flags|=2,a.memoizedState=null,e}function $g(e,a,s){e.lanes|=a;var o=e.alternate;o!==null&&(o.lanes|=a),Du(e.return,a,s)}function xf(e,a,s,o,f,d){var x=e.memoizedState;x===null?e.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:o,tail:s,tailMode:f,treeForkCount:d}:(x.isBackwards=a,x.rendering=null,x.renderingStartTime=0,x.last=o,x.tail=s,x.tailMode=f,x.treeForkCount=d)}function Jg(e,a,s){var o=a.pendingProps,f=o.revealOrder,d=o.tail;o=o.children;var x=ne.current,S=(x&2)!==0;if(S?(x=x&1|2,a.flags|=128):x&=1,V(ne,x),Se(e,a,o,s),o=Mt?wr:0,!S&&e!==null&&(e.flags&128)!==0)t:for(e=a.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&$g(e,s,a);else if(e.tag===19)$g(e,s,a);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===a)break t;for(;e.sibling===null;){if(e.return===null||e.return===a)break t;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(f){case"forwards":for(s=a.child,f=null;s!==null;)e=s.alternate,e!==null&&fl(e)===null&&(f=s),s=s.sibling;s=f,s===null?(f=a.child,a.child=null):(f=s.sibling,s.sibling=null),xf(a,!1,f,s,d,o);break;case"backwards":case"unstable_legacy-backwards":for(s=null,f=a.child,a.child=null;f!==null;){if(e=f.alternate,e!==null&&fl(e)===null){a.child=f;break}e=f.sibling,f.sibling=s,s=f,f=e}xf(a,!0,s,null,d,o);break;case"together":xf(a,!1,null,null,void 0,o);break;default:a.memoizedState=null}return a.child}function ia(e,a,s){if(e!==null&&(a.dependencies=e.dependencies),Ua|=a.lanes,(s&a.childLanes)===0)if(e!==null){if(ms(e,a,s,!1),(s&a.childLanes)===0)return null}else return null;if(e!==null&&a.child!==e.child)throw Error(r(153));if(a.child!==null){for(e=a.child,s=Jn(e,e.pendingProps),a.child=s,s.return=a;e.sibling!==null;)e=e.sibling,s=s.sibling=Jn(e,e.pendingProps),s.return=a;s.sibling=null}return a.child}function bf(e,a){return(e.lanes&a)!==0?!0:(e=e.dependencies,!!(e!==null&&al(e)))}function Z2(e,a,s){switch(a.tag){case 3:xt(a,a.stateNode.containerInfo),Na(a,re,e.memoizedState.cache),bi();break;case 27:case 5:ge(a);break;case 4:xt(a,a.stateNode.containerInfo);break;case 10:Na(a,a.type,a.memoizedProps.value);break;case 31:if(a.memoizedState!==null)return a.flags|=128,Gu(a),null;break;case 13:var o=a.memoizedState;if(o!==null)return o.dehydrated!==null?(_a(a),a.flags|=128,null):(s&a.child.childLanes)!==0?Zg(e,a,s):(_a(a),e=ia(e,a,s),e!==null?e.sibling:null);_a(a);break;case 19:var f=(e.flags&128)!==0;if(o=(s&a.childLanes)!==0,o||(ms(e,a,s,!1),o=(s&a.childLanes)!==0),f){if(o)return Jg(e,a,s);a.flags|=128}if(f=a.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),V(ne,ne.current),o)break;return null;case 22:return a.lanes=0,Gg(e,a,s,a.pendingProps);case 24:Na(a,re,e.memoizedState.cache)}return ia(e,a,s)}function Wg(e,a,s){if(e!==null)if(e.memoizedProps!==a.pendingProps)le=!0;else{if(!bf(e,s)&&(a.flags&128)===0)return le=!1,Z2(e,a,s);le=(e.flags&131072)!==0}else le=!1,Mt&&(a.flags&1048576)!==0&&Rp(a,wr,a.index);switch(a.lanes=0,a.tag){case 16:t:{var o=a.pendingProps;if(e=Ei(a.elementType),a.type=e,typeof e=="function")Eu(e)?(o=ji(e,o),a.tag=1,a=Xg(null,a,e,o,s)):(a.tag=0,a=hf(null,a,e,o,s));else{if(e!=null){var f=e.$$typeof;if(f===$){a.tag=11,a=Bg(null,a,e,o,s);break t}else if(f===R){a.tag=14,a=qg(null,a,e,o,s);break t}}throw a=rt(e)||e,Error(r(306,a,""))}}return a;case 0:return hf(e,a,a.type,a.pendingProps,s);case 1:return o=a.type,f=ji(o,a.pendingProps),Xg(e,a,o,f,s);case 3:t:{if(xt(a,a.stateNode.containerInfo),e===null)throw Error(r(387));o=a.pendingProps;var d=a.memoizedState;f=d.element,Lu(e,a),Mr(a,o,null,s);var x=a.memoizedState;if(o=x.cache,Na(a,re,o),o!==d.cache&&_u(a,[re],s,!0),Nr(),o=x.element,d.isDehydrated)if(d={element:o,isDehydrated:!1,cache:x.cache},a.updateQueue.baseState=d,a.memoizedState=d,a.flags&256){a=Ig(e,a,o,s);break t}else if(o!==f){f=un(Error(r(424)),a),Tr(f),a=Ig(e,a,o,s);break t}else{switch(e=a.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Qt=pn(e.firstChild),xe=a,Mt=!0,Oa=null,hn=!0,s=Gp(a,null,o,s),a.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling}else{if(bi(),o===f){a=ia(e,a,s);break t}Se(e,a,o,s)}a=a.child}return a;case 26:return wl(e,a),e===null?(s=uv(a.type,null,a.pendingProps,null))?a.memoizedState=s:Mt||(s=a.type,e=a.pendingProps,o=Ll(mt.current).createElement(s),o[ve]=a,o[Le]=e,we(o,s,e),me(o),a.stateNode=o):a.memoizedState=uv(a.type,e.memoizedProps,a.pendingProps,e.memoizedState),null;case 27:return ge(a),e===null&&Mt&&(o=a.stateNode=ov(a.type,a.pendingProps,mt.current),xe=a,hn=!0,f=Qt,qa(a.type)?(Wf=f,Qt=pn(o.firstChild)):Qt=f),Se(e,a,a.pendingProps.children,s),wl(e,a),e===null&&(a.flags|=4194304),a.child;case 5:return e===null&&Mt&&((f=o=Qt)&&(o=CT(o,a.type,a.pendingProps,hn),o!==null?(a.stateNode=o,xe=a,Qt=pn(o.firstChild),hn=!1,f=!0):f=!1),f||ja(a)),ge(a),f=a.type,d=a.pendingProps,x=e!==null?e.memoizedProps:null,o=d.children,Xf(f,d)?o=null:x!==null&&Xf(f,x)&&(a.flags|=32),a.memoizedState!==null&&(f=Yu(e,a,B2,null,null,s),Zr._currentValue=f),wl(e,a),Se(e,a,o,s),a.child;case 6:return e===null&&Mt&&((e=s=Qt)&&(s=OT(s,a.pendingProps,hn),s!==null?(a.stateNode=s,xe=a,Qt=null,e=!0):e=!1),e||ja(a)),null;case 13:return Zg(e,a,s);case 4:return xt(a,a.stateNode.containerInfo),o=a.pendingProps,e===null?a.child=Ci(a,null,o,s):Se(e,a,o,s),a.child;case 11:return Bg(e,a,a.type,a.pendingProps,s);case 7:return Se(e,a,a.pendingProps,s),a.child;case 8:return Se(e,a,a.pendingProps.children,s),a.child;case 12:return Se(e,a,a.pendingProps.children,s),a.child;case 10:return o=a.pendingProps,Na(a,a.type,o.value),Se(e,a,o.children,s),a.child;
vendor: 6,758 bytes, line 48
48case 9:return f=a.type._context,o=a.pendingProps.children,wi(a),f=be(f),o=o(f),a.flags|=1,Se(e,a,o,s),a.child;case 14:return qg(e,a,a.type,a.pendingProps,s);case 15:return Qg(e,a,a.type,a.pendingProps,s);case 19:return Jg(e,a,s);case 31:return I2(e,a,s);case 22:return Gg(e,a,s,a.pendingProps);case 24:return wi(a),o=be(re),e===null?(f=Hu(),f===null&&(f=qt,d=zu(),f.pooledCache=d,d.refCount++,d!==null&&(f.pooledCacheLanes|=s),f=d),a.memoizedState={parent:o,cache:f},ku(a),Na(a,re,f)):((e.lanes&s)!==0&&(Lu(e,a),Mr(a,null,null,s),Nr()),f=e.memoizedState,d=a.memoizedState,f.parent!==o?(f={parent:o,cache:o},a.memoizedState=f,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=f),Na(a,re,o)):(o=d.cache,Na(a,re,o),o!==f.cache&&_u(a,[re],s,!0))),Se(e,a,a.pendingProps.children,s),a.child;case 29:throw a.pendingProps}throw Error(r(156,a.tag))}function sa(e){e.flags|=4}function Sf(e,a,s,o,f){if((a=(e.mode&32)!==0)&&(a=!1),a){if(e.flags|=16777216,(f&335544128)===f)if(e.stateNode.complete)e.flags|=8192;else if(Cy())e.flags|=8192;else throw Ai=ol,Uu}else e.flags&=-16777217}function ty(e,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!pv(a))if(Cy())e.flags|=8192;else throw Ai=ol,Uu}function El(e,a){a!==null&&(e.flags|=4),e.flags&16384&&(a=e.tag!==22?Ae():536870912,e.lanes|=a,Cs|=a)}function Hr(e,a){if(!Mt)switch(e.tailMode){case"hidden":a=e.tail;for(var s=null;a!==null;)a.alternate!==null&&(s=a),a=a.sibling;s===null?e.tail=null:s.sibling=null;break;case"collapsed":s=e.tail;for(var o=null;s!==null;)s.alternate!==null&&(o=s),s=s.sibling;o===null?a||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function Gt(e){var a=e.alternate!==null&&e.alternate.child===e.child,s=0,o=0;if(a)for(var f=e.child;f!==null;)s|=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;)s|=f.lanes|f.childLanes,o|=f.subtreeFlags,o|=f.flags,f.return=e,f=f.sibling;return e.subtreeFlags|=o,e.childLanes=s,a}function $2(e,a,s){var o=a.pendingProps;switch(ju(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Gt(a),null;case 1:return Gt(a),null;case 3:return s=a.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),a.memoizedState.cache!==o&&(a.flags|=2048),ea(re),Nt(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(e===null||e.child===null)&&(hs(a)?sa(a):e===null||e.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Mu())),Gt(a),null;case 26:var f=a.type,d=a.memoizedState;return e===null?(sa(a),d!==null?(Gt(a),ty(a,d)):(Gt(a),Sf(a,f,null,o,s))):d?d!==e.memoizedState?(sa(a),Gt(a),ty(a,d)):(Gt(a),a.flags&=-16777217):(e=e.memoizedProps,e!==o&&sa(a),Gt(a),Sf(a,f,e,o,s)),null;case 27:if(Ne(a),s=mt.current,f=a.type,e!==null&&a.stateNode!=null)e.memoizedProps!==o&&sa(a);else{if(!o){if(a.stateNode===null)throw Error(r(166));return Gt(a),null}e=K.current,hs(a)?_p(a):(e=ov(f,o,s),a.stateNode=e,sa(a))}return Gt(a),null;case 5:if(Ne(a),f=a.type,e!==null&&a.stateNode!=null)e.memoizedProps!==o&&sa(a);else{if(!o){if(a.stateNode===null)throw Error(r(166));return Gt(a),null}if(d=K.current,hs(a))_p(a);else{var x=Ll(mt.current);switch(d){case 1:d=x.createElementNS("http://www.w3.org/2000/svg",f);break;case 2:d=x.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;default:switch(f){case"svg":d=x.createElementNS("http://www.w3.org/2000/svg",f);break;case"math":d=x.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;case"script":d=x.createElement("div"),d.innerHTML="<script><\/script>",d=d.removeChild(d.firstChild);break;case"select":d=typeof o.is=="string"?x.createElement("select",{is:o.is}):x.createElement("select"),o.multiple?d.multiple=!0:o.size&&(d.size=o.size);break;default:d=typeof o.is=="string"?x.createElement(f,{is:o.is}):x.createElement(f)}}d[ve]=a,d[Le]=o;t:for(x=a.child;x!==null;){if(x.tag===5||x.tag===6)d.appendChild(x.stateNode);else if(x.tag!==4&&x.tag!==27&&x.child!==null){x.child.return=x,x=x.child;continue}if(x===a)break t;for(;x.sibling===null;){if(x.return===null||x.return===a)break t;x=x.return}x.sibling.return=x.return,x=x.sibling}a.stateNode=d;t:switch(we(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&&sa(a)}}return Gt(a),Sf(a,a.type,e===null?null:e.memoizedProps,a.pendingProps,s),null;case 6:if(e&&a.stateNode!=null)e.memoizedProps!==o&&sa(a);else{if(typeof o!="string"&&a.stateNode===null)throw Error(r(166));if(e=mt.current,hs(a)){if(e=a.stateNode,s=a.memoizedProps,o=null,f=xe,f!==null)switch(f.tag){case 27:case 5:o=f.memoizedProps}e[ve]=a,e=!!(e.nodeValue===s||o!==null&&o.suppressHydrationWarning===!0||Zy(e.nodeValue,s)),e||ja(a,!0)}else e=Ll(e).createTextNode(o),e[ve]=a,a.stateNode=e}return Gt(a),null;case 31:if(s=a.memoizedState,e===null||e.memoizedState!==null){if(o=hs(a),s!==null){if(e===null){if(!o)throw Error(r(318));if(e=a.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[ve]=a}else bi(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Gt(a),e=!1}else s=Mu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),e=!0;if(!e)return a.flags&256?(Je(a),a):(Je(a),null);if((a.flags&128)!==0)throw Error(r(558))}return Gt(a),null;case 13:if(o=a.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(f=hs(a),o!==null&&o.dehydrated!==null){if(e===null){if(!f)throw Error(r(318));if(f=a.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(r(317));f[ve]=a}else bi(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Gt(a),f=!1}else f=Mu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=f),f=!0;if(!f)return a.flags&256?(Je(a),a):(Je(a),null)}return Je(a),(a.flags&128)!==0?(a.lanes=s,a):(s=o!==null,e=e!==null&&e.memoizedState!==null,s&&(o=a.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)),s!==e&&s&&(a.child.flags|=8192),El(a,a.updateQueue),Gt(a),null);case 4:return Nt(),e===null&&Qf(a.stateNode.containerInfo),Gt(a),null;case 10:return ea(a.type),Gt(a),null;case 19:if(Y(ne),o=a.memoizedState,o===null)return Gt(a),null;if(f=(a.flags&128)!==0,d=o.rendering,d===null)if(f)Hr(o,!1);else{if($t!==0||e!==null&&(e.flags&128)!==0)for(e=a.child;e!==null;){if(d=fl(e),d!==null){for(a.flags|=128,Hr(o,!1),e=d.updateQueue,a.updateQueue=e,El(a,e),a.subtreeFlags=0,e=s,s=a.child;s!==null;)jp(s,e),s=s.sibling;return V(ne,ne.current&1|2),Mt&&Wn(a,o.treeForkCount),a.child}e=e.sibling}o.tail!==null&&Re()>
vendor: 22,060 bytes, line 48
48Nl&&(a.flags|=128,f=!0,Hr(o,!1),a.lanes=4194304)}else{if(!f)if(e=fl(d),e!==null){if(a.flags|=128,f=!0,e=e.updateQueue,a.updateQueue=e,El(a,e),Hr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!d.alternate&&!Mt)return Gt(a),null}else 2*Re()-o.renderingStartTime>Nl&&s!==536870912&&(a.flags|=128,f=!0,Hr(o,!1),a.lanes=4194304);o.isBackwards?(d.sibling=a.child,a.child=d):(e=o.last,e!==null?e.sibling=d:a.child=d,o.last=d)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Re(),e.sibling=null,s=ne.current,V(ne,f?s&1|2:s&1),Mt&&Wn(a,o.treeForkCount),e):(Gt(a),null);case 22:case 23:return Je(a),Qu(),o=a.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(a.flags|=8192):o&&(a.flags|=8192),o?(s&536870912)!==0&&(a.flags&128)===0&&(Gt(a),a.subtreeFlags&6&&(a.flags|=8192)):Gt(a),s=a.updateQueue,s!==null&&El(a,s.retryQueue),s=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(s=e.memoizedState.cachePool.pool),o=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(o=a.memoizedState.cachePool.pool),o!==s&&(a.flags|=2048),e!==null&&Y(Ti),null;case 24:return s=null,e!==null&&(s=e.memoizedState.cache),a.memoizedState.cache!==s&&(a.flags|=2048),ea(re),Gt(a),null;case 25:return null;case 30:return null}throw Error(r(156,a.tag))}function J2(e,a){switch(ju(a),a.tag){case 1:return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 3:return ea(re),Nt(),e=a.flags,(e&65536)!==0&&(e&128)===0?(a.flags=e&-65537|128,a):null;case 26:case 27:case 5:return Ne(a),null;case 31:if(a.memoizedState!==null){if(Je(a),a.alternate===null)throw Error(r(340));bi()}return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 13:if(Je(a),e=a.memoizedState,e!==null&&e.dehydrated!==null){if(a.alternate===null)throw Error(r(340));bi()}return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 19:return Y(ne),null;case 4:return Nt(),null;case 10:return ea(a.type),null;case 22:case 23:return Je(a),Qu(),e!==null&&Y(Ti),e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 24:return ea(re),null;case 25:return null;default:return null}}function ey(e,a){switch(ju(a),a.tag){case 3:ea(re),Nt();break;case 26:case 27:case 5:Ne(a);break;case 4:Nt();break;case 31:a.memoizedState!==null&&Je(a);break;case 13:Je(a);break;case 19:Y(ne);break;case 10:ea(a.type);break;case 22:case 23:Je(a),Qu(),e!==null&&Y(Ti);break;case 24:ea(re)}}function Ur(e,a){try{var s=a.updateQueue,o=s!==null?s.lastEffect:null;if(o!==null){var f=o.next;s=f;do{if((s.tag&e)===e){o=void 0;var d=s.create,x=s.inst;o=d(),x.destroy=o}s=s.next}while(s!==f)}}catch(S){kt(a,a.return,S)}}function Pa(e,a,s){try{var o=a.updateQueue,f=o!==null?o.lastEffect:null;if(f!==null){var d=f.next;o=d;do{if((o.tag&e)===e){var x=o.inst,S=x.destroy;if(S!==void 0){x.destroy=void 0,f=a;var O=s,L=S;try{L()}catch(X){kt(f,O,X)}}}o=o.next}while(o!==d)}}catch(X){kt(a,a.return,X)}}function ny(e){var a=e.updateQueue;if(a!==null){var s=e.stateNode;try{Yp(a,s)}catch(o){kt(e,e.return,o)}}}function ay(e,a,s){s.props=ji(e.type,e.memoizedProps),s.state=e.memoizedState;try{s.componentWillUnmount()}catch(o){kt(e,a,o)}}function kr(e,a){try{var s=e.ref;if(s!==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 s=="function"?e.refCleanup=s(o):s.current=o}}catch(f){kt(e,a,f)}}function Pn(e,a){var s=e.ref,o=e.refCleanup;if(s!==null)if(typeof o=="function")try{o()}catch(f){kt(e,a,f)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof s=="function")try{s(null)}catch(f){kt(e,a,f)}else s.current=null}function iy(e){var a=e.type,s=e.memoizedProps,o=e.stateNode;try{t:switch(a){case"button":case"input":case"select":case"textarea":s.autoFocus&&o.focus();break t;case"img":s.src?o.src=s.src:s.srcSet&&(o.srcset=s.srcSet)}}catch(f){kt(e,e.return,f)}}function wf(e,a,s){try{var o=e.stateNode;bT(o,e.type,s,a),o[Le]=a}catch(f){kt(e,e.return,f)}}function sy(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&qa(e.type)||e.tag===4}function Tf(e){t:for(;;){for(;e.sibling===null;){if(e.return===null||sy(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&&qa(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,a,s){var o=e.tag;if(o===5||o===6)e=e.stateNode,a?(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(e,a):(a=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,a.appendChild(e),s=s._reactRootContainer,s!=null||a.onclick!==null||(a.onclick=Zn));else if(o!==4&&(o===27&&qa(e.type)&&(s=e.stateNode,a=null),e=e.child,e!==null))for(Ef(e,a,s),e=e.sibling;e!==null;)Ef(e,a,s),e=e.sibling}function Al(e,a,s){var o=e.tag;if(o===5||o===6)e=e.stateNode,a?s.insertBefore(e,a):s.appendChild(e);else if(o!==4&&(o===27&&qa(e.type)&&(s=e.stateNode),e=e.child,e!==null))for(Al(e,a,s),e=e.sibling;e!==null;)Al(e,a,s),e=e.sibling}function ry(e){var a=e.stateNode,s=e.memoizedProps;try{for(var o=e.type,f=a.attributes;f.length;)a.removeAttributeNode(f[0]);we(a,o,s),a[ve]=e,a[Le]=s}catch(d){kt(e,e.return,d)}}var ra=!1,ce=!1,Af=!1,oy=typeof WeakSet=="function"?WeakSet:Set,pe=null;function W2(e,a){if(e=e.containerInfo,Yf=Yl,e=xp(e),yu(e)){if("selectionStart"in e)var s={start:e.selectionStart,end:e.selectionEnd};else t:{s=(s=e.ownerDocument)&&s.defaultView||window;var o=s.getSelection&&s.getSelection();if(o&&o.rangeCount!==0){s=o.anchorNode;var f=o.anchorOffset,d=o.focusNode;o=o.focusOffset;try{s.nodeType,d.nodeType}catch{s=null;break t}var x=0,S=-1,O=-1,L=0,X=0,Z=e,B=null;e:for(;;){for(var F;Z!==s||f!==0&&Z.nodeType!==3||(S=x+f),Z!==d||o!==0&&Z.nodeType!==3||(O=x+o),Z.nodeType===3&&(x+=Z.nodeValue.length),(F=Z.firstChild)!==null;)B=Z,Z=F;for(;;){if(Z===e)break e;if(B===s&&++L===f&&(S=x),B===d&&++X===o&&(O=x),(F=Z.nextSibling)!==null)break;Z=B,B=Z.parentNode}Z=F}s=S===-1||O===-1?null:{start:S,end:O}}else s=null}s=s||{start:0,end:0}}else s=null;for(Kf={focusedElem:e,selectionRange:s},Yl=!1,pe=a;pe!==null;)if(a=pe,e=a.child,(a.subtreeFlags&1028)!==0&&e!==null)e.return=a,pe=e;else for(;pe!==null;){switch(a=pe,d=a.alternate,e=a.flags,a.tag){case 0:if((e&4)!==0&&(e=a.updateQueue,e=e!==null?e.events:null,e!==null))for(s=0;s<e.length;s++)f=e[s],f.ref.impl=f.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&d!==null){e=void 0,s=a,f=d.memoizedProps,d=d.memoizedState,o=s.stateNode;try{var ft=ji(s.type,f);e=o.getSnapshotBeforeUpdate(ft,d),o.__reactInternalSnapshotBeforeUpdate=e}catch(yt){kt(s,s.return,yt)}}break;case 3:if((e&1024)!==0){if(e=a.stateNode.containerInfo,s=e.nodeType,s===9)Zf(e);else if(s===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Zf(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=a.sibling,e!==null){e.return=a.return,pe=e;break}pe=a.return}}function ly(e,a,s){var o=s.flags;switch(s.tag){case 0:case 11:case 15:la(e,s),o&4&&Ur(5,s);break;case 1:if(la(e,s),o&4)if(e=s.stateNode,a===null)try{e.componentDidMount()}catch(x){kt(s,s.return,x)}else{var f=ji(s.type,a.memoizedProps);a=a.memoizedState;try{e.componentDidUpdate(f,a,e.__reactInternalSnapshotBeforeUpdate)}catch(x){kt(s,s.return,x)}}o&64&&ny(s),o&512&&kr(s,s.return);break;case 3:if(la(e,s),o&64&&(e=s.updateQueue,e!==null)){if(a=null,s.child!==null)switch(s.child.tag){case 27:case 5:a=s.child.stateNode;break;case 1:a=s.child.stateNode}try{Yp(e,a)}catch(x){kt(s,s.return,x)}}break;case 27:a===null&&o&4&&ry(s);case 26:case 5:la(e,s),a===null&&o&4&&iy(s),o&512&&kr(s,s.return);break;case 12:la(e,s);break;case 31:la(e,s),o&4&&fy(e,s);break;case 13:la(e,s),o&4&&dy(e,s),o&64&&(e=s.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(s=lT.bind(null,s),jT(e,s))));break;case 22:if(o=s.memoizedState!==null||ra,!o){a=a!==null&&a.memoizedState!==null||ce,f=ra;var d=ce;ra=o,(ce=a)&&!d?ca(e,s,(s.subtreeFlags&8772)!==0):la(e,s),ra=f,ce=d}break;case 30:break;default:la(e,s)}}function cy(e){var a=e.alternate;a!==null&&(e.alternate=null,cy(a)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(a=e.stateNode,a!==null&&tu(a)),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 Yt=null,Be=!1;function oa(e,a,s){for(s=s.child;s!==null;)uy(e,a,s),s=s.sibling}function uy(e,a,s){if(De&&typeof De.onCommitFiberUnmount=="function")try{De.onCommitFiberUnmount(fi,s)}catch{}switch(s.tag){case 26:ce||Pn(s,a),oa(e,a,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(s=s.stateNode,s.parentNode.removeChild(s));break;case 27:ce||Pn(s,a);var o=Yt,f=Be;qa(s.type)&&(Yt=s.stateNode,Be=!1),oa(e,a,s),Kr(s.stateNode),Yt=o,Be=f;break;case 5:ce||Pn(s,a);case 6:if(o=Yt,f=Be,Yt=null,oa(e,a,s),Yt=o,Be=f,Yt!==null)if(Be)try{(Yt.nodeType===9?Yt.body:Yt.nodeName==="HTML"?Yt.ownerDocument.body:Yt).removeChild(s.stateNode)}catch(d){kt(s,a,d)}else try{Yt.removeChild(s.stateNode)}catch(d){kt(s,a,d)}break;case 18:Yt!==null&&(Be?(e=Yt,nv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,s.stateNode),zs(e)):nv(Yt,s.stateNode));break;case 4:o=Yt,f=Be,Yt=s.stateNode.containerInfo,Be=!0,oa(e,a,s),Yt=o,Be=f;break;case 0:case 11:case 14:case 15:Pa(2,s,a),ce||Pa(4,s,a),oa(e,a,s);break;case 1:ce||(Pn(s,a),o=s.stateNode,typeof o.componentWillUnmount=="function"&&ay(s,a,o)),oa(e,a,s);break;case 21:oa(e,a,s);break;case 22:ce=(o=ce)||s.memoizedState!==null,oa(e,a,s),ce=o;break;default:oa(e,a,s)}}function fy(e,a){if(a.memoizedState===null&&(e=a.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{zs(e)}catch(s){kt(a,a.return,s)}}}function dy(e,a){if(a.memoizedState===null&&(e=a.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{zs(e)}catch(s){kt(a,a.return,s)}}function tT(e){switch(e.tag){case 31:case 13:case 19:var a=e.stateNode;return a===null&&(a=e.stateNode=new oy),a;case 22:return e=e.stateNode,a=e._retryCache,a===null&&(a=e._retryCache=new oy),a;default:throw Error(r(435,e.tag))}}function Cl(e,a){var s=tT(e);a.forEach(function(o){if(!s.has(o)){s.add(o);var f=cT.bind(null,e,o);o.then(f,f)}})}function qe(e,a){var s=a.deletions;if(s!==null)for(var o=0;o<s.length;o++){var f=s[o],d=e,x=a,S=x;t:for(;S!==null;){switch(S.tag){case 27:if(qa(S.type)){Yt=S.stateNode,Be=!1;break t}break;case 5:Yt=S.stateNode,Be=!1;break t;case 3:case 4:Yt=S.stateNode.containerInfo,Be=!0;break t}S=S.return}if(Yt===null)throw Error(r(160));uy(d,x,f),Yt=null,Be=!1,d=f.alternate,d!==null&&(d.return=null),f.return=null}if(a.subtreeFlags&13886)for(a=a.child;a!==null;)hy(a,e),a=a.sibling}var An=null;function hy(e,a){var s=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:qe(a,e),Qe(e),o&4&&(Pa(3,e,e.return),Ur(3,e),Pa(5,e,e.return));break;case 1:qe(a,e),Qe(e),o&512&&(ce||s===null||Pn(s,s.return)),o&64&&ra&&(e=e.updateQueue,e!==null&&(o=e.callbacks,o!==null&&(s=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=s===null?o:s.concat(o))));break;case 26:var f=An;if(qe(a,e),Qe(e),o&512&&(ce||s===null||Pn(s,s.return)),o&4){var d=s!==null?s.memoizedState:null;if(o=e.memoizedState,s===null)if(o===null)if(e.stateNode===null){t:{o=e.type,s=e.memoizedProps,f=f.ownerDocument||f;e:switch(o){case"title":d=f.getElementsByTagName("title")[0],(!d||d[fr]||d[ve]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=f.createElement(o),f.head.insertBefore(d,f.querySelector("head > title"))),we(d,o,s),d[ve]=e,me(d),o=d;break t;case"link":var x=hv("link","href",f).get(o+(s.href||""));if(x){for(var S=0;S<x.length;S++)if(d=x[S],d.getAttribute("href")===(s.href==null||s.href===""?null:s.href)&&d.getAttribute("rel")===(s.rel==null?null:s.rel)&&d.getAttribute("title")===(s.title==null?null:s.title)&&d.getAttribute("crossorigin")===(s.crossOrigin==null?null:s.crossOrigin)){x.splice(S,1);break e}}d=f.createElement(o),we(d,o,s),f.head.appendChild(d);break;case"meta":if(x=hv("meta","content",f).get(o+(s.content||""))){for(S=0;S<x.length;S++)if(d=x[S],d.getAttribute("content")===(s.content==null?null:""+s.content)&&d.getAttribute("name")===(s.name==null?null:s.name)&&d.getAttribute("property")===(s.property==null?null:s.property)&&d.getAttribute("http-equiv")===(s.httpEquiv==null?null:s.httpEquiv)&&d.getAttribute("charset")===(s.charSet==null?null:s.charSet)){x.splice(S,1);break e}}d=f.createElement(o),we(d,o,s),f.head.appendChild(d);break;default:throw Error(r(468,o))}d[ve]=e,me(d),o=d}e.stateNode=o}else mv(f,e.type,e.stateNode);else e.stateNode=dv(f,o,e.memoizedProps);else d!==o?(d===null?s.stateNode!==null&&(s=s.stateNode,s.parentNode.removeChild(s)):d.count--,o===null?mv(f,e.type,e.stateNode):dv(f,o,e.memoizedProps)):o===null&&e.stateNode!==null&&wf(e,e.memoizedProps,s.memoizedProps)}break;case 27:qe(a,e),Qe(e),o&512&&(ce||s===null||Pn(s,s.return)),s!==null&&o&4&&wf(e,e.memoizedProps,s.memoizedProps);break;case 5:if(qe(a,e),Qe(e),o&512&&(ce||s===null||Pn(s,s.return)),e.flags&32){f=e.stateNode;try{as(f,"")}catch(ft){kt(e,e.return,ft)}}o&4&&e.stateNode!=null&&(f=e.memoizedProps,wf(e,f,s!==null?s.memoizedProps:f)),o&1024&&(Af=!0);break;case 6:if(qe(a,e),Qe(e),o&4){if(e.stateNode===null)throw Error(r(162));o=e.memoizedProps,s=e.stateNode;try{s.nodeValue=o}catch(ft){kt(e,e.return,ft)}}break;case 3:if(ql=null,f=An,An=Vl(a.containerInfo),qe(a,e),An=f,Qe(e),o&4&&s!==null&&s.memoizedState.isDehydrated)try{zs(a.containerInfo)}catch(ft){kt(e,e.return,ft)}Af&&(Af=!1,my(e));break;case 4:o=An,An=Vl(e.stateNode.containerInfo),qe(a,e),Qe(e),An=o;break;case 12:qe(a,e),Qe(e);break;case 31:qe(a,e),Qe(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Cl(e,o)));break;case 13:qe(a,e),Qe(e),e.child.flags&8192&&e.memoizedState!==null!=(s!==null&&s.memoizedState!==null)&&(jl=Re()),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Cl(e,o)));break;case 22:f=e.memoizedState!==null;var O=s!==null&&s.memoizedState!==null,L=ra,X=ce;if(ra=L||f,ce=X||O,qe(a,e),ce=X,ra=L,Qe(e),o&8192)t:for(a=e.stateNode,a._visibility=f?a._visibility&-2:a._visibility|1,f&&(s===null||O||ra||ce||Ni(e)),s=null,a=e;;){if(a.tag===5||a.tag===26){if(s===null){O=s=a;try{if(d=O.stateNode,f)x=d.style,typeof x.setProperty=="function"?x.setProperty("display","none","important"):x.display="none";else{S=O.stateNode;var Z=O.memoizedProps.style,B=Z!=null&&Z.hasOwnProperty("display")?Z.display:null;S.style.display=B==null||typeof B=="boolean"?"":(""+B).trim()}}catch(ft){kt(O,O.return,ft)}}}else if(a.tag===6){if(s===null){O=a;try{O.stateNode.nodeValue=f?"":O.memoizedProps}catch(ft){kt(O,O.return,ft)}}}else if(a.tag===18){if(s===null){O=a;try{var F=O.stateNode;f?av(F,!0):av(O.stateNode,!1)}catch(ft){kt(O,O.return,ft)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===e)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break t;for(;a.sibling===null;){if(a.return===null||a.return===e)break t;s===a&&(s=null),a=a.return}s===a&&(s=null),a.sibling.return=a.return,a=a.sibling}o&4&&(o=e.updateQueue,o!==null&&(s=o.retryQueue,s!==null&&(o.retryQueue=null,Cl(e,s))));break;case 19:qe(a,e),Qe(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Cl(e,o)));break;case 30:break;case 21:break;default:qe(a,e),Qe(e)}}function Qe(e){var a=e.flags;if(a&2){try{for(var s,o=e.return;o!==null;){if(sy(o)){s=o;break}o=o.return}if(s==null)throw Error(r(160));switch(s.tag){case 27:var f=s.stateNode,d=Tf(e);Al(e,d,f);break;case 5:var x=s.stateNode;s.flags&32&&(as(x,""),s.flags&=-33);var S=Tf(e);Al(e,S,x);break;case 3:case 4:var O=s.stateNode.containerInfo,L=Tf(e);Ef(e,L,O);break;default:throw Error(r(161))}}catch(X){kt(e,e.return,X)}e.flags&=-3}a&4096&&(e.flags&=-4097)}function my(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var a=e;my(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),e=e.sibling}}function la(e,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)ly(e,a.alternate,a),a=a.sibling}function Ni(e){for(e=e.child;e!==null;){var a=e;switch(a.tag){case 0:case 11:case 14:case 15:Pa(4,a,a.return),Ni(a);break;case 1:Pn(a,a.return);var s=a.stateNode;typeof s.componentWillUnmount=="function"&&ay(a,a.return,s),Ni(a);break;case 27:Kr(a.stateNode);case 26:case 5:Pn(a,a.return),Ni(a);break;case 22:a.memoizedState===null&&Ni(a);break;case 30:Ni(a);break;default:Ni(a)}e=e.sibling}}function ca(e,a,s){for(s=s&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var o=a.alternate,f=e,d=a,x=d.flags;switch(d.tag){case 0:case 11:case 15:ca(f,d,s),Ur(4,d);break;case 1:if(ca(f,d,s),o=d,f=o.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(L){kt(o,o.return,L)}if(o=d,f=o.updateQueue,f!==null){var S=o.stateNode;try{var O=f.shared.hiddenCallbacks;if(O!==null)for(f.shared.hiddenCallbacks=null,f=0;f<O.length;f++)Fp(O[f],S)}catch(L){kt(o,o.return,L)}}s&&x&64&&ny(d),kr(d,d.return);break;case 27:ry(d);case 26:case 5:ca(f,d,s),s&&o===null&&x&4&&iy(d),kr(d,d.return);break;case 12:ca(f,d,s);break;case 31:ca(f,d,s),s&&x&4&&fy(f,d);break;case 13:ca(f,d,s),s&&x&4&&dy(f,d);break;case 22:d.memoizedState===null&&ca(f,d,s),kr(d,d.return);break;case 30:break;default:ca(f,d,s)}a=a.sibling}}function Cf(e,a){var s=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(s=e.memoizedState.cachePool.pool),e=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(e=a.memoizedState.cachePool.pool),e!==s&&(e!=null&&e.refCount++,s!=null&&Er(s))}function Of(e,a){e=null,a.alternate!==null&&(e=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==e&&(a.refCount++,e!=null&&Er(e))}function Cn(e,a,s,o){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)py(e,a,s,o),a=a.sibling}function py(e,a,s,o){var f=a.flags;switch(a.tag){case 0:case 11:case 15:Cn(e,a,s,o),f&2048&&Ur(9,a);break;case 1:Cn(e,a,s,o);break;case 3:Cn(e,a,s,o),f&2048&&(e=null,a.alternate!==null&&(e=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==e&&(a.refCount++,e!=null&&Er(e)));break;case 12:if(f&2048){Cn(e,a,s,o),e=a.stateNode;try{var d=a.memoizedProps,x=d.id,S=d.onPostCommit;typeof S=="function"&&S(x,a.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(O){kt(a,a.return,O)}}else Cn(e,a,s,o);break;case 31:Cn(e,a,s,o);break;case 13:Cn(e,a,s,o);break;case 23:break;case 22:d=a.stateNode,x=a.alternate,a.memoizedState!==null?d._visibility&2?Cn(e,a,s,o):Lr(e,a):d._visibility&2?Cn(e,a,s,o):(d._visibility|=2,Ts(e,a,s,o,(a.subtreeFlags&10256)!==0||!1)),f&2048&&Cf(x,a);break;case 24:Cn(e,a,s,o),f&2048&&Of(a.alternate,a);break;default:Cn(e,a,s,o)}}function Ts(e,a,s,o,f){for(f=f&&((a.subtreeFlags&10256)!==0||!1),a=a.child;a!==null;){var d=e,x=a,S=s,O=o,L=x.flags;switch(x.tag){case 0:case 11:case 15:Ts(d,x,S,O,f),Ur(8,x);break;case 23:break;case 22:var X=x.stateNode;x.memoizedState!==null?X._visibility&2?Ts(d,x,S,O,f):Lr(d,x):(X._visibility|=2,Ts(d,x,S,O,f)),f&&L&2048&&Cf(x.alternate,x);break;case 24:Ts(d,x,S,O,f),f&&L&2048&&Of(x.alternate,x);break;default:Ts(d,x,S,O,f)}a=a.sibling}}function Lr(e,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var s=e,o=a,f=o.flags;switch(o.tag){case 22:Lr(s,o),f&2048&&Cf(o.alternate,o);break;case 24:Lr(s,o),f&2048&&Of(o.alternate,o);break;default:Lr(s,o)}a=a.sibling}}var Vr=8192;function Es(e,a,s){if(e.subtreeFlags&Vr)for(e=e.child;e!==null;)gy(e,a,s),e=e.sibling}function gy(e,a,s){switch(e.tag){case 26:Es(e,a,s),e.flags&Vr&&e.memoizedState!==null&&VT(s,An,e.memoizedState,e.memoizedProps);break;case 5:Es(e,a,s);break;case 3:case 4:var o=An;An=Vl(e.stateNode.containerInfo),Es(e,a,s),An=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=Vr,Vr=16777216,Es(e,a,s),Vr=o):Es(e,a,s));break;default:Es(e,a,s)}}function yy(e){var a=e.alternate;if(a!==null&&(e=a.child,e!==null)){a.child=null;do a=e.sibling,e.sibling=null,e=a;while(e!==null)}}function Br(e){var a=e.deletions;if((e.flags&16)!==0){if(a!==null)for(var s=0;s<a.length;s++){var o=a[s];pe=o,xy(o,e)}yy(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)vy(e),e=e.sibling}function vy(e){switch(e.tag){case 0:case 11:case 15:Br(e),e.flags&2048&&Pa(9,e,e.return);break;case 3:Br(e);break;case 12:Br(e);break;case 22:var a=e.stateNode;e.memoizedState!==null&&a._visibility&2&&(e.return===null||e.return.tag!==13)?(a._visibility&=-3,Ol(e)):Br(e);break;default:Br(e)}}function Ol(e){var a=e.deletions;if((e.flags&16)!==0){if(a!==null)for(var s=0;s<a.length;s++){var o=a[s];pe=o,xy(o,e)}yy(e)}for(e=e.child;e!==null;){switch(a=e,a.tag){case 0:case 11:case 15:Pa(8,a,a.return),Ol(a);break;case 22:s=a.stateNode,s._visibility&2&&(s._visibility&=-3,Ol(a));break;default:Ol(a)}e=e.sibling}}function xy(e,a){for(;pe!==null;){var s=pe;switch(s.tag){case 0:case 11:case 15:Pa(8,s,a);break;case 23:case 22:if(s.memoizedState!==null&&s.memoizedState.cachePool!==null){var o=s.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:Er(s.memoizedState.cache)}if(o=s.child,o!==null)o.return=s,pe=o;else t:for(s=e;pe!==null;){o=pe;var f=o.sibling,d=o.return;if(cy(o),o===s){pe=null;break t}if(f!==null){f.return=d,pe=f;break t}pe=d}}}var eT={getCacheForType:function(e){var a=be(re),s=a.data.get(e);return s===void 0&&(s=e(),a.data.set(e,s)),s},cacheSignal:function(){return be(re).controller.signal}},nT=typeof WeakMap=="function"?WeakMap:Map,Ht=0,qt=null,At=null,Ot=0,Ut=0,We=null,Ha=!1,As=!1,jf=!1,ua=0,$t=0,Ua=0,Mi=0,Nf=0,tn=0,Cs=0,qr=null,Ge=null,Mf=!1,jl=0,by=0,Nl=1/0,Ml=null,ka=null,fe=0,La=null,Os=null,fa=0,Rf=0,Df=null,Sy=null,Qr=0,_f=null;function en(){return(Ht&2)!==0&&Ot!==0?Ot&-Ot:j.T!==null?Lf():Jc()}function wy(){if(tn===0)if((Ot&536870912)===0||Mt){var e=Ii;Ii<<=1,(Ii&3932160)===0&&(Ii=262144),tn=e}else tn=536870912;return e=$e.current,e!==null&&(e.flags|=32),tn}function Fe(e,a,s){(e===qt&&(Ut===2||Ut===9)||e.cancelPendingCommit!==null)&&(js(e,0),Va(e,Ot,tn,!1)),Xt(e,s),((Ht&2)===0||e!==qt)&&(e===qt&&((Ht&2)===0&&(Mi|=s),$t===4&&Va(e,Ot,tn,!1)),Hn(e))}function Ty(e,a,s){if((Ht&6)!==0)throw Error(r(327));var o=!s&&(a&127)===0&&(a&e.expiredLanes)===0||Ft(e,a),f=o?sT(e,a):Pf(e,a,!0),d=o;
vendor: 17,578 bytes, line 48
48do{if(f===0){As&&!o&&Va(e,a,0,!1);break}else{if(s=e.current.alternate,d&&!aT(s)){f=Pf(e,a,!1),d=!1;continue}if(f===2){if(d=a,e.errorRecoveryDisabledLanes&d)var x=0;else x=e.pendingLanes&-536870913,x=x!==0?x:x&536870912?536870912:0;if(x!==0){a=x;t:{var S=e;f=qr;var O=S.current.memoizedState.isDehydrated;if(O&&(js(S,x).flags|=256),x=Pf(S,x,!1),x!==2){if(jf&&!O){S.errorRecoveryDisabledLanes|=d,Mi|=d,f=4;break t}d=Ge,Ge=f,d!==null&&(Ge===null?Ge=d:Ge.push.apply(Ge,d))}f=x}if(d=!1,f!==2)continue}}if(f===1){js(e,0),Va(e,a,0,!0);break}t:{switch(o=e,d=f,d){case 0:case 1:throw Error(r(345));case 4:if((a&4194048)!==a)break;case 6:Va(o,a,tn,!Ha);break t;case 2:Ge=null;break;case 3:case 5:break;default:throw Error(r(329))}if((a&62914560)===a&&(f=jl+300-Re(),10<f)){if(Va(o,a,tn,!Ha),bt(o,0,!0)!==0)break t;fa=a,o.timeoutHandle=tv(Ey.bind(null,o,s,Ge,Ml,Mf,a,tn,Mi,Cs,Ha,d,"Throttled",-0,0),f);break t}Ey(o,s,Ge,Ml,Mf,a,tn,Mi,Cs,Ha,d,null,-0,0)}}break}while(!0);Hn(e)}function Ey(e,a,s,o,f,d,x,S,O,L,X,Z,B,F){if(e.timeoutHandle=-1,Z=a.subtreeFlags,Z&8192||(Z&16785408)===16785408){Z={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Zn},gy(a,d,Z);var ft=(d&62914560)===d?jl-Re():(d&4194048)===d?by-Re():0;if(ft=BT(Z,ft),ft!==null){fa=d,e.cancelPendingCommit=ft(Dy.bind(null,e,a,d,s,o,f,x,S,O,X,Z,null,B,F)),Va(e,d,x,!L);return}}Dy(e,a,d,s,o,f,x,S,O)}function aT(e){for(var a=e;;){var s=a.tag;if((s===0||s===11||s===15)&&a.flags&16384&&(s=a.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var o=0;o<s.length;o++){var f=s[o],d=f.getSnapshot;f=f.value;try{if(!Ie(d(),f))return!1}catch{return!1}}if(s=a.child,a.subtreeFlags&16384&&s!==null)s.return=a,a=s;else{if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Va(e,a,s,o){a&=~Nf,a&=~Mi,e.suspendedLanes|=a,e.pingedLanes&=~a,o&&(e.warmLanes|=a),o=e.expirationTimes;for(var f=a;0<f;){var d=31-Ee(f),x=1<<d;o[d]=-1,f&=~x}s!==0&&hi(e,s,a)}function Rl(){return(Ht&6)===0?(Gr(0),!1):!0}function zf(){if(At!==null){if(Ut===0)var e=At.return;else e=At,ta=Si=null,Iu(e),vs=null,Cr=0,e=At;for(;e!==null;)ey(e.alternate,e),e=e.return;At=null}}function js(e,a){var s=e.timeoutHandle;s!==-1&&(e.timeoutHandle=-1,TT(s)),s=e.cancelPendingCommit,s!==null&&(e.cancelPendingCommit=null,s()),fa=0,zf(),qt=e,At=s=Jn(e.current,null),Ot=a,Ut=0,We=null,Ha=!1,As=Ft(e,a),jf=!1,Cs=tn=Nf=Mi=Ua=$t=0,Ge=qr=null,Mf=!1,(a&8)!==0&&(a|=a&32);var o=e.entangledLanes;if(o!==0)for(e=e.entanglements,o&=a;0<o;){var f=31-Ee(o),d=1<<f;a|=e[f],o&=~d}return ua=a,Jo(),s}function Ay(e,a){wt=null,j.H=zr,a===ys||a===rl?(a=Bp(),Ut=3):a===Uu?(a=Bp(),Ut=4):Ut=a===df?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,We=a,At===null&&($t=1,bl(e,un(a,e.current)))}function Cy(){var e=$e.current;return e===null?!0:(Ot&4194048)===Ot?mn===null:(Ot&62914560)===Ot||(Ot&536870912)!==0?e===mn:!1}function Oy(){var e=j.H;return j.H=zr,e===null?zr:e}function jy(){var e=j.A;return j.A=eT,e}function Dl(){$t=4,Ha||(Ot&4194048)!==Ot&&$e.current!==null||(As=!0),(Ua&134217727)===0&&(Mi&134217727)===0||qt===null||Va(qt,Ot,tn,!1)}function Pf(e,a,s){var o=Ht;Ht|=2;var f=Oy(),d=jy();(qt!==e||Ot!==a)&&(Ml=null,js(e,a)),a=!1;var x=$t;t:do try{if(Ut!==0&&At!==null){var S=At,O=We;switch(Ut){case 8:zf(),x=6;break t;case 3:case 2:case 9:case 6:$e.current===null&&(a=!0);var L=Ut;if(Ut=0,We=null,Ns(e,S,O,L),s&&As){x=0;break t}break;default:L=Ut,Ut=0,We=null,Ns(e,S,O,L)}}iT(),x=$t;break}catch(X){Ay(e,X)}while(!0);return a&&e.shellSuspendCounter++,ta=Si=null,Ht=o,j.H=f,j.A=d,At===null&&(qt=null,Ot=0,Jo()),x}function iT(){for(;At!==null;)Ny(At)}function sT(e,a){var s=Ht;Ht|=2;var o=Oy(),f=jy();qt!==e||Ot!==a?(Ml=null,Nl=Re()+500,js(e,a)):As=Ft(e,a);t:do try{if(Ut!==0&&At!==null){a=At;var d=We;e:switch(Ut){case 1:Ut=0,We=null,Ns(e,a,d,1);break;case 2:case 9:if(Lp(d)){Ut=0,We=null,My(a);break}a=function(){Ut!==2&&Ut!==9||qt!==e||(Ut=7),Hn(e)},d.then(a,a);break t;case 3:Ut=7;break t;case 4:Ut=5;break t;case 7:Lp(d)?(Ut=0,We=null,My(a)):(Ut=0,We=null,Ns(e,a,d,7));break;case 5:var x=null;switch(At.tag){case 26:x=At.memoizedState;case 5:case 27:var S=At;if(x?pv(x):S.stateNode.complete){Ut=0,We=null;var O=S.sibling;if(O!==null)At=O;else{var L=S.return;L!==null?(At=L,_l(L)):At=null}break e}}Ut=0,We=null,Ns(e,a,d,5);break;case 6:Ut=0,We=null,Ns(e,a,d,6);break;case 8:zf(),$t=6;break t;default:throw Error(r(462))}}rT();break}catch(X){Ay(e,X)}while(!0);return ta=Si=null,j.H=o,j.A=f,Ht=s,At!==null?0:(qt=null,Ot=0,Jo(),$t)}function rT(){for(;At!==null&&!Me();)Ny(At)}function Ny(e){var a=Wg(e.alternate,e,ua);e.memoizedProps=e.pendingProps,a===null?_l(e):At=a}function My(e){var a=e,s=a.alternate;switch(a.tag){case 15:case 0:a=Kg(s,a,a.pendingProps,a.type,void 0,Ot);break;case 11:a=Kg(s,a,a.pendingProps,a.type.render,a.ref,Ot);break;case 5:Iu(a);default:ey(s,a),a=At=jp(a,ua),a=Wg(s,a,ua)}e.memoizedProps=e.pendingProps,a===null?_l(e):At=a}function Ns(e,a,s,o){ta=Si=null,Iu(a),vs=null,Cr=0;var f=a.return;try{if(X2(e,f,a,s,Ot)){$t=1,bl(e,un(s,e.current)),At=null;return}}catch(d){if(f!==null)throw At=f,d;$t=1,bl(e,un(s,e.current)),At=null;return}a.flags&32768?(Mt||o===1?e=!0:As||(Ot&536870912)!==0?e=!1:(Ha=e=!0,(o===2||o===9||o===3||o===6)&&(o=$e.current,o!==null&&o.tag===13&&(o.flags|=16384))),Ry(a,e)):_l(a)}function _l(e){var a=e;do{if((a.flags&32768)!==0){Ry(a,Ha);return}e=a.return;var s=$2(a.alternate,a,ua);if(s!==null){At=s;return}if(a=a.sibling,a!==null){At=a;return}At=a=e}while(a!==null);$t===0&&($t=5)}function Ry(e,a){do{var s=J2(e.alternate,e);if(s!==null){s.flags&=32767,At=s;return}if(s=e.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!a&&(e=e.sibling,e!==null)){At=e;return}At=e=s}while(e!==null);$t=6,At=null}function Dy(e,a,s,o,f,d,x,S,O){e.cancelPendingCommit=null;do zl();while(fe!==0);if((Ht&6)!==0)throw Error(r(327));if(a!==null){if(a===e.current)throw Error(r(177));if(d=a.lanes|a.childLanes,d|=wu,He(e,s,d,x,S,O),e===qt&&(At=qt=null,Ot=0),Os=a,La=e,fa=s,Rf=d,Df=f,Sy=o,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,uT(ui,function(){return Uy(),null})):(e.callbackNode=null,e.callbackPriority=0),o=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||o){o=j.T,j.T=null,f=H.p,H.p=2,x=Ht,Ht|=4;try{W2(e,a,s)}finally{Ht=x,H.p=f,j.T=o}}fe=1,_y(),zy(),Py()}}function _y(){if(fe===1){fe=0;var e=La,a=Os,s=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||s){s=j.T,j.T=null;var o=H.p;H.p=2;var f=Ht;Ht|=4;try{hy(a,e);var d=Kf,x=xp(e.containerInfo),S=d.focusedElem,O=d.selectionRange;if(x!==S&&S&&S.ownerDocument&&vp(S.ownerDocument.documentElement,S)){if(O!==null&&yu(S)){var L=O.start,X=O.end;if(X===void 0&&(X=L),"selectionStart"in S)S.selectionStart=L,S.selectionEnd=Math.min(X,S.value.length);else{var Z=S.ownerDocument||document,B=Z&&Z.defaultView||window;if(B.getSelection){var F=B.getSelection(),ft=S.textContent.length,yt=Math.min(O.start,ft),Bt=O.end===void 0?yt:Math.min(O.end,ft);!F.extend&&yt>Bt&&(x=Bt,Bt=yt,yt=x);var P=yp(S,yt),M=yp(S,Bt);if(P&&M&&(F.rangeCount!==1||F.anchorNode!==P.node||F.anchorOffset!==P.offset||F.focusNode!==M.node||F.focusOffset!==M.offset)){var k=Z.createRange();k.setStart(P.node,P.offset),F.removeAllRanges(),yt>Bt?(F.addRange(k),F.extend(M.node,M.offset)):(k.setEnd(M.node,M.offset),F.addRange(k))}}}}for(Z=[],F=S;F=F.parentNode;)F.nodeType===1&&Z.push({element:F,left:F.scrollLeft,top:F.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<Z.length;S++){var I=Z[S];I.element.scrollLeft=I.left,I.element.scrollTop=I.top}}Yl=!!Yf,Kf=Yf=null}finally{Ht=f,H.p=o,j.T=s}}e.current=a,fe=2}}function zy(){if(fe===2){fe=0;var e=La,a=Os,s=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||s){s=j.T,j.T=null;var o=H.p;H.p=2;var f=Ht;Ht|=4;try{ly(e,a.alternate,a)}finally{Ht=f,H.p=o,j.T=s}}fe=3}}function Py(){if(fe===4||fe===3){fe=0,Sa();var e=La,a=Os,s=fa,o=Sy;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?fe=5:(fe=0,Os=La=null,Hy(e,e.pendingLanes));var f=e.pendingLanes;if(f===0&&(ka=null),Tn(s),a=a.stateNode,De&&typeof De.onCommitFiberRoot=="function")try{De.onCommitFiberRoot(fi,a,void 0,(a.current.flags&128)===128)}catch{}if(o!==null){a=j.T,f=H.p,H.p=2,j.T=null;try{for(var d=e.onRecoverableError,x=0;x<o.length;x++){var S=o[x];d(S.value,{componentStack:S.stack})}}finally{j.T=a,H.p=f}}(fa&3)!==0&&zl(),Hn(e),f=e.pendingLanes,(s&261930)!==0&&(f&42)!==0?e===_f?Qr++:(Qr=0,_f=e):Qr=0,Gr(0)}}function Hy(e,a){(e.pooledCacheLanes&=a)===0&&(a=e.pooledCache,a!=null&&(e.pooledCache=null,Er(a)))}function zl(){return _y(),zy(),Py(),Uy()}function Uy(){if(fe!==5)return!1;var e=La,a=Rf;Rf=0;var s=Tn(fa),o=j.T,f=H.p;try{H.p=32>s?32:s,j.T=null,s=Df,Df=null;var d=La,x=fa;if(fe=0,Os=La=null,fa=0,(Ht&6)!==0)throw Error(r(331));var S=Ht;if(Ht|=4,vy(d.current),py(d,d.current,x,s),Ht=S,Gr(0,!1),De&&typeof De.onPostCommitFiberRoot=="function")try{De.onPostCommitFiberRoot(fi,d)}catch{}return!0}finally{H.p=f,j.T=o,Hy(e,a)}}function ky(e,a,s){a=un(s,a),a=ff(e.stateNode,a,2),e=Da(e,a,2),e!==null&&(Xt(e,2),Hn(e))}function kt(e,a,s){if(e.tag===3)ky(e,e,s);else for(;a!==null;){if(a.tag===3){ky(a,e,s);break}else if(a.tag===1){var o=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(ka===null||!ka.has(o))){e=un(s,e),s=Lg(2),o=Da(a,s,2),o!==null&&(Vg(s,o,a,e),Xt(o,2),Hn(o));break}}a=a.return}}function Hf(e,a,s){var o=e.pingCache;if(o===null){o=e.pingCache=new nT;var f=new Set;o.set(a,f)}else f=o.get(a),f===void 0&&(f=new Set,o.set(a,f));f.has(s)||(jf=!0,f.add(s),e=oT.bind(null,e,a,s),a.then(e,e))}function oT(e,a,s){var o=e.pingCache;o!==null&&o.delete(a),e.pingedLanes|=e.suspendedLanes&s,e.warmLanes&=~s,qt===e&&(Ot&s)===s&&($t===4||$t===3&&(Ot&62914560)===Ot&&300>Re()-jl?(Ht&2)===0&&js(e,0):Nf|=s,Cs===Ot&&(Cs=0)),Hn(e)}function Ly(e,a){a===0&&(a=Ae()),e=vi(e,a),e!==null&&(Xt(e,a),Hn(e))}function lT(e){var a=e.memoizedState,s=0;a!==null&&(s=a.retryLane),Ly(e,s)}function cT(e,a){var s=0;switch(e.tag){case 31:case 13:var o=e.stateNode,f=e.memoizedState;f!==null&&(s=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(a),Ly(e,s)}function uT(e,a){return or(e,a)}var Pl=null,Ms=null,Uf=!1,Hl=!1,kf=!1,Ba=0;function Hn(e){e!==Ms&&e.next===null&&(Ms===null?Pl=Ms=e:Ms=Ms.next=e),Hl=!0,Uf||(Uf=!0,dT())}function Gr(e,a){if(!kf&&Hl){kf=!0;do for(var s=!1,o=Pl;o!==null;){if(e!==0){var f=o.pendingLanes;if(f===0)var d=0;else{var x=o.suspendedLanes,S=o.pingedLanes;d=(1<<31-Ee(42|e)+1)-1,d&=f&~(x&~S),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(s=!0,Qy(o,d))}else d=Ot,d=bt(o,o===qt?d:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(d&3)===0||Ft(o,d)||(s=!0,Qy(o,d));o=o.next}while(s);kf=!1}}function fT(){Vy()}function Vy(){Hl=Uf=!1;var e=0;Ba!==0&&wT()&&(e=Ba);for(var a=Re(),s=null,o=Pl;o!==null;){var f=o.next,d=By(o,a);d===0?(o.next=null,s===null?Pl=f:s.next=f,f===null&&(Ms=s)):(s=o,(e!==0||(d&3)!==0)&&(Hl=!0)),o=f}fe!==0&&fe!==5||Gr(e),Ba!==0&&(Ba=0)}function By(e,a){for(var s=e.suspendedLanes,o=e.pingedLanes,f=e.expirationTimes,d=e.pendingLanes&-62914561;0<d;){var x=31-Ee(d),S=1<<x,O=f[x];O===-1?((S&s)===0||(S&o)!==0)&&(f[x]=he(S,a)):O<=a&&(e.expiredLanes|=S),d&=~S}if(a=qt,s=Ot,s=bt(e,e===a?s:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o=e.callbackNode,s===0||e===a&&(Ut===2||Ut===9)||e.cancelPendingCommit!==null)return o!==null&&o!==null&&lr(o),e.callbackNode=null,e.callbackPriority=0;if((s&3)===0||Ft(e,s)){if(a=s&-s,a===e.callbackPriority)return a;switch(o!==null&&lr(o),Tn(s)){case 2:case 8:s=Lo;break;case 32:s=ui;break;case 268435456:s=Xn;break;default:s=ui}return o=qy.bind(null,e),s=or(s,o),e.callbackPriority=a,e.callbackNode=s,a}return o!==null&&o!==null&&lr(o),e.callbackPriority=2,e.callbackNode=null,2}function qy(e,a){if(fe!==0&&fe!==5)return e.callbackNode=null,e.callbackPriority=0,null;var s=e.callbackNode;if(zl()&&e.callbackNode!==s)return null;var o=Ot;return o=bt(e,e===qt?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o===0?null:(Ty(e,o,a),By(e,Re()),e.callbackNode!=null&&e.callbackNode===s?qy.bind(null,e):null)}function Qy(e,a){if(zl())return null;Ty(e,a,!0)}function dT(){ET(function(){(Ht&6)!==0?or(ci,fT):Vy()})}function Lf(){if(Ba===0){var e=ps;e===0&&(e=Xi,Xi<<=1,(Xi&261888)===0&&(Xi=256)),Ba=e}return Ba}function Gy(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Go(""+e)}function Fy(e,a){var s=a.ownerDocument.createElement("input");return s.name=a.name,s.value=a.value,e.id&&s.setAttribute("form",e.id),a.parentNode.insertBefore(s,a),e=new FormData(e),s.parentNode.removeChild(s),e}function hT(e,a,s,o,f){if(a==="submit"&&s&&s.stateNode===f){var d=Gy((f[Le]||null).action),x=o.submitter;x&&(a=(a=x[Le]||null)?Gy(a.formAction):x.getAttribute("formAction"),a!==null&&(d=a,x=null));var S=new Xo("action","action",null,o,f);e.push({event:S,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Ba!==0){var O=x?Fy(f,x):new FormData(f);sf(s,{pending:!0,data:O,method:f.method,action:d},null,O)}}else typeof d=="function"&&(S.preventDefault(),O=x?Fy(f,x):new FormData(f),sf(s,{pending:!0,data:O,method:f.method,action:d},d,O))},currentTarget:f}]})}}for(var Vf=0;Vf<Su.length;Vf++){var Bf=Su[Vf],mT=Bf.toLowerCase(),pT=Bf[0].toUpperCase()+Bf.slice(1);En(mT,"on"+pT)}En(wp,"onAnimationEnd"),En(Tp,"onAnimationIteration"),En(Ep,"onAnimationStart"),En("dblclick","onDoubleClick"),En("focusin","onFocus"),En("focusout","onBlur"),En(R2,"onTransitionRun"),En(D2,"onTransitionStart"),En(_2,"onTransitionCancel"),En(Ap,"onTransitionEnd"),es("onMouseEnter",["mouseout","mouseover"]),es("onMouseLeave",["mouseout","mouseover"]),es("onPointerEnter",["pointerout","pointerover"]),es("onPointerLeave",["pointerout","pointerover"]),mi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),mi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),mi("onBeforeInput",["compositionend","keypress","textInput","paste"]),mi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),mi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),mi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fr="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(" "),gT=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Fr));function Yy(e,a){a=(a&4)!==0;for(var s=0;s<e.length;s++){var o=e[s],f=o.event;o=o.listeners;t:{var d=void 0;if(a)for(var x=o.length-1;0<=x;x--){var S=o[x],O=S.instance,L=S.currentTarget;if(S=S.listener,O!==d&&f.isPropagationStopped())break t;d=S,f.currentTarget=L;try{d(f)}catch(X){$o(X)}f.currentTarget=null,d=O}else for(x=0;x<o.length;x++){if(S=o[x],O=S.instance,L=S.currentTarget,S=S.listener,O!==d&&f.isPropagationStopped())break t;d=S,f.currentTarget=L;try{d(f)}catch(X){$o(X)}f.currentTarget=null,d=O}}}}function Ct(e,a){var s=a[Wc];s===void 0&&(s=a[Wc]=new Set);var o=e+"__bubble";s.has(o)||(Ky(a,e,2,!1),s.add(o))}function qf(e,a,s){var o=0;a&&(o|=4),Ky(s,e,o,a)}var Ul="_reactListening"+Math.random().toString(36).slice(2);function Qf(e){if(!e[Ul]){e[Ul]=!0,Vm.forEach(function(s){s!=="selectionchange"&&(gT.has(s)||qf(s,!1,e),qf(s,!0,e))});var a=e.nodeType===9?e:e.ownerDocument;a===null||a[Ul]||(a[Ul]=!0,qf("selectionchange",!1,a))}}function Ky(e,a,s,o){switch(wv(a)){case 2:var f=GT;break;case 8:f=FT;break;default:f=id}s=f.bind(null,a,s,e),f=void 0,!lu||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(f=!0),o?f!==void 0?e.addEventListener(a,s,{capture:!0,passive:f}):e.addEventListener(a,s,!0):f!==void 0?e.addEventListener(a,s,{passive:f}):e.addEventListener(a,s,!1)}function Gf(e,a,s,o,f){var d=o;if((a&1)===0&&(a&2)===0&&o!==null)t:for(;;){if(o===null)return;var x=o.tag;if(x===3||x===4){var S=o.stateNode.containerInfo;if(S===f)break;if(x===4)for(x=o.return;x!==null;){var O=x.tag;if((O===3||O===4)&&x.stateNode.containerInfo===f)return;x=x.return}for(;S!==null;){if(x=Ji(S),x===null)return;if(O=x.tag,O===5||O===6||O===26||O===27){o=d=x;continue t}S=S.parentNode}}o=o.return}Jm(function(){var L=d,X=ru(s),Z=[];t:{var B=Cp.get(e);if(B!==void 0){var F=Xo,ft=e;switch(e){case"keypress":if(Yo(s)===0)break t;case"keydown":case"keyup":F=c2;break;case"focusin":ft="focus",F=du;break;case"focusout":ft="blur",F=du;break;case"beforeblur":case"afterblur":F=du;break;case"click":if(s.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":F=ep;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":F=$w;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":F=d2;break;case wp:case Tp:case Ep:F=t2;break;case Ap:F=m2;break;case"scroll":case"scrollend":F=Iw;break;case"wheel":F=g2;break;case"copy":case"cut":case"paste":F=n2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":F=ap;break;case"toggle":case"beforetoggle":F=v2}var yt=(a&4)!==0,Bt=!yt&&(e==="scroll"||e==="scrollend"),P=yt?B!==null?B+"
48Capture":null:B;yt=[];for(var M=L,k;M!==null;){var I=M;if(k=I.stateNode,I=I.tag,I!==5&&I!==26&&I!==27||k===null||P===null||(I=hr(M,P),I!=null&&yt.push(Yr(M,I,k))),Bt)break;M=M.return}0<yt.length&&(B=new F(B,ft,null,s,X),Z.push({event:B,listeners:yt}))}}if((a&7)===0){t:{if(B=e==="mouseover"||e==="pointerover",F=e==="mouseout"||e==="pointerout",B&&s!==su&&(ft=s.relatedTarget||s.fromElement)&&(Ji(ft)||ft[$i]))break t;if((F||B)&&(B=X.window===X?X:(B=X.ownerDocument)?B.defaultView||B.parentWindow:window,F?(ft=s.relatedTarget||s.toElement,F=L,ft=ft?Ji(ft):null,ft!==null&&(Bt=c(ft),yt=ft.tag,ft!==Bt||yt!==5&&yt!==27&&yt!==6)&&(ft=null)):(F=null,ft=L),F!==ft)){if(yt=ep,I="onMouseLeave",P="onMouseEnter",M="mouse",(e==="pointerout"||e==="pointerover")&&(yt=ap,I="onPointerLeave",P="onPointerEnter",M="pointer"),Bt=F==null?B:dr(F),k=ft==null?B:dr(ft),B=new yt(I,M+"leave",F,s,X),B.target=Bt,B.relatedTarget=k,I=null,Ji(X)===L&&(yt=new yt(P,M+"enter",ft,s,X),yt.target=k,yt.relatedTarget=Bt,I=yt),Bt=I,F&&ft)e:{for(yt=yT,P=F,M=ft,k=0,I=P;I;I=yt(I))k++;I=0;for(var gt=M;gt;gt=yt(gt))I++;for(;0<k-I;)P=yt(P),k--;for(;0<I-k;)M=yt(M),I--;for(;k--;){if(P===M||M!==null&&P===M.alternate){yt=P;break e}P=yt(P),M=yt(M)}yt=null}else yt=null;F!==null&&Xy(Z,B,F,yt,!1),ft!==null&&Bt!==null&&Xy(Z,Bt,ft,yt,!0)}}t:{if(B=L?dr(L):window,F=B.nodeName&&B.nodeName.toLowerCase(),F==="select"||F==="input"&&B.type==="file")var _t=fp;else if(cp(B))if(dp)_t=j2;else{_t=C2;var pt=A2}else F=B.nodeName,!F||F.toLowerCase()!=="input"||B.type!=="checkbox"&&B.type!=="radio"?L&&iu(L.elementType)&&(_t=fp):_t=O2;if(_t&&(_t=_t(e,L))){up(Z,_t,s,X);break t}pt&&pt(e,B,L),e==="focusout"&&L&&B.type==="number"&&L.memoizedProps.value!=null&&au(B,"number",B.value)}switch(pt=L?dr(L):window,e){case"focusin":(cp(pt)||pt.contentEditable==="true")&&(os=pt,vu=L,Sr=null);break;case"focusout":Sr=vu=os=null;break;case"mousedown":xu=!0;break;case"contextmenu":case"mouseup":case"dragend":xu=!1,bp(Z,s,X);break;case"selectionchange":if(M2)break;case"keydown":case"keyup":bp(Z,s,X)}var Tt;if(mu)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 rs?op(e,s)&&(jt="onCompositionEnd"):e==="keydown"&&s.keyCode===229&&(jt="onCompositionStart");jt&&(ip&&s.locale!=="ko"&&(rs||jt!=="onCompositionStart"?jt==="onCompositionEnd"&&rs&&(Tt=Wm()):(Aa=X,cu="value"in Aa?Aa.value:Aa.textContent,rs=!0)),pt=kl(L,jt),0<pt.length&&(jt=new np(jt,e,null,s,X),Z.push({event:jt,listeners:pt}
vendor: 5,738 bytes, lines 48-49
48),Tt?jt.data=Tt:(Tt=lp(s),Tt!==null&&(jt.data=Tt)))),(Tt=b2?S2(e,s):w2(e,s))&&(jt=kl(L,"onBeforeInput"),0<jt.length&&(pt=new np("onBeforeInput","beforeinput",null,s,X),Z.push({event:pt,listeners:jt}),pt.data=Tt)),hT(Z,e,L,s,X)}Yy(Z,a)})}function Yr(e,a,s){return{instance:e,listener:a,currentTarget:s}}function kl(e,a){for(var s=a+"Capture",o=[];e!==null;){var f=e,d=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||d===null||(f=hr(e,s),f!=null&&o.unshift(Yr(e,f,d)),f=hr(e,a),f!=null&&o.push(Yr(e,f,d))),e.tag===3)return o;e=e.return}return[]}function yT(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Xy(e,a,s,o,f){for(var d=a._reactName,x=[];s!==null&&s!==o;){var S=s,O=S.alternate,L=S.stateNode;if(S=S.tag,O!==null&&O===o)break;S!==5&&S!==26&&S!==27||L===null||(O=L,f?(L=hr(s,d),L!=null&&x.unshift(Yr(s,L,O))):f||(L=hr(s,d),L!=null&&x.push(Yr(s,L,O)))),s=s.return}x.length!==0&&e.push({event:a,listeners:x})}var vT=/\r\n?/g,xT=/\u0000|\uFFFD/g;function Iy(e){return(typeof e=="string"?e:""+e).replace(vT,` 49`).replace(xT,"")}function Zy(e,a){return a=Iy(a),Iy(e)===a}function Vt(e,a,s,o,f,d){switch(s){case"children":typeof o=="string"?a==="body"||a==="textarea"&&o===""||as(e,o):(typeof o=="number"||typeof o=="bigint")&&a!=="body"&&as(e,""+o);break;case"className":qo(e,"class",o);break;case"tabIndex":qo(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":qo(e,s,o);break;case"style":Zm(e,o,d);break;case"data":if(a!=="object"){qo(e,"data",o);break}case"src":case"href":if(o===""&&(a!=="a"||s!=="href")){e.removeAttribute(s);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(s);break}o=Go(""+o),e.setAttribute(s,o);break;case"action":case"formAction":if(typeof o=="function"){e.setAttribute(s,"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"&&(s==="formAction"?(a!=="input"&&Vt(e,a,"name",f.name,f,null),Vt(e,a,"formEncType",f.formEncType,f,null),Vt(e,a,"formMethod",f.formMethod,f,null),Vt(e,a,"formTarget",f.formTarget,f,null)):(Vt(e,a,"encType",f.encType,f,null),Vt(e,a,"method",f.method,f,null),Vt(e,a,"target",f.target,f,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(s);break}o=Go(""+o),e.setAttribute(s,o);break;case"onClick":o!=null&&(e.onclick=Zn);break;case"onScroll":o!=null&&Ct("scroll",e);break;case"onScrollEnd":o!=null&&Ct("scrollend",e);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(s=o.__html,s!=null){if(f.children!=null)throw Error(r(60));e.innerHTML=s}}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}s=Go(""+o),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s);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(s,""+o):e.removeAttribute(s);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(s,""):e.removeAttribute(s);break;case"capture":case"download":o===!0?e.setAttribute(s,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(s,o):e.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?e.setAttribute(s,o):e.removeAttribute(s);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(s):e.setAttribute(s,o);break;case"popover":Ct("beforetoggle",e),Ct("toggle",e),Bo(e,"popover",o);break;case"xlinkActuate":In(e,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":In(e,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":In(e,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":In(e,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":In(e,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":In(e,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":In(e,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":In(e,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":In(e,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":Bo(e,"is",o);break;case"innerText":case"textContent":break;default:(!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(s=Kw.get(s)||s,Bo(e,s,o))}}function Ff(e,a,s,o,f,d){switch(s){case"style":Zm(e,o,d);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(s=o.__html,s!=null){if(f.children!=null)throw Error(r(60));e.innerHTML=s}}break;
vendor: 5,948 bytes, line 49
49case"children":typeof o=="string"?as(e,o):(typeof o=="number"||typeof o=="bigint")&&as(e,""+o);break;case"onScroll":o!=null&&Ct("scroll",e);break;case"onScrollEnd":o!=null&&Ct("scrollend",e);break;case"onClick":o!=null&&(e.onclick=Zn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Bm.hasOwnProperty(s))t:{if(s[0]==="o"&&s[1]==="n"&&(f=s.endsWith("Capture"),a=s.slice(2,f?s.length-7:void 0),d=e[Le]||null,d=d!=null?d[s]:null,typeof d=="function"&&e.removeEventListener(a,d,f),typeof o=="function")){typeof d!="function"&&d!==null&&(s in e?e[s]=null:e.hasAttribute(s)&&e.removeAttribute(s)),e.addEventListener(a,o,f);break t}s in e?e[s]=o:o===!0?e.setAttribute(s,""):Bo(e,s,o)}}}function we(e,a,s){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ct("error",e),Ct("load",e);var o=!1,f=!1,d;for(d in s)if(s.hasOwnProperty(d)){var x=s[d];if(x!=null)switch(d){case"src":o=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,a));default:Vt(e,a,d,x,s,null)}}f&&Vt(e,a,"srcSet",s.srcSet,s,null),o&&Vt(e,a,"src",s.src,s,null);return;case"input":Ct("invalid",e);var S=d=x=f=null,O=null,L=null;for(o in s)if(s.hasOwnProperty(o)){var X=s[o];if(X!=null)switch(o){case"name":f=X;break;case"type":x=X;break;case"checked":O=X;break;case"defaultChecked":L=X;break;case"value":d=X;break;case"defaultValue":S=X;break;case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(r(137,a));break;default:Vt(e,a,o,X,s,null)}}Ym(e,d,S,O,L,x,f,!1);return;case"select":Ct("invalid",e),o=x=d=null;for(f in s)if(s.hasOwnProperty(f)&&(S=s[f],S!=null))switch(f){case"value":d=S;break;case"defaultValue":x=S;break;case"multiple":o=S;default:Vt(e,a,f,S,s,null)}a=d,s=x,e.multiple=!!o,a!=null?ns(e,!!o,a,!1):s!=null&&ns(e,!!o,s,!0);return;case"textarea":Ct("invalid",e),d=f=o=null;for(x in s)if(s.hasOwnProperty(x)&&(S=s[x],S!=null))switch(x){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:Vt(e,a,x,S,s,null)}Xm(e,o,f,d);return;case"option":for(O in s)if(s.hasOwnProperty(O)&&(o=s[O],o!=null))switch(O){case"selected":e.selected=o&&typeof o!="function"&&typeof o!="symbol";break;default:Vt(e,a,O,o,s,null)}return;case"dialog":Ct("beforetoggle",e),Ct("toggle",e),Ct("cancel",e),Ct("close",e);break;case"iframe":case"object":Ct("load",e);break;case"video":case"audio":for(o=0;o<Fr.length;o++)Ct(Fr[o],e);break;case"image":Ct("error",e),Ct("load",e);break;case"details":Ct("toggle",e);break;case"embed":case"source":case"link":Ct("error",e),Ct("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(L in s)if(s.hasOwnProperty(L)&&(o=s[L],o!=null))switch(L){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,a));default:Vt(e,a,L,o,s,null)}return;default:if(iu(a)){for(X in s)s.hasOwnProperty(X)&&(o=s[X],o!==void 0&&Ff(e,a,X,o,s,void 0));return}}for(S in s)s.hasOwnProperty(S)&&(o=s[S],o!=null&&Vt(e,a,S,o,s,null))}function bT(e,a,s,o){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,d=null,x=null,S=null,O=null,L=null,X=null;for(F in s){var Z=s[F];if(s.hasOwnProperty(F)&&Z!=null)switch(F){case"checked":break;case"value":break;case"defaultValue":O=Z;default:o.hasOwnProperty(F)||Vt(e,a,F,null,o,Z)}}for(var B in o){var F=o[B];if(Z=s[B],o.hasOwnProperty(B)&&(F!=null||Z!=null))switch(B){case"type":d=F;break;case"name":f=F;break;case"checked":L=F;break;case"defaultChecked":X=F;break;case"value":x=F;break;case"defaultValue":S=F;break;case"children":case"dangerouslySetInnerHTML":if(F!=null)throw Error(r(137,a));break;default:F!==Z&&Vt(e,a,B,F,o,Z)}}nu(e,x,S,O,L,X,d,f);return;case"select":F=x=S=B=null;for(d in s)if(O=s[d],s.hasOwnProperty(d)&&O!=null)switch(d){case"value":break;case"multiple":F=O;default:o.hasOwnProperty(d)||Vt(e,a,d,null,o,O)}for(f in o)if(d=o[f],O=s[f],o.hasOwnProperty(f)&&(d!=null||O!=null))switch(f){case"value":B=d;break;case"defaultValue":S=d;break;case"multiple":x=d;default:d!==O&&Vt(e,a,f,d,o,O)}a=S,s=x,o=F,B!=null?ns(e,!!s,B,!1):!!o!=!!s&&(a!=null?ns(e,!!s,a,!0):ns(e,!!s,s?[]:"",!1));return;case"textarea":F=B=null;for(S in s)if(f=s[S],s.hasOwnProperty(S)&&f!=null&&!o.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:Vt(e,a,S,null,o,f)}for(x in o)if(f=o[x],d=s[x],o.hasOwnProperty(x)&&(f!=null||d!=null))switch(x){case"value":B=f;break;case"defaultValue":F=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(r(91));break;default:f!==d&&Vt(e,a,x,f,o,d)}Km(e,B,F);return;case"option":for(var ft in s)if(B=s[ft],s.hasOwnProperty(ft)&&B!=null&&!o.hasOwnProperty(ft))switch(ft){case"selected":e.selected=!1;break;default:Vt(e,a,ft,null,o,B)}for(O in o)if(B=o[O],F=s[O],o.hasOwnProperty(O)&&B!==F&&(B!=null||F!=null))switch(O){case"selected":e.selected=B&&typeof B!="function"&&typeof B!="symbol";break;default:Vt(e,a,O,B,o,F)}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 s)B=s[yt],s.hasOwnProperty(yt)&&B!=null&&!o.hasOwnProperty(yt)&&Vt(e,a,yt,null,o,B);for(L in o)if(B=o[L],F=s[L],o.hasOwnProperty(L)&&B!==F&&(B!=null||F!=null))switch(L){case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(r(137,a));break;default:Vt(e,a,L,B,o,F)}return;default:if(iu(a)){for(var Bt in s)B=s[Bt],s.hasOwnProperty(Bt)&&B!==void 0&&!o.hasOwnProperty(Bt)&&Ff(e,a,Bt,void 0,o,B);for(X in o)B=o[X],F=s[X],!o.hasOwnProperty(X)||B===F||B===void 0&&F===void 0||Ff(e,a,X,B,o,F);return}}for(var P in s)B=s[P],s.hasOwnProperty(P)&&B!=null&&!o.hasOwnProperty(P)&&Vt(e,a,P,null,o,B);
vendor: 13,960 bytes, line 49
49for(Z in o)B=o[Z],F=s[Z],!o.hasOwnProperty(Z)||B===F||B==null&&F==null||Vt(e,a,Z,B,o,F)}function $y(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function ST(){if(typeof performance.getEntriesByType=="function"){for(var e=0,a=0,s=performance.getEntriesByType("resource"),o=0;o<s.length;o++){var f=s[o],d=f.transferSize,x=f.initiatorType,S=f.duration;if(d&&S&&$y(x)){for(x=0,S=f.responseEnd,o+=1;o<s.length;o++){var O=s[o],L=O.startTime;if(L>S)break;var X=O.transferSize,Z=O.initiatorType;X&&$y(Z)&&(O=O.responseEnd,x+=X*(O<S?1:(S-L)/(O-L)))}if(--o,a+=8*(d+x)/(f.duration/1e3),e++,10<e)break}}if(0<e)return a/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Yf=null,Kf=null;function Ll(e){return e.nodeType===9?e:e.ownerDocument}function Jy(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 Wy(e,a){if(e===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&a==="foreignObject"?0:e}function Xf(e,a){return e==="textarea"||e==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var If=null;function wT(){var e=window.event;return e&&e.type==="popstate"?e===If?!1:(If=e,!0):(If=null,!1)}var tv=typeof setTimeout=="function"?setTimeout:void 0,TT=typeof clearTimeout=="function"?clearTimeout:void 0,ev=typeof Promise=="function"?Promise:void 0,ET=typeof queueMicrotask=="function"?queueMicrotask:typeof ev<"u"?function(e){return ev.resolve(null).then(e).catch(AT)}:tv;function AT(e){setTimeout(function(){throw e})}function qa(e){return e==="head"}function nv(e,a){var s=a,o=0;do{var f=s.nextSibling;if(e.removeChild(s),f&&f.nodeType===8)if(s=f.data,s==="/$"||s==="/&"){if(o===0){e.removeChild(f),zs(a);return}o--}else if(s==="$"||s==="$?"||s==="$~"||s==="$!"||s==="&")o++;else if(s==="html")Kr(e.ownerDocument.documentElement);else if(s==="head"){s=e.ownerDocument.head,Kr(s);for(var d=s.firstChild;d;){var x=d.nextSibling,S=d.nodeName;d[fr]||S==="SCRIPT"||S==="STYLE"||S==="LINK"&&d.rel.toLowerCase()==="stylesheet"||s.removeChild(d),d=x}}else s==="body"&&Kr(e.ownerDocument.body);s=f}while(s);zs(a)}function av(e,a){var s=e;e=0;do{var o=s.nextSibling;if(s.nodeType===1?a?(s._stashedDisplay=s.style.display,s.style.display="none"):(s.style.display=s._stashedDisplay||"",s.getAttribute("style")===""&&s.removeAttribute("style")):s.nodeType===3&&(a?(s._stashedText=s.nodeValue,s.nodeValue=""):s.nodeValue=s._stashedText||""),o&&o.nodeType===8)if(s=o.data,s==="/$"){if(e===0)break;e--}else s!=="$"&&s!=="$?"&&s!=="$~"&&s!=="$!"||e++;s=o}while(s)}function Zf(e){var a=e.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var s=a;switch(a=a.nextSibling,s.nodeName){case"HTML":case"HEAD":case"BODY":Zf(s),tu(s);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(s.rel.toLowerCase()==="stylesheet")continue}e.removeChild(s)}}function CT(e,a,s,o){for(;e.nodeType===1;){var f=s;if(e.nodeName.toLowerCase()!==a.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[fr])switch(a){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(a==="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=pn(e.nextSibling),e===null)break}return null}function OT(e,a,s){if(a==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!s||(e=pn(e.nextSibling),e===null))return null;return e}function iv(e,a){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=pn(e.nextSibling),e===null))return null;return e}function $f(e){return e.data==="$?"||e.data==="$~"}function Jf(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function jT(e,a){var s=e.ownerDocument;if(e.data==="$~")e._reactRetry=a;else if(e.data!=="$?"||s.readyState!=="loading")a();else{var o=function(){a(),s.removeEventListener("DOMContentLoaded",o)};s.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function pn(e){for(;e!=null;e=e.nextSibling){var a=e.nodeType;if(a===1||a===3)break;if(a===8){if(a=e.data,a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"||a==="F!"||a==="F")break;if(a==="/$"||a==="/&")return null}}return e}var Wf=null;function sv(e){e=e.nextSibling;for(var a=0;e;){if(e.nodeType===8){var s=e.data;if(s==="/$"||s==="/&"){if(a===0)return pn(e.nextSibling);a--}else s!=="$"&&s!=="$!"&&s!=="$?"&&s!=="$~"&&s!=="&"||a++}e=e.nextSibling}return null}function rv(e){e=e.previousSibling;for(var a=0;e;){if(e.nodeType===8){var s=e.data;if(s==="$"||s==="$!"||s==="$?"||s==="$~"||s==="&"){if(a===0)return e;a--}else s!=="/$"&&s!=="/&"||a++}e=e.previousSibling}return null}function ov(e,a,s){switch(a=Ll(s),e){case"html":if(e=a.documentElement,!e)throw Error(r(452));return e;case"head":if(e=a.head,!e)throw Error(r(453));return e;case"body":if(e=a.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function Kr(e){for(var a=e.attributes;a.length;)e.removeAttributeNode(a[0]);tu(e)}var gn=new Map,lv=new Set;function Vl(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var da=H.d;H.d={f:NT,r:MT,D:RT,C:DT,L:_T,m:zT,X:HT,S:PT,M:UT};function NT(){var e=da.f(),a=Rl();return e||a}function MT(e){var a=Wi(e);a!==null&&a.tag===5&&a.type==="form"?Ag(a):da.r(e)}var Rs=typeof document>"u"?null:document;function cv(e,a,s){var o=Rs;if(o&&typeof a=="string"&&a){var f=ln(a);f='link[rel="'+e+'"][href="'+f+'"]',typeof s=="string"&&(f+='[crossorigin="'+s+'"]'),lv.has(f)||(lv.add(f),e={rel:e,crossOrigin:s,href:a},o.querySelector(f)===null&&(a=o.createElement("link"),we(a,"link",e),me(a),o.head.appendChild(a)))}}function RT(e){da.D(e),cv("dns-prefetch",e,null)}function DT(e,a){da.C(e,a),cv("preconnect",e,a)}function _T(e,a,s){da.L(e,a,s);var o=Rs;if(o&&e&&a){var f='link[rel="preload"][as="'+ln(a)+'"]';a==="image"&&s&&s.imageSrcSet?(f+='[imagesrcset="'+ln(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(f+='[imagesizes="'+ln(s.imageSizes)+'"]')):f+='[href="'+ln(e)+'"]';var d=f;switch(a){case"style":d=Ds(e);break;case"script":d=_s(e)}gn.has(d)||(e=y({rel:"preload",href:a==="image"&&s&&s.imageSrcSet?void 0:e,as:a},s),gn.set(d,e),o.querySelector(f)!==null||a==="style"&&o.querySelector(Xr(d))||a==="script"&&o.querySelector(Ir(d))||(a=o.createElement("link"),we(a,"link",e),me(a),o.head.appendChild(a)))}}function zT(e,a){da.m(e,a);var s=Rs;if(s&&e){var o=a&&typeof a.as=="string"?a.as:"script",f='link[rel="modulepreload"][as="'+ln(o)+'"][href="'+ln(e)+'"]',d=f;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=_s(e)}if(!gn.has(d)&&(e=y({rel:"modulepreload",href:e},a),gn.set(d,e),s.querySelector(f)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(Ir(d)))return}o=s.createElement("link"),we(o,"link",e),me(o),s.head.appendChild(o)}}}function PT(e,a,s){da.S(e,a,s);var o=Rs;if(o&&e){var f=ts(o).hoistableStyles,d=Ds(e);a=a||"default";var x=f.get(d);if(!x){var S={loading:0,preload:null};if(x=o.querySelector(Xr(d)))S.loading=5;else{e=y({rel:"stylesheet",href:e,"data-precedence":a},s),(s=gn.get(d))&&td(e,s);var O=x=o.createElement("link");me(O),we(O,"link",e),O._p=new Promise(function(L,X){O.onload=L,O.onerror=X}),O.addEventListener("load",function(){S.loading|=1}),O.addEventListener("error",function(){S.loading|=2}),S.loading|=4,Bl(x,a,o)}x={type:"stylesheet",instance:x,count:1,state:S},f.set(d,x)}}}function HT(e,a){da.X(e,a);var s=Rs;if(s&&e){var o=ts(s).hoistableScripts,f=_s(e),d=o.get(f);d||(d=s.querySelector(Ir(f)),d||(e=y({src:e,async:!0},a),(a=gn.get(f))&&ed(e,a),d=s.createElement("script"),me(d),we(d,"link",e),s.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(f,d))}}function UT(e,a){da.M(e,a);var s=Rs;if(s&&e){var o=ts(s).hoistableScripts,f=_s(e),d=o.get(f);d||(d=s.querySelector(Ir(f)),d||(e=y({src:e,async:!0,type:"module"},a),(a=gn.get(f))&&ed(e,a),d=s.createElement("script"),me(d),we(d,"link",e),s.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(f,d))}}function uv(e,a,s,o){var f=(f=mt.current)?Vl(f):null;if(!f)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(a=Ds(s.href),s=ts(f).hoistableStyles,o=s.get(a),o||(o={type:"style",instance:null,count:0,state:null},s.set(a,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){e=Ds(s.href);var d=ts(f).hoistableStyles,x=d.get(e);if(x||(f=f.ownerDocument||f,x={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,x),(d=f.querySelector(Xr(e)))&&!d._p&&(x.instance=d,x.state.loading=5),gn.has(e)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},gn.set(e,s),d||kT(f,e,s,x.state))),a&&o===null)throw Error(r(528,""));return x}if(a&&o!==null)throw Error(r(529,""));return null;case"script":return a=s.async,s=s.src,typeof s=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=_s(s),s=ts(f).hoistableScripts,o=s.get(a),o||(o={type:"script",instance:null,count:0,state:null},s.set(a,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Ds(e){return'href="'+ln(e)+'"'}function Xr(e){return'link[rel="stylesheet"]['+e+"]"}function fv(e){return y({},e,{"data-precedence":e.precedence,precedence:null})}function kT(e,a,s,o){e.querySelector('link[rel="preload"][as="style"]['+a+"]")?o.loading=1:(a=e.createElement("link"),o.preload=a,a.addEventListener("load",function(){return o.loading|=1}),a.addEventListener("error",function(){return o.loading|=2}),we(a,"link",s),me(a),e.head.appendChild(a))}function _s(e){return'[src="'+ln(e)+'"]'}function Ir(e){return"script[async]"+e}function dv(e,a,s){if(a.count++,a.instance===null)switch(a.type){case"style":var o=e.querySelector('style[data-href~="'+ln(s.href)+'"]');if(o)return a.instance=o,me(o),o;var f=y({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),me(o),we(o,"style",f),Bl(o,s.precedence,e),a.instance=o;case"stylesheet":f=Ds(s.href);var d=e.querySelector(Xr(f));if(d)return a.state.loading|=4,a.instance=d,me(d),d;o=fv(s),(f=gn.get(f))&&td(o,f),d=(e.ownerDocument||e).createElement("link"),me(d);var x=d;return x._p=new Promise(function(S,O){x.onload=S,x.onerror=O}),we(d,"link",o),a.state.loading|=4,Bl(d,s.precedence,e),a.instance=d;case"script":return d=_s(s.src),(f=e.querySelector(Ir(d)))?(a.instance=f,me(f),f):(o=s,(f=gn.get(d))&&(o=y({},s),ed(o,f)),e=e.ownerDocument||e,f=e.createElement("script"),me(f),we(f,"link",o),e.head.appendChild(f),a.instance=f);case"void":return null;default:throw Error(r(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(o=a.instance,a.state.loading|=4,Bl(o,s.precedence,e));return a.instance}function Bl(e,a,s){for(var o=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=o.length?o[o.length-1]:null,d=f,x=0;x<o.length;x++){var S=o[x];if(S.dataset.precedence===a)d=S;else if(d!==f)break}d?d.parentNode.insertBefore(e,d.nextSibling):(a=s.nodeType===9?s.head:s,a.insertBefore(e,a.firstChild))}function td(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.title==null&&(e.title=a.title)}function ed(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.integrity==null&&(e.integrity=a.integrity)}var ql=null;function hv(e,a,s){if(ql===null){var o=new Map,f=ql=new Map;f.set(s,o)}else f=ql,o=f.get(s),o||(o=new Map,f.set(s,o));if(o.has(e))return o;for(o.set(e,null),s=s.getElementsByTagName(e),f=0;f<s.length;f++){var d=s[f];if(!(d[fr]||d[ve]||e==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var x=d.getAttribute(a)||"";x=e+x;var S=o.get(x);S?S.push(d):o.set(x,[d])}}return o}function mv(e,a,s){e=e.ownerDocument||e,e.head.insertBefore(s,a==="title"?e.querySelector("head > title"):null)}function LT(e,a,s){if(s===1||a.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return e=a.disabled,typeof a.precedence=="string"&&e==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function pv(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function VT(e,a,s,o){if(s.type==="stylesheet"&&(typeof o.media!="str
49ing"||matchMedia(o.media).matches!==!1)&&(s.state.loading&4)===0){if(s.instance===null){var f=Ds(o.href),d=a.querySelector(Xr(f));if(d){a=d._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(e.count++,e=Ql.bind(e),a.then(e,e)),s.state.loading|=4,s.instance=d,me(d);return}d=a.ownerDocument||a,o=fv(o),(f=gn.get(f))&&td(o,f),d=d.createElement("link"),me(d);var x=d;x._p=new Promise(function(S,O){x.onload=S,x.onerror=O}),we(d,"link",o),s.instance=d}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(s,a),(a=s.state.preload)&&(s.state.loading&3)===0&&(e.count++,s=Ql.bind(e),a.addEventListener("load",s),a.addEventListener("error",s))}}var nd=0;function BT(e,a){return e.stylesheets&&e.count===0&&Fl(e,e.stylesheets),0<e.count||0<e.imgCount?function(s){var o=setTimeout(function(){if(e.stylesheets&&Fl(e,e.stylesheets),e.unsuspend){var d=e.unsuspend;e.unsuspend=null,d()}},6e4+a);0<e.imgBytes&&nd===0&&(nd=62500*ST());var f=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Fl(e,e.stylesheets),e.unsuspend)){var d=e.unsuspend;e.unsuspend=null,d()}},(e.imgBytes>nd?50:800)+a);return e.unsuspend=s,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(f)}}:null}function Ql(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Fl(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Gl=null;function Fl(e,a){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Gl=new Map,a.forEach(qT,e),Gl=null,Ql.call(e))}function qT(e,a){if(!(a.state.loading&4)){var s=Gl.get(e);if(s)var o=s.get(null);else{s=new Map,Gl.set(e,s);for(var f=e.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<f.length;d++){var x=f[d];(x.nodeName==="LINK"||x.getAttribute("media")!=="not all")&&(s.set(x.dataset.precedence,x),o=x)}o&&s.set(null,o)}f=a.instance,x=f.getAttribute("data-precedence"),d=s.get(x)||o,d===o&&s.set(null,f),s.set(x,f),this.count++,o=Ql.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)),a.state.loading|=4}}var Zr={$$typeof:q,Provider:null,Consumer:null,_currentValue:z,_currentValue2:z,_threadCount:0};function QT(e,a,s,o,f,d,x,S,O){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=Ta(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ta(0),this.hiddenUpdates=Ta(null),this.identifierPrefix=o,this.onUncaughtError=f,this.onCaughtError=d,this.onRecoverableError=x,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=O,this.incompleteTransitions=new Map}function gv(e,a,s,o,f,d,x,S,O,L,X,Z){return e=new QT(e,a,s,x,O,L,X,Z,S),a=1,d===!0&&(a|=24),d=Ze(3,null,null,a),e.current=d,d.stateNode=e,a=zu(),a.refCount++,e.pooledCache=a,a.refCount++,d.memoizedState={element:o,isDehydrated:s,cache:a},ku(d),e}function yv(e){return e?(e=us,e):us}function vv(e,a,s,o,f,d){f=yv(f),o.context===null?o.context=f:o.pendingContext=f,o=Ra(a),o.payload={element:s},d=d===void 0?null:d,d!==null&&(o.callback=d),s=Da(e,o,a),s!==null&&(Fe(s,e,a),jr(s,e,a))}function xv(e,a){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var s=e.retryLane;e.retryLane=s!==0&&s<a?s:a}}function ad(e,a){xv(e,a),(e=e.alternate)&&xv(e,a)}function bv(e){if(e.tag===13||e.tag===31){var a=vi(e,67108864);a!==null&&Fe(a,e,67108864),ad(e,67108864)}}function Sv(e){if(e.tag===13||e.tag===31){var a=en();a=Zi(a);var s=vi(e,a);s!==null&&Fe(s,e,a),ad(e,a)}}var Yl=!0;function GT(e,a,s,o){var f=j.T;j.T=null;var d=H.p;try{H.p=2,id(e,a,s,o)}finally{H.p=d,j.T=f}}function FT(e,a,s,o){var f=j.T;j.T=null;var d=H.p;try{H.p=8,id(e,a,s,o)}finally{H.p=d,j.T=f}}function id(e,a,s,o){if(Yl){var f=sd(o);if(f===null)Gf(e,a,o,Kl,s),Tv(e,o);else if(KT(f,e,a,s,o))o.stopPropagation();else if(Tv(e,o),a&4&&-1<YT.indexOf(e)){for(;f!==null;){var d=Wi(f);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var x=Dn(d.pendingLanes);if(x!==0){var S=d;for(S.pendingLanes|=2,S.entangledLanes|=2;x;){var O=1<<31-Ee(x);S.entanglements[1]|=O,x&=~O}Hn(d),(Ht&6)===0&&(Nl=Re()+500,Gr(0))}}break;case 31:case 13:S=vi(d,2),S!==null&&Fe(S,d,2),Rl(),ad(d,2)}if(d=sd(o),d===null&&Gf(e,a,o,Kl,s),d===f)break;f=d}f!==null&&o.stopPropagation()}else Gf(e,a,o,null,s)}}function sd(e){return e=ru(e),rd(e)}var Kl=null;function rd(e){if(Kl=null,e=Ji(e),e!==null){var a=c(e);if(a===null)e=null;else{var s=a.tag;if(s===13){if(e=u(a),e!==null)return e;e=null}else if(s===31){if(e=h(a),e!==null)return e;e=null}else if(s===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;e=null}else a!==e&&(e=null)}}return Kl=e,null}function wv(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close"
vendor: 6,256 bytes, line 49
49: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(Zc()){case ci:return 2;case Lo:return 8;case ui:case cr:return 32;case Xn:return 268435456;default:return 32}default:return 32}}var od=!1,Qa=null,Ga=null,Fa=null,$r=new Map,Jr=new Map,Ya=[],YT="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 Tv(e,a){switch(e){case"focusin":case"focusout":Qa=null;break;case"dragenter":case"dragleave":Ga=null;break;case"mouseover":case"mouseout":Fa=null;break;case"pointerover":case"pointerout":$r.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":Jr.delete(a.pointerId)}}function Wr(e,a,s,o,f,d){return e===null||e.nativeEvent!==d?(e={blockedOn:a,domEventName:s,eventSystemFlags:o,nativeEvent:d,targetContainers:[f]},a!==null&&(a=Wi(a),a!==null&&bv(a)),e):(e.eventSystemFlags|=o,a=e.targetContainers,f!==null&&a.indexOf(f)===-1&&a.push(f),e)}function KT(e,a,s,o,f){switch(a){case"focusin":return Qa=Wr(Qa,e,a,s,o,f),!0;case"dragenter":return Ga=Wr(Ga,e,a,s,o,f),!0;case"mouseover":return Fa=Wr(Fa,e,a,s,o,f),!0;case"pointerover":var d=f.pointerId;return $r.set(d,Wr($r.get(d)||null,e,a,s,o,f)),!0;case"gotpointercapture":return d=f.pointerId,Jr.set(d,Wr(Jr.get(d)||null,e,a,s,o,f)),!0}return!1}function Ev(e){var a=Ji(e.target);if(a!==null){var s=c(a);if(s!==null){if(a=s.tag,a===13){if(a=u(s),a!==null){e.blockedOn=a,km(e.priority,function(){Sv(s)});return}}else if(a===31){if(a=h(s),a!==null){e.blockedOn=a,km(e.priority,function(){Sv(s)});return}}else if(a===3&&s.stateNode.current.memoizedState.isDehydrated){e.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Xl(e){if(e.blockedOn!==null)return!1;for(var a=e.targetContainers;0<a.length;){var s=sd(e.nativeEvent);if(s===null){s=e.nativeEvent;var o=new s.constructor(s.type,s);su=o,s.target.dispatchEvent(o),su=null}else return a=Wi(s),a!==null&&bv(a),e.blockedOn=s,!1;a.shift()}return!0}function Av(e,a,s){Xl(e)&&s.delete(a)}function XT(){od=!1,Qa!==null&&Xl(Qa)&&(Qa=null),Ga!==null&&Xl(Ga)&&(Ga=null),Fa!==null&&Xl(Fa)&&(Fa=null),$r.forEach(Av),Jr.forEach(Av)}function Il(e,a){e.blockedOn===a&&(e.blockedOn=null,od||(od=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,XT)))}var Zl=null;function Cv(e){Zl!==e&&(Zl=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Zl===e&&(Zl=null);for(var a=0;a<e.length;a+=3){var s=e[a],o=e[a+1],f=e[a+2];if(typeof o!="function"){if(rd(o||s)===null)continue;break}var d=Wi(s);d!==null&&(e.splice(a,3),a-=3,sf(d,{pending:!0,data:f,method:s.method,action:o},o,f))}}))}function zs(e){function a(O){return Il(O,e)}Qa!==null&&Il(Qa,e),Ga!==null&&Il(Ga,e),Fa!==null&&Il(Fa,e),$r.forEach(a),Jr.forEach(a);for(var s=0;s<Ya.length;s++){var o=Ya[s];o.blockedOn===e&&(o.blockedOn=null)}for(;0<Ya.length&&(s=Ya[0],s.blockedOn===null);)Ev(s),s.blockedOn===null&&Ya.shift();if(s=(e.ownerDocument||e).$$reactFormReplay,s!=null)for(o=0;o<s.length;o+=3){var f=s[o],d=s[o+1],x=f[Le]||null;if(typeof d=="function")x||Cv(s);else if(x){var S=null;if(d&&d.hasAttribute("formAction")){if(f=d,x=d[Le]||null)S=x.formAction;else if(rd(f)!==null)continue}else S=x.action;typeof S=="function"?s[o+1]=S:(s.splice(o,3),o-=3),Cv(s)}}}function Ov(){function e(d){d.canIntercept&&d.info==="react-transition"&&d.intercept({handler:function(){return new Promise(function(x){return f=x})},focusReset:"manual",scroll:"manual"})}function a(){f!==null&&(f(),f=null),o||setTimeout(s,20)}function s(){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",a),navigation.addEventListener("navigateerror",a),setTimeout(s,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",a),navigation.removeEventListener("navigateerror",a),f!==null&&(f(),f=null)}}}function ld(e){this._internalRoot=e}$l.prototype.render=ld.prototype.render=function(e){var a=this._internalRoot;if(a===null)throw Error(r(409));var s=a.current,o=en();vv(s,o,e,a,null,null)},$l.prototype.unmount=ld.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var a=e.containerInfo;vv(e.current,2,null,e,null,null),Rl(),a[$i]=null}};function $l(e){this._internalRoot=e}$l.prototype.unstable_scheduleHydration=function(e){if(e){var a=Jc();e={blockedOn:null,target:e,priority:a};for(var s=0;s<Ya.length&&a!==0&&a<Ya[s].priority;s++);Ya.splice(s,0,e),s===0&&Ev(e)}};var jv=n.version;if(jv!=="19.2.1")throw Error(r(527,jv,"19.2.1"));H.findDOMNode=function(e){var a=e._reactInternals;if(a===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=p(a),e=e!==null?g(e):null,e=e===null?null:e.stateNode,e};var IT={bundleType:0,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:j,reconcilerVersion:"19.2.1"};
49if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Jl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Jl.isDisabled&&Jl.supportsFiber)try{fi=Jl.inject(IT),De=Jl}catch{}}return no.createRoot=function(e,a){if(!l(e))throw Error(r(299));var s=!1,o="",f=Pg,d=Hg,x=Ug;return a!=null&&(a.unstable_strictMode===!0&&(s=!0),a.identifierPrefix!==void 0&&(o=a.identifierPrefix),a.onUncaughtError!==void 0&&(f=a.onUncaughtError),a.onCaughtError!==void 0&&(d=a.onCaughtError),a.onRecoverableError!==void 0&&(x=a.onRecoverableError)),a=gv(e,1,!1,null,null,s,o,null,f,d,x,Ov),e[$i]=a.current,Qf(e),new ld(a)},no.hydrateRoot=function(e,a,s){if(!l(e))throw Error(r(299));var o=!1,f="",d=Pg,x=Hg,S=Ug,O=null;return s!=null&&(s.unstable_strictMode===!0&&(o=!0),s.identifierPrefix!==void 0&&(f=s.identifierPrefix),s.onUncaughtError!==void 0&&(d=s.onUncaughtError),s.onCaughtError!==void 0&&(x=s.onCaughtError),s.onRecoverableError!==void 0&&(S=s.onRecoverableError),s.formState!==void 0&&(O=s.formState)),a=gv(e,1,!0,a,s??null,o,f,O,d,x,S,Ov),a.context=yv(null),s=a.current,o=en(),o=Zi(o),f=Ra(o),f.callback=null,Da(s,f,o),s=o,a.current.lanes=s,Xt(a,s),Hn(a),e[$i]=a.current,Qf(e),new $l(a)},no.version="19.2.1",no}var e0;function pC(){if(e0)return pd.exports;e0=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(),pd.exports=mC(),pd.exports}var gC=pC(),yC=(function(){function t(){this.keyToValue=new Map,this.valueToKey=new Map}return t.prototype.set=function(n,i){this.keyToValue.set(n,i),this.valueToKey.set(i,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})(),Bb=(function(){function t(n){this.generateIdentifier=n,this.kv=new yC}return t.prototype.register=function(n,i){this.kv.getByValue(n)||(i||(i=this.generateIdentifier(n)),this.kv.set(i,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})(),vC=(function(){var t=function(n,i){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,i)};return function(n,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");t(n,i);function r(){this.constructor=n}n.prototype=i===null?Object.create(i):(r.prototype=i.prototype,new r)}})(),xC=(function(t){vC(n,t);function n(){var i=t.call(this,function(r){return r.name})||this;return i.classToAllowedProps=new Map,i}return n.prototype.register=function(i,r){typeof r=="object"?(r.allowProps&&this.classToAllowedProps.set(i,r.allowProps),t.prototype.register.call(this,i,r.identifier)):t.prototype.register.call(this,i,r)},n.prototype.getAllowedProps=function(i){return this.classToAllowedProps.get(i)},n})(Bb),bC=function(t,n){var i=typeof Symbol=="function"&&t[Symbol.iterator];if(!i)return t;var r=i.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&&(i=r.return)&&i.call(r)}finally{if(u)throw u.error}}return c};function SC(t){if("values"in Object)return Object.values(t);var n=[];for(var i in t)t.hasOwnProperty(i)&&n.push(t[i]);return n}function wC(t,n){var i=SC(t);if("find"in i)return i.find(n);for(var r=i,l=0;l<r.length;l++){var c=r[l];if(n(c))return c}}function Ks(t,n){Object.entries(t).forEach(function(i){var r=bC(i,2),l=r[0],c=r[1];return n(c,l)})}function mc(t,n){return t.indexOf(n)!==-1}function n0(t,n){for(var i=0;i<t.length;i++){var r=t[i];if(n(r))return r}}var TC=(function(){function t(){this.transfomers={}}return t.prototype.register=function(n){this.transfomers[n.name]=n},t.prototype.findApplicable=function(n){return wC(this.transfomers,function(i){return i.isApplicable(n)})},t.prototype.findByName=function(n){return this.transfomers[n]},t})(),EC=function(t){return Object.prototype.toString.call(t).slice(8,-1)},qb=function(t){return typeof t>"u"},AC=function(t){return t===null},yo=function(t){return typeof t!="object"||t===null||t===Object.prototype?!1:Object.getPrototypeOf(t)===null?!0:Object.getPrototypeOf(t)===Object.prototype},eh=function(t){return yo(t)&&Object.keys(t).length===0},ei=function(t){return Array.isArray(t)},CC=function(t){return typeof t=="string"},OC=function(t){return typeof t=="number"&&!isNaN(t)},jC=function(t){return typeof t=="boolean"},NC=function(t){return t instanceof RegExp},vo=function(t){return t instanceof Map},xo=function(t){return t instanceof Set},Qb=function(t){return EC(t)==="Symbol"},MC=function(t){return t instanceof Date&&!isNaN(t.valueOf())},RC=function(t){return t instanceof Error},a0=function(t){return typeof t=="number"&&isNaN(t)},DC=function(t){return jC(t)||AC(t)||qb(t)||OC(t)||CC(t)||Qb(t)},_C=function(t){return typeof t=="bigint"},zC=function(t){return t===1/0||t===-1/0},PC=function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)},HC=function(t){return t instanceof URL},Gb=function(t){return t.replace(/\./g,"\\.")},xd=function(t){return t.map(String).map(Gb).join(".")},oo=function(t){for(var n=[],i="",r=0;r<t.length;r++){var l=t.charAt(r),c=l==="\\"&&t.charAt(r+1)===".";if(c){i+=".",r++;continue}var u=l===".";if(u){n.push(i),i="";continue}i+=l}var h=i;return n.push(h),n},nh=function(){return nh=Object.assign||function(t){for(var n,i=1,r=arguments.length;i<r;i++){n=arguments[i];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(t[l]=n[l])}return t},nh.apply(this,arguments)},ah=function(t,n){var i=typeof Symbol=="function"&&t[Symbol.iterator];if(!i)return t;var r=i.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&&(i=r.return)&&i.call(r)}finally{if(u)throw u.error}}return c},ih=function(t,n){for(var i=0,r=n.length,l=t.length;i<r;i++,l++)t[l]=n[i];return t};function Un(t,n,i,r){return{isApplicable:t,annotation:n,transform:i,untransform:r}}var Fb=[Un(qb,"undefined",function(){return null},function(){}),Un(_C,"bigint",function(t){return t.toString()},function(t){return typeof BigInt<"u"?BigInt(t):(console.error("Please add a BigInt polyfill."),t)}),Un(MC,"Date",function(t){return t.toISOString()},function(t){return new Date(t)}),Un(RC,"Error",function(t,n){var i={name:t.name,message:t.message};return n.allowedErrorProps.forEach(function(r){i[r]=t[r]}),i},function(t,n){var i=new Error(t.message);return i.name=t.name,i.stack=t.stack,n.allowedErrorProps.forEach(function(r){i[r]=t[r]}),i}),Un(NC,"regexp",function(t){return""+t},function(t){var n=t.slice(1,t.lastIndexOf("/")),i=t.slice(t.lastIndexOf("/")+1);return new RegExp(n,i)}
49),Un(xo,"set",function(t){return ih([],ah(t.values()))},function(t){return new Set(t)}),Un(vo,"map",function(t){return ih([],ah(t.entries()))},function(t){return new Map(t)}),Un(function(t){return a0(t)||zC(t)},"number",function(t){return a0(t)?"NaN":t>0?"Infinity":"-Infinity"},Number),Un(function(t){return t===0&&1/t===-1/0},"number",function(){return"-0"},Number),Un(HC,"URL",function(t){return t.toString()},function(t){return new URL(t)})];function Uc(t,n,i,r){return{isApplicable:t,annotation:n,transform:i,untransform:r}}var Yb=Uc(function(t,n){if(Qb(t)){var i=!!n.symbolRegistry.getIdentifier(t);return i}return!1},function(t,n){var i=n.symbolRegistry.getIdentifier(t);return["symbol",i]},function(t){return t.description},function(t,n,i){var r=i.symbolRegistry.getValue(n[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),UC=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce(function(t,n){return t[n.name]=n,t},{}),Kb=Uc(PC,function(t){return["typed-array",t.constructor.name]},function(t){return ih([],ah(t))},function(t,n){var i=UC[n[1]];if(!i)throw new Error("Trying to deserialize unknown typed array");return new i(t)});function Xb(t,n){if(t?.constructor){var i=!!n.classRegistry.getIdentifier(t.constructor);return i}return!1}var Ib=Uc(Xb,function(t,n){var i=n.classRegistry.getIdentifier(t.constructor);return["class",i]},function(t,n){var i=n.classRegistry.getAllowedProps(t.constructor);if(!i)return nh({},t);var r={};return i.forEach(function(l){r[l]=t[l]}),r},function(t,n,i){var r=i.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)}),Zb=Uc(function(t,n){return!!n.customTransformerRegistry.findApplicable(t)},function(t,n){var i=n.customTransformerRegistry.findApplicable(t);return["custom",i.name]},function(t,n){var i=n.customTransformerRegistry.findApplicable(t);return i.serialize(t)},function(t,n,i){var r=i.customTransformerRegistry.findByName(n[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(t)}),kC=[Ib,Yb,Zb,Kb],i0=function(t,n){var i=n0(kC,function(l){return l.isApplicable(t,n)});if(i)return{value:i.transform(t,n),type:i.annotation(t,n)};var r=n0(Fb,function(l){return l.isApplicable(t,n)});if(r)return{value:r.transform(t,n),type:r.annotation}},$b={};Fb.forEach(function(t){$b[t.annotation]=t});var LC=function(t,n,i){if(ei(n))switch(n[0]){case"symbol":return Yb.untransform(t,n,i);case"class":return Ib.untransform(t,n,i);case"custom":return Zb.untransform(t,n,i);case"typed-array":return Kb.untransform(t,n,i);default:throw new Error("Unknown transformation: "+n)}else{var r=$b[n];if(!r)throw new Error("Unknown transformation: "+n);return r.untransform(t,i)}},Us=function(t,n){for(var i=t.keys();n>0;)i.next(),n--;return i.next().value};function Jb(t){if(mc(t,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(mc(t,"prototype"))throw new Error("prototype is not allowed as a property");if(mc(t,"constructor"))throw new Error("constructor is not allowed as a property")}var VC=function(t,n){Jb(n);for(var i=0;i<n.length;i++){var r=n[i];if(xo(t))t=Us(t,+r);else if(vo(t)){var l=+r,c=+n[++i]==0?"key":"value",u=Us(t,l);switch(c){case"key":t=u;break;case"value":t=t.get(u);break}}else t=t[r]}return t},sh=function(t,n,i){if(Jb(n),n.length===0)return i(t);for(var r=t,l=0;l<n.length-1;l++){var c=n[l];if(ei(r)){var u=+c;r=r[u]}else if(yo(r))r=r[c];else if(xo(r)){var h=+c;r=Us(r,h)}else if(vo(r)){var m=l===n.length-2;if(m)break;var h=+c,p=+n[++l]==0?"key":"value",g=Us(r,h);switch(p){case"key":r=g;break;case"value":r=r.get(g);break}}}var y=n[n.length-1];if(ei(r)?r[+y]=i(r[+y]):yo(r)&&(r[y]=i(r[y])),xo(r)){var b=Us(r,+y),w=i(b);b!==w&&(r.delete(b),r.add(w))}if(vo(r)){var h=+n[n.length-2],T=Us(r,h),p=+y==0?"key":"value";switch(p){case"key":{var E=i(T);r.set(E,r.get(T)),E!==T&&r.delete(T);break}case"value":{r.set(T,i(r.get(T)));break}}}return t},pa=function(t,n){var i=typeof Symbol=="function"&&t[Symbol.iterator];if(!i)return t;var r=i.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&&(i=r.return)&&i.call(r)}finally{if(u)throw u.error}}return c},Ja=function(t,n){for(var i=0,r=n.length,l=t.length;i<r;i++,l++)t[l]=n[i];return t};function rh(t,n,i){if(i===void 0&&(i=[]),!!t){if(!ei(t)){Ks(t,function(u,h){return rh(u,n,Ja(Ja([],pa(i)),pa(oo(h))))});return}var r=pa(t,2),l=r[0],c=r[1];c&&Ks(c,function(u,h){rh(u,n,Ja(Ja([],pa(i)),pa(oo(h))))}),n(l,i)}}function BC(t,n,i){return rh(n,function(r,l){t=sh(t,l,function(c){return LC(c,r,i)})}),t}function qC(t,n){function i(u,h){var m=VC(t,oo(h));
49u.map(oo).forEach(function(p){t=sh(t,p,function(){return m})})}if(ei(n)){var r=pa(n,2),l=r[0],c=r[1];l.forEach(function(u){t=sh(t,oo(u),function(){return t})}),c&&Ks(c,i)}else Ks(n,i);return t}var QC=function(t,n){return yo(t)||ei(t)||vo(t)||xo(t)||Xb(t,n)};function GC(t,n,i){var r=i.get(t);r?r.push(n):i.set(t,[n])}function FC(t,n){var i={},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=pa(l),u=c[0],h=c.slice(1);u.length===0?r=h.map(xd):i[xd(u)]=h.map(xd)}}),r?eh(i)?[r]:[r,i]:eh(i)?void 0:i}var Wb=function(t,n,i,r,l,c,u){var h;l===void 0&&(l=[]),c===void 0&&(c=[]),u===void 0&&(u=new Map);var m=DC(t);if(!m){GC(t,l,n);var p=u.get(t);if(p)return r?{transformedValue:null}:p}if(!QC(t,i)){var g=i0(t,i),y=g?{transformedValue:g.value,annotations:[g.type]}:{transformedValue:t};return m||u.set(t,y),y}if(mc(c,t))return{transformedValue:null};var b=i0(t,i),w=(h=b?.value)!==null&&h!==void 0?h:t,T=ei(w)?[]:{},E={};Ks(w,function(N,Q){var q=Wb(N,n,i,r,Ja(Ja([],pa(l)),[Q]),Ja(Ja([],pa(c)),[t]),u);T[Q]=q.transformedValue,ei(q.annotations)?E[Q]=q.annotations:yo(q.annotations)&&Ks(q.annotations,function($,U){E[Gb(Q)+"."+U]=$})});var D=eh(E)?{transformedValue:T,annotations:b?[b.type]:void 0}:{transformedValue:T,annotations:b?[b.type,E]:E};return m||u.set(t,D),D};function t1(t){return Object.prototype.toString.call(t).slice(8,-1)}function s0(t){return t1(t)==="Array"}function YC(t){if(t1(t)!=="Object")return!1;const n=Object.getPrototypeOf(t);return!!n&&n.constructor===Object&&n===Object.prototype}function KC(t,n,i,r,l){const c={}.propertyIsEnumerable.call(r,n)?"enumerable":"nonenumerable";c==="enumerable"&&(t[n]=i),l&&c==="nonenumerable"&&Object.defineProperty(t,n,{value:i,enumerable:!1,writable:!0,configurable:!0})}function oh(t,n={}){if(s0(t))return t.map(l=>oh(l,n));if(!YC(t))return t;const i=Object.getOwnPropertyNames(t),r=Object.getOwnPropertySymbols(t);return[...i,...r].reduce((l,c)=>{if(s0(n.props)&&!n.props.includes(c))return l;const u=t[c],h=oh(u,n);return KC(l,c,h,t,n.nonenumerable),l},{})}var zi=function(){return zi=Object.assign||function(t){for(var n,i=1,r=arguments.length;i<r;i++){n=arguments[i];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(t[l]=n[l])}return t},zi.apply(this,arguments)},XC=function(t,n){var i=typeof Symbol=="function"&&t[Symbol.iterator];if(!i)return t;var r=i.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&&(i=r.return)&&i.call(r)}finally{if(u)throw u.error}}return c},IC=function(t,n){for(var i=0,r=n.length,l=t.length;i<r;i++,l++)t[l]=n[i];return t},ba=(function(){function t(n){var i=n===void 0?{}:n,r=i.dedupe,l=r===void 0?!1:r;this.classRegistry=new xC,this.symbolRegistry=new Bb(function(c){var u;return(u=c.description)!==null&&u!==void 0?u:""}),this.customTransformerRegistry=new TC,this.allowedErrorProps=[],this.dedupe=l}return t.prototype.serialize=function(n){var i=new Map,r=Wb(n,i,this,this.dedupe),l={json:r.transformedValue};r.annotations&&(l.meta=zi(zi({},l.meta),{values:r.annotations}));var c=FC(i,this.dedupe);return c&&(l.meta=zi(zi({},l.meta),{referentialEqualities:c})),l},t.prototype.deserialize=function(n){var i=n.json,r=n.meta,l=oh(i);return r?.values&&(l=BC(l,r.values,this)),r?.referentialEqualities&&(l=qC(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,i){this.classRegistry.register(n,i)},t.prototype.registerSymbol=function(n,i){this.symbolRegistry.register(n,i)},t.prototype.registerCustom=function(n,i){this.customTransformerRegistry.register(zi({name:i},n))},t.prototype.allowErrorProps=function(){for(var n,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];(n=this.allowedErrorProps).push.apply(n,IC([],XC(i)))},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})();ba.serialize;ba.deserialize;ba.stringify;ba.parse;ba.registerClass;ba.registerCustom;ba.registerSymbol;ba.allowErrorProps;var ZC=(t,n,i,r,l,c,u,h)=>{let m=document.documentElement,p=["light","dark"];
vendor: 7,464 bytes, line 49
49function g(w){(Array.isArray(t)?t:[t]).forEach(T=>{let E=T==="class",D=E&&c?l.map(N=>c[N]||N):l;E?(m.classList.remove(...D),m.classList.add(c&&c[w]?c[w]:w)):m.setAttribute(T,w)}),y(w)}function y(w){h&&p.includes(w)&&(m.style.colorScheme=w)}function b(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(r)g(r);else try{let w=localStorage.getItem(n)||i,T=u&&w==="system"?b():w;g(T)}catch{}},$C=A.createContext(void 0),JC={setTheme:t=>{},themes:[]},WC=()=>{var t;return(t=A.useContext($C))!=null?t:JC};A.memo(({forcedTheme:t,storageKey:n,attribute:i,enableSystem:r,enableColorScheme:l,defaultTheme:c,value:u,themes:h,nonce:m,scriptProps:p})=>{let g=JSON.stringify([i,n,c,t,h,u,r,l]).slice(1,-1);return A.createElement("script",{...p,suppressHydrationWarning:!0,nonce:typeof window>"u"?m:"",dangerouslySetInnerHTML:{__html:`(${ZC.toString()})(${g})`}})});var Xh=Vb();const t3=tb(Xh);function e3(t){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",n.appendChild(i),i.styleSheet?i.styleSheet.cssText=t:i.appendChild(document.createTextNode(t))}const n3=t=>{switch(t){case"success":return s3;case"info":return o3;case"warning":return r3;case"error":return l3;default:return null}},a3=Array(12).fill(0),i3=({visible:t,className:n})=>it.createElement("div",{className:["sonner-loading-wrapper",n].filter(Boolean).join(" "),"data-visible":t},it.createElement("div",{className:"sonner-spinner"},a3.map((i,r)=>it.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),s3=it.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},it.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"})),r3=it.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},it.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"})),o3=it.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},it.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"})),l3=it.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},it.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"})),c3=it.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"},it.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),it.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),u3=()=>{const[t,n]=it.useState(document.hidden);return it.useEffect(()=>{const i=()=>{n(document.hidden)};return document.addEventListener("visibilitychange",i),()=>window.removeEventListener("visibilitychange",i)},[]),t};let lh=1;class f3{constructor(){this.subscribe=n=>(this.subscribers.push(n),()=>{const i=this.subscribers.indexOf(n);this.subscribers.splice(i,1)}),this.publish=n=>{this.subscribers.forEach(i=>i(n))},this.addToast=n=>{this.publish(n),this.toasts=[...this.toasts,n]},this.create=n=>{var i;const{message:r,...l}=n,c=typeof n?.id=="number"||((i=n.id)==null?void 0:i.length)>0?n.id:lh++,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(i=>i({id:n,dismiss:!0})))):this.toasts.forEach(i=>{this.subscribers.forEach(r=>r({id:i.id,dismiss:!0}))}),n),this.message=(n,i)=>this.create({...i,message:n}),this.error=(n,i)=>this.create({...i,message:n,type:"error"}),this.success=(n,i)=>this.create({...i,type:"success",message:n}),this.info=(n,i)=>this.create({...i,type:"info",message:n}),this.warning=(n,i)=>this.create({...i,type:"warning",message:n}),this.loading=(n,i)=>this.create({...i,type:"loading",message:n}),this.promise=(n,i)=>{if(!i)return;let r;i.loading!==void 0&&(r=this.create({...i,promise:n,type:"loading",message:i.loading,description:typeof i.description!="function"?i.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],it.isValidElement(p))c=!1,this.create({id:r,type:"default",message:p});else if(h3(p)&&!p.ok){c=!1;const y=typeof i.error=="function"?await i.error(`HTTP error! status: ${p.status}`):i.error,b=typeof i.description=="function"?await i.description(`HTTP error! status: ${p.status}`):i.description,T=typeof y=="object"&&!it.isValidElement(y)?y:{message:y};this.create({id:r,type:"error",description:b,...T})}else if(p instanceof Error){c=!1;const y=typeof i.error=="function"?await i.error(p):i.error,b=typeof i.description=="function"?await i.description(p):i.description,T=typeof y=="object"&&!it.isValidElement(y)?y:{message:y};this.create({id:r,type:"error",description:b,...T})}else if(i.success!==void 0){c=!1;const y=typeof i.success=="function"?await i.success(p):i.success,b=typeof i.description=="function"?await i.description(p):i.description,T=typeof y=="object"&&!it.isValidElement(y)?y:{message:y};this.create({id:r,type:"success",description:b,...T})}}).catch(async p=>{if(u=["reject",p],i.error!==void 0){c=!1;const g=typeof i.error=="function"?await i.error(p):i.error,y=typeof i.description=="function"?await i.description(p):i.description,w=typeof g=="object"&&!it.isValidElement(g)?g:{message:g};this.create({id:r,type:"error",description:y,...w})}}).finally(()=>{c&&(this.dismiss(r),r=void 0),i.finally==null||i.finally.call(i)}),m=()=>new Promise((p,g)=>h.then(()=>u[0]==="reject"?g(u[1]):p(u[1])).catch(g));return typeof r!="string"&&typeof r!="number"?{unwrap:m}:Object.assign(r,{unwrap:m})},this.custom=(n,i)=>{const r=i?.id||lh++;return this.create({jsx:n(r),id:r,...i}),r},this.getActiveToasts=()=>this.toasts.filter(n=>!this.dismissedToasts.has(n.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Ye=new f3,d3=(t,n)=>{const i=n?.id||lh++;return Ye.addToast({title:t,...n,id:i}),i},h3=t=>t&&typeof t=="object"&&"ok"in t&&typeof t.ok=="boolean"&&"status"in t&&typeof t.status=="number",m3=d3,p3=()=>Ye.toasts,g3=()=>Ye.getActiveToasts(),bd=Object.assign(m3,{success:Ye.success,info:Ye.info,warning:Ye.warning,error:Ye.error,custom:Ye.custom,message:Ye.message,promise:Ye.promise,dismiss:Ye.dismiss,loading:Ye.loading},{getHistory:p3,getToasts:g3});e3
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
49ac(t){return t.label!==void 0}const y3=3,v3="24px",x3="16px",r0=4e3,b3=356,S3=14,w3=45,T3=200;function kn(...t){return t.filter(Boolean).join(" ")}function E3(t){const[n,i]=t.split("-"),r=[];return n&&r.push(n),i&&r.push(i),r}const A3=t=>{var n,i,r,l,c,u,h,m,p;const{invert:g,toast:y,unstyled:b,interacting:w,setHeights:T,visibleToasts:E,heights:D,index:N,toasts:Q,expanded:q,removeToast:$,defaultRichColors:U,closeButton:G,style:R,cancelButtonStyle:_,actionButtonStyle:J,className:W="",descriptionClassName:at="",duration:tt,position:st,gap:rt,expandByDefault:ct,classNames:j,icons:H,closeButtonAriaLabel:z="Close toast"}=t,[nt,lt]=it.useState(null),[C,Y]=it.useState(null),[V,K]=it.useState(!1),[et,mt]=it.useState(!1),[ut,xt]=it.useState(!1),[Nt,ge]=it.useState(!1),[Ne,ye]=it.useState(!1),[Kn,Sn]=it.useState(0),[sr,Ki]=it.useState(0),li=it.useRef(y.duration||tt||r0),rr=it.useRef(null),Xe=it.useRef(null),or=N===0,lr=N+1<=E,Me=y.type,Sa=y.dismissible!==!1,Re=y.className||"",Zc=y.descriptionClassName||"",ci=it.useMemo(()=>D.findIndex(bt=>bt.toastId===y.id)||0,[D,y.id]),Lo=it.useMemo(()=>{var bt;return(bt=y.closeButton)!=null?bt:G},[y.closeButton,G]),ui=it.useMemo(()=>y.duration||tt||r0,[y.duration,tt]),cr=it.useRef(0),Xn=it.useRef(0),Vo=it.useRef(0),wa=it.useRef(null),[fi,De]=st.split("-"),wn=it.useMemo(()=>D.reduce((bt,Ft,he)=>he>=ci?bt:bt+Ft.height,0),[D,ci]),Ee=u3(),$c=y.invert||g,ur=Me==="loading";Xn.current=it.useMemo(()=>ci*rt+wn,[ci,wn]),it.useEffect(()=>{li.current=ui},[ui]),it.useEffect(()=>{K(!0)},[]),it.useEffect(()=>{const bt=Xe.current;if(bt){const Ft=bt.getBoundingClientRect().height;return Ki(Ft),T(he=>[{toastId:y.id,height:Ft,position:y.position},...he]),()=>T(he=>he.filter(Ae=>Ae.toastId!==y.id))}},[T,y.id]),it.useLayoutEffect(()=>{if(!V)return;const bt=Xe.current,Ft=bt.style.height;bt.style.height="auto";const he=bt.getBoundingClientRect().height;bt.style.height=Ft,Ki(he),T(Ae=>Ae.find(Xt=>Xt.toastId===y.id)?Ae.map(Xt=>Xt.toastId===y.id?{...Xt,height:he}:Xt):[{toastId:y.id,height:he,position:y.position},...Ae])},[V,y.title,y.description,T,y.id,y.jsx,y.action,y.cancel]);const Rn=it.useCallback(()=>{mt(!0),Sn(Xn.current),T(bt=>bt.filter(Ft=>Ft.toastId!==y.id)),setTimeout(()=>{$(y)},T3)},[y,$,T,Xn]);it.useEffect(()=>{if(y.promise&&Me==="loading"||y.duration===1/0||y.type==="loading")return;let bt;return q||w||Ee?(()=>{if(Vo.current<cr.current){const Ae=new Date().getTime()-cr.current;li.current=li.current-Ae}
vendor: 5,423 bytes, line 49
49Vo.current=new Date().getTime()})():(()=>{li.current!==1/0&&(cr.current=new Date().getTime(),bt=setTimeout(()=>{y.onAutoClose==null||y.onAutoClose.call(y,y),Rn()},li.current))})(),()=>clearTimeout(bt)},[q,w,y,Me,Ee,Rn]),it.useEffect(()=>{y.delete&&(Rn(),y.onDismiss==null||y.onDismiss.call(y,y))},[Rn,y.delete]);function Xi(){var bt;if(H?.loading){var Ft;return it.createElement("div",{className:kn(j?.loader,y==null||(Ft=y.classNames)==null?void 0:Ft.loader,"sonner-loader"),"data-visible":Me==="loading"},H.loading)}return it.createElement(i3,{className:kn(j?.loader,y==null||(bt=y.classNames)==null?void 0:bt.loader),visible:Me==="loading"})}const Ii=y.icon||H?.[Me]||n3(Me);var di,Dn;return it.createElement("li",{tabIndex:0,ref:Xe,className:kn(W,Re,j?.toast,y==null||(n=y.classNames)==null?void 0:n.toast,j?.default,j?.[Me],y==null||(i=y.classNames)==null?void 0:i[Me]),"data-sonner-toast":"","data-rich-colors":(di=y.richColors)!=null?di:U,"data-styled":!(y.jsx||y.unstyled||b),"data-mounted":V,"data-promise":!!y.promise,"data-swiped":Ne,"data-removed":et,"data-visible":lr,"data-y-position":fi,"data-x-position":De,"data-index":N,"data-front":or,"data-swiping":ut,"data-dismissible":Sa,"data-type":Me,"data-invert":$c,"data-swipe-out":Nt,"data-swipe-direction":C,"data-expanded":!!(q||ct&&V),"data-testid":y.testId,style:{"--index":N,"--toasts-before":N,"--z-index":Q.length-N,"--offset":`${et?Kn:Xn.current}px`,"--initial-height":ct?"auto":`${sr}px`,...R,...y.style},onDragEnd:()=>{xt(!1),lt(null),wa.current=null},onPointerDown:bt=>{bt.button!==2&&(ur||!Sa||(rr.current=new Date,Sn(Xn.current),bt.target.setPointerCapture(bt.pointerId),bt.target.tagName!=="BUTTON"&&(xt(!0),wa.current={x:bt.clientX,y:bt.clientY})))},onPointerUp:()=>{var bt,Ft,he;if(Nt||!Sa)return;wa.current=null;const Ae=Number(((bt=Xe.current)==null?void 0:bt.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Ta=Number(((Ft=Xe.current)==null?void 0:Ft.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Xt=new Date().getTime()-((he=rr.current)==null?void 0:he.getTime()),He=nt==="x"?Ae:Ta,hi=Math.abs(He)/Xt;if(Math.abs(He)>=w3||hi>.11){Sn(Xn.current),y.onDismiss==null||y.onDismiss.call(y,y),Y(nt==="x"?Ae>0?"right":"left":Ta>0?"down":"up"),Rn(),ge(!0);return}else{var Ue,ke;(Ue=Xe.current)==null||Ue.style.setProperty("--swipe-amount-x","0px"),(ke=Xe.current)==null||ke.style.setProperty("--swipe-amount-y","0px")}ye(!1),xt(!1),lt(null)},onPointerMove:bt=>{var Ft,he,Ae;if(!wa.current||!Sa||((Ft=window.getSelection())==null?void 0:Ft.toString().length)>0)return;const Xt=bt.clientY-wa.current.y,He=bt.clientX-wa.current.x;var hi;const Ue=(hi=t.swipeDirections)!=null?hi:E3(st);!nt&&(Math.abs(He)>1||Math.abs(Xt)>1)&<(Math.abs(He)>Math.abs(Xt)?"x":"y");let ke={x:0,y:0};const Zi=Tn=>1/(1.5+Math.abs(Tn)/20);if(nt==="y"){if(Ue.includes("top")||Ue.includes("bottom"))if(Ue.includes("top")&&Xt<0||Ue.includes("bottom")&&Xt>0)ke.y=Xt;else{const Tn=Xt*Zi(Xt);ke.y=Math.abs(Tn)<Math.abs(Xt)?Tn:Xt}}else if(nt==="x"&&(Ue.includes("left")||Ue.includes("right")))if(Ue.includes("left")&&He<0||Ue.includes("right")&&He>0)ke.x=He;else{const Tn=He*Zi(He);ke.x=Math.abs(Tn)<Math.abs(He)?Tn:He}(Math.abs(ke.x)>0||Math.abs(ke.y)>0)&&ye(!0),(he=Xe.current)==null||he.style.setProperty("--swipe-amount-x",`${ke.x}px`),(Ae=Xe.current)==null||Ae.style.setProperty("--swipe-amount-y",`${ke.y}px`)}},Lo&&!y.jsx&&Me!=="loading"?it.createElement("button",{"aria-label":z,"data-disabled":ur,"data-close-button":!0,onClick:ur||!Sa?()=>{}:()=>{Rn(),y.onDismiss==null||y.onDismiss.call(y,y)},className:kn(j?.closeButton,y==null||(r=y.classNames)==null?void 0:r.closeButton)},(Dn=H?.close)!=null?Dn:c3):null,(Me||y.icon||y.promise)&&y.icon!==null&&(H?.[Me]!==null||y.icon)?it.createElement("div",{"data-icon":"",className:kn(j?.icon,y==null||(l=y.classNames)==null?void 0:l.icon)},y.promise||y.type==="loading"&&!y.icon?y.icon||Xi():null,y.type!=="loading"?Ii:null):null,it.createElement("div",{"data-content":"",className:kn(j?.content,y==null||(c=y.classNames)==null?void 0:c.content)},it.createElement("div",{"data-title":"",className:kn(j?.title,y==null||(u=y.classNames)==null?void 0:u.title)},y.jsx?y.jsx:typeof y.title=="function"?y.title():y.title),y.description?it.createElement("div",{"data-description":"",className:kn(at,Zc,j?.description,y==null||(h=y.classNames)==null?void 0:h.description)},typeof y.description=="function"?y.description():y.description):null),it.isValidElement(y.cancel)?y.cancel:y.cancel&&ac(y.cancel)?it.createElement("button",{"data-button":!0,"data-cancel":!0,style:y.cancelButtonStyle||_,onClick:bt=>{ac(y.cancel)&&Sa&&(y.cancel.onClick==null||y.cancel.onClick.call(y.cancel,bt),Rn())},className:kn(j?.cancelButton,y==null||(m=y.classNames)==null?void 0:m.cancelButton)},y.cancel.label):null,it.isValidElement(y.action)?y.action:y.action&&ac(y.action)?it.createElement("button",{"data-button":!0,"data-action":!0,style:y.actionButtonStyle||J,onClick:bt=>{ac(y.action)&&(y.action.onClick==null||y.action.onClick.call(y.action,bt),!bt.defaultPrevented&&Rn())},className:kn(j?.actionButton,y==null||(p=y.classNames)==null?void 0:p.actionButton)},y.action.label):null)};function o0(){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 C3(t,n){const i={};
vendor: 4,557 bytes, line 49
49return[t,n].forEach((r,l)=>{const c=l===1,u=c?"--mobile-offset":"--offset",h=c?x3:v3;function m(p){["top","right","bottom","left"].forEach(g=>{i[`${u}-${g}`]=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?i[`${u}-${p}`]=h:i[`${u}-${p}`]=typeof r[p]=="number"?`${r[p]}px`:r[p]}):m(h)}),i}const O3=it.forwardRef(function(n,i){const{id:r,invert:l,position:c="bottom-right",hotkey:u=["altKey","KeyT"],expand:h,closeButton:m,className:p,offset:g,mobileOffset:y,theme:b="light",richColors:w,duration:T,style:E,visibleToasts:D=y3,toastOptions:N,dir:Q=o0(),gap:q=S3,icons:$,containerAriaLabel:U="Notifications"}=n,[G,R]=it.useState([]),_=it.useMemo(()=>r?G.filter(V=>V.toasterId===r):G.filter(V=>!V.toasterId),[G,r]),J=it.useMemo(()=>Array.from(new Set([c].concat(_.filter(V=>V.position).map(V=>V.position)))),[_,c]),[W,at]=it.useState([]),[tt,st]=it.useState(!1),[rt,ct]=it.useState(!1),[j,H]=it.useState(b!=="system"?b:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),z=it.useRef(null),nt=u.join("+").replace(/Key/g,"").replace(/Digit/g,""),lt=it.useRef(null),C=it.useRef(!1),Y=it.useCallback(V=>{R(K=>{var et;return(et=K.find(mt=>mt.id===V.id))!=null&&et.delete||Ye.dismiss(V.id),K.filter(({id:mt})=>mt!==V.id)})},[]);return it.useEffect(()=>Ye.subscribe(V=>{if(V.dismiss){requestAnimationFrame(()=>{R(K=>K.map(et=>et.id===V.id?{...et,delete:!0}:et))});return}setTimeout(()=>{t3.flushSync(()=>{R(K=>{const et=K.findIndex(mt=>mt.id===V.id);return et!==-1?[...K.slice(0,et),{...K[et],...V},...K.slice(et+1)]:[V,...K]})})})}),[G]),it.useEffect(()=>{if(b!=="system"){H(b);return}if(b==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?H("dark"):H("light")),typeof window>"u")return;const V=window.matchMedia("(prefers-color-scheme: dark)");try{V.addEventListener("change",({matches:K})=>{H(K?"dark":"light")})}catch{V.addListener(({matches:et})=>{try{H(et?"dark":"light")}catch(mt){console.error(mt)}})}},[b]),it.useEffect(()=>{G.length<=1&&st(!1)},[G]),it.useEffect(()=>{const V=K=>{var et;if(u.every(xt=>K[xt]||K.code===xt)){var ut;st(!0),(ut=z.current)==null||ut.focus()}K.code==="Escape"&&(document.activeElement===z.current||(et=z.current)!=null&&et.contains(document.activeElement))&&st(!1)};return document.addEventListener("keydown",V),()=>document.removeEventListener("keydown",V)},[u]),it.useEffect(()=>{if(z.current)return()=>{lt.current&&(lt.current.focus({preventScroll:!0}),lt.current=null,C.current=!1)}},[z.current]),it.createElement("section",{ref:i,"aria-label":`${U} ${nt}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},J.map((V,K)=>{var et;const[mt,ut]=V.split("-");return _.length?it.createElement("ol",{key:V,dir:Q==="auto"?o0():Q,tabIndex:-1,ref:z,className:p,"data-sonner-toaster":!0,"data-sonner-theme":j,"data-y-position":mt,"data-x-position":ut,style:{"--front-toast-height":`${((et=W[0])==null?void 0:et.height)||0}px`,"--width":`${b3}px`,"--gap":`${q}px`,...E,...C3(g,y)},onBlur:xt=>{C.current&&!xt.currentTarget.contains(xt.relatedTarget)&&(C.current=!1,lt.current&&(lt.current.focus({preventScroll:!0}),lt.current=null))},onFocus:xt=>{xt.target instanceof HTMLElement&&xt.target.dataset.dismissible==="false"||C.current||(C.current=!0,lt.current=xt.relatedTarget)},onMouseEnter:()=>st(!0),onMouseMove:()=>st(!0),onMouseLeave:()=>{rt||st(!1)},onDragEnd:()=>st(!1),onPointerDown:xt=>{xt.target instanceof HTMLElement&&xt.target.dataset.dismissible==="false"||ct(!0)},onPointerUp:()=>ct(!1)},_.filter(xt=>!xt.position&&K===0||xt.position===V).map((xt,Nt)=>{var ge,Ne;return it.createElement(A3,{key:xt.id,icons:$,index:Nt,toast:xt,defaultRichColors:w,duration:(ge=N?.duration)!=null?ge:T,className:N?.className,descriptionClassName:N?.descriptionClassName,invert:l,visibleToasts:D,closeButton:(Ne=N?.closeButton)!=null?Ne:m,interacting:rt,position:V,style:N?.style,unstyled:N?.unstyled,classNames:N?.classNames,cancelButtonStyle:N?.cancelButtonStyle,actionButtonStyle:N?.actionButtonStyle,closeButtonAriaLabel:N?.closeButtonAriaLabel,removeToast:Y,toasts:_.filter(ye=>ye.position==xt.position),heights:W.filter(ye=>ye.position==xt.position),setHeights:at,expandByDefault:h,gap:q,expanded:tt,swipeDirections:n.swipeDirections})})):null}))}),j3=({...t})=>{const{theme:n="system"}=WC();return v.jsx(O3,{"data-loc":"client/src/components/ui/sonner.tsx:8",theme:n,
vendor: 7,320 bytes, line 49
49className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...t})};function ma(t,n,{checkForDefaultPrevented:i=!0}={}){return function(l){if(t?.(l),i===!1||!l.defaultPrevented)return n?.(l)}}function l0(t,n){if(typeof t=="function")return t(n);t!=null&&(t.current=n)}function e1(...t){return n=>{let i=!1;const r=t.map(l=>{const c=l0(l,n);return!i&&typeof c=="function"&&(i=!0),c});if(i)return()=>{for(let l=0;l<r.length;l++){const c=r[l];typeof c=="function"?c():l0(t[l],null)}}}}function Fi(...t){return A.useCallback(e1(...t),t)}function n1(t,n=[]){let i=[];function r(c,u){const h=A.createContext(u),m=i.length;i=[...i,u];const p=y=>{const{scope:b,children:w,...T}=y,E=b?.[t]?.[m]||h,D=A.useMemo(()=>T,Object.values(T));return v.jsx(E.Provider,{value:D,children:w})};p.displayName=c+"Provider";function g(y,b){const w=b?.[t]?.[m]||h,T=A.useContext(w);if(T)return T;if(u!==void 0)return u;throw new Error(`\`${y}\` must be used within \`${c}\``)}return[p,g]}const l=()=>{const c=i.map(u=>A.createContext(u));return function(h){const m=h?.[t]||c;return A.useMemo(()=>({[`__scope${t}`]:{...h,[t]:m}}),[h,m])}};return l.scopeName=t,[r,N3(l,...n)]}function N3(...t){const n=t[0];if(t.length===1)return n;const i=()=>{const r=t.map(l=>({useScope:l(),scopeName:l.scopeName}));return function(c){const u=r.reduce((h,{useScope:m,scopeName:p})=>{const y=m(c)[`__scope${p}`];return{...h,...y}},{});return A.useMemo(()=>({[`__scope${n.scopeName}`]:u}),[u])}};return i.scopeName=n.scopeName,i}function a1(t){const n=R3(t),i=A.forwardRef((r,l)=>{const{children:c,...u}=r,h=A.Children.toArray(c),m=h.find(_3);if(m){const p=m.props.children,g=h.map(y=>y===m?A.Children.count(p)>1?A.Children.only(null):A.isValidElement(p)?p.props.children:null:y);return v.jsx(n,{...u,ref:l,children:A.isValidElement(p)?A.cloneElement(p,void 0,g):null})}return v.jsx(n,{...u,ref:l,children:c})});return i.displayName=`${t}.Slot`,i}var M3=a1("Slot");function R3(t){const n=A.forwardRef((i,r)=>{const{children:l,...c}=i;if(A.isValidElement(l)){const u=P3(l),h=z3(c,l.props);return l.type!==A.Fragment&&(h.ref=r?e1(r,u):u),A.cloneElement(l,h)}return A.Children.count(l)>1?A.Children.only(null):null});return n.displayName=`${t}.SlotClone`,n}var i1=Symbol("radix.slottable");function D3(t){const n=({children:i})=>v.jsx(v.Fragment,{children:i});return n.displayName=`${t}.Slottable`,n.__radixId=i1,n}function _3(t){return A.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===i1}function z3(t,n){const i={...n};for(const r in n){const l=t[r],c=n[r];/^on[A-Z]/.test(r)?l&&c?i[r]=(...h)=>{const m=c(...h);return l(...h),m}:l&&(i[r]=l):r==="style"?i[r]={...l,...c}:r==="className"&&(i[r]=[l,c].filter(Boolean).join(" "))}return{...t,...i}}function P3(t){let n=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,i=n&&"isReactWarning"in n&&n.isReactWarning;return i?t.ref:(n=Object.getOwnPropertyDescriptor(t,"ref")?.get,i=n&&"isReactWarning"in n&&n.isReactWarning,i?t.props.ref:t.props.ref||t.ref)}var H3=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Yi=H3.reduce((t,n)=>{const i=a1(`Primitive.${n}`),r=A.forwardRef((l,c)=>{const{asChild:u,...h}=l,m=u?i:n;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),v.jsx(m,{...h,ref:c})});return r.displayName=`Primitive.${n}`,{...t,[n]:r}},{});function U3(t,n){t&&Xh.flushSync(()=>t.dispatchEvent(n))}function kc(t){const n=A.useRef(t);return A.useEffect(()=>{n.current=t}),A.useMemo(()=>(...i)=>n.current?.(...i),[])}function k3(t,n=globalThis?.document){const i=kc(t);A.useEffect(()=>{const r=l=>{l.key==="Escape"&&i(l)};return n.addEventListener("keydown",r,{capture:!0}),()=>n.removeEventListener("keydown",r,{capture:!0})},[i,n])}var L3="DismissableLayer",ch="dismissableLayer.update",V3="dismissableLayer.pointerDownOutside",B3="dismissableLayer.focusOutside",c0,s1=A.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),r1=A.forwardRef((t,n)=>{const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:r,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:u,onDismiss:h,...m}=t,p=A.useContext(s1),[g,y]=A.useState(null),b=g?.ownerDocument??globalThis?.document,[,w]=A.useState({}),T=Fi(n,R=>y(R)),E=Array.from(p.layers),[D]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),N=E.indexOf(D),Q=g?E.indexOf(g):-1,q=p.layersWithOutsidePointerEventsDisabled.size>0,$=Q>=N,U=G3(R=>{const _=R.target,J=[...p.branches].some(W=>W.contains(_));!$||J||(l?.(R),u?.(R),R.defaultPrevented||h?.())},b),G=F3(R=>{const _=R.target;[...p.branches].some(W=>W.contains(_))||(c?.(R),u?.(R),R.defaultPrevented||h?.())},b);return k3(R=>{Q===p.layers.size-1&&(r?.(R),!R.defaultPrevented&&h&&(R.preventDefault(),h()))},b),A.useEffect(()=>{if(g)return i&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(c0=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(g)),p.layers.add(g),u0(),()=>{i&&p.layersWithOutsidePointerEventsDisabled.size===1&&(b.body.style.pointerEvents=c0)}},[g,b,i,p]),A.useEffect(()=>()=>{g&&(p.layers.delete(g),p.layersWithOutsidePointerEventsDisabled.delete(g),u0())},[g,p]),A.useEffect(()=>{const R=()=>w({});return document.addEventListener(ch,R),()=>document.removeEventListener(ch,R)},[]),v.jsx(Yi.div,{...m,ref:T,style:{pointerEvents:q?$?"auto":"none":void 0,...t.style},onFocusCapture:ma(t.onFocusCapture,G.onFocusCapture),onBlurCapture:ma(t.onBlurCapture,G.onBlurCapture),onPointerDownCapture:ma(t.onPointerDownCapture,U.onPointerDownCapture)})});r1.displayName=L3;var q3="DismissableLayerBranch",Q3=A.forwardRef((t,n)=>{const i=A.useContext(s1),r=A.useRef(null),l=Fi(n,r);return A.useEffect(()=>{const c=r.current;if(c)return i.branches.add(c),()=>{i.branches.delete(c)}},[i.branches]),v.jsx(Yi.div,{...t,ref:l})});Q3.displayName=q3;function G3(t,n=globalThis?.document){const i=kc(t),r=A.useRef(!1),l=A.useRef(()=>{});return A.useEffect(()=>{const c=h=>{if(h.target&&!r.current){let m=function(){o1(V3,i,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,i]),{onPointerDownCapture:()=>r.current=!0}}function F3(t,n=globalThis?.document){const i=kc(t),r=A.useRef(!1);return A.useEffect(()=>{const l=c=>{c.target&&!r.current&&o1(B3,i,{originalEvent:c},{discrete:!1})};return n.addEventListener("focusin",l),()=>n.removeEventListener("focusin",l)},[n,i]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function u0(){const t=new CustomEvent(ch);document.dispatchEvent(t)}function o1(t,n,i,{discrete:r}){const l=i.originalEvent.target,c=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:i});n&&l.addEventListener(t,n,{once:!0}),r?U3(l,c):l.dispatchEvent(c)}var bo=globalThis?.document?A.useLayoutEffect:()=>{};const Y3=["top","right","bottom","left"],ni=Math.min,an=Math.max,Sc=Math.round,ic=Math.floor,Bn=t=>({x:t,y:t}
vendor: 16,425 bytes, line 49
49),K3={left:"right",right:"left",bottom:"top",top:"bottom"},X3={start:"end",end:"start"};function uh(t,n,i){return an(t,ni(n,i))}function ga(t,n){return typeof t=="function"?t(n):t}function ya(t){return t.split("-")[0]}function Js(t){return t.split("-")[1]}function Ih(t){return t==="x"?"y":"x"}function Zh(t){return t==="y"?"height":"width"}const I3=new Set(["top","bottom"]);function Vn(t){return I3.has(ya(t))?"y":"x"}function $h(t){return Ih(Vn(t))}function Z3(t,n,i){i===void 0&&(i=!1);const r=Js(t),l=$h(t),c=Zh(l);let u=l==="x"?r===(i?"end":"start")?"right":"left":r==="start"?"bottom":"top";return n.reference[c]>n.floating[c]&&(u=wc(u)),[u,wc(u)]}function $3(t){const n=wc(t);return[fh(t),n,fh(n)]}function fh(t){return t.replace(/start|end/g,n=>X3[n])}const f0=["left","right"],d0=["right","left"],J3=["top","bottom"],W3=["bottom","top"];function tO(t,n,i){switch(t){case"top":case"bottom":return i?n?d0:f0:n?f0:d0;case"left":case"right":return n?J3:W3;default:return[]}}function eO(t,n,i,r){const l=Js(t);let c=tO(ya(t),i==="start",r);return l&&(c=c.map(u=>u+"-"+l),n&&(c=c.concat(c.map(fh)))),c}function wc(t){return t.replace(/left|right|bottom|top/g,n=>K3[n])}function nO(t){return{top:0,right:0,bottom:0,left:0,...t}}function l1(t){return typeof t!="number"?nO(t):{top:t,right:t,bottom:t,left:t}}function Tc(t){const{x:n,y:i,width:r,height:l}=t;return{width:r,height:l,top:i,left:n,right:n+r,bottom:i+l,x:n,y:i}}function h0(t,n,i){let{reference:r,floating:l}=t;const c=Vn(n),u=$h(n),h=Zh(u),m=ya(n),p=c==="y",g=r.x+r.width/2-l.width/2,y=r.y+r.height/2-l.height/2,b=r[h]/2-l[h]/2;let w;switch(m){case"top":w={x:g,y:r.y-l.height};break;case"bottom":w={x:g,y:r.y+r.height};break;case"right":w={x:r.x+r.width,y};break;case"left":w={x:r.x-l.width,y};break;default:w={x:r.x,y:r.y}}switch(Js(n)){case"start":w[u]-=b*(i&&p?-1:1);break;case"end":w[u]+=b*(i&&p?-1:1);break}return w}const aO=async(t,n,i)=>{const{placement:r="bottom",strategy:l="absolute",middleware:c=[],platform:u}=i,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:g,y}=h0(p,r,m),b=r,w={},T=0;for(let E=0;E<h.length;E++){const{name:D,fn:N}=h[E],{x:Q,y:q,data:$,reset:U}=await N({x:g,y,initialPlacement:r,placement:b,strategy:l,middlewareData:w,rects:p,platform:u,elements:{reference:t,floating:n}});g=Q??g,y=q??y,w={...w,[D]:{...w[D],...$}},U&&T<=50&&(T++,typeof U=="object"&&(U.placement&&(b=U.placement),U.rects&&(p=U.rects===!0?await u.getElementRects({reference:t,floating:n,strategy:l}):U.rects),{x:g,y}=h0(p,b,m)),E=-1)}return{x:g,y,placement:b,strategy:l,middlewareData:w}};async function So(t,n){var i;n===void 0&&(n={});const{x:r,y:l,platform:c,rects:u,elements:h,strategy:m}=t,{boundary:p="clippingAncestors",rootBoundary:g="viewport",elementContext:y="floating",altBoundary:b=!1,padding:w=0}=ga(n,t),T=l1(w),D=h[b?y==="floating"?"reference":"floating":y],N=Tc(await c.getClippingRect({element:(i=await(c.isElement==null?void 0:c.isElement(D)))==null||i?D:D.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(h.floating)),boundary:p,rootBoundary:g,strategy:m})),Q=y==="floating"?{x:r,y:l,width:u.floating.width,height:u.floating.height}:u.reference,q=await(c.getOffsetParent==null?void 0:c.getOffsetParent(h.floating)),$=await(c.isElement==null?void 0:c.isElement(q))?await(c.getScale==null?void 0:c.getScale(q))||{x:1,y:1}:{x:1,y:1},U=Tc(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:h,rect:Q,offsetParent:q,strategy:m}):Q);return{top:(N.top-U.top+T.top)/$.y,bottom:(U.bottom-N.bottom+T.bottom)/$.y,left:(N.left-U.left+T.left)/$.x,right:(U.right-N.right+T.right)/$.x}}const iO=t=>({name:"arrow",options:t,async fn(n){const{x:i,y:r,placement:l,rects:c,platform:u,elements:h,middlewareData:m}=n,{element:p,padding:g=0}=ga(t,n)||{};if(p==null)return{};const y=l1(g),b={x:i,y:r},w=$h(l),T=Zh(w),E=await u.getDimensions(p),D=w==="y",N=D?"top":"left",Q=D?"bottom":"right",q=D?"clientHeight":"clientWidth",$=c.reference[T]+c.reference[w]-b[w]-c.floating[T],U=b[w]-c.reference[w],G=await(u.getOffsetParent==null?void 0:u.getOffsetParent(p));let R=G?G[q]:0;(!R||!await(u.isElement==null?void 0:u.isElement(G)))&&(R=h.floating[q]||c.floating[T]);const _=$/2-U/2,J=R/2-E[T]/2-1,W=ni(y[N],J),at=ni(y[Q],J),tt=W,st=R-E[T]-at,rt=R/2-E[T]/2+_,ct=uh(tt,rt,st),j=!m.arrow&&Js(l)!=null&&rt!==ct&&c.reference[T]/2-(rt<tt?W:at)-E[T]/2<0,H=j?rt<tt?rt-tt:rt-st:0;return{[w]:b[w]+H,data:{[w]:ct,centerOffset:rt-ct-H,...j&&{alignmentOffset:H}},reset:j}}}),sO=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(n){var i,r;const{placement:l,middlewareData:c,rects:u,initialPlacement:h,platform:m,elements:p}=n,{mainAxis:g=!0,crossAxis:y=!0,fallbackPlacements:b,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:E=!0,...D}=ga(t,n);if((i=c.arrow)!=null&&i.alignmentOffset)return{};const N=ya(l),Q=Vn(h),q=ya(h)===h,$=await(m.isRTL==null?void 0:m.isRTL(p.floating)),U=b||(q||!E?[wc(h)]:$3(h)),G=T!=="none";!b&&G&&U.push(...eO(h,E,T,$));const R=[h,...U],_=await So(n,D),J=[];let W=((r=c.flip)==null?void 0:r.overflows)||[];if(g&&J.push(_[N]),y){const rt=Z3(l,u,$);J.push(_[rt[0]],_[rt[1]])}if(W=[...W,{placement:l,overflows:J}],!J.every(rt=>rt<=0)){var at,tt;const rt=(((at=c.flip)==null?void 0:at.index)||0)+1,ct=R[rt];if(ct&&(!(y==="alignment"?Q!==Vn(ct):!1)||W.every(z=>Vn(z.placement)===Q?z.overflows[0]>0:!0)))return{data:{index:rt,overflows:W},reset:{placement:ct}};let j=(tt=W.filter(H=>H.overflows[0]<=0).sort((H,z)=>H.overflows[1]-z.overflows[1])[0])==null?void 0:tt.placement;if(!j)switch(w){case"bestFit":{var st;const H=(st=W.filter(z=>{if(G){const nt=Vn(z.placement);return nt===Q||nt==="y"}return!0}).map(z=>[z.placement,z.overflows.filter(nt=>nt>0).reduce((nt,lt)=>nt+lt,0)]).sort((z,nt)=>z[1]-nt[1])[0])==null?void 0:st[0];H&&(j=H);break}case"initialPlacement":j=h;break}if(l!==j)return{reset:{placement:j}}}return{}}}};function m0(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function p0(t){return Y3.some(n=>t[n]>=0)}const rO=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(n){const{rects:i}=n,{strategy:r="referenceHidden",...l}=ga(t,n);switch(r){case"referenceHidden":{const c=await So(n,{...l,elementContext:"reference"}),u=m0(c,i.reference);return{data:{referenceHiddenOffsets:u,referenceHidden:p0(u)}}}case"escaped":{const c=await So(n,{...l,altBoundary:!0}),u=m0(c,i.floating);return{data:{escapedOffsets:u,escaped:p0(u)}}}default:return{}}}}},c1=new Set(["left","top"]);async function oO(t,n){const{placement:i,platform:r,elements:l}=t,c=await(r.isRTL==null?void 0:r.isRTL(l.floating)),u=ya(i),h=Js(i),m=Vn(i)==="y",p=c1.has(u)?-1:1,g=c&&m?-1:1,y=ga(n,t);let{mainAxis:b,crossAxis:w,alignmentAxis:T}=typeof y=="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:y.mainAxis||0,crossAxis:y.crossAxis||0,alignmentAxis:y.alignmentAxis};return h&&typeof T=="number"&&(w=h==="end"?T*-1:T),m?{x:w*g,y:b*p}:{x:b*p,y:w*g}}const lO=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(n){var i,r;const{x:l,y:c,placement:u,middlewareData:h}=n,m=await oO(n,t);return u===((i=h.offset)==null?void 0:i.placement)&&(r=h.arrow)!=null&&r.alignmentOffset?{}:{x:l+m.x,y:c+m.y,data:{...m,placement:u}}}}},cO=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(n){const{x:i,y:r,placement:l}=n,{mainAxis:c=!0,crossAxis:u=!1,limiter:h={fn:D=>{let{x:N,y:Q}=D;return{x:N,y:Q}}},...m}=ga(t,n),p={x:i,y:r},g=await So(n,m),y=Vn(ya(l)),b=Ih(y);let w=p[b],T=p[y];if(c){const D=b==="y"?"top":"left",N=b==="y"?"bottom":"right",Q=w+g[D],q=w-g[N];w=uh(Q,w,q)}if(u){const D=y==="y"?"top":"left",N=y==="y"?"bottom":"right",Q=T+g[D],q=T-g[N];T=uh(Q,T,q)}const E=h.fn({...n,[b]:w,[y]:T});return{...E,data:{x:E.x-i,y:E.y-r,enabled:{[b]:c,[y]:u}}}}}},uO=function(t){return t===void 0&&(t={}),{options:t,fn(n){const{x:i,y:r,placement:l,rects:c,middlewareData:u}=n,{offset:h=0,mainAxis:m=!0,crossAxis:p=!0}=ga(t,n),g={x:i,y:r},y=Vn(l),b=Ih(y);let w=g[b],T=g[y];const E=ga(h,n),D=typeof E=="number"?{mainAxis:E,crossAxis:0}:{mainAxis:0,crossAxis:0,...E};if(m){const q=b==="y"?"height":"width",$=c.reference[b]-c.floating[q]+D.mainAxis,U=c.reference[b]+c.reference[q]-D.mainAxis;w<$?w=$:w>U&&(w=U)}if(p){var N,Q;const q=b==="y"?"width":"height",$=c1.has(ya(l)),U=c.reference[y]-c.floating[q]+($&&((N=u.offset)==null?void 0:N[y])||0)+($?0:D.crossAxis),G=c.reference[y]+c.reference[q]+($?0:((Q=u.offset)==null?void 0:Q[y])||0)-($?D.crossAxis:0);T<U?T=U:T>G&&(T=G)}return{[b]:w,[y]:T}}}},fO=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(n){var i,r;const{placement:l,rects:c,platform:u,elements:h}=n,{apply:m=()=>{},...p}=ga(t,n),g=await So(n,p),y=ya(l),b=Js(l),w=Vn(l)==="y",{width:T,height:E}=c.floating;let D,N;y==="top"||y==="bottom"?(D=y,N=b===(await(u.isRTL==null?void 0:u.isRTL(h.floating))?"start":"end")?"left":"right"):(N=y,D=b==="end"?"top":"bottom");const Q=E-g.top-g.bottom,q=T-g.left-g.right,$=ni(E-g[D],Q),U=ni(T-g[N],q),G=!n.middlewareData.shift;let R=$,_=U;if((i=n.middlewareData.shift)!=null&&i.enabled.x&&(_=q),(r=n.middlewareData.shift)!=null&&r.enabled.y&&(R=Q),G&&!b){const W=an(g.left,0),at=an(g.right,0),tt=an(g.top,0),st=an(g.bottom,0);w?_=T-2*(W!==0||at!==0?W+at:an(g.left,g.right)):R=E-2*(tt!==0||st!==0?tt+st:an(g.top,g.bottom))}await m({...n,availableWidth:_,availableHeight:R});const J=await u.getDimensions(h.floating);return T!==J.width||E!==J.height?{reset:{rects:!0}}:{}}}};function Lc(){return typeof window<"u"}function Ws(t){return u1(t)?(t.nodeName||"").toLowerCase():"#document"}function rn(t){var n;return(t==null||(n=t.ownerDocument)==null?void 0:n.defaultView)||window}function Yn(t){var n;return(n=(u1(t)?t.ownerDocument:t.document)||window.document)==null?void 0:n.documentElement}function u1(t){return Lc()?t instanceof Node||t instanceof rn(t).Node:!1}function jn(t){return Lc()?t instanceof Element||t instanceof rn(t).Element:!1}function Gn(t){return Lc()?t instanceof HTMLElement||t instanceof rn(t).HTMLElement:!1}function g0(t){return!Lc()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof rn(t).ShadowRoot}const dO=new Set(["inline","contents"]);function _o(t){const{overflow:n,overflowX:i,overflowY:r,display:l}=Nn(t);return/auto|scroll|overlay|hidden|clip/.test(n+r+i)&&!dO.has(l)}const hO=new Set(["table","td","th"]);function mO(t){return hO.has(Ws(t))}const pO=[":popover-open",":modal"];function Vc(t){return pO.some(n=>{try{return t.matches(n)}catch{return!1}})}const gO=["transform","translate","scale","rotate","perspective"],yO=["transform","translate","scale","rotate","perspective","filter"],vO=["paint","layout","strict","content"];function Jh(t){const n=Wh(),i=jn(t)?Nn(t):t;return gO.some(r=>i[r]?i[r]!=="none":!1)||(i.containerType?i.containerType!=="normal":!1)||!n&&(i.backdropFilter?i.backdropFilter!=="none":!1)||!n&&(i.filter?i.filter!=="none":!1)||yO.some(r=>(i.willChange||"").includes(r))||vO.some(r=>(i.contain||"").includes(r))}function xO(t){let n=ai(t);for(;Gn(n)&&!Xs(n);){if(Jh(n))return n;if(Vc(n))return null;n=ai(n)}return null}function Wh(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const bO=new Set(["html","body","#document"]);function Xs(t){return bO.has(Ws(t))}function Nn(t){return rn(t).getComputedStyle(t)}function Bc(t){return jn(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function ai(t){if(Ws(t)==="html")return t;const n=t.assignedSlot||t.parentNode||g0(t)&&t.host||Yn(t);return g0(n)?n.host:n}function f1(t){const n=ai(t);return Xs(n)?t.ownerDocument?t.ownerDocument.body:t.body:Gn(n)&&_o(n)?n:f1(n)}function wo(t,n,i){var r;n===void 0&&(n=[]),i===void 0&&(i=!0);const l=f1(t),c=l===((r=t.ownerDocument)==null?void 0:r.body),u=rn(l);if(c){const h=dh(u);return n.concat(u,u.visualViewport||[],_o(l)?l:[],h&&i?wo(h):[])}return n.concat(l,wo(l,[],i))}function dh(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function d1(t){const n=Nn(t);let i=parseFloat(n.width)||0,r=parseFloat(n.height)||0;const l=Gn(t),c=l?t.offsetWidth:i,u=l?t.offsetHeight:r,h=Sc(i)!==c||Sc(r)!==u;return h&&(i=c,r=u),{width:i,height:r,$:h}}function tm(t){return jn(t)?t:t.contextElement}function Gs(t){const n=tm(t);if(!Gn(n))return Bn(1);const i=n.getBoundingClientRect(),{width:r,height:l,$:c}=d1(n);let u=(c?Sc(i.width):i.width)/r,h=(c?Sc(i.height):i.height)/l;return(!u||!Number.isFinite(u))&&(u=1),(!h||!Number.isFinite(h))&&(h=1),{x:u,y:h}}const SO=Bn(0);function h1(t){const n=rn(t);return!Wh()||!n.visualViewport?SO:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function wO(t,n,i){return n===void 0&&(n=!1),!i||n&&i!==rn(t)?!1:n}function Bi(t,n,i,r){n===void 0&&(n=!1),i===void 0&&(i=!1);const l=t.getBoundingClientRect(),c=tm(t);let u=Bn(1);n&&(r?jn(r)&&(u=Gs(r)):u=Gs(t));const h=wO(c,i,r)?h1(c):Bn(0);let m=(l.left+h.x)/u.x,p=(l.top+h.y)/u.y,g=l.width/u.x,y=l.height/u.y;if(c){const b=rn(c),w=r&&jn(r)?rn(r):r;let T=b,E=dh(T);for(;E&&r&&w!==T;){const D=Gs(E),N=E.getBoundingClientRect(),Q=Nn(E),q=N.left+(E.clientLeft+parseFloat(Q.paddingLeft))*D.x,$=N.top+(E.clientTop+parseFloat(Q.paddingTop))*D.y;m*=D.x,p*=D.y,g*=D.x,y*=D.y,m+=q,p+=$,T=rn(E),E=dh(T)}}return Tc({width:g,height:y,x:m,y:p})}function qc(t,n){const i=Bc(t).scrollLeft;return n?n.left+i:Bi(Yn(t)).left+i}function m1(t,n){const i=t.getBoundingClientRect(),r=i.left+n.scrollLeft-qc(t,i),l=i.top+n.scrollTop;return{x:r,y:l}}function TO(t){let{elements:n,rect:i,offsetParent:r,strategy:l}=t;const c=l==="fixed",u=Yn(r),h=n?Vc(n.floating):!1;if(r===u||h&&c)return i;let m={scrollLeft:0,scrollTop:0},p=Bn(1);const g=Bn(0),y=Gn(r);if((y||!y&&!c)&&((Ws(r)!=="body"||_o(u))&&(m=Bc(r)),Gn(r))){const w=Bi(r);p=Gs(r),g.x=w.x+r.clientLeft,g.y=w.y+r.clientTop}const b=u&&!y&&!c?m1(u,m):Bn(0);return{width:i.width*p.x,height:i.height*p.y,x:i.x*p.x-m.scrollLeft*p.x+g.x+b.x,y:i.y*p.y-m.scrollTop*p.y+g.y+b.y}}function EO(t){return Array.from(t.getClientRects())}function AO(t){const n=Yn(t),i=Bc(t),r=t.ownerDocument.body,l=an(n.scrollWidth,n.clientWidth,r.scrollWidth,r.clientWidth),c=an(n.scrollHeight,n.clientHeight,r.scrollHeight,r.clientHeight);let u=-i.scrollLeft+qc(t);const h=-i.scrollTop;return Nn(r).direction==="rtl"&&(u+=an(n.clientWidth,r.clientWidth)-l),{width:l,height:c,x:u,y:h}}const y0=25;function CO(t,n){const i=rn(t),r=Yn(t),l=i.visualViewport;let c=r.clientWidth,u=r.clientHeight,h=0,m=0;if(l){c=l.width,u=l.height;const g=Wh();(!g||g&&n==="fixed")&&(h=l.offsetLeft,m=l.offsetTop)}const p=qc(r);if(p<=0){const g=r.ownerDocument,y=g.body,b=getComputedStyle(y),w=g.compatMode==="CSS1Compat"&&parseFloat(b.marginLeft)+parseFloat(b.marginRight)||0,T=Math.abs(r.clientWidth-y.clientWidth-w);T<=y0&&(c-=T)}else p<=y0&&(c+=p);return{width:c,height:u,x:h,y:m}}const OO=new Set(["absolute","fixed"]);function jO(t,n){const i=Bi(t,!0,n==="fixed"),r=i.top+t.clientTop,l=i.left+t.clientLeft,c=Gn(t)?Gs(t):Bn(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 v0(t,n,i){let r;if(n==="viewport")r=CO(t,i);else if(n==="document")r=AO(Yn(t));else if(jn(n))r=jO(n,i);else{const l=h1(t);r={x:n.x-l.x,y:n.y-l.y,width:n.width,height:n.height}}return Tc(r)}function p1(t,n){const i=ai(t);return i===n||!jn(i)||Xs(i)?!1:Nn(i).position==="fixed"||p1(i,n)}function NO(t,n){const i=n.get(t);if(i)return i;let r=wo(t,[],!1).filter(h=>jn(h)&&Ws(h)!=="body"),l=null;const c=Nn(t).position==="fixed";let u=c?ai(t):t;for(;jn(u)&&!Xs(u);){const h=Nn(u),m=Jh(u);!m&&h.position==="fixed"&&(l=null),(c?!m&&!l:!m&&h.position==="static"&&!!l&&OO.has(l.position)||_o(u)&&!m&&p1(t,u))?r=r.filter(g=>g!==u):l=h,u=ai(u)}return n.set(t,r),r}function MO(t){let{element:n,boundary:i,rootBoundary:r,strategy:l}=t;const u=[...i==="clippingAncestors"?Vc(n)?[]:NO(n,this._c):[].concat(i),r],h=u[0],m=u.reduce((p,g)=>{const y=v0(n,g,l);return p.top=an(y.top,p.top),p.right=ni(y.right,p.right),p.bottom=ni(y.bottom,p.bottom),p.left=an(y.left,p.left),p},v0(n,h,l));return{width:m.right-m.left,height:m.bottom-m.top,x:m.left,y:m.top}}function RO(t){const{width:n,height:i}=d1(t);return{width:n,height:i}}function DO(t,n,i){const r=Gn(n),l=Yn(n),c=i==="fixed",u=Bi(t,!0,c,n);let h={scrollLeft:0,scrollTop:0};
vendor: 6,424 bytes, line 49
49const m=Bn(0);function p(){m.x=qc(l)}if(r||!r&&!c)if((Ws(n)!=="body"||_o(l))&&(h=Bc(n)),r){const w=Bi(n,!0,c,n);m.x=w.x+n.clientLeft,m.y=w.y+n.clientTop}else l&&p();c&&!r&&l&&p();const g=l&&!r&&!c?m1(l,h):Bn(0),y=u.left+h.scrollLeft-m.x-g.x,b=u.top+h.scrollTop-m.y-g.y;return{x:y,y:b,width:u.width,height:u.height}}function Sd(t){return Nn(t).position==="static"}function x0(t,n){if(!Gn(t)||Nn(t).position==="fixed")return null;if(n)return n(t);let i=t.offsetParent;return Yn(t)===i&&(i=i.ownerDocument.body),i}function g1(t,n){const i=rn(t);if(Vc(t))return i;if(!Gn(t)){let l=ai(t);for(;l&&!Xs(l);){if(jn(l)&&!Sd(l))return l;l=ai(l)}return i}let r=x0(t,n);for(;r&&mO(r)&&Sd(r);)r=x0(r,n);return r&&Xs(r)&&Sd(r)&&!Jh(r)?i:r||xO(t)||i}const _O=async function(t){const n=this.getOffsetParent||g1,i=this.getDimensions,r=await i(t.floating);return{reference:DO(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function zO(t){return Nn(t).direction==="rtl"}const PO={convertOffsetParentRelativeRectToViewportRelativeRect:TO,getDocumentElement:Yn,getClippingRect:MO,getOffsetParent:g1,getElementRects:_O,getClientRects:EO,getDimensions:RO,getScale:Gs,isElement:jn,isRTL:zO};function y1(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}function HO(t,n){let i=null,r;const l=Yn(t);function c(){var h;clearTimeout(r),(h=i)==null||h.disconnect(),i=null}function u(h,m){h===void 0&&(h=!1),m===void 0&&(m=1),c();const p=t.getBoundingClientRect(),{left:g,top:y,width:b,height:w}=p;if(h||n(),!b||!w)return;const T=ic(y),E=ic(l.clientWidth-(g+b)),D=ic(l.clientHeight-(y+w)),N=ic(g),q={rootMargin:-T+"px "+-E+"px "+-D+"px "+-N+"px",threshold:an(0,ni(1,m))||1};let $=!0;function U(G){const R=G[0].intersectionRatio;if(R!==m){if(!$)return u();R?u(!1,R):r=setTimeout(()=>{u(!1,1e-7)},1e3)}R===1&&!y1(p,t.getBoundingClientRect())&&u(),$=!1}try{i=new IntersectionObserver(U,{...q,root:l.ownerDocument})}catch{i=new IntersectionObserver(U,q)}i.observe(t)}return u(!0),c}function UO(t,n,i,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=tm(t),g=l||c?[...p?wo(p):[],...wo(n)]:[];g.forEach(N=>{l&&N.addEventListener("scroll",i,{passive:!0}),c&&N.addEventListener("resize",i)});const y=p&&h?HO(p,i):null;let b=-1,w=null;u&&(w=new ResizeObserver(N=>{let[Q]=N;Q&&Q.target===p&&w&&(w.unobserve(n),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var q;(q=w)==null||q.observe(n)})),i()}),p&&!m&&w.observe(p),w.observe(n));let T,E=m?Bi(t):null;m&&D();function D(){const N=Bi(t);E&&!y1(E,N)&&i(),E=N,T=requestAnimationFrame(D)}return i(),()=>{var N;g.forEach(Q=>{l&&Q.removeEventListener("scroll",i),c&&Q.removeEventListener("resize",i)}),y?.(),(N=w)==null||N.disconnect(),w=null,m&&cancelAnimationFrame(T)}}const kO=lO,LO=cO,VO=sO,BO=fO,qO=rO,b0=iO,QO=uO,GO=(t,n,i)=>{const r=new Map,l={platform:PO,...i},c={...l.platform,_c:r};return aO(t,n,{...l,platform:c})};var FO=typeof document<"u",YO=function(){},pc=FO?A.useLayoutEffect:YO;function Ec(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 i,r,l;if(t&&n&&typeof t=="object"){if(Array.isArray(t)){if(i=t.length,i!==n.length)return!1;for(r=i;r--!==0;)if(!Ec(t[r],n[r]))return!1;return!0}if(l=Object.keys(t),i=l.length,i!==Object.keys(n).length)return!1;for(r=i;r--!==0;)if(!{}.hasOwnProperty.call(n,l[r]))return!1;for(r=i;r--!==0;){const c=l[r];if(!(c==="_owner"&&t.$$typeof)&&!Ec(t[c],n[c]))return!1}return!0}return t!==t&&n!==n}function v1(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function S0(t,n){const i=v1(t);return Math.round(n*i)/i}function wd(t){const n=A.useRef(t);return pc(()=>{n.current=t}),n}function KO(t){t===void 0&&(t={});const{placement:n="bottom",strategy:i="absolute",middleware:r=[],platform:l,elements:{reference:c,floating:u}={},transform:h=!0,whileElementsMounted:m,open:p}=t,[g,y]=A.useState({x:0,y:0,strategy:i,placement:n,middlewareData:{},isPositioned:!1}),[b,w]=A.useState(r);Ec(b,r)||w(r);const[T,E]=A.useState(null),[D,N]=A.useState(null),Q=A.useCallback(z=>{z!==G.current&&(G.current=z,E(z))},[]),q=A.useCallback(z=>{z!==R.current&&(R.current=z,N(z))},[]),$=c||T,U=u||D,G=A.useRef(null),R=A.useRef(null),_=A.useRef(g),J=m!=null,W=wd(m),at=wd(l),tt=wd(p),st=A.useCallback(()=>{if(!G.current||!R.current)return;const z={placement:n,strategy:i,middleware:b};at.current&&(z.platform=at.current),GO(G.current,R.current,z).then(nt=>{const lt={...nt,isPositioned:tt.current!==!1};rt.current&&!Ec(_.current,lt)&&(_.current=lt,Xh.flushSync(()=>{y(lt)}))})},[b,n,i,at,tt]);pc(()=>{p===!1&&_.current.isPositioned&&(_.current.isPositioned=!1,y(z=>({...z,isPositioned:!1})))},[p]);const rt=A.useRef(!1);pc(()=>(rt.current=!0,()=>{rt.current=!1}),[]),pc(()=>{if($&&(G.current=$),U&&(R.current=U),$&&U){if(W.current)return W.current($,U,st);st()}},[$,U,st,W,J]);const ct=A.useMemo(()=>({reference:G,floating:R,setReference:Q,setFloating:q}),[Q,q]),j=A.useMemo(()=>({reference:$,floating:U}),[$,U]),H=A.useMemo(()=>{const z={position:i,left:0,top:0};if(!j.floating)return z;const nt=S0(j.floating,g.x),lt=S0(j.floating,g.y);return h?{...z,transform:"translate("+nt+"px, "+lt+"px)",...v1(j.floating)>=1.5&&{willChange:"transform"}}:{position:i,left:nt,top:lt}},[i,h,j.floating,g.x,g.y]);return A.useMemo(()=>({...g,update:st,refs:ct,elements:j,floatingStyles:H}),[g,st,ct,j,H])}const XO=t=>{function n(i){return{}.hasOwnProperty.call(i,"current")}return{name:"arrow",options:t,fn(i){const{element:r,padding:l}=typeof t=="function"?t(i):t;return r&&n(r)?r.current!=null?b0({element:r.current,padding:l}).fn(i):{}:r?b0({element:r,padding:l}).fn(i):{}}}},IO=(t,n)=>({...kO(t),options:[t,n]}),ZO=(t,n)=>({...LO(t),options:[t,n]}),$O=(t,n)=>({...QO(t),options:[t,n]}),JO=(t,n)=>({...VO(t),options:[t,n]}),WO=(t,n)=>({...BO(t),options:[t,n]}),tj=(t,n)=>({...qO(t),options:[t,n]}),ej=(t,n)=>({...XO(t),options:[t,n]});var nj="Arrow",x1=A.forwardRef((t,n)=>{const{children:i,width:r=10,height:l=5,...c}=t;return v.jsx(Yi.svg,{...c,ref:n,width:r,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?i:v.jsx("polygon",{points:"0,0 30,0 15,10"})})});x1.displayName=nj;var aj=x1;function ij(t){const[n,i]=A.useState(void 0);return bo(()=>
vendor: 9,508 bytes, line 49
49{if(t){i({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;i({width:u,height:h})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else i(void 0)},[t]),n}var b1="Popper",[S1,w1]=n1(b1),[n5,T1]=S1(b1),E1="PopperAnchor",A1=A.forwardRef((t,n)=>{const{__scopePopper:i,virtualRef:r,...l}=t,c=T1(E1,i),u=A.useRef(null),h=Fi(n,u),m=A.useRef(null);return A.useEffect(()=>{const p=m.current;m.current=r?.current||u.current,p!==m.current&&c.onAnchorChange(m.current)}),r?null:v.jsx(Yi.div,{...l,ref:h})});A1.displayName=E1;var em="PopperContent",[sj,rj]=S1(em),C1=A.forwardRef((t,n)=>{const{__scopePopper:i,side:r="bottom",sideOffset:l=0,align:c="center",alignOffset:u=0,arrowPadding:h=0,avoidCollisions:m=!0,collisionBoundary:p=[],collisionPadding:g=0,sticky:y="partial",hideWhenDetached:b=!1,updatePositionStrategy:w="optimized",onPlaced:T,...E}=t,D=T1(em,i),[N,Q]=A.useState(null),q=Fi(n,ut=>Q(ut)),[$,U]=A.useState(null),G=ij($),R=G?.width??0,_=G?.height??0,J=r+(c!=="center"?"-"+c:""),W=typeof g=="number"?g:{top:0,right:0,bottom:0,left:0,...g},at=Array.isArray(p)?p:[p],tt=at.length>0,st={padding:W,boundary:at.filter(lj),altBoundary:tt},{refs:rt,floatingStyles:ct,placement:j,isPositioned:H,middlewareData:z}=KO({strategy:"fixed",placement:J,whileElementsMounted:(...ut)=>UO(...ut,{animationFrame:w==="always"}),elements:{reference:D.anchor},middleware:[IO({mainAxis:l+_,alignmentAxis:u}),m&&ZO({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?$O():void 0,...st}),m&&JO({...st}),WO({...st,apply:({elements:ut,rects:xt,availableWidth:Nt,availableHeight:ge})=>{const{width:Ne,height:ye}=xt.reference,Kn=ut.floating.style;Kn.setProperty("--radix-popper-available-width",`${Nt}px`),Kn.setProperty("--radix-popper-available-height",`${ge}px`),Kn.setProperty("--radix-popper-anchor-width",`${Ne}px`),Kn.setProperty("--radix-popper-anchor-height",`${ye}px`)}}),$&&ej({element:$,padding:h}),cj({arrowWidth:R,arrowHeight:_}),b&&tj({strategy:"referenceHidden",...st})]}),[nt,lt]=N1(j),C=kc(T);bo(()=>{H&&C?.()},[H,C]);const Y=z.arrow?.x,V=z.arrow?.y,K=z.arrow?.centerOffset!==0,[et,mt]=A.useState();return bo(()=>{N&&mt(window.getComputedStyle(N).zIndex)},[N]),v.jsx("div",{ref:rt.setFloating,"data-radix-popper-content-wrapper":"",style:{...ct,transform:H?ct.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:et,"--radix-popper-transform-origin":[z.transformOrigin?.x,z.transformOrigin?.y].join(" "),...z.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:v.jsx(sj,{scope:i,placedSide:nt,onArrowChange:U,arrowX:Y,arrowY:V,shouldHideArrow:K,children:v.jsx(Yi.div,{"data-side":nt,"data-align":lt,...E,ref:q,style:{...E.style,animation:H?void 0:"none"}})})})});C1.displayName=em;var O1="PopperArrow",oj={top:"bottom",right:"left",bottom:"top",left:"right"},j1=A.forwardRef(function(n,i){const{__scopePopper:r,...l}=n,c=rj(O1,r),u=oj[c.placedSide];return v.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:v.jsx(aj,{...l,ref:i,style:{...l.style,display:"block"}})})});j1.displayName=O1;function lj(t){return t!==null}var cj=t=>({name:"transformOrigin",options:t,fn(n){const{placement:i,rects:r,middlewareData:l}=n,u=l.arrow?.centerOffset!==0,h=u?0:t.arrowWidth,m=u?0:t.arrowHeight,[p,g]=N1(i),y={start:"0%",center:"50%",end:"100%"}[g],b=(l.arrow?.x??0)+h/2,w=(l.arrow?.y??0)+m/2;let T="",E="";return p==="bottom"?(T=u?y:`${b}px`,E=`${-m}px`):p==="top"?(T=u?y:`${b}px`,E=`${r.floating.height+m}px`):p==="right"?(T=`${-m}px`,E=u?y:`${w}px`):p==="left"&&(T=`${r.floating.width+m}px`,E=u?y:`${w}px`),{data:{x:T,y:E}}}});function N1(t){const[n,i="center"]=t.split("-");return[n,i]}var uj=A1,fj=C1,dj=j1;function hj(t,n){return A.useReducer((i,r)=>n[i][r]??i,t)}var M1=t=>{const{present:n,children:i}=t,r=mj(n),l=typeof i=="function"?i({present:r.isPresent}):A.Children.only(i),c=Fi(r.ref,pj(l));return typeof i=="function"||r.isPresent?A.cloneElement(l,{ref:c}):null};M1.displayName="Presence";function mj(t){const[n,i]=A.useState(),r=A.useRef(null),l=A.useRef(t),c=A.useRef("none"),u=t?"mounted":"unmounted",[h,m]=hj(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return A.useEffect(()=>{const p=sc(r.current);c.current=h==="mounted"?p:"none"},[h]),bo(()=>{const p=r.current,g=l.current;if(g!==t){const b=c.current,w=sc(p);t?m("MOUNT"):w==="none"||p?.display==="none"?m("UNMOUNT"):m(g&&b!==w?"ANIMATION_OUT":"UNMOUNT"),l.current=t}},[t,m]),bo(()=>{if(n){let p;const g=n.ownerDocument.defaultView??window,y=w=>{const E=sc(r.current).includes(CSS.escape(w.animationName));if(w.target===n&&E&&(m("ANIMATION_END"),!l.current)){const D=n.style.animationFillMode;n.style.animationFillMode="forwards",p=g.setTimeout(()=>{n.style.animationFillMode==="forwards"&&(n.style.animationFillMode=D)})}},b=w=>{w.target===n&&(c.current=sc(r.current))};return n.addEventListener("animationstart",b),n.addEventListener("animationcancel",y),n.addEventListener("animationend",y),()=>{g.clearTimeout(p),n.removeEventListener("animationstart",b),n.removeEventListener("animationcancel",y),n.removeEventListener("animationend",y)}}else m("ANIMATION_END")},[n,m]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:A.useCallback(p=>{r.current=p?getComputedStyle(p):null,i(p)},[])}}function sc(t){return t?.animationName||"none"}function pj(t){let n=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,i=n&&"isReactWarning"in n&&n.isReactWarning;return i?t.ref:(n=Object.getOwnPropertyDescriptor(t,"ref")?.get,i=n&&"isReactWarning"in n&&n.isReactWarning,i?t.props.ref:t.props.ref||t.ref)}var gj=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"}),yj="VisuallyHidden",R1=A.forwardRef((t,n)=>v.jsx(Yi.span,{...t,ref:n,style:{...gj,...t.style}}));R1.displayName=yj;var vj=R1,[Qc]=n1("Tooltip",[w1]),nm=w1(),D1="TooltipProvider",xj=700,w0="tooltip.open",[bj,_1]=Qc(D1),z1=t=>{const{__scopeTooltip:n,delayDuration:i=xj,skipDelayDuration:r=300,disableHoverableContent:l=!1,children:c}=t,u=A.useRef(!0),h=A.useRef(!1),m=A.useRef(0);return A.useEffect(()=>{const p=m.current;return()=>window.clearTimeout(p)},[]),v.jsx(bj,{scope:n,isOpenDelayedRef:u,delayDuration:i,onOpen:A.useCallback(()=>{window.clearTimeout(m.current),u.current=!1},[]),onClose:A.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>u.current=!0,r)},[r]),isPointerInTransitRef:h,onPointerInTransitChange:A.useCallback(p=>{h.current=p},[]),disableHoverableContent:l,children:c})};z1.displayName=D1;var P1="Tooltip",[a5,Gc]=Qc(P1),hh="TooltipTrigger",Sj=A.forwardRef((t,n)=>{const{__scopeTooltip:i,...r}=t,l=Gc(hh,i),c=_1(hh,i),u=nm(i),h=A.useRef(null),m=Fi(n,h,l.onTriggerChange),p=A.useRef(!1),g=A.useRef(!1),y=A.useCallback(()=>p.current=!1,[]);return A.useEffect(()=>()=>document.removeEventListener("pointerup",y),[y]),v.jsx(uj,{asChild:!0,...u,children:v.jsx(Yi.button,{"aria-describedby":l.open?l.contentId:void 0,"data-state":l.stateAttribute,...r,ref:m,onPointerMove:ma(t.onPointerMove,b=>{b.pointerType!=="touch"&&!g.current&&!c.isPointerInTransitRef.current&&(l.onTriggerEnter(),g.current=!0)}),onPointerLeave:ma(t.onPointerLeave,()=>{l.onTriggerLeave(),g.current=!1}),onPointerDown:ma(t.onPointerDown,()=>{l.open&&l.onClose(),p.current=!0,document.addEventListener("pointerup",y,{once:!0})}),onFocus:ma(t.onFocus,()=>{p.current||l.onOpen()}),onBlur:ma(t.onBlur,l.onClose),onClick:ma(t.onClick,l.onClose)})})});Sj.displayName=hh;var wj="TooltipPortal",[i5,Tj]=Qc(wj,{forceMount:void 0}),Is="TooltipContent",Ej=A.forwardRef((t,n)=>{const i=Tj(Is,t.__scopeTooltip),{forceMount:r=i.forceMount,side:l="top",...c}=t,u=Gc(Is,t.__scopeTooltip);return v.jsx(M1,{present:r||u.open,children:u.disableHoverableContent?v.jsx(H1,{side:l,...c,ref:n}):v.jsx(Aj,{side:l,...c,ref:n})})}),Aj=A.forwardRef((t,n)=>{const i=Gc(Is,t.__scopeTooltip),r=_1(Is,t.__scopeTooltip),l=A.useRef(null),c=Fi(n,l),[u,h]=A.useState(null),{trigger:m,onClose:p}=i,g=l.current,{onPointerInTransitChange:y}=r,b=A.useCallback(()=>{h(null),y(!1)},[y]),w=A.useCallback((T,E)=>{const D=T.currentTarget,N={x:T.clientX,y:T.clientY},Q=Mj(N,D.getBoundingClientRect()),q=Rj(N,Q),$=Dj(E.getBoundingClientRect()),U=zj([...q,...$]);h(U),y(!0)},[y]);return A.useEffect(()=>()=>b(),[b]),A.useEffect(()=>{if(m&&g){const T=D=>w(D,g),E=D=>w(D,m);return m.addEventListener("pointerleave",T),g.addEventListener("pointerleave",E),()=>{m.removeEventListener("pointerleave",T),g.removeEventListener("pointerleave",E)}}},[m,g,w,b]),A.useEffect(()=>{if(u){const T=E=>{const D=E.target,N={x:E.clientX,y:E.clientY},Q=m?.contains(D)||g?.contains(D),q=!_j(N,u);Q?b():q&&(b(),p())};return document.addEventListener("pointermove",T),()=>document.removeEventListener("pointermove",T)}},[m,g,u,p,b]),v.jsx(H1,{...t,ref:c})}),[Cj,Oj]=Qc(P1,{isInside:!1}
vendor: 10,692 bytes, line 49
49),jj=D3("TooltipContent"),H1=A.forwardRef((t,n)=>{const{__scopeTooltip:i,children:r,"aria-label":l,onEscapeKeyDown:c,onPointerDownOutside:u,...h}=t,m=Gc(Is,i),p=nm(i),{onClose:g}=m;return A.useEffect(()=>(document.addEventListener(w0,g),()=>document.removeEventListener(w0,g)),[g]),A.useEffect(()=>{if(m.trigger){const y=b=>{b.target?.contains(m.trigger)&&g()};return window.addEventListener("scroll",y,{capture:!0}),()=>window.removeEventListener("scroll",y,{capture:!0})}},[m.trigger,g]),v.jsx(r1,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:y=>y.preventDefault(),onDismiss:g,children:v.jsxs(fj,{"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:[v.jsx(jj,{children:r}),v.jsx(Cj,{scope:i,isInside:!0,children:v.jsx(vj,{id:m.contentId,role:"tooltip",children:l||r})})]})})});Ej.displayName=Is;var U1="TooltipArrow",Nj=A.forwardRef((t,n)=>{const{__scopeTooltip:i,...r}=t,l=nm(i);return Oj(U1,i).isInside?null:v.jsx(dj,{...l,...r,ref:n})});Nj.displayName=U1;function Mj(t,n){const i=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(i,r,l,c)){case c:return"left";case l:return"right";case i:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Rj(t,n,i=5){const r=[];switch(n){case"top":r.push({x:t.x-i,y:t.y+i},{x:t.x+i,y:t.y+i});break;case"bottom":r.push({x:t.x-i,y:t.y-i},{x:t.x+i,y:t.y-i});break;case"left":r.push({x:t.x+i,y:t.y-i},{x:t.x+i,y:t.y+i});break;case"right":r.push({x:t.x-i,y:t.y-i},{x:t.x-i,y:t.y+i});break}return r}function Dj(t){const{top:n,right:i,bottom:r,left:l}=t;return[{x:l,y:n},{x:i,y:n},{x:i,y:r},{x:l,y:r}]}function _j(t,n){const{x:i,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,g=h.y,y=m.x,b=m.y;g>r!=b>r&&i<(y-p)*(r-g)/(b-g)+p&&(l=!l)}return l}function zj(t){const n=t.slice();return n.sort((i,r)=>i.x<r.x?-1:i.x>r.x?1:i.y<r.y?-1:i.y>r.y?1:0),Pj(n)}function Pj(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 i=[];for(let r=t.length-1;r>=0;r--){const l=t[r];for(;i.length>=2;){const c=i[i.length-1],u=i[i.length-2];if((c.x-u.x)*(l.y-u.y)>=(c.y-u.y)*(l.x-u.x))i.pop();else break}i.push(l)}return i.pop(),n.length===1&&i.length===1&&n[0].x===i[0].x&&n[0].y===i[0].y?n:n.concat(i)}var Hj=z1;function k1(t){var n,i,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]&&(i=k1(t[n]))&&(r&&(r+=" "),r+=i)}else for(i in t)t[i]&&(r&&(r+=" "),r+=i);return r}function L1(){for(var t,n,i=0,r="",l=arguments.length;i<l;i++)(t=arguments[i])&&(n=k1(t))&&(r&&(r+=" "),r+=n);return r}const am="-",Uj=t=>{const n=Lj(t),{conflictingClassGroups:i,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:u=>{const h=u.split(am);return h[0]===""&&h.length!==1&&h.shift(),V1(h,n)||kj(u)},getConflictingClassGroupIds:(u,h)=>{const m=i[u]||[];return h&&r[u]?[...m,...r[u]]:m}}},V1=(t,n)=>{if(t.length===0)return n.classGroupId;const i=t[0],r=n.nextPart.get(i),l=r?V1(t.slice(1),r):void 0;if(l)return l;if(n.validators.length===0)return;const c=t.join(am);return n.validators.find(({validator:u})=>u(c))?.classGroupId},T0=/^\[(.+)\]$/,kj=t=>{if(T0.test(t)){const n=T0.exec(t)[1],i=n?.substring(0,n.indexOf(":"));if(i)return"arbitrary.."+i}},Lj=t=>{const{theme:n,classGroups:i}=t,r={nextPart:new Map,validators:[]};for(const l in i)mh(i[l],r,l,n);return r},mh=(t,n,i,r)=>{t.forEach(l=>{if(typeof l=="string"){const c=l===""?n:E0(n,l);c.classGroupId=i;return}if(typeof l=="function"){if(Vj(l)){mh(l(r),n,i,r);return}n.validators.push({validator:l,classGroupId:i});return}Object.entries(l).forEach(([c,u])=>{mh(u,E0(n,c),i,r)})})},E0=(t,n)=>{let i=t;return n.split(am).forEach(r=>{i.nextPart.has(r)||i.nextPart.set(r,{nextPart:new Map,validators:[]}),i=i.nextPart.get(r)}),i},Vj=t=>t.isThemeGetter,Bj=t=>{if(t<1)return{get:()=>{},set:()=>{}};let n=0,i=new Map,r=new Map;const l=(c,u)=>{i.set(c,u),n++,n>t&&(n=0,r=i,i=new Map)};return{get(c){let u=i.get(c);if(u!==void 0)return u;if((u=r.get(c))!==void 0)return l(c,u),u},set(c,u){i.has(c)?i.set(c,u):l(c,u)}}},ph="!",gh=":",qj=gh.length,Qj=t=>{const{prefix:n,experimentalParseClassName:i}=t;let r=l=>{const c=[];let u=0,h=0,m=0,p;for(let T=0;T<l.length;T++){let E=l[T];if(u===0&&h===0){if(E===gh){c.push(l.slice(m,T)),m=T+qj;continue}if(E==="/"){p=T;continue}}E==="["?u++:E==="]"?u--:E==="("?h++:E===")"&&h--}const g=c.length===0?l:l.substring(m),y=Gj(g),b=y!==g,w=p&&p>m?p-m:void 0;return{modifiers:c,hasImportantModifier:b,baseClassName:y,maybePostfixModifierPosition:w}};if(n){const l=n+gh,c=r;r=u=>u.startsWith(l)?c(u.substring(l.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:u,maybePostfixModifierPosition:void 0}}if(i){const l=r;r=c=>i({className:c,parseClassName:l})}return r},Gj=t=>t.endsWith(ph)?t.substring(0,t.length-1):t.startsWith(ph)?t.substring(1):t,Fj=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}},Yj=t=>({cache:Bj(t.cacheSize),parseClassName:Qj(t),sortModifiers:Fj(t),...Uj(t)}),Kj=/\s+/,Xj=(t,n)=>{const{parseClassName:i,getClassGroupId:r,getConflictingClassGroupIds:l,sortModifiers:c}=n,u=[],h=t.trim().split(Kj);let m="";for(let p=h.length-1;p>=0;p-=1){const g=h[p],{isExternal:y,modifiers:b,hasImportantModifier:w,baseClassName:T,maybePostfixModifierPosition:E}=i(g);if(y){m=g+(m.length>0?" "+m:m);continue}let D=!!E,N=r(D?T.substring(0,E):T);if(!N){if(!D){m=g+(m.length>0?" "+m:m);continue}if(N=r(T),!N){m=g+(m.length>0?" "+m:m);continue}D=!1}const Q=c(b).join(":"),q=w?Q+ph:Q,$=q+N;if(u.includes($))continue;u.push($);const U=l(N,D);for(let G=0;G<U.length;++G){const R=U[G];u.push(q+R)}m=g+(m.length>0?" "+m:m)}return m};function Ij(){let t=0,n,i,r="";for(;t<arguments.length;)(n=arguments[t++])&&(i=B1(n))&&(r&&(r+=" "),r+=i);return r}const B1=t=>{if(typeof t=="string")return t;let n,i="";for(let r=0;r<t.length;r++)t[r]&&(n=B1(t[r]))&&(i&&(i+=" "),i+=n);return i};function Zj(t,...n){let i,r,l,c=u;function u(m){const p=n.reduce((g,y)=>y(g),t());return i=Yj(p),r=i.cache.get,l=i.cache.set,c=h,h(m)}function h(m){const p=r(m);if(p)return p;const g=Xj(m,i);return l(m,g),g}return function(){return c(Ij.apply(null,arguments))}}const de=t=>{const n=i=>i[t]||[];return n.isThemeGetter=!0,n},q1=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Q1=/^\((?:(\w[\w-]*):)?(.+)\)$/i,$j=/^\d+\/\d+$/,Jj=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Wj=/\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$/,tN=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,eN=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,nN=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Hs=t=>$j.test(t),Et=t=>!!t&&!Number.isNaN(Number(t)),Xa=t=>!!t&&Number.isInteger(Number(t)),Td=t=>t.endsWith("%")&&Et(t.slice(0,-1)),ha=t=>Jj.test(t),aN=()=>!0,iN=t=>Wj.test(t)&&!tN.test(t),G1=()=>!1,sN=t=>eN.test(t),rN=t=>nN.test(t),oN=t=>!dt(t)&&!ht(t),lN=t=>tr(t,K1,G1),dt=t=>q1.test(t),Ri=t=>tr(t,X1,iN),Ed=t=>tr(t,hN,Et),A0=t=>tr(t,F1,G1),cN=t=>tr(t,Y1,rN),rc=t=>tr(t,I1,sN),ht=t=>Q1.test(t),ao=t=>er(t,X1),uN=t=>er(t,mN),C0=t=>er(t,F1),fN=t=>er(t,K1),dN=t=>er(t,Y1),oc=t=>er(t,I1,!0),tr=(t,n,i)=>{const r=q1.exec(t);return r?r[1]?n(r[1]):i(r[2]):!1},er=(t,n,i=!1)=>{const r=Q1.exec(t);return r?r[1]?n(r[1]):i:!1},F1=t=>t==="position"||t==="percentage",Y1=t=>t==="image"||t==="url",K1=t=>t==="length"||t==="size"||t==="bg-size",X1=t=>t==="length",hN=t=>t==="number",mN=t=>t==="family-name",I1=t=>t==="shadow",pN=()=>{const t=de("color"),n=de("font"),i=de("text"),r=de("font-weight"),l=de("tracking"),c=de("leading"),u=de("breakpoint"),h=de("container"),m=de("spacing"),p=de("radius"),g=de("shadow"),y=de("inset-shadow"),b=de("text-shadow"),w=de("drop-shadow"),T=de("blur"),E=de("perspective"),D=de("aspect"),N=de("ease"),Q=de("animate"),q=()=>["auto","avoid","all","avoid-page","page","left","right","column"],$=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],U=()=>[...$(),ht,dt],G=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto","contain","none"],_=()=>[ht,dt,m],J=()=>[Hs,"full","auto",..._()],W=()=>[Xa,"none","subgrid",ht,dt],at=()=>["auto",{span:["full",Xa,ht,dt]},Xa,ht,dt],tt=()=>[Xa,"auto",ht,dt],st=()=>["auto","min","max","fr",ht,dt],rt=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ct=()=>["start","end","center","stretch","center-safe","end-safe"],j=()=>["auto",..._()],H=()=>[Hs,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",..._()],z=()=>[t,ht,dt],nt=()=>[...$(),C0,A0,{position:[ht,dt]}],lt=()=>["no-repeat",{repeat:["","x","y","space","round"]}],C=()=>["auto","cover","contain",fN,lN,{size:[ht,dt]}],Y=()=>[Td,ao,Ri],V=()=>["","none","full",p,ht,dt],K=()=>["",Et,ao,Ri],et=()=>["solid","dashed","dotted","double"],mt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ut=()=>[Et,Td,C0,A0],xt=()=>["","none",T,ht,dt],Nt=()=>["none",Et,ht,dt],ge=()=>["none",Et,ht,dt],Ne=()=>[Et,ht,dt],ye=()=>[Hs,"full",..._()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ha],breakpoint:[ha],color:[aN],container:[ha],"drop-shadow":[ha],ease:["in","out","in-out"],font:[oN],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ha],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ha],shadow:[ha],spacing:["px",Et],text:[ha],"text-shadow":[ha],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Hs,dt,ht,D]}
vendor: 12,865 bytes, line 49
49],container:["container"],columns:[{columns:[Et,dt,ht,h]}],"break-after":[{"break-after":q()}],"break-before":[{"break-before":q()}],"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:U()}],overflow:[{overflow:G()}],"overflow-x":[{"overflow-x":G()}],"overflow-y":[{"overflow-y":G()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],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:[Xa,"auto",ht,dt]}],basis:[{basis:[Hs,"full","auto",h,..._()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Et,Hs,"auto","initial","none",dt]}],grow:[{grow:["",Et,ht,dt]}],shrink:[{shrink:["",Et,ht,dt]}],order:[{order:[Xa,"first","last","none",ht,dt]}],"grid-cols":[{"grid-cols":W()}],"col-start-end":[{col:at()}],"col-start":[{"col-start":tt()}],"col-end":[{"col-end":tt()}],"grid-rows":[{"grid-rows":W()}],"row-start-end":[{row:at()}],"row-start":[{"row-start":tt()}],"row-end":[{"row-end":tt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":st()}],"auto-rows":[{"auto-rows":st()}],gap:[{gap:_()}],"gap-x":[{"gap-x":_()}],"gap-y":[{"gap-y":_()}],"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:_()}],px:[{px:_()}],py:[{py:_()}],ps:[{ps:_()}],pe:[{pe:_()}],pt:[{pt:_()}],pr:[{pr:_()}],pb:[{pb:_()}],pl:[{pl:_()}],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":_()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":_()}],"space-y-reverse":["space-y-reverse"],size:[{size:H()}],w:[{w:[h,"screen",...H()]}],"min-w":[{"min-w":[h,"screen","none",...H()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[u]},...H()]}],h:[{h:["screen","lh",...H()]}],"min-h":[{"min-h":["screen","lh","none",...H()]}],"max-h":[{"max-h":["screen","lh",...H()]}],"font-size":[{text:["base",i,ao,Ri]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,ht,Ed]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Td,dt]}],"font-family":[{font:[uN,dt,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,ht,dt]}],"line-clamp":[{"line-clamp":[Et,"none",ht,Ed]}],leading:[{leading:[c,..._()]}],"list-image":[{"list-image":["none",ht,dt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ht,dt]}],"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:[...et(),"wavy"]}],"text-decoration-thickness":[{decoration:[Et,"from-font","auto",ht,Ri]}],"text-decoration-color":[{decoration:z()}],"underline-offset":[{"underline-offset":[Et,"auto",ht,dt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ht,dt]}],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",ht,dt]}],"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:lt()}],"bg-size":[{bg:C()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Xa,ht,dt],radial:["",ht,dt],conic:[Xa,ht,dt]},dN,cN]}],"bg-color":[{bg:z()}],"gradient-from-pos":[{from:Y()}],"gradient-via-pos":[{via:Y()}],"gradient-to-pos":[{to:Y()}],"gradient-from":[{from:z()}],"gradient-via":[{via:z()}],"gradient-to":[{to:z()}],rounded:[{rounded:V()}],"rounded-s":[{"rounded-s":V()}],"rounded-e":[{"rounded-e":V()}],"rounded-t":[{"rounded-t":V()}],"rounded-r":[{"rounded-r":V()}],"rounded-b":[{"rounded-b":V()}],"rounded-l":[{"rounded-l":V()}],"rounded-ss":[{"rounded-ss":V()}],"rounded-se":[{"rounded-se":V()}],"rounded-ee":[{"rounded-ee":V()}],"rounded-es":[{"rounded-es":V()}],"rounded-tl":[{"rounded-tl":V()}],"rounded-tr":[{"rounded-tr":V()}],"rounded-br":[{"rounded-br":V()}],"rounded-bl":[{"rounded-bl":V()}],"border-w":[{border:K()}],"border-w-x":[{"border-x":K()}],"border-w-y":[{"border-y":K()}],"border-w-s":[{"border-s":K()}],"border-w-e":[{"border-e":K()}],"border-w-t":[{"border-t":K()}],"border-w-r":[{"border-r":K()}],"border-w-b":[{"border-b":K()}],"border-w-l":[{"border-l":K()}],"divide-x":[{"divide-x":K()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":K()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...et(),"hidden","none"]}],"divide-style":[{divide:[...et(),"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:[...et(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Et,ht,dt]}],"outline-w":[{outline:["",Et,ao,Ri]}],"outline-color":[{outline:z()}],shadow:[{shadow:["","none",g,oc,rc]}],"shadow-color":[{shadow:z()}],"inset-shadow":[{"inset-shadow":["none",y,oc,rc]}],"inset-shadow-color":[{"inset-shadow":z()}],"ring-w":[{ring:K()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:z()}],"ring-offset-w":[{"ring-offset":[Et,Ri]}],"ring-offset-color":[{"ring-offset":z()}],"inset-ring-w":[{"inset-ring":K()}],"inset-ring-color":[{"inset-ring":z()}],"text-shadow":[{"text-shadow":["none",b,oc,rc]}],"text-shadow-color":[{"text-shadow":z()}],opacity:[{opacity:[Et,ht,dt]}],"mix-blend":[{"mix-blend":[...mt(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":mt()}],"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":[Et]}],"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":[ht,dt]}],"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":$()}],"mask-image-conic-pos":[{"mask-conic":[Et]}],"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:lt()}],"mask-size":[{mask:C()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ht,dt]}],filter:[{filter:["","none",ht,dt]}],blur:[{blur:xt()}],brightness:[{brightness:[Et,ht,dt]}],contrast:[{contrast:[Et,ht,dt]}],"drop-shadow":[{"drop-shadow":["","none",w,oc,rc]}],"drop-shadow-color":[{"drop-shadow":z()}],grayscale:[{grayscale:["",Et,ht,dt]}],"hue-rotate":[{"hue-rotate":[Et,ht,dt]}],invert:[{invert:["",Et,ht,dt]}],saturate:[{saturate:[Et,ht,dt]}],sepia:[{sepia:["",Et,ht,dt]}],"backdrop-filter":[{"backdrop-filter":["","none",ht,dt]}],"backdrop-blur":[{"backdrop-blur":xt()}],"backdrop-brightness":[{"backdrop-brightness":[Et,ht,dt]}],"backdrop-contrast":[{"backdrop-contrast":[Et,ht,dt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Et,ht,dt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Et,ht,dt]}],"backdrop-invert":[{"backdrop-invert":["",Et,ht,dt]}],"backdrop-opacity":[{"backdrop-opacity":[Et,ht,dt]}],"backdrop-saturate":[{"backdrop-saturate":[Et,ht,dt]}],"backdrop-sepia":[{"backdrop-sepia":["",Et,ht,dt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":_()}],"border-spacing-x":[{"border-spacing-x":_()}],"border-spacing-y":[{"border-spacing-y":_()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ht,dt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Et,"initial",ht,dt]}],ease:[{ease:["linear","initial",N,ht,dt]}],delay:[{delay:[Et,ht,dt]}],animate:[{animate:["none",Q,ht,dt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[E,ht,dt]}],"perspective-origin":[{"perspective-origin":U()}],rotate:[{rotate:Nt()}],"rotate-x":[{"rotate-x":Nt()}],"rotate-y":[{"rotate-y":Nt()}],"rotate-z":[{"rotate-z":Nt()}],scale:[{scale:ge()}],"scale-x":[{"scale-x":ge()}],"scale-y":[{"scale-y":ge()}],"scale-z":[{"scale-z":ge()}],"scale-3d":["scale-3d"],skew:[{skew:Ne()}],"skew-x":[{"skew-x":Ne()}],"skew-y":[{"skew-y":Ne()}],transform:[{transform:[ht,dt,"","none","gpu","cpu"]}],"transform-origin":[{origin:U()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ye()}],"translate-x":[{"translate-x":ye()}],"translate-y":[{"translate-y":ye()}],"translate-z":[{"translate-z":ye()}],"translate-none":["translate-none"],accent:[{accent:z()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:z()}
vendor: 8,250 bytes, lines 49-64
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",ht,dt]}],"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":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"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",ht,dt]}],fill:[{fill:["none",...z()]}],"stroke-w":[{stroke:[Et,ao,Ri,Ed]}],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"]}},gN=Zj(pN);function Fc(...t){return gN(L1(t))}function yN({delayDuration:t=0,...n}){return v.jsx(Hj,{"data-loc":"client/src/components/ui/tooltip.tsx:11","data-slot":"tooltip-provider",delayDuration:t,...n})}const O0=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,j0=L1,vN=(t,n)=>i=>{var r;if(n?.variants==null)return j0(t,i?.class,i?.className);const{variants:l,defaultVariants:c}=n,u=Object.keys(l).map(p=>{const g=i?.[p],y=c?.[p];if(g===null)return null;const b=O0(g)||O0(y);return l[p][b]}),h=i&&Object.entries(i).reduce((p,g)=>{let[y,b]=g;return b===void 0||(p[y]=b),p},{}),m=n==null||(r=n.compoundVariants)===null||r===void 0?void 0:r.reduce((p,g)=>{let{class:y,className:b,...w}=g;return Object.entries(w).every(T=>{let[E,D]=T;return Array.isArray(D)?D.includes({...c,...h}[E]):{...c,...h}[E]===D})?[...p,y,b]:p},[]);return j0(t,u,m,i?.class,i?.className)},xN=vN("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 bN({className:t,variant:n,size:i,asChild:r=!1,...l}){const c=r?M3:"button";return v.jsx(c,{"data-loc":"client/src/components/ui/button.tsx:52","data-slot":"button",className:Fc(xN({variant:n,size:i,className:t})),...l})}function SN({className:t,...n}){return v.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:7","data-slot":"card",className:Fc("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",t),...n})}function wN({className:t,...n}){return v.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:66","data-slot":"card-content",className:Fc("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 TN=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Z1=(...t)=>t.filter((n,i,r)=>!!n&&r.indexOf(n)===i).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 EN={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 AN=A.forwardRef(({color:t="currentColor",size:n=24,strokeWidth:i=2,absoluteStrokeWidth:r,className:l="",children:c,iconNode:u,...h},m)=>A.createElement("svg",{ref:m,...EN,width:n,height:n,stroke:t,strokeWidth:r?Number(i)*24/Number(n):i,className:Z1("lucide",l),...h},[...u.map(([p,g])=>
64A.createElement(p,g)),...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 ee=(t,n)=>{const i=A.forwardRef(({className:r,...l},c)=>A.createElement(AN,{ref:c,iconNode:n,className:Z1(`lucide-${TN(t)}`,r),...l}));return i.displayName=`${t}`,i};/** 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 CN=ee("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/** 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 ON=ee("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** 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 N0=ee("Cable",[["path",{d:"M17 21v-2a1 1 0 0 1-1-1v-1a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1",key:"10bnsj"}],["path",{d:"M19 15V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V9",key:"1eqmu1"}],["path",{d:"M21 21v-2h-4",key:"14zm7j"}],["path",{d:"M3 5h4V3",key:"z442eg"}],["path",{d:"M7 5a1 1 0 0 1 1 1v1a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1V3",key:"ebdjd7"}]]);/** 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 jN=ee("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** 90 * @license lucide-react v0.453.0 - ISC 91 * 92 * This source code is licensed under the ISC license. 93 * See the LICENSE file in the root directory of this source tree. 94 */const NN=ee("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"}]]);/** 95 * @license lucide-react v0.453.0 - ISC 96 * 97 * This source code is licensed under the ISC license. 98 * See the LICENSE file in the root directory of this source tree. 99 */const Za=ee("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** 100 * @license lucide-react v0.453.0 - ISC 101 * 102 * This source code is licensed under the ISC license. 103 * See the LICENSE file in the root directory of this source tree. 104 */const MN=ee("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** 105 * @license lucide-react v0.453.0 - ISC 106 * 107 * This source code is licensed under the ISC license. 108 * See the LICENSE file in the root directory of this source tree. 109 */const RN=ee("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);/** 110 * @license lucide-react v0.453.0 - ISC 111 * 112 * This source code is licensed under the ISC license. 113 * See the LICENSE file in the root directory of this source tree. 114 */const DN=ee("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/** 115 * @license lucide-react v0.453.0 - ISC 116 * 117 * This source code is licensed under the ISC license. 118 * See the LICENSE file in the root directory of this source tree. 119 */const M0=ee("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/** 120 * @license lucide-react v0.453.0 - ISC 121 * 122 * This source code is licensed under the ISC license. 123 * See the LICENSE file in the root directory of this source tree. 124 */const Ad=ee("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/** 125 * @license lucide-react v0.453.0 - ISC 126 * 127 * This source code is licensed under the ISC license. 128 * See the LICENSE file in the root directory of this source tree. 129 */const _N=ee("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"}]]);/** 130 * @license lucide-react v0.453.0 - ISC 131 * 132 * This source code is licensed under the ISC license. 133 * See the LICENSE file in the root directory of this source tree. 134 */const zN=ee("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** 135 * @license lucide-react v0.453.0 - ISC 136 * 137 * This source code is licensed under the ISC license. 138 * See the LICENSE file in the root directory of this source tree. 139 */const PN=ee("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** 140 * @license lucide-react v0.453.0 - ISC 141 * 142 * This source code is licensed under the ISC license. 143 * See the LICENSE file in the root directory of this source tree. 144 */const R0=ee("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/** 145 * @license lucide-react v0.453.0 - ISC 146 * 147 * This source code is licensed under the ISC license. 148 * See the LICENSE file in the root directory of this source tree. 149 */const HN=ee("Printer",[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]]);/** 150 * @license lucide-react v0.453.0 - ISC 151 * 152 * This source code is licensed under the ISC license. 153 * See the LICENSE file in the root directory of this source tree. 154 */const UN=ee("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"}]]);/** 155 * @license lucide-react v0.453.0 - ISC 156 * 157 * This source code is licensed under the ISC license. 158 * See the LICENSE file in the root directory of this source tree. 159 */const D0=ee("Scan",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}]]);/** 160 * @license lucide-react v0.453.0 - ISC 161 * 162 * This source code is licensed under the ISC license. 163 * See the LICENSE file in the root directory of this source tree. 164 */const kN=ee("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/** 165 * @license lucide-react v0.453.0 - ISC 166 * 167 * This source code is licensed under the ISC license. 168 * See the LICENSE file in the root directory of this source tree. 169 */const LN=ee("ShieldAlert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
169y:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);/** 170 * @license lucide-react v0.453.0 - ISC 171 * 172 * This source code is licensed under the ISC license. 173 * See the LICENSE file in the root directory of this source tree. 174 */const VN=ee("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"}]]);/** 175 * @license lucide-react v0.453.0 - ISC 176 * 177 * This source code is licensed under the ISC license. 178 * See the LICENSE file in the root directory of this source tree. 179 */const _0=ee("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function BN(t,n){if(t instanceof RegExp)return{keys:!1,pattern:t};var i,r,l,c,u=[],h="",m=t.split("/");for(m[0]||m.shift();l=m.shift();)i=l[0],i==="*"?(u.push(i),h+=l[1]==="?"?"(?:/(.*))?":"/(.*)"):i===":"?(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 Cd={exports:{}},Od={};/** 180 * @license React 181 * use-sync-external-store-shim.production.js 182 * 183 * Copyright (c) Meta Platforms, Inc. and affiliates. 184 * 185 * This source code is licensed under the MIT license found in the 186 * LICENSE file in the root directory of this source tree. 187 */var z0;function qN(){if(z0)return Od;z0=1;var t=Rc();function n(y,b){return y===b&&(y!==0||1/y===1/b)||y!==y&&b!==b}var i=typeof Object.is=="function"?Object.is:n,r=t.useState,l=t.useEffect,c=t.useLayoutEffect,u=t.useDebugValue;function h(y,b){var w=b(),T=r({inst:{value:w,getSnapshot:b}}),E=T[0].inst,D=T[1];return c(function(){E.value=w,E.getSnapshot=b,m(E)&&D({inst:E})},[y,w,b]),l(function(){return m(E)&&D({inst:E}),y(function(){m(E)&&D({inst:E})})},[y]),u(w),w}function m(y){var b=y.getSnapshot;y=y.value;try{var w=b();return!i(y,w)}catch{return!0}}function p(y,b){return b()}var g=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:h;return Od.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:g,Od}var P0;function QN(){return P0||(P0=1,Cd.exports=qN()),Cd.exports}var GN=QN();const FN=ub.useInsertionEffect,YN=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",KN=YN?A.useLayoutEffect:A.useEffect,XN=FN||KN,$1=t=>{const n=A.useRef([t,(...i)=>n[0](...i)]).current;return XN(()=>{n[0]=t}),n[1]},IN="popstate",im="pushState",sm="replaceState",ZN="hashchange",H0=[IN,im,sm,ZN],$N=t=>{for(const n of H0)addEventListener(n,t);return()=>{for(const n of H0)removeEventListener(n,t)}},J1=(t,n)=>GN.useSyncExternalStore($N,t,n),JN=()=>location.search,WN=({ssrSearch:t=""}={})=>J1(JN,()=>t),U0=()=>location.pathname,tM=({ssrPath:t}={})=>J1(U0,t?()=>t:U0),eM=(t,{replace:n=!1,state:i=null}={})=>history[n?sm:im](i,"",t),nM=(t={})=>[tM(t),eM],k0=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[k0]>"u"){for(const t of[im,sm]){const n=history[t];history[t]=function(){const i=n.apply(this,arguments),r=new Event(t);return r.arguments=arguments,dispatchEvent(r),i}}Object.defineProperty(window,k0,{value:!0})}const aM=(t,n)=>n.toLowerCase().indexOf(t.toLowerCase())?"~"+n:n.slice(t.length)||"/",W1=(t="")=>t==="/"?"":t,iM=(t,n)=>t[0]==="~"?t.slice(1):W1(n)+t,sM=(t="",n)=>aM(L0(W1(t)),L0(n)),L0=t=>{try{return decodeURI(t)}catch{return t}},tS={hook:nM,searchHook:WN,parser:BN,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:t=>t},eS=A.createContext(tS),zo=()=>A.useContext(eS),nS={},aS=A.createContext(nS),rM=()=>A.useContext(aS),Yc=t=>{const[n,i]=t.hook(t);return[sM(t.base,n),$1((r,l)=>i(iM(r,t.base),l))]},oM=()=>Yc(zo()),iS=(t,n,i,r)=>{const{pattern:l,keys:c}=n instanceof RegExp?{keys:!1,pattern:n}:t(n||"*",r),u=l.exec(i)||[],[h,...m]=u;return h!==void 0?[!0,(()=>{const p=c!==!1?Object.fromEntries(c.map((y,b)=>[y,m[b]])):u.groups;let g={...m};return p&&Object.assign(g,p),g})(),...r?[h]:[]]:[!1,null]},lM=({children:t,...n})=>{const i=zo(),r=n.hook?tS:i;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=A.useRef({}),m=h.current,p=m;for(let g in r){const y=g==="base"?r[g]+(n[g]||""):n[g]||r[g];m===p&&y!==p[g]&&(h.current=p={...p}),p[g]=y,(y!==r[g]||y!==l[g])&&(l=p)}return A.createElement(eS.Provider,{value:l,children:t})},V0=({children:t,component:n},i)=>n?A.createElement(n,{params:i}):typeof t=="function"?t(i):t,cM=t=>{let n=A.useRef(nS);const i=n.current;return n.current=Object.keys(t).length!==Object.keys(i).length||Object.entries(t).some(([r,l])=>l!==i[r])?t:i},lc=({path:t,nest:n,match:i,...r})=>{const l=zo(),[c]=Yc(l),[u,h,m]=i??iS(l.parser,t,c,n),p=cM({...rM(),...h});if(!u)return null;const g=m?A.createElement(lM,{base:m},V0(r,p)):V0(r,p);return A.createElement(aS.Provider,{value:p,children:g})};
187A.forwardRef((t,n)=>{const i=zo(),[r,l]=Yc(i),{to:c="",href:u=c,onClick:h,asChild:m,children:p,className:g,replace:y,state:b,...w}=t,T=$1(D=>{D.ctrlKey||D.metaKey||D.altKey||D.shiftKey||D.button!==0||(h?.(D),D.defaultPrevented||(D.preventDefault(),l(u,t)))}),E=i.hrefs(u[0]==="~"?u.slice(1):i.base+u,i);return m&&A.isValidElement(p)?A.cloneElement(p,{onClick:T,href:E}):A.createElement("a",{...w,onClick:T,href:E,className:g?.call?g(r===u):g,children:p,ref:n})});const yh=t=>Array.isArray(t)?t.flatMap(n=>yh(n&&n.type===A.Fragment?n.props.children:n)):[t],uM=({children:t,location:n})=>{const i=zo(),[r]=Yc(i);typeof window<"u"&&(window.__WOUTER_ROUTES__||(window.__WOUTER_ROUTES__=[]),yh(t).forEach(c=>{if(A.isValidElement(c)&&c.props.path){const u=c.props.path;window.__WOUTER_ROUTES__.includes(u)||window.__WOUTER_ROUTES__.push(u)}}));for(const l of yh(t)){let c=0;if(A.isValidElement(l)&&(c=iS(i.parser,l.props.path,n||r,l.props.nest))[0])return A.cloneElement(l,{match:c})}return null};function B0(){const[,t]=oM(),n=()=>{t("/")};return v.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:v.jsx(SN,{"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:v.jsxs(wN,{"data-loc":"client/src/pages/NotFound.tsx:16",className:"pt-8 pb-8 text-center",children:[v.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:17",className:"flex justify-center mb-6",children:v.jsxs("div",{"data-loc":"client/src/pages/NotFound.tsx:18",className:"relative",children:[v.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:19",className:"absolute inset-0 bg-red-100 rounded-full animate-pulse"}),v.jsx(NN,{"data-loc":"client/src/pages/NotFound.tsx:20",className:"relative h-16 w-16 text-red-500"})]})}),v.jsx("h1",{"data-loc":"client/src/pages/NotFound.tsx:24",className:"text-4xl font-bold text-slate-900 mb-2",children:"404"}),v.jsx("h2",{"data-loc":"client/src/pages/NotFound.tsx:26",className:"text-xl font-semibold text-slate-700 mb-4",children:"Page Not Found"}),v.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.",v.jsx("br",{"data-loc":"client/src/pages/NotFound.tsx:32"}),"It may have been moved or deleted."]}),v.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:v.jsxs(bN,{"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:[v.jsx(_N,{"data-loc":"client/src/pages/NotFound.tsx:44",className:"w-4 h-4 mr-2"}),"Go Home"]})})]})})})}class fM extends A.Component{constructor(n){super(n),this.state={hasError:!1,error:null}}static getDerivedStateFromError(n){return{hasError:!0,error:n}}render(){return this.state.hasError?v.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:27",className:"flex items-center justify-center min-h-screen p-8 bg-background",children:v.jsxs("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:28",className:"flex flex-col items-center w-full max-w-2xl p-8",children:[v.jsx(VN,{"data-loc":"client/src/components/ErrorBoundary.tsx:29",size:48,className:"text-destructive mb-6 flex-shrink-0"}),v.jsx("h2",{"data-loc":"client/src/components/ErrorBoundary.tsx:34",className:"text-xl mb-4",children:"An unexpected error occurred."}),v.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:36",className:"p-4 w-full rounded bg-muted overflow-auto mb-6",children:v.jsx("pre",{"data-loc":"client/src/components/ErrorBoundary.tsx:37",className:"text-sm text-muted-foreground whitespace-break-spaces",children:this.state.error?.stack})}),v.jsxs("button",{"data-loc":"client/src/components/ErrorBoundary.tsx:42",onClick:()=>window.location.reload(),className:Fc("flex items-center gap-2 px-4 py-2 rounded-lg","bg-primary text-primary-foreground","hover:opacity-90 cursor-pointer"),children:[v.jsx(UN,{"data-loc":"client/src/components/ErrorBoundary.tsx:50",size:16}),"Reload Page"]})]})}):this.props.children}}const dM=A.createContext(void 0);function hM({children:t,defaultTheme:n="light",switchable:i=!1}){const[r,l]=A.useState(()=>i&&localStorage.getItem("theme")||n);A.useEffect(()=>{const u=document.documentElement;
187r==="dark"?u.classList.add("dark"):u.classList.remove("dark"),i&&localStorage.setItem("theme",r)},[r,i]);const c=i?()=>{l(u=>u==="light"?"dark":"light")}:void 0;return v.jsx(dM.Provider,{"data-loc":"client/src/contexts/ThemeContext.tsx:52",value:{theme:r,toggleTheme:c,switchable:i},children:t})}const sS=()=>{const t="https://manus.im",n="HLH5Gy3t8Q3FH7bSRN9nq6",i=`${window.location.origin}/api/oauth/callback`,r=btoa(i),l=new URL(`${t}/app-auth`);return l.searchParams.set("appId",n),l.searchParams.set("redirectUri",i),l.searchParams.set("state",r),l.searchParams.set("type","signIn"),l.toString()};function mM(t){const{redirectOnUnauthenticated:n=!1,redirectPath:i=sS()}={},r=Qs.useUtils(),l=Qs.auth.me.useQuery(void 0,{retry:!1,refetchOnWindowFocus:!1}),c=Qs.auth.logout.useMutation({onSuccess:()=>{r.auth.me.setData(void 0,null)}}),u=A.useCallback(async()=>{try{await c.mutateAsync()}catch(m){if(m instanceof Ys&&m.data?.code==="UNAUTHORIZED")return;throw m}finally{r.auth.me.setData(void 0,null),await r.auth.me.invalidate()}},[c,r]),h=A.useMemo(()=>(localStorage.setItem("manus-runtime-user-info",JSON.stringify(l.data)),{user:l.data??null,loading:l.isLoading||c.isPending,error:l.error??c.error??null,isAuthenticated:!!l.data}),[l.data,l.error,l.isLoading,c.error,c.isPending]);return A.useEffect(()=>{n&&(l.isLoading||c.isPending||h.user||typeof window>"u"||window.location.pathname!==i&&(window.location.href=i))},[n,i,c.isPending,l.isLoading,h.user]),{...h,refresh:()=>l.refetch(),logout:u}}const q0={name:"",email:"",phone:"",company:"",message:"",privacyConsent:!1,marketingConsent:!1};function pM(){const[t,n]=A.useState(q0),[i,r]=A.useState(!1),[l,c]=A.useState({}),u=Qs.contact.submit.useMutation({onSuccess:()=>{r(!0),n(q0),bd.success("Richiesta inviata con successo! Ti contatteremo presto.")},onError:g=>{g.data?.code==="BAD_REQUEST"?bd.error(g.message):bd.error("Si è verificato un errore. Riprova più tardi.")}}),h=()=>{const g={};return(!t.name||t.name.trim().length<2)&&(g.name="Il nome deve avere almeno 2 caratteri"),(!t.email||!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t.email))&&(g.email="Inserisci un indirizzo email valido"),(!t.message||t.message.trim().length<10)&&(g.message="Il messaggio deve avere almeno 10 caratteri"),t.privacyConsent||(g.privacyConsent="Devi accettare la privacy policy"),c(g),Object.keys(g).length===0},m=g=>{g.preventDefault(),h()&&u.mutate({name:t.name.trim(),email:t.email.trim(),phone:t.phone.trim()||void 0,company:t.company.trim()||void 0,message:t.message.trim(),privacyConsent:!0,marketingConsent:t.marketingConsent})},p=(g,y)=>{n(b=>({...b,[g]:y})),l[g]&&c(b=>({...b,[g]:void 0}))};return i?v.jsxs("div",{"data-loc":"client/src/components/ContactForm.tsx:90",className:"bg-white/10 backdrop-blur-sm border border-white/20 p-8 text-center",children:[v.jsx(Za,{"data-loc":"client/src/components/ContactForm.tsx:91",size:48,className:"text-[#00C853] mx-auto mb-4"}),v.jsx("h3",{"data-loc":"client/src/components/ContactForm.tsx:92",className:"text-xl font-bold text-white mb-2",children:"Richiesta Inviata!"}),v.jsx("p",{"data-loc":"client/src/components/ContactForm.tsx:93",className:"text-white/70 mb-6",children:"Grazie per il tuo interesse. Ti contatteremo entro 24 ore lavorative."}),v.jsx("button",{"data-loc":"client/src/components/ContactForm.tsx:96",onClick:()=>r(!1),className:"text-[#00C853] text-sm font-medium hover:underline",children:"Invia un'altra richiesta"})]}):v.jsxs("form",{"data-loc":"client/src/components/ContactForm.tsx:107",onSubmit:m,className:"bg-white/10 backdrop-blur-sm border border-white/20 p-6 md:p-8 space-y-5",children:[v.jsxs("div",{"data-loc":"client/src/components/ContactForm.tsx:108",className:"grid md:grid-cols-2 gap-4",children:[v.jsxs("div",{"data-loc":"client/src/components/ContactForm.tsx:109",children:[v.jsx("label",{"data-loc":"client/src/components/ContactForm.tsx:110",htmlFor:"contact-name",className:"block text-white/80 text-sm font-medium mb-1.5",children:"Nome e Cognome *"}),v.jsx("input",{"data-loc":"client/src/components/ContactForm.tsx:113",id:"contact-name",type:"text",value:t.name,onChange:g=>p("name",g.target.value),className:`w-full px-4 py-2.5 bg-white/10 border ${l.name?"border-red-400":"border-white/20"} text-white placeholder-white/40 text-sm focus:outline-none focus:border-[#00C853] transition-colors`,placeholder:"Mario Rossi"}),l.name&&v.jsx("p",{"data-loc":"client/src/components/ContactForm.tsx:121",className:"text-red-400 text-xs mt-1",children:l.name})]}),v.jsxs("div",{"data-loc":"client/src/components/ContactForm.tsx:123",children:[v.jsx("label",{"data-loc":"client/src/components/ContactForm.tsx:124",htmlFor:"contact-email",className:"block text-white/80 text-sm font-medium mb-1.5",children:"Email *"}),v.jsx("input",{"data-loc":"client/src/components/ContactForm.tsx:127",id:"contact-email",type:"email",value:t.email,onChange:g=>p("email",g.target.value),className:`w-full px-4 py-2.5 bg-white/10 border ${l.email?"border-red-400":"border-white/20"} text-white placeholder-white/40 text-sm focus:outline-none focus:border-[#00C853] transition-colors`,placeholder:"[email protected]"}),l.email&&v.jsx("p",{"data-loc":"client/src/components/ContactForm.tsx:135",className:"text-red-400 text-xs mt-1",children:l.email})]})]}),v.jsxs("div",{"data-loc":"client/src/components/ContactForm.tsx:139",className:"grid md:grid-cols-2 gap-4",children:[v.jsxs("div",{"data-loc":"client/src/components/ContactForm.tsx:140",children:[v.jsx("label",{"data-loc":"client/src/components/ContactForm.tsx:141",htmlFor:"contact-phone",className:"block text-white/80 text-sm font-medium mb-1.5",children:"Telefono"}),v.jsx("input",{"data-loc":"client/src/components/ContactForm.tsx:144",id:"c
187ontact-phone",type:"tel",value:t.phone,onChange:g=>p("phone",g.target.value),className:"w-full px-4 py-2.5 bg-white/10 border border-white/20 text-white placeholder-white/40 text-sm focus:outline-none focus:border-[#00C853] transition-colors",placeholder:"+39 02 1234567"})]}),v.jsxs("div",{"data-loc":"client/src/components/ContactForm.tsx:153",children:[v.jsx("label",{"data-loc":"client/src/components/ContactForm.tsx:154",htmlFor:"contact-company",className:"block text-white/80 text-sm font-medium mb-1.5",children:"Azienda"}),v.jsx("input",{"data-loc":"client/src/components/ContactForm.tsx:157",id:"contact-company",type:"text",value:t.company,onChange:g=>p("company",g.target.value),className:"w-full px-4 py-2.5 bg-white/10 border border-white/20 text-white placeholder-white/40 text-sm focus:outline-none focus:border-[#00C853] transition-colors",placeholder:"Nome Azienda S.r.l."})]})]}),v.jsxs("div",{"data-loc":"client/src/components/ContactForm.tsx:168",children:[v.jsx("label",{"data-loc":"client/src/components/ContactForm.tsx:169",htmlFor:"contact-message",className:"block text-white/80 text-sm font-medium mb-1.5",children:"Messaggio *"}),v.jsx("textarea",{"data-loc":"client/src/components/ContactForm.tsx:172",id:"contact-message",value:t.message,onChange:g=>p("message",g.target.value),rows:4,className:`w-full px-4 py-2.5 bg-white/10 border ${l.message?"border-red-400":"border-white/20"} text-white placeholder-white/40 text-sm focus:outline-none focus:border-[#00C853] transition-colors resize-none`,placeholder:"Descrivi le tue esigenze o la tua domanda su RapidID..."}),l.message&&v.jsx("p",{"data-loc":"client/src/components/ContactForm.tsx:180",className:"text-red-400 text-xs mt-1",children:l.message})]}),v.jsxs("div",{"data-loc":"client/src/components/ContactForm.tsx:184",className:"space-y-3 pt-2",children:[v.jsxs("div",{"data-loc":"client/src/components/ContactForm.tsx:185",className:"flex items-start gap-3",children:[v.jsx("input",{"data-loc":"client/src/components/ContactForm.tsx:186",id:"privacy-consent",type:"checkbox",checked:t.privacyConsent,onChange:g=>p("privacyConsent",g.target.checked),className:"mt-1 w-4 h-4 accent-[#00C853] shrink-0"}),v.jsxs("label",{"data-loc":"client/src/components/ContactForm.tsx:193",htmlFor:"privacy-consent",className:`text-xs leading-relaxed ${l.privacyConsent?"text-red-400":"text-white/60"}`,children:["* Ho letto e accetto la"," ",v.jsx("a",{"data-loc":"client/src/components/ContactForm.tsx:195",href:"/privacy",target:"_blank",className:"text-[#00C853] underline hover:text-[#00E676]",children:"Privacy Policy"})," ","di Cablaggiointelligente.net. Acconsento al trattamento dei miei dati personali ai sensi del Regolamento UE 2016/679 (GDPR) per rispondere alla mia richiesta di informazioni."]})]}),v.jsxs("div",{"data-loc":"client/src/components/ContactForm.tsx:202",className:"flex items-start gap-3",children:[v.jsx("input",{"data-loc":"client/src/components/ContactForm.tsx:203",id:"marketing-consent",type:"checkbox",checked:t.marketingConsent,onChange:g=>p("marketingConsent",g.target.checked),className:"mt-1 w-4 h-4 accent-[#00C853] shrink-0"}),v.jsx("label",{"data-loc":"client/src/components/ContactForm.tsx:210",htmlFor:"marketing-consent",className:"text-xs text-white/60 leading-relaxed",children:"Acconsento a ricevere comunicazioni commerciali e aggiornamenti su prodotti e soluzioni per il cablaggio strutturato. Posso revocare il consenso in qualsiasi momento."})]})]}),v.jsx("button",{"data-loc":"client/src/components/ContactForm.tsx:216",type:"submit",disabled:u.isPending,className:"w-full flex items-center justify-center gap-2 px-6 py-3 bg-[#00C853] text-[#003366] font-bold hover:bg-[#00E676] transition-all disabled:opacity-50 disabled:cursor-not-allowed active:scale-[0.97]",children:u.isPending?v.jsxs(v.Fragment,{children:[v.jsx(zN,{"data-loc":"client/src/components/ContactForm.tsx:223",size:18,className:"animate-spin"}),"Invio in corso..."]}):v.jsxs(v.Fragment,{children:[v.jsx(kN,{"data-loc":"client/src/components/ContactForm.tsx:228",size:18}),"Invia Richiesta"]})}),v.jsxs("p",{"data-loc":"client/src/components/ContactForm.tsx:234",className:"text-white/40 text-[11px] text-center leading-relaxed",children:["I campi contrassegnati con * sono obbligatori. I tuoi dati saranno trattati nel rispetto del GDPR.",v.jsx("br",{"data-loc":"client/src/components/ContactForm.tsx:236"}),"Titolare del trattamento: Decker & Decker di Massimo Decker â"," ",v.jsx("a",{"data-loc":"client/src/components/ContactForm.tsx:238",href:"https://www.cablaggiointelligente.net",target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-white/60",children:"cablaggiointelligente.net"})]})]})}const rS=A.createContext({});function gM(t){const n=A.useRef(null);return n.current===null&&(n.current=t()),n.current}const rm=typeof window<"u",yM=rm?A.useLayoutEffect:A.useEffect,om=A.createContext(null);function lm(t,n){t.indexOf(n)===-1&&t.push(n)}function cm(t,n){const i=t.indexOf(n);i>-1&&t.splice(i,1)}const va=(t,n,i)=>i>n?n:i<t?t:i;let um=()=>{};const xa={},oS=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function lS(t){return typeof t=="object"&&t!==null}const cS=t=>/^0[^.\s]+$/u.test(t);function fm(t){let n;return()=>(n===void 0&&(n=t()),n)}const bn=t=>t,vM=(t,n)=>i=>n(t(i)),Po=(...t)=>t.reduce(vM),To=(t,n,i)=>{const r=n-t;return r===0?1:(i-t)/r};class dm{constructor(){this.subscriptions=[]}add(n){return lm(this.subscriptions,n),()=>cm(this.subscriptions,n)}notify(n,i,r){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](n,i,r);else for(let c=0;c<l;c++){const u=this.subscriptions[c];u&&u(n,i,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const qn=t=>t*1e3,xn=t=>t/1e3;function uS(t,n){return n?t*(1e3/n):0}const fS=(t,n,i)=>(((1-3*i+3*n)*t+(3*i-6*n))*t+3*n)*t,xM=1e-7,bM=12;function SM(t,n,i,r,l){let c,u,h=0;do u=n+(i-n)/2,c=fS(u,r,l)-t,c>0?i=u:n=u;
vendor: 36,895 bytes, line 187
187while(Math.abs(c)>xM&&++h<bM);return u}function Ho(t,n,i,r){if(t===n&&i===r)return bn;const l=c=>SM(c,0,1,t,i);return c=>c===0||c===1?c:fS(l(c),n,r)}const dS=t=>n=>n<=.5?t(2*n)/2:(2-t(2*(1-n)))/2,hS=t=>n=>1-t(1-n),mS=Ho(.33,1.53,.69,.99),hm=hS(mS),pS=dS(hm),gS=t=>(t*=2)<1?.5*hm(t):.5*(2-Math.pow(2,-10*(t-1))),mm=t=>1-Math.sin(Math.acos(t)),yS=hS(mm),vS=dS(mm),wM=Ho(.42,0,1,1),TM=Ho(0,0,.58,1),xS=Ho(.42,0,.58,1),EM=t=>Array.isArray(t)&&typeof t[0]!="number",bS=t=>Array.isArray(t)&&typeof t[0]=="number",AM={linear:bn,easeIn:wM,easeInOut:xS,easeOut:TM,circIn:mm,circInOut:vS,circOut:yS,backIn:hm,backInOut:pS,backOut:mS,anticipate:gS},CM=t=>typeof t=="string",Q0=t=>{if(bS(t)){um(t.length===4);const[n,i,r,l]=t;return Ho(n,i,r,l)}else if(CM(t))return AM[t];return t},cc=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function OM(t,n){let i=new Set,r=new Set,l=!1,c=!1;const u=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function m(g){u.has(g)&&(p.schedule(g),t()),g(h)}const p={schedule:(g,y=!1,b=!1)=>{const T=b&&l?i:r;return y&&u.add(g),T.has(g)||T.add(g),g},cancel:g=>{r.delete(g),u.delete(g)},process:g=>{if(h=g,l){c=!0;return}l=!0,[i,r]=[r,i],i.forEach(m),i.clear(),l=!1,c&&(c=!1,p.process(g))}};return p}const jM=40;function SS(t,n){let i=!1,r=!0;const l={delta:0,timestamp:0,isProcessing:!1},c=()=>i=!0,u=cc.reduce((q,$)=>(q[$]=OM(c),q),{}),{setup:h,read:m,resolveKeyframes:p,preUpdate:g,update:y,preRender:b,render:w,postRender:T}=u,E=()=>{const q=xa.useManualTiming?l.timestamp:performance.now();i=!1,xa.useManualTiming||(l.delta=r?1e3/60:Math.max(Math.min(q-l.timestamp,jM),1)),l.timestamp=q,l.isProcessing=!0,h.process(l),m.process(l),p.process(l),g.process(l),y.process(l),b.process(l),w.process(l),T.process(l),l.isProcessing=!1,i&&n&&(r=!1,t(E))},D=()=>{i=!0,r=!0,l.isProcessing||t(E)};return{schedule:cc.reduce((q,$)=>{const U=u[$];return q[$]=(G,R=!1,_=!1)=>(i||D(),U.schedule(G,R,_)),q},{}),cancel:q=>{for(let $=0;$<cc.length;$++)u[cc[$]].cancel(q)},state:l,steps:u}}const{schedule:Kt,cancel:ii,state:Te,steps:jd}=SS(typeof requestAnimationFrame<"u"?requestAnimationFrame:bn,!0);let gc;function NM(){gc=void 0}const Ke={now:()=>(gc===void 0&&Ke.set(Te.isProcessing||xa.useManualTiming?Te.timestamp:performance.now()),gc),set:t=>{gc=t,queueMicrotask(NM)}},wS=t=>n=>typeof n=="string"&&n.startsWith(t),pm=wS("--"),MM=wS("var(--"),gm=t=>MM(t)?RM.test(t.split("/*")[0].trim()):!1,RM=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,nr={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Eo={...nr,transform:t=>va(0,1,t)},uc={...nr,default:1},lo=t=>Math.round(t*1e5)/1e5,ym=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function DM(t){return t==null}const _M=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,vm=(t,n)=>i=>!!(typeof i=="string"&&_M.test(i)&&i.startsWith(t)||n&&!DM(i)&&Object.prototype.hasOwnProperty.call(i,n)),TS=(t,n,i)=>r=>{if(typeof r!="string")return r;const[l,c,u,h]=r.match(ym);return{[t]:parseFloat(l),[n]:parseFloat(c),[i]:parseFloat(u),alpha:h!==void 0?parseFloat(h):1}},zM=t=>va(0,255,t),Nd={...nr,transform:t=>Math.round(zM(t))},Hi={test:vm("rgb","red"),parse:TS("red","green","blue"),transform:({red:t,green:n,blue:i,alpha:r=1})=>"rgba("+Nd.transform(t)+", "+Nd.transform(n)+", "+Nd.transform(i)+", "+lo(Eo.transform(r))+")"};function PM(t){let n="",i="",r="",l="";return t.length>5?(n=t.substring(1,3),i=t.substring(3,5),r=t.substring(5,7),l=t.substring(7,9)):(n=t.substring(1,2),i=t.substring(2,3),r=t.substring(3,4),l=t.substring(4,5),n+=n,i+=i,r+=r,l+=l),{red:parseInt(n,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:l?parseInt(l,16)/255:1}}const vh={test:vm("#"),parse:PM,transform:Hi.transform},Uo=t=>({test:n=>typeof n=="string"&&n.endsWith(t)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${t}`}),$a=Uo("deg"),Qn=Uo("%"),vt=Uo("px"),HM=Uo("vh"),UM=Uo("vw"),G0={...Qn,parse:t=>Qn.parse(t)/100,transform:t=>Qn.transform(t*100)},ks={test:vm("hsl","hue"),parse:TS("hue","saturation","lightness"),transform:({hue:t,saturation:n,lightness:i,alpha:r=1})=>"hsla("+Math.round(t)+", "+Qn.transform(lo(n))+", "+Qn.transform(lo(i))+", "+lo(Eo.transform(r))+")"},ue={test:t=>Hi.test(t)||vh.test(t)||ks.test(t),parse:t=>Hi.test(t)?Hi.parse(t):ks.test(t)?ks.parse(t):vh.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?Hi.transform(t):ks.transform(t),getAnimatableNone:t=>{const n=ue.parse(t);return n.alpha=0,ue.transform(n)}},kM=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function LM(t){return isNaN(t)&&typeof t=="string"&&(t.match(ym)?.length||0)+(t.match(kM)?.length||0)>0}const ES="number",AS="color",VM="var",BM="var(",F0="${}",qM=/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 Ao(t){const n=t.toString(),i=[],r={color:[],number:[],var:[]},l=[];let c=0;const h=n.replace(qM,m=>(ue.test(m)?(r.color.push(c),l.push(AS),i.push(ue.parse(m))):m.startsWith(BM)?(r.var.push(c),l.push(VM),i.push(m)):(r.number.push(c),l.push(ES),i.push(parseFloat(m))),++c,F0)).split(F0);return{values:i,split:h,indexes:r,types:l}}function CS(t){return Ao(t).values}function OS(t){const{split:n,types:i}=Ao(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=i[u];h===ES?c+=lo(l[u]):h===AS?c+=ue.transform(l[u]):c+=l[u]}return c}}const QM=t=>typeof t=="number"?0:ue.test(t)?ue.getAnimatableNone(t):t;function GM(t){const n=CS(t);return OS(t)(n.map(QM))}const si={test:LM,parse:CS,createTransformer:OS,getAnimatableNone:GM};function Md(t,n,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(n-t)*6*i:i<1/2?n:i<2/3?t+(n-t)*(2/3-i)*6:t}function FM({hue:t,saturation:n,lightness:i,alpha:r}){t/=360,n/=100,i/=100;let l=0,c=0,u=0;if(!n)l=c=u=i;else{const h=i<.5?i*(1+n):i+n-i*n,m=2*i-h;l=Md(m,h,t+1/3),c=Md(m,h,t),u=Md(m,h,t-1/3)}return{red:Math.round(l*255),green:Math.round(c*255),blue:Math.round(u*255),alpha:r}}function Ac(t,n){return i=>i>0?n:t}const It=(t,n,i)=>t+(n-t)*i,Rd=(t,n,i)=>{const r=t*t,l=i*(n*n-r)+r;return l<0?0:Math.sqrt(l)},YM=[vh,Hi,ks],KM=t=>YM.find(n=>n.test(t));function Y0(t){const n=KM(t);if(!n)return!1;let i=n.parse(t);return n===ks&&(i=FM(i)),i}const K0=(t,n)=>{const i=Y0(t),r=Y0(n);if(!i||!r)return Ac(t,n);const l={...i};return c=>(l.red=Rd(i.red,r.red,c),l.green=Rd(i.green,r.green,c),l.blue=Rd(i.blue,r.blue,c),l.alpha=It(i.alpha,r.alpha,c),Hi.transform(l))},xh=new Set(["none","hidden"]);function XM(t,n){return xh.has(t)?i=>i<=0?t:n:i=>i>=1?n:t}function IM(t,n){return i=>It(t,n,i)}function xm(t){return typeof t=="number"?IM:typeof t=="string"?gm(t)?Ac:ue.test(t)?K0:JM:Array.isArray(t)?jS:typeof t=="object"?ue.test(t)?K0:ZM:Ac}function jS(t,n){const i=[...t],r=i.length,l=t.map((c,u)=>xm(c)(c,n[u]));return c=>{for(let u=0;u<r;u++)i[u]=l[u](c);return i}}function ZM(t,n){const i={...t,...n},r={};for(const l in i)t[l]!==void 0&&n[l]!==void 0&&(r[l]=xm(t[l])(t[l],n[l]));return l=>{for(const c in r)i[c]=r[c](l);return i}}function $M(t,n){const i=[],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;i[l]=h,r[c]++}return i}const JM=(t,n)=>{const i=si.createTransformer(n),r=Ao(t),l=Ao(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?xh.has(t)&&!l.values.length||xh.has(n)&&!r.values.length?XM(t,n):Po(jS($M(r,l),l.values),i):Ac(t,n)};function NS(t,n,i){return typeof t=="number"&&typeof n=="number"&&typeof i=="number"?It(t,n,i):xm(t)(t,n)}const WM=t=>{const n=({timestamp:i})=>t(i);return{start:(i=!0)=>Kt.update(n,i),stop:()=>ii(n),now:()=>Te.isProcessing?Te.timestamp:Ke.now()}},MS=(t,n,i=10)=>{let r="";const l=Math.max(Math.round(n/i),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)})`},Cc=2e4;function bm(t){let n=0;const i=50;let r=t.next(n);for(;!r.done&&n<Cc;)n+=i,r=t.next(n);return n>=Cc?1/0:n}function tR(t,n=100,i){const r=i({...t,keyframes:[0,n]}),l=Math.min(bm(r),Cc);return{type:"keyframes",ease:c=>r.next(l*c).value/n,duration:xn(l)}}const eR=5;function RS(t,n,i){const r=Math.max(n-eR,0);return uS(i-t(r),n-r)}const Wt={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},Dd=.001;function nR({duration:t=Wt.duration,bounce:n=Wt.bounce,velocity:i=Wt.velocity,mass:r=Wt.mass}){let l,c,u=1-n;u=va(Wt.minDamping,Wt.maxDamping,u),t=va(Wt.minDuration,Wt.maxDuration,xn(t)),u<1?(l=p=>{const g=p*u,y=g*t,b=g-i,w=bh(p,u),T=Math.exp(-y);return Dd-b/w*T},c=p=>{const y=p*u*t,b=y*i+i,w=Math.pow(u,2)*Math.pow(p,2)*t,T=Math.exp(-y),E=bh(Math.pow(p,2),u);return(-l(p)+Dd>0?-1:1)*((b-w)*T)/E}):(l=p=>{const g=Math.exp(-p*t),y=(p-i)*t+1;return-Dd+g*y},c=p=>{const g=Math.exp(-p*t),y=(i-p)*(t*t);return g*y});const h=5/t,m=iR(l,c,h);if(t=qn(t),isNaN(m))return{stiffness:Wt.stiffness,damping:Wt.damping,duration:t};{const p=Math.pow(m,2)*r;return{stiffness:p,damping:u*2*Math.sqrt(r*p),duration:t}}}const aR=12;function iR(t,n,i){let r=i;for(let l=1;l<aR;l++)r=r-t(r)/n(r);return r}function bh(t,n){return t*Math.sqrt(1-n*n)}const sR=["duration","bounce"],rR=["stiffness","damping","mass"];function X0(t,n){return n.some(i=>t[i]!==void 0)}function oR(t){let n={velocity:Wt.velocity,stiffness:Wt.stiffness,damping:Wt.damping,mass:Wt.mass,isResolvedFromDuration:!1,...t};if(!X0(t,rR)&&X0(t,sR))if(t.visualDuration){const i=t.visualDuration,r=2*Math.PI/(i*1.2),l=r*r,c=2*va(.05,1,1-(t.bounce||0))*Math.sqrt(l);n={...n,mass:Wt.mass,stiffness:l,damping:c}}else{const i=nR(t);n={...n,...i,mass:Wt.mass},n.isResolvedFromDuration=!0}return n}function Oc(t=Wt.visualDuration,n=Wt.bounce){const i=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:n}:t;let{restSpeed:r,restDelta:l}=i;const c=i.keyframes[0],u=i.keyframes[i.keyframes.length-1],h={done:!1,value:c},{stiffness:m,damping:p,mass:g,duration:y,velocity:b,isResolvedFromDuration:w}=oR({...i,velocity:-xn(i.velocity||0)}),T=b||0,E=p/(2*Math.sqrt(m*g)),D=u-c,N=xn(Math.sqrt(m/g)),Q=Math.abs(D)<5;r||(r=Q?Wt.restSpeed.granular:Wt.restSpeed.default),l||(l=Q?Wt.restDelta.granular:Wt.restDelta.default);let q;if(E<1){const U=bh(N,E);q=G=>{const R=Math.exp(-E*N*G);return u-R*((T+E*N*D)/U*Math.sin(U*G)+D*Math.cos(U*G))}}else if(E===1)q=U=>u-Math.exp(-N*U)*(D+(T+N*D)*U);else{const U=N*Math.sqrt(E*E-1);q=G=>{const R=Math.exp(-E*N*G),_=Math.min(U*G,300);return u-R*((T+E*N*D)*Math.sinh(_)+U*D*Math.cosh(_))/U}}const $={calculatedDuration:w&&y||null,next:U=>{const G=q(U);if(w)h.done=U>=y;else{let R=U===0?T:0;E<1&&(R=U===0?qn(T):RS(q,U,G));const _=Math.abs(R)<=r,J=Math.abs(u-G)<=l;h.done=_&&J}return h.value=h.done?u:G,h},toString:()=>{const U=Math.min(bm($),Cc),G=MS(R=>$.next(U*R).value,U,30);return U+"ms "+G},toTransition:()=>{}};return $}Oc.applyToOptions=t=>{const n=tR(t,100,Oc);return t.ease=n.ease,t.duration=qn(n.duration),t.type="keyframes",t};function Sh({keyframes:t,velocity:n=0,power:i=.8,timeConstant:r=325,bounceDamping:l=10,bounceStiffness:c=500,modifyTarget:u,min:h,max:m,restDelta:p=.5,restSpeed:g}){const y=t[0],b={done:!1,value:y},w=_=>h!==void 0&&_<h||m!==void 0&&_>m,T=_=>h===void 0?m:m===void 0||Math.abs(h-_)<Math.abs(m-_)?h:m;let E=i*n;const D=y+E,N=u===void 0?D:u(D);N!==D&&(E=N-y);const Q=_=>-E*Math.exp(-_/r),q=_=>N+Q(_),$=_=>{const J=Q(_),W=q(_);b.done=Math.abs(J)<=p,b.value=b.done?N:W};let U,G;const R=_=>{w(b.value)&&(U=_,G=Oc({keyframes:[b.value,T(b.value)],velocity:RS(q,_,b.value),damping:l,stiffness:c,restDelta:p,restSpeed:g}))};return R(0),{calculatedDuration:null,next:_=>{let J=!1;return!G&&U===void 0&&(J=!0,$(_),R(_)),U!==void 0&&_>=U?G.next(_-U):(!J&&$(_),b)}}}function lR(t,n,i){const r=[],l=i||xa.mix||NS,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]||bn:n;h=Po(m,h)}r.push(h)}return r}function cR(t,n,{clamp:i=!0,ease:r,mixer:l}={}){const c=t.length;if(um(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=lR(n,r,l),m=h.length,p=g=>{if(u&&g<t[0])return n[0];let y=0;if(m>1)for(;y<t.length-2&&!(g<t[y+1]);y++);const b=To(t[y],t[y+1],g);return h[y](b)};return i?g=>p(va(t[0],t[c-1],g)):p}function uR(t,n){const i=t[t.length-1];for(let r=1;r<=n;r++){const l=To(0,n,r);t.push(It(i,1,l))}}function fR(t){const n=[0];return uR(n,t.length-1),n}function dR(t,n){return t.map(i=>i*n)}function hR(t,n){return t.map(()=>n||xS).splice(0,t.length-1)}function co({duration:t=300,keyframes:n,times:i,ease:r="easeInOut"}){const l=EM(r)?r.map(Q0):Q0(r),c={done:!1,value:n[0]},u=dR(i&&i.length===n.length?i:fR(n),t),h=cR(u,n,{ease:Array.isArray(l)?l:hR(n,l)});return{calculatedDuration:t,next:m=>(c.value=h(m),c.done=m>=t,c)}}const mR=t=>t!==null;function Sm(t,{repeat:n,repeatType:i="loop"},r,l=1){const c=t.filter(mR),h=l<0||n&&i!=="loop"&&n%2===1?0:c.length-1;return!h||r===void 0?c[h]:r}const pR={decay:Sh,inertia:Sh,tween:co,keyframes:co,spring:Oc};function DS(t){typeof t.type=="string"&&(t.type=pR[t.type])}class wm{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(n=>{this.resolve=n})}notifyFinished(){this.resolve()}then(n,i){return this.finished.then(n,i)}}const gR=t=>t/100;class Tm extends wm{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:i}=this.options;i&&i.updatedAt!==Ke.now()&&this.tick(Ke.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;DS(n);const{type:i=co,repeat:r=0,repeatDelay:l=0,repeatType:c,velocity:u=0}=n;let{keyframes:h}=n;const m=i||co;m!==co&&typeof h[0]!="number"&&(this.mixKeyframes=Po(gR,NS(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=bm(p));const{calculatedDuration:g}=p;this.calculatedDuration=g,this.resolvedDuration=g+l,this.totalDuration=this.resolvedDuration*(r+1)-l,this.generator=p}updateTime(n){const i=Math.round(n-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=i}tick(n,i=!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:g,repeat:y,repeatType:b,repeatDelay:w,type:T,onUpdate:E,finalKeyframe:D}=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)),i?this.currentTime=n:this.updateTime(n);const N=this.currentTime-p*(this.playbackSpeed>=0?1:-1),Q=this.playbackSpeed>=0?N<0:N>l;this.currentTime=Math.max(N,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=l);let q=this.currentTime,$=r;if(y){const _=Math.min(this.currentTime,l)/h;let J=Math.floor(_),W=_%1;!W&&_>=1&&(W=1),W===1&&J--,J=Math.min(J,y+1),!!(J%2)&&(b==="reverse"?(W=1-W,w&&(W-=w/h)):b==="mirror"&&($=u)),q=va(0,1,W)*h}const U=Q?{done:!1,value:g[0]}:$.next(q);c&&(U.value=c(U.value));let{done:G}=U;!Q&&m!==null&&(G=this.playbackSpeed>=0?this.currentTime>=l:this.currentTime<=0);const R=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&G);return R&&T!==Sh&&(U.value=Sm(g,this.options,D,this.speed)),E&&E(U.value),R&&this.finish(),U}then(n,i){return this.finished.then(n,i)}get duration(){return xn(this.calculatedDuration)}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+xn(n)}get time(){return xn(this.currentTime)}set time(n){n=qn(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(Ke.now());const i=this.playbackSpeed!==n;this.playbackSpeed=n,i&&(this.time=xn(this.currentTime))}play(){if(this.isStopped)return;const{driver:n=WM,startTime:i}=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=i??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(Ke.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 yR(t){for(let n=1;n<t.length;n++)t[n]??(t[n]=t[n-1])}const Ui=t=>t*180/Math.PI,wh=t=>{const n=Ui(Math.atan2(t[1],t[0]));return Th(n)},vR={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:wh,rotateZ:wh,skewX:t=>Ui(Math.atan(t[1])),skewY:t=>Ui(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},Th=t=>(t=t%360,t<0&&(t+=360),t),I0=wh,Z0=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),$0=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),xR={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Z0,scaleY:$0,scale:t=>(Z0(t)+$0(t))/2,rotateX:t=>Th(Ui(Math.atan2(t[6],t[5]))),rotateY:t=>Th(Ui(Math.atan2(-t[2],t[0]))),rotateZ:I0,rotate:I0,skewX:t=>Ui(Math.atan(t[4])),skewY:t=>Ui(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function Eh(t){return t.includes("scale")?1:0}function Ah(t,n){if(!t||t==="none")return Eh(n);const i=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,l;if(i)r=xR,l=i;else{const h=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=vR,l=h}if(!l)return Eh(n);const c=r[n],u=l[1].split(",").map(SR);return typeof c=="function"?c(u):u[c]}const bR=(t,n)=>{const{transform:i="none"}=getComputedStyle(t);return Ah(i,n)};function SR(t){return parseFloat(t.trim())}const ar=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ir=new Set(ar),J0=t=>t===nr||t===vt,wR=new Set(["x","y","z"]),TR=ar.filter(t=>!wR.has(t));function ER(t){const n=[];return TR.forEach(i=>{const r=t.getValue(i);r!==void 0&&(n.push([i,r.get()]),r.set(i.startsWith("scale")?1:0))}),n}const ki={width:({x:t},{paddingLeft:n="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(n)-parseFloat(i),height:({y:t},{paddingTop:n="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(n)-parseFloat(i),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})=>Ah(n,"x"),y:(t,{transform:n})=>Ah(n,"y")};ki.translateX=ki.x;ki.translateY=ki.y;const Li=new Set;let Ch=!1,Oh=!1,jh=!1;function _S(){if(Oh){const t=Array.from(Li).filter(r=>r.needsMeasurement),n=new Set(t.map(r=>r.element)),i=new Map;n.forEach(r=>{const l=ER(r);l.length&&(i.set(r,l),r.render())}),t.forEach(r=>r.measureInitialState()),n.forEach(r=>{r.render();const l=i.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)})}Oh=!1,Ch=!1,Li.forEach(t=>t.complete(jh)),Li.clear()}function zS(){Li.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Oh=!0)})}function AR(){jh=!0,zS(),_S(),jh=!1}class Em{constructor(n,i,r,l,c,u=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...n],this.onComplete=i,this.name=r,this.motionValue=l,this.element=c,this.isAsync=u}scheduleResolve(){this.state="scheduled",this.isAsync?(Li.add(this),Ch||(Ch=!0,Kt.read(zS),Kt.resolveKeyframes(_S))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:i,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&&i){const h=r.readValue(i,u);h!=null&&(n[0]=h)}n[0]===void 0&&(n[0]=u),l&&c===void 0&&l.set(n[0])}yR(n)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(n=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,n),Li.delete(this)}cancel(){this.state==="scheduled"&&(Li.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const CR=t=>t.startsWith("--");function OR(t,n,i){CR(n)?t.style.setProperty(n,i):t.style[n]=i}const jR=fm(()=>window.ScrollTimeline!==void 0),NR={};function MR(t,n){const i=fm(t);return()=>NR[n]??i()}const PS=MR(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),so=([t,n,i,r])=>`cubic-bezier(${t}, ${n}, ${i}, ${r})`,W0={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:so([0,.65,.55,1]),circOut:so([.55,0,1,.45]),backIn:so([.31,.01,.66,-.59]),backOut:so([.33,1.53,.69,.99])};function HS(t,n){if(t)return typeof t=="function"?PS()?MS(t,n):"ease-out":bS(t)?so(t):Array.isArray(t)?t.map(i=>HS(i,n)||W0.easeOut):W0[t]}function RR(t,n,i,{delay:r=0,duration:l=300,repeat:c=0,repeatType:u="loop",ease:h="easeOut",times:m}={},p=void 0){const g={[n]:i};m&&(g.offset=m);const y=HS(h,l);Array.isArray(y)&&(g.easing=y);const b={delay:r,duration:l,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:c+1,direction:u==="reverse"?"alternate":"normal"};return p&&(b.pseudoElement=p),t.animate(g,b)}function US(t){return typeof t=="function"&&"applyToOptions"in t}function DR({type:t,...n}){return US(t)&&PS()?t.applyToOptions(n):(n.duration??(n.duration=300),n.ease??(n.ease="easeOut"),n)}class _R extends wm{constructor(n){if(super(),this.finishedTime=null,this.isStopped=!1,!n)return;const{element:i,name:r,keyframes:l,pseudoElement:c,allowFlatten:u=!1,finalKeyframe:h,onComplete:m}=n;this.isPseudoElement=!!c,this.allowFlatten=u,this.options=n,um(typeof n.type!="string");const p=DR(n);this.animation=RR(i,r,l,p,c),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!c){const g=Sm(l,this.options,h,this.speed);this.updateMotionValue?this.updateMotionValue(g):OR(i,r,g),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 xn(Number(n))}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+xn(n)}get time(){return xn(Number(this.animation.currentTime)||0)}set time(n){this.finishedTime=null,this.animation.currentTime=qn(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:i}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,n&&jR()?(this.animation.timeline=n,bn):i(this)}}const kS={anticipate:gS,backInOut:pS,circInOut:vS};function zR(t){return t in kS}function PR(t){typeof t.ease=="string"&&zR(t.ease)&&(t.ease=kS[t.ease])}const tx=10;class HR extends _R{constructor(n){PR(n),DS(n),super(n),n.startTime&&(this.startTime=n.startTime),this.options=n}updateMotionValue(n){const{motionValue:i,onUpdate:r,onComplete:l,element:c,...u}=this.options;if(!i)return;if(n!==void 0){i.set(n);return}const h=new Tm({...u,autoplay:!1}),m=qn(this.finishedTime??this.time);i.setWithVelocity(h.sample(m-tx).value,h.sample(m).value,tx),h.stop()}}const ex=(t,n)=>n==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(si.test(t)||t==="0")&&!t.startsWith("url("));function UR(t){const n=t[0];if(t.length===1)return!0;for(let i=0;i<t.length;i++)if(t[i]!==n)return!0}function kR(t,n,i,r){const l=t[0];if(l===null)return!1;if(n==="display"||n==="visibility")return!0;const c=t[t.length-1],u=ex(l,n),h=ex(c,n);return!u||!h?!1:UR(t)||(i==="spring"||US(i))&&r}function Nh(t){t.duration=0,t.type="keyframes"}const LR=new Set(["opacity","clipPath","filter","transform"]),VR=fm(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function BR(t){const{motionValue:n,name:i,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 VR()&&i&&LR.has(i)&&(i!=="transform"||!p)&&!m&&!r&&l!=="mirror"&&c!==0&&u!=="inertia"}const qR=40;class QR extends wm{constructor({autoplay:n=!0,delay:i=0,type:r="keyframes",repeat:l=0,repeatDelay:c=0,repeatType:u="loop",keyframes:h,name:m,motionValue:p,element:g,...y}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Ke.now();const b={autoplay:n,delay:i,type:r,repeat:l,repeatDelay:c,repeatType:u,name:m,motionValue:p,element:g,...y},w=g?.KeyframeResolver||Em;this.keyframeResolver=new w(h,(T,E,D)=>this.onKeyframesResolved(T,E,b,!D),m,p,g),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(n,i,r,l){this.keyframeResolver=void 0;const{name:c,type:u,velocity:h,delay:m,isHandoff:p,onUpdate:g}=r;this.resolvedAt=Ke.now(),kR(n,c,u,h)||((xa.instantAnimations||!m)&&g?.(Sm(n,r,i)),n[0]=n[n.length-1],Nh(r),r.repeat=0);const b={startTime:l?this.resolvedAt?this.resolvedAt-this.createdAt>qR?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:i,...r,keyframes:n},w=!p&&BR(b)?new HR({...b,element:b.motionValue.owner.current}):new Tm(b);w.finished.then(()=>this.notifyFinished()).catch(bn),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,i){return this.finished.finally(n).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),AR()),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 GR=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function FR(t){const n=GR.exec(t);if(!n)return[,];const[,i,r,l]=n;return[`--${i??r}`,l]}function LS(t,n,i=1){const[r,l]=FR(t);if(!r)return;const c=window.getComputedStyle(n).getPropertyValue(r);if(c){const u=c.trim();return oS(u)?parseFloat(u):u}return gm(l)?LS(l,n,i+1):l}function Am(t,n){return t?.[n]??t?.default??t}const VS=new Set(["width","height","top","left","right","bottom",...ar]),YR={test:t=>t==="auto",parse:t=>t},BS=t=>n=>n.test(t),qS=[nr,vt,Qn,$a,UM,HM,YR],nx=t=>qS.find(BS(t));function KR(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||cS(t):!0}const XR=new Set(["brightness","contrast","saturate","opacity"]);function IR(t){const[n,i]=t.slice(0,-1).split("(");if(n==="drop-shadow")return t;const[r]=i.match(ym)||[];if(!r)return t;const l=i.replace(r,"");let c=XR.has(n)?1:0;return r!==i&&(c*=100),n+"("+c+l+")"}const ZR=/\b([a-z-]*)\(.*?\)/gu,Mh={...si,getAnimatableNone:t=>{const n=t.match(ZR);return n?n.map(IR).join(" "):t}},ax={...nr,transform:Math.round},$R={rotate:$a,rotateX:$a,rotateY:$a,rotateZ:$a,scale:uc,scaleX:uc,scaleY:uc,scaleZ:uc,skew:$a,skewX:$a,skewY:$a,distance:vt,translateX:vt,translateY:vt,translateZ:vt,x:vt,y:vt,z:vt,perspective:vt,transformPerspective:vt,opacity:Eo,originX:G0,originY:G0,originZ:vt},Cm={borderWidth:vt,borderTopWidth:vt,borderRightWidth:vt,borderBottomWidth:vt,borderLeftWidth:vt,borderRadius:vt,radius:vt,borderTopLeftRadius:vt,borderTopRightRadius:vt,borderBottomRightRadius:vt,borderBottomLeftRadius:vt,width:vt,maxWidth:vt,height:vt,maxHeight:vt,top:vt,right:vt,bottom:vt,left:vt,padding:vt,paddingTop:vt,paddingRight:vt,paddingBottom:vt,paddingLeft:vt,margin:vt,marginTop:vt,marginRight:vt,marginBottom:vt,marginLeft:vt,backgroundPositionX:vt,backgroundPositionY:vt,...$R,zIndex:ax,fillOpacity:Eo,strokeOpacity:Eo,numOctaves:ax},JR={...Cm,color:ue,backgroundColor:ue,outlineColor:ue,fill:ue,stroke:ue,borderColor:ue,borderTopColor:ue,borderRightColor:ue,borderBottomColor:ue,borderLeftColor:ue,filter:Mh,WebkitFilter:Mh},QS=t=>JR[t];function GS(t,n){let i=QS(t);return i!==Mh&&(i=si),i.getAnimatableNone?i.getAnimatableNone(n):void 0}const WR=new Set(["auto","none","0"]);function tD(t,n,i){let r=0,l;for(;r<t.length&&!l;){const c=t[r];typeof c=="string"&&!WR.has(c)&&Ao(c).values.length&&(l=t[r]),r++}if(l&&i)for(const c of n)t[c]=GS(i,l)}class eD extends Em{constructor(n,i,r,l,c){super(n,i,r,l,c,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:i,name:r}=this;if(!i||!i.current)return;super.readKeyframes();for(let m=0;m<n.length;m++){let p=n[m];if(typeof p=="string"&&(p=p.trim(),gm(p))){const g=LS(p,i.current);g!==void 0&&(n[m]=g),m===n.length-1&&(this.finalKeyframe=p)}}if(this.resolveNoneKeyframes(),!VS.has(r)||n.length!==2)return;const[l,c]=n,u=nx(l),h=nx(c);if(u!==h)if(J0(u)&&J0(h))for(let m=0;m<n.length;m++){const p=n[m];typeof p=="string"&&(n[m]=parseFloat(p))}else ki[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:i}=this,r=[];for(let l=0;l<n.length;l++)(n[l]===null||KR(n[l]))&&r.push(l);r.length&&tD(n,r,i)}measureInitialState(){const{element:n,unresolvedKeyframes:i,name:r}=this;if(!n||!n.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ki[r](n.measureViewportBox(),window.getComputedStyle(n.current)),i[0]=this.measuredOrigin;const l=i[i.length-1];l!==void 0&&n.getValue(r,l).jump(l,!1)}measureEndState(){const{element:n,name:i,unresolvedKeyframes:r}=this;if(!n||!n.current)return;const l=n.getValue(i);l&&l.jump(this.measuredOrigin,!1);const c=r.length-1,u=r[c];r[c]=ki[i](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 FS(t,n,i){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 YS=(t,n)=>n&&typeof t=="number"?n.transform(t):t;function nD(t){return lS(t)&&"offsetHeight"in t}const ix=30,aD=t=>!isNaN(parseFloat(t));class iD{constructor(n,i={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const l=Ke.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=i.owner}setCurrent(n){this.current=n,this.updatedAt=Ke.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=aD(this.current))}setPrevFrameValue(n=this.current){this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt}onChange(n){return this.on("change",n)}on(n,i){this.events[n]||(this.events[n]=new dm);const r=this.events[n].add(i);return n==="change"?()=>{r(),Kt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,i){this.passiveEffect=n,this.stopPassiveEffect=i}set(n){this.passiveEffect?this.passiveEffect(n,this.updateAndNotify):this.updateAndNotify(n)}setWithVelocity(n,i,r){this.set(i),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-r}jump(n,i=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&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=Ke.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>ix)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,ix);return uS(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(n){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=n(i),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 Zs(t,n){return new iD(t,n)}const{schedule:Om}=SS(queueMicrotask,!1),On={x:!1,y:!1};function KS(){return On.x||On.y}function sD(t){return t==="x"||t==="y"?On[t]?null:(On[t]=!0,()=>{On[t]=!1}):On.x||On.y?null:(On.x=On.y=!0,()=>{On.x=On.y=!1})}function XS(t,n){const i=FS(t),r=new AbortController,l={passive:!0,...n,signal:r.signal};return[i,l,()=>r.abort()]}function sx(t){return!(t.pointerType==="touch"||KS())}function rD(t,n,i={}){const[r,l,c]=XS(t,i),u=h=>{if(!sx(h))return;const{target:m}=h,p=n(m,h);if(typeof p!="function"||!m)return;const g=y=>{sx(y)&&(p(y),m.removeEventListener("pointerleave",g))};m.addEventListener("pointerleave",g,l)};return r.forEach(h=>{h.addEventListener("pointerenter",u,l)}),c}const IS=(t,n)=>n?t===n?!0:IS(t,n.parentElement):!1,jm=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,oD=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function lD(t){return oD.has(t.tagName)||t.tabIndex!==-1}const yc=new WeakSet;function rx(t){return n=>{n.key==="Enter"&&t(n)}}function _d(t,n){t.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const cD=(t,n)=>{const i=t.currentTarget;if(!i)return;const r=rx(()=>{if(yc.has(i))return;_d(i,"down");const l=rx(()=>{_d(i,"up")}),c=()=>_d(i,"cancel");i.addEventListener("keyup",l,n),i.addEventListener("blur",c,n)});i.addEventListener("keydown",r,n),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),n)};function ox(t){return jm(t)&&!KS()}function uD(t,n,i={}){const[r,l,c]=XS(t,i),u=h=>{const m=h.currentTarget;if(!ox(h))return;yc.add(m);const p=n(m,h),g=(w,T)=>{window.removeEventListener("pointerup",y),window.removeEventListener("pointercancel",b),yc.has(m)&&yc.delete(m),ox(w)&&typeof p=="function"&&p(w,{success:T})},y=w=>{g(w,m===window||m===document||i.useGlobalTarget||IS(m,w.target))},b=w=>{g(w,!1)};window.addEventListener("pointerup",y,l),window.addEventListener("pointercancel",b,l)};return r.forEach(h=>{(i.useGlobalTarget?window:h).addEventListener("pointerdown",u,l),nD(h)&&
vendor: 4,897 bytes, line 187
187(h.addEventListener("focus",p=>cD(p,l)),!lD(h)&&!h.hasAttribute("tabindex")&&(h.tabIndex=0))}),c}function ZS(t){return lS(t)&&"ownerSVGElement"in t}function fD(t){return ZS(t)&&t.tagName==="svg"}const je=t=>!!(t&&t.getVelocity),dD=[...qS,ue,si],hD=t=>dD.find(BS(t)),$S=A.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function mD(t=!0){const n=A.useContext(om);if(n===null)return[!0,null];const{isPresent:i,onExitComplete:r,register:l}=n,c=A.useId();A.useEffect(()=>{if(t)return l(c)},[t]);const u=A.useCallback(()=>t&&r&&r(c),[c,r,t]);return!i&&r?[!1,u]:[!0]}const JS=A.createContext({strict:!1}),lx={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"]},$s={};for(const t in lx)$s[t]={isEnabled:n=>lx[t].some(i=>!!n[i])};function pD(t){for(const n in t)$s[n]={...$s[n],...t[n]}}const gD=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 jc(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||gD.has(t)}let WS=t=>!jc(t);function yD(t){typeof t=="function"&&(WS=n=>n.startsWith("on")?!jc(n):t(n))}try{yD(require("@emotion/is-prop-valid").default)}catch{}function vD(t,n,i){const r={};for(const l in t)l==="values"&&typeof t.values=="object"||(WS(l)||i===!0&&jc(l)||!n&&!jc(l)||t.draggable&&l.startsWith("onDrag"))&&(r[l]=t[l]);return r}const Kc=A.createContext({});function Xc(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function Co(t){return typeof t=="string"||Array.isArray(t)}const Nm=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Mm=["initial",...Nm];function Ic(t){return Xc(t.animate)||Mm.some(n=>Co(t[n]))}function tw(t){return!!(Ic(t)||t.variants)}function xD(t,n){if(Ic(t)){const{initial:i,animate:r}=t;return{initial:i===!1||Co(i)?i:void 0,animate:Co(r)?r:void 0}}return t.inherit!==!1?n:{}}function bD(t){const{initial:n,animate:i}=xD(t,A.useContext(Kc));return A.useMemo(()=>({initial:n,animate:i}),[cx(n),cx(i)])}function cx(t){return Array.isArray(t)?t.join(" "):t}const Oo={};function SD(t){for(const n in t)Oo[n]=t[n],pm(n)&&(Oo[n].isCSSVariable=!0)}function ew(t,{layout:n,layoutId:i}){return ir.has(t)||t.startsWith("origin")||(n||i!==void 0)&&(!!Oo[t]||t==="opacity")}const wD={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},TD=ar.length;function ED(t,n,i){let r="",l=!0;for(let c=0;c<TD;c++){const u=ar[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||i){const p=YS(h,Cm[u]);if(!m){l=!1;const g=wD[u]||u;r+=`${g}(${p}) `}i&&(n[u]=p)}}return r=r.trim(),i?r=i(n,l?"":r):l&&(r="none"),r}function Rm(t,n,i){const{style:r,vars:l,transformOrigin:c}=t;let u=!1,h=!1;for(const m in n){const p=n[m];if(ir.has(m)){u=!0;continue}else if(pm(m)){l[m]=p;continue}else{const g=YS(p,Cm[m]);m.startsWith("origin")?(h=!0,c[m]=g):r[m]=g}}if(n.transform||(u||i?r.transform=ED(n,t.transform,i):r.transform&&(r.transform="none")),h){const{originX:m="50%",originY:p="50%",originZ:g=0}=c;r.transformOrigin=`${m} ${p} ${g}`}}const Dm=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function nw(t,n,i){for(const r in n)!je(n[r])&&!ew(r,i)&&(t[r]=n[r])}function AD({transformTemplate:t},n){return A.useMemo(()=>{const i=Dm();return Rm(i,n,t),Object.assign({},i.vars,i.style)},[n])}function CD(t,n){const i=t.style||{},r={};return nw(r,i,t),Object.assign(r,AD(t,n)),r}function OD(t,n){const i={},r=CD(t,n);return t.drag&&t.dragListener!==!1&&(i.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)&&(i.tabIndex=0),i.style=r,i}const jD={offset:"stroke-dashoffset",array:"stroke-dasharray"},ND={offset:"strokeDashoffset",array:"strokeDasharray"};function MD(t,n,i=1,r=0,l=!0){t.pathLength=1;const c=l?jD:ND;t[c.offset]=vt.transform(-r);const u=vt.transform(n),h=vt.transform(i);t[c.array]=`${u} ${h}`}function aw(t,{attrX:n,attrY:i,attrScale:r,pathLength:l,pathSpacing:c=1,pathOffset:u=0,...h}
vendor: 40,044 bytes, line 187
187,m,p,g){if(Rm(t,h,p),m){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:y,style:b}=t;y.transform&&(b.transform=y.transform,delete y.transform),(b.transform||y.transformOrigin)&&(b.transformOrigin=y.transformOrigin??"50% 50%",delete y.transformOrigin),b.transform&&(b.transformBox=g?.transformBox??"fill-box",delete y.transformBox),n!==void 0&&(y.x=n),i!==void 0&&(y.y=i),r!==void 0&&(y.scale=r),l!==void 0&&MD(y,l,c,u,!1)}const iw=()=>({...Dm(),attrs:{}}),sw=t=>typeof t=="string"&&t.toLowerCase()==="svg";function RD(t,n,i,r){const l=A.useMemo(()=>{const c=iw();return aw(c,n,sw(r),t.transformTemplate,t.style),{...c.attrs,style:{...c.style}}},[n]);if(t.style){const c={};nw(c,t.style,t),l.style={...c,...l.style}}return l}const DD=["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 _m(t){return typeof t!="string"||t.includes("-")?!1:!!(DD.indexOf(t)>-1||/[A-Z]/u.test(t))}function _D(t,n,i,{latestValues:r},l,c=!1){const h=(_m(t)?RD:OD)(n,r,l,t),m=vD(n,typeof t=="string",c),p=t!==A.Fragment?{...m,...h,ref:i}:{},{children:g}=n,y=A.useMemo(()=>je(g)?g.get():g,[g]);return A.createElement(t,{...p,children:y})}function ux(t){const n=[{},{}];return t?.values.forEach((i,r)=>{n[0][r]=i.get(),n[1][r]=i.getVelocity()}),n}function zm(t,n,i,r){if(typeof n=="function"){const[l,c]=ux(r);n=n(i!==void 0?i:t.custom,l,c)}if(typeof n=="string"&&(n=t.variants&&t.variants[n]),typeof n=="function"){const[l,c]=ux(r);n=n(i!==void 0?i:t.custom,l,c)}return n}function vc(t){return je(t)?t.get():t}function zD({scrapeMotionValuesFromProps:t,createRenderState:n},i,r,l){return{latestValues:PD(i,r,l,t),renderState:n()}}function PD(t,n,i,r){const l={},c=r(t,{});for(const b in c)l[b]=vc(c[b]);let{initial:u,animate:h}=t;const m=Ic(t),p=tw(t);n&&p&&!m&&t.inherit!==!1&&(u===void 0&&(u=n.initial),h===void 0&&(h=n.animate));let g=i?i.initial===!1:!1;g=g||u===!1;const y=g?h:u;if(y&&typeof y!="boolean"&&!Xc(y)){const b=Array.isArray(y)?y:[y];for(let w=0;w<b.length;w++){const T=zm(t,b[w]);if(T){const{transitionEnd:E,transition:D,...N}=T;for(const Q in N){let q=N[Q];if(Array.isArray(q)){const $=g?q.length-1:0;q=q[$]}q!==null&&(l[Q]=q)}for(const Q in E)l[Q]=E[Q]}}}return l}const rw=t=>(n,i)=>{const r=A.useContext(Kc),l=A.useContext(om),c=()=>zD(t,n,r,l);return i?c():gM(c)};function Pm(t,n,i){const{style:r}=t,l={};for(const c in r)(je(r[c])||n.style&&je(n.style[c])||ew(c,t)||i?.getValue(c)?.liveStyle!==void 0)&&(l[c]=r[c]);return l}const HD=rw({scrapeMotionValuesFromProps:Pm,createRenderState:Dm});function ow(t,n,i){const r=Pm(t,n,i);for(const l in t)if(je(t[l])||je(n[l])){const c=ar.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;r[c]=t[l]}return r}const UD=rw({scrapeMotionValuesFromProps:ow,createRenderState:iw}),kD=Symbol.for("motionComponentSymbol");function Ls(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function LD(t,n,i){return A.useCallback(r=>{r&&t.onMount&&t.onMount(r),n&&(r?n.mount(r):n.unmount()),i&&(typeof i=="function"?i(r):Ls(i)&&(i.current=r))},[n])}const Hm=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),VD="framerAppearId",lw="data-"+Hm(VD),cw=A.createContext({});function BD(t,n,i,r,l){const{visualElement:c}=A.useContext(Kc),u=A.useContext(JS),h=A.useContext(om),m=A.useContext($S).reducedMotion,p=A.useRef(null);r=r||u.renderer,!p.current&&r&&(p.current=r(t,{visualState:n,parent:c,props:i,presenceContext:h,blockInitialAnimation:h?h.initial===!1:!1,reducedMotionConfig:m}));const g=p.current,y=A.useContext(cw);g&&!g.projection&&l&&(g.type==="html"||g.type==="svg")&&qD(p.current,i,l,y);const b=A.useRef(!1);A.useInsertionEffect(()=>{g&&b.current&&g.update(i,h)});const w=i[lw],T=A.useRef(!!w&&!window.MotionHandoffIsComplete?.(w)&&window.MotionHasOptimisedAnimation?.(w));return yM(()=>{g&&(b.current=!0,window.MotionIsMounted=!0,g.updateFeatures(),g.scheduleRenderMicrotask(),T.current&&g.animationState&&g.animationState.animateChanges())}),A.useEffect(()=>{g&&(!T.current&&g.animationState&&g.animationState.animateChanges(),T.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(w)}),T.current=!1),g.enteringChildren=void 0)}),g}function qD(t,n,i,r){const{layoutId:l,layout:c,drag:u,dragConstraints:h,layoutScroll:m,layoutRoot:p,layoutCrossfade:g}=n;t.projection=new i(t.latestValues,n["data-framer-portal-id"]?void 0:uw(t.parent)),t.projection.setOptions({layoutId:l,layout:c,alwaysMeasureLayout:!!u||h&&Ls(h),visualElement:t,animationType:typeof c=="string"?c:"both",initialPromotionConfig:r,crossfade:g,layoutScroll:m,layoutRoot:p})}function uw(t){if(t)return t.options.allowProjection!==!1?t.projection:uw(t.parent)}function zd(t,{forwardMotionProps:n=!1}={},i,r){i&&pD(i);const l=_m(t)?UD:HD;function c(h,m){let p;const g={...A.useContext($S),...h,layoutId:QD(h)},{isStatic:y}=g,b=bD(h),w=l(h,y);if(!y&&rm){GD();const T=FD(g);p=T.MeasureLayout,b.visualElement=BD(t,w,g,r,T.ProjectionNode)}return v.jsxs(Kc.Provider,{value:b,children:[p&&b.visualElement?v.jsx(p,{visualElement:b.visualElement,...g}):null,_D(t,h,LD(w,b.visualElement,m),w,y,n)]})}c.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const u=A.forwardRef(c);return u[kD]=t,u}function QD({layoutId:t}){const n=A.useContext(rS).id;return n&&t!==void 0?n+"-"+t:t}function GD(t,n){A.useContext(JS).strict}function FD(t){const{drag:n,layout:i}=$s;if(!n&&!i)return{};const r={...n,...i};return{MeasureLayout:n?.isEnabled(t)||i?.isEnabled(t)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function YD(t,n){if(typeof Proxy>"u")return zd;const i=new Map,r=(c,u)=>zd(c,u,t,n),l=(c,u)=>r(c,u);return new Proxy(l,{get:(c,u)=>u==="create"?r:(i.has(u)||i.set(u,zd(u,void 0,t,n)),i.get(u))})}function fw({top:t,left:n,right:i,bottom:r}){return{x:{min:n,max:i},y:{min:t,max:r}}}function KD({x:t,y:n}){return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function XD(t,n){if(!n)return t;const i=n({x:t.left,y:t.top}),r=n({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}function Pd(t){return t===void 0||t===1}function Rh({scale:t,scaleX:n,scaleY:i}){return!Pd(t)||!Pd(n)||!Pd(i)}function _i(t){return Rh(t)||dw(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function dw(t){return fx(t.x)||fx(t.y)}function fx(t){return t&&t!=="0%"}function Nc(t,n,i){const r=t-i,l=n*r;return i+l}function dx(t,n,i,r,l){return l!==void 0&&(t=Nc(t,l,r)),Nc(t,i,r)+n}function Dh(t,n=0,i=1,r,l){t.min=dx(t.min,n,i,r,l),t.max=dx(t.max,n,i,r,l)}function hw(t,{x:n,y:i}){Dh(t.x,n.translate,n.scale,n.originPoint),Dh(t.y,i.translate,i.scale,i.originPoint)}const hx=.999999999999,mx=1.0000000000001;function ID(t,n,i,r=!1){const l=i.length;if(!l)return;n.x=n.y=1;let c,u;for(let h=0;h<l;h++){c=i[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&&Bs(t,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),u&&(n.x*=u.x.scale,n.y*=u.y.scale,hw(t,u)),r&&_i(c.latestValues)&&Bs(t,c.latestValues))}n.x<mx&&n.x>hx&&(n.x=1),n.y<mx&&n.y>hx&&(n.y=1)}function Vs(t,n){t.min=t.min+n,t.max=t.max+n}function px(t,n,i,r,l=.5){const c=It(t.min,t.max,l);Dh(t,n,i,c,r)}function Bs(t,n){px(t.x,n.x,n.scaleX,n.scale,n.originX),px(t.y,n.y,n.scaleY,n.scale,n.originY)}function mw(t,n){return fw(XD(t.getBoundingClientRect(),n))}function ZD(t,n,i){const r=mw(t,i),{scroll:l}=n;return l&&(Vs(r.x,l.offset.x),Vs(r.y,l.offset.y)),r}const gx=()=>({translate:0,scale:1,origin:0,originPoint:0}),qs=()=>({x:gx(),y:gx()}),yx=()=>({min:0,max:0}),ie=()=>({x:yx(),y:yx()}),_h={current:null},pw={current:!1};function $D(){if(pw.current=!0,!!rm)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),n=()=>_h.current=t.matches;t.addEventListener("change",n),n()}else _h.current=!1}const JD=new WeakMap;function WD(t,n,i){for(const r in n){const l=n[r],c=i[r];if(je(l))t.addValue(r,l);else if(je(c))t.addValue(r,Zs(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,Zs(u!==void 0?u:l,{owner:t}))}}for(const r in i)n[r]===void 0&&t.removeValue(r);return n}const vx=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class t6{scrapeMotionValuesFromProps(n,i,r){return{}}constructor({parent:n,props:i,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=Em,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=Ke.now();this.renderScheduledAt<b&&(this.renderScheduledAt=b,Kt.render(this.render,!1,!0))};const{latestValues:m,renderState:p}=u;this.latestValues=m,this.baseTarget={...m},this.initialValues=i.initial?{...m}:{},this.renderState=p,this.parent=n,this.props=i,this.presenceContext=r,this.depth=n?n.depth+1:0,this.reducedMotionConfig=l,this.options=h,this.blockInitialAnimation=!!c,this.isControllingVariants=Ic(i),this.isVariantNode=tw(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:g,...y}=this.scrapeMotionValuesFromProps(i,{},this);for(const b in y){const w=y[b];m[b]!==void 0&&je(w)&&w.set(m[b])}}mount(n){this.current=n,JD.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((i,r)=>this.bindToMotionValue(r,i)),pw.current||$D(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:_h.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),ii(this.notifyUpdate),ii(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 i=this.features[n];i&&(i.unmount(),i.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,i){this.valueSubscriptions.has(n)&&this.valueSubscriptions.get(n)();const r=ir.has(n);r&&this.onBindTransform&&this.onBindTransform();const l=i.on("change",u=>{this.latestValues[n]=u,this.props.onUpdate&&Kt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let c;window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,n,i)),this.valueSubscriptions.set(n,()=>{l(),c&&c(),i.owner&&i.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 $s){const i=$s[n];if(!i)continue;const{isEnabled:r,Feature:l}=i;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):ie()}getStaticValue(n){return this.latestValues[n]}setStaticValue(n,i){this.latestValues[n]=i}update(n,i){(n.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=n,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let r=0;r<vx.length;r++){const l=vx[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=WD(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 i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(n),()=>i.variantChildren.delete(n)}addValue(n,i){const r=this.values.get(n);i!==r&&(r&&this.removeValue(n),this.bindToMotionValue(n,i),this.values.set(n,i),this.latestValues[n]=i.get())}removeValue(n){this.values.delete(n);const i=this.valueSubscriptions.get(n);i&&(i(),this.valueSubscriptions.delete(n)),delete this.latestValues[n],this.removeValueFromRenderState(n,this.renderState)}hasValue(n){return this.values.has(n)}getValue(n,i){if(this.props.values&&this.props.values[n])return this.props.values[n];let r=this.values.get(n);return r===void 0&&i!==void 0&&(r=Zs(i===null?void 0:i,{owner:this}),this.addValue(n,r)),r}readValue(n,i){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"&&(oS(r)||cS(r))?r=parseFloat(r):!hD(r)&&si.test(i)&&(r=GS(n,i)),this.setBaseTarget(n,je(r)?r.get():r)),je(r)?r.get():r}setBaseTarget(n,i){this.baseTarget[n]=i}getBaseTarget(n){const{initial:i}=this.props;let r;if(typeof i=="string"||typeof i=="object"){const c=zm(this.props,i,this.presenceContext?.custom);c&&(r=c[n])}if(i&&r!==void 0)return r;const l=this.getBaseTargetFromProps(this.props,n);return l!==void 0&&!je(l)?l:this.initialValues[n]!==void 0&&r===void 0?void 0:this.baseTarget[n]}on(n,i){return this.events[n]||(this.events[n]=new dm),this.events[n].add(i)}notify(n,...i){this.events[n]&&this.events[n].notify(...i)}scheduleRenderMicrotask(){Om.render(this.render)}}class gw extends t6{constructor(){super(...arguments),this.KeyframeResolver=eD}sortInstanceNodePosition(n,i){return n.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(n,i){return n.style?n.style[i]:void 0}removeValueFromRenderState(n,{vars:i,style:r}){delete i[n],delete r[n]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:n}=this.props;je(n)&&(this.childSubscription=n.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}function yw(t,{style:n,vars:i},r,l){const c=t.style;let u;for(u in n)c[u]=n[u];l?.applyProjectionStyles(c,r);for(u in i)c.setProperty(u,i[u])}function e6(t){return window.getComputedStyle(t)}class n6 extends gw{constructor(){super(...arguments),this.type="html",this.renderInstance=yw}readValueFromInstance(n,i){if(ir.has(i))return this.projection?.isProjecting?Eh(i):bR(n,i);{const r=e6(n),l=(pm(i)?r.getPropertyValue(i):r[i])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(n,{transformPagePoint:i}){return mw(n,i)}build(n,i,r){Rm(n,i,r.transformTemplate)}scrapeMotionValuesFromProps(n,i,r){return Pm(n,i,r)}}const vw=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 a6(t,n,i,r){yw(t,n,void 0,r);for(const l in n.attrs)t.setAttribute(vw.has(l)?l:Hm(l),n.attrs[l])}class i6 extends gw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ie}getBaseTargetFromProps(n,i){return n[i]}readValueFromInstance(n,i){if(ir.has(i)){const r=QS(i);return r&&r.default||0}return i=vw.has(i)?i:Hm(i),n.getAttribute(i)}scrapeMotionValuesFromProps(n,i,r){return ow(n,i,r)}build(n,i,r){aw(n,i,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(n,i,r,l){a6(n,i,r,l)}mount(n){this.isSVGTag=sw(n.tagName),super.mount(n)}}const s6=(t,n)=>_m(t)?new i6(n):new n6(n,{allowProjection:t!==A.Fragment});function Fs(t,n,i){const r=t.getProps();return zm(r,n,i!==void 0?i:r.custom,t)}const zh=t=>Array.isArray(t);function r6(t,n,i){t.hasValue(n)?t.getValue(n).set(i):t.addValue(n,Zs(i))}function o6(t){return zh(t)?t[t.length-1]||0:t}function l6(t,n){const i=Fs(t,n);let{transitionEnd:r={},transition:l={},...c}=i||{};c={...c,...r};for(const u in c){const h=o6(c[u]);r6(t,u,h)}}function c6(t){return!!(je(t)&&t.add)}function Ph(t,n){const i=t.getValue("willChange");if(c6(i))return i.add(n);if(!i&&xa.WillChange){const r=new xa.WillChange("auto");t.addValue("willChange",r),r.add(n)}}function xw(t){return t.props[lw]}const u6=t=>t!==null;function f6(t,{repeat:n,repeatType:i="loop"},r){const l=t.filter(u6),c=n&&i!=="loop"&&n%2===1?0:l.length-1;return l[c]}const d6={type:"spring",stiffness:500,damping:25,restSpeed:10},h6=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),m6={type:"keyframes",duration:.8},p6={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},g6=(t,{keyframes:n})=>n.length>2?m6:ir.has(t)?t.startsWith("scale")?h6(n[1]):d6:p6;function y6({when:t,delay:n,delayChildren:i,staggerChildren:r,staggerDirection:l,repeat:c,repeatType:u,repeatDelay:h,from:m,elapsed:p,...g}){return!!Object.keys(g).length}const Um=(t,n,i,r={},l,c)=>u=>{const h=Am(r,t)||{},m=h.delay||r.delay||0;let{elapsed:p=0}=r;p=p-qn(m);const g={keyframes:Array.isArray(i)?i:[null,i],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};y6(h)||Object.assign(g,g6(t,g)),g.duration&&(g.duration=qn(g.duration)),g.repeatDelay&&(g.repeatDelay=qn(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let y=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(Nh(g),g.delay===0&&(y=!0)),(xa.instantAnimations||xa.skipAnimations)&&(y=!0,Nh(g),g.delay=0),g.allowFlatten=!h.type&&!h.ease,y&&!c&&n.get()!==void 0){const b=f6(g.keyframes,h);if(b!==void 0){Kt.update(()=>{g.onUpdate(b),g.onComplete()});return}}return h.isSync?new Tm(g):new QR(g)};function v6({protectedKeys:t,needsAnimating:n},i){const r=t.hasOwnProperty(i)&&n[i]!==!0;return n[i]=!1,r}function bw(t,n,{delay:i=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 g in h){const y=t.getValue(g,t.latestValues[g]??null),b=h[g];if(b===void 0||p&&v6(p,g))continue;const w={delay:i,...Am(c||{},g)},T=y.get();if(T!==void 0&&!y.isAnimating&&!Array.isArray(b)&&b===T&&!w.velocity)continue;let E=!1;if(window.MotionHandoffAnimation){const N=xw(t);if(N){const Q=window.MotionHandoffAnimation(N,g,Kt);Q!==null&&(w.startTime=Q,E=!0)}}Ph(t,g),y.start(Um(g,y,b,t.shouldReduceMotion&&VS.has(g)?{type:!1}:w,t,E));const D=y.animation;D&&m.push(D)}return u&&Promise.all(m).then(()=>{Kt.update(()=>{u&&l6(t,u)})}),m}function Sw(t,n,i,r=0,l=1){const c=Array.from(t).sort((p,g)=>p.sortNodePosition(g)).indexOf(n),u=t.size,h=(u-1)*r;return typeof i=="function"?i(c,u):l===1?c*r:h-c*r}function Hh(t,n,i={}){const r=Fs(t,n,i.type==="exit"?t.presenceContext?.custom:void 0);let{transition:l=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(l=i.transitionOverride);const c=r?()=>Promise.all(bw(t,r,i)):()=>Promise.resolve(),u=t.variantChildren&&t.variantChildren.size?(m=0)=>{const{delayChildren:p=0,staggerChildren:g,staggerDirection:y}=l;return x6(t,n,m,p,g,y,i)}:()=>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(i.delay)])}function x6(t,n,i=0,r=0,l=0,c=1,u){const h=[];for(const m of t.variantChildren)m.notify("AnimationStart",n),h.push(Hh(m,n,{...u,delay:i+(typeof r=="function"?0:r)+Sw(t.variantChildren,m,r,l,c)}).then(()=>m.notify("AnimationComplete",n)));return Promise.all(h)}function b6(t,n,i={}){t.notify("AnimationStart",n);let r;if(Array.isArray(n)){const l=n.map(c=>Hh(t,c,i));r=Promise.all(l)}else if(typeof n=="string")r=Hh(t,n,i);else{const l=typeof n=="function"?Fs(t,n,i.custom):n;r=Promise.all(bw(t,l,i))}return r.then(()=>{t.notify("AnimationComplete",n)})}function ww(t,n){if(!Array.isArray(n))return!1;const i=n.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(n[r]!==t[r])return!1;return!0}const S6=Mm.length;function Tw(t){if(!t)return;if(!t.isControllingVariants){const i=t.parent?Tw(t.parent)||{}:{};return t.props.initial!==void 0&&(i.initial=t.props.initial),i}const n={};for(let i=0;i<S6;i++){const r=Mm[i],l=t.props[r];(Co(l)||l===!1)&&(n[r]=l)}return n}const w6=[...Nm].reverse(),T6=Nm.length;function E6(t){return n=>Promise.all(n.map(({animation:i,options:r})=>b6(t,i,r)))}function A6(t){let n=E6(t),i=xx(),r=!0;const l=m=>(p,g)=>{const y=Fs(t,g,m==="exit"?t.presenceContext?.custom:void 0);if(y){const{transition:b,transitionEnd:w,...T}=y;p={...p,...T,...w}}return p};function c(m){n=m(t)}function u(m){const{props:p}=t,g=Tw(t.parent)||{},y=[],b=new Set;let w={},T=1/0;for(let D=0;D<T6;D++){const N=w6[D],Q=i[N],q=p[N]!==void 0?p[N]:g[N],$=Co(q),U=N===m?Q.isActive:null;U===!1&&(T=D);let G=q===g[N]&&q!==p[N]&&$;if(G&&r&&t.manuallyAnimateOnMount&&(G=!1),Q.protectedKeys={...w},!Q.isActive&&U===null||!q&&!Q.prevProp||Xc(q)||typeof q=="boolean")continue;const R=C6(Q.prevProp,q);let _=R||N===m&&Q.isActive&&!G&&$||D>T&&$,J=!1;const W=Array.isArray(q)?q:[q];let at=W.reduce(l(N),{});U===!1&&(at={});const{prevResolvedValues:tt={}}=Q,st={...tt,...at},rt=H=>{_=!0,b.has(H)&&(J=!0,b.delete(H)),Q.needsAnimating[H]=!0;const z=t.getValue(H);z&&(z.liveStyle=!1)};for(const H in st){const z=at[H],nt=tt[H];if(w.hasOwnProperty(H))continue;let lt=!1;zh(z)&&zh(nt)?lt=!ww(z,nt):lt=z!==nt,lt?z!=null?rt(H):b.add(H):z!==void 0&&b.has(H)?rt(H):Q.protectedKeys[H]=!0}Q.prevProp=q,Q.prevResolvedValues=at,Q.isActive&&(w={...w,...at}),r&&t.blockInitialAnimation&&(_=!1);const ct=G&&R;_&&(!ct||J)&&y.push(...W.map(H=>{const z={type:N};if(typeof H=="string"&&r&&!ct&&t.manuallyAnimateOnMount&&t.parent){const{parent:nt}=t,lt=Fs(nt,H);if(nt.enteringChildren&<){const{delayChildren:C}=lt.transition||{};z.delay=Sw(nt.enteringChildren,t,C)}}return{animation:H,options:z}}))}if(b.size){const D={};if(typeof p.initial!="boolean"){const N=Fs(t,Array.isArray(p.initial)?p.initial[0]:p.initial);N&&N.transition&&(D.transition=N.transition)}b.forEach(N=>{const Q=t.getBaseTarget(N),q=t.getValue(N);q&&(q.liveStyle=!0),D[N]=Q??null}),y.push({animation:D})}let E=!!y.length;return r&&(p.initial===!1||p.initial===p.animate)&&!t.manuallyAnimateOnMount&&(E=!1),r=!1,E?n(y):Promise.resolve()}function h(m,p){if(i[m].isActive===p)return Promise.resolve();t.variantChildren?.forEach(y=>y.animationState?.setActive(m,p)),i[m].isActive=p;const g=u(m);for(const y in i)i[y].protectedKeys={};return g}return{animateChanges:u,setActive:h,setAnimateFunction:c,getState:()=>i,reset:()=>{i=xx(),r=!0}}}function C6(t,n){return typeof n=="string"?n!==t:Array.isArray(n)?!ww(n,t):!1}function Di(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function xx(){return{animate:Di(!0),whileInView:Di(),whileHover:Di(),whileTap:Di(),whileDrag:Di(),whileFocus:Di(),exit:Di()}}class oi{constructor(n){this.isMounted=!1,this.node=n}update(){}}class O6 extends oi{constructor(n){super(n),n.animationState||(n.animationState=A6(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();Xc(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:n}=this.node.getProps(),{animate:i}=this.node.prevProps||{};n!==i&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let j6=0;class N6 extends oi{constructor(){super(...arguments),this.id=j6++}update(){if(!this.node.presenceContext)return;const{isPresent:n,onExitComplete:i}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||n===r)return;const l=this.node.animationState.setActive("exit",!n);i&&!n&&l.then(()=>{i(this.id)})}mount(){const{register:n,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),n&&(this.unmount=n(this.id))}unmount(){}}const M6={animation:{Feature:O6},exit:{Feature:N6}};function jo(t,n,i,r={passive:!0}){return t.addEventListener(n,i,r),()=>t.removeEventListener(n,i)}function ko(t){return{point:{x:t.pageX,y:t.pageY}}}const R6=t=>n=>jm(n)&&t(n,ko(n));function uo(t,n,i,r){return jo(t,n,R6(i),r)}const Ew=1e-4,D6=1-Ew,_6=1+Ew,Aw=.01,z6=0-Aw,P6=0+Aw;function Pe(t){return t.max-t.min}function H6(t,n,i){return Math.abs(t-n)<=i}function bx(t,n,i,r=.5){t.origin=r,t.originPoint=It(n.min,n.max,t.origin),t.scale=Pe(i)/Pe(n),t.translate=It(i.min,i.max,t.origin)-t.originPoint,(t.scale>=D6&&t.scale<=_6||isNaN(t.scale))&&(t.scale=1),(t.translate>=z6&&t.translate<=P6||isNaN(t.translate))&&(t.translate=0)}function fo(t,n,i,r){bx(t.x,n.x,i.x,r?r.originX:void 0),bx(t.y,n.y,i.y,r?r.originY:void 0)}function Sx(t,n,i){t.min=i.min+n.min,t.max=t.min+Pe(n)}function U6(t,n,i){Sx(t.x,n.x,i.x),Sx(t.y,n.y,i.y)}function wx(t,n,i){t.min=n.min-i.min,t.max=t.min+Pe(n)}function ho(t,n,i){wx(t.x,n.x,i.x),wx(t.y,n.y,i.y)}function vn(t){return[t("x"),t("y")]}const Cw=({current:t})=>t?t.ownerDocument.defaultView:null,Tx=(t,n)=>Math.abs(t-n);function k6(t,n){const i=Tx(t.x,n.x),r=Tx(t.y,n.y);return Math.sqrt(i**2+r**2)}class Ow{constructor(n,i,{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=Ud(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,T=k6(b.offset,{x:0,y:0})>=this.distanceThreshold;if(!w&&!T)return;const{point:E}=b,{timestamp:D}=Te;this.history.push({...E,timestamp:D});const{onStart:N,onMove:Q}=this.handlers;w||(N&&N(this.lastMoveEvent,b),this.startEvent=this.lastMoveEvent),Q&&Q(this.lastMoveEvent,b)},this.handlePointerMove=(b,w)=>{this.lastMoveEvent=b,this.lastMoveEventInfo=Hd(w,this.transformPagePoint),Kt.update(this.updatePoint,!0)},this.handlePointerUp=(b,w)=>{this.end();const{onEnd:T,onSessionEnd:E,resumeAnimation:D}=this.handlers;if(this.dragSnapToOrigin&&D&&D(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const N=Ud(b.type==="pointercancel"?this.lastMoveEventInfo:Hd(w,this.transformPagePoint),this.history);this.startEvent&&T&&T(b,N),E&&E(b,N)},!jm(n))return;this.dragSnapToOrigin=c,this.handlers=i,this.transformPagePoint=r,this.distanceThreshold=u,this.contextWindow=l||window;const h=ko(n),m=Hd(h,this.transformPagePoint),{point:p}=m,{timestamp:g}=Te;this.history=[{...p,timestamp:g}];const{onSessionStart:y}=i;y&&y(n,Ud(m,this.history)),this.removeListeners=Po(uo(this.contextWindow,"pointermove",this.handlePointerMove),uo(this.contextWindow,"pointerup",this.handlePointerUp),uo(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(n){this.handlers=n}end(){this.removeListeners&&this.removeListeners(),ii(this.updatePoint)}}function Hd(t,n){return n?{point:n(t.point)}:t}function Ex(t,n){return{x:t.x-n.x,y:t.y-n.y}}function Ud({point:t},n){return{point:t,delta:Ex(t,jw(n)),offset:Ex(t,L6(n)),velocity:V6(n,.1)}}function L6(t){return t[0]}function jw(t){return t[t.length-1]}function V6(t,n){if(t.length<2)return{x:0,y:0};let i=t.length-1,r=null;const l=jw(t);for(;i>=0&&(r=t[i],!(l.timestamp-r.timestamp>qn(n)));)i--;if(!r)return{x:0,y:0};const c=xn(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 B6(t,{min:n,max:i},r){return n!==void 0&&t<n?t=r?It(n,t,r.min):Math.max(t,n):i!==void 0&&t>i&&(t=r?It(i,t,r.max):Math.min(t,i)),t}function Ax(t,n,i){return{min:n!==void 0?t.min+n:void 0,max:i!==void 0?t.max+i-(t.max-t.min):void 0}}function q6(t,{top:n,left:i,bottom:r,right:l}){return{x:Ax(t.x,i,l),y:Ax(t.y,n,r)}}function Cx(t,n){let i=n.min-t.min,r=n.max-t.max;return n.max-n.min<t.max-t.min&&([i,r]=[r,i]),{min:i,max:r}}function Q6(t,n){return{x:Cx(t.x,n.x),y:Cx(t.y,n.y)}}function G6(t,n){let i=.5;const r=Pe(t),l=Pe(n);return l>r?i=To(n.min,n.max-r,t.min):r>l&&(i=To(t.min,t.max-l,n.min)),va(0,1,i)}function F6(t,n){const i={};return n.min!==void 0&&(i.min=n.min-t.min),n.max!==void 0&&(i.max=n.max-t.min),i}const Uh=.35;function Y6(t=Uh){return t===!1?t=0:t===!0&&(t=Uh),{x:Ox(t,"left","right"),y:Ox(t,"top","bottom")}}function Ox(t,n,i){return{min:jx(t,n),max:jx(t,i)}}function jx(t,n){return typeof t=="number"?t:t[n]||0}const K6=new WeakMap;class X6{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=ie(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=n}start(n,{snapToCursor:i=!1,distanceThreshold:r}={}){const{presenceContext:l}=this.visualElement;if(l&&l.isPresent===!1)return;const c=y=>{const{dragSnapToOrigin:b}=this.getProps();b?this.pauseAnimation():this.stopAnimation(),i&&this.snapToCursor(ko(y).point)},u=(y,b)=>{const{drag:w,dragPropagation:T,onDragStart:E}=this.getProps();if(w&&!T&&(this.openDragLock&&this.openDragLock(),this.openDragLock=sD(w),!this.openDragLock))return;this.latestPointerEvent=y,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),vn(N=>{let Q=this.getAxisMotionValue(N).get()||0;if(Qn.test(Q)){const{projection:q}=this.visualElement;if(q&&q.layout){const $=q.layout.layoutBox[N];$&&(Q=Pe($)*(parseFloat(Q)/100))}}this.originPoint[N]=Q}),E&&Kt.postRender(()=>E(y,b)),Ph(this.visualElement,"transform");const{animationState:D}=this.visualElement;D&&D.setActive("whileDrag",!0)},h=(y,b)=>{this.latestPointerEvent=y,this.latestPanInfo=b;const{dragPropagation:w,dragDirectionLock:T,onDirectionLock:E,onDrag:D}=this.getProps();if(!w&&!this.openDragLock)return;const{offset:N}=b;if(T&&this.currentDirection===null){this.currentDirection=I6(N),this.currentDirection!==null&&E&&E(this.currentDirection);return}this.updateAxis("x",b.point,N),this.updateAxis("y",b.point,N),this.visualElement.render(),D&&D(y,b)},m=(y,b)=>{this.latestPointerEvent=y,this.latestPanInfo=b,this.stop(y,b),this.latestPointerEvent=null,this.latestPanInfo=null},p=()=>vn(y=>this.getAnimationState(y)==="paused"&&this.getAxisMotionValue(y).animation?.play()),{dragSnapToOrigin:g}=this.getProps();this.panSession=new Ow(n,{onSessionStart:c,onStart:u,onMove:h,onSessionEnd:m,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,distanceThreshold:r,contextWindow:Cw(this.visualElement)})}stop(n,i){const r=n||this.latestPointerEvent,l=i||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&&Kt.postRender(()=>h(r,l))}cancel(){this.isDragging=!1;const{projection:n,animationState:i}=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),i&&i.setActive("whileDrag",!1)}updateAxis(n,i,r){const{drag:l}=this.getProps();if(!r||!fc(n,l,this.currentDirection))return;const c=this.getAxisMotionValue(n);let u=this.originPoint[n]+r[n];this.constraints&&this.constraints[n]&&(u=B6(u,this.constraints[n],this.elastic[n])),c.set(u)}resolveConstraints(){const{dragConstraints:n,dragElastic:i}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,l=this.constraints;n&&Ls(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&r?this.constraints=q6(r.layoutBox,n):this.constraints=!1,this.elastic=Y6(i),l!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&vn(c=>{this.constraints!==!1&&this.getAxisMotionValue(c)&&(this.constraints[c]=F6(r.layoutBox[c],this.constraints[c]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:i}=this.getProps();if(!n||!Ls(n))return!1;const r=n.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;const c=ZD(r,l.root,this.visualElement.getTransformPagePoint());let u=Q6(l.layout.layoutBox,c);if(i){const h=i(KD(u));this.hasMutatedConstraints=!!h,h&&(u=fw(h))}return u}startAnimation(n){const{drag:i,dragMomentum:r,dragElastic:l,dragTransition:c,dragSnapToOrigin:u,onDragTransitionEnd:h}=this.getProps(),m=this.constraints||{},p=vn(g=>{if(!fc(g,i,this.currentDirection))return;let y=m&&m[g]||{};u&&(y={min:0,max:0});const b=l?200:1e6,w=l?40:1e7,T={type:"inertia",velocity:r?n[g]:0,bounceStiffness:b,bounceDamping:w,timeConstant:750,restDelta:1,restSpeed:10,...c,...y};return this.startAxisValueAnimation(g,T)});return Promise.all(p).then(h)}startAxisValueAnimation(n,i){const r=this.getAxisMotionValue(n);return Ph(this.visualElement,n),r.start(Um(n,r,0,i,this.visualElement,!1))}stopAnimation(){vn(n=>this.getAxisMotionValue(n).stop())}pauseAnimation(){vn(n=>this.getAxisMotionValue(n).animation?.pause())}getAnimationState(n){return this.getAxisMotionValue(n).animation?.state}getAxisMotionValue(n){const i=`_drag${n.toUpperCase()}`,r=this.visualElement.getProps(),l=r[i];return l||this.visualElement.getValue(n,(r.initial?r.initial[n]:void 0)||0)}snapToCursor(n){vn(i=>{const{drag:r}=this.getProps();if(!fc(i,r,this.currentDirection))return;const{projection:l}=this.visualElement,c=this.getAxisMotionValue(i);if(l&&l.layout){const{min:u,max:h}=l.layout.layoutBox[i];c.set(n[i]-It(u,h,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:i}=this.getProps(),{projection:r}=this.visualElement;if(!Ls(i)||!r||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};vn(u=>{const h=this.getAxisMotionValue(u);if(h&&this.constraints!==!1){const m=h.get();l[u]=G6({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(),vn(u=>{if(!fc(u,n,null))return;const h=this.getAxisMotionValue(u),{min:m,max:p}=this.constraints[u];h.set(It(m,p,l[u]))})}addListeners(){if(!this.visualElement.current)return;K6.set(this.visualElement,this);const n=this.visualElement.current,i=uo(n,"pointerdown",m=>{const{drag:p,dragListener:g=!0}=this.getProps();p&&g&&this.start(m)}),r=()=>{const{dragConstraints:m}=this.getProps();Ls(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()),Kt.read(r);const u=jo(window,"resize",()=>this.scalePositionWithinConstraints()),h=l.addEventListener("didUpdate",(({delta:m,hasLayoutChanged:p})=>{this.isDragging&&p&&(vn(g=>{const y=this.getAxisMotionValue(g);y&&(this.originPoint[g]+=m[g].translate,y.set(y.get()+m[g].translate))}),this.visualElement.render())}));return()=>{u(),i(),c(),h&&h()}}getProps(){const n=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:r=!1,dragPropagation:l=!1,dragConstraints:c=!1,dragElastic:u=Uh,dragMomentum:h=!0}=n;return{...n,drag:i,dragDirectionLock:r,dragPropagation:l,dragConstraints:c,dragElastic:u,dragMomentum:h}}}function fc(t,n,i){return(n===!0||n===t)&&(i===null||i===t)}function I6(t,n=10){let i=null;return Math.abs(t.y)>n?i="y":Math.abs(t.x)>n&&(i="x"),i}class Z6 extends oi{constructor(n){super(n),this.removeGroupControls=bn,this.removeListeners=bn,this.controls=new X6(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||bn}unmount(){this.removeGroupControls(),this.removeListeners()}}const Nx=t=>(n,i)=>{t&&Kt.postRender(()=>t(n,i))};class $6 extends oi{constructor(){super(...arguments),this.removePointerDownListener=bn}onPointerDown(n){this.session=new Ow(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Cw(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:i,onPan:r,onPanEnd:l}=this.node.getProps();return{onSessionStart:Nx(n),onStart:Nx(i),onMove:r,onEnd:(c,u)=>{delete this.session,l&&Kt.postRender(()=>l(c,u))}}}mount(){this.removePointerDownListener=uo(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 xc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Mx(t,n){return n.max===n.min?0:t/(n.max-n.min)*100}const io={correct:(t,n)=>{if(!n.target)return t;if(typeof t=="string")if(vt.test(t))t=parseFloat(t);else return t;const i=Mx(t,n.target.x),r=Mx(t,n.target.y);return`${i}% ${r}%`}},J6={correct:(t,{treeScale:n,projectionDelta:i})=>{const r=t,l=si.parse(t);if(l.length>5)return r;const c=si.createTransformer(t),u=typeof l[0]!="number"?1:0,h=i.x.scale*n.x,m=i.y.scale*n.y;l[0+u]/=h,l[1+u]/=m;const p=It(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 kd=!1;class W6 extends A.Component{componentDidMount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:r,layoutId:l}=this.props,{projection:c}=n;SD(t_),c&&(i.group&&i.group.add(c),r&&r.register&&l&&r.register(c),kd&&c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,onExitComplete:()=>this.safeToRemove()})),xc.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:i,visualElement:r,drag:l,isPresent:c}=this.props,{projection:u}=r;return u&&(u.isPresent=c,kd=!0,l||n.layoutDependency!==i||i===void 0||n.isPresent!==c?u.willUpdate():this.safeToRemove(),n.isPresent!==c&&(c?u.promote():u.relegate()||Kt.postRender(()=>{const h=u.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:n}=this.props.visualElement;n&&(n.root.didUpdate(),Om.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:r}=this.props,{projection:l}=n;kd=!0,l&&(l.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(l),r&&r.deregister&&r.deregister(l))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}}function Nw(t){const[n,i]=mD(),r=A.useContext(rS);return v.jsx(W6,{...t,layoutGroup:r,switchLayoutGroup:A.useContext(cw),isPresent:n,safeToRemove:i})}const t_={borderRadius:{...io,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:io,borderTopRightRadius:io,borderBottomLeftRadius:io,borderBottomRightRadius:io,boxShadow:J6};function e_(t,n,i){const r=je(t)?t:Zs(t);
vendor: 5,375 bytes, line 187
187return r.start(Um("",r,n,i)),r.animation}const n_=(t,n)=>t.depth-n.depth;class a_{constructor(){this.children=[],this.isDirty=!1}add(n){lm(this.children,n),this.isDirty=!0}remove(n){cm(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(n_),this.isDirty=!1,this.children.forEach(n)}}function i_(t,n){const i=Ke.now(),r=({timestamp:l})=>{const c=l-i;c>=n&&(ii(r),t(c-n))};return Kt.setup(r,!0),()=>ii(r)}const Mw=["TopLeft","TopRight","BottomLeft","BottomRight"],s_=Mw.length,Rx=t=>typeof t=="string"?parseFloat(t):t,Dx=t=>typeof t=="number"||vt.test(t);function r_(t,n,i,r,l,c){l?(t.opacity=It(0,i.opacity??1,o_(r)),t.opacityExit=It(n.opacity??1,0,l_(r))):c&&(t.opacity=It(n.opacity??1,i.opacity??1,r));for(let u=0;u<s_;u++){const h=`border${Mw[u]}Radius`;let m=_x(n,h),p=_x(i,h);if(m===void 0&&p===void 0)continue;m||(m=0),p||(p=0),m===0||p===0||Dx(m)===Dx(p)?(t[h]=Math.max(It(Rx(m),Rx(p),r),0),(Qn.test(p)||Qn.test(m))&&(t[h]+="%")):t[h]=p}(n.rotate||i.rotate)&&(t.rotate=It(n.rotate||0,i.rotate||0,r))}function _x(t,n){return t[n]!==void 0?t[n]:t.borderRadius}const o_=Rw(0,.5,yS),l_=Rw(.5,.95,bn);function Rw(t,n,i){return r=>r<t?0:r>n?1:i(To(t,n,r))}function zx(t,n){t.min=n.min,t.max=n.max}function yn(t,n){zx(t.x,n.x),zx(t.y,n.y)}function Px(t,n){t.translate=n.translate,t.scale=n.scale,t.originPoint=n.originPoint,t.origin=n.origin}function Hx(t,n,i,r,l){return t-=n,t=Nc(t,1/i,r),l!==void 0&&(t=Nc(t,1/l,r)),t}function c_(t,n=0,i=1,r=.5,l,c=t,u=t){if(Qn.test(n)&&(n=parseFloat(n),n=It(u.min,u.max,n/100)-u.min),typeof n!="number")return;let h=It(c.min,c.max,r);t===c&&(h-=n),t.min=Hx(t.min,n,i,h,l),t.max=Hx(t.max,n,i,h,l)}function Ux(t,n,[i,r,l],c,u){c_(t,n[i],n[r],n[l],n.scale,c,u)}const u_=["x","scaleX","originX"],f_=["y","scaleY","originY"];function kx(t,n,i,r){Ux(t.x,n,u_,i?i.x:void 0,r?r.x:void 0),Ux(t.y,n,f_,i?i.y:void 0,r?r.y:void 0)}function Lx(t){return t.translate===0&&t.scale===1}function Dw(t){return Lx(t.x)&&Lx(t.y)}function Vx(t,n){return t.min===n.min&&t.max===n.max}function d_(t,n){return Vx(t.x,n.x)&&Vx(t.y,n.y)}function Bx(t,n){return Math.round(t.min)===Math.round(n.min)&&Math.round(t.max)===Math.round(n.max)}function _w(t,n){return Bx(t.x,n.x)&&Bx(t.y,n.y)}function qx(t){return Pe(t.x)/Pe(t.y)}function Qx(t,n){return t.translate===n.translate&&t.scale===n.scale&&t.originPoint===n.originPoint}class h_{constructor(){this.members=[]}add(n){lm(this.members,n),n.scheduleRender()}remove(n){if(cm(this.members,n),n===this.prevLead&&(this.prevLead=void 0),n===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(n){const i=this.members.findIndex(l=>n===l);if(i===0)return!1;let r;for(let l=i;l>=0;l--){const c=this.members[l];if(c.isPresent!==!1){r=c;break}}return r?(this.promote(r),!0):!1}promote(n,i){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,i&&(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:i,resumingFrom:r}=n;i.onExitComplete&&i.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 m_(t,n,i){let r="";const l=t.x.translate/n.x,c=t.y.translate/n.y,u=i?.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}) `),i){const{transformPerspective:p,rotate:g,rotateX:y,rotateY:b,skewX:w,skewY:T}=i;p&&(r=`perspective(${p}px) ${r}`),g&&(r+=`rotate(${g}deg) `),y&&(r+=`rotateX(${y}deg) `),b&&(r+=`rotateY(${b}deg) `),w&&(r+=`skewX(${w}deg) `),T&&(r+=`skewY(${T}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"],p_=1e3;let g_=0;function Vd(t,n,i,r){const{latestValues:l}=n;l[t]&&(i[t]=l[t],n.setStaticValue(t,0),r&&(r[t]=0))}function zw(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:n}=t.options;if(!n)return;const i=xw(n);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:l,layoutId:c}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",Kt,!(l||c))}const{parent:r}=t;r&&!r.hasCheckedOptimisedAppear&&zw(r)}function Pw({attachResizeListener:t,defaultParent:n,measureScroll:i,checkIsScrollRoot:r,resetTransform:l}){return class{constructor(u={},h=n?.()){this.id=g_++,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=()=>
vendor: 4,304 bytes, line 187
187{this.projectionUpdateScheduled=!1,this.nodes.forEach(x_),this.nodes.forEach(T_),this.nodes.forEach(E_),this.nodes.forEach(b_)},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 a_)}addEventListener(u,h){return this.eventHandlers.has(u)||this.eventHandlers.set(u,new dm),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=ZS(u)&&!fD(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 g,y=0;const b=()=>this.root.updateBlockedByResize=!1;Kt.read(()=>{y=window.innerWidth}),t(u,()=>{const w=window.innerWidth;w!==y&&(y=w,this.root.updateBlockedByResize=!0,g&&g(),g=i_(b,250),xc.hasAnimatedSinceResize&&(xc.hasAnimatedSinceResize=!1,this.nodes.forEach(Yx)))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&p&&(h||m)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:y,hasRelativeLayoutChanged:b,layout:w})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const T=this.options.transition||p.getDefaultTransition()||N_,{onLayoutAnimationStart:E,onLayoutAnimationComplete:D}=p.getProps(),N=!this.targetLayout||!_w(this.targetLayout,w),Q=!y&&b;if(this.options.layoutRoot||this.resumeFrom||Q||y&&(N||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const q={...Am(T,"layout"),onPlay:E,onComplete:D};(p.shouldReduceMotion||this.options.layoutRoot)&&(q.delay=0,q.type=!1),this.startAnimation(q),this.setAnimationOrigin(g,Q)}else y||Yx(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(),ii(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(A_),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&&zw(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const y=this.path[g];y.shouldResetTransform=!0,y.updateScroll("snapshot"),y.options.layoutRoot&&y.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(Gx);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Fx);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(w_),this.nodes.forEach(y_),this.nodes.forEach(v_)):this.nodes.forEach(Fx),this.clearAllSnapshots();const h=Ke.now();Te.delta=va(0,1e3/60,h-Te.timestamp),Te.timestamp=h,Te.isProcessing=!0,jd.update.process(Te),jd.preRender.process(Te),jd.render.process(Te),Te.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Om.read(this.scheduleUpdate))}
vendor: 6,064 bytes, line 187
187clearAllSnapshots(){this.nodes.forEach(S_),this.sharedNodes.forEach(C_)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Kt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Kt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Pe(this.snapshot.measuredBox.x)&&!Pe(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=ie(),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:i(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&&!Dw(this.projectionDelta),m=this.getTransformTemplate(),p=m?m(this.latestValues,""):void 0,g=p!==this.prevTransformTemplateValue;u&&this.instance&&(h||_i(this.latestValues)||g)&&(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)),M_(m),{animationId:this.root.animationId,measuredBox:h,layoutBox:m,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:u}=this.options;if(!u)return ie();const h=u.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(R_))){const{scroll:p}=this.root;p&&(Vs(h.x,p.offset.x),Vs(h.y,p.offset.y))}return h}removeElementScroll(u){const h=ie();if(yn(h,u),this.scroll?.wasRoot)return h;for(let m=0;m<this.path.length;m++){const p=this.path[m],{scroll:g,options:y}=p;p!==this.root&&g&&y.layoutScroll&&(g.wasRoot&&yn(h,u),Vs(h.x,g.offset.x),Vs(h.y,g.offset.y))}return h}applyTransform(u,h=!1){const m=ie();yn(m,u);for(let p=0;p<this.path.length;p++){const g=this.path[p];!h&&g.options.layoutScroll&&g.scroll&&g!==g.root&&Bs(m,{x:-g.scroll.offset.x,y:-g.scroll.offset.y}),_i(g.latestValues)&&Bs(m,g.latestValues)}return _i(this.latestValues)&&Bs(m,this.latestValues),m}removeTransform(u){const h=ie();yn(h,u);for(let m=0;m<this.path.length;m++){const p=this.path[m];if(!p.instance||!_i(p.latestValues))continue;Rh(p.latestValues)&&p.updateSnapshot();const g=ie(),y=p.measurePageBox();yn(g,y),kx(h,p.latestValues,p.snapshot?p.snapshot.layoutBox:void 0,g)}return _i(this.latestValues)&&kx(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!==Te.timestamp&&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:g,layoutId:y}=this.options;if(!(!this.layout||!(g||y))){if(this.resolvedRelativeTargetAt=Te.timestamp,!this.targetDelta&&!this.relativeTarget){const b=this.getClosestProjectingParent();b&&b.layout&&this.animationProgress!==1?(this.relativeParent=b,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ie(),this.relativeTargetOrigin=ie(),ho(this.relativeTargetOrigin,this.layout.layoutBox,b.layout.layoutBox),yn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ie(),this.targetWithTransforms=ie()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),U6(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):yn(this.target,this.layout.layoutBox),hw(this.target,this.targetDelta)):yn(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=ie(),this.relativeTargetOrigin=ie(),ho(this.relativeTargetOrigin,this.target,b.target),yn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Rh(this.parent.latestValues)||dw(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;
vendor: 13,974 bytes, line 187
187if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(m=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===Te.timestamp&&(m=!1),m)return;const{layout:p,layoutId:g}=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||g))return;yn(this.layoutCorrected,this.layout.layoutBox);const y=this.treeScale.x,b=this.treeScale.y;ID(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=ie());const{target:w}=u;if(!w){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Px(this.prevProjectionDelta.x,this.projectionDelta.x),Px(this.prevProjectionDelta.y,this.projectionDelta.y)),fo(this.projectionDelta,this.layoutCorrected,w,this.latestValues),(this.treeScale.x!==y||this.treeScale.y!==b||!Qx(this.projectionDelta.x,this.prevProjectionDelta.x)||!Qx(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=qs(),this.projectionDelta=qs(),this.projectionDeltaWithTransform=qs()}setAnimationOrigin(u,h=!1){const m=this.snapshot,p=m?m.latestValues:{},g={...this.latestValues},y=qs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const b=ie(),w=m?m.source:void 0,T=this.layout?this.layout.source:void 0,E=w!==T,D=this.getStack(),N=!D||D.members.length<=1,Q=!!(E&&!N&&this.options.crossfade===!0&&!this.path.some(j_));this.animationProgress=0;let q;this.mixTargetDelta=$=>{const U=$/1e3;Kx(y.x,u.x,U),Kx(y.y,u.y,U),this.setTargetDelta(y),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ho(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox),O_(this.relativeTarget,this.relativeTargetOrigin,b,U),q&&d_(this.relativeTarget,q)&&(this.isProjectionDirty=!1),q||(q=ie()),yn(q,this.relativeTarget)),E&&(this.animationValues=g,r_(g,p,this.latestValues,U,Q,N)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=U},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(u){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(ii(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Kt.update(()=>{xc.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Zs(0)),this.currentAnimation=e_(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(p_),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const u=this.getLead();let{targetWithTransforms:h,target:m,layout:p,latestValues:g}=u;if(!(!h||!m||!p)){if(this!==u&&this.layout&&p&&Hw(this.options.animationType,this.layout.layoutBox,p.layoutBox)){m=this.target||ie();const y=Pe(this.layout.layoutBox.x);m.x.min=u.target.x.min,m.x.max=m.x.min+y;const b=Pe(this.layout.layoutBox.y);m.y.min=u.target.y.min,m.y.max=m.y.min+b}yn(h,m),Bs(h,g),fo(this.projectionDeltaWithTransform,this.layoutCorrected,h,g)}}registerSharedNode(u,h){this.sharedNodes.has(u)||this.sharedNodes.set(u,new h_),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;return 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&&Vd("z",u,p,this.animationValues);for(let g=0;g<Ld.length;g++)Vd(`rotate${Ld[g]}`,u,p,this.animationValues),Vd(`skew${Ld[g]}`,u,p,this.animationValues);u.render();for(const g in p)u.setStaticValue(g,p[g]),this.animationValues&&(this.animationValues[g]=p[g]);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=vc(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=vc(h?.pointerEvents)||""),this.hasProjected&&!_i(this.latestValues)&&(u.transform=m?m({},""):"none",this.hasProjected=!1);return}u.visibility="";const g=p.animationValues||p.latestValues;this.applyTransformsToTarget();let y=m_(this.projectionDeltaWithTransform,this.treeScale,g);m&&(y=m(g,y)),u.transform=y;const{x:b,y:w}=this.projectionDelta;u.transformOrigin=`${b.origin*100}% ${w.origin*100}% 0`,p.animationValues?u.opacity=p===this?g.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:u.opacity=p===this?g.opacity!==void 0?g.opacity:"":g.opacityExit!==void 0?g.opacityExit:0;for(const T in Oo){if(g[T]===void 0)continue;const{correct:E,applyTo:D,isCSSVariable:N}=Oo[T],Q=y==="none"?g[T]:E(g[T],p);if(D){const q=D.length;for(let $=0;$<q;$++)u[D[$]]=Q}else N?this.options.visualElement.renderState.vars[T]=Q:u[T]=Q}this.options.layoutId&&(u.pointerEvents=p===this?vc(h?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(u=>u.currentAnimation?.stop()),this.root.nodes.forEach(Gx),this.root.sharedNodes.clear()}}}function y_(t){t.updateLayout()}function v_(t){const n=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:r}=t.layout,{animationType:l}=t.options,c=n.source!==t.layout.source;l==="size"?vn(g=>{const y=c?n.measuredBox[g]:n.layoutBox[g],b=Pe(y);y.min=i[g].min,y.max=y.min+b}):Hw(l,n.layoutBox,i)&&vn(g=>{const y=c?n.measuredBox[g]:n.layoutBox[g],b=Pe(i[g]);y.max=y.min+b,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[g].max=t.relativeTarget[g].min+b)});const u=qs();fo(u,i,n.layoutBox);const h=qs();c?fo(h,t.applyTransform(r,!0),n.measuredBox):fo(h,i,n.layoutBox);const m=!Dw(u);let p=!1;if(!t.resumeFrom){const g=t.getClosestProjectingParent();if(g&&!g.resumeFrom){const{snapshot:y,layout:b}=g;if(y&&b){const w=ie();ho(w,n.layoutBox,y.layoutBox);const T=ie();ho(T,i,b.layoutBox),_w(w,T)||(p=!0),g.options.layoutRoot&&(t.relativeTarget=T,t.relativeTargetOrigin=w,t.relativeParent=g)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:n,delta:h,layoutDelta:u,hasLayoutChanged:m,hasRelativeLayoutChanged:p})}else if(t.isLead()){const{onExitComplete:i}=t.options;i&&i()}t.options.transition=void 0}function x_(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 b_(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function S_(t){t.clearSnapshot()}function Gx(t){t.clearMeasurements()}function Fx(t){t.isLayoutDirty=!1}function w_(t){const{visualElement:n}=t.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),t.resetTransform()}function Yx(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function T_(t){t.resolveTargetDelta()}function E_(t){t.calcProjection()}function A_(t){t.resetSkewAndRotation()}function C_(t){t.removeLeadSnapshot()}function Kx(t,n,i){t.translate=It(n.translate,0,i),t.scale=It(n.scale,1,i),t.origin=n.origin,t.originPoint=n.originPoint}function Xx(t,n,i,r){t.min=It(n.min,i.min,r),t.max=It(n.max,i.max,r)}function O_(t,n,i,r){Xx(t.x,n.x,i.x,r),Xx(t.y,n.y,i.y,r)}function j_(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const N_={duration:.45,ease:[.4,0,.1,1]},Ix=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Zx=Ix("applewebkit/")&&!Ix("chrome/")?Math.round:bn;function $x(t){t.min=Zx(t.min),t.max=Zx(t.max)}function M_(t){$x(t.x),$x(t.y)}function Hw(t,n,i){return t==="position"||t==="preserve-aspect"&&!H6(qx(n),qx(i),.2)}function R_(t){return t!==t.root&&t.scroll?.wasRoot}const D_=Pw({attachResizeListener:(t,n)=>jo(t,"resize",n),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Bd={current:void 0},Uw=Pw({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Bd.current){const t=new D_({});t.mount(window),t.setOptions({layoutScroll:!0}),Bd.current=t}return Bd.current},resetTransform:(t,n)=>{t.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),__={pan:{Feature:$6},drag:{Feature:Z6,ProjectionNode:Uw,MeasureLayout:Nw}};function Jx(t,n,i){const{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover",i==="Start");const l="onHover"+i,c=r[l];c&&Kt.postRender(()=>c(n,ko(n)))}class z_ extends oi{mount(){const{current:n}=this.node;n&&(this.unmount=rD(n,(i,r)=>(Jx(this.node,r,"Start"),l=>Jx(this.node,l,"End"))))}unmount(){}}class P_ extends oi{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=Po(jo(this.node.current,"focus",()=>this.onFocus()),jo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Wx(t,n,i){const{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap",i==="Start");const l="onTap"+(i==="End"?"":i),c=r[l];c&&Kt.postRender(()=>c(n,ko(n)))}class H_ extends oi{mount(){const{current:n}=this.node;n&&(this.unmount=uD(n,(i,r)=>(Wx(this.node,r,"Start"),(l,{success:c})=>Wx(this.node,l,c?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const kh=new WeakMap,qd=new WeakMap,U_=t=>{const n=kh.get(t.target);n&&n(t)},k_=t=>{t.forEach(U_)};function L_({root:t,...n}){const i=t||document;qd.has(i)||qd.set(i,{});const r=qd.get(i),l=JSON.stringify(n);return r[l]||(r[l]=new IntersectionObserver(k_,{root:t,...n})),r[l]}function V_(t,n,i){const r=L_(n);return kh.set(t,i),r.observe(t),()=>{kh.delete(t),r.unobserve(t)}}const B_={some:0,all:1};class q_ extends oi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:n={}}=this.node.getProps(),{root:i,margin:r,amount:l="some",once:c}=n,u={root:i?i.current:void 0,rootMargin:r,threshold:typeof l=="number"?l:B_[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:g,onViewportLeave:y}=this.node.getProps(),b=p?g:y;b&&b(m)};return V_(this.node.current,u,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:i}=this.node;["amount","margin","root"].some(Q_(n,i))&&this.startObserver()}unmount(){}}function Q_({viewport:t={}},{viewport:n={}}={}){return i=>t[i]!==n[i]}const G_={inView:{Feature:q_},tap:{Feature:H_},focus:{Feature:P_},hover:{Feature:z_}},F_={layout:{ProjectionNode:Uw,MeasureLayout:Nw}},Y_={...M6,...G_,...__,...F_},Rt=YD(Y_,s6),K_={some:0,all:1};function X_(t,n,{root:i,margin:r,amount:l="some"}={}){const c=FS(t),u=new WeakMap,h=p=>{p.forEach(g=>{const y=u.get(g.target);if(g.isIntersecting!==!!y)if(g.isIntersecting){const b=n(g.target,g);typeof b=="function"?u.set(g.target,b):m.unobserve(g.target)}else typeof y=="function"&&(y(g),u.delete(g.target))})},m=new IntersectionObserver(h,{root:i,rootMargin:r,threshold:typeof l=="number"?l:K_[l]});
187return c.forEach(p=>m.observe(p)),()=>m.disconnect()}function kw(t,{root:n,margin:i,amount:r,once:l=!1,initial:c=!1}={}){const[u,h]=A.useState(c);return A.useEffect(()=>{if(!t.current||l&&u)return;const m=()=>(h(!0),l?void 0:()=>h(!1)),p={root:n&&n.current||void 0,margin:i,amount:r};return X_(t.current,m,p)},[n,t,i,l,r]),u}const Dt={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.5,ease:[.23,1,.32,1]}}},I_={visible:{transition:{staggerChildren:.08}}};function Jt({children:t,className:n=""}){const i=A.useRef(null),r=kw(i,{once:!0,margin:"-80px"});return v.jsx(Rt.div,{"data-loc":"client/src/pages/Home.tsx:39",ref:i,initial:"hidden",animate:r?"visible":"hidden",variants:I_,className:n,children:t})}function Qd({end:t,suffix:n=""}){const[i,r]=A.useState(0),l=A.useRef(null),c=kw(l,{once:!0});return A.useEffect(()=>{if(!c)return;const u=1500,h=Date.now(),m=()=>{const p=Date.now()-h,g=Math.min(p/u,1),y=1-Math.pow(1-g,3);r(Math.round(y*t)),g<1&&requestAnimationFrame(m)};requestAnimationFrame(m)},[c,t]),v.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:71",ref:l,children:[i,n]})}function Z_(){mM();const[t,n]=A.useState(!1),[i,r]=A.useState(!1);return v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:83",className:"min-h-screen flex flex-col",children:[v.jsxs("header",{"data-loc":"client/src/pages/Home.tsx:85",className:"fixed top-0 left-0 right-0 z-50 bg-white/90 backdrop-blur-md border-b border-border/50",children:[v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:86",className:"container flex items-center justify-between h-16",children:[v.jsx("a",{"data-loc":"client/src/pages/Home.tsx:87",href:"https://www.cablaggiointelligente.net",target:"_blank",rel:"noopener noreferrer",className:"flex items-center",children:v.jsx("img",{"data-loc":"client/src/pages/Home.tsx:88",src:"/manus-storage/cablaggiointelligente-logo_04b0d755.png",alt:"Cablaggiointelligente Logo",className:"h-10 w-auto"})}),v.jsxs("nav",{"data-loc":"client/src/pages/Home.tsx:95",className:"hidden md:flex items-center gap-8",children:[v.jsx("a",{"data-loc":"client/src/pages/Home.tsx:96",href:"#come-funziona",className:"text-sm font-medium text-foreground/70 hover:text-foreground transition-colors",children:"Come Funziona"}),v.jsx("a",{"data-loc":"client/src/pages/Home.tsx:97",href:"#versioni",className:"text-sm font-medium text-foreground/70 hover:text-foreground transition-colors",children:"Versioni"}),v.jsx("a",{"data-loc":"client/src/pages/Home.tsx:98",href:"#componenti",className:"text-sm font-medium text-foreground/70 hover:text-foreground transition-colors",children:"Componenti"}),v.jsx("a",{"data-loc":"client/src/pages/Home.tsx:99",href:"#risorse",className:"text-sm font-medium text-foreground/70 hover:text-foreground transition-colors",children:"Risorse"}),v.jsx("a",{"data-loc":"client/src/pages/Home.tsx:100",href:"#contatti",className:"inline-flex items-center gap-2 px-4 py-2 bg-[#003366] text-white text-sm font-medium hover:bg-[#002244] transition-colors",children:"Richiedi Info"})]}),v.jsx("button",{"data-loc":"client/src/pages/Home.tsx:105",className:"md:hidden p-2",onClick:()=>n(!t),children:t?v.jsx(_0,{"data-loc":"client/src/pages/Home.tsx:109",size:24}):v.jsx(PN,{"data-loc":"client/src/pages/Home.tsx:109",size:24})})]}),t&&v.jsx("div",{"data-loc":"client/src/pages/Home.tsx:115",className:"md:hidden bg-white border-b border-border",children:v.jsxs("nav",{"data-loc":"client/src/pages/Home.tsx:116",className:"container py-4 flex flex-col gap-3",children:[v.jsx("a",{"data-loc":"client/src/pages/Home.tsx:117",href:"#come-funziona",className:"text-sm font-medium py-2",onClick:()=>n(!1),children:"Come Funziona"}),v.jsx("a",{"data-loc":"client/src/pages/Home.tsx:118",href:"#versioni",className:"text-sm font-medium py-2",onClick:()=>n(!1),children:"Versioni"}),v.jsx("a",{"data-loc":"client/src/pages/Home.tsx:119",href:"#componenti",className:"text-sm font-medium py-2",onClick:()=>n(!1),children:"Componenti"}),v.jsx("a",{"data-loc":"client/src/pages/Home.tsx:120",href:"#risorse",className:"text-sm font-medium py-2",onClick:()=>n(!1),children:"Risorse"}),v.jsx("a",{"data-loc":"client/src/pages/Home.tsx:121",href:"#contatti",className:"inline-flex items-center justify-center gap-2 px-4 py-2 bg-[#003366] text-white text-sm font-medium",onClick:()=>n(!1),children:"Richiedi Info"})]})})]}),v.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:130",className:"relative min-h-[90vh] flex items-center pt-16 overflow-hidden",children:[v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:131",className:"absolute inset-0",children:[v.jsx("img",{"data-loc":"client/src/pages/Home.tsx:132",src:"https://d2xsxph8kpxj0f.cloudfront.net/310519663301962243/HLH5Gy3t8Q3FH7bSRN9nq6/hero-datacenter-XfyEsnAJmXNWNQ3ViBhosC.webp",alt:"Data center con cavi di rete organizzati",className:"w-full h-full object-cover"}),v.jsx("div",{"data-loc":"client/src/pages/Home.tsx:137",className:"absolute inset-0 bg-gradient-to-r from-[#003366]/95 via-[#003366]/80 to-[#003366]/40"})]}),v.jsx("div",{"data-loc":"client/src/pages/Home.tsx:140",className:"container relative z-10 py-20",children:v.jsx("div",{"data-loc":"client/src/pages/Home.tsx:141",className:"max-w-2xl",children:v.jsxs(Rt.div,{"data-loc":"client/src/pages/Home.tsx:142",initial:{opacity:0,y:30}
187,animate:{opacity:1,y:0},transition:{duration:.7,ease:[.23,1,.32,1]},children:[v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:147",className:"text-[#00C853] font-mono text-sm tracking-wider mb-4",children:"PANDUIT RAPID ID⢠NETWORK MAPPING SYSTEM"}),v.jsxs("h1",{"data-loc":"client/src/pages/Home.tsx:148",className:"text-4xl md:text-5xl lg:text-6xl font-bold text-white leading-tight mb-6",children:["Documentazione dei cavi.",v.jsx("br",{"data-loc":"client/src/pages/Home.tsx:149"}),v.jsx("span",{"data-loc":"client/src/pages/Home.tsx:150",className:"text-[#00C853]",children:"Automatizzata."})]}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:152",className:"text-lg text-white/80 leading-relaxed mb-8 max-w-xl",children:"Il sistema di mappatura di rete che elimina la documentazione manuale dei cavi, riduce gli errori umani e taglia tempi e costi fino al 50%."}),v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:155",className:"flex flex-wrap gap-4",children:[v.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:156",href:"#come-funziona",className:"inline-flex items-center gap-2 px-6 py-3 bg-[#00C853] text-[#003366] font-semibold hover:bg-[#00E676] transition-colors",children:["Scopri Come Funziona",v.jsx(ON,{"data-loc":"client/src/pages/Home.tsx:158",size:18})]}),v.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:160",onClick:()=>r(!0),className:"inline-flex items-center gap-2 px-6 py-3 border-2 border-white/30 text-white font-medium hover:border-white/60 transition-colors",children:[v.jsx(R0,{"data-loc":"client/src/pages/Home.tsx:164",size:18}),"Guarda il Video"]})]})]})})}),v.jsx("div",{"data-loc":"client/src/pages/Home.tsx:173",className:"absolute bottom-0 left-0 right-0 h-1 bg-gradient-to-r from-[#003366] via-[#00C853] to-[#003366]"})]}),v.jsx("section",{"data-loc":"client/src/pages/Home.tsx:177",className:"bg-[#1A1A2E] py-8",children:v.jsx("div",{"data-loc":"client/src/pages/Home.tsx:178",className:"container",children:v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:179",className:"grid grid-cols-1 md:grid-cols-3 gap-8 text-center",children:[v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:180",children:[v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:181",className:"font-[var(--font-display)] text-4xl md:text-5xl font-bold text-white",children:v.jsx(Qd,{"data-loc":"client/src/pages/Home.tsx:182",end:50,suffix:"%"})}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:184",className:"text-white/60 text-sm mt-2",children:"Riduzione tempi di documentazione"})]}),v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:186",children:[v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:187",className:"font-[var(--font-display)] text-4xl md:text-5xl font-bold text-[#00C853]",children:v.jsx(Qd,{"data-loc":"client/src/pages/Home.tsx:188",end:0,suffix:""})}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:190",className:"text-white/60 text-sm mt-2",children:"Errori nella documentazione"})]}),v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:192",children:[v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:193",className:"font-[var(--font-display)] text-4xl md:text-5xl font-bold text-white",children:v.jsx(Qd,{"data-loc":"client/src/pages/Home.tsx:194",end:3,suffix:""})}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:196",className:"text-white/60 text-sm mt-2",children:"Semplici passaggi per iniziare"})]})]})})}),v.jsx("section",{"data-loc":"client/src/pages/Home.tsx:203",className:"py-20 bg-white",children:v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:204",className:"container",children:[v.jsx(Jt,{"data-loc":"client/src/pages/Home.tsx:205",children:v.jsxs(Rt.div,{"data-loc":"client/src/pages/Home.tsx:206",variants:Dt,className:"max-w-3xl mx-auto text-center mb-16",children:[v.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:207",className:"text-3xl md:text-4xl font-bold text-[#003366] mb-6",children:"Il problema della documentazione manuale"}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:210",className:"text-lg text-foreground/70 leading-relaxed",children:"Etichettare, tracciare e documentare i cavi di rete è un processo tedioso, ripetitivo e soggetto a errori umani. Porta a sprechi di tempo, denaro e aumenta il rischio di interruzioni di rete."})]})}),v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:217",className:"grid md:grid-cols-2 gap-12 items-center",children:[v.jsx(Jt,{"data-loc":"client/src/pages/Home.tsx:218",children:v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:219",className:"space-y-6",children:[v.jsxs(Rt.div,{"data-loc":"client/src/pages/Home.tsx:220",variants:Dt,className:"flex gap-4 p-5 bg-red-50 border-l-4 border-red-400",children:[v.jsx(LN,{"data-loc":"client/src/pages/Home.tsx:221",className:"text-red-500 shrink-0 mt-1",size:24}),v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:222",children:[v.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:223",className:"font-semibold text-foreground mb-1",children:"Errori di documentazione"}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:224",className:"text-sm text-foreground
187/60",children:"La trascrizione manuale dei codici alfanumerici genera inevitabilmente errori che causano interruzioni di rete."})]})]}),v.jsxs(Rt.div,{"data-loc":"client/src/pages/Home.tsx:227",variants:Dt,className:"flex gap-4 p-5 bg-amber-50 border-l-4 border-amber-400",children:[v.jsx(MN,{"data-loc":"client/src/pages/Home.tsx:228",className:"text-amber-500 shrink-0 mt-1",size:24}),v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:229",children:[v.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:230",className:"font-semibold text-foreground mb-1",children:"Tempi eccessivi"}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:231",className:"text-sm text-foreground/60",children:"Documentare 400 connessioni su un singolo switch richiede settimane di lavoro manuale con etichettatura tradizionale."})]})]}),v.jsxs(Rt.div,{"data-loc":"client/src/pages/Home.tsx:234",variants:Dt,className:"flex gap-4 p-5 bg-[#003366]/5 border-l-4 border-[#003366]",children:[v.jsx(Za,{"data-loc":"client/src/pages/Home.tsx:235",className:"text-[#00C853] shrink-0 mt-1",size:24}),v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:236",children:[v.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:237",className:"font-semibold text-[#003366] mb-1",children:"La soluzione: RapidID"}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:238",className:"text-sm text-foreground/60",children:"Patch cord pre-etichettati + scanner Bluetooth + software intelligente = documentazione automatica, precisa e in tempo reale."})]})]})]})}),v.jsx(Jt,{"data-loc":"client/src/pages/Home.tsx:244",children:v.jsx(Rt.div,{"data-loc":"client/src/pages/Home.tsx:245",variants:Dt,children:v.jsx("img",{"data-loc":"client/src/pages/Home.tsx:246",src:"https://d2xsxph8kpxj0f.cloudfront.net/310519663301962243/HLH5Gy3t8Q3FH7bSRN9nq6/technician-scanning-2Fhm2p5G6HFeJiDsq9bcom.webp",alt:"Tecnico che scansiona un cavo con RapidID",className:"w-full shadow-xl"})})})]})]})}),v.jsx("section",{"data-loc":"client/src/pages/Home.tsx:258",id:"come-funziona",className:"py-20 bg-[#FAFBFC]",children:v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:259",className:"container",children:[v.jsxs(Jt,{"data-loc":"client/src/pages/Home.tsx:260",className:"text-center mb-16",children:[v.jsx(Rt.p,{"data-loc":"client/src/pages/Home.tsx:261",variants:Dt,className:"text-[#00C853] font-mono text-sm tracking-wider mb-3",children:"COME FUNZIONA"}),v.jsx(Rt.h2,{"data-loc":"client/src/pages/Home.tsx:262",variants:Dt,className:"text-3xl md:text-4xl font-bold text-[#003366]",children:"Semplice come 1, 2, 3"})]}),v.jsx("div",{"data-loc":"client/src/pages/Home.tsx:267",className:"grid md:grid-cols-3 gap-8",children:[{step:"01",icon:N0,title:"Installa",description:"Utilizza i patch cord Panduit pre-etichettati con codici a barre univoci RapidID. Disponibili in rame (Cat6A, Cat6) e fibra ottica."},{step:"02",icon:DN,title:"Scarica",description:"Scarica gratuitamente il software RapidID per Windows. L'applicazione desktop è pronta all'uso in pochi minuti."},{step:"03",icon:D0,title:"Scansiona",description:"Usa lo scanner Bluetooth per catturare, verificare e tracciare le connessioni. I dati vengono registrati automaticamente."}].map((l,c)=>v.jsx(Jt,{"data-loc":"client/src/pages/Home.tsx:288",children:v.jsxs(Rt.div,{"data-loc":"client/src/pages/Home.tsx:289",variants:Dt,className:"relative p-8 bg-white border border-border hover:border-[#003366]/30 transition-all hover:translate-x-1 hover:shadow-lg group",children:[v.jsx("span",{"data-loc":"client/src/pages/Home.tsx:293",className:"font-mono text-5xl font-bold text-[#003366]/10 absolute top-4 right-4",children:l.step}),v.jsx(l.icon,{"data-loc":"client/src/pages/Home.tsx:294",className:"text-[#003366] mb-4",size:32}),v.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:295",className:"text-xl font-bold text-[#003366] mb-3",children:l.title}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:296",className:"text-foreground/60 leading-relaxed",children:l.description})]})},c))}),v.jsx(Jt,{"data-loc":"client/src/pages/Home.tsx:302",className:"mt-16",children:v.jsxs(Rt.div,{"data-loc":"client/src/pages/Home.tsx:303",variants:Dt,className:"relative overflow-hidden",children:[v.jsx("img",{"data-loc":"client/src/pages/Home.tsx:304",src:"https://d2xsxph8kpxj0f.cloudfront.net/310519663301962243/HLH5Gy3t8Q3FH7bSRN9nq6/cable-closeup-A29gmBwTAH3UToNePZUjEo.webp",alt:"Dettaglio cavi con etichette barcode RapidID",className:"w-full h-64 md:h-80 object-cover"}),v.jsx("div",{"data-loc":"client/src/pages/Home.tsx:309",className:"absolute inset-0 bg-gradient-to-t from-[#003366]/80 to-transparent flex items-end",children:v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:310",className:"p-8",children:[v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:311",className:"text-white font-semibold text-lg",children:"Ogni patch cord ha un'etichetta barcode univoca applicata in fabbrica"}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:312",className:"text-white/70 text-sm mt-1",children:"Etichette 'A' e 'B' su ciascuna estremità per identificazione bidirezionale"})]})})]})})]})}),v.jsx("section",{"data-loc":"client/src/pages/Home.tsx:321",className:"py-20 bg-[#1A1A2E] text-white",children:v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:322",className:"container",children:[v.jsxs(Jt,{"data-loc":"client/src/pages/Home.tsx:323",className:"text-center mb-16",children:[v.jsx(Rt.p,{"data-loc":"client/src/pages/Home.tsx:324",variants:Dt,className:"text-[#00C853] font-mono text-sm tracking-wider mb-3",children:"FUNZIONALITà SOFTWARE"}),v.jsx(Rt.h2,{"data-loc":"client/src/pages/Home.tsx:325",variants:Dt,className:"text-3xl md:text-4xl font-bold",children:"Un'applicazione completa per la gestione della rete"})]}),v.jsx("div",{"data-loc":"client/src/pages/Home.tsx:330",className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[{title:"Capture",desc:"Documenta la posizione dei patch cord scansionando i barcode. Auto-aggiornamento porta successiva.",icon:"ð"},{title:"Verify",desc:"Confronta le posizioni attuali con i risultati salvati. Verde = corretto, Rosso = errore.",icon:"â"},{title:"Match",desc:"Localizza entrambe le estremità di un cavo senza tracciamento manuale o disconnessione.",icon:"ð"},{title:"Search",desc:"Trova la posizione fisica di qualsiasi cavo, rack o modulo nel database.",icon:"ð"},{title:"Export",desc:"Esporta i dati in CSV per integrazione con DCIM, Excel o sistemi NMS.",icon:"ð¤"},{title:"Part Info",desc:"Accedi alle informazioni prodotto via API REST: numero parte, colore, lunghezza, rating.",icon:"â¹ï¸"}].map((l,c)=>v.jsx(Jt,{"data-loc":"client/src/pages/Home.tsx:339",children:v.jsxs(Rt.div,{"data-loc":"client/src/pages/Home.tsx:340",variants:Dt,className:"p-6 border border-white/10 hover:border-[#00C853]/40 transition-all hover:translate-x-1",children:[v.jsx("span",{"data-loc":"client/src/pages/Home.tsx:344",className:"text-2xl mb-3 block",children:l.icon}),v.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:345",className:"font-semibold text-lg mb-2",children:l.title}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:346",className:"text-white/60 text-sm leading-relaxed",children:l.desc})]})},c))})]})}),v.jsx("section",{"data-loc":"client/src/pages/Home.tsx:355",id:"versioni",className:"py-20 bg-white",children:v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:356",className:"container",children:[v.jsxs(Jt,{"data-loc":"client/src/pages/Home.tsx:357",className:"text-center mb-16",children:[v.jsx(Rt.p,{"data-loc":"client/src/pages/Home.tsx:358",variants:Dt,className:"text-[#00C853] font-mono text-sm tracking-wider mb-3",children:"VERSIONI DISPONIBILI"}),v.jsx(Rt.h2,{"data-loc":"client/src/pages/Home.tsx:359",variants:Dt,className:"text-3xl md:text-4xl font-bold text-[#003366]",children:"La soluzione giusta per ogni esigenza"}),v.jsx(Rt.p,{"data-loc":"client/src/pages/Home.tsx:362",variants:Dt,className:"text-foreground
187/60 mt-4 max-w-2xl mx-auto",children:"Dalla versione gratuita per piccole reti fino alla soluzione enterprise multi-utente. RapidID cresce con la tua infrastruttura."})]}),v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:367",className:"grid md:grid-cols-3 gap-8",children:[v.jsx(Jt,{"data-loc":"client/src/pages/Home.tsx:369",children:v.jsxs(Rt.div,{"data-loc":"client/src/pages/Home.tsx:370",variants:Dt,className:"border border-border p-8 h-full flex flex-col",children:[v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:371",className:"mb-6",children:[v.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:372",className:"text-xl font-bold text-[#003366]",children:"RapidID Desktop"}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:373",className:"text-sm text-foreground/60 mt-1",children:"Per piccole reti e uffici"})]}),v.jsx("div",{"data-loc":"client/src/pages/Home.tsx:375",className:"mb-6",children:v.jsx("span",{"data-loc":"client/src/pages/Home.tsx:376",className:"text-4xl font-bold text-[#003366]",children:"Gratuito"})}),v.jsx("ul",{"data-loc":"client/src/pages/Home.tsx:378",className:"space-y-3 mb-8 flex-1",children:["Search, Verify, Match","Part Information (API REST)","Aggiornamenti automatici","Ristampa etichette"].map((l,c)=>v.jsxs("li",{"data-loc":"client/src/pages/Home.tsx:380",className:"flex items-start gap-2 text-sm",children:[v.jsx(Za,{"data-loc":"client/src/pages/Home.tsx:381",size:16,className:"text-[#00C853] shrink-0 mt-0.5"}),v.jsx("span",{"data-loc":"client/src/pages/Home.tsx:382",children:l})]},c))}),v.jsx("a",{"data-loc":"client/src/pages/Home.tsx:386",href:"https://www.panduit.com/en/products/featured-products/rapidid-network-mapping-system.html",target:"_blank",rel:"noopener noreferrer",className:"block text-center py-3 border-2 border-[#003366] text-[#003366] font-semibold hover:bg-[#003366] hover:text-white transition-colors",children:"Scarica Gratis"})]})}),v.jsx(Jt,{"data-loc":"client/src/pages/Home.tsx:393",children:v.jsxs(Rt.div,{"data-loc":"client/src/pages/Home.tsx:394",variants:Dt,className:"border-2 border-[#003366] p-8 h-full flex flex-col relative",children:[v.jsx("div",{"data-loc":"client/src/pages/Home.tsx:395",className:"absolute -top-3 left-8 bg-[#FF6D00] text-white text-xs font-bold px-3 py-1",children:"CONSIGLIATO"}),v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:398",className:"mb-6",children:[v.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:399",className:"text-xl font-bold text-[#003366]",children:"RapidID Pro"}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:400",className:"text-sm text-foreground/60 mt-1",children:"Per reti in crescita"})]}),v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:402",className:"mb-6",children:[v.jsx("span",{"data-loc":"client/src/pages/Home.tsx:403",className:"text-4xl font-bold text-[#003366]",children:"$150"}),v.jsx("span",{"data-loc":"client/src/pages/Home.tsx:404",className:"text-foreground/60 text-sm",children:"/anno"})]}),v.jsx("ul",{"data-loc":"client/src/pages/Home.tsx:406",className:"space-y-3 mb-8 flex-1",children:["Tutte le funzionalità Desktop","Documenta dispositivi e asset","Genera identificatori univoci","Stampa etichette barcode (MP300)","Navigazione struttura avanzata"].map((l,c)=>v.jsxs("li",{"data-loc":"client/src/pages/Home.tsx:414",className:"flex items-start gap-2 text-sm",children:[v.jsx(Za,{"data-loc":"client/src/pages/Home.tsx:415",size:16,className:"text-[#00C853] shrink-0 mt-0.5"}),v.jsx("span",{"data-loc":"client/src/pages/Home.tsx:416",children:l})]},c))}),v.jsx("a",{"data-loc":"client/src/pages/Home.tsx:420",href:"https://panduit.onfastspring.com/rapidid-pro",target:"_blank",rel:"noopener noreferrer",className:"block text-center py-3 bg-[#003366] text-white font-semibold hover:bg-[#002244] transition-colors",children:"Acquista Pro"})]})}),v.jsx(Jt,{"data-loc":"client/src/pages/Home.tsx:427",children:v.jsxs(Rt.div,{"data-loc":"client/src/pages/Home.tsx:428",variants:Dt,className:"border border-border p-8 h-full flex flex-col",children:[v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:429",className:"mb-6",children:[v.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:430",className:"text-xl font-bold text-[#003366]",children:"RapidID Pro+"}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:431",className:"text-sm text-foreground
187/60 mt-1",children:"Per team e grandi progetti"})]}),v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:433",className:"mb-6",children:[v.jsx("span",{"data-loc":"client/src/pages/Home.tsx:434",className:"text-4xl font-bold text-[#003366]",children:"$300"}),v.jsx("span",{"data-loc":"client/src/pages/Home.tsx:435",className:"text-foreground/60 text-sm",children:"/anno"})]}),v.jsx("ul",{"data-loc":"client/src/pages/Home.tsx:437",className:"space-y-3 mb-8 flex-1",children:["Tutte le funzionalità Pro","Supporto multi-utente","Server centrale (Cloud/On-Premise)","Autenticazione utente","Sincronizzazione database"].map((l,c)=>v.jsxs("li",{"data-loc":"client/src/pages/Home.tsx:445",className:"flex items-start gap-2 text-sm",children:[v.jsx(Za,{"data-loc":"client/src/pages/Home.tsx:446",size:16,className:"text-[#00C853] shrink-0 mt-0.5"}),v.jsx("span",{"data-loc":"client/src/pages/Home.tsx:447",children:l})]},c))}),v.jsx("a",{"data-loc":"client/src/pages/Home.tsx:451",href:"https://panduit.onfastspring.com/rapidid-pro-plus",target:"_blank",rel:"noopener noreferrer",className:"block text-center py-3 border-2 border-[#003366] text-[#003366] font-semibold hover:bg-[#003366] hover:text-white transition-colors",children:"Acquista Pro+"})]})})]})]})}),v.jsx("section",{"data-loc":"client/src/pages/Home.tsx:461",id:"componenti",className:"py-20 bg-[#FAFBFC]",children:v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:462",className:"container",children:[v.jsxs(Jt,{"data-loc":"client/src/pages/Home.tsx:463",className:"text-center mb-16",children:[v.jsx(Rt.p,{"data-loc":"client/src/pages/Home.tsx:464",variants:Dt,className:"text-[#00C853] font-mono text-sm tracking-wider mb-3",children:"COMPONENTI DEL SISTEMA"}),v.jsx(Rt.h2,{"data-loc":"client/src/pages/Home.tsx:465",variants:Dt,className:"text-3xl md:text-4xl font-bold text-[#003366]",children:"Tutto ciò che serve per iniziare"})]}),v.jsx("div",{"data-loc":"client/src/pages/Home.tsx:470",className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:[{icon:N0,title:"Patch Cord Pre-etichettati",items:["TX6A⢠10Gig UTP","TX6⢠PLUS UTP","Opti-Core® Fibra","QuickNet⢠Trunk MTP"],note:"Rame e fibra ottica"},{icon:D0,title:"Scanner Bluetooth",items:["Compatibile terze parti","Connessione Bluetooth","Auto-riconnessione","Ergonomico e leggero"],note:"Scanner verificati Panduit",noteLink:"https://www.panduit.com/content/dam/panduit/en/website/products/featured-products/rapid-id/documents/scanner-guide-cofl54-ww-eng.pdf"},{icon:HN,title:"Stampante MP300",items:["360 dpi risoluzione",'Velocità 1.4"/sec',"Taglio automatico","Template T1, T2, T3"],note:"Per versioni Pro/Pro+"},{icon:RN,title:"Software RapidID",items:["Windows Desktop","Server On-Premise","Private Cloud","API REST integrata"],note:"Download gratuito"}].map((l,c)=>v.jsx(Jt,{"data-loc":"client/src/pages/Home.tsx:498",children:v.jsxs(Rt.div,{"data-loc":"client/src/pages/Home.tsx:499",variants:Dt,className:"bg-white p-6 border border-border hover:border-[#003366]/20 transition-all",children:[v.jsx(l.icon,{"data-loc":"client/src/pages/Home.tsx:500",className:"text-[#003366] mb-4",size:28}),v.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:501",className:"font-bold text-[#003366] mb-3",children:l.title}),v.jsx("ul",{"data-loc":"client/src/pages/Home.tsx:502",className:"space-y-2 mb-4",children:l.items.map((u,h)=>v.jsxs("li",{"data-loc":"client/src/pages/Home.tsx:504",className:"text-sm text-foreground/70 flex items-center gap-2",children:[v.jsx(jN,{"data-loc":"client/src/pages/Home.tsx:505",size:12,className:"text-[#00C853]"}),u]},h))}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:510",className:"text-xs text-foreground/50 border-t border-border pt-3 mt-auto",children:l.noteLink?v.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:512",href:l.noteLink,target:"_blank",rel:"noopener noreferrer",className:"text-[#003366] hover:text-[#00C853] underline transition-colors",children:[l.note," â"]}):l.note})]})},c))}),v.jsx(Jt,{"data-loc":"client/src/pages/Home.tsx:523",className:"mt-16",children:v.jsxs(Rt.div,{"data-loc":"client/src/pages/Home.tsx:524",variants:Dt,children:[v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:525",className:"text-center mb-8",children:[v.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:526",className:"text-xl md:text-2xl font-bold text-[#003366] mb-2",children:"Scanner Verificati Panduit"}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:527",className:"text-sm text-foreground
187/60",children:"Scanner di terze parti testati e certificati per l'uso con RapidID Desktop"})]}),v.jsx("div",{"data-loc":"client/src/pages/Home.tsx:529",className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-4",children:[{name:"Zebra DS2278",type:"Wireless/Wired",connections:"BT SPP, USB",img:"/manus-storage/scanner-zebra-ds2278_1723d0d1.jpg"},{name:"Zebra DS2208",type:"Wired",connections:"USB COM",img:"/manus-storage/scanner-zebra-ds2208_37d039ea.jpg"},{name:"Honeywell 1472g",type:"Wireless/Wired",connections:"BT SPP, USB",img:"/manus-storage/scanner-honeywell-1472g_e99d6ce7.jpg"},{name:"Netum NT-1228BL",type:"Wireless/Wired",connections:"BLE, BT SPP, USB",img:"/manus-storage/scanner-netum-nt1228bl_d1f4eada.jpg"},{name:"Netum C750",type:"Compatto",connections:"BLE, BT SPP, USB",img:"/manus-storage/scanner-netum-c750_ca4f3be2.jpg"},{name:"Netum NT-M5",type:"Wired",connections:"USB COM",img:"/manus-storage/scanner-netum-ntm5_a4364e53.jpg"}].map((l,c)=>v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:568",className:"bg-white border border-border hover:border-[#003366]/30 p-4 flex flex-col items-center text-center transition-all hover:shadow-md group",children:[v.jsx("div",{"data-loc":"client/src/pages/Home.tsx:569",className:"w-full aspect-square bg-[#FAFBFC] flex items-center justify-center mb-3 overflow-hidden rounded",children:v.jsx("img",{"data-loc":"client/src/pages/Home.tsx:570",src:l.img,alt:l.name,className:"w-full h-full object-contain p-2 group-hover:scale-105 transition-transform duration-300"})}),v.jsx("h4",{"data-loc":"client/src/pages/Home.tsx:576",className:"font-semibold text-[#003366] text-xs leading-tight mb-1",children:l.name}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:577",className:"text-[10px] text-foreground/50",children:l.type}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:578",className:"text-[10px] text-[#00C853] font-mono mt-1",children:l.connections})]},c))}),v.jsx("div",{"data-loc":"client/src/pages/Home.tsx:582",className:"text-center mt-6",children:v.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:583",href:"https://www.panduit.com/content/dam/panduit/en/website/products/featured-products/rapid-id/documents/scanner-guide-cofl54-ww-eng.pdf",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-sm text-[#003366] hover:text-[#00C853] font-medium transition-colors",children:[v.jsx(Ad,{"data-loc":"client/src/pages/Home.tsx:589",size:16}),"Scarica la guida completa alla compatibilità scanner (PDF)",v.jsx(M0,{"data-loc":"client/src/pages/Home.tsx:591",size:14})]})})]})})]})}),v.jsx("section",{"data-loc":"client/src/pages/Home.tsx:600",className:"py-20 bg-white",children:v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:601",className:"container",children:[v.jsxs(Jt,{"data-loc":"client/src/pages/Home.tsx:602",className:"text-center mb-16",children:[v.jsx(Rt.p,{"data-loc":"client/src/pages/Home.tsx:603",variants:Dt,className:"text-[#00C853] font-mono text-sm tracking-wider mb-3",children:"APPLICAZIONI"}),v.jsx(Rt.h2,{"data-loc":"client/src/pages/Home.tsx:604",variants:Dt,className:"text-3xl md:text-4xl font-bold text-[#003366]",children:"Ideale per ogni ambiente di rete"})]}),v.jsx("div",{"data-loc":"client/src/pages/Home.tsx:609",className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[{title:"Data Center",desc:"Documentazione completa dell'infrastruttura, diagnosi rapida degli outage, audit di conformità ."},{title:"Sale Telecomunicazioni",desc:"Gestione del turnover del personale, manutenzione efficiente, tracciamento delle connessioni."},{title:"Infrastrutture Multi-tenant",desc:"Separazione logica delle connessioni per cliente, documentazione condivisa tra team."},{title:"EDGE Deployments",desc:"Documentazione remota per sedi distribuite, supporto tecnico a distanza."},{title:"Moves, Adds & Changes",desc:"Aggiornamento automatico della documentazione durante modifiche all'infrastruttura."},{title:"Sostituzione Switch",desc:"Documentazione rapida di centinaia di connessioni durante l'upgrade degli apparati."}].map((l,c)=>v.jsx(Jt,{"data-loc":"client/src/pages/Home.tsx:618",children:v.jsxs(Rt.div,{"data-loc":"client/src/pages/Home.tsx:619",variants:Dt,className:"p-6 border-l-4 border-[#003366] bg-[#FAFBFC]",children:[v.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:620",className:"font-bold text-[#003366] mb-2",children:l.title}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:621",className:"text-sm text-foreground
187/60 leading-relaxed",children:l.desc})]})},c))})]})}),v.jsx("section",{"data-loc":"client/src/pages/Home.tsx:630",id:"risorse",className:"py-20 bg-[#1A1A2E] text-white",children:v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:631",className:"container",children:[v.jsxs(Jt,{"data-loc":"client/src/pages/Home.tsx:632",className:"text-center mb-16",children:[v.jsx(Rt.p,{"data-loc":"client/src/pages/Home.tsx:633",variants:Dt,className:"text-[#00C853] font-mono text-sm tracking-wider mb-3",children:"RISORSE E DOCUMENTAZIONE"}),v.jsx(Rt.h2,{"data-loc":"client/src/pages/Home.tsx:634",variants:Dt,className:"text-3xl md:text-4xl font-bold",children:"Approfondisci con la documentazione tecnica"})]}),v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:639",className:"grid md:grid-cols-2 gap-8",children:[v.jsx(Jt,{"data-loc":"client/src/pages/Home.tsx:641",children:v.jsxs(Rt.div,{"data-loc":"client/src/pages/Home.tsx:642",variants:Dt,className:"space-y-4",children:[v.jsxs("h3",{"data-loc":"client/src/pages/Home.tsx:643",className:"text-lg font-semibold mb-4 flex items-center gap-2",children:[v.jsx(Ad,{"data-loc":"client/src/pages/Home.tsx:644",size:20,className:"text-[#00C853]"}),"Documenti Tecnici"]}),[{title:"Product Bulletin",desc:"Panoramica del prodotto e caratteristiche principali",url:"https://www.panduit.com/content/dam/panduit/en/website/products/featured-products/rapid-id/documents/rapidid-product-bulletin-cpcb241-sa-eng.pdf"},{title:"Application Guide",desc:"Guida applicativa con casi d'uso dettagliati",url:"https://www.panduit.com/content/dam/panduit/en/website/products/featured-products/rapid-id/documents/rapidid-application-guide-coag12-sa-eng.pdf"},{title:"User Manual v2.0",desc:"Manuale utente completo del software",url:"https://www.panduit.com/content/dam/panduit/en/website/products/featured-products/rapid-id/documents/rapidid-manual-version-210-update-01072026.pdf"}].map((l,c)=>v.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:652",href:l.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-4 p-4 border border-white/10 hover:border-[#00C853]/40 transition-all hover:translate-x-1 group",children:[v.jsx("div",{"data-loc":"client/src/pages/Home.tsx:659",className:"w-10 h-10 bg-[#003366] flex items-center justify-center shrink-0",children:v.jsx(Ad,{"data-loc":"client/src/pages/Home.tsx:660",size:18,className:"text-white"})}),v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:662",className:"flex-1",children:[v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:663",className:"font-medium text-sm",children:l.title}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:664",className:"text-white/50 text-xs",children:l.desc})]}),v.jsx(M0,{"data-loc":"client/src/pages/Home.tsx:666",size:16,className:"text-white/30 group-hover:text-[#00C853] transition-colors"})]},c))]})}),v.jsx(Jt,{"data-loc":"client/src/pages/Home.tsx:673",children:v.jsxs(Rt.div,{"data-loc":"client/src/pages/Home.tsx:674",variants:Dt,children:[v.jsxs("h3",{"data-loc":"client/src/pages/Home.tsx:675",className:"text-lg font-semibold mb-4 flex items-center gap-2",children:[v.jsx(R0,{"data-loc":"client/src/pages/Home.tsx:676",size:20,className:"text-[#00C853]"}),"Video Dimostrativi"]}),v.jsx("div",{"data-loc":"client/src/pages/Home.tsx:679",className:"aspect-video bg-black/30 border border-white/10 overflow-hidden",children:v.jsx("iframe",{"data-loc":"client/src/pages/Home.tsx:680",src:"https://www.youtube.com/embed/GzseeGwY7SE",title:"Panduit RapidID Network Mapping System",className:"w-full h-full",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:688",className:"text-white/50 text-xs mt-3",children:"Video ufficiale Panduit: panoramica completa del sistema RapidID"})]})})]})]})}),v.jsx("section",{"data-loc":"client/src/pages/Home.tsx:696",className:"py-20 bg-white",children:v.jsx("div",{"data-loc":"client/src/pages/Home.tsx:697",className:"container",children:v.jsx(Jt,{"data-loc":"client/src/pages/Home.tsx:698",children:v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:699",className:"grid md:grid-cols-2 gap-12 items-center",children:[v.jsxs(Rt.div,{"data-loc":"client/src/pages/Home.tsx:700",variants:Dt,children:[v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:701",className:"text-[#00C853] font-mono text-sm tracking-wider mb-3",children:"STRUTTURA DATI"}),v.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:702",className:"text-3xl font-bold text-[#003366] mb-6",children:"Organizzazione gerarchica dell'infrastruttura"}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:705",className:"text-foreground
187/70 leading-relaxed mb-8",children:"RapidID organizza la documentazione in una struttura logica a 5 livelli che rispecchia l'architettura fisica della rete. Ogni connessione è tracciata con precisione dal sito fino alla singola porta."}),v.jsx("div",{"data-loc":"client/src/pages/Home.tsx:709",className:"space-y-3",children:[{level:"Site",desc:"Edificio o campus fisico"},{level:"Zone",desc:"Area specifica (sala server, piano)"},{level:"Rack",desc:"Armadio che ospita i moduli"},{level:"Module",desc:"Apparato (switch, patch panel)"},{level:"Port",desc:"Interfaccia di connessione (1-999)"}].map((l,c)=>v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:717",className:"flex items-center gap-3",children:[v.jsx("div",{"data-loc":"client/src/pages/Home.tsx:718",className:"w-8 h-8 bg-[#003366] text-white flex items-center justify-center text-xs font-mono font-bold shrink-0",children:c+1}),v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:721",className:"flex-1 flex items-center gap-2 border-b border-border pb-2",children:[v.jsx("span",{"data-loc":"client/src/pages/Home.tsx:722",className:"font-mono font-semibold text-[#003366] text-sm",children:l.level}),v.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:723",className:"text-foreground/50 text-sm",children:["â ",l.desc]})]})]},c))})]}),v.jsxs(Rt.div,{"data-loc":"client/src/pages/Home.tsx:730",variants:Dt,className:"bg-[#1A1A2E] p-8 font-mono text-sm",children:[v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:731",className:"text-[#00C853] mb-2",children:"// Esempio struttura RapidID"}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:732",className:"text-white/80",children:"{"}),v.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:733",className:"text-white/80 pl-4",children:['"site": ',v.jsx("span",{"data-loc":"client/src/pages/Home.tsx:733",className:"text-[#FF6D00]",children:'"Milano DC-01"'}),","]}),v.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:734",className:"text-white/80 pl-4",children:['"zone": ',v.jsx("span",{"data-loc":"client/src/pages/Home.tsx:734",className:"text-[#FF6D00]",children:'"Sala Server A"'}),","]}),v.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:735",className:"text-white/80 pl-4",children:['"rack": ',v.jsx("span",{"data-loc":"client/src/pages/Home.tsx:735",className:"text-[#FF6D00]",children:'"Rack-12"'}),","]}),v.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:736",className:"text-white/80 pl-4",children:['"module": ',v.jsx("span",{"data-loc":"client/src/pages/Home.tsx:736",className:"text-[#FF6D00]",children:'"Switch-Core-01"'}),","]}),v.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:737",className:"text-white/80 pl-4",children:['"port": ',v.jsx("span",{"data-loc":"client/src/pages/Home.tsx:737",className:"text-[#00C853]",children:"24"}),","]}),v.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:738",className:"text-white/80 pl-4",children:['"cable_id": ',v.jsx("span",{"data-loc":"client/src/pages/Home.tsx:738",className:"text-[#FF6D00]",children:'"RID-A01-5-04"'})]}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:739",className:"text-white/80",children:"}"})]})]})})})}),v.jsx("section",{"data-loc":"client/src/pages/Home.tsx:747",id:"contatti",className:"py-20 bg-[#003366]",children:v.jsx("div",{"data-loc":"client/src/pages/Home.tsx:748",className:"container",children:v.jsx(Jt,{"data-loc":"client/src/pages/Home.tsx:749",children:v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:750",className:"grid md:grid-cols-2 gap-12 items-start",children:[v.jsxs(Rt.div,{"data-loc":"client/src/pages/Home.tsx:751",variants:Dt,children:[v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:752",className:"text-[#00C853] font-mono text-sm tracking-wider mb-3",children:"RICHIEDI INFORMAZIONI"}),v.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:753",className:"text-3xl md:text-4xl font-bold text-white mb-6",children:"Vuoi saperne di più su RapidID?"}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:756",className:"text-white/70 leading-relaxed mb-8",children:"Compila il modulo per ricevere una consulenza personalizzata sulla documentazione automatizzata della tua infrastruttura di rete. Siamo partner Panduit e possiamo guidarti nella scelta della soluzione più adatta."}),v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:760",className:"space-y-4",children:[v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:761",className:"flex items-center gap-3 text-white/60",children:[v.jsx(Za,{"data-loc":"client/src/pages/Home.tsx:762",size:18,className:"text-[#00C853]"}),v.jsx("span",{"data-loc":"client/src/pages/Home.tsx:763",className:"text-sm",children:"Risposta entro 24 ore lavorative"})]}),v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:765",className:"flex items-center gap-3 text-white/60",children:[v.jsx(Za,{"data-loc":"client/src/pages/Home.tsx:766",size:18,className:"text-[#00C853]"}),v.jsx("span",{"data-loc":"client/src/pages/Home.tsx:767",className:"text-sm",children:"Consulenza gratuita e senza impegno"})]}),v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:769",className:"flex items-center gap-3 text-white/60",children:[v.jsx(Za,{"data-loc":"client/src/pages/Home.tsx:770",size:18,className:"text-[#00C853]"}),v.jsx("span",{"data-loc":"client/src/pages/Home.tsx:771",className:"text-sm",children:"Supporto tecnico specializzato"})]})]})]}),v.jsx(Rt.div,{"data-loc":"client/src/pages/Home.tsx:776",variants:Dt,children:v.jsx(pM,{"data-loc":"client/src/pages/Home.tsx:777"})})]})})})}),v.jsx("footer",{"data-loc":"client/src/pages/Home.tsx:785",className:"bg-[#0D0D1A] text-white/50 py-12",children:v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:786",className:"container",children:[v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:787",className:"grid md:grid-cols-3 gap-8 mb-8",children:[v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:788",children:[v.jsx("div",{"data-loc":"client/src/pages/Home.tsx:789",className:"flex items-center gap-2 mb-4",children:v.jsx("img",{"data-loc":"client/src/pages/Home.tsx:790",src:"/manus-storage/cablaggiointelligente-logo_04b0d755.png",alt:"Cablaggiointelligente Logo",className:"h-8 w-auto invert"})}),v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:796",className:"text-xs leading-relaxed",children:"Notizie e soluzioni per cablaggio strutturato, infrastrutture per data center e tecnologia. A cura di Massimo Decker â Decker & Decker."})]}),v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:801",children:[v.jsx("h4",{"data-loc":"client/src/pages/Home.tsx:802",className:"text-white/80 font-semibold text-sm mb-3",children:"Link Rapidi"}),v.jsxs("ul",{"data-loc":"client/src/pages/Home.tsx:803",className:"space-y-2 text-xs",children:[v.jsx("li",{"data-loc":"client/src/pages/Home.tsx:804",children:v.jsx("a",{"data-loc":"client/src/pages/Home.tsx:804",href:"#come-funziona",className:"hover:text-white transition-colors",children:"Come Funziona"})}),v.jsx("li",{"data-loc":"client/src/pages/Home.tsx:805",children:v.jsx("a",{"data-loc":"client/src/pages/Home.tsx:805",href:"#versioni",className:"hover:text-white transition-colors",children:"Versioni e Prezzi"})}),v.jsx("li",{"data-loc":"client/src/pages/Home.tsx:806",children:v.jsx("a",{"data-loc":"client/src/pages/Home.tsx:806",href:"#componenti",className:"hover:text-white transition-colors",children:"Componenti"})}),v.jsx("li",{"data-loc":"client/src/pages/Home.tsx:807",children:v.jsx("a",{"data-loc":"client/src/pages/Home.tsx:807",href:"#risorse",className:"hover:text-white transition-colors",children:"Documentazione"})})]})]}),v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:810",children:[v.jsx("h4",{"data-loc":"client/src/pages/Home.tsx:811",className:"text-white/80 font-semibold text-sm mb-3",children:"Risorse Panduit"}),v.jsxs("ul",{"data-loc":"client/src/pages/Home.tsx:812",className:"space-y-2 text-xs",children:[v.jsx("li",{"data-loc":"client/src/pages/Home.tsx:813",children:v.jsx("a",{"data-loc":"client/src/pages/Home.tsx:813",href:"https://www.panduit.com/en/products/featured-products/rapidid-network-mapping-system.html",target:"_blank",rel:"noopener noreferrer",className:"hover:text-white transition-colors",children:"Pagina Prodotto Ufficiale"})}),v.jsx("li",{"data-loc":"client/src/pages/Home.tsx:814",children:v.jsx("a",{"data-loc":"client/src/pages/Home.tsx:814",href:"https://www.panduit.com/content/dam/panduit/en/website/products/featured-products/rapid-id/documents/rapidid-product-bulletin-cpcb241-sa-eng.pdf",target:"_blank",rel:"noopener noreferrer",className:"hover:text-white transition-colors",children:"Product Bulletin (PDF)"})}),v.jsx("li",{"data-loc":"client/src/pages/Home.tsx:815",children:v.jsx("a",{"data-loc":"client/src/pages/Home.tsx:815",href:"https://www.panduit.com/content/dam/panduit/en/website/products/featured-products/rapid-id/documents/rapidid-application-guide-coag12-sa-eng.pdf",target:"_blank",rel:"noopener noreferrer",className:"hover:text-white transition-colors",children:"Application Guide (PDF)"})}),v.jsx("li",{"data-loc":"client/src/pages/Home.tsx:816",children:v.jsx("a",{"data-loc":"client/src/pages/Home.tsx:816",href:"https://www.youtube.com/watch?v=GzseeGwY7SE",target:"_blank",rel:"noopener noreferrer",className:"hover:text-white transition-colors",children:"Video Dimostrativo"})})]})]})]}),v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:820",className:"border-t border-white/10 pt-6 flex flex-col md:flex-row justify-between items-center gap-4",children:[v.jsx("p",{"data-loc":"client/src/pages/Home.tsx:821",className:"text-xs",children:"© 2024-2026 Cablaggiointelligente.net â Decker & Decker di Massimo Decker"}),v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:824",className:"flex items-center gap-4 text-xs",children:[v.jsx("a",{"data-loc":"client/src/pages/Home.tsx:825",href:"/privacy",className:"hover:text-white transition-colors",children:"Privacy Policy"}),v.jsx("span",{"data-loc":"client/src/pages/Home.tsx:826",children:"|"}),v.jsx("span",{"data-loc":"client/src/pages/Home.tsx:827",children:"Panduit e RapidID sono marchi registrati di Panduit Corp."})]})]})]})}),i&&v.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:835",className:"fixed inset-0 z-[100] bg-black/90 flex items-center justify-center p-4",onClick:()=>r(!1),children:[v.jsx("div",{"data-loc":"client/src/pages/Home.tsx:839",className:"w-full max-w-4xl aspect-video",onClick:l=>l.stopPropagation(),children:v.jsx("iframe",{"data-loc":"client/src/pages/Home.tsx:840",src:"https://www.youtube.com/embed/GzseeGwY7SE?autoplay=1",title:"Panduit RapidID Network Mapping System",className:"w-full h-full",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})}),v.jsx("button",{"data-loc":"client/src/pages/Home.tsx:848",onClick:()=>r(!1),className:"absolute top-6 right-6 text-white hover:text-[#00C853] transition-colors",children:v.jsx(_0,{"data-loc":"client/src/pages/Home.tsx:852",size:32})})]})]})}function $_(){return v.jsxs("div",{"data-loc":"client/src/pages/Privacy.tsx:5",className:"min-h-screen bg-white",children:[v.jsx("header",{"data-loc":"client/src/pages/Privacy.tsx:7",className:"bg-[#003366] py-6",children:v.jsxs("div",{"data-loc":"client/src/pages/Privacy.tsx:8",className:"container",children:[v.jsxs("a",{"data-loc":"client/src/pages/Privacy.tsx:9",href:"/",className:"inline-flex items-center gap-2 text-white/80 hover:text-white transition-colors text-sm mb-4",children:[v.jsx(CN,{"data-loc":"client/src/pages/Privacy.tsx:10",size:16}),"Torna alla Home"]}),v.jsx("h1",{"data-loc":"client/src/pages/Privacy.tsx:13",className:"text-2xl md:text-3xl font-bold text-white",children:"Privacy Policy"}),v.jsx("p",{"data-loc":"client/src/pages/Privacy.tsx:14",className:"text-white/60 text-sm mt-2",children:"Ultimo aggiornamento: 13 giugno 2025"})]})}),v.jsx("main",{"data-loc":"client/src/pages/Privacy.tsx:19",className:"container py-12 max-w-4xl",children:v.jsxs("div",{"data-loc":"client/src/pages/Privacy.tsx:20",className:"prose prose-sm md:prose-base max-w-none text-foreground
187/80 space-y-8",children:[v.jsxs("section",{"data-loc":"client/src/pages/Privacy.tsx:22",children:[v.jsx("h2",{"data-loc":"client/src/pages/Privacy.tsx:23",className:"text-xl font-bold text-[#003366] mb-4",children:"1. Titolare del Trattamento"}),v.jsxs("p",{"data-loc":"client/src/pages/Privacy.tsx:24",className:"leading-relaxed",children:["Il Titolare del trattamento dei dati personali è ",v.jsx("strong",{"data-loc":"client/src/pages/Privacy.tsx:25",children:"Decker & Decker di Massimo Decker"}),", con sede operativa raggiungibile tramite il sito web"," ",v.jsx("a",{"data-loc":"client/src/pages/Privacy.tsx:27",href:"https://www.cablaggiointelligente.net",target:"_blank",rel:"noopener noreferrer",className:"text-[#003366] underline hover:text-[#00C853]",children:"www.cablaggiointelligente.net"}),"."]}),v.jsx("p",{"data-loc":"client/src/pages/Privacy.tsx:31",className:"leading-relaxed mt-2",children:"Per qualsiasi richiesta relativa al trattamento dei dati personali, è possibile contattare il Titolare attraverso il sito web sopra indicato."})]}),v.jsxs("section",{"data-loc":"client/src/pages/Privacy.tsx:37",children:[v.jsx("h2",{"data-loc":"client/src/pages/Privacy.tsx:38",className:"text-xl font-bold text-[#003366] mb-4",children:"2. Base Giuridica e Finalità del Trattamento"}),v.jsx("p",{"data-loc":"client/src/pages/Privacy.tsx:39",className:"leading-relaxed",children:"I dati personali raccolti attraverso il modulo di contatto presente su questo sito vengono trattati sulla base delle seguenti basi giuridiche:"}),v.jsxs("div",{"data-loc":"client/src/pages/Privacy.tsx:43",className:"mt-4 space-y-4",children:[v.jsxs("div",{"data-loc":"client/src/pages/Privacy.tsx:44",className:"pl-4 border-l-4 border-[#003366]/20",children:[v.jsx("h3",{"data-loc":"client/src/pages/Privacy.tsx:45",className:"font-semibold text-[#003366]",children:"a) Esecuzione di misure precontrattuali (Art. 6.1.b GDPR)"}),v.jsx("p",{"data-loc":"client/src/pages/Privacy.tsx:46",className:"text-sm mt-1",children:"I dati forniti nel modulo di contatto (nome, email, telefono, azienda, messaggio) sono trattati per rispondere alla richiesta di informazioni sul sistema Panduit RapidID⢠e per fornire consulenza tecnica personalizzata."})]}),v.jsxs("div",{"data-loc":"client/src/pages/Privacy.tsx:52",className:"pl-4 border-l-4 border-[#003366]/20",children:[v.jsx("h3",{"data-loc":"client/src/pages/Privacy.tsx:53",className:"font-semibold text-[#003366]",children:"b) Consenso (Art. 6.1.a GDPR)"}),v.jsx("p",{"data-loc":"client/src/pages/Privacy.tsx:54",className:"text-sm mt-1",children:"L'invio di comunicazioni commerciali e aggiornamenti su prodotti e soluzioni per il cablaggio strutturato avviene esclusivamente previo consenso esplicito dell'interessato, liberamente revocabile in qualsiasi momento."})]}),v.jsxs("div",{"data-loc":"client/src/pages/Privacy.tsx:60",className:"pl-4 border-l-4 border-[#003366]/20",children:[v.jsx("h3",{"data-loc":"client/src/pages/Privacy.tsx:61",className:"font-semibold text-[#003366]",children:"c) Legittimo interesse (Art. 6.1.f GDPR)"}),v.jsx("p",{"data-loc":"client/src/pages/Privacy.tsx:62",className:"text-sm mt-1",children:"L'analisi statistica aggregata e anonima delle visite al sito web per migliorare l'esperienza utente e i contenuti offerti."})]})]})]}),v.jsxs("section",{"data-loc":"client/src/pages/Privacy.tsx:70",children:[v.jsx("h2",{"data-loc":"client/src/pages/Privacy.tsx:71",className:"text-xl font-bold text-[#003366] mb-4",children:"3. Dati Raccolti"}),v.jsx("p",{"data-loc":"client/src/pages/Privacy.tsx:72",className:"leading-relaxed",children:"Attraverso il modulo di contatto vengono raccolti i seguenti dati:"}),v.jsx("div",{"data-loc":"client/src/pages/Privacy.tsx:73",className:"mt-3 overflow-x-auto",children:v.jsxs("table",{"data-loc":"client/src/pages/Privacy.tsx:74",className:"w-full text-sm border border-border",children:[v.jsx("thead",{"data-loc":"client/src/pages/Privacy.tsx:75",className:"bg-[#003366]/5",children:v.jsxs("tr",{"data-loc":"client/src/pages/Privacy.tsx:76",children:[v.jsx("th",{"data-loc":"client/src/pages/Privacy.tsx:77",className:"text-left p-3 font-semibold text-[#003366]",children:"Dato"}),v.jsx("th",{"data-loc":"client/src/pages/Privacy.tsx:78",className:"text-left p-3 font-semibold text-[#003366]",children:"Obbligatorio"}),v.jsx("th",{"data-loc":"client/src/pages/Privacy.tsx:79",className:"text-left p-3 font-semibold text-[#003366]",children:"Finalità "})]})}),v.jsxs("tbody",{"data-loc":"client/src/pages/Privacy.tsx:82",children:[v.jsxs("tr",{"data-loc":"client/src/pages/Privacy.tsx:83",className:"border-t border-border",children:[v.jsx("td",{"data-loc":"client/src/pages/Privacy.tsx:84",className:"p-3",children:"Nome e Cognome"}),v.jsx("td",{"data-loc":"client/src/pages/Privacy.tsx:85",className:"p-3",children:"Sì"}),v.jsx("td",{"data-loc":"client/src/pages/Privacy.tsx:86",className:"p-3",children:"Identificazione dell'interessato"})]}),v.jsxs("tr",{"data-loc":"client/src/pages/Privacy.tsx:88",className:"border-t border-border bg-[#003366]/[0.02]",children:[v.jsx("td",{"data-loc":"client/src/pages/Privacy.tsx:89",className:"p-3",children:"Email"}),v.jsx("td",{"data-loc":"client/src/pages/Privacy.tsx:90",className:"p-3",children:"Sì"}),v.jsx("td",{"data-loc":"client/src/pages/Privacy.tsx:91",className:"p-3",children:"Risposta alla richiesta"})]}),v.jsxs("tr",{"data-loc":"client/src/pages/Privacy.tsx:93",className:"border-t border-border",children:[v.jsx("td",{"data-loc":"client/src/pages/Privacy.tsx:94",className:"p-3",children:"Telefono"}),v.jsx("td",{"data-loc":"client/src/pages/Privacy.tsx:95",className:"p-3",children:"No"}),v.jsx("td",{"data-loc":"client/src/pages/Privacy.tsx:96",className:"p-3",children:"Contatto telefonico (se preferito)"})]}),v.jsxs("tr",{"data-loc":"client/src/pages/Privacy.tsx:98",className:"border-t border-border bg-[#003366]/[0.02]",children:[v.jsx("td",{"data-loc":"client/src/pages/Privacy.tsx:99",className:"p-3",children:"Azienda"}),v.jsx("td",{"data-loc":"client/src/pages/Privacy.tsx:100",className:"p-3",children:"No"}),v.jsx("td",{"data-loc":"client/src/pages/Privacy.tsx:101",className:"p-3",children:"Contestualizzazione della richiesta"})]}),v.jsxs("tr",{"data-loc":"client/src/pages/Privacy.tsx:103",className:"border-t border-border",children:[v.jsx("td",{"data-loc":"client/src/pages/Privacy.tsx:104",className:"p-3",children:"Messaggio"}),v.jsx("td",{"data-loc":"client/src/pages/Privacy.tsx:105",className:"p-3",children:"Sì"}),v.jsx("td",{"data-loc":"client/src/pages/Privacy.tsx:106",className:"p-3",children:"Comprensione delle esigenze"})]})]})]})})]}),v.jsxs("section",{"data-loc":"client/src/pages/Privacy.tsx:113",children:[v.jsx("h2",{"data-loc":"client/src/pages/Privacy.tsx:114",className:"text-xl font-bold text-[#003366] mb-4",children:"4. Periodo di Conservazione"}),v.jsxs("p",{"data-loc":"client/src/pages/Privacy.tsx:115",className:"leading-relaxed",children:["I dati personali raccolti tramite il modulo di contatto saranno conservati per un periodo massimo di ",v.jsx("strong",{"data-loc":"client/src/pages/Privacy.tsx:117",children:"24 mesi"})," dalla data di raccolta, salvo diversa richiesta dell'interessato. Al termine di tale periodo, i dati saranno cancellati o anonimizzati."]}),v.jsx("p",{"data-loc":"client/src/pages/Privacy.tsx:120",className:"leading-relaxed mt-2",children:"I dati trattati per finalità di marketing diretto saranno conservati fino alla revoca del consenso da parte dell'interessato."})]}),v.jsxs("section",{"data-loc":"client/src/pages/Privacy.tsx:126",children:[v.jsx("h2",{"data-loc":"client/src/pages/Privacy.tsx:127",className:"text-xl font-bold text-[#003366] mb-4",children:"5. Destinatari dei Dati"}),v.jsx("p",{"data-loc":"client/src/pages/Privacy.tsx:128",className:"leading-relaxed",children:"I dati personali potranno essere comunicati a:"}),v.jsxs("ul",{"data-loc":"client/src/pages/Privacy.tsx:131",className:"mt-3 space-y-2 text-sm",children:[v.jsxs("li",{"data-loc":"client/src/pages/Privacy.tsx:132",className:"flex items-start gap-2",children:[v.jsx("span",{"data-loc":"client/src/pages/Privacy.tsx:133",className:"text-[#00C853] mt-1",children:"â¢"}),v.jsx("span",{"data-loc":"client/src/pages/Privacy.tsx:134",children:"Personale autorizzato del Titolare per la gestione delle richieste commerciali"})]}),v.jsxs("li",{"data-loc":"client/src/pages/Privacy.tsx:136",className:"flex items-start gap-2",children:[v.jsx("span",{"data-loc":"client/src/pages/Privacy.tsx:137",className:"text-[#00C853] mt-1",children:"â¢"}),v.jsx("span",{"data-loc":"client/src/pages/Privacy.tsx:138",children:"Fornitori di servizi IT per l'hosting e la manutenzione del sito (responsabili del trattamento ex Art. 28 GDPR)"})]}),v.jsxs("li",{"data-loc":"client/src/pages/Privacy.tsx:140",className:"flex items-start gap-2",children:[v.jsx("span",{"data-loc":"client/src/pages/Privacy.tsx:141",className:"text-[#00C853] mt-1",children:"â¢"}),v.jsx("span",{"data-loc":"client/src/pages/Privacy.tsx:142",children:"Panduit Corp. o suoi distributori autorizzati, limitatamente alle richieste tecniche specifiche sul prodotto RapidID"})]})]}),v.jsx("p",{"data-loc":"client/src/pages/Privacy.tsx:145",className:"leading-relaxed mt-3",children:"I dati non saranno diffusi né trasferiti a paesi terzi al di fuori dello Spazio Economico Europeo senza adeguate garanzie ai sensi degli Artt. 44-49 del GDPR."})]}),v.jsxs("section",{"data-loc":"client/src/pages/Privacy.tsx:151",children:[v.jsx("h2",{"data-loc":"client/src/pages/Privacy.tsx:152",className:"text-xl font-bold text-[#003366] mb-4",children:"6. Diritti dell'Interessato"}),v.jsx("p",{"data-loc":"client/src/pages/Privacy.tsx:153",className:"leading-relaxed",children:"Ai sensi degli Artt. 15-22 del Regolamento UE 2016/679, l'interessato ha diritto di:"}),v.jsxs("ul",{"data-loc":"client/src/pages/Privacy.tsx:156",className:"mt-3 space-y-2 text-sm",children:[v.jsxs("li",{"data-loc":"client/src/pages/Privacy.tsx:157",className:"flex items-start gap-2",children:[v.jsx("span",{"data-loc":"client/src/pages/Privacy.tsx:158",className:"text-[#00C853] mt-1",children:"â¢"}),v.jsxs("span",{"data-loc":"client/src/pages/Privacy.tsx:159",children:[v.jsx("strong",{"data-loc":"client/src/pages/Privacy.tsx:159",children:"Accesso"})," â ottenere conferma dell'esistenza di un trattamento e accedere ai propri dati"]})]}),v.jsxs("li",{"data-loc":"client/src/pages/Privacy.tsx:161",className:"flex items-start gap-2",children:[v.jsx("span",{"data-loc":"client/src/pages/Privacy.tsx:162",className:"text-[#00C853] mt-1",children:"â¢"}),v.jsxs("span",{"data-loc":"client/src/pages/Privacy.tsx:163",children:[v.jsx("strong",{"data-loc":"client/src/pages/Privacy.tsx:163",children:"Rettifica"})," â ottenere la correzione di dati inesatti o l'integrazione di dati incompleti"]})]}),v.jsxs("li",{"data-loc":"client/src/pages/Privacy.tsx:165",className:"flex items-start gap-2",children:[v.jsx("span",{"data-loc":"client/src/pages/Privacy.tsx:166",className:"text-[#00C853] mt-1",children:"â¢"}),v.jsxs("span",{"data-loc":"client/src/pages/Privacy.tsx:167",children:[v.jsx("strong",{"data-loc":"client/src/pages/Privacy.tsx:167",children:"Cancellazione"})," â ottenere la cancellazione dei dati (diritto all'oblio)"]}
187)]}),v.jsxs("li",{"data-loc":"client/src/pages/Privacy.tsx:169",className:"flex items-start gap-2",children:[v.jsx("span",{"data-loc":"client/src/pages/Privacy.tsx:170",className:"text-[#00C853] mt-1",children:"â¢"}),v.jsxs("span",{"data-loc":"client/src/pages/Privacy.tsx:171",children:[v.jsx("strong",{"data-loc":"client/src/pages/Privacy.tsx:171",children:"Limitazione"})," â ottenere la limitazione del trattamento"]})]}),v.jsxs("li",{"data-loc":"client/src/pages/Privacy.tsx:173",className:"flex items-start gap-2",children:[v.jsx("span",{"data-loc":"client/src/pages/Privacy.tsx:174",className:"text-[#00C853] mt-1",children:"â¢"}),v.jsxs("span",{"data-loc":"client/src/pages/Privacy.tsx:175",children:[v.jsx("strong",{"data-loc":"client/src/pages/Privacy.tsx:175",children:"Portabilità "})," â ricevere i dati in formato strutturato e leggibile da dispositivo automatico"]})]}),v.jsxs("li",{"data-loc":"client/src/pages/Privacy.tsx:177",className:"flex items-start gap-2",children:[v.jsx("span",{"data-loc":"client/src/pages/Privacy.tsx:178",className:"text-[#00C853] mt-1",children:"â¢"}),v.jsxs("span",{"data-loc":"client/src/pages/Privacy.tsx:179",children:[v.jsx("strong",{"data-loc":"client/src/pages/Privacy.tsx:179",children:"Opposizione"})," â opporsi al trattamento per motivi legittimi"]})]}),v.jsxs("li",{"data-loc":"client/src/pages/Privacy.tsx:181",className:"flex items-start gap-2",children:[v.jsx("span",{"data-loc":"client/src/pages/Privacy.tsx:182",className:"text-[#00C853] mt-1",children:"â¢"}),v.jsxs("span",{"data-loc":"client/src/pages/Privacy.tsx:183",children:[v.jsx("strong",{"data-loc":"client/src/pages/Privacy.tsx:183",children:"Revoca del consenso"})," â revocare in qualsiasi momento il consenso prestato"]})]})]}),v.jsxs("p",{"data-loc":"client/src/pages/Privacy.tsx:186",className:"leading-relaxed mt-4",children:["Per esercitare i propri diritti, l'interessato può contattare il Titolare tramite il sito"," ",v.jsx("a",{"data-loc":"client/src/pages/Privacy.tsx:188",href:"https://www.cablaggiointelligente.net",target:"_blank",rel:"noopener noreferrer",className:"text-[#003366] underline hover:text-[#00C853]",children:"www.cablaggiointelligente.net"}),"."]}),v.jsxs("p",{"data-loc":"client/src/pages/Privacy.tsx:192",className:"leading-relaxed mt-2",children:["L'interessato ha inoltre il diritto di proporre reclamo all'Autorità Garante per la Protezione dei Dati Personali (",v.jsx("a",{"data-loc":"client/src/pages/Privacy.tsx:195",href:"https://www.garanteprivacy.it",target:"_blank",rel:"noopener noreferrer",className:"text-[#003366] underline hover:text-[#00C853]",children:"www.garanteprivacy.it"}),")."]})]}),v.jsxs("section",{"data-loc":"client/src/pages/Privacy.tsx:202",children:[v.jsx("h2",{"data-loc":"client/src/pages/Privacy.tsx:203",className:"text-xl font-bold text-[#003366] mb-4",children:"7. Cookie e Tecnologie di Tracciamento"}),v.jsx("p",{"data-loc":"client/src/pages/Privacy.tsx:204",className:"leading-relaxed",children:"Questo sito utilizza esclusivamente cookie tecnici necessari al funzionamento del sito e strumenti di analisi statistica anonima (Umami Analytics) che non raccolgono dati personali identificativi e non richiedono il consenso dell'utente ai sensi delle Linee Guida del Garante Privacy italiano sui cookie (provvedimento del 10 giugno 2021)."}),v.jsx("p",{"data-loc":"client/src/pages/Privacy.tsx:210",className:"leading-relaxed mt-2",children:"Non vengono utilizzati cookie di profilazione o di terze parti per finalità pubblicitarie."})]}),v.jsxs("section",{"data-loc":"client/src/pages/Privacy.tsx:215",children:[v.jsx("h2",{"data-loc":"client/src/pages/Privacy.tsx:216",className:"text-xl font-bold text-[#003366] mb-4",children:"8. Sicurezza dei Dati"}),v.jsx("p",{"data-loc":"client/src/pages/Privacy.tsx:217",className:"leading-relaxed",children:"Il Titolare adotta misure tecniche e organizzative adeguate per garantire un livello di sicurezza appropriato al rischio, incluse la cifratura dei dati in transito (HTTPS/TLS), il controllo degli accessi e la protezione contro accessi non autorizzati."})]}),v.jsxs("section",{"data-loc":"client/src/pages/Privacy.tsx:224",children:[v.jsx("h2",{"data-loc":"client/src/pages/Privacy.tsx:225",className:"text-xl font-bold text-[#003366] mb-4",children:"9. Modifiche alla Privacy Policy"}),v.jsx("p",{"data-loc":"client/src/pages/Privacy.tsx:226",className:"leading-relaxed",children:"Il Titolare si riserva il diritto di modificare la presente informativa in qualsiasi momento. Le modifiche saranno pubblicate su questa pagina con indicazione della data di ultimo aggiornamento. Si consiglia di consultare periodicamente questa pagina."})]}),v.jsxs("section",{"data-loc":"client/src/pages/Privacy.tsx:233",className:"border-t border-border pt-8 mt-8",children:[v.jsx("p",{"data-loc":"client/src/pages/Privacy.tsx:234",className:"text-sm text-foreground
187/50",children:"Informativa resa ai sensi degli Artt. 13-14 del Regolamento UE 2016/679 (GDPR) e della normativa italiana in materia di protezione dei dati personali (D.Lgs. 196/2003 e s.m.i.)."}),v.jsxs("p",{"data-loc":"client/src/pages/Privacy.tsx:238",className:"text-sm text-foreground/50 mt-2",children:["Per la privacy policy completa di Cablaggiointelligente.net, visita:"," ",v.jsx("a",{"data-loc":"client/src/pages/Privacy.tsx:240",href:"https://www.cablaggiointelligente.net",target:"_blank",rel:"noopener noreferrer",className:"text-[#003366] underline",children:"www.cablaggiointelligente.net"})]})]})]})}),v.jsx("footer",{"data-loc":"client/src/pages/Privacy.tsx:249",className:"bg-[#0D0D1A] text-white/50 py-8",children:v.jsxs("div",{"data-loc":"client/src/pages/Privacy.tsx:250",className:"container text-center",children:[v.jsx("p",{"data-loc":"client/src/pages/Privacy.tsx:251",className:"text-xs",children:"© 2024-2026 Cablaggiointelligente.net â Decker & Decker di Massimo Decker"}),v.jsx("p",{"data-loc":"client/src/pages/Privacy.tsx:254",className:"text-xs mt-2",children:v.jsx("a",{"data-loc":"client/src/pages/Privacy.tsx:255",href:"/",className:"hover:text-white transition-colors",children:"Torna alla Home"})})]})})]})}function J_(){return v.jsxs(uM,{"data-loc":"client/src/App.tsx:13",children:[v.jsx(lc,{"data-loc":"client/src/App.tsx:14",path:"/",component:Z_}),v.jsx(lc,{"data-loc":"client/src/App.tsx:15",path:"/privacy",component:$_}),v.jsx(lc,{"data-loc":"client/src/App.tsx:16",path:"/404",component:B0}),v.jsx(lc,{"data-loc":"client/src/App.tsx:18",component:B0})]})}function W_(){return v.jsx(fM,{"data-loc":"client/src/App.tsx:30",children:v.jsx(hM,{"data-loc":"client/src/App.tsx:31",defaultTheme:"light",children:v.jsxs(yN,{"data-loc":"client/src/App.tsx:35",children:[v.jsx(j3,{"data-loc":"client/src/App.tsx:36"}),v.jsx(J_,{"data-loc":"client/src/App.tsx:37"})]})})})}const Mc=new OE,Lw=t=>{!(t instanceof Ys)||typeof window>"u"||!(t.message===uC)||(window.location.href=sS())};Mc.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)}});Mc.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 t5=Qs.createClient({links:[UA({url:"/api/trpc",transformer:ba,fetch(t,n){return globalThis.fetch(t,{...n??{},credentials:"include"})}})]});gC.createRoot(document.getElementById("root")).render(v.jsx(Qs.Provider,{"data-loc":"client/src/main.tsx:56",client:t5,queryClient:Mc,children:v.jsx(NE,{"data-loc":"client/src/main.tsx:57",client:Mc,children:v.jsx(W_,{"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.