PageSourceSearch

https://smilecare-7dbd83hv.manus.space/assets/index-C9qdJ7WU.js

js smilecare-7dbd83hv.manus.space collected 2026-10-03 05:04:55 UTC 579,599 bytes, 263 lines download raw bytes

vendor: 28,890 bytes, lines 1-10
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/HowItWorks-0uuA0Htt.js","assets/brain-circuit-BQKfPTaY.js","assets/WhyUs-BrnWD6oj.js","assets/sparkles-C7s02wCg.js","assets/Testimonials-oWXOOzMv.js","assets/Contact-cK1D-F3E.js","assets/mail-CV6orZKl.js","assets/Careers-HhHAA5S9.js","assets/file-text-C_Oid2je.js","assets/Blog-IE1IdoEN.js","assets/blogPosts-DN3VFIO0.js","assets/BlogArticle-DhJgG3-y.js","assets/PrivacyPolicy-CexMK1k8.js","assets/Portal-BclobAI0.js","assets/message-square-COK0VGeg.js","assets/ConsultationPage-Dfo8qV3K.js","assets/AdminLogin-BoJ_0nST.js","assets/eye-BtzJtkTj.js","assets/AdminCompanions-CLDUVzbX.js","assets/useAuth-D6_KNesj.js","assets/save-8H2DM7r7.js","assets/ApplicationReview-BBHEQ7d8.js","assets/AdminEmailTemplates-CZA3ZSoU.js"])))=>i.map(i=>d[i]);
2function p1(n,s){for(var o=0;o<s.length;o++){const l=s[o];if(typeof l!="string"&&!Array.isArray(l)){for(const c in l)if(c!=="default"&&!(c in n)){const f=Object.getOwnPropertyDescriptor(l,c);f&&Object.defineProperty(n,c,f.get?f:{enumerable:!0,get:()=>l[c]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))l(c);new MutationObserver(c=>{for(const f of c)if(f.type==="childList")for(const m of f.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&l(m)}).observe(document,{childList:!0,subtree:!0});function o(c){const f={};return c.integrity&&(f.integrity=c.integrity),c.referrerPolicy&&(f.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?f.credentials="include":c.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function l(c){if(c.ep)return;c.ep=!0;const f=o(c);fetch(c.href,f)}})();function Ly(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var cd={exports:{}},Ao={};/**
3 * @license React
4 * react-jsx-runtime.production.js
5 *
6 * Copyright (c) Meta Platforms, Inc. and affiliates.
7 *
8 * This source code is licensed under the MIT license found in the
9 * LICENSE file in the root directory of this source tree.
10 */var vg;function g1(){if(vg)return Ao;vg=1;var n=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function o(l,c,f){var m=null;if(f!==void 0&&(m=""+f),c.key!==void 0&&(m=""+c.key),"key"in c){f={};for(var h in c)h!=="key"&&(f[h]=c[h])}else f=c;return c=f.ref,{$$typeof:n,type:l,key:m,ref:c!==void 0?c:null,props:f}}return Ao.Fragment=s,Ao.jsx=o,Ao.jsxs=o,Ao}var xg;function y1(){return xg||(xg=1,cd.exports=g1()),cd.exports}var d=y1(),Es=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(n){return this.listeners.add(n),this.onSubscribe(),()=>{this.listeners.delete(n),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},v1={setTimeout:(n,s)=>setTimeout(n,s),clearTimeout:n=>clearTimeout(n),setInterval:(n,s)=>setInterval(n,s),clearInterval:n=>clearInterval(n)},x1=class{#t=v1;#e=!1;setTimeoutProvider(n){this.#t=n}setTimeout(n,s){return this.#t.setTimeout(n,s)}clearTimeout(n){this.#t.clearTimeout(n)}setInterval(n,s){return this.#t.setInterval(n,s)}clearInterval(n){this.#t.clearInterval(n)}},vs=new x1;function b1(n){setTimeout(n,0)}var xs=typeof window>"u"||"Deno"in globalThis;function wt(){}function w1(n,s){return typeof n=="function"?n(s):n}function Nd(n){return typeof n=="number"&&n>=0&&n!==1/0}function Hy(n,s){return Math.max(n+(s||0)-Date.now(),0)}function Ba(n,s){return typeof n=="function"?n(s):n}function rn(n,s){return typeof n=="function"?n(s):n}function bg(n,s){const{type:o="all",exact:l,fetchStatus:c,predicate:f,queryKey:m,stale:h}=n;if(m){if(l){if(s.queryHash!==af(m,s.options))return!1}else if(!Ro(s.queryKey,m))return!1}if(o!=="all"){const p=s.isActive();if(o==="active"&&!p||o==="inactive"&&p)return!1}return!(typeof h=="boolean"&&s.isStale()!==h||c&&c!==s.state.fetchStatus||f&&!f(s))}function wg(n,s){const{exact:o,status:l,predicate:c,mutationKey:f}=n;if(f){if(!s.options.mutationKey)return!1;if(o){if(Ua(s.options.mutationKey)!==Ua(f))return!1}else if(!Ro(s.options.mutationKey,f))return!1}return!(l&&s.state.status!==l||c&&!c(s))}function af(n,s){return(s?.queryKeyHashFn||Ua)(n)}function Ua(n){return JSON.stringify(n,(s,o)=>_d(o)?Object.keys(o).sort().reduce((l,c)=>(l[c]=o[c],l),{}):o)}function Ro(n,s){return n===s?!0:typeof n!=typeof s?!1:n&&s&&typeof n=="object"&&typeof s=="object"?Object.keys(s).every(o=>Ro(n[o],s[o])):!1}var C1=Object.prototype.hasOwnProperty;function sf(n,s){if(n===s)return n;const o=Cg(n)&&Cg(s);if(!o&&!(_d(n)&&_d(s)))return s;const c=(o?n:Object.keys(n)).length,f=o?s:Object.keys(s),m=f.length,h=o?new Array(m):{};let p=0;for(let v=0;v<m;v++){const x=o?v:f[v],g=n[x],w=s[x];if(g===w){h[x]=g,(o?v<c:C1.call(n,x))&&p++;continue}if(g===null||w===null||typeof g!="object"||typeof w!="object"){h[x]=w;continue}const S=sf(g,w);h[x]=S,S===g&&p++}return c===m&&p===c?n:h}function Do(n,s){if(!s||Object.keys(n).length!==Object.keys(s).length)return!1;for(const o in n)if(n[o]!==s[o])return!1;return!0}function Cg(n){return Array.isArray(n)&&n.length===Object.keys(n).length}function _d(n){if(!Sg(n))return!1;const s=n.constructor;if(s===void 0)return!0;const o=s.prototype;return!(!Sg(o)||!o.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(n)!==Object.prototype)}function Sg(n){return Object.prototype.toString.call(n)==="[object Object]"}function S1(n){return new Promise(s=>{vs.setTimeout(s,n)})}function Od(n,s,o){return typeof o.structuralSharing=="function"?o.structuralSharing(n,s):o.structuralSharing!==!1?sf(n,s):s}function E1(n,s,o=0){const l=[...n,s];return o&&l.length>o?l.slice(1):l}function j1(n,s,o=0){const l=[s,...n];return o&&l.length>o?l.slice(0,-1):l}var Zt=Symbol();function By(n,s){return!n.queryFn&&s?.initialPromise?()=>s.initialPromise:!n.queryFn||n.queryFn===Zt?()=>Promise.reject(new Error(`Missing queryFn: '${n.queryHash}'`)):n.queryFn}function Uy(n,s){return typeof n=="function"?n(...s):!!n}var A1=class extends Es{#t;#e;#n;constructor(){super(),this.#n=n=>{if(!xs&&window.addEventListener){const s=()=>n();return window.addEventListener("visibilitychange",s,!1),()=>{window.removeEventListener("visibilitychange",s)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(n){this.#n=n,this.#e?.(),this.#e=n(s=>{typeof s=="boolean"?this.setFocused(s):this.onFocus()})}setFocused(n){this.#t!==n&&(this.#t=n,this.onFocus())}onFocus(){const n=this.isFocused();this.listeners.forEach(s=>{s(n)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},of=new A1;function Td(){let n,s;const o=new Promise((c,f)=>{n=c,s=f});o.status="pending",o.catch(()=>{});function l(c){Object.assign(o,c),delete o.resolve,delete o.reject}return o.resolve=c=>{l({status:"fulfilled",value:c}),n(c)},o.reject=c=>{l({status:"rejected",reason:c}),s(c)},o}var N1=b1;function _1(){let n=[],s=0,o=h=>{h()},l=h=>{h()},c=N1;const f=h=>{s?n.push(h):c(()=>{o(h)})},m=()=>{const h=n;n=[],h.length&&c(()=>{l(()=>{h.forEach(p=>{o(p)})})})};return{batch:h=>{let p;s++;try{p=h()}finally{s--,s||m()}return p},batchCalls:h=>(...p)=>{f(()=>{h(...p)})},schedule:f,setNotifyFunction:h=>{o=h},setBatchNotifyFunction:h=>{l=h},setScheduler:h=>{c=h}}}var We=_1(),O1=class extends Es{#t=!0;#e;#n;constructor(){super(),this.#n=n=>{if(!xs&&window.addEventListener){const s=()=>n(!0),o=()=>n(!1);return window.addEventListener("online",s,!1),window.addEventListener("offline",o,!1),()=>{window.removeEventListener("online",s),window.removeEventListener("offline",o)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(n){this.#n=n,this.#e?.(),this.#e=n(this.setOnline.bind(this))}setOnline(n){this.#t!==n&&(this.#t=n,this.listeners.forEach(o=>{o(n)}))}isOnline(){return this.#t}},Sr=new O1;function T1(n){return Math.min(1e3*2**n,3e4)}function Py(n){return(n??"online")==="online"?Sr.isOnline():!0}var Md=class extends Error{constructor(n){super("CancelledError"),this.revert=n?.revert,this.silent=n?.silent}};function Fy(n){let s=!1,o=0,l;const c=Td(),f=()=>c.status!=="pending",m=A=>{if(!f()){const H=new Md(A);w(H),n.onCancel?.(H)}},h=()=>{s=!0},p=()=>{s=!1},v=()=>of.isFocused()&&(n.networkMode==="always"||Sr.isOnline())&&n.canRun(),x=()=>Py(n.networkMode)&&n.canRun(),g=A=>{f()||(l?.(),c.resolve(A))},w=A=>{f()||(l?.(),c.reject(A))},S=()=>new Promise(A=>{l=H=>{(f()||v())&&A(H)},n.onPause?.()}).then(()=>{l=void 0,f()||n.onContinue?.()}),N=()=>{if(f())return;let A;const H=o===0?n.initialPromise:void 0;try{A=H??n.fn()}catch(P){A=Promise.reject(P)}Promise.resolve(A).then(g).catch(P=>{if(f())return;const Z=n.retry??(xs?0:3),$=n.retryDelay??T1,ne=typeof $=="function"?$(o,P):$,V=Z===!0||typeof Z=="number"&&o<Z||typeof Z=="function"&&Z(o,P);if(s||!V){w(P);return}o++,n.onFail?.(o,P),S1(ne).then(()=>v()?void 0:S()).then(()=>{s?w(P):N()})})};return{promise:c,status:()=>c.status,cancel:m,continue:()=>(l?.(),c),cancelRetry:h,continueRetry:p,canStart:x,start:()=>(x()?N():S().then(N),c)}}var qy=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Nd(this.gcTime)&&(this.#t=vs.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(n){this.gcTime=Math.max(this.gcTime||0,n??(xs?1/0:300*1e3))}clearGcTimeout(){this.#t&&(vs.clearTimeout(this.#t),this.#t=void 0)}},M1=class extends qy{#t;#e;#n;#s;#a;#i;#l;constructor(n){super(),this.#l=!1,this.#i=n.defaultOptions,this.setOptions(n.options),this.observers=[],this.#s=n.client,this.#n=this.#s.getQueryCache(),this.queryKey=n.queryKey,this.queryHash=n.queryHash,this.#t=Eg(this.options),this.state=n.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#a?.promise}setOptions(n){if(this.options={...this.#i,...n},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const s=Eg(this.options);s.data!==void 0&&(this.setData(s.data,{updatedAt:s.dataUpdatedAt,manual:!0}),this.#t=s)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(n,s){const o=Od(this.state.data,n,this.options);return this.#o({data:o,type:"success",dataUpdatedAt:s?.updatedAt,manual:s?.manual}),o}setState(n,s){this.#o({type:"setState",state:n,setStateOptions:s})}cancel(n){const s=this.#a?.promise;return this.#a?.cancel(n),s?s.then(wt).catch(wt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#t)}isActive(){return this.observers.some(n=>rn(n.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Zt||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(n=>Ba(n.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(n=>n.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(n=0){return this.state.data===void 0?!0:n==="static"?!1:this.state.isInvalidated?!0:!Hy(this.state.dataUpdatedAt,n)}onFocus(){this.observers.find(s=>s.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(s=>s.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(n){this.observers.includes(n)||(this.observers.push(n),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:n}))}removeObserver(n){this.observers.includes(n)&&(this.observers=this.observers.filter(s=>s!==n),this.observers.length||(this.#a&&(this.#l?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:n}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}async fetch(n,s){if(this.state.fetchStatus!=="idle"&&this.#a?.status()!=="rejected"){if(this.state.data!==void 0&&s?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(n&&this.setOptions(n),!this.options.queryFn){const h=this.observers.find(p=>p.options.queryFn);h&&this.setOptions(h.options)}const o=new AbortController,l=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(this.#l=!0,o.signal)})},c=()=>{const h=By(this.options,s),v=(()=>{const x={client:this.#s,queryKey:this.queryKey,meta:this.meta};return l(x),x})();return this.#l=!1,this.options.persister?this.options.persister(h,v,this):h(v)},m=(()=>{const h={fetchOptions:s,options:this.options,queryKey:this.queryKey,client:this.#s,state:this.state,fetchFn:c};return l(h),h})();this.options.behavior?.onFetch(m,this),this.#e=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==m.fetchOptions?.meta)&&this.#o({type:"fetch",meta:m.fetchOptions?.meta}),this.#a=Fy({initialPromise:s?.initialPromise,fn:m.fetchFn,onCancel:h=>{h instanceof Md&&h.revert&&this.setState({...this.#e,fetchStatus:"idle"}),o.abort()},onFail:(h,p)=>{this.#o({type:"failed",failureCount:h,error:p})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:m.options.retry,retryDelay:m.options.retryDelay,networkMode:m.options.networkMode,canRun:()=>!0});try{const h=await this.#a.start();if(h===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(h),this.#n.config.onSuccess?.(h,this),this.#n.config.onSettled?.(h,this.state.error,this),h}catch(h){if(h instanceof Md){if(h.silent)return this.#a.promise;if(h.revert){if(this.state.data===void 0)throw h;return this.state.data}}throw this.#o({type:"error",error:h}),this.#n.config.onError?.(h,this),this.#n.config.onSettled?.(this.state.data,h,this),h}finally{this.scheduleGc()}}#o(n){const s=o=>{switch(n.type){case"failed":return{...o,fetchFailureCount:n.failureCount,fetchFailureReason:n.error};case"pause":return{...o,fetchStatus:"paused"};case"continue":return{...o,fetchStatus:"fetching"};case"fetch":return{...o,...Qy(o.data,this.options),fetchMeta:n.meta??null};case"success":const l={...o,data:n.data,dataUpdateCount:o.dataUpdateCount+1,dataUpdatedAt:n.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!n.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#e=n.manual?l:void 0,l;case"error":const c=n.error;return{...o,error:c,errorUpdateCount:o.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:o.fetchFailureCount+1,fetchFailureReason:c,fetchStatus:"idle",status:"error"};case"invalidate":return{...o,isInvalidated:!0};case"setState":return{...o,...n.state}}};this.state=s(this.state),We.batch(()=>{this.observers.forEach(o=>{o.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:n})})}};function Qy(n,s){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Py(s.networkMode)?"fetching":"paused",...n===void 0&&{error:null,status:"pending"}}}function Eg(n){const s=typeof n.initialData=="function"?n.initialData():n.initialData,o=s!==void 0,l=o?typeof n.initialDataUpdatedAt=="function"?n.initialDataUpdatedAt():n.initialDataUpdatedAt:0;return{data:s,dataUpdateCount:0,dataUpdatedAt:o?l??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:o?"success":"pending",fetchStatus:"idle"}}var qo=class extends Es{constructor(n,s){super(),this.options=s,this.#t=n,this.#o=null,this.#l=Td(),this.bindMethods(),this.setOptions(s)}#t;#e=void 0;#n=void 0;#s=void 0;#a;#i;#l;#o;#m;#d;#f;#c;#u;#r;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),jg(this.#e,this.options)?this.#h():this.updateResult(),this.#x())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Rd(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Rd(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#w(),this.#e.removeObserver(this)}setOptions(n){const s=this.options,o=this.#e;if(this.options=this.#t.defaultQueryOptions(n),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof rn(this.options.enabled,this.#e)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#C(),this.#e.setOptions(this.options),s._defaulted&&!Do(this.options,s)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const l=this.hasListeners();l&&Ag(this.#e,o,this.options,s)&&this.#h(),this.updateResult(),l&&(this.#e!==o||rn(this.options.enabled,this.#e)!==rn(s.enabled,this.#e)||Ba(this.options.staleTime,this.#e)!==Ba(s.staleTime,this.#e))&&this.#g();const c=this.#y();l&&(this.#e!==o||rn(this.options.enabled,this.#e)!==rn(s.enabled,this.#e)||c!==this.#r)&&this.#v(c)}getOptimisticResult(n){const s=this.#t.getQueryCache().build(this.#t,n),o=this.createResult(s,n);return D1(this,o)&&(this.#s=o,this.#i=this.options,this.#a=this.#e.state),o}getCurrentResult(){return this.#s}trackResult(n,s){return new Proxy(n,{get:(o,l)=>(this.trackProp(l),s?.(l),l==="promise"&&!this.options.experimental_prefetchInRender&&this.#l.status==="pending"&&this.#l.reject(new Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(o,l))})}trackProp(n){this.#p.add(n)}getCurrentQuery(){return this.#e}refetch({...n}={}){return this.fetch({...n})}fetchOptimistic(n){const s=this.#t.defaultQueryOptions(n),o=this.#t.getQueryCache().build(this.#t,s);return o.fetch().then(()=>this.createResult(o,s))}fetch(n){return this.#h({...n,cancelRefetch:n.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#s))}#h(n){this.#C();let s=this.#e.fetch(this.options,n);return n?.throwOnError||(s=s.catch(wt)),s}#g(){this.#b();const n=Ba(this.options.staleTime,this.#e);if(xs||this.#s.isStale||!Nd(n))return;const o=Hy(this.#s.dataUpdatedAt,n)+1;this.#c=vs.setTimeout(()=>{this.#s.isStale||this.updateResult()},o)}#y(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#v(n){this.#w(),this.#r=n,!(xs||rn(this.options.enabled,this.#e)===!1||!Nd(this.#r)||this.#r===0)&&(this.#u=vs.setInterval(()=>{(this.options.refetchIntervalInBackground||of.isFocused())&&this.#h()},this.#r))}#x(){this.#g(),this.#v(this.#y())}#b(){this.#c&&(vs.clearTimeout(this.#c),this.#c=void 0)}#w(){this.#u&&(vs.clearInterval(this.#u),this.#u=void 0)}createResult(n,s){const o=this.#e,l=this.options,c=this.#s,f=this.#a,m=this.#i,p=n!==o?n.state:this.#n,{state:v}=n;let x={...v},g=!1,w;if(s._optimisticResults){const B=this.hasListeners(),J=!B&&jg(n,s),I=B&&Ag(n,o,s,l);(J||I)&&(x={...x,...Qy(v.data,n.options)}),s._optimisticResults==="isRestoring"&&(x.fetchStatus="idle")}let{error:S,errorUpdatedAt:N,status:A}=x;w=x.data;let H=!1;if(s.placeholderData!==void 0&&w===void 0&&A==="pending"){let B;c?.isPlaceholderData&&s.placeholderData===m?.placeholderData?(B=c.data,H=!0):B=typeof s.placeholderData=="function"?s.placeholderData(this.#f?.state.data,this.#f):s.placeholderData,B!==void 0&&(A="success",w=Od(c?.data,B,s),g=!0)}if(s.select&&w!==void 0&&!H)if(c&&w===f?.data&&s.select===this.#m)w=this.#d;else try{this.#m=s.select,w=s.select(w),w=Od(c?.data,w,s),this.#d=w,this.#o=null}catch(B){this.#o=B}this.#o&&(S=this.#o,w=this.#d,N=Date.now(),A="error");const P=x.fetchStatus==="fetching",Z=A==="pending",$=A==="error",ne=Z&&P,V=w!==void 0,T={status:A,fetchStatus:x.fetchStatus,isPending:Z,isSuccess:A==="success",isError:$,isInitialLoading:ne,isLoading:ne,data:w,dataUpdatedAt:x.dataUpdatedAt,error:S,errorUpdatedAt:N,failureCount:x.fetchFailureCount,failureReason:x.fetchFailureReason,errorUpdateCount:x.errorUpdateCount,isFetched:x.dataUpdateCount>0||x.errorUpdateCount>0,isFetchedAfterMount:x.dataUpdateCount>p.dataUpdateCount||x.errorUpdateCount>p.errorUpdateCount,isFetching:P,isRefetching:P&&!Z,isLoadingError:$&&!V,isPaused:x.fetchStatus==="paused",isPlaceholderData:g,isRefetchError:$&&V,isStale:lf(n,s),refetch:this.refetch,promise:this.#l,isEnabled:rn(s.enabled,n)!==!1};if(this.options.experimental_prefetchInRender){const B=ae=>{T.status==="error"?ae.reject(T.error):T.data!==void 0&&ae.resolve(T.data)},J=()=>{const ae=this.#l=T.promise=Td();B(ae)},I=this.#l;switch(I.status){case"pending":n.queryHash===o.queryHash&&B(I);break;case"fulfilled":(T.status==="error"||T.data!==I.value)&&J();break;case"rejected":(T.status!=="error"||T.error!==I.reason)&&J();break}}return T}updateResult(){const n=this.#s,s=this.createResult(this.#e,this.options);if(this.#a=this.#e.state,this.#i=this.options,this.#a.data!==void 0&&(this.#f=this.#e),Do(s,n))return;this.#s=s;const o=()=>{if(!n)return!0;const{notifyOnChangeProps:l}=this.options,c=typeof l=="function"?l():l;if(c==="all"||!c&&!this.#p.size)return!0;const f=new Set(c??this.#p);return this.options.throwOnError&&f.add("error"),Object.keys(this.#s).some(m=>{const h=m;return this.#s[h]!==n[h]&&f.has(h)})};this.#S({listeners:o()})}#C(){const n=this.#t.getQueryCache().build(this.#t,this.options);if(n===this.#e)return;const s=this.#e;this.#e=n,this.#n=n.state,this.hasListeners()&&(s?.removeObserver(this),n.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#x()}#S(n){We.batch(()=>{n.listeners&&this.listeners.forEach(s=>{s(this.#s)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}};function R1(n,s){return rn(s.enabled,n)!==!1&&n.state.data===void 0&&!(n.state.status==="error"&&s.retryOnMount===!1)}function jg(n,s){return R1(n,s)||n.state.data!==void 0&&Rd(n,s,s.refetchOnMount)}function Rd(n,s,o){if(rn(s.enabled,n)!==!1&&Ba(s.staleTime,n)!=="static"){const l=typeof o=="function"?o(n):o;return l==="always"||l!==!1&&lf(n,s)}return!1}function Ag(n,s,o,l){return(n!==s||rn(l.enabled,n)===!1)&&(!o.suspense||n.state.status!=="error")&&lf(n,o)}function lf(n,s){return rn(s.enabled,n)!==!1&&n.isStaleByTime(Ba(s.staleTime,n))}function D1(n,s){return!Do(n.getCurrentResult(),s)}function Er(n){return{onFetch:(s,o)=>{const l=s.options,c=s.fetchOptions?.meta?.fetchMore?.direction,f=s.state.data?.pages||[],m=s.state.data?.pageParams||[];let h={pages:[],pageParams:[]},p=0;const v=async()=>{let x=!1;const g=N=>{Object.defineProperty(N,"signal",{enumerable:!0,get:()=>(s.signal.aborted?x=!0:s.signal.addEventListener("abort",()=>{x=!0}),s.signal)})},w=By(s.options,s.fetchOptions),S=async(N,A,H)=>{if(x)return Promise.reject();if(A==null&&N.pages.length)return Promise.resolve(N);const Z=(()=>{const K={client:s.client,queryKey:s.queryKey,pageParam:A,direction:H?"backward":"forward",meta:s.options.meta};return g(K),K})(),$=await w(Z),{maxPages:ne}=s.options,V=H?j1:E1;return{pages:V(N.pages,$,ne),pageParams:V(N.pageParams,A,ne)}};if(c&&f.length){const N=c==="backward",A=N?Yy:Dd,H={pages:f,pageParams:m},P=A(l,H);h=await S(H,P,N)}else{const N=n??f.length;do{const A=p===0?m[0]??l.initialPageParam:Dd(l,h);if(p>0&&A==null)break;h=await S(h,A),p++}while(p<N)}return h};s.options.persister?s.fetchFn=()=>s.options.persister?.(v,{client:s.client,queryKey:s.queryKey,meta:s.options.meta,signal:s.signal},o):s.fetchFn=v}}}function Dd(n,{pages:s,pageParams:o}){const l=s.length-1;return s.length>0?n.getNextPageParam(s[l],s,o[l],o):void 0}function Yy(n,{pages:s,pageParams:o}){return s.length>0?n.getPreviousPageParam?.(s[0],s,o[0],o):void 0}function k1(n,s){return s?Dd(n,s)!=null:!1}function z1(n,s){return!s||!n.getPreviousPageParam?!1:Yy(n,s)!=null}var Gy=class extends qo{constructor(n,s){super(n,s)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(n){super.setOptions({...n,behavior:Er()})}getOptimisticResult(n){return n.behavior=Er(),super.getOptimisticResult(n)}fetchNextPage(n){return this.fetch({...n,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(n){return this.fetch({...n,meta:{fetchMore:{direction:"backward"}}})}createResult(n,s){const{state:o}=n,l=super.createResult(n,s),{isFetching:c,isRefetching:f,isError:m,isRefetchError:h}=l,p=o.fetchMeta?.fetchMore?.direction,v=m&&p==="forward",x=c&&p==="forward",g=m&&p==="backward",w=c&&p==="backward";return{...l,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:k1(s,o.data),hasPreviousPage:z1(s,o.data),isFetchNextPageError:v,isFetchingNextPage:x,isFetchPreviousPageError:g,isFetchingPreviousPage:w,isRefetchError:h&&!v&&!g,isRefetching:f&&!x&&!w}}},L1=class extends qy{#t;#e;#n;#s;constructor(n){super(),this.#t=n.client,this.mutationId=n.mutationId,this.#n=n.mutationCache,this.#e=[],this.state=n.state||Vy(),this.setOptions(n.options),this.scheduleGc()}setOptions(n){this.options=n,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(n){this.#e.includes(n)||(this.#e.push(n),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:n}))}removeObserver(n){this.#e=this.#e.filter(s=>s!==n),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:n})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#s?.continue()??this.execute(this.state.variables)}async execute(n){const s=()=>{this.#a({type:"continue"})},o={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#s=Fy({fn:()=>this.options.mutationFn?this.options.mutationFn(n,o):Promise.reject(new Error("No mutationFn found")),onFail:(f,m)=>{this.#a({type:"failed",failureCount:f,error:m})},onPause:()=>{this.#a({type:"pause"})},onContinue:s,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const l=this.state.status==="pending",c=!this.#s.canStart();try{if(l)s();else{this.#a({type:"pending",variables:n,isPaused:c}),await this.#n.config.onMutate?.(n,this,o);const m=await this.options.onMutate?.(n,o);m!==this.state.context&&this.#a({type:"pending",context:m,variables:n,isPaused:c})}const f=await this.#s.start();return await this.#n.config.onSuccess?.(f,n,this.state.context,this,o),await this.options.onSuccess?.(f,n,this.state.context,o),await this.#n.config.onSettled?.(f,null,this.state.variables,this.state.context,this,o),await this.options.onSettled?.(f,null,n,this.state.context,o),this.#a({type:"success",data:f}),f}catch(f){try{throw await this.#n.config.onError?.(f,n,this.state.context,this,o),await this.options.onError?.(f,n,this.state.context,o),await this.#n.config.onSettled?.(void 0,f,this.state.variables,this.state.context,this,o),await this.options.onSettled?.(void 0,f,n,this.state.context,o),f}finally{this.#a({type:"error",error:f})}}finally{this.#n.runNext(this)}}#a(n){const s=o=>{switch(n.type){case"failed":return{...o,failureCount:n.failureCount,failureReason:n.error};case"pause":return{...o,isPaused:!0};case"continue":return{...o,isPaused:!1};case"pending":return{...o,context:n.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:n.isPaused,status:"pending",variables:n.variables,submittedAt:Date.now()};case"success":return{...o,data:n.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...o,data:void 0,error:n.error,failureCount:o.failureCount+1,failureReason:n.error,isPaused:!1,status:"error"}}};this.state=s(this.state),We.batch(()=>{this.#e.forEach(o=>{o.onMutationUpdate(n)}),this.#n.notify({mutation:this,type:"updated",action:n})})}};function Vy(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var H1=class extends Es{constructor(n={}){super(),this.config=n,this.#t=new Set,this.#e=new Map,this.#n=0}#t;#e;#n;build(n,s,o){const l=new L1({client:n,mutationCache:this,mutationId:++this.#n,options:n.defaultMutationOptions(s),state:o});return this.add(l),l}add(n){this.#t.add(n);const s=rr(n);if(typeof s=="string"){const o=this.#e.get(s);o?o.push(n):this.#e.set(s,[n])}this.notify({type:"added",mutation:n})}remove(n){if(this.#t.delete(n)){const s=rr(n);if(typeof s=="string"){const o=this.#e.get(s);if(o)if(o.length>1){const l=o.indexOf(n);l!==-1&&o.splice(l,1)}else o[0]===n&&this.#e.delete(s)}}this.notify({type:"removed",mutation:n})}canRun(n){const s=rr(n);if(typeof s=="string"){const l=this.#e.get(s)?.find(c=>c.state.status==="pending");return!l||l===n}else return!0}runNext(n){const s=rr(n);return typeof s=="string"?this.#e.get(s)?.find(l=>
10l!==n&&l.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){We.batch(()=>{this.#t.forEach(n=>{this.notify({type:"removed",mutation:n})}),this.#t.clear(),this.#e.clear()})}getAll(){return Array.from(this.#t)}find(n){const s={exact:!0,...n};return this.getAll().find(o=>wg(s,o))}findAll(n={}){return this.getAll().filter(s=>wg(n,s))}notify(n){We.batch(()=>{this.listeners.forEach(s=>{s(n)})})}resumePausedMutations(){const n=this.getAll().filter(s=>s.state.isPaused);return We.batch(()=>Promise.all(n.map(s=>s.continue().catch(wt))))}};function rr(n){return n.options.scope?.id}var B1=class extends Es{#t;#e=void 0;#n;#s;constructor(s,o){super(),this.#t=s,this.setOptions(o),this.bindMethods(),this.#a()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(s){const o=this.options;this.options=this.#t.defaultMutationOptions(s),Do(this.options,o)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),o?.mutationKey&&this.options.mutationKey&&Ua(o.mutationKey)!==Ua(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(s){this.#a(),this.#i(s)}getCurrentResult(){return this.#e}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#a(),this.#i()}mutate(s,o){return this.#s=o,this.#n?.removeObserver(this),this.#n=this.#t.getMutationCache().build(this.#t,this.options),this.#n.addObserver(this),this.#n.execute(s)}#a(){const s=this.#n?.state??Vy();this.#e={...s,isPending:s.status==="pending",isSuccess:s.status==="success",isError:s.status==="error",isIdle:s.status==="idle",mutate:this.mutate,reset:this.reset}}#i(s){We.batch(()=>{if(this.#s&&this.hasListeners()){const o=this.#e.variables,l=this.#e.context,c={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};s?.type==="success"?(this.#s.onSuccess?.(s.data,o,l,c),this.#s.onSettled?.(s.data,null,o,l,c)):s?.type==="error"&&(this.#s.onError?.(s.error,o,l,c),this.#s.onSettled?.(void 0,s.error,o,l,c))}this.listeners.forEach(o=>{o(this.#e)})})}};function Ng(n,s){const o=new Set(s);return n.filter(l=>!o.has(l))}function U1(n,s,o){const l=n.slice(0);return l[s]=o,l}var P1=class extends Es{#t;#e;#n;#s;#a;#i;#l;#o;#m=[];constructor(n,s,o){super(),this.#t=n,this.#s=o,this.#n=[],this.#a=[],this.#e=[],this.setQueries(s)}onSubscribe(){this.listeners.size===1&&this.#a.forEach(n=>{n.subscribe(s=>{this.#u(n,s)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#a.forEach(n=>{n.destroy()})}setQueries(n,s){this.#n=n,this.#s=s,We.batch(()=>{const o=this.#a,l=this.#c(this.#n);this.#m=l,l.forEach(x=>x.observer.setOptions(x.defaultedQueryOptions));const c=l.map(x=>x.observer),f=c.map(x=>x.getCurrentResult()),m=o.length!==c.length,h=c.some((x,g)=>x!==o[g]),p=m||h,v=p?!0:f.some((x,g)=>{const w=this.#e[g];return!w||!Do(x,w)});!p&&!v||(p&&(this.#a=c),this.#e=f,this.hasListeners()&&(p&&(Ng(o,c).forEach(x=>{x.destroy()}),Ng(c,o).forEach(x=>{x.subscribe(g=>{this.#u(x,g)})})),this.#r()))})}getCurrentResult(){return this.#e}getQueries(){return this.#a.map(n=>n.getCurrentQuery())}getObservers(){return this.#a}getOptimisticResult(n,s){const o=this.#c(n),l=o.map(c=>c.observer.getOptimisticResult(c.defaultedQueryOptions));return[l,c=>this.#f(c??l,s),()=>this.#d(l,o)]}#d(n,s){return s.map((o,l)=>{const c=n[l];return o.defaultedQueryOptions.notifyOnChangeProps?c:o.observer.trackResult(c,f=>{s.forEach(m=>{m.observer.trackProp(f)})})})}#f(n,s){return s?((!this.#i||this.#e!==this.#o||s!==this.#l)&&(this.#l=s,this.#o=this.#e,this.#i=sf(this.#i,s(n))),this.#i):n}#c(n){const s=new Map(this.#a.map(l=>[l.options.queryHash,l])),o=[];return n.forEach(l=>{const c=this.#t.defaultQueryOptions(l),f=s.get(c.queryHash);f?o.push({defaultedQueryOptions:c,observer:f}):o.push({defaultedQueryOptions:c,observer:new qo(this.#t,c)})}),o}#u(n,s){const o=this.#a.indexOf(n);o!==-1&&(this.#e=U1(this.#e,o,s),this.#r())}#r(){if(this.hasListeners()){const n=this.#i,s=this.#d(this.#e,this.#m),o=this.#f(s,this.#s?.combine);n!==o&&We.batch(()=>
vendor: 16,448 bytes, lines 10-18
10{this.listeners.forEach(l=>{l(this.#e)})})}}},F1=class extends Es{constructor(n={}){super(),this.config=n,this.#t=new Map}#t;build(n,s,o){const l=s.queryKey,c=s.queryHash??af(l,s);let f=this.get(c);return f||(f=new M1({client:n,queryKey:l,queryHash:c,options:n.defaultQueryOptions(s),state:o,defaultOptions:n.getQueryDefaults(l)}),this.add(f)),f}add(n){this.#t.has(n.queryHash)||(this.#t.set(n.queryHash,n),this.notify({type:"added",query:n}))}remove(n){const s=this.#t.get(n.queryHash);s&&(n.destroy(),s===n&&this.#t.delete(n.queryHash),this.notify({type:"removed",query:n}))}clear(){We.batch(()=>{this.getAll().forEach(n=>{this.remove(n)})})}get(n){return this.#t.get(n)}getAll(){return[...this.#t.values()]}find(n){const s={exact:!0,...n};return this.getAll().find(o=>bg(s,o))}findAll(n={}){const s=this.getAll();return Object.keys(n).length>0?s.filter(o=>bg(n,o)):s}notify(n){We.batch(()=>{this.listeners.forEach(s=>{s(n)})})}onFocus(){We.batch(()=>{this.getAll().forEach(n=>{n.onFocus()})})}onOnline(){We.batch(()=>{this.getAll().forEach(n=>{n.onOnline()})})}},q1=class{#t;#e;#n;#s;#a;#i;#l;#o;constructor(n={}){this.#t=n.queryCache||new F1,this.#e=n.mutationCache||new H1,this.#n=n.defaultOptions||{},this.#s=new Map,this.#a=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#l=of.subscribe(async n=>{n&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#o=Sr.subscribe(async n=>{n&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#l?.(),this.#l=void 0,this.#o?.(),this.#o=void 0)}isFetching(n){return this.#t.findAll({...n,fetchStatus:"fetching"}).length}isMutating(n){return this.#e.findAll({...n,status:"pending"}).length}getQueryData(n){const s=this.defaultQueryOptions({queryKey:n});return this.#t.get(s.queryHash)?.state.data}ensureQueryData(n){const s=this.defaultQueryOptions(n),o=this.#t.build(this,s),l=o.state.data;return l===void 0?this.fetchQuery(n):(n.revalidateIfStale&&o.isStaleByTime(Ba(s.staleTime,o))&&this.prefetchQuery(s),Promise.resolve(l))}getQueriesData(n){return this.#t.findAll(n).map(({queryKey:s,state:o})=>{const l=o.data;return[s,l]})}setQueryData(n,s,o){const l=this.defaultQueryOptions({queryKey:n}),f=this.#t.get(l.queryHash)?.state.data,m=w1(s,f);if(m!==void 0)return this.#t.build(this,l).setData(m,{...o,manual:!0})}setQueriesData(n,s,o){return We.batch(()=>this.#t.findAll(n).map(({queryKey:l})=>[l,this.setQueryData(l,s,o)]))}getQueryState(n){const s=this.defaultQueryOptions({queryKey:n});return this.#t.get(s.queryHash)?.state}removeQueries(n){const s=this.#t;We.batch(()=>{s.findAll(n).forEach(o=>{s.remove(o)})})}resetQueries(n,s){const o=this.#t;return We.batch(()=>(o.findAll(n).forEach(l=>{l.reset()}),this.refetchQueries({type:"active",...n},s)))}cancelQueries(n,s={}){const o={revert:!0,...s},l=We.batch(()=>this.#t.findAll(n).map(c=>c.cancel(o)));return Promise.all(l).then(wt).catch(wt)}invalidateQueries(n,s={}){return We.batch(()=>(this.#t.findAll(n).forEach(o=>{o.invalidate()}),n?.refetchType==="none"?Promise.resolve():this.refetchQueries({...n,type:n?.refetchType??n?.type??"active"},s)))}refetchQueries(n,s={}){const o={...s,cancelRefetch:s.cancelRefetch??!0},l=We.batch(()=>this.#t.findAll(n).filter(c=>!c.isDisabled()&&!c.isStatic()).map(c=>{let f=c.fetch(void 0,o);return o.throwOnError||(f=f.catch(wt)),c.state.fetchStatus==="paused"?Promise.resolve():f}));return Promise.all(l).then(wt)}fetchQuery(n){const s=this.defaultQueryOptions(n);s.retry===void 0&&(s.retry=!1);const o=this.#t.build(this,s);return o.isStaleByTime(Ba(s.staleTime,o))?o.fetch(s):Promise.resolve(o.state.data)}prefetchQuery(n){return this.fetchQuery(n).then(wt).catch(wt)}fetchInfiniteQuery(n){return n.behavior=Er(n.pages),this.fetchQuery(n)}prefetchInfiniteQuery(n){return this.fetchInfiniteQuery(n).then(wt).catch(wt)}ensureInfiniteQueryData(n){return n.behavior=Er(n.pages),this.ensureQueryData(n)}resumePausedMutations(){return Sr.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#n}setDefaultOptions(n){this.#n=n}setQueryDefaults(n,s){this.#s.set(Ua(n),{queryKey:n,defaultOptions:s})}getQueryDefaults(n){const s=[...this.#s.values()],o={};return s.forEach(l=>{Ro(n,l.queryKey)&&Object.assign(o,l.defaultOptions)}),o}setMutationDefaults(n,s){this.#a.set(Ua(n),{mutationKey:n,defaultOptions:s})}getMutationDefaults(n){const s=[...this.#a.values()],o={};return s.forEach(l=>{Ro(n,l.mutationKey)&&Object.assign(o,l.defaultOptions)}),o}defaultQueryOptions(n){if(n._defaulted)return n;const s={...this.#n.queries,...this.getQueryDefaults(n.queryKey),...n,_defaulted:!0};return s.queryHash||(s.queryHash=af(s.queryKey,s)),s.refetchOnReconnect===void 0&&(s.refetchOnReconnect=s.networkMode!=="always"),s.throwOnError===void 0&&(s.throwOnError=!!s.suspense),!s.networkMode&&s.persister&&(s.networkMode="offlineFirst"),s.queryFn===Zt&&(s.enabled=!1),s}defaultMutationOptions(n){return n?._defaulted?n:{...this.#n.mutations,...n?.mutationKey&&this.getMutationDefaults(n.mutationKey),...n,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}},ud={exports:{}},be={};/**
11 * @license React
12 * react.production.js
13 *
14 * Copyright (c) Meta Platforms, Inc. and affiliates.
15 *
16 * This source code is licensed under the MIT license found in the
17 * LICENSE file in the root directory of this source tree.
18 */var _g;function Q1(){if(_g)return be;_g=1;var n=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),m=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),g=Symbol.for("react.activity"),w=Symbol.iterator;function S(E){return E===null||typeof E!="object"?null:(E=w&&E[w]||E["@@iterator"],typeof E=="function"?E:null)}var N={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,H={};function P(E,q,z){this.props=E,this.context=q,this.refs=H,this.updater=z||N}P.prototype.isReactComponent={},P.prototype.setState=function(E,q){if(typeof E!="object"&&typeof E!="function"&&E!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,E,q,"setState")},P.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function Z(){}Z.prototype=P.prototype;function $(E,q,z){this.props=E,this.context=q,this.refs=H,this.updater=z||N}var ne=$.prototype=new Z;ne.constructor=$,A(ne,P.prototype),ne.isPureReactComponent=!0;var V=Array.isArray;function K(){}var T={H:null,A:null,T:null,S:null},B=Object.prototype.hasOwnProperty;function J(E,q,z){var Q=z.ref;return{$$typeof:n,type:E,key:q,ref:Q!==void 0?Q:null,props:z}}function I(E,q){return J(E.type,q,E.props)}function ae(E){return typeof E=="object"&&E!==null&&E.$$typeof===n}function ee(E){var q={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(z){return q[z]})}var le=/\/+/g;function ie(E,q){return typeof E=="object"&&E!==null&&E.key!=null?ee(""+E.key):q.toString(36)}function ce(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(K,K):(E.status="pending",E.then(function(q){E.status==="pending"&&(E.status="fulfilled",E.value=q)},function(q){E.status==="pending"&&(E.status="rejected",E.reason=q)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function _(E,q,z,Q,W){var he=typeof E;(he==="undefined"||he==="boolean")&&(E=null);var re=!1;if(E===null)re=!0;else switch(he){case"bigint":case"string":case"number":re=!0;break;case"object":switch(E.$$typeof){case n:case s:re=!0;break;case x:return re=E._init,_(re(E._payload),q,z,Q,W)}}if(re)return W=W(E),re=Q===""?"."+ie(E,0):Q,V(W)?(z="",re!=null&&(z=re.replace(le,"$&/")+"/"),_(W,q,z,"",function(dt){return dt})):W!=null&&(ae(W)&&(W=I(W,z+(W.key==null||E&&E.key===W.key?"":(""+W.key).replace(le,"$&/")+"/")+re)),q.push(W)),1;re=0;var ve=Q===""?".":Q+":";if(V(E))for(var _e=0;_e<E.length;_e++)Q=E[_e],he=ve+ie(Q,_e),re+=_(Q,q,z,he,W);else if(_e=S(E),typeof _e=="function")for(E=_e.call(E),_e=0;!(Q=E.next()).done;)Q=Q.value,he=ve+ie(Q,_e++),re+=_(Q,q,z,he,W);else if(he==="object"){if(typeof E.then=="function")return _(ce(E),q,z,Q,W);throw q=String(E),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.")}return re}function U(E,q,z){if(E==null)return E;var Q=[],W=0;return _(E,Q,"","",function(he){return q.call(z,he,W++)}),Q}function R(E){if(E._status===-1){var q=E._result;q=q(),q.then(function(z){(E._status===0||E._status===-1)&&(E._status=1,E._result=z)},function(z){(E._status===0||E._status===-1)&&(E._status=2,E._result=z)}),E._status===-1&&(E._status=0,E._result=q)}if(E._status===1)return E._result.default;throw E._result}var se=typeof reportError=="function"?reportError:function(E){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var q=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(q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",E);return}console.error(E)},me={map:U,forEach:function(E,q,z){U(E,function(){q.apply(this,arguments)},z)},count:function(E){var q=0;return U(E,function(){q++}),q},toArray:function(E){return U(E,function(q){return q})||[]},only:function(E){if(!ae(E))throw Error("React.Children.only expected to receive a single React element child.");return E}};return be.Activity=g,be.Children=me,be.Component=P,be.Fragment=o,be.Profiler=c,be.PureComponent=$,be.StrictMode=l,be.Suspense=p,be.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T,be.__COMPILER_RUNTIME={__proto__:null,c:function(E){return T.H.useMemoCache(E)}},be.cache=function(E){return function(){return E.apply(null,arguments)}},be.cacheSignal=function(){return null},be.cloneElement=function(E,q,z){if(E==null)throw Error("The argument must be a React element, but you passed "+E+".");var Q=A({},E.props),W=E.key;if(q!=null)for(he in q.key!==void 0&&(W=""+q.key),q)!B.call(q,he)||he==="key"||he==="__self"||he==="__source"||he==="ref"&&q.ref===void 0||(Q[he]=q[he]);var he=arguments.length-2;if(he===1)Q.children=z;else if(1<he){for(var re=Array(he),ve=0;ve<he;ve++)re[ve]=arguments[ve+2];Q.children=re}return J(E.type,W,Q)},be.createContext=function(E){return E={$$typeof:m,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null},E.Provider=E,E.Consumer={$$typeof:f,_context:E},E},be.createElement=function(E,q,z){var Q,W={},he=null;if(q!=null)for(Q in q.key!==void 0&&(he=""+q.key),q)B.call(q,Q)&&Q!=="key"&&Q!=="__self"&&Q!=="__source"&&(W[Q]=q[Q]);var re=arguments.length-2;if(re===1)W.children=z;else if(1<re){for(var ve=Array(re),_e=0;_e<re;_e++)ve[_e]=arguments[_e+2];W.children=ve}if(E&&E.defaultProps)for(Q in re=E.defaultProps,re)W[Q]===void 0&&(W[Q]=re[Q]);return J(E,he,W)},be.createRef=function(){return{current:null}},be.forwardRef=function(E){return{$$typeof:h,render:E}},be.isValidElement=ae,be.lazy=function(E){return{$$typeof:x,_payload:{_status:-1,_result:E},_init:R}},be.memo=function(E,q){return{$$typeof:v,type:E,compare:q===void 0?null:q}},be.startTransition=function(E){var q=T.T,z={};T.T=z;try{var Q=E(),W=T.S;W!==null&&W(z,Q),typeof Q=="object"&&Q!==null&&typeof Q.then=="function"&&Q.then(K,se)}catch(he){se(he)}finally{q!==null&&z.types!==null&&(q.types=z.types),T.T=q}},be.unstable_useCacheRefresh=function(){return T.H.useCacheRefresh()},be.use=function(E){return T.H.use(E)},be.useActionState=function(E,q,z){return T.H.useActionState(E,q,z)},be.useCallback=function(E,q){return T.H.useCallback(E,q)},be.useContext=function(E){return T.H.useContext(E)},be.useDebugValue=function(){},be.useDeferredValue=function(E,q){return T.H.useDeferredValue(E,q)},be.useEffect=function(E,q){return T.H.useEffect(E,q)},be.useEffectEvent=function(E){return T.H.useEffectEvent(E)},be.useId=function(){return T.H.useId()},be.useImperativeHandle=function(E,q,z){return T.H.useImperativeHandle(E,q,z)},be.useInsertionEffect=function(E,q){return T.H.useInsertionEffect(E,q)},be.useLayoutEffect=function(E,q){return T.H.useLayoutEffect(E,q)},be.useMemo=function(E,q){return T.H.useMemo(E,q)},be.useOptimistic=function(E,q){return T.H.useOptimistic(E,q)},be.useReducer=function(E,q,z){return T.H.useReducer(E,q,z)},be.useRef=function(E){return T.H.useRef(E)},be.useState=function(E){return T.H.useState(E)},be.useSyncExternalStore=function(E,q,z){return T.H.useSyncExternalStore(E,q,z)},be.useTransition=function(){return T.H.useTransition()},be.version="19.2.1",be}var Og;function Mr(){return Og||(Og=1,ud.exports=Q1()),ud.exports}var C=Mr();const te=Ly(C),Xy=p1({__proto__:null,default:te},[C]);var Ky=C.createContext(void 0),Qo=n=>{const s=C.useContext(Ky);if(n)return n;if(!s)throw new Error("No QueryClient set, use QueryClientProvider to set one");return s},Y1=({client:n,children:s})=>(C.useEffect(()=>(n.mount(),()=>{n.unmount()}),[n]),d.jsx(Ky.Provider,{value:n,children:s})),Zy=C.createContext(!1),$y=()=>C.useContext(Zy);Zy.Provider;function G1(){let n=!1;return{clearReset:()=>{n=!1},reset:()=>{n=!0},isReset:()=>n}}var V1=C.createContext(G1()),Wy=()=>C.useContext(V1),Jy=(n,s)=>{(n.suspense||n.throwOnError||n.experimental_prefetchInRender)&&(s.isReset()||(n.retryOnMount=!1))},Iy=n=>{C.useEffect(()=>{n.clearReset()},[n])},ev=({result:n,errorResetBoundary:s,throwOnError:o,query:l,suspense:c})=>n.isError&&!s.isReset()&&!n.isFetching&&l&&(c&&n.data===void 0||Uy(o,[n.error,l])),rf=(n,s)=>s.state.data===void 0,tv=n=>{if(n.suspense){const o=c=>c==="static"?c:Math.max(c??1e3,1e3),l=n.staleTime;n.staleTime=typeof l=="function"?(...c)=>o(l(...c)):o(l),typeof n.gcTime=="number"&&(n.gcTime=Math.max(n.gcTime,1e3))}},nv=(n,s)=>n.isLoading&&n.isFetching&&!s,kd=(n,s)=>n?.suspense&&s.isPending,jr=(n,s,o)=>s.fetchOptimistic(n).catch(()=>{o.clearReset()});function av({queries:n,...s},o){const l=Qo(o),c=$y(),f=Wy(),m=C.useMemo(()=>n.map(A=>{const H=l.defaultQueryOptions(A);return H._optimisticResults=c?"isRestoring":"optimistic",H}),[n,l,c]);m.forEach(A=>{tv(A),Jy(A,f)}),Iy(f);const[h]=C.useState(()=>new P1(l,m,s)),[p,v,x]=h.getOptimisticResult(m,s.combine),g=!c&&s.subscribed!==!1;C.useSyncExternalStore(C.useCallback(A=>g?h.subscribe(We.batchCalls(A)):wt,[h,g]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),C.useEffect(()=>{h.setQueries(m,s)},[m,s,h]);const S=p.some((A,H)=>kd(m[H],A))?p.flatMap((A,H)=>{const P=m[H];if(P){const Z=new qo(l,P);if(kd(P,A))return jr(P,Z,f);nv(A,c)&&jr(P,Z,f)}return[]}):[];if(S.length>0)throw Promise.all(S);const N=p.find((A,H)=>{const P=m[H];return P&&ev({result:A,errorResetBoundary:f,throwOnError:P.throwOnError,query:l.getQueryCache().get(P.queryHash),suspense:P.suspense})});if(N?.error)throw N.error;return v(x())}function Rr(n,s,o){const l=$y(),c=Wy(),f=Qo(o),m=f.defaultQueryOptions(n);f.getDefaultOptions().queries?._experimental_beforeQuery?.(m),m._optimisticResults=l?"isRestoring":"optimistic",tv(m),Jy(m,c),Iy(c);const h=!f.getQueryCache().get(m.queryHash),[p]=C.useState(()=>new s(f,m)),v=p.getOptimisticResult(m),x=!l&&n.subscribed!==!1;if(C.useSyncExternalStore(C.useCallback(g=>{const w=x?p.subscribe(We.batchCalls(g)):wt;return p.updateResult(),w},[p,x]),()=>p.getCurrentResult(),()=>p.getCurrentResult()),C.useEffect(()=>{p.setOptions(m)},[m,p]),kd(m,v))throw jr(m,p,c);if(ev({result:v,errorResetBoundary:c,throwOnError:m.throwOnError,query:f.getQueryCache().get(m.queryHash),suspense:m.suspense}))throw v.error;return f.getDefaultOptions().queries?._experimental_afterQuery?.(m,v),m.experimental_prefetchInRender&&!xs&&nv(v,l)&&(h?jr(m,p,c):f.getQueryCache().get(m.queryHash)?.promise)?.catch(wt).finally(()=>{p.updateResult()}),m.notifyOnChangeProps?v:p.trackResult(v)}function X1(n,s){return Rr(n,qo,s)}function K1(n,s){return Rr({...n,enabled:!0,suspense:!0,throwOnError:rf,placeholderData:void 0},qo,s)}function Z1(n,s){return Rr({...n,enabled:!0,suspense:!0,throwOnError:rf}
18,Gy,s)}function $1(n,s){return av({...n,queries:n.queries.map(o=>({...o,suspense:!0,throwOnError:rf,enabled:!0,placeholderData:void 0}))},s)}function W1(n,s){const o=Qo(s);o.getQueryState(n.queryKey)||o.prefetchQuery(n)}function J1(n,s){const o=Qo(s);o.getQueryState(n.queryKey)||o.prefetchInfiniteQuery(n)}function I1(n,s){const o=Qo(s),[l]=C.useState(()=>new B1(o,n));C.useEffect(()=>{l.setOptions(n)},[l,n]);const c=C.useSyncExternalStore(C.useCallback(m=>l.subscribe(We.batchCalls(m)),[l]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),f=C.useCallback((m,h)=>{l.mutate(m,h).catch(wt)},[l]);if(c.error&&Uy(l.options.throwOnError,[c.error]))throw c.error;return{...c,mutate:f,mutateAsync:c.mutate}}function e2(n,s){return Rr(n,Gy,s)}function bs(n){return!!n&&!Array.isArray(n)&&typeof n=="object"}const t2=typeof Symbol=="function"&&!!Symbol.asyncIterator;function sv(n){return t2&&bs(n)&&Symbol.asyncIterator in n}var n2=Object.create,iv=Object.defineProperty,a2=Object.getOwnPropertyDescriptor,ov=Object.getOwnPropertyNames,s2=Object.getPrototypeOf,i2=Object.prototype.hasOwnProperty,Yo=(n,s)=>function(){return s||(0,n[ov(n)[0]])((s={exports:{}}).exports,s),s.exports},o2=(n,s,o,l)=>{if(s&&typeof s=="object"||typeof s=="function")for(var c=ov(s),f=0,m=c.length,h;f<m;f++)h=c[f],!i2.call(n,h)&&h!==o&&iv(n,h,{get:(p=>s[p]).bind(null,h),enumerable:!(l=a2(s,h))||l.enumerable});return n},Dr=(n,s,o)=>(o=n!=null?n2(s2(n)):{},o2(iv(o,"default",{value:n,enumerable:!0}),n));const lv=()=>{},Tg=n=>{Object.freeze&&Object.freeze(n)};function rv(n,s,o){var l;const c=s.join(".");return(l=o[c])!==null&&l!==void 0||(o[c]=new Proxy(lv,{get(f,m){if(!(typeof m!="string"||m==="then"))return rv(n,[...s,m],o)},apply(f,m,h){const p=s[s.length-1];let v={args:h,path:s};return p==="call"?v={args:h.length>=2?[h[1]]:[],path:s.slice(0,-1)}:p==="apply"&&(v={args:h.length>=2?h[1]:[],path:s.slice(0,-1)}),Tg(v.args),Tg(v.path),n(v)}})),o[c]}const kr=n=>rv(n,[],Object.create(null)),cf=n=>new Proxy(lv,{get(s,o){if(o!=="then")return n(o)}});var cv=Yo({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(n,s){function o(l){"@babel/helpers - typeof";return s.exports=o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},s.exports.__esModule=!0,s.exports.default=s.exports,o(l)}s.exports=o,s.exports.__esModule=!0,s.exports.default=s.exports}}),l2=Yo({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(n,s){var o=cv().default;function l(c,f){if(o(c)!="object"||!c)return c;var m=c[Symbol.toPrimitive];if(m!==void 0){var h=m.call(c,f||"default");if(o(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(c)}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),r2=Yo({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(n,s){var o=cv().default,l=l2();function c(f){var m=l(f,"string");return o(m)=="symbol"?m:m+""}s.exports=c,s.exports.__esModule=!0,s.exports.default=s.exports}}),uv=Yo({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(n,s){var o=r2();function l(c,f,m){return(f=o(f))in c?Object.defineProperty(c,f,{value:m,enumerable:!0,configurable:!0,writable:!0}):c[f]=m,c}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),uf=Yo({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(n,s){var o=uv();function l(f,m){var h=Object.keys(f);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(f);m&&(p=p.filter(function(v){return Object.getOwnPropertyDescriptor(f,v).enumerable})),h.push.apply(h,p)}return h}function c(f){for(var m=1;m<arguments.length;m++){var h=arguments[m]!=null?arguments[m]:{};
18m%2?l(Object(h),!0).forEach(function(p){o(f,p,h[p])}):Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(h)):l(Object(h)).forEach(function(p){Object.defineProperty(f,p,Object.getOwnPropertyDescriptor(h,p))})}return f}s.exports=c,s.exports.__esModule=!0,s.exports.default=s.exports}});Dr(uf());Dr(uv());var cr=Dr(uf());function c2(n,s){if("error"in n){const l=s.deserialize(n.error);return{ok:!1,error:(0,cr.default)((0,cr.default)({},n),{},{error:l})}}return{ok:!0,result:(0,cr.default)((0,cr.default)({},n.result),(!n.result.type||n.result.type==="data")&&{type:"data",data:s.deserialize(n.result.data)})}}var dd=class extends Error{constructor(){super("Unable to transform response from server")}};function u2(n,s){let o;try{o=c2(n,s)}catch{throw new dd}if(!o.ok&&(!bs(o.error.error)||typeof o.error.error.code!="number"))throw new dd;if(o.ok&&!bs(o.result))throw new dd;return o}Dr(uf());function zr(n){const s={subscribe(o){let l=null,c=!1,f=!1,m=!1;function h(){if(l===null){m=!0;return}f||(f=!0,typeof l=="function"?l():l&&l.unsubscribe())}return l=n({next(p){var v;c||(v=o.next)===null||v===void 0||v.call(o,p)},error(p){var v;c||(c=!0,(v=o.error)===null||v===void 0||v.call(o,p),h())},complete(){var p;c||(c=!0,(p=o.complete)===null||p===void 0||p.call(o),h())}}),m&&h(),{unsubscribe:h}},pipe(...o){return o.reduce(d2,s)}};return s}function d2(n,s){return s(n)}function f2(n){const s=new AbortController;return new Promise((l,c)=>{let f=!1;function m(){f||(f=!0,h.unsubscribe())}s.signal.addEventListener("abort",()=>{c(s.signal.reason)});const h=n.subscribe({next(p){f=!0,l(p),m()},error(p){c(p)},complete(){s.abort(),m()}})})}var m2=Object.create,dv=Object.defineProperty,h2=Object.getOwnPropertyDescriptor,fv=Object.getOwnPropertyNames,p2=Object.getPrototypeOf,g2=Object.prototype.hasOwnProperty,Ya=(n,s)=>function(){return s||(0,n[fv(n)[0]])((s={exports:{}}).exports,s),s.exports},y2=(n,s,o,l)=>{if(s&&typeof s=="object"||typeof s=="function")for(var c=fv(s),f=0,m=c.length,h;f<m;f++)h=c[f],!g2.call(n,h)&&h!==o&&dv(n,h,{get:(p=>s[p]).bind(null,h),enumerable:!(l=h2(s,h))||l.enumerable});return n},js=(n,s,o)=>(o=n!=null?m2(p2(n)):{},y2(s||!n||!n.__esModule?dv(o,"default",{value:n,enumerable:!0}):o,n)),v2=Ya({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutPropertiesLoose.js"(n,s){function o(l,c){if(l==null)return{};var f={};for(var m in l)if({}.hasOwnProperty.call(l,m)){if(c.includes(m))continue;f[m]=l[m]}return f}s.exports=o,s.exports.__esModule=!0,s.exports.default=s.exports}}),x2=Ya({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutProperties.js"(n,s){var o=v2();function l(c,f){if(c==null)return{};var m,h,p=o(c,f);if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(c);for(h=0;h<v.length;h++)m=v[h],f.includes(m)||{}.propertyIsEnumerable.call(c,m)&&(p[m]=c[m])}return p}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),mv=Ya({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(n,s){function o(l){"@babel/helpers - typeof";return s.exports=o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},s.exports.__esModule=!0,s.exports.default=s.exports,o(l)}s.exports=o,s.exports.__esModule=!0,s.exports.default=s.exports}}),b2=Ya({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(n,s){var o=mv().default;function l(c,f){if(o(c)!="object"||!c)return c;var m=c[Symbol.toPrimitive];if(m!==void 0){var h=m.call(c,f||"default");if(o(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(c)}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),w2=Ya({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(n,s){var o=mv().default,l=b2();function c(f){var m=l(f,"string");return o(m)=="symbol"?m:m+""}s.exports=c,s.exports.__esModule=!0,s.exports.default=s.exports}}),C2=Ya({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/
18defineProperty.js"(n,s){var o=w2();function l(c,f,m){return(f=o(f))in c?Object.defineProperty(c,f,{value:m,enumerable:!0,configurable:!0,writable:!0}):c[f]=m,c}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),Go=Ya({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(n,s){var o=C2();function l(f,m){var h=Object.keys(f);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(f);m&&(p=p.filter(function(v){return Object.getOwnPropertyDescriptor(f,v).enumerable})),h.push.apply(h,p)}return h}function c(f){for(var m=1;m<arguments.length;m++){var h=arguments[m]!=null?arguments[m]:{};m%2?l(Object(h),!0).forEach(function(p){o(f,p,h[p])}):Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(h)):l(Object(h)).forEach(function(p){Object.defineProperty(f,p,Object.getOwnPropertyDescriptor(h,p))})}return f}s.exports=c,s.exports.__esModule=!0,s.exports.default=s.exports}}),S2=js(x2(),1),Mg=js(Go(),1);const E2=["cursor","direction"];function On(n,s,o){const l=n.flatMap(c=>c.split("."));if(!s&&(!o||o==="any"))return l.length?[l]:[];if(o==="infinite"&&bs(s)&&("direction"in s||"cursor"in s)){const{cursor:c,direction:f}=s,m=(0,S2.default)(s,E2);return[l,{input:m,type:"infinite"}]}return[l,(0,Mg.default)((0,Mg.default)({},typeof s<"u"&&s!==Zt&&{input:s}),o&&o!=="any"&&{type:o})]}function xr(n){return On(n,void 0,"any")}var j2=Object.create,hv=Object.defineProperty,A2=Object.getOwnPropertyDescriptor,pv=Object.getOwnPropertyNames,N2=Object.getPrototypeOf,_2=Object.prototype.hasOwnProperty,Dn=(n,s)=>function(){return s||(0,n[pv(n)[0]])((s={exports:{}}).exports,s),s.exports},O2=(n,s,o,l)=>{if(s&&typeof s=="object"||typeof s=="function")for(var c=pv(s),f=0,m=c.length,h;f<m;f++)h=c[f],!_2.call(n,h)&&h!==o&&hv(n,h,{get:(p=>s[p]).bind(null,h),enumerable:!(l=A2(s,h))||l.enumerable});return n},et=(n,s,o)=>(o=n!=null?j2(N2(n)):{},O2(s||!n||!n.__esModule?hv(o,"default",{value:n,enumerable:!0}):o,n)),gv=Dn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(n,s){function o(l){"@babel/helpers - typeof";return s.exports=o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},s.exports.__esModule=!0,s.exports.default=s.exports,o(l)}s.exports=o,s.exports.__esModule=!0,s.exports.default=s.exports}}),T2=Dn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(n,s){var o=gv().default;function l(c,f){if(o(c)!="object"||!c)return c;var m=c[Symbol.toPrimitive];if(m!==void 0){var h=m.call(c,f||"default");if(o(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(c)}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),M2=Dn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(n,s){var o=gv().default,l=T2();function c(f){var m=l(f,"string");return o(m)=="symbol"?m:m+""}s.exports=c,s.exports.__esModule=!0,s.exports.default=s.exports}}),As=Dn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(n,s){var o=M2();function l(c,f,m){return(f=o(f))in c?Object.defineProperty(c,f,{value:m,enumerable:!0,configurable:!0,writable:!0}):c[f]=m,c}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),bn=Dn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(n,s){var o=As();function l(f,m){var h=Object.keys(f);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(f);m&&(p=p.filter(function(v){return Object.getOwnPropertyDescriptor(f,v).enumerable})),h.push.apply(h,p)}return h}function c(f){for(var m=1;m<arguments.length;m++){var h=arguments[m]!=null?arguments[m]:{};
18m%2?l(Object(h),!0).forEach(function(p){o(f,p,h[p])}):Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(h)):l(Object(h)).forEach(function(p){Object.defineProperty(f,p,Object.getOwnPropertyDescriptor(h,p))})}return f}s.exports=c,s.exports.__esModule=!0,s.exports.default=s.exports}});function R2(n){return s=>{let o=0,l=null;const c=[];function f(){l||(l=s.subscribe({next(h){for(const v of c){var p;(p=v.next)===null||p===void 0||p.call(v,h)}},error(h){for(const v of c){var p;(p=v.error)===null||p===void 0||p.call(v,h)}},complete(){for(const p of c){var h;(h=p.complete)===null||h===void 0||h.call(p)}}}))}function m(){if(o===0&&l){const h=l;l=null,h.unsubscribe()}}return zr(h=>(o++,c.push(h),f(),{unsubscribe(){o--,m();const p=c.findIndex(v=>v===h);p>-1&&c.splice(p,1)}}))}}function D2(n){let s=n;const o=[],l=m=>{s!==void 0&&m.next(s),o.push(m)},c=m=>{o.splice(o.indexOf(m),1)},f=zr(m=>(l(m),()=>{c(m)}));return f.next=m=>{if(s!==m){s=m;for(const h of o)h.next(m)}},f.get=()=>s,f}function k2(n){return zr(s=>{function o(c=0,f=n.op){const m=n.links[c];if(!m)throw new Error("No more links to execute - did you forget to add an ending link?");return m({op:f,next(p){return o(c+1,p)}})}return o().subscribe(s)})}var ur=et(As(),1),yi=et(bn(),1);function z2(n){return n instanceof ko}function L2(n){return bs(n)&&bs(n.error)&&typeof n.error.code=="number"&&typeof n.error.message=="string"}function H2(n,s){return typeof n=="string"?n:bs(n)&&typeof n.message=="string"?n.message:s}var ko=class br extends Error{constructor(s,o){var l,c;const f=o?.cause;super(s,{cause:f}),(0,ur.default)(this,"cause",void 0),(0,ur.default)(this,"shape",void 0),(0,ur.default)(this,"data",void 0),(0,ur.default)(this,"meta",void 0),this.meta=o?.meta,this.cause=f,this.shape=o==null||(l=o.result)===null||l===void 0?void 0:l.error,this.data=o==null||(c=o.result)===null||c===void 0?void 0:c.error.data,this.name="TRPCClientError",Object.setPrototypeOf(this,br.prototype)}static from(s,o={}){const l=s;return z2(l)?(o.meta&&(l.meta=(0,yi.default)((0,yi.default)({},l.meta),o.meta)),l):L2(l)?new br(l.error.message,(0,yi.default)((0,yi.default)({},o),{},{result:l})):new br(H2(l,"Unknown error"),(0,yi.default)((0,yi.default)({},o),{},{cause:l}))}};function B2(n){const s=n;return s?"input"in s?s:{input:s,output:s}:{input:{serialize:o=>o,deserialize:o=>o},output:{serialize:o=>o,deserialize:o=>o}}}const Rg=n=>typeof n=="function";function U2(n){if(n)return n;if(typeof window<"u"&&Rg(window.fetch))return window.fetch;if(typeof globalThis<"u"&&Rg(globalThis.fetch))return globalThis.fetch;throw new Error("No fetch implementation found")}var To=et(bn());function P2(n){return{url:n.url.toString(),fetch:n.fetch,transformer:B2(n.transformer),methodOverride:n.methodOverride}}function F2(n){const s={};for(let o=0;o<n.length;o++){const l=n[o];s[o]=l}return s}const q2={query:"GET",mutation:"POST",subscription:"PATCH"};function yv(n){return"input"in n?n.transformer.input.serialize(n.input):F2(n.inputs.map(s=>n.transformer.input.serialize(s)))}const vv=n=>{const s=n.url.split("?");let l=s[0].replace(/\/$/,"")+"/"+n.path;const c=[];if(s[1]&&c.push(s[1]),"inputs"in n&&c.push("batch=1"),n.type==="query"||n.type==="subscription"){const f=yv(n);f!==void 0&&n.methodOverride!=="POST"&&c.push(`input=${encodeURIComponent(JSON.stringify(f))}`)}return c.length&&(l+="?"+c.join("&")),l},Q2=n=>{if(n.type==="query"&&n.methodOverride!=="POST")return;const s=yv(n);return s!==void 0?JSON.stringify(s):void 0},Y2=n=>K2((0,To.default)((0,To.default)({},n),{},{contentTypeHeader:"application/json",getUrl:vv,getBody:Q2}));var G2=class extends Error{constructor(){const n="AbortError";super(n),this.name=n,this.message=n}};const V2=n=>{var s;if(n?.aborted)throw(s=n.throwIfAborted)===null||s===void 0||s.call(n),typeof DOMException<"u"?new DOMException("AbortError","AbortError"):new G2};async function X2(n){var s;V2(n.signal);const o=n.getUrl(n),l=n.getBody(n),c=(s=n.methodOverride)!==null&&s!==void 0?s:q2[n.type],f=await(async()=>{const h=await n.headers();return Symbol.iterator in h?Object.fromEntries(h):h})(),m=(0,To.default)((0,To.default)((0,To.default)({},n.contentTypeHeader&&c!=="GET"?{"content-type":n.contentTypeHeader}:{}),n.trpcAcceptHeader?{"trpc-accept":n.trpcAcceptHeader}:void 0),f);return U2(n.fetch)(o,{method:c,signal:n.signal,body:l,headers:m})}async function K2(n){const s={},o=await X2(n);s.response=o;const l=await o.json();return s.responseJSON=l,{json:l,meta:s}}et(bn(),1);const Dg=()=>{throw new Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new")};function kg(n){let s=null,o=null;const l=()=>{clearTimeout(o),o=null,s=null};function c(h){const p=[[]];let v=0;for(;;){const w=h[v];if(!w)break;const S=p[p.length-1];if(w.aborted){var x;(x=w.reject)===null||x===void 0||x.call(w,new Error("Aborted")),v++;continue}if(n.validate(S.concat(w).map(A=>A.key))){S.push(w),v++;continue}if(S.length===0){var g;(g=w.reject)===null||g===void 0||g.call(w,new Error("Input is too big for a single dispatch")),v++;continue}p.push([])}return p}function f(){const h=c(s);l();
18for(const p of h){if(!p.length)continue;const v={items:p};for(const g of p)g.batch=v;n.fetch(v.items.map(g=>g.key)).then(async g=>{await Promise.all(g.map(async(S,N)=>{const A=v.items[N];try{var H;const Z=await Promise.resolve(S);(H=A.resolve)===null||H===void 0||H.call(A,Z)}catch(Z){var P;(P=A.reject)===null||P===void 0||P.call(A,Z)}A.batch=null,A.reject=null,A.resolve=null}));for(const S of v.items){var w;(w=S.reject)===null||w===void 0||w.call(S,new Error("Missing result")),S.batch=null}}).catch(g=>{for(const S of v.items){var w;(w=S.reject)===null||w===void 0||w.call(S,g),S.batch=null}})}}function m(h){var p;const v={aborted:!1,key:h,batch:null,resolve:Dg,reject:Dg},x=new Promise((g,w)=>{var S;v.reject=w,v.resolve=g,(S=s)!==null&&S!==void 0||(s=[]),s.push(v)});return(p=o)!==null&&p!==void 0||(o=setTimeout(f)),x}return{load:m}}function Z2(...n){const s=new AbortController,o=n.length;let l=0;const c=()=>{++l===o&&s.abort()};for(const f of n)f?.aborted?c():f?.addEventListener("abort",c,{once:!0});return s.signal}var dr=et(bn(),1);function $2(n){var s,o;const l=P2(n),c=(s=n.maxURLLength)!==null&&s!==void 0?s:1/0,f=(o=n.maxItems)!==null&&o!==void 0?o:1/0;return()=>{const m=x=>({validate(g){if(c===1/0&&f===1/0)return!0;if(g.length>f)return!1;const w=g.map(A=>A.path).join(","),S=g.map(A=>A.input);return vv((0,dr.default)((0,dr.default)({},l),{},{type:x,path:w,inputs:S,signal:null})).length<=c},async fetch(g){const w=g.map(Z=>Z.path).join(","),S=g.map(Z=>Z.input),N=Z2(...g.map(Z=>Z.signal)),A=await Y2((0,dr.default)((0,dr.default)({},l),{},{path:w,inputs:S,type:x,headers(){return n.headers?typeof n.headers=="function"?n.headers({opList:g}):n.headers:{}},signal:N}));return(Array.isArray(A.json)?A.json:g.map(()=>A.json)).map(Z=>({meta:A.meta,json:Z}))}}),h=kg(m("query")),p=kg(m("mutation")),v={query:h,mutation:p};return({op:x})=>zr(g=>{/* istanbul ignore if -- @preserve */if(x.type==="subscription")throw new Error("Subscriptions are unsupported by `httpLink` - use `httpSubscriptionLink` or `wsLink`");const S=v[x.type].load(x);let N;return S.then(A=>{N=A;const H=u2(A.json,l.transformer.output);if(!H.ok){g.error(ko.from(H.error,{meta:A.meta}));return}g.next({context:A.meta,result:H.result}),g.complete()}).catch(A=>{g.error(ko.from(A,{meta:N?.meta}))}),()=>{}})}}et(bn(),1);const xv=(n,...s)=>typeof n=="function"?n(...s):n;et(As(),1);function W2(){let n,s;return{promise:new Promise((l,c)=>{n=l,s=c}),resolve:n,reject:s}}async function J2(n){const s=await xv(n.url);if(!n.connectionParams)return s;const l=`${s.includes("?")?"&":"?"}connectionParams=1`;return s+l}async function I2(n){const s={method:"connectionParams",data:await xv(n)};return JSON.stringify(s)}et(As(),1);var gs=et(As(),1);function ew(n){const{promise:s,resolve:o,reject:l}=W2();return n.addEventListener("open",()=>{n.removeEventListener("error",l),o()}),n.addEventListener("error",l),s}function tw(n,{intervalMs:s,pongTimeoutMs:o}){let l,c;function f(){l=setTimeout(()=>{n.send("PING"),c=setTimeout(()=>{n.close()},o)},s)}function m(){clearTimeout(l),f()}function h(){clearTimeout(c),m()}n.addEventListener("open",f),n.addEventListener("message",({data:p})=>{clearTimeout(l),f(),p==="PONG"&&h()}),n.addEventListener("close",()=>{clearTimeout(l),clearTimeout(c)})}var nw=class zd{constructor(s){var o;if((0,gs.default)(this,"id",++zd.connectCount),(0,gs.default)(this,"WebSocketPonyfill",void 0),(0,gs.default)(this,"urlOptions",void 0),(0,gs.default)(this,"keepAliveOpts",void 0),(0,gs.default)(this,"wsObservable",D2(null)),(0,gs.default)(this,"openPromise",null),this.WebSocketPonyfill=(o=s.WebSocketPonyfill)!==null&&o!==void 0?o: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=s.urlOptions,this.keepAliveOpts=s.keepAlive}get ws(){return this.wsObservable.get()}set ws(s){this.wsObservable.next(s)}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 s=this;if(s.openPromise)return s.openPromise;s.id=++zd.connectCount;const o=J2(s.urlOptions).then(l=>new s.WebSocketPonyfill(l));s.openPromise=o.then(async l=>{s.ws=l,l.addEventListener("message",function({data:c}){c==="PING"&&this.send("PONG")}),s.keepAliveOpts.enabled&&tw(l,s.keepAliveOpts),l.addEventListener("close",()=>{s.ws===l&&(s.ws=null)}),await ew(l),s.urlOptions.connectionParams&&l.send(await I2(s.urlOptions.connectionParams))});try{await s.openPromise}finally{s.openPromise=null}}async close(){var s=this;try{await s.openPromise}finally{var o;(o=s.ws)===null||o===void 0||o.close()}}};(0,gs.default)(nw,"connectCount",0);et(As(),1);et(bn(),1);var fd=et(As(),1),zg=et(bn(),1),Lr=class{constructor(n){(0,fd.default)(this,"links",void 0),(0,fd.default)(this,"runtime",void 0),(0,fd.default)(this,"requestId",void 0),this.requestId=0,this.runtime={},this.links=n.links.map(s=>s(this.runtime))}$request(n){var s;return k2({links:this.links,op:(0,zg.default)((0,zg.default)({},n),{},{context:(s=n.context)!==null&&s!==void 0?s:{},id:++this.requestId})}).pipe(R2())}async requestAsPromise(n){var s=this;try{const o=s.$request(n);return(await f2(o)).result.data}catch(o){throw ko.from(o)}}query(n,s,o){return this.requestAsPromise({type:"query",path:n,input:s,context:o?.context,signal:o?.signal})}mutation(n,s,o){return this.requestAsPromise({type:"mutation",path:n,input:s,context:o?.context,signal:o?.signal})}subscription(n,s,o){return this.$request({type:"subscription",path:n,input:s,context:o.context,signal:o.signal}).subscribe({next(c){switch(c.result.type){case"state":{var f;(f=o.onConnectionStateChange)===null||f===void 0||f.call(o,c.result);break}case"started":{var m;(m=o.onStarted)===null||m===void 0||m.call(o,{context:c.context});break}case"stopped":{var h;(h=o.onStopped)===null||h===void 0||h.call(o);break}case"data":case void 0:{var p;(p=o.onData)===null||p===void 0||p.call(o,c.result.data);break}}},error(c){var f;(f=o.onError)===null||f===void 0||f.call(o,c)},complete(){var c;
18(c=o.onComplete)===null||c===void 0||c.call(o)}})}};const bv=Symbol.for("trpc_untypedClient"),aw={query:"query",mutate:"mutation",subscribe:"subscription"},sw=n=>aw[n];function wv(n){const s=kr(({path:o,args:l})=>{const c=[...o],f=sw(c.pop()),m=c.join(".");return n[f](m,...l)});return cf(o=>o===bv?n:s[o])}function iw(n){const s=new Lr(n);return wv(s)}function df(n){return n[bv]}et(bn(),1);et(bn(),1);var ow=Dn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(n,s){function o(c){var f,m,h,p=2;for(typeof Symbol<"u"&&(m=Symbol.asyncIterator,h=Symbol.iterator);p--;){if(m&&(f=c[m])!=null)return f.call(c);if(h&&(f=c[h])!=null)return new l(f.call(c));m="@@asyncIterator",h="@@iterator"}throw new TypeError("Object is not async iterable")}function l(c){function f(m){if(Object(m)!==m)return Promise.reject(new TypeError(m+" is not an object."));var h=m.done;return Promise.resolve(m.value).then(function(p){return{value:p,done:h}})}return l=function(h){this.s=h,this.n=h.next},l.prototype={s:null,n:null,next:function(){return f(this.n.apply(this.s,arguments))},return:function(h){var p=this.s.return;return p===void 0?Promise.resolve({value:h,done:!0}):f(p.apply(this.s,arguments))},throw:function(h){var p=this.s.return;return p===void 0?Promise.reject(h):f(p.apply(this.s,arguments))}},new l(c)}s.exports=o,s.exports.__esModule=!0,s.exports.default=s.exports}});et(ow(),1);et(bn(),1);var lw=Dn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(n,s){function o(){var l=typeof SuppressedError=="function"?SuppressedError:function(h,p){var v=Error();return v.name="SuppressedError",v.error=h,v.suppressed=p,v},c={},f=[];function m(h,p){if(p!=null){if(Object(p)!==p)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(h)var v=p[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(v===void 0&&(v=p[Symbol.dispose||Symbol.for("Symbol.dispose")],h))var x=v;if(typeof v!="function")throw new TypeError("Object is not disposable.");x&&(v=function(){try{x.call(p)}catch(w){return Promise.reject(w)}}),f.push({v:p,d:v,a:h})}else h&&f.push({d:p,a:h});return p}return{e:c,u:m.bind(null,!1),a:m.bind(null,!0),d:function(){var p,v=this.e,x=0;function g(){for(;p=f.pop();)try{if(!p.a&&x===1)return x=0,f.push(p),Promise.resolve().then(g);if(p.d){var S=p.d.call(p.v);if(p.a)return x|=2,Promise.resolve(S).then(g,w)}else x|=1}catch(N){return w(N)}if(x===1)return v!==c?Promise.reject(v):Promise.resolve();if(v!==c)throw v}function w(S){return v=v!==c?new l(S,v):S,g()}return g()}}}s.exports=o,s.exports.__esModule=!0,s.exports.default=s.exports}}),Cv=Dn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/OverloadYield.js"(n,s){function o(l,c){this.v=l,this.k=c}s.exports=o,s.exports.__esModule=!0,s.exports.default=s.exports}}),rw=Dn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/awaitAsyncGenerator.js"(n,s){var o=Cv();function l(c){return new o(c,0)}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),cw=Dn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/wrapAsyncGenerator.js"(n,s){var o=Cv();function l(f){return function(){return new c(f.apply(this,arguments))}}function c(f){var m,h;function p(x,g){try{var w=f[x](g),S=w.value,N=S instanceof o;Promise.resolve(N?S.v:S).then(function(A){if(N){var H=x==="return"?"return":"next";if(!S.k||A.done)return p(H,A);A=f[H](A).value}v(w.done?"return":"normal",A)},function(A){p("throw",A)})}catch(A){v("throw",A)}}function v(x,g){switch(x){case"return":m.resolve({value:g,done:!0});break;case"throw":m.reject(g);break;default:m.resolve({value:g,done:!1})}(m=m.next)?p(m.key,m.arg):h=null}this._invoke=function(x,g){return new Promise(function(w,S){var N={key:x,arg:g,resolve:w,reject:S,next:null};h?h=h.next=N:(m=h=N,p(x,g))})},typeof f.return!="function"&&(this.return=void 0)}c.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},c.prototype.next=function(f){return this._invoke("next",f)},c.prototype.throw=function(f){return this._invoke("throw",f)},c.prototype.return=function(f){return this._invoke("return",f)},s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}});et(lw(),1);et(rw(),1);et(cw(),1);et(bn(),1);function uw(n){return kr(({path:s,args:o})=>{var l;const c=[...s],f=c.pop();if(f==="useMutation")return n[f](c,...o);if(f==="_def")return{path:c};const[m,...h]=o,p=(l=h[0])!==null&&l!==void 0?l:{};return n[f](c,m,p)})}var md;const dw=["client","ssrContext","ssrState","abortOnUnmount"],fw=(md=C.createContext)===null||md===void 0?void 0:md.call(Xy,null),mw=n=>{switch(n){case"queryOptions":case"fetch":case"ensureData":case"prefetch":case"getData":case"setData":case"setQueriesData":return"query";case"infiniteQueryOptions":case"fetchInfinite":case"prefetchInfinite":case"getInfiniteData":case"setInfiniteData":return"infinite";case"setMutationDefaults":case"getMutationDefaults":case"isMutating":case"cancel":case"invali
18date":case"refetch":case"reset":return"any"}};function hw(n){return kr(s=>{const o=[...s.path],l=o.pop(),c=[...s.args],f=c.shift(),m=mw(l),h=On(o,f,m);return{infiniteQueryOptions:()=>n.infiniteQueryOptions(o,h,c[0]),queryOptions:()=>n.queryOptions(o,h,...c),fetch:()=>n.fetchQuery(h,...c),fetchInfinite:()=>n.fetchInfiniteQuery(h,c[0]),prefetch:()=>n.prefetchQuery(h,...c),prefetchInfinite:()=>n.prefetchInfiniteQuery(h,c[0]),ensureData:()=>n.ensureQueryData(h,...c),invalidate:()=>n.invalidateQueries(h,...c),reset:()=>n.resetQueries(h,...c),refetch:()=>n.refetchQueries(h,...c),cancel:()=>n.cancelQuery(h,...c),setData:()=>{n.setQueryData(h,c[0],c[1])},setQueriesData:()=>n.setQueriesData(h,c[0],c[1],c[2]),setInfiniteData:()=>{n.setInfiniteQueryData(h,c[0],c[1])},getData:()=>n.getQueryData(h),getInfiniteData:()=>n.getInfiniteQueryData(h),setMutationDefaults:()=>n.setMutationDefaults(xr(o),f),getMutationDefaults:()=>n.getMutationDefaults(xr(o)),isMutating:()=>n.isMutating({mutationKey:xr(o)})}[l]()})}function pw(n){const s=wv(n.client),o=hw(n);return cf(l=>{const c=l;return c==="client"?s:dw.includes(c)?n[c]:o[l]})}var gw=js(Go(),1);function Lg(n){const s=n instanceof Lr?n:df(n);return kr(o=>{const l=o.path,c=l.join("."),[f,m]=o.args;return(0,gw.default)({queryKey:On(l,f,"query"),queryFn:()=>s.query(c,f,m?.trpc)},m)})}var hd=js(Go(),1);function Nt(n,s,o){var l;const c=n[0];let f=(l=n[1])===null||l===void 0?void 0:l.input;if(o){var m;f=(0,hd.default)((0,hd.default)((0,hd.default)({},(m=f)!==null&&m!==void 0?m:{}),o.pageParam?{cursor:o.pageParam}:{}),{},{direction:o.direction})}return[c.join("."),f,s?.trpc]}var yw=Ya({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(n,s){function o(c){var f,m,h,p=2;for(typeof Symbol<"u"&&(m=Symbol.asyncIterator,h=Symbol.iterator);p--;){if(m&&(f=c[m])!=null)return f.call(c);if(h&&(f=c[h])!=null)return new l(f.call(c));m="@@asyncIterator",h="@@iterator"}throw new TypeError("Object is not async iterable")}function l(c){function f(m){if(Object(m)!==m)return Promise.reject(new TypeError(m+" is not an object."));var h=m.done;return Promise.resolve(m.value).then(function(p){return{value:p,done:h}})}return l=function(h){this.s=h,this.n=h.next},l.prototype={s:null,n:null,next:function(){return f(this.n.apply(this.s,arguments))},return:function(h){var p=this.s.return;return p===void 0?Promise.resolve({value:h,done:!0}):f(p.apply(this.s,arguments))},throw:function(h){var p=this.s.return;return p===void 0?Promise.reject(h):f(p.apply(this.s,arguments))}},new l(c)}s.exports=o,s.exports.__esModule=!0,s.exports.default=s.exports}}),vw=js(yw(),1);function Ld(n){return{path:n.path.join(".")}}function No(n){const s=Ld(n);return C.useMemo(()=>s,[s])}async function Sv(n,s,o){const c=s.getQueryCache().build(s,{queryKey:o});c.setState({data:[],status:"success"});const f=[];var m=!1,h=!1,p;try{for(var v=(0,vw.default)(n),x;m=!(x=await v.next()).done;m=!1){const g=x.value;f.push(g),c.setState({data:[...f]})}}catch(g){h=!0,p=g}finally{try{m&&v.return!=null&&await v.return()}finally{if(h)throw p}}return f}var Re=js(Go(),1);function xw(n){const{client:s,queryClient:o}=n,l=s instanceof Lr?s:df(s);return{infiniteQueryOptions:(c,f,m)=>{var h,p;const v=((h=f[1])===null||h===void 0?void 0:h.input)===Zt,x=async g=>{var w;const S=(0,Re.default)((0,Re.default)({},m),{},{trpc:(0,Re.default)((0,Re.default)({},m?.trpc),!(m==null||(w=m.trpc)===null||w===void 0)&&w.abortOnUnmount?{signal:g.signal}:{signal:null})});return await l.query(...Nt(f,S,{direction:g.direction,pageParam:g.pageParam}))};return Object.assign((0,Re.default)((0,Re.default)({},m),{},{initialData:m?.initialData,queryKey:f,queryFn:v?Zt:x,initialPageParam:(p=m?.initialCursor)!==null&&p!==void 0?p:null}),{trpc:Ld({path:c})})},queryOptions:(c,f,m)=>{var h;const p=((h=f[1])===null||h===void 0?void 0:h.input)===Zt,v=async x=>{var g;const w=(0,Re.default)((0,Re.default)({},m),{},{trpc:(0,Re.default)((0,Re.default)({},m?.trpc),!(m==null||(g=m.trpc)===null||g===void 0)&&g.abortOnUnmount?{signal:x.signal}:{signal:null})}),S=await l.query(...Nt(f,w));return sv(S)?Sv(S,o,f):S};return Object.assign((0,Re.default)((0,Re.default)({},m),{},{initialData:m?.initialData,queryKey:f,queryFn:p?Zt:v}),{trpc:Ld({path:c})})},fetchQuery:(c,f)=>o.fetchQuery((0,Re.default)((0,Re.default)({},f),{},{queryKey:c,queryFn:()=>l.query(...Nt(c,f))})),fetchInfiniteQuery:(c,f)=>{var m;return o.fetchInfiniteQuery((0,Re.default)((0,Re.default)({},f),{},{queryKey:c,queryFn:({pageParam:h,direction:p})=>l.query(...Nt(c,f,{pageParam:h,direction:p})),initialPageParam:(m=f?.initialCursor)!==null&&m!==void 0?m:null}))},prefetchQuery:(c,f)=>o.prefetchQuery((0,Re.default)((0,Re.default)({},f),{},{queryKey:c,queryFn:()=>l.query(...Nt(c,f))})),prefetchInfiniteQuery:(c,f)=>{var m;return o.prefetchInfiniteQuery((0,Re.default)((0,Re.default)({},f),{},{queryKey:c,queryFn:({pageParam:h,direction:p})=>l.query(...Nt(c,f,{pageParam:h,direction:p})),initialPageParam:(m=f?.initialCursor)!==null&&m!==void 0?m:null}))},ensureQueryData:(c,f)=>o.ensureQueryData((0,Re.default)((0,Re.default)({},f),{},{queryKey:c,queryFn:()=>l.query(...Nt(c,f))})),invalidateQueries:(c,f,m)=>o.invalidateQueries((0,Re.default)((0,Re.default)({},f),{},{queryKey:c}),m),resetQueries:(c,f,m)=>o.resetQueries((0,Re.default)((0,Re.default)({},f),{},{queryKey:c}),m),refetchQueries:(c,f,m)=>o.refetchQueries((0,Re.default)((0,Re.default)({},f),{},{queryKey:c}),m),cancelQuery:(c,f)=>o.cancelQueries({queryKey:c},f),setQueryData:(c,f,m)=>o.setQueryData(c,f,m),setQueriesData:(c,f,m,h)=>o.setQueriesData((0,Re.default)((0,Re.default)({},f),{},{queryKey:c}),m,h),getQueryData:c=>o.getQueryData(c),setInfiniteQueryData:(c,f,m)=>o.setQueryData(c,f,m),getInfiniteQueryData:c=>o.getQueryData(c),setMutationDefaults:(c,f)=>{const m=c[0],h=p=>l.mutation(...Nt([m,{input:p}],n));return o.setMutationDefaults(c,typeof f=="function"?f({canonicalMutationFn:h}):f)},getMutationDefaults:c=>o.getMutationDefaults(c),isMutating:c=>o.isMutating((0,Re.default)((0,Re.default)({},c),{},{exact:!0}))}}var oe=js(Go());const Hg=(n,s)=>new Proxy(n,{get(l,c){return s(c),l[c]}});function bw(n){var s,o;const l=(s=void 0)!==null&&s!==void 0?s:V=>V.originalFn(),c=(o=void 0)!==null&&o!==void 0?o:fw,f=iw,m=V=>{var K;const{abortOnUnmount:T=!1,queryClient:B,ssrContext:J}=V,[I,ae]=C.useState((K=V.ssrState)!==null&&K!==void 0?K:!1),ee=V.client instanceof Lr?V.client:df(V.client),le=C.useMemo(()=>xw({client:ee,queryClient:B}),[ee,B]),ie=C.useMemo(()=>(0,oe.default)({abortOnUnmount:T,queryClient:B,client:ee,ssrContext:J??null,ssrState:I},le),[T,ee,le,B,J,I]);return C.useEffect(()=>{ae(ce=>ce?"mounted":!1)},[]),d.jsx(c.Provider,{value:ie,children:V.children})};function h(){const V=C.useContext(c);if(!V)throw new Error("Unable to find tRPC Context. Did you forget to wrap your Ap
18p inside `withTRPC` HoC?");return V}function p(V,K){var T;const{queryClient:B,ssrState:J}=h();return J&&J!=="mounted"&&((T=B.getQueryCache().find({queryKey:V}))===null||T===void 0?void 0:T.state.status)==="error"?(0,oe.default)({retryOnMount:!1},K):K}function v(V,K,T){var B,J,I,ae,ee;const le=h(),{abortOnUnmount:ie,client:ce,ssrState:_,queryClient:U,prefetchQuery:R}=le,se=On(V,K,"query"),me=U.getQueryDefaults(se),E=K===Zt;typeof window>"u"&&_==="prepass"&&(T==null||(B=T.trpc)===null||B===void 0?void 0:B.ssr)!==!1&&((J=T?.enabled)!==null&&J!==void 0?J:me?.enabled)!==!1&&!E&&!U.getQueryCache().find({queryKey:se})&&R(se,T);const q=p(se,(0,oe.default)((0,oe.default)({},me),T)),z=(I=(ae=T==null||(ee=T.trpc)===null||ee===void 0?void 0:ee.abortOnUnmount)!==null&&ae!==void 0?ae:void 0)!==null&&I!==void 0?I:ie,Q=X1((0,oe.default)((0,oe.default)({},q),{},{queryKey:se,queryFn:E?K:async W=>{const he=(0,oe.default)((0,oe.default)({},q),{},{trpc:(0,oe.default)((0,oe.default)({},q?.trpc),z?{signal:W.signal}:{signal:null})}),re=await ce.query(...Nt(se,he));return sv(re)?Sv(re,U,se):re}}),U);return Q.trpc=No({path:V}),Q}function x(V,K,T){var B,J,I;const ae=h(),ee=On(V,K,"query"),le=K===Zt,ie=(B=(J=T==null||(I=T.trpc)===null||I===void 0?void 0:I.abortOnUnmount)!==null&&J!==void 0?J:void 0)!==null&&B!==void 0?B:ae.abortOnUnmount;W1((0,oe.default)((0,oe.default)({},T),{},{queryKey:ee,queryFn:le?K:ce=>{const _={trpc:(0,oe.default)((0,oe.default)({},T?.trpc),ie?{signal:ce.signal}:{})};return ae.client.query(...Nt(ee,_))}}))}function g(V,K,T){var B,J,I;const ae=h(),ee=On(V,K,"query"),le=(B=(J=T==null||(I=T.trpc)===null||I===void 0?void 0:I.abortOnUnmount)!==null&&J!==void 0?J:void 0)!==null&&B!==void 0?B:ae.abortOnUnmount,ie=K1((0,oe.default)((0,oe.default)({},T),{},{queryKey:ee,queryFn:ce=>{const _=(0,oe.default)((0,oe.default)({},T),{},{trpc:(0,oe.default)((0,oe.default)({},T?.trpc),le?{signal:ce.signal}:{signal:null})});return ae.client.query(...Nt(ee,_))}}),ae.queryClient);return ie.trpc=No({path:V}),[ie.data,ie]}function w(V,K){const{client:T,queryClient:B}=h(),J=xr(V),I=B.defaultMutationOptions(B.getMutationDefaults(J)),ae=I1((0,oe.default)((0,oe.default)({},K),{},{mutationKey:J,mutationFn:ee=>T.mutation(...Nt([V,{input:ee}],K)),onSuccess(...ee){var le,ie;return l({originalFn:()=>{var _,U,R;return(_=K==null||(U=K.onSuccess)===null||U===void 0?void 0:U.call(K,...ee))!==null&&_!==void 0?_:I==null||(R=I.onSuccess)===null||R===void 0?void 0:R.call(I,...ee)},queryClient:B,meta:(le=(ie=K?.meta)!==null&&ie!==void 0?ie:I?.meta)!==null&&le!==void 0?le:{}})}}),B);return ae.trpc=No({path:V}),ae}const S={data:void 0,error:null,status:"idle"},N={data:void 0,error:null,status:"connecting"};/* istanbul ignore next -- @preserve */function A(V,K,T){var B;const J=(B=T?.enabled)!==null&&B!==void 0?B:K!==Zt,I=Ua(On(V,K,"any")),{client:ae}=h(),ee=C.useRef(T);C.useEffect(()=>{ee.current=T});const[le]=C.useState(new Set([])),ie=C.useCallback(E=>{le.add(E)},[le]),ce=C.useRef(null),_=C.useCallback(E=>{const q=R.current,z=R.current=E(q);let Q=!1;for(const W of le)if(q[W]!==z[W]){Q=!0;break}Q&&me(Hg(z,ie))},[ie,le]),U=C.useCallback(()=>{var E;if((E=ce.current)===null||E===void 0||E.unsubscribe(),!J){_(()=>(0,oe.default)((0,oe.default)({},S),{},{reset:U}));return}_(()=>(0,oe.default)((0,oe.default)({},N),{},{reset:U}));const q=ae.subscription(V.join("."),K??void 0,{onStarted:()=>{var z,Q;(z=(Q=ee.current).onStarted)===null||z===void 0||z.call(Q),_(W=>(0,oe.default)((0,oe.default)({},W),{},{status:"pending",error:null}))},onData:z=>{var Q,W;(Q=(W=ee.current).onData)===null||Q===void 0||Q.call(W,z),_(he=>(0,oe.default)((0,oe.default)({},he),{},{status:"pending",data:z,error:null}))},onError:z=>{var Q,W;(Q=(W=ee.current).onError)===null||Q===void 0||Q.call(W,z),_(he=>(0,oe.default)((0,oe.default)({},he),{},{status:"error",error:z}))},onConnectionStateChange:z=>{_(Q=>{switch(z.state){case"idle":return(0,oe.default)((0,oe.default)({},Q),{},{status:z.state,error:null,data:void 0});case"connecting":return(0,oe.default)((0,oe.default)({},Q),{},{error:z.error,status:z.state});
18case"pending":return Q}})},onComplete:()=>{var z,Q;(z=(Q=ee.current).onComplete)===null||z===void 0||z.call(Q),_(W=>(0,oe.default)((0,oe.default)({},W),{},{status:"idle",error:null,data:void 0}))}});ce.current=q},[ae,I,J,_]);C.useEffect(()=>(U(),()=>{var E;(E=ce.current)===null||E===void 0||E.unsubscribe()}),[U]);const R=C.useRef(J?(0,oe.default)((0,oe.default)({},N),{},{reset:U}):(0,oe.default)((0,oe.default)({},S),{},{reset:U})),[se,me]=C.useState(Hg(R.current,ie));return se}function H(V,K,T){var B,J,I,ae,ee;const{client:le,ssrState:ie,prefetchInfiniteQuery:ce,queryClient:_,abortOnUnmount:U}=h(),R=On(V,K,"infinite"),se=_.getQueryDefaults(R),me=K===Zt;typeof window>"u"&&ie==="prepass"&&(T==null||(B=T.trpc)===null||B===void 0?void 0:B.ssr)!==!1&&((J=T?.enabled)!==null&&J!==void 0?J:se?.enabled)!==!1&&!me&&!_.getQueryCache().find({queryKey:R})&&ce(R,(0,oe.default)((0,oe.default)({},se),T));const E=p(R,(0,oe.default)((0,oe.default)({},se),T)),q=(I=T==null||(ae=T.trpc)===null||ae===void 0?void 0:ae.abortOnUnmount)!==null&&I!==void 0?I:U,z=e2((0,oe.default)((0,oe.default)({},E),{},{initialPageParam:(ee=T.initialCursor)!==null&&ee!==void 0?ee:null,persister:T.persister,queryKey:R,queryFn:me?K:Q=>{var W;const he=(0,oe.default)((0,oe.default)({},E),{},{trpc:(0,oe.default)((0,oe.default)({},E?.trpc),q?{signal:Q.signal}:{signal:null})});return le.query(...Nt(R,he,{pageParam:(W=Q.pageParam)!==null&&W!==void 0?W:T.initialCursor,direction:Q.direction}))}}),_);return z.trpc=No({path:V}),z}function P(V,K,T){var B,J,I;const ae=h(),ee=On(V,K,"infinite"),le=ae.queryClient.getQueryDefaults(ee),ie=K===Zt,ce=p(ee,(0,oe.default)((0,oe.default)({},le),T)),_=(B=T==null||(J=T.trpc)===null||J===void 0?void 0:J.abortOnUnmount)!==null&&B!==void 0?B:ae.abortOnUnmount;J1((0,oe.default)((0,oe.default)({},T),{},{initialPageParam:(I=T.initialCursor)!==null&&I!==void 0?I:null,queryKey:ee,queryFn:ie?K:U=>{var R;const se=(0,oe.default)((0,oe.default)({},ce),{},{trpc:(0,oe.default)((0,oe.default)({},ce?.trpc),_?{signal:U.signal}:{})});return ae.client.query(...Nt(ee,se,{pageParam:(R=U.pageParam)!==null&&R!==void 0?R:T.initialCursor,direction:U.direction}))}}))}function Z(V,K,T){var B,J,I;const ae=h(),ee=On(V,K,"infinite"),le=ae.queryClient.getQueryDefaults(ee),ie=p(ee,(0,oe.default)((0,oe.default)({},le),T)),ce=(B=T==null||(J=T.trpc)===null||J===void 0?void 0:J.abortOnUnmount)!==null&&B!==void 0?B:ae.abortOnUnmount,_=Z1((0,oe.default)((0,oe.default)({},T),{},{initialPageParam:(I=T.initialCursor)!==null&&I!==void 0?I:null,queryKey:ee,queryFn:U=>{var R;const se=(0,oe.default)((0,oe.default)({},ie),{},{trpc:(0,oe.default)((0,oe.default)({},ie?.trpc),ce?{signal:U.signal}:{})});return ae.client.query(...Nt(ee,se,{pageParam:(R=U.pageParam)!==null&&R!==void 0?R:T.initialCursor,direction:U.direction}))}}),ae.queryClient);return _.trpc=No({path:V}),[_.data,_]}return{Provider:m,createClient:f,useContext:h,useUtils:h,useQuery:v,usePrefetchQuery:x,useSuspenseQuery:g,useQueries:(V,K)=>{const{ssrState:T,queryClient:B,prefetchQuery:J,client:I}=h(),ae=Lg(I),ee=V(ae);if(typeof window>"u"&&T==="prepass")for(const ie of ee){var le;const ce=ie;((le=ce.trpc)===null||le===void 0?void 0:le.ssr)!==!1&&!B.getQueryCache().find({queryKey:ce.queryKey})&&J(ce.queryKey,ce)}return av({queries:ee.map(ie=>(0,oe.default)((0,oe.default)({},ie),{},{queryKey:ie.queryKey})),combine:K?.combine},B)},useSuspenseQueries:V=>{const{queryClient:K,client:T}=h(),B=Lg(T),J=V(B),I=$1({queries:J.map(ae=>(0,oe.default)((0,oe.default)({},ae),{},{queryFn:ae.queryFn,queryKey:ae.queryKey}))},K);return[I.map(ae=>ae.data),I]},useMutation:w,useSubscription:A,useInfiniteQuery:H,usePrefetchInfiniteQuery:P,useSuspenseInfiniteQuery:Z}}function ww(n){const s=uw(n);return cf(o=>o==="useContext"||o==="useUtils"?()=>{const l=n.useUtils();return C.useMemo(()=>pw(l),[l])}:n.hasOwnProperty(o)?n[o]:s[o])}function Cw(n){const s=bw();return ww(s)}const Hr=Cw(),Sw="Please login (10001)";var pd={exports:{}},_o={},gd={exports:{}},yd={};/**
19 * @license React
20 * scheduler.production.js
21 *
22 * Copyright (c) Meta Platforms, Inc. and affiliates.
23 *
24 * This source code is licensed under the MIT license found in the
25 * LICENSE file in the root directory of this source tree.
26 */var Bg;function Ew(){return Bg||(Bg=1,(function(n){function s(_,U){var R=_.length;_.push(U);e:for(;0<R;){var se=R-1>>>1,me=_[se];
vendor: 11,390 bytes, lines 26-42
26if(0<c(me,U))_[se]=U,_[R]=me,R=se;else break e}}function o(_){return _.length===0?null:_[0]}function l(_){if(_.length===0)return null;var U=_[0],R=_.pop();if(R!==U){_[0]=R;e:for(var se=0,me=_.length,E=me>>>1;se<E;){var q=2*(se+1)-1,z=_[q],Q=q+1,W=_[Q];if(0>c(z,R))Q<me&&0>c(W,z)?(_[se]=W,_[Q]=R,se=Q):(_[se]=z,_[q]=R,se=q);else if(Q<me&&0>c(W,R))_[se]=W,_[Q]=R,se=Q;else break e}}return U}function c(_,U){var R=_.sortIndex-U.sortIndex;return R!==0?R:_.id-U.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;n.unstable_now=function(){return f.now()}}else{var m=Date,h=m.now();n.unstable_now=function(){return m.now()-h}}var p=[],v=[],x=1,g=null,w=3,S=!1,N=!1,A=!1,H=!1,P=typeof setTimeout=="function"?setTimeout:null,Z=typeof clearTimeout=="function"?clearTimeout:null,$=typeof setImmediate<"u"?setImmediate:null;function ne(_){for(var U=o(v);U!==null;){if(U.callback===null)l(v);else if(U.startTime<=_)l(v),U.sortIndex=U.expirationTime,s(p,U);else break;U=o(v)}}function V(_){if(A=!1,ne(_),!N)if(o(p)!==null)N=!0,K||(K=!0,ee());else{var U=o(v);U!==null&&ce(V,U.startTime-_)}}var K=!1,T=-1,B=5,J=-1;function I(){return H?!0:!(n.unstable_now()-J<B)}function ae(){if(H=!1,K){var _=n.unstable_now();J=_;var U=!0;try{e:{N=!1,A&&(A=!1,Z(T),T=-1),S=!0;var R=w;try{t:{for(ne(_),g=o(p);g!==null&&!(g.expirationTime>_&&I());){var se=g.callback;if(typeof se=="function"){g.callback=null,w=g.priorityLevel;var me=se(g.expirationTime<=_);if(_=n.unstable_now(),typeof me=="function"){g.callback=me,ne(_),U=!0;break t}g===o(p)&&l(p),ne(_)}else l(p);g=o(p)}if(g!==null)U=!0;else{var E=o(v);E!==null&&ce(V,E.startTime-_),U=!1}}break e}finally{g=null,w=R,S=!1}U=void 0}}finally{U?ee():K=!1}}}var ee;if(typeof $=="function")ee=function(){$(ae)};else if(typeof MessageChannel<"u"){var le=new MessageChannel,ie=le.port2;le.port1.onmessage=ae,ee=function(){ie.postMessage(null)}}else ee=function(){P(ae,0)};function ce(_,U){T=P(function(){_(n.unstable_now())},U)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(_){_.callback=null},n.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):B=0<_?Math.floor(1e3/_):5},n.unstable_getCurrentPriorityLevel=function(){return w},n.unstable_next=function(_){switch(w){case 1:case 2:case 3:var U=3;break;default:U=w}var R=w;w=U;try{return _()}finally{w=R}},n.unstable_requestPaint=function(){H=!0},n.unstable_runWithPriority=function(_,U){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var R=w;w=_;try{return U()}finally{w=R}},n.unstable_scheduleCallback=function(_,U,R){var se=n.unstable_now();switch(typeof R=="object"&&R!==null?(R=R.delay,R=typeof R=="number"&&0<R?se+R:se):R=se,_){case 1:var me=-1;break;case 2:me=250;break;case 5:me=1073741823;break;case 4:me=1e4;break;default:me=5e3}return me=R+me,_={id:x++,callback:U,priorityLevel:_,startTime:R,expirationTime:me,sortIndex:-1},R>se?(_.sortIndex=R,s(v,_),o(p)===null&&_===o(v)&&(A?(Z(T),T=-1):A=!0,ce(V,R-se))):(_.sortIndex=me,s(p,_),N||S||(N=!0,K||(K=!0,ee()))),_},n.unstable_shouldYield=I,n.unstable_wrapCallback=function(_){var U=w;return function(){var R=w;w=U;try{return _.apply(this,arguments)}finally{w=R}}}})(yd)),yd}var Ug;function jw(){return Ug||(Ug=1,gd.exports=Ew()),gd.exports}var vd={exports:{}},bt={};/**
27 * @license React
28 * react-dom.production.js
29 *
30 * Copyright (c) Meta Platforms, Inc. and affiliates.
31 *
32 * This source code is licensed under the MIT license found in the
33 * LICENSE file in the root directory of this source tree.
34 */var Pg;function Aw(){if(Pg)return bt;Pg=1;var n=Mr();function s(p){var v="https://react.dev/errors/"+p;if(1<arguments.length){v+="?args[]="+encodeURIComponent(arguments[1]);for(var x=2;x<arguments.length;x++)v+="&args[]="+encodeURIComponent(arguments[x])}return"Minified React error #"+p+"; visit "+v+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var l={d:{f:o,r:function(){throw Error(s(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},c=Symbol.for("react.portal");function f(p,v,x){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:g==null?null:""+g,children:p,containerInfo:v,implementation:x}}var m=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(p,v){if(p==="font")return"";if(typeof v=="string")return v==="use-credentials"?v:""}return bt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=l,bt.createPortal=function(p,v){var x=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!v||v.nodeType!==1&&v.nodeType!==9&&v.nodeType!==11)throw Error(s(299));return f(p,v,null,x)},bt.flushSync=function(p){var v=m.T,x=l.p;try{if(m.T=null,l.p=2,p)return p()}finally{m.T=v,l.p=x,l.d.f()}},bt.preconnect=function(p,v){typeof p=="string"&&(v?(v=v.crossOrigin,v=typeof v=="string"?v==="use-credentials"?v:"":void 0):v=null,l.d.C(p,v))},bt.prefetchDNS=function(p){typeof p=="string"&&l.d.D(p)},bt.preinit=function(p,v){if(typeof p=="string"&&v&&typeof v.as=="string"){var x=v.as,g=h(x,v.crossOrigin),w=typeof v.integrity=="string"?v.integrity:void 0,S=typeof v.fetchPriority=="string"?v.fetchPriority:void 0;x==="style"?l.d.S(p,typeof v.precedence=="string"?v.precedence:void 0,{crossOrigin:g,integrity:w,fetchPriority:S}):x==="script"&&l.d.X(p,{crossOrigin:g,integrity:w,fetchPriority:S,nonce:typeof v.nonce=="string"?v.nonce:void 0})}},bt.preinitModule=function(p,v){if(typeof p=="string")if(typeof v=="object"&&v!==null){if(v.as==null||v.as==="script"){var x=h(v.as,v.crossOrigin);l.d.M(p,{crossOrigin:x,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0})}}else v==null&&l.d.M(p)},bt.preload=function(p,v){if(typeof p=="string"&&typeof v=="object"&&v!==null&&typeof v.as=="string"){var x=v.as,g=h(x,v.crossOrigin);l.d.L(p,x,{crossOrigin:g,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0,type:typeof v.type=="string"?v.type:void 0,fetchPriority:typeof v.fetchPriority=="string"?v.fetchPriority:void 0,referrerPolicy:typeof v.referrerPolicy=="string"?v.referrerPolicy:void 0,imageSrcSet:typeof v.imageSrcSet=="string"?v.imageSrcSet:void 0,imageSizes:typeof v.imageSizes=="string"?v.imageSizes:void 0,media:typeof v.media=="string"?v.media:void 0})}},bt.preloadModule=function(p,v){if(typeof p=="string")if(v){var x=h(v.as,v.crossOrigin);l.d.m(p,{as:typeof v.as=="string"&&v.as!=="script"?v.as:void 0,crossOrigin:x,integrity:typeof v.integrity=="string"?v.integrity:void 0})}else l.d.m(p)},bt.requestFormReset=function(p){l.d.r(p)},bt.unstable_batchedUpdates=function(p,v){return p(v)},bt.useFormState=function(p,v,x){return m.H.useFormState(p,v,x)},bt.useFormStatus=function(){return m.H.useHostTransitionStatus()},bt.version="19.2.1",bt}var Fg;function Ev(){if(Fg)return vd.exports;Fg=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(s){console.error(s)}}return n(),vd.exports=Aw(),vd.exports}/**
35 * @license React
36 * react-dom-client.production.js
37 *
38 * Copyright (c) Meta Platforms, Inc. and affiliates.
39 *
40 * This source code is licensed under the MIT license found in the
41 * LICENSE file in the root directory of this source tree.
42 */var qg;function Nw(){if(qg)return _o;qg=1;var n=jw(),s=Mr(),o=Ev();function l(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function m(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function h(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function p(e){if(f(e)!==e)throw Error(l(188))}function v(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(l(188));return t!==e?null:e}for(var a=e,i=t;;){var r=a.return;if(r===null)break;var u=r.alternate;if(u===null){if(i=r.return,i!==null){a=i;continue}break}if(r.child===u.child){for(u=r.child;u;){if(u===a)return p(r),e;if(u===i)return p(r),t;u=u.sibling}throw Error(l(188))}if(a.return!==i.return)a=r,i=u;else{for(var y=!1,b=r.child;b;){if(b===a){y=!0,a=r,i=u;break}if(b===i){y=!0,i=r,a=u;break}b=b.sibling}if(!y){for(b=u.child;b;){if(b===a){y=!0,a=u,i=r;break}if(b===i){y=!0,i=u,a=r;break}b=b.sibling}if(!y)throw Error(l(189))}}if(a.alternate!==i)throw Error(l(190))}if(a.tag!==3)throw Error(l(188));return a.stateNode.current===a?e:t}function x(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=x(e),t!==null)return t;e=e.sibling}return null}var g=Object.assign,w=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),N=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),H=Symbol.for("react.strict_mode"),P=Symbol.for("react.profiler"),Z=Symbol.for("react.consumer"),$=Symbol.for("react.context"),ne=Symbol.for("react.forward_ref"),V=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),B=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),I=Symbol.for("react.memo_cache_sentinel"),ae=Symbol.iterator;function ee(e){return e===null||typeof e!="object"?null:(e=ae&&e[ae]||e["@@iterator"],typeof e=="function"?e:null)}var le=Symbol.for("react.client.reference");function ie(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===le?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case A:return"Fragment";case P:return"Profiler";case H:return"StrictMode";case V:return"Suspense";case K:return"SuspenseList";case J:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case N:return"Portal";case $:return e.displayName||"Context";case Z:return(e._context.displayName||"Context")+".Consumer";case ne:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case T:return t=e.displayName||null,t!==null?t:ie(e.type)||"Memo";case B:t=e._payload,e=e._init;try{return ie(e(t))}catch{}}return null}var ce=Array.isArray,_=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R={pending:!1,data:null,method:null,action:null},se=[],me=-1;function E(e){return{current:e}}function q(e){0>me||(e.current=se[me],se[me]=null,me--)}function z(e,t){me++,se[me]=e.current,e.current=t}var Q=E(null),W=E(null),he=E(null),re=E(null);function ve(e,t){switch(z(he,t),z(W,e),z(Q,null),t.nodeType){case 9:case 11:e=(e
vendor: 11,205 bytes, lines 42-49
42=t.documentElement)&&(e=e.namespaceURI)?Fp(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Fp(t),e=qp(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}q(Q),z(Q,e)}function _e(){q(Q),q(W),q(he)}function dt(e){e.memoizedState!==null&&z(re,e);var t=Q.current,a=qp(t,e.type);t!==a&&(z(W,e),z(Q,a))}function Ct(e){W.current===e&&(q(Q),q(W)),re.current===e&&(q(re),Co._currentValue=R)}var ft,zn;function cn(e){if(ft===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);ft=t&&t[1]||"",zn=-1<a.stack.indexOf(`
43    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
44`+ft+e+zn}var Ti=!1;function Os(e,t){if(!e||Ti)return"";Ti=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(t){var X=function(){throw Error()};if(Object.defineProperty(X.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(X,[])}catch(F){var L=F}Reflect.construct(e,[],X)}else{try{X.call()}catch(F){L=F}e.call(X.prototype)}}else{try{throw Error()}catch(F){L=F}(X=e())&&typeof X.catch=="function"&&X.catch(function(){})}}catch(F){if(F&&L&&typeof F.stack=="string")return[F.stack,L.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=i.DetermineComponentFrameRoot(),y=u[0],b=u[1];if(y&&b){var j=y.split(`
45`),k=b.split(`
46`);for(r=i=0;i<j.length&&!j[i].includes("DetermineComponentFrameRoot");)i++;for(;r<k.length&&!k[r].includes("DetermineComponentFrameRoot");)r++;if(i===j.length||r===k.length)for(i=j.length-1,r=k.length-1;1<=i&&0<=r&&j[i]!==k[r];)r--;for(;1<=i&&0<=r;i--,r--)if(j[i]!==k[r]){if(i!==1||r!==1)do if(i--,r--,0>r||j[i]!==k[r]){var Y=`
47`+j[i].replace(" at new "," at ");return e.displayName&&Y.includes("<anonymous>")&&(Y=Y.replace("<anonymous>",e.displayName)),Y}while(1<=i&&0<=r);break}}}finally{Ti=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?cn(a):""}function Ga(e,t){switch(e.tag){case 26:case 27:case 5:return cn(e.type);case 16:return cn("Lazy");case 13:return e.child!==t&&t!==null?cn("Suspense Fallback"):cn("Suspense");case 19:return cn("SuspenseList");case 0:case 15:return Os(e.type,!1);case 11:return Os(e.type.render,!1);case 1:return Os(e.type,!0);case 31:return cn("Activity");default:return""}}function Mi(e){try{var t="",a=null;do t+=Ga(e,a),a=e,e=e.return;while(e);return t}catch(i){return`
48Error generating stack: `+i.message+`
49`+i.stack}}var Pt=Object.prototype.hasOwnProperty,Ri=n.unstable_scheduleCallback,Di=n.unstable_cancelCallback,St=n.unstable_shouldYield,la=n.unstable_requestPaint,Et=n.unstable_now,Wr=n.unstable_getCurrentPriorityLevel,Va=n.unstable_ImmediatePriority,Ko=n.unstable_UserBlockingPriority,Xa=n.unstable_NormalPriority,ki=n.unstable_LowPriority,Ln=n.unstable_IdlePriority,Zo=n.log,ra=n.unstable_setDisableYieldValue,Ka=null,jt=null;function un(e){if(typeof Zo=="function"&&ra(e),jt&&typeof jt.setStrictMode=="function")try{jt.setStrictMode(Ka,e)}catch{}}var vt=Math.clz32?Math.clz32:wn,Jr=Math.log,zi=Math.LN2;function wn(e){return e>>>=0,e===0?32:31-(Jr(e)/zi|0)|0}var Ts=256,Ms=262144,Za=4194304;function Cn(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&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 xe(e,t,a){var i=e.pendingLanes;if(i===0)return 0;var r=0,u=e.suspendedLanes,y=e.pingedLanes;e=e.warmLanes;var b=i&134217727;return b!==0?(i=b&~u,i!==0?r=Cn(i):(y&=b,y!==0?r=Cn(y):a||(a=b&~e,a!==0&&(r=Cn(a))))):(b=i&~u,b!==0?r=Cn(b):y!==0?r=Cn(y):a||(a=i&~e,a!==0&&(r=Cn(a)))),r===0?0:t!==0&&t!==r&&(t&u)===0&&(u=r&-r,a=t&-t,u>=a||u===32&&(a&4194048)!==0)?t:r}function Ve(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function rt(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function xt(){var e=Za;return Za<<=1,(Za&62914560)===0&&(Za=4194304),e}function ca(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function Ke(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ot(e,t,a,i,r,u){var y=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var b=e.entanglements,j=e.expirationTimes,k=e.hiddenUpdates;for(a=y&~a;0<a;){var Y=31-vt(a),X=1<<Y;b[Y]=0,j[Y]=-1;var L=k[Y];if(L!==null)for(k[Y]=null,Y=0;Y<L.length;Y++){var F=L[Y];F!==null&&(F.lane&=-536870913)}a&=~X}i!==0&&$a(e,i,0),u!==0&&r===0&&e.tag!==0&&(e.suspendedLanes|=u&~(y&~t))}function $a(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-vt(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|a&261930}function Tt(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var i=31-vt(a),r=1<<i;r&t|e[i]&t&&(e[i]|=t),a&=~r}}function Mt(e,t){var a=t&-t;return a=(a&42)!==0?1:Rs(a),(a&(e.suspendedLanes|t))!==0?0:a}function Rs(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 dn(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Ir(){var e=U.p;return e!==0?e:(e=window.event,e===void 0?32:dg(e.type))}function Nf(e,t){var a=U.p;try{return U.p=e,t()}finally{U.p=a}}var ua=Math.random().toString(36).slice(2),mt="__reactFiber$"+ua,Rt="__reactProps$"+ua,Ds="__reactContainer$"+ua,ec="__reactEvents$"+ua,s0="__reactListeners$"+ua,i0="__reactHandles$"+ua,_f="__reactResources$"+ua,Li="__reactMarker$"+ua;function tc(e){delete e[mt],delete e[Rt],delete e[ec],delete e[s0],delete e[i0]}function ks(e){var t=e[mt];if(t)return t;for(var a=e.parentNode;a;){if(t=a[Ds]||a[mt]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=Zp(e);e!==null;){if(a=e[mt])return a;e=Zp(e)}return t}e=a,a=e.parentNode}return null}function zs(e){if(e=e[mt]||e[Ds]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Hi(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(l(33))}function Ls(e){var t=e[_f];return t||(t=e[_f]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ct(e){e[Li]=!0}var Of=new Set,Tf={};function Wa(e,t){Hs(e,t),Hs(e+"Capture",t)}function Hs(e,t){for(Tf[e]=t,e=0;e<t.length;e++)Of.add(t[e])}var o0=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]*$"),Mf={},Rf={};function l0(e){return Pt.call(Rf,e)?!0:Pt.call(Mf,e)?!1:o0.test(e)?Rf[e]=!0:(Mf[e]=!0,!1)}function $o(e,t,a){if(l0(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function Wo(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function Hn(e,t,a,i){if(i===null)e.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+i)}}function Wt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Df(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function r0(e,t,a){var i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var r=i.get,u=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(y){a=""+y,u.call(this,y)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return a},setValue:function(y){a=""+y},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function nc(e){if(!e._valueTracker){var t=Df(e)?"checked":"value";e._valueTracker=r0(e,t,""+e[t])}}function kf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),i="";return e&&(i=Df(e)?e.checked?"true":"false":e.value),e=i,e!==a?(t.setValue(e),!0):!1}function Jo(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 c0=/[\n"\\]/g;function Jt(e){return e.replace(c0,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function ac(e,t,a,i,r,u,y,b){e.name="",y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?e.type=y:e.removeAttribute("type"),t!=null?y==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Wt(t)):e.value!==""+Wt(t)&&(e.value=""+Wt(t)):y!=="submit"&&y!=="reset"||e.removeAttribute("value"),t!=null?sc(e,y,Wt(t)):a!=null?sc(e,y,Wt(a)):i!=null&&e.removeAttribute("value"),r==null&&u!=null&&(e.defaultChecked=!!u),r!=null&&(e.checked=r&&typeof r!="function"&&typeof r!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.name=""+Wt(b):e.removeAttribute("name")}function zf(e,t,a,i,r,u,y,b){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||a!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){nc(e);return}a=a!=null?""+Wt(a):"",t=t!=null?""+Wt(t):a,b||t===e.value||(e.value=t),e.defaultValue=t}i=i??r,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=b?e.checked:!!i,e.defaultChecked=!!i,y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(e.name=y),nc(e)}function sc(e,t,a){t==="number"&&Jo(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}
vendor: 4,967 bytes, line 49
49function Bs(e,t,a,i){if(e=e.options,t){t={};for(var r=0;r<a.length;r++)t["$"+a[r]]=!0;for(a=0;a<e.length;a++)r=t.hasOwnProperty("$"+e[a].value),e[a].selected!==r&&(e[a].selected=r),r&&i&&(e[a].defaultSelected=!0)}else{for(a=""+Wt(a),t=null,r=0;r<e.length;r++){if(e[r].value===a){e[r].selected=!0,i&&(e[r].defaultSelected=!0);return}t!==null||e[r].disabled||(t=e[r])}t!==null&&(t.selected=!0)}}function Lf(e,t,a){if(t!=null&&(t=""+Wt(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+Wt(a):""}function Hf(e,t,a,i){if(t==null){if(i!=null){if(a!=null)throw Error(l(92));if(ce(i)){if(1<i.length)throw Error(l(93));i=i[0]}a=i}a==null&&(a=""),t=a}a=Wt(t),e.defaultValue=a,i=e.textContent,i===a&&i!==""&&i!==null&&(e.value=i),nc(e)}function Us(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var u0=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 Bf(e,t,a){var i=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?i?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":i?e.setProperty(t,a):typeof a!="number"||a===0||u0.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function Uf(e,t,a){if(t!=null&&typeof t!="object")throw Error(l(62));if(e=e.style,a!=null){for(var i in a)!a.hasOwnProperty(i)||t!=null&&t.hasOwnProperty(i)||(i.indexOf("--")===0?e.setProperty(i,""):i==="float"?e.cssFloat="":e[i]="");for(var r in t)i=t[r],t.hasOwnProperty(r)&&a[r]!==i&&Bf(e,r,i)}else for(var u in t)t.hasOwnProperty(u)&&Bf(e,u,t[u])}function ic(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 d0=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
49-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"]]),f0=/^[\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 Io(e){return f0.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Bn(){}var oc=null;function lc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ps=null,Fs=null;function Pf(e){var t=zs(e);if(t&&(e=t.stateNode)){var a=e[Rt]||null;e:switch(e=t.stateNode,t.type){case"input":if(ac(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+Jt(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var i=a[t];if(i!==e&&i.form===e.form){var r=i[Rt]||null;if(!r)throw Error(l(90));ac(i,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<a.length;t++)i=a[t],i.form===e.form&&kf(i)}break e;case"textarea":Lf(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&Bs(e,!!a.multiple,t,!1)}}}var rc=!1;function Ff(e,t,a){if(rc)return e(t,a);rc=!0;try{var i=e(t);return i}finally{if(rc=!1,(Ps!==null||Fs!==null)&&(Pl(),Ps&&(t=Ps,e=Fs,Fs=Ps=null,Pf(t),e)))for(t=0;t<e.length;t++)Pf(e[t])}}function Bi(e,t){var a=e.stateNode;if(a===null)return null;var i=a[Rt]||null;if(i===null)return null;a=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(l(231,t,typeof a));return a}var Un=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),cc=!1;if(Un)try{var Ui={};Object.defineProperty(Ui,"passive",{get:function(){cc=!0}}),window.addEventListener("test",Ui,Ui),window.removeEventListener("test",Ui,Ui)}catch{cc=!1}var da=null,uc=null,el=null;function qf(){if(el)return el;var e,t=uc,a=t.length,i,r="value"in da?da.value:da.textContent,u=r.length;for(e=0;e<a&&t[e]===r[e];e++);var y=a-e;for(i=1;i<=y&&t[a-i]===r[u-i];i++);return el=r.slice(e,1<i?1-i:void 0)}function tl(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function nl(){return!0}function Qf(){return!1}function Dt(e){function t(a,i,r,u,y){this._reactName=a,this._targetInst=r,this.type=i,this.nativeEvent=u,this.target=y,this.currentTarget=null;for(var b in e)e.hasOwnProperty(b)&&(a=e[b],this[b]=a?a(u):u[b]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?nl:Qf,this.isPropagationStopped=Qf,this}return g(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=nl)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=nl)},persist:function(){},isPersistent:nl}),t}var Ja={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},al=Dt(Ja),Pi=g({},Ja,{view:0,detail:0}),m0=Dt(Pi),dc,fc,Fi,sl=g({},Pi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:hc,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!==Fi&&(Fi&&e.type==="mousemove"?(dc=e.screenX-Fi.screenX,fc=e.screenY-Fi.screenY):fc=dc=0,Fi=e),dc)},movementY:function(e){return"movementY"in e?e.movementY:fc}}),Yf=Dt(sl),h0=g({},sl,{dataTransfer:0}),p0=Dt(h0),g0=g({},Pi,{relatedTarget:0}),mc=Dt(g0),y0=g({},Ja,{animationName:0,elapsedTime:0,pseudoElement:0}),v0=Dt(y0),x0=g({},Ja,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),b0=Dt(x0),w0=g({},Ja,{data:0}),Gf=Dt(w0),C0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},S0={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"},E0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function j0(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=E0[e])?!!t[e]:!1}function hc(){return j0}var A0=g({},Pi,{key:function(e){if(e.key){var t=C0[e.key]||e.key;if(t!=="Unidentified")return t}
vendor: 5,186 bytes, line 49
49return e.type==="keypress"?(e=tl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?S0[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:hc,charCode:function(e){return e.type==="keypress"?tl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?tl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),N0=Dt(A0),_0=g({},sl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Vf=Dt(_0),O0=g({},Pi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:hc}),T0=Dt(O0),M0=g({},Ja,{propertyName:0,elapsedTime:0,pseudoElement:0}),R0=Dt(M0),D0=g({},sl,{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}),k0=Dt(D0),z0=g({},Ja,{newState:0,oldState:0}),L0=Dt(z0),H0=[9,13,27,32],pc=Un&&"CompositionEvent"in window,qi=null;Un&&"documentMode"in document&&(qi=document.documentMode);var B0=Un&&"TextEvent"in window&&!qi,Xf=Un&&(!pc||qi&&8<qi&&11>=qi),Kf=" ",Zf=!1;function $f(e,t){switch(e){case"keyup":return H0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var qs=!1;function U0(e,t){switch(e){case"compositionend":return Wf(t);case"keypress":return t.which!==32?null:(Zf=!0,Kf);case"textInput":return e=t.data,e===Kf&&Zf?null:e;default:return null}}function P0(e,t){if(qs)return e==="compositionend"||!pc&&$f(e,t)?(e=qf(),el=uc=da=null,qs=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Xf&&t.locale!=="ko"?null:t.data;default:return null}}var F0={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 Jf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!F0[e.type]:t==="textarea"}function If(e,t,a,i){Ps?Fs?Fs.push(i):Fs=[i]:Ps=i,t=Xl(t,"onChange"),0<t.length&&(a=new al("onChange","change",null,a,i),e.push({event:a,listeners:t}))}var Qi=null,Yi=null;function q0(e){zp(e,0)}function il(e){var t=Hi(e);if(kf(t))return e}function em(e,t){if(e==="change")return t}var tm=!1;if(Un){var gc;if(Un){var yc="oninput"in document;if(!yc){var nm=document.createElement("div");nm.setAttribute("oninput","return;"),yc=typeof nm.oninput=="function"}gc=yc}else gc=!1;tm=gc&&(!document.documentMode||9<document.documentMode)}function am(){Qi&&(Qi.detachEvent("onpropertychange",sm),Yi=Qi=null)}function sm(e){if(e.propertyName==="value"&&il(Yi)){var t=[];If(t,Yi,e,lc(e)),Ff(q0,t)}}function Q0(e,t,a){e==="focusin"?(am(),Qi=t,Yi=a,Qi.attachEvent("onpropertychange",sm)):e==="focusout"&&am()}function Y0(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return il(Yi)}function G0(e,t){if(e==="click")return il(t)}function V0(e,t){if(e==="input"||e==="change")return il(t)}function X0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ft=typeof Object.is=="function"?Object.is:X0;function Gi(e,t){if(Ft(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(i=0;i<a.length;i++){var r=a[i];if(!Pt.call(t,r)||!Ft(e[r],t[r]))return!1}return!0}function im(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function om(e,t){var a=im(e);e=0;for(var i;a;){if(a.nodeType===3){if(i=e+a.textContent.length,e<=t&&i>=t)return{node:a,offset:t-e};e=i}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=im(a)}}function lm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?lm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function rm(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Jo(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=Jo(e.document)}return t}function vc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var K0=Un&&"documentMode"in document&&11>=document.documentMode,Qs=null,xc=null,Vi=null,bc=!1;function cm(e,t,a){var i=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;bc||Qs==null||Qs!==Jo(i)||(i=Qs,"selectionStart"in i&&vc(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focu
vendor: 19,000 bytes, line 49
49sNode:i.focusNode,focusOffset:i.focusOffset}),Vi&&Gi(Vi,i)||(Vi=i,i=Xl(xc,"onSelect"),0<i.length&&(t=new al("onSelect","select",null,t,a),e.push({event:t,listeners:i}),t.target=Qs)))}function Ia(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var Ys={animationend:Ia("Animation","AnimationEnd"),animationiteration:Ia("Animation","AnimationIteration"),animationstart:Ia("Animation","AnimationStart"),transitionrun:Ia("Transition","TransitionRun"),transitionstart:Ia("Transition","TransitionStart"),transitioncancel:Ia("Transition","TransitionCancel"),transitionend:Ia("Transition","TransitionEnd")},wc={},um={};Un&&(um=document.createElement("div").style,"AnimationEvent"in window||(delete Ys.animationend.animation,delete Ys.animationiteration.animation,delete Ys.animationstart.animation),"TransitionEvent"in window||delete Ys.transitionend.transition);function es(e){if(wc[e])return wc[e];if(!Ys[e])return e;var t=Ys[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in um)return wc[e]=t[a];return e}var dm=es("animationend"),fm=es("animationiteration"),mm=es("animationstart"),Z0=es("transitionrun"),$0=es("transitionstart"),W0=es("transitioncancel"),hm=es("transitionend"),pm=new Map,Cc="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(" ");Cc.push("scrollEnd");function fn(e,t){pm.set(e,t),Wa(t,[e])}var ol=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},It=[],Gs=0,Sc=0;function ll(){for(var e=Gs,t=Sc=Gs=0;t<e;){var a=It[t];It[t++]=null;var i=It[t];It[t++]=null;var r=It[t];It[t++]=null;var u=It[t];if(It[t++]=null,i!==null&&r!==null){var y=i.pending;y===null?r.next=r:(r.next=y.next,y.next=r),i.pending=r}u!==0&&gm(a,r,u)}}function rl(e,t,a,i){It[Gs++]=e,It[Gs++]=t,It[Gs++]=a,It[Gs++]=i,Sc|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function Ec(e,t,a,i){return rl(e,t,a,i),cl(e)}function ts(e,t){return rl(e,null,null,t),cl(e)}function gm(e,t,a){e.lanes|=a;var i=e.alternate;i!==null&&(i.lanes|=a);for(var r=!1,u=e.return;u!==null;)u.childLanes|=a,i=u.alternate,i!==null&&(i.childLanes|=a),u.tag===22&&(e=u.stateNode,e===null||e._visibility&1||(r=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,r&&t!==null&&(r=31-vt(a),e=u.hiddenUpdates,i=e[r],i===null?e[r]=[t]:i.push(t),t.lane=a|536870912),u):null}function cl(e){if(50<po)throw po=0,Du=null,Error(l(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Vs={};function J0(e,t,a,i){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function qt(e,t,a,i){return new J0(e,t,a,i)}function jc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Pn(e,t){var a=e.alternate;return a===null?(a=qt(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function ym(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ul(e,t,a,i,r,u){var y=0;if(i=e,typeof e=="function")jc(e)&&(y=1);else if(typeof e=="string")y=a1(e,a,Q.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case J:return e=qt(31,a,t,r),e.elementType=J,e.lanes=u,e;case A:return ns(a.children,r,u,t);case H:y=8,r|=24;break;case P:return e=qt(12,a,t,r|2),e.elementType=P,e.lanes=u,e;case V:return e=qt(13,a,t,r),e.elementType=V,e.lanes=u,e;case K:return e=qt(19,a,t,r),e.elementType=K,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case $:y=10;break e;case Z:y=9;break e;case ne:y=11;break e;case T:y=14;break e;case B:y=16,i=null;break e}y=29,a=Error(l(130,e===null?"null":typeof e,"")),i=null}return t=qt(y,a,t,r),t.elementType=e,t.type=i,t.lanes=u,t}function ns(e,t,a,i){return e=qt(7,e,i,t),e.lanes=a,e}function Ac(e,t,a){return e=qt(6,e,null,t),e.lanes=a,e}function vm(e){var t=qt(18,null,null,0);return t.stateNode=e,t}function Nc(e,t,a){return t=qt(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var xm=new WeakMap;function en(e,t){if(typeof e=="object"&&e!==null){var a=xm.get(e);return a!==void 0?a:(t={value:e,source:t,stack:Mi(t)},xm.set(e,t),t)}return{value:e,source:t,stack:Mi(t)}}var Xs=[],Ks=0,dl=null,Xi=0,tn=[],nn=0,fa=null,Sn=1,En="";function Fn(e,t){Xs[Ks++]=Xi,Xs[Ks++]=dl,dl=e,Xi=t}function bm(e,t,a){tn[nn++]=Sn,tn[nn++]=En,tn[nn++]=fa,fa=e;var i=Sn;e=En;var r=32-vt(i)-1;i&=~(1<<r),a+=1;var u=32-vt(t)+r;if(30<u){var y=r-r%5;u=(i&(1<<y)-1).toString(32),i>>=y,r-=y,Sn=1<<32-vt(t)+r|a<<r|i,En=u+e}else Sn=1<<u|a<<r|i,En=e}function _c(e){e.return!==null&&(Fn(e,1),bm(e,1,0))}function Oc(e){for(;e===dl;)dl=Xs[--Ks],Xs[Ks]=null,Xi=Xs[--Ks],Xs[Ks]=null;for(;e===fa;)fa=tn[--nn],tn[nn]=null,En=tn[--nn],tn[nn]=null,Sn=tn[--nn],tn[nn]=null}function wm(e,t){tn[nn++]=Sn,tn[nn++]=En,tn[nn++]=fa,Sn=t.id,En=t.overflow,fa=e}var ht=null,Ye=null,Oe=!1,ma=null,an=!1,Tc=Error(l(519));function ha(e){var t=Error(l(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ki(en(t,e)),Tc}function Cm(e){var t=e.stateNode,a=e.type,i=e.memoizedProps;switch(t[mt]=e,t[Rt]=i,a){case"dialog":je("cancel",t),je("close",t);break;case"iframe":case"object":case"embed":je("load",t);break;case"video":case"audio":for(a=0;a<yo.length;a++)je(yo[a],t);break;case"source":je("error",t);break;case"img":case"image":case"link":je("error",t),je("load",t);break;case"details":je("toggle",t);break;case"input":je("invalid",t),zf(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":je("invalid",t);break;case"textarea":je("invalid",t),Hf(t,i.value,i.defaultValue,i.children)}a=i.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||i.suppressHydrationWarning===!0||Up(t.textContent,a)?(i.popover!=null&&(je("beforetoggle",t),je("toggle",t)),i.onScroll!=null&&je("scroll",t),i.onScrollEnd!=null&&je("scrollend",t),i.onClick!=null&&(t.onclick=Bn),t=!0):t=!1,t||ha(e,!0)}function Sm(e){for(ht=e.return;ht;)switch(ht.tag){case 5:case 31:case 13:an=!1;return;case 27:case 3:an=!0;return;default:ht=ht.return}}function Zs(e){if(e!==ht)return!1;if(!Oe)return Sm(e),Oe=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||Ku(e.type,e.memoizedProps)),a=!a),a&&Ye&&ha(e),Sm(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(l(317));Ye=Kp(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(l(317));Ye=Kp(e)}else t===27?(t=Ye,_a(e.type)?(e=Iu,Iu=null,Ye=e):Ye=t):Ye=ht?on(e.stateNode.nextSibling):null;return!0}function as(){Ye=ht=null,Oe=!1}function Mc(){var e=ma;return e!==null&&(Ht===null?Ht=e:Ht.push.apply(Ht,e),ma=null),e}function Ki(e){ma===null?ma=[e]:ma.push(e)}var Rc=E(null),ss=null,qn=null;function pa(e,t,a){z(Rc,t._currentValue),t._currentValue=a}function Qn(e){e._currentValue=Rc.current,q(Rc)}function Dc(e,t,a){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===a)break;e=e.return}}function kc(e,t,a,i){var r=e.child;for(r!==null&&(r.return=e);r!==null;){var u=r.dependencies;if(u!==null){var y=r.child;u=u.firstContext;e:for(;u!==null;){var b=u;u=r;for(var j=0;j<t.length;j++)if(b.context===t[j]){u.lanes|=a,b=u.alternate,b!==null&&(b.lanes|=a),Dc(u.return,a,e),i||(y=null);break e}u=b.next}}else if(r.tag===18){if(y=r.return,y===null)throw Error(l(341));y.lanes|=a,u=y.alternate,u!==null&&(u.lanes|=a),Dc(y,a,e),y=null}else y=r.child;if(y!==null)y.return=r;else for(y=r;y!==null;){if(y===e){y=null;break}if(r=y.sibling,r!==null){r.return=y.return,y=r;break}y=y.return}r=y}}function $s(e,t,a,i){e=null;for(var r=t,u=!1;r!==null;){if(!u){if((r.flags&524288)!==0)u=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var y=r.alternate;if(y===null)throw Error(l(387));if(y=y.memoizedProps,y!==null){var b=r.type;Ft(r.pendingProps.value,y.value)||(e!==null?e.push(b):e=[b])}}else if(r===re.current){if(y=r.alternate,y===null)throw Error(l(387));y.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(e!==null?e.push(Co):e=[Co])}r=r.return}e!==null&&kc(t,e,a,i),t.flags|=262144}function fl(e){for(e=e.firstContext;e!==null;){if(!Ft(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function is(e){ss=e,qn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function pt(e){return Em(ss,e)}function ml(e,t){return ss===null&&is(e),Em(e,t)}function Em(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},qn===null){if(e===null)throw Error(l(308));qn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else qn=qn.next=t;return a}var I0=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,i){e.push(i)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},eb=n.unstable_scheduleCallback,tb=n.unstable_NormalPriority,nt={$$typeof:$,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function zc(){return{controller:new I0,data:new Map,refCount:0}}function Zi(e){e.refCount--,e.refCount===0&&eb(tb,function(){e.controller.abort()})}var $i=null,Lc=0,Ws=0,Js=null;function nb(e,t){if($i===null){var a=$i=[];Lc=0,Ws=Uu(),Js={status:"pending",value:void 0,then:function(i){a.push(i)}}}return Lc++,t.then(jm,jm),t}function jm(){if(--Lc===0&&$i!==null){Js!==null&&(Js.status="fulfilled");var e=$i;$i=null,Ws=0,Js=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function ab(e,t){var a=[],i={status:"pending",value:null,reason:null,then:function(r){a.push(r)}};return e.then(function(){i.status="fulfilled",i.value=t;for(var r=0;r<a.length;r++)(0,a[r])(t)},function(r){for(i.status="rejected",i.reason=r,r=0;r<a.length;r++)(0,a[r])(void 0)}),i}var Am=_.S;_.S=function(e,t){cp=Et(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&nb(e,t),Am!==null&&Am(e,t)};var os=E(null);function Hc(){var e=os.current;return e!==null?e:Fe.pooledCache}function hl(e,t){t===null?z(os,os.current):z(os,t.pool)}function Nm(){var e=Hc();return e===null?null:{parent:nt._currentValue,pool:e}}var Is=Error(l(460)),Bc=Error(l(474)),pl=Error(l(542)),gl={then:function(){}};function _m(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Om(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(Bn,Bn),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Mm(e),e;default:if(typeof t.status=="string")t.then(Bn,Bn);else{if(e=Fe,e!==null&&100<e.shellSuspendCounter)throw Error(l(482));e=t,e.status="pending",e.then(function(i){if(t.status==="pending"){var r=t;r.status="fulfilled",r.value=i}},function(i){if(t.status==="pending"){var r=t;r.status="rejected",r.reason=i}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Mm(e),e}throw rs=t,Is}}function ls(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(rs=a,Is):a}}var rs=null;function Tm(){if(rs===null)throw Error(l(459));var e=rs;return rs=null,e}function Mm(e){if(e===Is||e===pl)throw Error(l(483))}var ei=null,Wi=0;function yl(e){var t=Wi;return Wi+=1,ei===null&&(ei=[]),Om(ei,e,t)}function Ji(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function vl(e,t){throw t.$$typeof===w?Error(l(525)):(e=Object.prototype.toString.call(t),Error(l(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Rm(e){function t(M,O){if(e){var D=M.deletions;D===null?(M.deletions=[O],M.flags|=16):D.push(O)}}function a(M,O){if(!e)return null;for(;O!==null;)t(M,O),O=O.sibling;return null}function i(M){for(var O=new Map;M!==null;)M.key!==null?O.set(M.key,M):O.set(M.index,M),M=M.sibling;return O}function r(M,O){return M=Pn(M,O),M.index=0,M.sibling=null,M}function u(M,O,D){return M.index=D,e?(D=M.alternate,D!==null?(D=D.index,D<O?(M.flags|=67108866,O):D):(M.flags|=67108866,O)):(M.flags|=1048576,O)}function y(M){return e&&M.alternate===null&&(M.flags|=67108866),M}function b(M,O,D,G){return O===null||O.tag!==6?(O=Ac(D,M.mode,G),O.return=M,O):(O=r(O,D),O.return=M,O)}function j(M,O,D,G){var ge=D.type;return ge===A?Y(M,O,D.props.children,G,D.key):O!==null&&(O.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===B&&ls(ge)===O.type)?(O=r(O,D.props),Ji(O,D),O.return=M,O):(O=ul(D.type,D.key,D.props,null,M.mode,G),Ji(O,D),O.return=M,O)}function k(M,O,D,G){return O===null||O.tag!==4||O.stateNode.containerInfo!==D.containerInfo||O.stateNode.implementation!==D.implementation?(O=Nc(D,M.mode,G),O.return=M,O):(O=r(O,D.children||[]),O.return=M,O)}function Y(M,O,D,G,ge){return O===null||O.tag!==7?(O=ns(D,M.mode,G,ge),O.return=M,O):(O=r(O,D),O.return=M,O)}function X(M,O,D){if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return O=Ac(""+O,M.mode,D),O.return=M,O;if(typeof O=="object"&&O!==null){switch(O.$$typeof){case S:return D=ul(O.type,O.key,O.props,null,M.mode,D),Ji(D,O),D.return=M,D;case N:return O=Nc(O,M.mode,D),O.return=M,O;case B:return O=ls(O),X(M,O,D)}if(ce(O)||ee(O))return O=ns(O,M.mode,D,null),O.return=M,O;if(typeof O.then=="function")return X(M,yl(O),D);if(O.$$typeof===$)return X(M,ml(M,O),D);vl(M,O)}return null}function L(M,O,D,G){var ge=O!==null?O.key:null;if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return ge!==null?null:b(M,O,""+D,G);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case S:return D.key===ge?j(M,O,D,G):null;case N:return D.key===ge?k(M,O,D,G):null;case B:return D=ls(D),L(M,O,D,G)}if(ce(D)||ee(D))return ge!==null?null:Y(M,O,D,G,null);if(typeof D.then=="function")return L(M,O,yl(D),G);if(D.$$typeof===$)return L(M,O,ml(M,D),G);vl(M,D)}return null}function F(M,O,D,G,ge){if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return M=M.get(D)||null,b(O,M,""+G,ge);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case S:return M=M.get(G.key===null?D:G.key)||null,j(O,M,G,ge);case N:return M=M.get(G.key===null?D:G.key)||null,k(O,M,G,ge);case B:return G=ls(G),F(M,O,D,G,ge)}if(ce(G)||ee(G))return M=M.get(D)||null,Y(O,M,G,ge,null);if(typeof G.then=="function")return F(M,O,D,yl(G),ge);if(G.$$typeof===$)return F(M,O,D,ml(O,G),ge);vl(O,G)}return null}function ue(M,O,D,G){for(var ge=null,Te=null,pe=O,Ce=O=0,Ne=null;pe!==null&&Ce<D.length;Ce++){pe.index>Ce?(Ne=pe,pe=null):Ne=pe.sibling;var Me=L(M,pe,D[Ce],G);if(Me===null){pe===null&&(pe=Ne);break}e&&pe&&Me.alternate===null&&t(M,pe),O=u(Me,O,Ce),Te===null?ge=Me:Te.sibling=Me,Te=Me,pe=Ne}if(Ce===D.length)return a(M,pe),Oe&&Fn(M,Ce),ge;if(pe===null){for(;Ce<D.length;Ce++)pe=X(M,D[Ce],G),pe!==null&&(O=u(pe,O,Ce),Te===null?ge=pe:Te.sibling=pe,Te=pe);return Oe&&Fn(M,Ce),ge}for(pe=i(pe);Ce<D.length;Ce++)Ne=F(pe,M,Ce,D[Ce],G),Ne!==null&&(e&&Ne.alternate!==null&&pe.delete(Ne.key===null?Ce:Ne.key),O=u(Ne,O,Ce),Te===null?ge=Ne:Te.sibling=Ne,Te=Ne);return e&&pe.forEach(function(Da){return t(M,Da)}),Oe&&Fn(M,Ce),ge}function ye(M,O,D,G){if(D==null)throw Error(l(151));for(var ge=null,Te=null,pe=O,Ce=O=0,Ne=null,Me=D.next();pe!==null&&!Me.done;Ce++,Me=D.next()){pe.index>Ce?(Ne=pe,pe=null):Ne=pe.sibling;var Da=L(M,pe,Me.value,G);if(Da===null){pe===null&&(pe=Ne);break}e&&pe&&Da.alternate===null&&t(M,pe),O=u(Da,O,Ce),Te===null?ge=Da:Te.sibling=Da,Te=Da,pe=Ne}if(Me.done)return a(M,pe),Oe&&Fn(M,Ce),ge;if(pe===null){for(;!Me.done;Ce++,Me=D.next())Me=X(M,Me.value,G),Me!==null&&(O=u(Me,O,Ce),Te===null?ge=Me:Te.sibling=Me,Te=Me);return Oe&&Fn(M,Ce),ge}for(pe=i(pe);!Me.done;Ce++,Me=D.next())Me=F(pe,M,Ce,Me.value,G),Me!==null&&(e&&Me.alternate!==null&&pe.delete(Me.key===null?Ce:Me.key),O=u(Me,O,Ce),Te===null?ge=Me:Te.sibling=Me,Te=Me);return e&&pe.forEach(function(h1){return t(M,h1)}),Oe&&Fn(M,Ce),ge}function Pe(M,O,D,G){if(typeof D=="object"&&D!==null&&D.type===A&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case S:e:{for(var ge=D.key;O!==null;){if(O.key===ge){if(ge=D.type,ge===A){if(O.tag===7){a(M,O.sibling),G=r(O,D.props.children),G.return=M,M=G;break e}}else if(O.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===B&&ls(ge)===O.type){a(M,O.sibling),G=r(O,D.props),Ji(G,D),G.return=M,M=G;break e}a(M,O);break}else t(M,O);O=O.sibling}D.type===A?(G=ns(D.props.children,M.mode,G,D.key),G.return=M,M=G):(G=ul(D.type,D.key,D.props,null,M.mode,G),Ji(G,D),G.return=M,M=G)}return y(M);case N:e:{for(ge=D.key;O!==null;){if(O.key===ge)if(O.tag===4&&O.stateNode.containerInfo===D.containerInfo&&O.stateNode.implementation===D.implementation){a(M,O.sibling),G=r(O,D.children||[]),G.return=M,M=G;break e}else{a(M,O);break}else t(M,O);O=O.sibling}G=Nc(D,M.mode,G),G.return=M,M=G}return y(M);case B:return D=ls(D),Pe(M,O,D,G)}if(ce(D))return ue(M,O,D,G);if(ee(D)){if(ge=ee(D),typeof ge!="function")throw Error(l(150));return D=ge.call(D),ye(M,O,D,G)}if(typeof D.then=="function")return Pe(M,O,yl(D),G);if(D.$$typeof===$)return Pe(M,O,ml(M,D),G);vl(M,D)}
vendor: 4,900 bytes, line 49
49return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,O!==null&&O.tag===6?(a(M,O.sibling),G=r(O,D),G.return=M,M=G):(a(M,O),G=Ac(D,M.mode,G),G.return=M,M=G),y(M)):a(M,O)}return function(M,O,D,G){try{Wi=0;var ge=Pe(M,O,D,G);return ei=null,ge}catch(pe){if(pe===Is||pe===pl)throw pe;var Te=qt(29,pe,null,M.mode);return Te.lanes=G,Te.return=M,Te}finally{}}}var cs=Rm(!0),Dm=Rm(!1),ga=!1;function Uc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Pc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ya(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function va(e,t,a){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(De&2)!==0){var r=i.pending;return r===null?t.next=t:(t.next=r.next,r.next=t),i.pending=t,t=cl(e),gm(e,null,a),t}return rl(e,i,t,a),cl(e)}function Ii(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,a|=i,t.lanes=a,Tt(e,a)}}function Fc(e,t){var a=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,a===i)){var r=null,u=null;if(a=a.firstBaseUpdate,a!==null){do{var y={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};u===null?r=u=y:u=u.next=y,a=a.next}while(a!==null);u===null?r=u=t:u=u.next=t}else r=u=t;a={baseState:i.baseState,firstBaseUpdate:r,lastBaseUpdate:u,shared:i.shared,callbacks:i.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var qc=!1;function eo(){if(qc){var e=Js;if(e!==null)throw e}}function to(e,t,a,i){qc=!1;var r=e.updateQueue;ga=!1;var u=r.firstBaseUpdate,y=r.lastBaseUpdate,b=r.shared.pending;if(b!==null){r.shared.pending=null;var j=b,k=j.next;j.next=null,y===null?u=k:y.next=k,y=j;var Y=e.alternate;Y!==null&&(Y=Y.updateQueue,b=Y.lastBaseUpdate,b!==y&&(b===null?Y.firstBaseUpdate=k:b.next=k,Y.lastBaseUpdate=j))}if(u!==null){var X=r.baseState;y=0,Y=k=j=null,b=u;do{var L=b.lane&-536870913,F=L!==b.lane;if(F?(Ae&L)===L:(i&L)===L){L!==0&&L===Ws&&(qc=!0),Y!==null&&(Y=Y.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});e:{var ue=e,ye=b;L=t;var Pe=a;switch(ye.tag){case 1:if(ue=ye.payload,typeof ue=="function"){X=ue.call(Pe,X,L);break e}X=ue;break e;case 3:ue.flags=ue.flags&-65537|128;case 0:if(ue=ye.payload,L=typeof ue=="function"?ue.call(Pe,X,L):ue,L==null)break e;X=g({},X,L);break e;case 2:ga=!0}}L=b.callback,L!==null&&(e.flags|=64,F&&(e.flags|=8192),F=r.callbacks,F===null?r.callbacks=[L]:F.push(L))}else F={lane:L,tag:b.tag,payload:b.payload,callback:b.callback,next:null},Y===null?(k=Y=F,j=X):Y=Y.next=F,y|=L;if(b=b.next,b===null){if(b=r.shared.pending,b===null)break;F=b,b=F.next,F.next=null,r.lastBaseUpdate=F,r.shared.pending=null}}while(!0);Y===null&&(j=X),r.baseState=j,r.firstBaseUpdate=k,r.lastBaseUpdate=Y,u===null&&(r.shared.lanes=0),Sa|=y,e.lanes=y,e.memoizedState=X}}function km(e,t){if(typeof e!="function")throw Error(l(191,e));e.call(t)}function zm(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)km(a[e],t)}var ti=E(null),xl=E(0);function Lm(e,t){e=Jn,z(xl,e),z(ti,t),Jn=e|t.baseLanes}function Qc(){z(xl,Jn),z(ti,ti.current)}function Yc(){Jn=xl.current,q(ti),q(xl)}var Qt=E(null),sn=null;function xa(e){var t=e.alternate;z(Je,Je.current&1),z(Qt,e),sn===null&&(t===null||ti.current!==null||t.memoizedState!==null)&&(sn=e)}function Gc(e){z(Je,Je.current),z(Qt,e),sn===null&&(sn=e)}function Hm(e){e.tag===22?(z(Je,Je.current),z(Qt,e),sn===null&&(sn=e)):ba()}function ba(){z(Je,Je.current),z(Qt,Qt.current)}function Yt(e){q(Qt),sn===e&&(sn=null),q(Je)}var Je=E(0);function bl(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Wu(a)||Ju(a)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Yn=0,we=null,Be=null,at=null,wl=!1,ni=!1,us=!1,Cl=0,no=0,ai=null,sb=0;function Ze(){throw Error(l(321))}function Vc(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!Ft(e[a],t[a]))return!1;return!0}function Xc(e,t,a,i,r,u){return Yn=u,we=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,_.H=e===null||e.memoizedState===null?bh:ru,us=!1,u=a(i,r),us=!1,ni&&(u=Um(t,a,i,r)),Bm(e),u}function Bm(e){_.H=io;var t=Be!==null&&Be.next!==null;if(Yn=0,at=Be=we=null,wl=!1,no=0,ai=null,t)throw Error(l(300));
vendor: 18,718 bytes, line 49
49e===null||st||(e=e.dependencies,e!==null&&fl(e)&&(st=!0))}function Um(e,t,a,i){we=e;var r=0;do{if(ni&&(ai=null),no=0,ni=!1,25<=r)throw Error(l(301));if(r+=1,at=Be=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}_.H=wh,u=t(a,i)}while(ni);return u}function ib(){var e=_.H,t=e.useState()[0];return t=typeof t.then=="function"?ao(t):t,e=e.useState()[0],(Be!==null?Be.memoizedState:null)!==e&&(we.flags|=1024),t}function Kc(){var e=Cl!==0;return Cl=0,e}function Zc(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function $c(e){if(wl){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}wl=!1}Yn=0,at=Be=we=null,ni=!1,no=Cl=0,ai=null}function At(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return at===null?we.memoizedState=at=e:at=at.next=e,at}function Ie(){if(Be===null){var e=we.alternate;e=e!==null?e.memoizedState:null}else e=Be.next;var t=at===null?we.memoizedState:at.next;if(t!==null)at=t,Be=e;else{if(e===null)throw we.alternate===null?Error(l(467)):Error(l(310));Be=e,e={memoizedState:Be.memoizedState,baseState:Be.baseState,baseQueue:Be.baseQueue,queue:Be.queue,next:null},at===null?we.memoizedState=at=e:at=at.next=e}return at}function Sl(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ao(e){var t=no;return no+=1,ai===null&&(ai=[]),e=Om(ai,e,t),t=we,(at===null?t.memoizedState:at.next)===null&&(t=t.alternate,_.H=t===null||t.memoizedState===null?bh:ru),e}function El(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ao(e);if(e.$$typeof===$)return pt(e)}throw Error(l(438,String(e)))}function Wc(e){var t=null,a=we.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var i=we.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(r){return r.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Sl(),we.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),i=0;i<e;i++)a[i]=I;return t.index++,a}function Gn(e,t){return typeof t=="function"?t(e):t}function jl(e){var t=Ie();return Jc(t,Be,e)}function Jc(e,t,a){var i=e.queue;if(i===null)throw Error(l(311));i.lastRenderedReducer=a;var r=e.baseQueue,u=i.pending;if(u!==null){if(r!==null){var y=r.next;r.next=u.next,u.next=y}t.baseQueue=r=u,i.pending=null}if(u=e.baseState,r===null)e.memoizedState=u;else{t=r.next;var b=y=null,j=null,k=t,Y=!1;do{var X=k.lane&-536870913;if(X!==k.lane?(Ae&X)===X:(Yn&X)===X){var L=k.revertLane;if(L===0)j!==null&&(j=j.next={lane:0,revertLane:0,gesture:null,action:k.action,hasEagerState:k.hasEagerState,eagerState:k.eagerState,next:null}),X===Ws&&(Y=!0);else if((Yn&L)===L){k=k.next,L===Ws&&(Y=!0);continue}else X={lane:0,revertLane:k.revertLane,gesture:null,action:k.action,hasEagerState:k.hasEagerState,eagerState:k.eagerState,next:null},j===null?(b=j=X,y=u):j=j.next=X,we.lanes|=L,Sa|=L;X=k.action,us&&a(u,X),u=k.hasEagerState?k.eagerState:a(u,X)}else L={lane:X,revertLane:k.revertLane,gesture:k.gesture,action:k.action,hasEagerState:k.hasEagerState,eagerState:k.eagerState,next:null},j===null?(b=j=L,y=u):j=j.next=L,we.lanes|=X,Sa|=X;k=k.next}while(k!==null&&k!==t);if(j===null?y=u:j.next=b,!Ft(u,e.memoizedState)&&(st=!0,Y&&(a=Js,a!==null)))throw a;e.memoizedState=u,e.baseState=y,e.baseQueue=j,i.lastRenderedState=u}return r===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function Ic(e){var t=Ie(),a=t.queue;if(a===null)throw Error(l(311));a.lastRenderedReducer=e;var i=a.dispatch,r=a.pending,u=t.memoizedState;if(r!==null){a.pending=null;var y=r=r.next;do u=e(u,y.action),y=y.next;while(y!==r);Ft(u,t.memoizedState)||(st=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),a.lastRenderedState=u}return[u,i]}function Pm(e,t,a){var i=we,r=Ie(),u=Oe;if(u){if(a===void 0)throw Error(l(407));a=a()}else a=t();var y=!Ft((Be||r).memoizedState,a);if(y&&(r.memoizedState=a,st=!0),r=r.queue,nu(Qm.bind(null,i,r,e),[e]),r.getSnapshot!==t||y||at!==null&&at.memoizedState.tag&1){if(i.flags|=2048,si(9,{destroy:void 0},qm.bind(null,i,r,a,t),null),Fe===null)throw Error(l(349));u||(Yn&127)!==0||Fm(i,t,a)}return a}function Fm(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=we.updateQueue,t===null?(t=Sl(),we.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function qm(e,t,a,i){t.value=a,t.getSnapshot=i,Ym(t)&&Gm(e)}function Qm(e,t,a){return a(function(){Ym(t)&&Gm(e)})}function Ym(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!Ft(e,a)}catch{return!0}}function Gm(e){var t=ts(e,2);t!==null&&Bt(t,e,2)}function eu(e){var t=At();if(typeof e=="function"){var a=e;if(e=a(),us){un(!0);try{a()}finally{un(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gn,lastRenderedState:e},t}function Vm(e,t,a,i){return e.baseState=a,Jc(e,Be,typeof i=="function"?i:Gn)}function ob(e,t,a,i,r){if(_l(e))throw Error(l(485));if(e=t.action,e!==null){var u={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(y){u.listeners.push(y)}};_.T!==null?a(!0):u.isTransition=!1,i(u),a=t.pending,a===null?(u.next=t.pending=u,Xm(t,u)):(u.next=a.next,t.pending=a.next=u)}}function Xm(e,t){var a=t.action,i=t.payload,r=e.state;if(t.isTransition){var u=_.T,y={};_.T=y;try{var b=a(r,i),j=_.S;j!==null&&j(y,b),Km(e,t,b)}catch(k){tu(e,t,k)}finally{u!==null&&y.types!==null&&(u.types=y.types),_.T=u}}else try{u=a(r,i),Km(e,t,u)}catch(k){tu(e,t,k)}}function Km(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(i){Zm(e,t,i)},function(i){return tu(e,t,i)}):Zm(e,t,a)}function Zm(e,t,a){t.status="fulfilled",t.value=a,$m(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,Xm(e,a)))}function tu(e,t,a){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=a,$m(t),t=t.next;while(t!==i)}e.action=null}function $m(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Wm(e,t){return t}function Jm(e,t){if(Oe){var a=Fe.formState;if(a!==null){e:{var i=we;if(Oe){if(Ye){t:{for(var r=Ye,u=an;r.nodeType!==8;){if(!u){r=null;break t}if(r=on(r.nextSibling),r===null){r=null;break t}}u=r.data,r=u==="F!"||u==="F"?r:null}if(r){Ye=on(r.nextSibling),i=r.data==="F!";break e}}ha(i)}i=!1}i&&(t=a[0])}}return a=At(),a.memoizedState=a.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wm,lastRenderedState:t},a.queue=i,a=yh.bind(null,we,i),i.dispatch=a,i=eu(!1),u=lu.bind(null,we,!1,i.queue),i=At(),r={state:t,dispatch:null,action:e,pending:null},i.queue=r,a=ob.bind(null,we,r,u,a),r.dispatch=a,i.memoizedState=e,[t,a,!1]}function Im(e){var t=Ie();return eh(t,Be,e)}function eh(e,t,a){if(t=Jc(e,t,Wm)[0],e=jl(Gn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=ao(t)}catch(y){throw y===Is?pl:y}else i=t;t=Ie();var r=t.queue,u=r.dispatch;return a!==t.memoizedState&&(we.flags|=2048,si(9,{destroy:void 0},lb.bind(null,r,a),null)),[i,u,e]}function lb(e,t){e.action=t}function th(e){var t=Ie(),a=Be;if(a!==null)return eh(t,a,e);Ie(),t=t.memoizedState,a=Ie();var i=a.queue.dispatch;return a.memoizedState=e,[t,i,!1]}function si(e,t,a,i){return e={tag:e,create:a,deps:i,inst:t,next:null},t=we.updateQueue,t===null&&(t=Sl(),we.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(i=a.next,a.next=e,e.next=i,t.lastEffect=e),e}function nh(){return Ie().memoizedState}function Al(e,t,a,i){var r=At();we.flags|=e,r.memoizedState=si(1|t,{destroy:void 0},a,i===void 0?null:i)}function Nl(e,t,a,i){var r=Ie();i=i===void 0?null:i;var u=r.memoizedState.inst;Be!==null&&i!==null&&Vc(i,Be.memoizedState.deps)?r.memoizedState=si(t,u,a,i):(we.flags|=e,r.memoizedState=si(1|t,u,a,i))}function ah(e,t){Al(8390656,8,e,t)}function nu(e,t){Nl(2048,8,e,t)}function rb(e){we.flags|=4;var t=we.updateQueue;if(t===null)t=Sl(),we.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function sh(e){var t=Ie().memoizedState;return rb({ref:t,nextImpl:e}),function(){if((De&2)!==0)throw Error(l(440));return t.impl.apply(void 0,arguments)}}function ih(e,t){return Nl(4,2,e,t)}function oh(e,t){return Nl(4,4,e,t)}function lh(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function rh(e,t,a){a=a!=null?a.concat([e]):null,Nl(4,4,lh.bind(null,t,e),a)}function au(){}function ch(e,t){var a=Ie();t=t===void 0?null:t;var i=a.memoizedState;return t!==null&&Vc(t,i[1])?i[0]:(a.memoizedState=[e,t],e)}function uh(e,t){var a=Ie();t=t===void 0?null:t;var i=a.memoizedState;if(t!==null&&Vc(t,i[1]))return i[0];if(i=e(),us){un(!0);try{e()}finally{un(!1)}}return a.memoizedState=[i,t],i}function su(e,t,a){return a===void 0||(Yn&1073741824)!==0&&(Ae&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=dp(),we.lanes|=e,Sa|=e,a)}function dh(e,t,a,i){return Ft(a,t)?a:ti.current!==null?(e=su(e,a,i),Ft(e,t)||(st=!0),e):(Yn&42)===0||(Yn&1073741824)!==0&&(Ae&261930)===0?(st=!0,e.memoizedState=a):(e=dp(),we.lanes|=e,Sa|=e,t)}function fh(e,t,a,i,r){var u=U.p;U.p=u!==0&&8>u?u:8;var y=_.T,b={};_.T=b,lu(e,!1,t,a);try{var j=r(),k=_.S;if(k!==null&&k(b,j),j!==null&&typeof j=="object"&&typeof j.then=="function"){var Y=ab(j,i);so(e,t,Y,Xt(e))}else so(e,t,i,Xt(e))}catch(X){so(e,t,{then:function(){},status:"rejected",reason:X},Xt())}finally{U.p=u,y!==null&&b.types!==null&&(y.types=b.types),_.T=y}}function cb(){}function iu(e,t,a,i){if(e.tag!==5)throw Error(l(476));var r=mh(e).queue;fh(e,r,t,R,a===null?cb:function(){return hh(e),a(i)})}function mh(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:R,baseState:R,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gn,lastRenderedState:R},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gn,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function hh(e){var t=mh(e);t.next===null&&(t=e.alternate.memoizedState),so(e,t.next.queue,{},Xt())}function ou(){return pt(Co)}function ph(){return Ie().memoizedState}function gh(){return Ie().memoizedState}function ub(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=Xt();e=ya(a);var i=va(t,e,a);i!==null&&(Bt(i,t,a),Ii(i,t,a)),t={cache:zc()},e.payload=t;return}t=t.return}}function db(e,t,a){var i=Xt();a={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},_l(e)?vh(t,a):(a=Ec(e,t,a,i),a!==null&&(Bt(a,e,i),xh(a,t,i)))}function yh(e,t,a){var i=Xt();so(e,t,a,i)}function so(e,t,a,i){var r={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(_l(e))vh(t,r);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var y=t.lastRenderedState,b=u(y,a);if(r.hasEagerState=!0,r.eagerState=b,Ft(b,y))return rl(e,t,r,0),Fe===null&&ll(),!1}catch{}finally{}if(a=Ec(e,t,r,i),a!==null)return Bt(a,e,i),xh(a,t,i),!0}return!1}function lu(e,t,a,i){if(i={lane:2,revertLane:Uu(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},_l(e)){if(t)throw Error(l(479))}else t=Ec(e,a,i,2),t!==null&&Bt(t,e,2)}function _l(e){var t=e.alternate;return e===we||t!==null&&t===we}function vh(e,t){ni=wl=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function xh(e,t,a){if((a&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,a|=i,t.lanes=a,Tt(e,a)}}var io={readContext:pt,use:El,useCallback:Ze,useContext:Ze,useEffect:Ze,useImperativeHandle:Ze,useLayoutEffect:Ze,useInsertionEffect:Ze,useMemo:Ze,useReducer:Ze,useRef:Ze,useState:Ze,useDebugValue:Ze,useDeferredValue:Ze,useTransition:Ze,useSyncExternalStore:Ze,useId:Ze,useHostTransitionStatus:Ze,useFormState:Ze,useActionState:Ze,useOptimistic:Ze,useMemoCache:Ze,useCacheRefresh:Ze};io.useEffectEvent=Ze;var bh={readContext:pt,use:El,useCallback:function(e,t){return At().memoizedState=[e,t===void 0?null:t],e},useContext:pt,useEffect:ah,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,Al(4194308,4,lh.bind(null,t,e),a)},useLayoutEffect:function(e,t){return Al(4194308,4,e,t)},useInsertionEffect:function(e,t){Al(4,2,e,t)},useMemo:function(e,t){var a=At();t=t===void 0?null:t;var i=e();if(us){un(!0);try{e()}finally{un(!1)}}return a.memoizedState=[i,t],i},useReducer:function(e,t,a){var i=At();if(a!==void 0){var r=a(t);if(us){un(!0);try{a(t)}finally{un(!1)}}}else r=t;return i.memoizedState=i.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},i.queue=e,e=e.dispatch=db.bind(null,we,e),[i.memoizedState,e]},useRef:function(e){var t=At();return e={current:e},t.memoizedState=e},useState:function(e){e=eu(e);var t=e.queue,a=yh.bind(null,we,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:au,useDeferredValue:function(e,t){var a=At();return su(a,e,t)},useTransition:function(){var e=eu(!1);return e=fh.bind(null,we,e.queue,!0,!1),At().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var i=we,r=At();if(Oe){if(a===void 0)throw Error(l(407));a=a()}else{if(a=t(),Fe===null)throw Error(l(349));(Ae&127)!==0||Fm(i,t,a)}r.memoizedState=a;var u={value:a,getSnapshot:t};return r.queue=u,ah(Qm.bind(null,i,u,e),[e]),i.flags|=2048,si(9,{destroy:void 0},qm.bind(null,i,u,a,t),null),a},useId:function(){var e=At(),t=Fe.identifierPrefix;if(Oe){var a=En,i=Sn;a=(i&~(1<<32-vt(i)-1)).toString(32)+a,t="_"+t+"R_"+a,a=Cl++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=sb++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:ou,useFormState:Jm,useActionState:Jm,useOptimistic:function(e){var t=At();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=lu.bind(null,we,!0,a),a.dispatch=t,[e,t]},useMemoCache:Wc,useCacheRefresh:function(){return At().memoizedState=ub.bind(null,we)},useEffectEvent:function(e){var t=At(),a={impl:e};return t.memoizedState=a,function(){if((De&2)!==0)throw Error(l(440));return a.impl.apply(void 0,arguments)}}},ru={readContext:pt,use:El,useCallback:ch,useContext:pt,useEffect:nu,useImperativeHandle:rh,useInsertionEffect:ih,useLayoutEffect:oh,useMemo:uh,useReducer:jl,useRef:nh,useState:function(){return jl(Gn)},useDebugValue:au,useDeferredValue:function(e,t){var a=Ie();return dh(a,Be.memoizedState,e,t)},useTransition:function(){var e=jl(Gn)[0],t=Ie().memoizedState;return[typeof e=="boolean"?e:ao(e),t]},useSyncExternalStore:Pm,useId:ph,useHostTransitionStatus:ou,useFormState:Im,useActionState:Im,useOptimistic:function(e,t){var a=Ie();return Vm(a,Be,e,t)},useMemoCache:Wc,useCacheRefresh:gh};ru.useEffectEvent=sh;var wh={readContext:pt,use:El,useCallback:ch,useContext:pt,useEffect:nu,useImperativeHandle:rh,useInsertionEffect:ih,useLayoutEffect:oh,useMemo:uh,useReducer:Ic,useRef:nh,useState:function(){return Ic(Gn)},useDebugValue:au,useDeferredValue:function(e,t){var a=Ie();return Be===null?su(a,e,t):dh(a,Be.memoizedState,e,t)},useTransition:function(){var e=Ic(Gn)[0],t=Ie().memoizedState;return[typeof e=="boolean"?e:ao(e),t]},useSyncExternalStore:Pm,useId:ph,useHostTransitionStatus:ou,useFormState:th,useActionState:th,useOptimistic:function(e,t){var a=Ie();return Be!==null?Vm(a,Be,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:Wc,useCacheRefresh:gh};wh.useEffectEvent=sh;function cu(e,t,a,i){t=e.memoizedState,a=a(i,t),a=a==null?t:g({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var uu={enqueueSetState:function(e,t,a){e=e._reactInternals;var i=Xt(),r=ya(i);r.payload=t,a!=null&&(r.callback=a),t=va(e,r,i),t!==null&&(Bt(t,e,i),Ii(t,e,i))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var i=Xt(),r=ya(i);r.tag=1,r.payload=t,a!=null&&(r.callback=a),t=va(e,r,i),t!==null&&(Bt(t,e,i),Ii(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Xt(),i=ya(a);i.tag=2,t!=null&&(i.callback=t),t=va(e,i,a),t!==null&&(Bt(t,e,a),Ii(t,e,a))}};function Ch(e,t,a,i,r,u,y){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(i,u,y):t.prototype&&t.prototype.isPureReactComponent?!Gi(a,i)||!Gi(r,u):!0}function Sh(e,t,a,i){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,i),t.state!==e&&uu.enqueueReplaceState(t,t.state,null)}function ds(e,t){var a=t;if("ref"in t){a={};for(var i in t)i!=="ref"&&(a[i]=t[i])}if(e=e.defaultProps){a===t&&(a=g({},a));for(var r in e)a[r]===void 0&&(a[r]=e[r])}return a}function Eh(e){ol(e)}function jh(e){console.error(e)}function Ah(e){ol(e)}function Ol(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(i){setTimeout(function(){throw i})}}function Nh(e,t,a){try{var i=e.onCaughtError;i(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function du(e,t,a){return a=ya(a),a.tag=3,a.payload={element:null},a.callback=function(){Ol(e,t)},a}function _h(e){return e=ya(e),e.tag=3,e}function Oh(e,t,a,i){var r=a.type.getDerivedStateFromError;if(typeof r=="function"){var u=i.value;e.payload=function(){return r(u)},e.callback=function(){Nh(t,a,i)}}var y=a.stateNode;y!==null&&typeof y.componentDidCatch=="function"&&(e.callback=function(){Nh(t,a,i),typeof r!="function"&&(Ea===null?Ea=new Set([this]):Ea.add(this));var b=i.stack;this.componentDidCatch(i.value,{componentStack:b!==null?b:""})})}function fb(e,t,a,i,r){if(a.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=a.alternate,t!==null&&$s(t,a,r,!0),a=Qt.current,a!==null){switch(a.tag){case 31:case 13:return sn===null?Fl():a.alternate===null&&$e===0&&($e=3),a.flags&=-257,a.flags|=65536,a.lanes=r,i===gl?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([i]):t.add(i),Lu(e,i,r)),!1;case 22:return a.flags|=65536,i===gl?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([i]):a.add(i)),Lu(e,i,r)),!1}throw Error(l(435,a.tag))}return Lu(e,i,r),Fl(),!1}if(Oe)return t=Qt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=r,i!==Tc&&(e=Error(l(422),{cause:i}),Ki(en(e,a)))):(i!==Tc&&(t=Error(l(423),{cause:i}),Ki(en(t,a))),e=e.current.alternate,e.flags|=65536,r&=-r,e.lanes|=r,i=en(i,a),r=du(e.stateNode,i,r),Fc(e,r),$e!==4&&($e=2)),!1;var u=Error(l(520),{cause:i});if(u=en(u,a),ho===null?ho=[u]:ho.push(u),$e!==4&&($e=2),t===null)return!0;
vendor: 21,284 bytes, line 49
49i=en(i,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=r&-r,a.lanes|=e,e=du(a.stateNode,i,e),Fc(a,e),!1;case 1:if(t=a.type,u=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(Ea===null||!Ea.has(u))))return a.flags|=65536,r&=-r,a.lanes|=r,r=_h(r),Oh(r,e,a,i),Fc(a,r),!1}a=a.return}while(a!==null);return!1}var fu=Error(l(461)),st=!1;function gt(e,t,a,i){t.child=e===null?Dm(t,null,a,i):cs(t,e.child,a,i)}function Th(e,t,a,i,r){a=a.render;var u=t.ref;if("ref"in i){var y={};for(var b in i)b!=="ref"&&(y[b]=i[b])}else y=i;return is(t),i=Xc(e,t,a,y,u,r),b=Kc(),e!==null&&!st?(Zc(e,t,r),Vn(e,t,r)):(Oe&&b&&_c(t),t.flags|=1,gt(e,t,i,r),t.child)}function Mh(e,t,a,i,r){if(e===null){var u=a.type;return typeof u=="function"&&!jc(u)&&u.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=u,Rh(e,t,u,i,r)):(e=ul(a.type,null,i,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!bu(e,r)){var y=u.memoizedProps;if(a=a.compare,a=a!==null?a:Gi,a(y,i)&&e.ref===t.ref)return Vn(e,t,r)}return t.flags|=1,e=Pn(u,i),e.ref=t.ref,e.return=t,t.child=e}function Rh(e,t,a,i,r){if(e!==null){var u=e.memoizedProps;if(Gi(u,i)&&e.ref===t.ref)if(st=!1,t.pendingProps=i=u,bu(e,r))(e.flags&131072)!==0&&(st=!0);else return t.lanes=e.lanes,Vn(e,t,r)}return mu(e,t,a,i,r)}function Dh(e,t,a,i){var r=i.children,u=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((t.flags&128)!==0){if(u=u!==null?u.baseLanes|a:a,e!==null){for(i=t.child=e.child,r=0;i!==null;)r=r|i.lanes|i.childLanes,i=i.sibling;i=r&~u}else i=0,t.child=null;return kh(e,t,u,a,i)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&hl(t,u!==null?u.cachePool:null),u!==null?Lm(t,u):Qc(),Hm(t);else return i=t.lanes=536870912,kh(e,t,u!==null?u.baseLanes|a:a,a,i)}else u!==null?(hl(t,u.cachePool),Lm(t,u),ba(),t.memoizedState=null):(e!==null&&hl(t,null),Qc(),ba());return gt(e,t,r,a),t.child}function oo(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function kh(e,t,a,i,r){var u=Hc();return u=u===null?null:{parent:nt._currentValue,pool:u},t.memoizedState={baseLanes:a,cachePool:u},e!==null&&hl(t,null),Qc(),Hm(t),e!==null&&$s(e,t,i,!0),t.childLanes=r,null}function Tl(e,t){return t=Rl({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function zh(e,t,a){return cs(t,e.child,null,a),e=Tl(t,t.pendingProps),e.flags|=2,Yt(t),t.memoizedState=null,e}function mb(e,t,a){var i=t.pendingProps,r=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Oe){if(i.mode==="hidden")return e=Tl(t,i),t.lanes=536870912,oo(null,e);if(Gc(t),(e=Ye)?(e=Xp(e,an),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:fa!==null?{id:Sn,overflow:En}:null,retryLane:536870912,hydrationErrors:null},a=vm(e),a.return=t,t.child=a,ht=t,Ye=null)):e=null,e===null)throw ha(t);return t.lanes=536870912,null}return Tl(t,i)}var u=e.memoizedState;if(u!==null){var y=u.dehydrated;if(Gc(t),r)if(t.flags&256)t.flags&=-257,t=zh(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(l(558));else if(st||$s(e,t,a,!1),r=(a&e.childLanes)!==0,st||r){if(i=Fe,i!==null&&(y=Mt(i,a),y!==0&&y!==u.retryLane))throw u.retryLane=y,ts(e,y),Bt(i,e,y),fu;Fl(),t=zh(e,t,a)}else e=u.treeContext,Ye=on(y.nextSibling),ht=t,Oe=!0,ma=null,an=!1,e!==null&&wm(t,e),t=Tl(t,i),t.flags|=4096;return t}return e=Pn(e.child,{mode:i.mode,children:i.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Ml(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(l(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function mu(e,t,a,i,r){return is(t),a=Xc(e,t,a,i,void 0,r),i=Kc(),e!==null&&!st?(Zc(e,t,r),Vn(e,t,r)):(Oe&&i&&_c(t),t.flags|=1,gt(e,t,a,r),t.child)}function Lh(e,t,a,i,r,u){return is(t),t.updateQueue=null,a=Um(t,i,a,r),Bm(e),i=Kc(),e!==null&&!st?(Zc(e,t,u),Vn(e,t,u)):(Oe&&i&&_c(t),t.flags|=1,gt(e,t,a,u),t.child)}function Hh(e,t,a,i,r){if(is(t),t.stateNode===null){var u=Vs,y=a.contextType;typeof y=="object"&&y!==null&&(u=pt(y)),u=new a(i,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=uu,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=i,u.state=t.memoizedState,u.refs={},Uc(t),y=a.contextType,u.context=typeof y=="object"&&y!==null?pt(y):Vs,u.state=t.memoizedState,y=a.getDerivedStateFromProps,typeof y=="function"&&(cu(t,a,y,i),u.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(y=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),y!==u.state&&uu.enqueueReplaceState(u,u.state,null),to(t,i,u,r),eo(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),i=!0}else if(e===null){u=t.stateNode;var b=t.memoizedProps,j=ds(a,b);u.props=j;var k=u.context,Y=a.contextType;y=Vs,typeof Y=="object"&&Y!==null&&(y=pt(Y));var X=a.getDerivedStateFromProps;Y=typeof X=="function"||typeof u.getSnapshotBeforeUpdate=="function",b=t.pendingProps!==b,Y||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(b||k!==y)&&Sh(t,u,i,y),ga=!1;var L=t.memoizedState;u.state=L,to(t,i,u,r),eo(),k=t.memoizedState,b||L!==k||ga?(typeof X=="function"&&(cu(t,a,X,i),k=t.memoizedState),(j=ga||Ch(t,a,j,i,L,k,y))?(Y||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=k),u.props=i,u.state=k,u.context=y,i=j):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{u=t.stateNode,Pc(e,t),y=t.memoizedProps,Y=ds(a,y),u.props=Y,X=t.pendingProps,L=u.context,k=a.contextType,j=Vs,typeof k=="object"&&k!==null&&(j=pt(k)),b=a.getDerivedStateFromProps,(k=typeof b=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(y!==X||L!==j)&&Sh(t,u,i,j),ga=!1,L=t.memoizedState,u.state=L,to(t,i,u,r),eo();var F=t.memoizedState;y!==X||L!==F||ga||e!==null&&e.dependencies!==null&&fl(e.dependencies)?(typeof b=="function"&&(cu(t,a,b,i),F=t.memoizedState),(Y=ga||Ch(t,a,Y,i,L,F,j)||e!==null&&e.dependencies!==null&&fl(e.dependencies))?(k||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(i,F,j),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(i,F,j)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||y===e.memoizedProps&&L===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&L===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=F),u.props=i,u.state=F,u.context=j,i=Y):(typeof u.componentDidUpdate!="function"||y===e.memoizedProps&&L===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&L===e.memoizedState||(t.flags|=1024),i=!1)}return u=i,Ml(e,t),i=(t.flags&128)!==0,u||i?(u=t.stateNode,a=i&&typeof a.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,e!==null&&i?(t.child=cs(t,e.child,null,r),t.child=cs(t,null,a,r)):gt(e,t,a,r),t.memoizedState=u.state,e=t.child):e=Vn(e,t,r),e}function Bh(e,t,a,i){return as(),t.flags|=256,gt(e,t,a,i),t.child}var hu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function pu(e){return{baseLanes:e,cachePool:Nm()}}function gu(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=Vt),e}function Uh(e,t,a){var i=t.pendingProps,r=!1,u=(t.flags&128)!==0,y;if((y=u)||(y=e!==null&&e.memoizedState===null?!1:(Je.current&2)!==0),y&&(r=!0,t.flags&=-129),y=(t.flags&32)!==0,t.flags&=-33,e===null){if(Oe){if(r?xa(t):ba(),(e=Ye)?(e=Xp(e,an),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:fa!==null?{id:Sn,overflow:En}:null,retryLane:536870912,hydrationErrors:null},a=vm(e),a.return=t,t.child=a,ht=t,Ye=null)):e=null,e===null)throw ha(t);return Ju(e)?t.lanes=32:t.lanes=536870912,null}var b=i.children;return i=i.fallback,r?(ba(),r=t.mode,b=Rl({mode:"hidden",children:b},r),i=ns(i,r,a,null),b.return=t,i.return=t,b.sibling=i,t.child=b,i=t.child,i.memoizedState=pu(a),i.childLanes=gu(e,y,a),t.memoizedState=hu,oo(null,i)):(xa(t),yu(t,b))}var j=e.memoizedState;if(j!==null&&(b=j.dehydrated,b!==null)){if(u)t.flags&256?(xa(t),t.flags&=-257,t=vu(e,t,a)):t.memoizedState!==null?(ba(),t.child=e.child,t.flags|=128,t=null):(ba(),b=i.fallback,r=t.mode,i=Rl({mode:"visible",children:i.children},r),b=ns(b,r,a,null),b.flags|=2,i.return=t,b.return=t,i.sibling=b,t.child=i,cs(t,e.child,null,a),i=t.child,i.memoizedState=pu(a),i.childLanes=gu(e,y,a),t.memoizedState=hu,t=oo(null,i));else if(xa(t),Ju(b)){if(y=b.nextSibling&&b.nextSibling.dataset,y)var k=y.dgst;y=k,i=Error(l(419)),i.stack="",i.digest=y,Ki({value:i,source:null,stack:null}),t=vu(e,t,a)}else if(st||$s(e,t,a,!1),y=(a&e.childLanes)!==0,st||y){if(y=Fe,y!==null&&(i=Mt(y,a),i!==0&&i!==j.retryLane))throw j.retryLane=i,ts(e,i),Bt(y,e,i),fu;Wu(b)||Fl(),t=vu(e,t,a)}else Wu(b)?(t.flags|=192,t.child=e.child,t=null):(e=j.treeContext,Ye=on(b.nextSibling),ht=t,Oe=!0,ma=null,an=!1,e!==null&&wm(t,e),t=yu(t,i.children),t.flags|=4096);return t}return r?(ba(),b=i.fallback,r=t.mode,j=e.child,k=j.sibling,i=Pn(j,{mode:"hidden",children:i.children}),i.subtreeFlags=j.subtreeFlags&65011712,k!==null?b=Pn(k,b):(b=ns(b,r,a,null),b.flags|=2),b.return=t,i.return=t,i.sibling=b,t.child=i,oo(null,i),i=t.child,b=e.child.memoizedState,b===null?b=pu(a):(r=b.cachePool,r!==null?(j=nt._currentValue,r=r.parent!==j?{parent:j,pool:j}:r):r=Nm(),b={baseLanes:b.baseLanes|a,cachePool:r}),i.memoizedState=b,i.childLanes=gu(e,y,a),t.memoizedState=hu,oo(e.child,i)):(xa(t),a=e.child,e=a.sibling,a=Pn(a,{mode:"visible",children:i.children}),a.return=t,a.sibling=null,e!==null&&(y=t.deletions,y===null?(t.deletions=[e],t.flags|=16):y.push(e)),t.child=a,t.memoizedState=null,a)}function yu(e,t){return t=Rl({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Rl(e,t){return e=qt(22,e,null,t),e.lanes=0,e}function vu(e,t,a){return cs(t,e.child,null,a),e=yu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ph(e,t,a){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),Dc(e.return,t,a)}function xu(e,t,a,i,r,u){var y=e.memoizedState;y===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:r,treeForkCount:u}:(y.isBackwards=t,y.rendering=null,y.renderingStartTime=0,y.last=i,y.tail=a,y.tailMode=r,y.treeForkCount=u)}function Fh(e,t,a){var i=t.pendingProps,r=i.revealOrder,u=i.tail;i=i.children;var y=Je.current,b=(y&2)!==0;if(b?(y=y&1|2,t.flags|=128):y&=1,z(Je,y),gt(e,t,i,a),i=Oe?Xi:0,!b&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ph(e,a,t);else if(e.tag===19)Ph(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(r){case"forwards":for(a=t.child,r=null;a!==null;)e=a.alternate,e!==null&&bl(e)===null&&(r=a),a=a.sibling;a=r,a===null?(r=t.child,t.child=null):(r=a.sibling,a.sibling=null),xu(t,!1,r,a,u,i);break;case"backwards":case"unstable_legacy-backwards":for(a=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&bl(e)===null){t.child=r;break}e=r.sibling,r.sibling=a,a=r,r=e}xu(t,!0,a,null,u,i);break;case"together":xu(t,!1,null,null,void 0,i);break;default:t.memoizedState=null}return t.child}function Vn(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),Sa|=t.lanes,(a&t.childLanes)===0)if(e!==null){if($s(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(l(153));if(t.child!==null){for(e=t.child,a=Pn(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=Pn(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function bu(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&fl(e)))}function hb(e,t,a){switch(t.tag){case 3:ve(t,t.stateNode.containerInfo),pa(t,nt,e.memoizedState.cache),as();break;case 27:case 5:dt(t);break;case 4:ve(t,t.stateNode.containerInfo);break;case 10:pa(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Gc(t),null;break;case 13:var i=t.memoizedState;if(i!==null)return i.dehydrated!==null?(xa(t),t.flags|=128,null):(a&t.child.childLanes)!==0?Uh(e,t,a):(xa(t),e=Vn(e,t,a),e!==null?e.sibling:null);xa(t);break;case 19:var r=(e.flags&128)!==0;if(i=(a&t.childLanes)!==0,i||($s(e,t,a,!1),i=(a&t.childLanes)!==0),r){if(i)return Fh(e,t,a);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),z(Je,Je.current),i)break;return null;case 22:return t.lanes=0,Dh(e,t,a,t.pendingProps);case 24:pa(t,nt,e.memoizedState.cache)}return Vn(e,t,a)}function qh(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)st=!0;else{if(!bu(e,a)&&(t.flags&128)===0)return st=!1,hb(e,t,a);st=(e.flags&131072)!==0}else st=!1,Oe&&(t.flags&1048576)!==0&&bm(t,Xi,t.index);switch(t.lanes=0,t.tag){case 16:e:{var i=t.pendingProps;if(e=ls(t.elementType),t.type=e,typeof e=="function")jc(e)?(i=ds(e,i),t.tag=1,t=Hh(null,t,e,i,a)):(t.tag=0,t=mu(null,t,e,i,a));else{if(e!=null){var r=e.$$typeof;if(r===ne){t.tag=11,t=Th(null,t,e,i,a);break e}else if(r===T){t.tag=14,t=Mh(null,t,e,i,a);break e}}throw t=ie(e)||e,Error(l(306,t,""))}}return t;case 0:return mu(e,t,t.type,t.pendingProps,a);case 1:return i=t.type,r=ds(i,t.pendingProps),Hh(e,t,i,r,a);case 3:e:{if(ve(t,t.stateNode.containerInfo),e===null)throw Error(l(387));i=t.pendingProps;var u=t.memoizedState;r=u.element,Pc(e,t),to(t,i,null,a);var y=t.memoizedState;if(i=y.cache,pa(t,nt,i),i!==u.cache&&kc(t,[nt],a,!0),eo(),i=y.element,u.isDehydrated)if(u={element:i,isDehydrated:!1,cache:y.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=Bh(e,t,i,a);break e}else if(i!==r){r=en(Error(l(424)),t),Ki(r),t=Bh(e,t,i,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Ye=on(e.firstChild),ht=t,Oe=!0,ma=null,an=!0,a=Dm(t,null,i,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(as(),i===r){t=Vn(e,t,a);break e}gt(e,t,i,a)}t=t.child}return t;case 26:return Ml(e,t),e===null?(a=Ip(t.type,null,t.pendingProps,null))?t.memoizedState=a:Oe||(a=t.type,e=t.pendingProps,i=Kl(he.current).createElement(a),i[mt]=t,i[Rt]=e,yt(i,a,e),ct(i),t.stateNode=i):t.memoizedState=Ip(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return dt(t),e===null&&Oe&&(i=t.stateNode=$p(t.type,t.pendingProps,he.current),ht=t,an=!0,r=Ye,_a(t.type)?(Iu=r,Ye=on(i.firstChild)):Ye=r),gt(e,t,t.pendingProps.children,a),Ml(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Oe&&((r=i=Ye)&&(i=Yb(i,t.type,t.pendingProps,an),i!==null?(t.stateNode=i,ht=t,Ye=on(i.firstChild),an=!1,r=!0):r=!1),r||ha(t)),dt(t),r=t.type,u=t.pendingProps,y=e!==null?e.memoizedProps:null,i=u.children,Ku(r,u)?i=null:y!==null&&Ku(r,y)&&(t.flags|=32),t.memoizedState!==null&&(r=Xc(e,t,ib,null,null,a),Co._currentValue=r),Ml(e,t),gt(e,t,i,a),t.child;case 6:return e===null&&Oe&&((e=a=Ye)&&(a=Gb(a,t.pendingProps,an),a!==null?(t.stateNode=a,ht=t,Ye=null,e=!0):e=!1),e||ha(t)),null;case 13:return Uh(e,t,a);case 4:return ve(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=cs(t,null,i,a):gt(e,t,i,a),t.child;case 11:return Th(e,t,t.type,t.pendingProps,a);case 7:return gt(e,t,t.pendingProps,a),t.child;case 8:return gt(e,t,t.pendingProps.children,a),t.child;case 12:return gt(e,t,t.pendingProps.children,a),t.child;case 10:return i=t.pendingProps,pa(t,t.type,i.value),gt(e,t,i.children,a),t.child;case 9:return r=t.type._context,i=t.pendingProps.children,is(t),r=pt(r),i=i(r),t.flags|=1,gt(e,t,i,a),t.child;case 14:return Mh(e,t,t.type,t.pendingProps,a);case 15:return Rh(e,t,t.type,t.pendingProps,a);case 19:return Fh(e,t,a);case 31:return mb(e,t,a);case 22:return Dh(e,t,a,t.pendingProps);case 24:return is(t),i=pt(nt),e===null?(r=Hc(),r===null&&(r=Fe,u=zc(),r.pooledCache=u,u.refCount++,u!==null&&(r.pooledCacheLanes|=a),r=u),t.memoizedState={parent:i,cache:r},Uc(t),pa(t,nt,r)):((e.lanes&a)!==0&&(Pc(e,t),to(t,null,null,a),eo()),r=e.memoizedState,u=t.memoizedState,r.parent!==i?(r={parent:i,cache:i},t.memoizedState=r,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=r),pa(t,nt,i)):(i=u.cache,pa(t,nt,i),i!==r.cache&&kc(t,[nt],a,!0))),gt(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(l(156,t.tag))}function Xn(e){e.flags|=4}function wu(e,t,a,i,r){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(r&335544128)===r)if(e.stateNode.complete)e.flags|=8192;else if(pp())e.flags|=8192;else throw rs=gl,Bc}else e.flags&=-16777217}function Qh(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!sg(t))if(pp())e.flags|=8192;else throw rs=gl,Bc}function Dl(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?xt():536870912,e.lanes|=t,ri|=t)}function lo(e,t){if(!Oe)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Ge(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,i=0;if(t)for(var r=e.child;r!==null;)a|=r.lanes|r.childLanes,i|=r.subtreeFlags&65011712,i|=r.flags&65011712,r.return=e,r=r.sibling;else for(r=e.child;r!==null;)a|=r.lanes|r.childLanes,i|=r.subtreeFlags,i|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=i,e.childLanes=a,t}function pb(e,t,a){var i=t.pendingProps;switch(Oc(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ge(t),null;case 1:return Ge(t),null;case 3:return a=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),Qn(nt),_e(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Zs(t)?Xn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Mc())),Ge(t),null;case 26:var r=t.type,u=t.memoizedState;return e===null?(Xn(t),u!==null?(Ge(t),Qh(t,u)):(Ge(t),wu(t,r,null,i,a))):u?u!==e.memoizedState?(Xn(t),Ge(t),Qh(t,u)):(Ge(t),t.flags&=-16777217):(e=e.memoizedProps,e!==i&&Xn(t),Ge(t),wu(t,r,e,i,a)),null;case 27:if(Ct(t),a=he.current,r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Xn(t);else{if(!i){if(t.stateNode===null)throw Error(l(166));return Ge(t),null}e=Q.current,Zs(t)?Cm(t):(e=$p(r,i,a),t.stateNode=e,Xn(t))}return Ge(t),null;case 5:if(Ct(t),r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Xn(t);else{if(!i){if(t.stateNode===null)throw Error(l(166));return Ge(t),null}if(u=Q.current,Zs(t))Cm(t);else{var y=Kl(he.current);switch(u){case 1:u=y.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:u=y.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":u=y.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":u=y.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":u=y.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof i.is=="string"?y.createElement("select",{is:i.is}):y.createElement("select"),i.multiple?u.multiple=!0:i.size&&(u.size=i.size);break;default:u=typeof i.is=="string"?y.createElement(r,{is:i.is}):y.createElement(r)}}u[mt]=t,u[Rt]=i;e:for(y=t.child;y!==null;){if(y.tag===5||y.tag===6)u.appendChild(y.stateNode);else if(y.tag!==4&&y.tag!==27&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===t)break e;for(;y.sibling===null;){if(y.return===null||y.return===t)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}t.stateNode=u;e:switch(yt(u,r,i),r){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&Xn(t)}}return Ge(t),wu(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&Xn(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error(l(166));if(e=he.current,Zs(t)){if(e=t.stateNode,a=t.memoizedProps,i=null,r=ht,r!==null)switch(r.tag){case 27:case 5:i=r.memoizedProps}e[mt]=t,e=!!(e.nodeValue===a||i!==null&&i.suppressHydrationWarning===!0||Up(e.n
vendor: 24,081 bytes, line 49
49odeValue,a)),e||ha(t,!0)}else e=Kl(e).createTextNode(i),e[mt]=t,t.stateNode=e}return Ge(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(i=Zs(t),a!==null){if(e===null){if(!i)throw Error(l(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(l(557));e[mt]=t}else as(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ge(t),e=!1}else a=Mc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(Yt(t),t):(Yt(t),null);if((t.flags&128)!==0)throw Error(l(558))}return Ge(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=Zs(t),i!==null&&i.dehydrated!==null){if(e===null){if(!r)throw Error(l(318));if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(l(317));r[mt]=t}else as(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ge(t),r=!1}else r=Mc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),r=!0;if(!r)return t.flags&256?(Yt(t),t):(Yt(t),null)}return Yt(t),(t.flags&128)!==0?(t.lanes=a,t):(a=i!==null,e=e!==null&&e.memoizedState!==null,a&&(i=t.child,r=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(r=i.alternate.memoizedState.cachePool.pool),u=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(u=i.memoizedState.cachePool.pool),u!==r&&(i.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),Dl(t,t.updateQueue),Ge(t),null);case 4:return _e(),e===null&&Qu(t.stateNode.containerInfo),Ge(t),null;case 10:return Qn(t.type),Ge(t),null;case 19:if(q(Je),i=t.memoizedState,i===null)return Ge(t),null;if(r=(t.flags&128)!==0,u=i.rendering,u===null)if(r)lo(i,!1);else{if($e!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=bl(e),u!==null){for(t.flags|=128,lo(i,!1),e=u.updateQueue,t.updateQueue=e,Dl(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)ym(a,e),a=a.sibling;return z(Je,Je.current&1|2),Oe&&Fn(t,i.treeForkCount),t.child}e=e.sibling}i.tail!==null&&Et()>Bl&&(t.flags|=128,r=!0,lo(i,!1),t.lanes=4194304)}else{if(!r)if(e=bl(u),e!==null){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,Dl(t,e),lo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!u.alternate&&!Oe)return Ge(t),null}else 2*Et()-i.renderingStartTime>Bl&&a!==536870912&&(t.flags|=128,r=!0,lo(i,!1),t.lanes=4194304);i.isBackwards?(u.sibling=t.child,t.child=u):(e=i.last,e!==null?e.sibling=u:t.child=u,i.last=u)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=Et(),e.sibling=null,a=Je.current,z(Je,r?a&1|2:a&1),Oe&&Fn(t,i.treeForkCount),e):(Ge(t),null);case 22:case 23:return Yt(t),Yc(),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(a&536870912)!==0&&(t.flags&128)===0&&(Ge(t),t.subtreeFlags&6&&(t.flags|=8192)):Ge(t),a=t.updateQueue,a!==null&&Dl(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==a&&(t.flags|=2048),e!==null&&q(os),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Qn(nt),Ge(t),null;case 25:return null;case 30:return null}throw Error(l(156,t.tag))}function gb(e,t){switch(Oc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Qn(nt),_e(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ct(t),null;case 31:if(t.memoizedState!==null){if(Yt(t),t.alternate===null)throw Error(l(340));as()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Yt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(l(340));as()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return q(Je),null;case 4:return _e(),null;case 10:return Qn(t.type),null;case 22:case 23:return Yt(t),Yc(),e!==null&&q(os),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Qn(nt),null;case 25:return null;default:return null}}function Yh(e,t){switch(Oc(t),t.tag){case 3:Qn(nt),_e();break;case 26:case 27:case 5:Ct(t);break;case 4:_e();break;case 31:t.memoizedState!==null&&Yt(t);break;case 13:Yt(t);break;case 19:q(Je);break;case 10:Qn(t.type);break;case 22:case 23:Yt(t),Yc(),e!==null&&q(os);break;case 24:Qn(nt)}}function ro(e,t){try{var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var r=i.next;a=r;do{if((a.tag&e)===e){i=void 0;var u=a.create,y=a.inst;i=u(),y.destroy=i}a=a.next}while(a!==r)}}catch(b){He(t,t.return,b)}}function wa(e,t,a){try{var i=t.updateQueue,r=i!==null?i.lastEffect:null;if(r!==null){var u=r.next;i=u;do{if((i.tag&e)===e){var y=i.inst,b=y.destroy;if(b!==void 0){y.destroy=void 0,r=t;var j=a,k=b;try{k()}catch(Y){He(r,j,Y)}}}i=i.next}while(i!==u)}}catch(Y){He(t,t.return,Y)}}function Gh(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{zm(t,a)}catch(i){He(e,e.return,i)}}}function Vh(e,t,a){a.props=ds(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(i){He(e,t,i)}}function co(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var i=e.stateNode;break;case 30:i=e.stateNode;break;default:i=e.stateNode}typeof a=="function"?e.refCleanup=a(i):a.current=i}}catch(r){He(e,t,r)}}function jn(e,t){var a=e.ref,i=e.refCleanup;if(a!==null)if(typeof i=="function")try{i()}catch(r){He(e,t,r)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(r){He(e,t,r)}else a.current=null}function Xh(e){var t=e.type,a=e.memoizedProps,i=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&i.focus();break e;case"img":a.src?i.src=a.src:a.srcSet&&(i.srcset=a.srcSet)}}catch(r){He(e,e.return,r)}}function Cu(e,t,a){try{var i=e.stateNode;Bb(i,e.type,a,t),i[Rt]=t}catch(r){He(e,e.return,r)}}function Kh(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&_a(e.type)||e.tag===4}function Su(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Kh(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&&_a(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Eu(e,t,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=Bn));else if(i!==4&&(i===27&&_a(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(Eu(e,t,a),e=e.sibling;e!==null;)Eu(e,t,a),e=e.sibling}function kl(e,t,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(i!==4&&(i===27&&_a(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(kl(e,t,a),e=e.sibling;e!==null;)kl(e,t,a),e=e.sibling}function Zh(e){var t=e.stateNode,a=e.memoizedProps;try{for(var i=e.type,r=t.attributes;r.length;)t.removeAttributeNode(r[0]);yt(t,i,a),t[mt]=e,t[Rt]=a}catch(u){He(e,e.return,u)}}var Kn=!1,it=!1,ju=!1,$h=typeof WeakSet=="function"?WeakSet:Set,ut=null;function yb(e,t){if(e=e.containerInfo,Vu=tr,e=rm(e),vc(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var i=a.getSelection&&a.getSelection();if(i&&i.rangeCount!==0){a=i.anchorNode;var r=i.anchorOffset,u=i.focusNode;i=i.focusOffset;try{a.nodeType,u.nodeType}catch{a=null;break e}var y=0,b=-1,j=-1,k=0,Y=0,X=e,L=null;t:for(;;){for(var F;X!==a||r!==0&&X.nodeType!==3||(b=y+r),X!==u||i!==0&&X.nodeType!==3||(j=y+i),X.nodeType===3&&(y+=X.nodeValue.length),(F=X.firstChild)!==null;)L=X,X=F;for(;;){if(X===e)break t;if(L===a&&++k===r&&(b=y),L===u&&++Y===i&&(j=y),(F=X.nextSibling)!==null)break;X=L,L=X.parentNode}X=F}a=b===-1||j===-1?null:{start:b,end:j}}else a=null}a=a||{start:0,end:0}}else a=null;for(Xu={focusedElem:e,selectionRange:a},tr=!1,ut=t;ut!==null;)if(t=ut,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ut=e;else for(;ut!==null;){switch(t=ut,u=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)r=e[a],r.ref.impl=r.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,a=t,r=u.memoizedProps,u=u.memoizedState,i=a.stateNode;try{var ue=ds(a.type,r);e=i.getSnapshotBeforeUpdate(ue,u),i.__reactInternalSnapshotBeforeUpdate=e}catch(ye){He(a,a.return,ye)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)$u(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":$u(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(l(163))}if(e=t.sibling,e!==null){e.return=t.return,ut=e;break}ut=t.return}}function Wh(e,t,a){var i=a.flags;switch(a.tag){case 0:case 11:case 15:$n(e,a),i&4&&ro(5,a);break;case 1:if($n(e,a),i&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(y){He(a,a.return,y)}else{var r=ds(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(r,t,e.__reactInternalSnapshotBeforeUpdate)}catch(y){He(a,a.return,y)}}i&64&&Gh(a),i&512&&co(a,a.return);break;case 3:if($n(e,a),i&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{zm(e,t)}catch(y){He(a,a.return,y)}}break;case 27:t===null&&i&4&&Zh(a);case 26:case 5:$n(e,a),t===null&&i&4&&Xh(a),i&512&&co(a,a.return);break;case 12:$n(e,a);break;case 31:$n(e,a),i&4&&ep(e,a);break;case 13:$n(e,a),i&4&&tp(e,a),i&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=Ab.bind(null,a),Vb(e,a))));break;case 22:if(i=a.memoizedState!==null||Kn,!i){t=t!==null&&t.memoizedState!==null||it,r=Kn;var u=it;Kn=i,(it=t)&&!u?Wn(e,a,(a.subtreeFlags&8772)!==0):$n(e,a),Kn=r,it=u}break;case 30:break;default:$n(e,a)}}function Jh(e){var t=e.alternate;t!==null&&(e.alternate=null,Jh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&tc(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Xe=null,kt=!1;function Zn(e,t,a){for(a=a.child;a!==null;)Ih(e,t,a),a=a.sibling}function Ih(e,t,a){if(jt&&typeof jt.onCommitFiberUnmount=="function")try{jt.onCommitFiberUnmount(Ka,a)}catch{}switch(a.tag){case 26:it||jn(a,t),Zn(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:it||jn(a,t);var i=Xe,r=kt;_a(a.type)&&(Xe=a.stateNode,kt=!1),Zn(e,t,a),xo(a.stateNode),Xe=i,kt=r;break;case 5:it||jn(a,t);case 6:if(i=Xe,r=kt,Xe=null,Zn(e,t,a),Xe=i,kt=r,Xe!==null)if(kt)try{(Xe.nodeType===9?Xe.body:Xe.nodeName==="HTML"?Xe.ownerDocument.body:Xe).removeChild(a.stateNode)}catch(u){He(a,t,u)}else try{Xe.removeChild(a.stateNode)}catch(u){He(a,t,u)}break;case 18:Xe!==null&&(kt?(e=Xe,Gp(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),gi(e)):Gp(Xe,a.stateNode));break;case 4:i=Xe,r=kt,Xe=a.stateNode.containerInfo,kt=!0,Zn(e,t,a),Xe=i,kt=r;break;case 0:case 11:case 14:case 15:wa(2,a,t),it||wa(4,a,t),Zn(e,t,a);break;case 1:it||(jn(a,t),i=a.stateNode,typeof i.componentWillUnmount=="function"&&Vh(a,t,i)),Zn(e,t,a);break;case 21:Zn(e,t,a);break;case 22:it=(i=it)||a.memoizedState!==null,Zn(e,t,a),it=i;break;default:Zn(e,t,a)}}function ep(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{gi(e)}catch(a){He(t,t.return,a)}}}function tp(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{gi(e)}catch(a){He(t,t.return,a)}}function vb(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new $h),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new $h),t;default:throw Error(l(435,e.tag))}}function zl(e,t){var a=vb(e);t.forEach(function(i){if(!a.has(i)){a.add(i);var r=Nb.bind(null,e,i);i.then(r,r)}})}function zt(e,t){var a=t.deletions;if(a!==null)for(var i=0;i<a.length;i++){var r=a[i],u=e,y=t,b=y;e:for(;b!==null;){switch(b.tag){case 27:if(_a(b.type)){Xe=b.stateNode,kt=!1;break e}break;case 5:Xe=b.stateNode,kt=!1;break e;case 3:case 4:Xe=b.stateNode.containerInfo,kt=!0;break e}b=b.return}if(Xe===null)throw Error(l(160));Ih(u,y,r),Xe=null,kt=!1,u=r.alternate,u!==null&&(u.return=null),r.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)np(t,e),t=t.sibling}var mn=null;function np(e,t){var a=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:zt(t,e),Lt(e),i&4&&(wa(3,e,e.return),ro(3,e),wa(5,e,e.return));break;case 1:zt(t,e),Lt(e),i&512&&(it||a===null||jn(a,a.return)),i&64&&Kn&&(e=e.updateQueue,e!==null&&(i=e.callbacks,i!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?i:a.concat(i))));break;case 26:var r=mn;if(zt(t,e),Lt(e),i&512&&(it||a===null||jn(a,a.return)),i&4){var u=a!==null?a.memoizedState:null;if(i=e.memoizedState,a===null)if(i===null)if(e.stateNode===null){e:{i=e.type,a=e.memoizedProps,r=r.ownerDocument||r;t:switch(i){case"title":u=r.getElementsByTagName("title")[0],(!u||u[Li]||u[mt]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=r.createElement(i),r.head.insertBefore(u,r.querySelector("head > title"))),yt(u,i,a),u[mt]=e,ct(u),i=u;break e;case"link":var y=ng("link","href",r).get(i+(a.href||""));if(y){for(var b=0;b<y.length;b++)if(u=y[b],u.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&u.getAttribute("rel")===(a.rel==null?null:a.rel)&&u.getAttribute("title")===(a.title==null?null:a.title)&&u.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){y.splice(b,1);break t}}u=r.createElement(i),yt(u,i,a),r.head.appendChild(u);break;case"meta":if(y=ng("meta","content",r).get(i+(a.content||""))){for(b=0;b<y.length;b++)if(u=y[b],u.getAttribute("content")===(a.content==null?null:""+a.content)&&u.getAttribute("name")===(a.name==null?null:a.name)&&u.getAttribute("property")===(a.property==null?null:a.property)&&u.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&u.getAttribute("charset")===(a.charSet==null?null:a.charSet)){y.splice(b,1);break t}}u=r.createElement(i),yt(u,i,a),r.head.appendChild(u);break;default:throw Error(l(468,i))}u[mt]=e,ct(u),i=u}e.stateNode=i}else ag(r,e.type,e.stateNode);else e.stateNode=tg(r,i,e.memoizedProps);else u!==i?(u===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):u.count--,i===null?ag(r,e.type,e.stateNode):tg(r,i,e.memoizedProps)):i===null&&e.stateNode!==null&&Cu(e,e.memoizedProps,a.memoizedProps)}break;case 27:zt(t,e),Lt(e),i&512&&(it||a===null||jn(a,a.return)),a!==null&&i&4&&Cu(e,e.memoizedProps,a.memoizedProps);break;case 5:if(zt(t,e),Lt(e),i&512&&(it||a===null||jn(a,a.return)),e.flags&32){r=e.stateNode;try{Us(r,"")}catch(ue){He(e,e.return,ue)}}i&4&&e.stateNode!=null&&(r=e.memoizedProps,Cu(e,r,a!==null?a.memoizedProps:r)),i&1024&&(ju=!0);break;case 6:if(zt(t,e),Lt(e),i&4){if(e.stateNode===null)throw Error(l(162));i=e.memoizedProps,a=e.stateNode;try{a.nodeValue=i}catch(ue){He(e,e.return,ue)}}break;case 3:if(Wl=null,r=mn,mn=Zl(t.containerInfo),zt(t,e),mn=r,Lt(e),i&4&&a!==null&&a.memoizedState.isDehydrated)try{gi(t.containerInfo)}catch(ue){He(e,e.return,ue)}ju&&(ju=!1,ap(e));break;case 4:i=mn,mn=Zl(e.stateNode.containerInfo),zt(t,e),Lt(e),mn=i;break;case 12:zt(t,e),Lt(e);break;case 31:zt(t,e),Lt(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,zl(e,i)));break;case 13:zt(t,e),Lt(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Hl=Et()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,zl(e,i)));break;case 22:r=e.memoizedState!==null;var j=a!==null&&a.memoizedState!==null,k=Kn,Y=it;if(Kn=k||r,it=Y||j,zt(t,e),it=Y,Kn=k,Lt(e),i&8192)e:for(t=e.stateNode,t._visibility=r?t._visibility&-2:t._visibility|1,r&&(a===null||j||Kn||it||fs(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){j=a=t;try{if(u=j.stateNode,r)y=u.style,typeof y.setProperty=="function"?y.setProperty("display","none","important"):y.display="none";else{b=j.stateNode;var X=j.memoizedProps.style,L=X!=null&&X.hasOwnProperty("display")?X.display:null;b.style.display=L==null||typeof L=="boolean"?"":(""+L).trim()}}catch(ue){He(j,j.return,ue)}}}else if(t.tag===6){if(a===null){j=t;try{j.stateNode.nodeValue=r?"":j.memoizedProps}catch(ue){He(j,j.return,ue)}}}else if(t.tag===18){if(a===null){j=t;try{var F=j.stateNode;r?Vp(F,!0):Vp(j.stateNode,!1)}catch(ue){He(j,j.return,ue)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}i&4&&(i=e.updateQueue,i!==null&&(a=i.retryQueue,a!==null&&(i.retryQueue=null,zl(e,a))));break;case 19:zt(t,e),Lt(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,zl(e,i)));break;case 30:break;case 21:break;default:zt(t,e),Lt(e)}}function Lt(e){var t=e.flags;if(t&2){try{for(var a,i=e.return;i!==null;){if(Kh(i)){a=i;break}i=i.return}if(a==null)throw Error(l(160));switch(a.tag){case 27:var r=a.stateNode,u=Su(e);kl(e,u,r);break;case 5:var y=a.stateNode;a.flags&32&&(Us(y,""),a.flags&=-33);var b=Su(e);kl(e,b,y);break;case 3:case 4:var j=a.stateNode.containerInfo,k=Su(e);Eu(e,k,j);break;default:throw Error(l(161))}}catch(Y){He(e,e.return,Y)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function ap(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;ap(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function $n(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Wh(e,t.alternate,t),t=t.sibling}function fs(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:wa(4,t,t.return),fs(t);break;case 1:jn(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&Vh(t,t.return,a),fs(t);break;case 27:xo(t.stateNode);case 26:case 5:jn(t,t.return),fs(t);break;case 22:t.memoizedState===null&&fs(t);break;case 30:fs(t);break;default:fs(t)}e=e.sibling}}function Wn(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var i=t.alternate,r=e,u=t,y=u.flags;switch(u.tag){case 0:case 11:case 15:Wn(r,u,a),ro(4,u);break;case 1:if(Wn(r,u,a),i=u,r=i.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(k){He(i,i.return,k)}if(i=u,r=i.updateQueue,r!==null){var b=i.stateNode;try{var j=r.shared.hiddenCallbacks;if(j!==null)for(r.shared.hiddenCallbacks=null,r=0;r<j.length;r++)km(j[r],b)}catch(k){He(i,i.return,k)}}a&&y&64&&Gh(u),co(u,u.return);break;case 27:Zh(u);case 26:case 5:Wn(r,u,a),a&&i===null&&y&4&&Xh(u),co(u,u.return);break;case 12:Wn(r,u,a);break;case 31:Wn(r,u,a),a&&y&4&&ep(r,u);break;case 13:Wn(r,u,a),a&&y&4&&tp(r,u);break;case 22:u.memoizedState===null&&Wn(r,u,a),co(u,u.return);break;case 30:break;default:Wn(r,u,a)}t=t.sibling}}function Au(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&Zi(a))}function Nu(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Zi(e))}function hn(e,t,a,i){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)sp(e,t,a,i),t=t.sibling}function sp(e,t,a,i){var r=t.flags;switch(t.tag){case 0:case 11:case 15:hn(e,t,a,i),r&2048&&ro(9,t);break;case 1:hn(e,t,a,i);break;case 3:hn(e,t,a,i),r&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Zi(e)));break;case 12:if(r&2048){hn(e,t,a,i),e=t.stateNode;try{var u=t.memoizedProps,y=u.id,b=u.onPostCommit;typeof b=="function"&&b(y,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(j){He(t,t.return,j)}}else hn(e,t,a,i);break;case 31:hn(e,t,a,i);break;case 13:hn(e,t,a,i);break;case 23:break;case 22:u=t.stateNode,y=t.alternate,t.memoizedState!==null?u._visibility&2?hn(e,t,a,i):uo(e,t):u._visibility&2?hn(e,t,a,i):(u._visibility|=2,ii(e,t,a,i,(t.subtreeFlags&10256)!==0||!1)),r&2048&&Au(y,t);break;case 24:hn(e,t,a,i),r&2048&&Nu(t.alternate,t);break;default:hn(e,t,a,i)}}function ii(e,t,a,i,r){for(r=r&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=e,y=t,b=a,j=i,k=y.flags;switch(y.tag){case 0:case 11:case 15:ii(u,y,b,j,r),ro(8,y);break;case 23:break;case 22:var Y=y.stateNode;y.memoizedState!==null?Y._visibility&2?ii(u,y,b,j,r):uo(u,y):(Y._visibility|=2,ii(u,y,b,j,r)),r&&k&2048&&Au(y.alternate,y);break;case 24:ii(u,y,b,j,r),r&&k&2048&&Nu(y.alternate,y);break;default:ii(u,y,b,j,r)}t=t.sibling}}function uo(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,i=t,r=i.flags;switch(i.tag){case 22:uo(a,i),r&2048&&Au(i.alternate,i);break;case 24:uo(a,i),r&2048&&Nu(i.alternate,i);break;default:uo(a,i)}t=t.sibling}}var fo=8192;function oi(e,t,a){if(e.subtreeFlags&fo)for(e=e.child;e!==null;)ip(e,t,a),e=e.sibling}function ip(e,t,a){switch(e.tag){case 26:oi(e,t,a),e.flags&fo&&e.memoizedState!==null&&s1(a,mn,e.memoizedState,e.memoizedProps);break;case 5:oi(e,t,a);break;case 3:case 4:var i=mn;mn=Zl(e.stateNode.containerInfo),oi(e,t,a),mn=i;break;case 22:e.memoizedState===null&&(i=e.alternate,i!==null&&i.memoizedState!==null?(i=fo,fo=16777216,oi(e,t,a),fo=i):oi(e,t,a));break;default:oi(e,t,a)}}function op(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function mo(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var i=t[a];ut=i,rp(i,e)}op(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)lp(e),e=e.sibling}function lp(e){switch(e.tag){case 0:case 11:case 15:mo(e),e.flags&2048&&wa(9,e,e.return);break;case 3:mo(e);break;case 12:mo(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Ll(e)):mo(e);break;default:mo(e)}}function Ll(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var i=t[a];ut=i,rp(i,e)}op(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:wa(8,t,t.return),Ll(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,Ll(t));break;default:Ll(t)}e=e.sibling}}function rp(e,t){for(;ut!==null;){var a=ut;switch(a.tag){case 0:case 11:case 15:wa(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var i=a.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:Zi(a.memoizedState.cache)}if(i=a.child,i!==null)i.return=a,ut=i;else e:for(a=e;ut!==null;){i=ut;var r=i.sibling,u=i.return;if(Jh(i),i===a){ut=null;break e}if(r!==null){r.return=u,ut=r;break e}ut=u}}}var xb={getCacheForType:function(e){var t=pt(nt),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return pt(nt).controller.signal}},bb=typeof WeakMap=="function"?WeakMap:Map,De=0,Fe=null,Ee=null,Ae=0,Le=0,Gt=null,Ca=!1,li=!1,_u=!1,Jn=0,$e=0,Sa=0,ms=0,Ou=0,Vt=0,ri=0,ho=null,Ht=null,Tu=!1,Hl=0,cp=0,Bl=1/0,Ul=null,Ea=null,ot=0,ja=null,ci=null,In=0,Mu=0,Ru=null,up=null,po=0,Du=null;function Xt(){return(De&2)!==0&&Ae!==0?Ae&-Ae:_.T!==null?Uu():Ir()}function dp(){if(Vt===0)if((Ae&536870912)===0||Oe){var e=Ms;Ms<<=1,(Ms&3932160)===0&&(Ms=262144),Vt=e}else Vt=536870912;return e=Qt.current,e!==null&&(e.flags|=32),Vt}function Bt(e,t,a){(e===Fe&&(Le===2||Le===9)||e.cancelPendingCommit!==null)&&(ui(e,0),Aa(e,Ae,Vt,!1)),Ke(e,a),((De&2)===0||e!==Fe)&&(e===Fe&&((De&2)===0&&(ms|=a),$e===4&&Aa(e,Ae,Vt,!1)),An(e))}function fp(e,t,a){if((De&6)!==0)throw Error(l(327));var i=!a&&(t&127)===0&&(t&e.expiredLanes)===0||Ve(e,t),r=i?Sb(e,t):zu(e,t,!0),u=i;
vendor: 16,241 bytes, line 49
49do{if(r===0){li&&!i&&Aa(e,t,0,!1);break}else{if(a=e.current.alternate,u&&!wb(a)){r=zu(e,t,!1),u=!1;continue}if(r===2){if(u=t,e.errorRecoveryDisabledLanes&u)var y=0;else y=e.pendingLanes&-536870913,y=y!==0?y:y&536870912?536870912:0;if(y!==0){t=y;e:{var b=e;r=ho;var j=b.current.memoizedState.isDehydrated;if(j&&(ui(b,y).flags|=256),y=zu(b,y,!1),y!==2){if(_u&&!j){b.errorRecoveryDisabledLanes|=u,ms|=u,r=4;break e}u=Ht,Ht=r,u!==null&&(Ht===null?Ht=u:Ht.push.apply(Ht,u))}r=y}if(u=!1,r!==2)continue}}if(r===1){ui(e,0),Aa(e,t,0,!0);break}e:{switch(i=e,u=r,u){case 0:case 1:throw Error(l(345));case 4:if((t&4194048)!==t)break;case 6:Aa(i,t,Vt,!Ca);break e;case 2:Ht=null;break;case 3:case 5:break;default:throw Error(l(329))}if((t&62914560)===t&&(r=Hl+300-Et(),10<r)){if(Aa(i,t,Vt,!Ca),xe(i,0,!0)!==0)break e;In=t,i.timeoutHandle=Qp(mp.bind(null,i,a,Ht,Ul,Tu,t,Vt,ms,ri,Ca,u,"Throttled",-0,0),r);break e}mp(i,a,Ht,Ul,Tu,t,Vt,ms,ri,Ca,u,null,-0,0)}}break}while(!0);An(e)}function mp(e,t,a,i,r,u,y,b,j,k,Y,X,L,F){if(e.timeoutHandle=-1,X=t.subtreeFlags,X&8192||(X&16785408)===16785408){X={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Bn},ip(t,u,X);var ue=(u&62914560)===u?Hl-Et():(u&4194048)===u?cp-Et():0;if(ue=i1(X,ue),ue!==null){In=u,e.cancelPendingCommit=ue(wp.bind(null,e,t,u,a,i,r,y,b,j,Y,X,null,L,F)),Aa(e,u,y,!k);return}}wp(e,t,u,a,i,r,y,b,j)}function wb(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var i=0;i<a.length;i++){var r=a[i],u=r.getSnapshot;r=r.value;try{if(!Ft(u(),r))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Aa(e,t,a,i){t&=~Ou,t&=~ms,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var r=t;0<r;){var u=31-vt(r),y=1<<u;i[u]=-1,r&=~y}a!==0&&$a(e,a,t)}function Pl(){return(De&6)===0?(go(0),!1):!0}function ku(){if(Ee!==null){if(Le===0)var e=Ee.return;else e=Ee,qn=ss=null,$c(e),ei=null,Wi=0,e=Ee;for(;e!==null;)Yh(e.alternate,e),e=e.return;Ee=null}}function ui(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,Fb(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),In=0,ku(),Fe=e,Ee=a=Pn(e.current,null),Ae=t,Le=0,Gt=null,Ca=!1,li=Ve(e,t),_u=!1,ri=Vt=Ou=ms=Sa=$e=0,Ht=ho=null,Tu=!1,(t&8)!==0&&(t|=t&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=t;0<i;){var r=31-vt(i),u=1<<r;t|=e[r],i&=~u}return Jn=t,ll(),a}function hp(e,t){we=null,_.H=io,t===Is||t===pl?(t=Tm(),Le=3):t===Bc?(t=Tm(),Le=4):Le=t===fu?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Gt=t,Ee===null&&($e=1,Ol(e,en(t,e.current)))}function pp(){var e=Qt.current;return e===null?!0:(Ae&4194048)===Ae?sn===null:(Ae&62914560)===Ae||(Ae&536870912)!==0?e===sn:!1}function gp(){var e=_.H;return _.H=io,e===null?io:e}function yp(){var e=_.A;return _.A=xb,e}function Fl(){$e=4,Ca||(Ae&4194048)!==Ae&&Qt.current!==null||(li=!0),(Sa&134217727)===0&&(ms&134217727)===0||Fe===null||Aa(Fe,Ae,Vt,!1)}function zu(e,t,a){var i=De;De|=2;var r=gp(),u=yp();(Fe!==e||Ae!==t)&&(Ul=null,ui(e,t)),t=!1;var y=$e;e:do try{if(Le!==0&&Ee!==null){var b=Ee,j=Gt;switch(Le){case 8:ku(),y=6;break e;case 3:case 2:case 9:case 6:Qt.current===null&&(t=!0);var k=Le;if(Le=0,Gt=null,di(e,b,j,k),a&&li){y=0;break e}break;default:k=Le,Le=0,Gt=null,di(e,b,j,k)}}Cb(),y=$e;break}catch(Y){hp(e,Y)}while(!0);return t&&e.shellSuspendCounter++,qn=ss=null,De=i,_.H=r,_.A=u,Ee===null&&(Fe=null,Ae=0,ll()),y}function Cb(){for(;Ee!==null;)vp(Ee)}function Sb(e,t){var a=De;De|=2;var i=gp(),r=yp();Fe!==e||Ae!==t?(Ul=null,Bl=Et()+500,ui(e,t)):li=Ve(e,t);e:do try{if(Le!==0&&Ee!==null){t=Ee;var u=Gt;t:switch(Le){case 1:Le=0,Gt=null,di(e,t,u,1);break;case 2:case 9:if(_m(u)){Le=0,Gt=null,xp(t);break}t=function(){Le!==2&&Le!==9||Fe!==e||(Le=7),An(e)},u.then(t,t);break e;case 3:Le=7;break e;case 4:Le=5;break e;case 7:_m(u)?(Le=0,Gt=null,xp(t)):(Le=0,Gt=null,di(e,t,u,7));break;case 5:var y=null;switch(Ee.tag){case 26:y=Ee.memoizedState;case 5:case 27:var b=Ee;if(y?sg(y):b.stateNode.complete){Le=0,Gt=null;var j=b.sibling;if(j!==null)Ee=j;else{var k=b.return;k!==null?(Ee=k,ql(k)):Ee=null}break t}}Le=0,Gt=null,di(e,t,u,5);break;case 6:Le=0,Gt=null,di(e,t,u,6);break;case 8:ku(),$e=6;break e;default:throw Error(l(462))}}Eb();break}catch(Y){hp(e,Y)}while(!0);return qn=ss=null,_.H=i,_.A=r,De=a,Ee!==null?0:(Fe=null,Ae=0,ll(),$e)}function Eb(){for(;Ee!==null&&!St();)vp(Ee)}function vp(e){var t=qh(e.alternate,e,Jn);e.memoizedProps=e.pendingProps,t===null?ql(e):Ee=t}function xp(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=Lh(a,t,t.pendingProps,t.type,void 0,Ae);break;case 11:t=Lh(a,t,t.pendingProps,t.type.render,t.ref,Ae);break;case 5:$c(t);default:Yh(a,t),t=Ee=ym(t,Jn),t=qh(a,t,Jn)}e.memoizedProps=e.pendingProps,t===null?ql(e):Ee=t}function di(e,t,a,i){qn=ss=null,$c(t),ei=null,Wi=0;var r=t.return;try{if(fb(e,r,t,a,Ae)){$e=1,Ol(e,en(a,e.current)),Ee=null;return}}catch(u){if(r!==null)throw Ee=r,u;$e=1,Ol(e,en(a,e.current)),Ee=null;return}t.flags&32768?(Oe||i===1?e=!0:li||(Ae&536870912)!==0?e=!1:(Ca=e=!0,(i===2||i===9||i===3||i===6)&&(i=Qt.current,i!==null&&i.tag===13&&(i.flags|=16384))),bp(t,e)):ql(t)}function ql(e){var t=e;do{if((t.flags&32768)!==0){bp(t,Ca);return}e=t.return;var a=pb(t.alternate,t,Jn);if(a!==null){Ee=a;return}if(t=t.sibling,t!==null){Ee=t;return}Ee=t=e}while(t!==null);$e===0&&($e=5)}function bp(e,t){do{var a=gb(e.alternate,e);if(a!==null){a.flags&=32767,Ee=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){Ee=e;return}Ee=e=a}while(e!==null);$e=6,Ee=null}function wp(e,t,a,i,r,u,y,b,j){e.cancelPendingCommit=null;do Ql();while(ot!==0);if((De&6)!==0)throw Error(l(327));if(t!==null){if(t===e.current)throw Error(l(177));if(u=t.lanes|t.childLanes,u|=Sc,Ot(e,a,u,y,b,j),e===Fe&&(Ee=Fe=null,Ae=0),ci=t,ja=e,In=a,Mu=u,Ru=r,up=i,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,_b(Xa,function(){return Ap(),null})):(e.callbackNode=null,e.callbackPriority=0),i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=_.T,_.T=null,r=U.p,U.p=2,y=De,De|=4;try{yb(e,t,a)}finally{De=y,U.p=r,_.T=i}}ot=1,Cp(),Sp(),Ep()}}function Cp(){if(ot===1){ot=0;var e=ja,t=ci,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=_.T,_.T=null;var i=U.p;U.p=2;var r=De;De|=4;try{np(t,e);var u=Xu,y=rm(e.containerInfo),b=u.focusedElem,j=u.selectionRange;if(y!==b&&b&&b.ownerDocument&&lm(b.ownerDocument.documentElement,b)){if(j!==null&&vc(b)){var k=j.start,Y=j.end;if(Y===void 0&&(Y=k),"selectionStart"in b)b.selectionStart=k,b.selectionEnd=Math.min(Y,b.value.length);else{var X=b.ownerDocument||document,L=X&&X.defaultView||window;if(L.getSelection){var F=L.getSelection(),ue=b.textContent.length,ye=Math.min(j.start,ue),Pe=j.end===void 0?ye:Math.min(j.end,ue);!F.extend&&ye>Pe&&(y=Pe,Pe=ye,ye=y);var M=om(b,ye),O=om(b,Pe);if(M&&O&&(F.rangeCount!==1||F.anchorNode!==M.node||F.anchorOffset!==M.offset||F.focusNode!==O.node||F.focusOffset!==O.offset)){var D=X.createRange();D.setStart(M.node,M.offset),F.removeAllRanges(),ye>Pe?(F.addRange(D),F.extend(O.node,O.offset)):(D.setEnd(O.node,O.offset),F.addRange(D))}}}}for(X=[],F=b;F=F.parentNode;)F.nodeType===1&&X.push({element:F,left:F.scrollLeft,top:F.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<X.length;b++){var G=X[b];G.element.scrollLeft=G.left,G.element.scrollTop=G.top}}tr=!!Vu,Xu=Vu=null}finally{De=r,U.p=i,_.T=a}}e.current=t,ot=2}}function Sp(){if(ot===2){ot=0;var e=ja,t=ci,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=_.T,_.T=null;var i=U.p;U.p=2;var r=De;De|=4;try{Wh(e,t.alternate,t)}finally{De=r,U.p=i,_.T=a}}ot=3}}function Ep(){if(ot===4||ot===3){ot=0,la();var e=ja,t=ci,a=In,i=up;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?ot=5:(ot=0,ci=ja=null,jp(e,e.pendingLanes));var r=e.pendingLanes;if(r===0&&(Ea=null),dn(a),t=t.stateNode,jt&&typeof jt.onCommitFiberRoot=="function")try{jt.onCommitFiberRoot(Ka,t,void 0,(t.current.flags&128)===128)}catch{}if(i!==null){t=_.T,r=U.p,U.p=2,_.T=null;try{for(var u=e.onRecoverableError,y=0;y<i.length;y++){var b=i[y];u(b.value,{componentStack:b.stack})}}finally{_.T=t,U.p=r}}(In&3)!==0&&Ql(),An(e),r=e.pendingLanes,(a&261930)!==0&&(r&42)!==0?e===Du?po++:(po=0,Du=e):po=0,go(0)}}function jp(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Zi(t)))}function Ql(){return Cp(),Sp(),Ep(),Ap()}function Ap(){if(ot!==5)return!1;var e=ja,t=Mu;Mu=0;var a=dn(In),i=_.T,r=U.p;try{U.p=32>a?32:a,_.T=null,a=Ru,Ru=null;var u=ja,y=In;if(ot=0,ci=ja=null,In=0,(De&6)!==0)throw Error(l(331));var b=De;if(De|=4,lp(u.current),sp(u,u.current,y,a),De=b,go(0,!1),jt&&typeof jt.onPostCommitFiberRoot=="function")try{jt.onPostCommitFiberRoot(Ka,u)}catch{}return!0}finally{U.p=r,_.T=i,jp(e,t)}}function Np(e,t,a){t=en(a,t),t=du(e.stateNode,t,2),e=va(e,t,2),e!==null&&(Ke(e,2),An(e))}function He(e,t,a){if(e.tag===3)Np(e,e,a);else for(;t!==null;){if(t.tag===3){Np(t,e,a);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Ea===null||!Ea.has(i))){e=en(a,e),a=_h(2),i=va(t,a,2),i!==null&&(Oh(a,i,t,e),Ke(i,2),An(i));break}}t=t.return}}function Lu(e,t,a){var i=e.pingCache;if(i===null){i=e.pingCache=new bb;var r=new Set;i.set(t,r)}else r=i.get(t),r===void 0&&(r=new Set,i.set(t,r));r.has(a)||(_u=!0,r.add(a),e=jb.bind(null,e,t,a),t.then(e,e))}function jb(e,t,a){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Fe===e&&(Ae&a)===a&&($e===4||$e===3&&(Ae&62914560)===Ae&&300>Et()-Hl?(De&2)===0&&ui(e,0):Ou|=a,ri===Ae&&(ri=0)),An(e)}function _p(e,t){t===0&&(t=xt()),e=ts(e,t),e!==null&&(Ke(e,t),An(e))}function Ab(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),_p(e,a)}function Nb(e,t){var a=0;switch(e.tag){case 31:case 13:var i=e.stateNode,r=e.memoizedState;r!==null&&(a=r.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(l(314))}i!==null&&i.delete(t),_p(e,a)}function _b(e,t){return Ri(e,t)}var Yl=null,fi=null,Hu=!1,Gl=!1,Bu=!1,Na=0;function An(e){e!==fi&&e.next===null&&(fi===null?Yl=fi=e:fi=fi.next=e),Gl=!0,Hu||(Hu=!0,Tb())}function go(e,t){if(!Bu&&Gl){Bu=!0;do for(var a=!1,i=Yl;i!==null;){if(e!==0){var r=i.pendingLanes;if(r===0)var u=0;else{var y=i.suspendedLanes,b=i.pingedLanes;u=(1<<31-vt(42|e)+1)-1,u&=r&~(y&~b),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(a=!0,Rp(i,u))}else u=Ae,u=xe(i,i===Fe?u:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(u&3)===0||Ve(i,u)||(a=!0,Rp(i,u));i=i.next}while(a);Bu=!1}}function Ob(){Op()}function Op(){Gl=Hu=!1;var e=0;Na!==0&&Pb()&&(e=Na);for(var t=Et(),a=null,i=Yl;i!==null;){var r=i.next,u=Tp(i,t);u===0?(i.next=null,a===null?Yl=r:a.next=r,r===null&&(fi=a)):(a=i,(e!==0||(u&3)!==0)&&(Gl=!0)),i=r}ot!==0&&ot!==5||go(e),Na!==0&&(Na=0)}function Tp(e,t){for(var a=e.suspendedLanes,i=e.pingedLanes,r=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var y=31-vt(u),b=1<<y,j=r[y];j===-1?((b&a)===0||(b&i)!==0)&&(r[y]=rt(b,t)):j<=t&&(e.expiredLanes|=b),u&=~b}if(t=Fe,a=Ae,a=xe(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i=e.callbackNode,a===0||e===t&&(Le===2||Le===9)||e.cancelPendingCommit!==null)return i!==null&&i!==null&&Di(i),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Ve(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(i!==null&&Di(i),dn(a)){case 2:case 8:a=Ko;break;case 32:a=Xa;break;case 268435456:a=Ln;break;default:a=Xa}return i=Mp.bind(null,e),a=Ri(a,i),e.callbackPriority=t,e.callbackNode=a,t}return i!==null&&i!==null&&Di(i),e.callbackPriority=2,e.callbackNode=null,2}function Mp(e,t){if(ot!==0&&ot!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(Ql()&&e.callbackNode!==a)return null;var i=Ae;return i=xe(e,e===Fe?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i===0?null:(fp(e,i,t),Tp(e,Et()),e.callbackNode!=null&&e.callbackNode===a?Mp.bind(null,e):null)}function Rp(e,t){if(Ql())return null;fp(e,t,!0)}function Tb(){qb(function(){(De&6)!==0?Ri(Va,Ob):Op()})}function Uu(){if(Na===0){var e=Ws;e===0&&(e=Ts,Ts<<=1,(Ts&261888)===0&&(Ts=256)),Na=e}return Na}function Dp(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Io(""+e)}function kp(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function Mb(e,t,a,i,r){if(t==="submit"&&a&&a.stateNode===r){var u=Dp((r[Rt]||null).action),y=i.submitter;y&&(t=(t=y[Rt]||null)?Dp(t.formAction):y.getAttribute("formAction"),t!==null&&(u=t,y=null));var b=new al("action","action",null,i,r);e.push({event:b,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(Na!==0){var j=y?kp(r,y):new FormData(r);iu(a,{pending:!0,data:j,method:r.method,action:u},null,j)}}else typeof u=="function"&&(b.preventDefault(),j=y?kp(r,y):new FormData(r),iu(a,{pending:!0,data:j,method:r.method,action:u},u,j))},currentTarget:r}]})}}for(var Pu=0;Pu<Cc.length;Pu++){var Fu=Cc[Pu],Rb=Fu.toLowerCase(),Db=Fu[0].toUpperCase()+Fu.slice(1);fn(Rb,"on"+Db)}fn(dm,"onAnimationEnd"),fn(fm,"onAnimationIteration"),fn(mm,"onAnimationStart"),fn("dblclick","onDoubleClick"),fn("focusin","onFocus"),fn("focusout","onBlur"),fn(Z0,"onTransitionRun"),fn($0,"onTransitionStart"),fn(W0,"onTransitionCancel"),fn(hm,"onTransitionEnd"),Hs("onMouseEnter",["mouseout","mouseover"]),Hs("onMouseLeave",["mouseout","mouseover"]),Hs("onPointerEnter",["pointerout","pointerover"]),Hs("onPointerLeave",["pointerout","pointerover"]),Wa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Wa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Wa("onBeforeInput",["compositionend","keypress","textInput","paste"]),Wa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Wa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Wa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var yo="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(" "),kb=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(yo));function zp(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var i=e[a],r=i.event;i=i.listeners;e:{var u=void 0;if(t)for(var y=i.length-1;0<=y;y--){var b=i[y],j=b.instance,k=b.currentTarget;if(b=b.listener,j!==u&&r.isPropagationStopped())break e;u=b,r.currentTarget=k;try{u(r)}catch(Y){ol(Y)}r.currentTarget=null,u=j}else for(y=0;y<i.length;y++){if(b=i[y],j=b.instance,k=b.currentTarget,b=b.listener,j!==u&&r.isPropagationStopped())break e;u=b,r.currentTarget=k;try{u(r)}catch(Y){ol(Y)}r.currentTarget=null,u=j}}}}function je(e,t){var a=t[ec];a===void 0&&(a=t[ec]=new Set);var i=e+"__bubble";a.has(i)||(Lp(t,e,2,!1),a.add(i))}function qu(e,t,a){var i=0;t&&(i|=4),Lp(a,e,i,t)}var Vl="_reactListening"+Math.random().toString(36).slice(2);function Qu(e){if(!e[Vl]){e[Vl]=!0,Of.forEach(function(a){a!=="selectionchange"&&(kb.has(a)||qu(a,!1,e),qu(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Vl]||(t[Vl]=!0,qu("selectionchange",!1,t))}}function Lp(e,t,a,i){switch(dg(t)){case 2:var r=r1;break;case 8:r=c1;break;default:r=sd}a=r.bind(null,t,a,e),r=void 0,!cc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),i?r!==void 0?e.addEventListener(t,a,{capture:!0,passive:r}):e.addEventListener(t,a,!0):r!==void 0?e.addEventListener(t,a,{passive:r}):e.addEventListener(t,a,!1)}function Yu(e,t,a,i,r){var u=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var y=i.tag;if(y===3||y===4){var b=i.stateNode.containerInfo;if(b===r)break;
vendor: 2,634 bytes, line 49
49if(y===4)for(y=i.return;y!==null;){var j=y.tag;if((j===3||j===4)&&y.stateNode.containerInfo===r)return;y=y.return}for(;b!==null;){if(y=ks(b),y===null)return;if(j=y.tag,j===5||j===6||j===26||j===27){i=u=y;continue e}b=b.parentNode}}i=i.return}Ff(function(){var k=u,Y=lc(a),X=[];e:{var L=pm.get(e);if(L!==void 0){var F=al,ue=e;switch(e){case"keypress":if(tl(a)===0)break e;case"keydown":case"keyup":F=N0;break;case"focusin":ue="focus",F=mc;break;case"focusout":ue="blur",F=mc;break;case"beforeblur":case"afterblur":F=mc;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":F=Yf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":F=p0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":F=T0;break;case dm:case fm:case mm:F=v0;break;case hm:F=R0;break;case"scroll":case"scrollend":F=m0;break;case"wheel":F=k0;break;case"copy":case"cut":case"paste":F=b0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":F=Vf;break;case"toggle":case"beforetoggle":F=L0}var ye=(t&4)!==0,Pe=!ye&&(e==="scroll"||e==="scrollend"),M=ye?L!==null?L+"Capture":null:L;ye=[];for(var O=k,D;O!==null;){var G=O;if(D=G.stateNode,G=G.tag,G!==5&&G!==26&&G!==27||D===null||M===null||(G=Bi(O,M),G!=null&&ye.push(vo(O,G,D))),Pe)break;O=O.return}0<ye.length&&(L=new F(L,ue,null,a,Y),X.push({event:L,listeners:ye}))}}if((t&7)===0){e:{if(L=e==="mouseover"||e==="pointerover",F=e==="mouseout"||e==="pointerout",L&&a!==oc&&(ue=a.relatedTarget||a.fromElement)&&(ks(ue)||ue[Ds]))break e;if((F||L)&&(L=Y.window===Y?Y:(L=Y.ownerDocument)?L.defaultView||L.parentWindow:window,F?(ue=a.relatedTarget||a.toElement,F=k,ue=ue?ks(ue):null,ue!==null&&(Pe=f(ue),ye=ue.tag,ue!==Pe||ye!==5&&ye!==27&&ye!==6)&&(ue=null)):(F=null,ue=k),F!==ue)){if(ye=Yf,G="onMouseLeave",M="onMouseEnter",O="mouse",(e==="pointerout"||e==="pointerover")&&(ye=Vf,G="onPointerLeave",M="onPointerEnter",O="pointer"),Pe=F==null?L:Hi(F),D=ue==null?L:Hi(ue),L=new ye(G,O+"leave",F,a,Y),L.target=Pe,L.relatedTarget=D,G=null,ks(Y)===k&&(ye=new ye(M,O+"enter",ue,a,Y),ye.target=D,ye.relatedTarget=Pe,G=ye),Pe=G,F&&ue)t:{for(ye=zb,M=F,O=ue,D=0,G=M;G;G=ye(G))D++;G=0;for(var ge=O;ge;ge=ye(ge))G++;for(;0<D-G;)M=ye(M),D--;for(;0<G-D;)O=ye(O),G--;for(;D--;){if(M===O||O!==null&&M===O.alternate){ye=M;break t}M=ye(M),O=ye(O)}ye=null}else ye=null;F!==null&&Hp(X,L,F,ye,!1),ue!==null&&Pe!==null&&Hp(X,Pe,ue,ye,!0)}}
vendor: 5,189 bytes, lines 49-50
49e:{if(L=k?Hi(k):window,F=L.nodeName&&L.nodeName.toLowerCase(),F==="select"||F==="input"&&L.type==="file")var Te=em;else if(Jf(L))if(tm)Te=V0;else{Te=Y0;var pe=Q0}else F=L.nodeName,!F||F.toLowerCase()!=="input"||L.type!=="checkbox"&&L.type!=="radio"?k&&ic(k.elementType)&&(Te=em):Te=G0;if(Te&&(Te=Te(e,k))){If(X,Te,a,Y);break e}pe&&pe(e,L,k),e==="focusout"&&k&&L.type==="number"&&k.memoizedProps.value!=null&&sc(L,"number",L.value)}switch(pe=k?Hi(k):window,e){case"focusin":(Jf(pe)||pe.contentEditable==="true")&&(Qs=pe,xc=k,Vi=null);break;case"focusout":Vi=xc=Qs=null;break;case"mousedown":bc=!0;break;case"contextmenu":case"mouseup":case"dragend":bc=!1,cm(X,a,Y);break;case"selectionchange":if(K0)break;case"keydown":case"keyup":cm(X,a,Y)}var Ce;if(pc)e:{switch(e){case"compositionstart":var Ne="onCompositionStart";break e;case"compositionend":Ne="onCompositionEnd";break e;case"compositionupdate":Ne="onCompositionUpdate";break e}Ne=void 0}else qs?$f(e,a)&&(Ne="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(Ne="onCompositionStart");Ne&&(Xf&&a.locale!=="ko"&&(qs||Ne!=="onCompositionStart"?Ne==="onCompositionEnd"&&qs&&(Ce=qf()):(da=Y,uc="value"in da?da.value:da.textContent,qs=!0)),pe=Xl(k,Ne),0<pe.length&&(Ne=new Gf(Ne,e,null,a,Y),X.push({event:Ne,listeners:pe}),Ce?Ne.data=Ce:(Ce=Wf(a),Ce!==null&&(Ne.data=Ce)))),(Ce=B0?U0(e,a):P0(e,a))&&(Ne=Xl(k,"onBeforeInput"),0<Ne.length&&(pe=new Gf("onBeforeInput","beforeinput",null,a,Y),X.push({event:pe,listeners:Ne}),pe.data=Ce)),Mb(X,e,k,a,Y)}zp(X,t)})}function vo(e,t,a){return{instance:e,listener:t,currentTarget:a}}function Xl(e,t){for(var a=t+"Capture",i=[];e!==null;){var r=e,u=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||u===null||(r=Bi(e,a),r!=null&&i.unshift(vo(e,r,u)),r=Bi(e,t),r!=null&&i.push(vo(e,r,u))),e.tag===3)return i;e=e.return}return[]}function zb(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Hp(e,t,a,i,r){for(var u=t._reactName,y=[];a!==null&&a!==i;){var b=a,j=b.alternate,k=b.stateNode;if(b=b.tag,j!==null&&j===i)break;b!==5&&b!==26&&b!==27||k===null||(j=k,r?(k=Bi(a,u),k!=null&&y.unshift(vo(a,k,j))):r||(k=Bi(a,u),k!=null&&y.push(vo(a,k,j)))),a=a.return}y.length!==0&&e.push({event:t,listeners:y})}var Lb=/\r\n?/g,Hb=/\u0000|\uFFFD/g;function Bp(e){return(typeof e=="string"?e:""+e).replace(Lb,`
50`).replace(Hb,"")}function Up(e,t){return t=Bp(t),Bp(e)===t}function Ue(e,t,a,i,r,u){switch(a){case"children":typeof i=="string"?t==="body"||t==="textarea"&&i===""||Us(e,i):(typeof i=="number"||typeof i=="bigint")&&t!=="body"&&Us(e,""+i);break;case"className":Wo(e,"class",i);break;case"tabIndex":Wo(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":Wo(e,a,i);break;case"style":Uf(e,i,u);break;case"data":if(t!=="object"){Wo(e,"data",i);break}case"src":case"href":if(i===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(a);break}i=Io(""+i),e.setAttribute(a,i);break;case"action":case"formAction":if(typeof i=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(a==="formAction"?(t!=="input"&&Ue(e,t,"name",r.name,r,null),Ue(e,t,"formEncType",r.formEncType,r,null),Ue(e,t,"formMethod",r.formMethod,r,null),Ue(e,t,"formTarget",r.formTarget,r,null)):(Ue(e,t,"encType",r.encType,r,null),Ue(e,t,"method",r.method,r,null),Ue(e,t,"target",r.target,r,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(a);break}i=Io(""+i),e.setAttribute(a,i);break;case"onClick":i!=null&&(e.onclick=Bn);break;case"onScroll":i!=null&&je("scroll",e);break;case"onScrollEnd":i!=null&&je("scrollend",e);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(l(61));if(a=i.__html,a!=null){if(r.children!=null)throw Error(l(60));e.innerHTML=a}}break;case"multiple":e.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":e.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){e.removeAttribute("xlink:href");break}a=Io(""+i),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(a,""+i):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
50ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":i===!0?e.setAttribute(a,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(a,i):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?e.setAttribute(a,i):e.removeAttribute(a);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?e.removeAttribute(a):e.setAttribute(a,i);break;case"popover":je("beforetoggle",e),je("toggle",e),$o(e,"popover",i);break;case"xlinkActuate":Hn(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":Hn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":Hn(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":Hn(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":Hn(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":Hn(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":Hn(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":Hn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":Hn(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":$o(e,"is",i);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=d0.get(a)||a,$o(e,a,i))}}function Gu(e,t,a,i,r,u){switch(a){case"style":Uf(e,i,u);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(l(61));if(a=i.__html,a!=null){if(r.children!=null)throw Error(l(60));e.innerHTML=a}}break;case"children":typeof i=="string"?Us(e,i):(typeof i=="number"||typeof i=="bigint")&&Us(e,""+i);break;case"onScroll":i!=null&&je("scroll",e);break;case"onScrollEnd":i!=null&&je("scrollend",e);break;case"onClick":i!=null&&(e.onclick=Bn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Tf.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(r=a.endsWith("Capture"),t=a.slice(2,r?a.length-7:void 0),u=e[Rt]||null,u=u!=null?u[a]:null,typeof u=="function"&&e.removeEventListener(t,u,r),typeof i=="function")){typeof u!="function"&&u!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,i,r);break e}a in e?e[a]=i:i===!0?e.setAttribute(a,""):$o(e,a,i)}}}function yt(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":je("error",e),je("load",e);var i=!1,r=!1,u;for(u in a)if(a.hasOwnProperty(u)){var y=a[u];if(y!=null)switch(u){case"src":i=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:Ue(e,t,u,y,a,null)}}r&&Ue(e,t,"srcSet",a.srcSet,a,null),i&&Ue(e,t,"src",a.src,a,null);return;case"input":je("invalid",e);var b=u=y=r=null,j=null,k=null;for(i in a)if(a.hasOwnProperty(i)){var Y=a[i];if(Y!=null)switch(i){case"name":r=Y;break;case"type":y=Y;break;case"checked":j=Y;break;case"defaultChecked":k=Y;break;case"value":u=Y;break;case"defaultValue":b=Y;break;case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(l(137,t));break;default:Ue(e,t,i,Y,a,null)}}zf(e,u,b,j,k,y,r,!1);return;case"select":je("invalid",e),i=y=u=null;for(r in a)if(a.hasOwnProperty(r)&&(b=a[r],b!=null))switch(r){case"value":u=b;break;case"defaultValue":y=b;break;case"multiple":i=b;default:Ue(e,t,r,b,a,null)}t=u,a=y,e.multiple=!!i,t!=null?Bs(e,!!i,t,!1):a!=null&&Bs(e,!!i,a,!0);return;case"textarea":je("invalid",e),u=r=i=null;for(y in a)if(a.hasOwnProperty(y)&&(b=a[y],b!=null))switch(y){case"value":i=b;break;case"defaultValue":r=b;break;case"children":u=b;break;case"dangerouslySetInnerHTML":if(b!=null)throw Error(l(91));break;default:Ue(e,t,y,b,a,null)}Hf(e,i,r,u);return;case"option":for(j in a)if(a.hasOwnProperty(j)&&(i=a[j],i!=null))switch(j){case"selected":e.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:Ue(e,t,j,i,a,null)}return;
vendor: 4,342 bytes, line 50
50case"dialog":je("beforetoggle",e),je("toggle",e),je("cancel",e),je("close",e);break;case"iframe":case"object":je("load",e);break;case"video":case"audio":for(i=0;i<yo.length;i++)je(yo[i],e);break;case"image":je("error",e),je("load",e);break;case"details":je("toggle",e);break;case"embed":case"source":case"link":je("error",e),je("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(k in a)if(a.hasOwnProperty(k)&&(i=a[k],i!=null))switch(k){case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:Ue(e,t,k,i,a,null)}return;default:if(ic(t)){for(Y in a)a.hasOwnProperty(Y)&&(i=a[Y],i!==void 0&&Gu(e,t,Y,i,a,void 0));return}}for(b in a)a.hasOwnProperty(b)&&(i=a[b],i!=null&&Ue(e,t,b,i,a,null))}function Bb(e,t,a,i){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,u=null,y=null,b=null,j=null,k=null,Y=null;for(F in a){var X=a[F];if(a.hasOwnProperty(F)&&X!=null)switch(F){case"checked":break;case"value":break;case"defaultValue":j=X;default:i.hasOwnProperty(F)||Ue(e,t,F,null,i,X)}}for(var L in i){var F=i[L];if(X=a[L],i.hasOwnProperty(L)&&(F!=null||X!=null))switch(L){case"type":u=F;break;case"name":r=F;break;case"checked":k=F;break;case"defaultChecked":Y=F;break;case"value":y=F;break;case"defaultValue":b=F;break;case"children":case"dangerouslySetInnerHTML":if(F!=null)throw Error(l(137,t));break;default:F!==X&&Ue(e,t,L,F,i,X)}}ac(e,y,b,j,k,Y,u,r);return;case"select":F=y=b=L=null;for(u in a)if(j=a[u],a.hasOwnProperty(u)&&j!=null)switch(u){case"value":break;case"multiple":F=j;default:i.hasOwnProperty(u)||Ue(e,t,u,null,i,j)}for(r in i)if(u=i[r],j=a[r],i.hasOwnProperty(r)&&(u!=null||j!=null))switch(r){case"value":L=u;break;case"defaultValue":b=u;break;case"multiple":y=u;default:u!==j&&Ue(e,t,r,u,i,j)}t=b,a=y,i=F,L!=null?Bs(e,!!a,L,!1):!!i!=!!a&&(t!=null?Bs(e,!!a,t,!0):Bs(e,!!a,a?[]:"",!1));return;case"textarea":F=L=null;for(b in a)if(r=a[b],a.hasOwnProperty(b)&&r!=null&&!i.hasOwnProperty(b))switch(b){case"value":break;case"children":break;default:Ue(e,t,b,null,i,r)}for(y in i)if(r=i[y],u=a[y],i.hasOwnProperty(y)&&(r!=null||u!=null))switch(y){case"value":L=r;break;case"defaultValue":F=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(l(91));break;default:r!==u&&Ue(e,t,y,r,i,u)}Lf(e,L,F);return;case"option":for(var ue in a)if(L=a[ue],a.hasOwnProperty(ue)&&L!=null&&!i.hasOwnProperty(ue))switch(ue){case"selected":e.selected=!1;break;default:Ue(e,t,ue,null,i,L)}for(j in i)if(L=i[j],F=a[j],i.hasOwnProperty(j)&&L!==F&&(L!=null||F!=null))switch(j){case"selected":e.selected=L&&typeof L!="function"&&typeof L!="symbol";break;default:Ue(e,t,j,L,i,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 ye in a)L=a[ye],a.hasOwnProperty(ye)&&L!=null&&!i.hasOwnProperty(ye)&&Ue(e,t,ye,null,i,L);for(k in i)if(L=i[k],F=a[k],i.hasOwnProperty(k)&&L!==F&&(L!=null||F!=null))switch(k){case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(l(137,t));break;default:Ue(e,t,k,L,i,F)}return;default:if(ic(t)){for(var Pe in a)L=a[Pe],a.hasOwnProperty(Pe)&&L!==void 0&&!i.hasOwnProperty(Pe)&&Gu(e,t,Pe,void 0,i,L);for(Y in i)L=i[Y],F=a[Y],!i.hasOwnProperty(Y)||L===F||L===void 0&&F===void 0||Gu(e,t,Y,L,i,F);return}}for(var M in a)L=a[M],a.hasOwnProperty(M)&&L!=null&&!i.hasOwnProperty(M)&&Ue(e,t,M,null,i,L);for(X in i)L=i[X],F=a[X],!i.hasOwnProperty(X)||L===F||L==null&&F==null||Ue(e,t,X,L,i,F)}function Pp(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Ub(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),i=0;i<a.length;i++){var r=a[i],u=r.transferSize,y=r.initiatorType,b=r.duration;if(u&&b&&Pp(y)){for(y=0,b=r.responseEnd,i+=1;i<a.length;i++){var j=a[i],k=j.startTime;if(k>b)break;var Y=j.transferSize,X=j.initiatorType;Y&&Pp(X)&&(j=j.responseEnd,y+=Y*(j<b?1:(b-k)/(j-k)))}if(--i,t+=8*(u+y)/(r.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Vu=null,Xu=null;
vendor: 17,191 bytes, line 50
50function Kl(e){return e.nodeType===9?e:e.ownerDocument}function Fp(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 qp(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Ku(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Zu=null;function Pb(){var e=window.event;return e&&e.type==="popstate"?e===Zu?!1:(Zu=e,!0):(Zu=null,!1)}var Qp=typeof setTimeout=="function"?setTimeout:void 0,Fb=typeof clearTimeout=="function"?clearTimeout:void 0,Yp=typeof Promise=="function"?Promise:void 0,qb=typeof queueMicrotask=="function"?queueMicrotask:typeof Yp<"u"?function(e){return Yp.resolve(null).then(e).catch(Qb)}:Qp;function Qb(e){setTimeout(function(){throw e})}function _a(e){return e==="head"}function Gp(e,t){var a=t,i=0;do{var r=a.nextSibling;if(e.removeChild(a),r&&r.nodeType===8)if(a=r.data,a==="/$"||a==="/&"){if(i===0){e.removeChild(r),gi(t);return}i--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")i++;else if(a==="html")xo(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,xo(a);for(var u=a.firstChild;u;){var y=u.nextSibling,b=u.nodeName;u[Li]||b==="SCRIPT"||b==="STYLE"||b==="LINK"&&u.rel.toLowerCase()==="stylesheet"||a.removeChild(u),u=y}}else a==="body"&&xo(e.ownerDocument.body);a=r}while(a);gi(t)}function Vp(e,t){var a=e;e=0;do{var i=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),i&&i.nodeType===8)if(a=i.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=i}while(a)}function $u(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":$u(a),tc(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function Yb(e,t,a,i){for(;e.nodeType===1;){var r=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(i){if(!e[Li])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(u=e.getAttribute("rel"),u==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(u!==r.rel||e.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||e.getAttribute("title")!==(r.title==null?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(r.src==null?null:r.src)||e.getAttribute("type")!==(r.type==null?null:r.type)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var u=r.name==null?null:""+r.name;if(r.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=on(e.nextSibling),e===null)break}return null}function Gb(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=on(e.nextSibling),e===null))return null;return e}function Xp(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=on(e.nextSibling),e===null))return null;return e}function Wu(e){return e.data==="$?"||e.data==="$~"}function Ju(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Vb(e,t){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||a.readyState!=="loading")t();else{var i=function(){t(),a.removeEventListener("DOMContentLoaded",i)};a.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function on(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Iu=null;function Kp(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(t===0)return on(e.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}e=e.nextSibling}return null}function Zp(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(t===0)return e;t--}else a!=="/$"&&a!=="/&"||t++}e=e.previousSibling}return null}function $p(e,t,a){switch(t=Kl(a),e){case"html":if(e=t.documentElement,!e)throw Error(l(452));return e;case"head":if(e=t.head,!e)throw Error(l(453));return e;case"body":if(e=t.body,!e)throw Error(l(454));return e;default:throw Error(l(451))}}function xo(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);tc(e)}var ln=new Map,Wp=new Set;function Zl(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var ea=U.d;U.d={f:Xb,r:Kb,D:Zb,C:$b,L:Wb,m:Jb,X:e1,S:Ib,M:t1};function Xb(){var e=ea.f(),t=Pl();return e||t}function Kb(e){var t=zs(e);t!==null&&t.tag===5&&t.type==="form"?hh(t):ea.r(e)}var mi=typeof document>"u"?null:document;function Jp(e,t,a){var i=mi;if(i&&typeof t=="string"&&t){var r=Jt(t);r='link[rel="'+e+'"][href="'+r+'"]',typeof a=="string"&&(r+='[crossorigin="'+a+'"]'),Wp.has(r)||(Wp.add(r),e={rel:e,crossOrigin:a,href:t},i.querySelector(r)===null&&(t=i.createElement("link"),yt(t,"link",e),ct(t),i.head.appendChild(t)))}}function Zb(e){ea.D(e),Jp("dns-prefetch",e,null)}function $b(e,t){ea.C(e,t),Jp("preconnect",e,t)}function Wb(e,t,a){ea.L(e,t,a);var i=mi;if(i&&e&&t){var r='link[rel="preload"][as="'+Jt(t)+'"]';t==="image"&&a&&a.imageSrcSet?(r+='[imagesrcset="'+Jt(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(r+='[imagesizes="'+Jt(a.imageSizes)+'"]')):r+='[href="'+Jt(e)+'"]';var u=r;switch(t){case"style":u=hi(e);break;case"script":u=pi(e)}ln.has(u)||(e=g({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),ln.set(u,e),i.querySelector(r)!==null||t==="style"&&i.querySelector(bo(u))||t==="script"&&i.querySelector(wo(u))||(t=i.createElement("link"),yt(t,"link",e),ct(t),i.head.appendChild(t)))}}function Jb(e,t){ea.m(e,t);var a=mi;if(a&&e){var i=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+Jt(i)+'"][href="'+Jt(e)+'"]',u=r;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=pi(e)}if(!ln.has(u)&&(e=g({rel:"modulepreload",href:e},t),ln.set(u,e),a.querySelector(r)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(wo(u)))return}i=a.createElement("link"),yt(i,"link",e),ct(i),a.head.appendChild(i)}}}function Ib(e,t,a){ea.S(e,t,a);var i=mi;if(i&&e){var r=Ls(i).hoistableStyles,u=hi(e);t=t||"default";var y=r.get(u);if(!y){var b={loading:0,preload:null};if(y=i.querySelector(bo(u)))b.loading=5;else{e=g({rel:"stylesheet",href:e,"data-precedence":t},a),(a=ln.get(u))&&ed(e,a);var j=y=i.createElement("link");ct(j),yt(j,"link",e),j._p=new Promise(function(k,Y){j.onload=k,j.onerror=Y}),j.addEventListener("load",function(){b.loading|=1}),j.addEventListener("error",function(){b.loading|=2}),b.loading|=4,$l(y,t,i)}y={type:"stylesheet",instance:y,count:1,state:b},r.set(u,y)}}}function e1(e,t){ea.X(e,t);var a=mi;if(a&&e){var i=Ls(a).hoistableScripts,r=pi(e),u=i.get(r);u||(u=a.querySelector(wo(r)),u||(e=g({src:e,async:!0},t),(t=ln.get(r))&&td(e,t),u=a.createElement("script"),ct(u),yt(u,"link",e),a.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},i.set(r,u))}}function t1(e,t){ea.M(e,t);var a=mi;if(a&&e){var i=Ls(a).hoistableScripts,r=pi(e),u=i.get(r);u||(u=a.querySelector(wo(r)),u||(e=g({src:e,async:!0,type:"module"},t),(t=ln.get(r))&&td(e,t),u=a.createElement("script"),ct(u),yt(u,"link",e),a.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},i.set(r,u))}}function Ip(e,t,a,i){var r=(r=he.current)?Zl(r):null;if(!r)throw Error(l(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=hi(a.href),a=Ls(r).hoistableStyles,i=a.get(t),i||(i={type:"style",instance:null,count:0,state:null},a.set(t,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=hi(a.href);var u=Ls(r).hoistableStyles,y=u.get(e);if(y||(r=r.ownerDocument||r,y={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,y),(u=r.querySelector(bo(e)))&&!u._p&&(y.instance=u,y.state.loading=5),ln.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},ln.set(e,a),u||n1(r,e,a,y.state))),t&&i===null)throw Error(l(528,""));return y}if(t&&i!==null)throw Error(l(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=pi(a),a=Ls(r).hoistableScripts,i=a.get(t),i||(i={type:"script",instance:null,count:0,state:null},a.set(t,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,e))}}function hi(e){return'href="'+Jt(e)+'"'}function bo(e){return'link[rel="stylesheet"]['+e+"]"}function eg(e){return g({},e,{"data-precedence":e.precedence,precedence:null})}function n1(e,t,a,i){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?i.loading=1:(t=e.createElement("link"),i.preload=t,t.addEventListener("load",function(){return i.loading|=1}),t.addEventListener("error",function(){return i.loading|=2}),yt(t,"link",a),ct(t),e.head.appendChild(t))}function pi(e){return'[src="'+Jt(e)+'"]'}function wo(e){return"script[async]"+e}function tg(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+Jt(a.href)+'"]');if(i)return t.instance=i,ct(i),i;var r=g({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),ct(i),yt(i,"style",r),$l(i,a.precedence,e),t.instance=i;case"stylesheet":r=hi(a.href);var u=e.querySelector(bo(r));if(u)return t.state.loading|=4,t.instance=u,ct(u),u;i=eg(a),(r=ln.get(r))&&ed(i,r),u=(e.ownerDocument||e).createElement("link"),ct(u);var y=u;return y._p=new Promise(function(b,j){y.onload=b,y.onerror=j}),yt(u,"link",i),t.state.loading|=4,$l(u,a.precedence,e),t.instance=u;case"script":return u=pi(a.src),(r=e.querySelector(wo(u)))?(t.instance=r,ct(r),r):(i=a,(r=ln.get(u))&&(i=g({},a),td(i,r)),e=e.ownerDocument||e,r=e.createElement("script"),ct(r),yt(r,"link",i),e.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error(l(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(i=t.instance,t.state.loading|=4,$l(i,a.precedence,e));return t.instance}function $l(e,t,a){for(var i=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=i.length?i[i.length-1]:null,u=r,y=0;y<i.length;y++){var b=i[y];if(b.dataset.precedence===t)u=b;else if(u!==r)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function ed(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function td(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Wl=null;function ng(e,t,a){if(Wl===null){var i=new Map,r=Wl=new Map;r.set(a,i)}else r=Wl,i=r.get(a),i||(i=new Map,r.set(a,i));if(i.has(e))return i;for(i.set(e,null),a=a.getElementsByTagName(e),r=0;r<a.length;r++){var u=a[r];if(!(u[Li]||u[mt]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var y=u.getAttribute(t)||"";y=e+y;var b=i.get(y);b?b.push(u):i.set(y,[u])}}return i}function ag(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function a1(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function sg(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function s1(e,t,a,i){if(a.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var r=hi(i.href),u=t.querySelector(bo(r));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Jl.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=u,ct(u);return}u=t.ownerDocument||t,i=eg(i),(r=ln.get(r))&&ed(i,r),u=u.createElement("link"),ct(u);var y=u;y._p=new Promise(function(b,j){y.onload=b,y.onerror=j}),yt(u,"link",i),a.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=Jl.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var nd=0;function i1(e,t){return e.stylesheets&&e.count===0&&er(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var i=setTimeout(function(){if(e.stylesheets&&er(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+t);0<e.imgBytes&&nd===0&&(nd=62500*Ub());var r=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&er(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>nd?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(r)}}:null}function Jl(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)er(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Il=null;function er(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Il=new Map,t.forEach(o1,e),Il=null,Jl.call(e))}function o1(e,t){if(!(t.state.loading&4)){var a=Il.get(e);if(a)var i=a.get(null);else{a=new Map,Il.set(e,a);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<r.length;u++){var y=r[u];(y.nodeName==="LINK"||y.getAttribute("media")!=="not all")&&(a.set(y.dataset.precedence,y),i=y)}i&&a.set(null,i)}r=t.instance,y=r.getAttribute("data-precedence"),u=a.get(y)||i,u===i&&a.set(null,r),a.set(y,r),this.count++,i=Jl.bind(this),r.addEventListener("load",i),r.addEventListener("error",i),u?u.parentNode.insertBefore(r,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(r,e.firstChild)),t.state.loading|=4}}var Co={$$typeof:$,Provider:null,Consumer:null,_currentValue:R,_currentValue2:R,_threadCount:0};function l1(e,t,a,i,r,u,y,b,j){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=ca(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ca(0),this.hiddenUpdates=ca(null),this.identifierPrefix=i,this.onUncaughtError=r,this.onCaughtError=u,this.onRecoverableError=y,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=j,this.incompleteTransitions=new Map}function ig(e,t,a,i,r,u,y,b,j,k,Y,X){return e=new l1(e,t,a,y,j,k,Y,X,b),t=1,u===!0&&(t|=24),u=qt(3,null,null,t),e.current=u,u.stateNode=e,t=zc(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:i,isDehydrated:a,cache:t},Uc(u),e}function og(e){return e?(e=Vs,e):Vs}function lg(e,t,a,i,r,u){r=og(r),i.context===null?i.context=r:i.pendingContext=r,i=ya(t),i.payload={element:a},u=u===void 0?null:u,u!==null&&(i.callback=u),a=va(e,i,t),a!==null&&(Bt(a,e,t),Ii(a,e,t))}function rg(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function ad(e,t){rg(e,t),(e=e.alternate)&&rg(e,t)}function cg(e){if(e.tag===13||e.tag===31){var t=ts(e,67108864);t!==null&&Bt(t,e,67108864),ad(e,67108864)}}function ug(e){if(e.tag===13||e.tag===31){var t=Xt();t=Rs(t);var a=ts(e,t);a!==null&&Bt(a,e,t),ad(e,t)}}var tr=!0;function r1(e,t,a,i){var r=_.T;_.T=null;var u=U.p;try{U.p=2,sd(e,t,a,i)}finally{U.p=u,_.T=r}}function c1(e,t,a,i){var r=_.T;_.T=null;var u=U.p;try{U.p=8,sd(e,t,a,i)}finally{U.p=u,_.T=r}}
vendor: 9,566 bytes, line 50
50function sd(e,t,a,i){if(tr){var r=id(i);if(r===null)Yu(e,t,i,nr,a),fg(e,i);else if(d1(r,e,t,a,i))i.stopPropagation();else if(fg(e,i),t&4&&-1<u1.indexOf(e)){for(;r!==null;){var u=zs(r);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var y=Cn(u.pendingLanes);if(y!==0){var b=u;for(b.pendingLanes|=2,b.entangledLanes|=2;y;){var j=1<<31-vt(y);b.entanglements[1]|=j,y&=~j}An(u),(De&6)===0&&(Bl=Et()+500,go(0))}}break;case 31:case 13:b=ts(u,2),b!==null&&Bt(b,u,2),Pl(),ad(u,2)}if(u=id(i),u===null&&Yu(e,t,i,nr,a),u===r)break;r=u}r!==null&&i.stopPropagation()}else Yu(e,t,i,null,a)}}function id(e){return e=lc(e),od(e)}var nr=null;function od(e){if(nr=null,e=ks(e),e!==null){var t=f(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=m(t),e!==null)return e;e=null}else if(a===31){if(e=h(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return nr=e,null}function dg(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Wr()){case Va:return 2;case Ko:return 8;case Xa:case ki:return 32;case Ln:return 268435456;default:return 32}default:return 32}}var ld=!1,Oa=null,Ta=null,Ma=null,So=new Map,Eo=new Map,Ra=[],u1="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 fg(e,t){switch(e){case"focusin":case"focusout":Oa=null;break;case"dragenter":case"dragleave":Ta=null;break;case"mouseover":case"mouseout":Ma=null;break;case"pointerover":case"pointerout":So.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Eo.delete(t.pointerId)}}function jo(e,t,a,i,r,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:a,eventSystemFlags:i,nativeEvent:u,targetContainers:[r]},t!==null&&(t=zs(t),t!==null&&cg(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function d1(e,t,a,i,r){switch(t){case"focusin":return Oa=jo(Oa,e,t,a,i,r),!0;case"dragenter":return Ta=jo(Ta,e,t,a,i,r),!0;case"mouseover":return Ma=jo(Ma,e,t,a,i,r),!0;case"pointerover":var u=r.pointerId;return So.set(u,jo(So.get(u)||null,e,t,a,i,r)),!0;case"gotpointercapture":return u=r.pointerId,Eo.set(u,jo(Eo.get(u)||null,e,t,a,i,r)),!0}return!1}function mg(e){var t=ks(e.target);if(t!==null){var a=f(t);if(a!==null){if(t=a.tag,t===13){if(t=m(a),t!==null){e.blockedOn=t,Nf(e.priority,function(){ug(a)});return}}else if(t===31){if(t=h(a),t!==null){e.blockedOn=t,Nf(e.priority,function(){ug(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ar(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=id(e.nativeEvent);if(a===null){a=e.nativeEvent;var i=new a.constructor(a.type,a);oc=i,a.target.dispatchEvent(i),oc=null}else return t=zs(a),t!==null&&cg(t),e.blockedOn=a,!1;t.shift()}return!0}function hg(e,t,a){ar(e)&&a.delete(t)}function f1(){ld=!1,Oa!==null&&ar(Oa)&&(Oa=null),Ta!==null&&ar(Ta)&&(Ta=null),Ma!==null&&ar(Ma)&&(Ma=null),So.forEach(hg),Eo.forEach(hg)}function sr(e,t){e.blockedOn===t&&(e.blockedOn=null,ld||(ld=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,f1)))}var ir=null;function pg(e){ir!==e&&(ir=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){ir===e&&(ir=null);for(var t=0;t<e.length;t+=3){var a=e[t],i=e[t+1],r=e[t+2];if(typeof i!="function"){if(od(i||a)===null)continue;break}var u=zs(a);u!==null&&(e.splice(t,3),t-=3,iu(u,{pending:!0,data:r,method:a.method,action:i},i,r))}}))}function gi(e){function t(j){return sr(j,e)}Oa!==null&&sr(Oa,e),Ta!==null&&sr(Ta,e),Ma!==null&&sr(Ma,e),So.forEach(t),Eo.forEach(t);for(var a=0;a<Ra.length;a++){var i=Ra[a];i.blockedOn===e&&(i.blockedOn=null)}for(;0<Ra.length&&(a=Ra[0],a.blockedOn===null);)mg(a),a.blockedOn===null&&Ra.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(i=0;i<a.length;i+=3){var r=a[i],u=a[i+1],y=r[Rt]||null;if(typeof u=="function")y||pg(a);else if(y){var b=null;if(u&&u.hasAttribute("formAction")){if(r=u,y=u[Rt]||null)b=y.formAction;else if(od(r)!==null)continue}else b=y.action;typeof b=="function"?a[i+1]=b:(a.splice(i,3),i-=3),pg(a)}}}function gg(){function e(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(y){return r=y})},focusReset:"manual",scroll:"manual"})}function t(){r!==null&&(r(),r=null),i||setTimeout(a,20)}function a(){if(!i&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var i=!1,r=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){i=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),r!==null&&(r(),r=null)}}}function rd(e){this._internalRoot=e}or.prototype.render=rd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(l(409));var a=t.current,i=Xt();lg(a,i,e,t,null,null)},or.prototype.unmount=rd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;lg(e.current,2,null,e,null,null),Pl(),t[Ds]=null}};function or(e){this._internalRoot=e}or.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ir();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Ra.length&&t!==0&&t<Ra[a].priority;a++);Ra.splice(a,0,e),a===0&&mg(e)}};var yg=s.version;if(yg!=="19.2.1")throw Error(l(527,yg,"19.2.1"));U.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(l(188)):(e=Object.keys(e).join(","),Error(l(268,e)));return e=v(t),e=e!==null?x(e):null,e=e===null?null:e.stateNode,e};var m1={bundleType:0,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:_,reconcilerVersion:"19.2.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var lr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lr.isDisabled&&lr.supportsFiber)try{Ka=lr.inject(m1),jt=lr}catch{}}return _o.createRoot=function(e,t){if(!c(e))throw Error(l(299));var a=!1,i="",r=Eh,u=jh,y=Ah;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(y=t.onRecoverableError)),t=ig(e,1,!1,null,null,a,i,null,r,u,y,gg),e[Ds]=t.current,Qu(e),new rd(t)},_o.hydrateRoot=function(e,t,a){if(!c(e))throw Error(l(299));var i=!1,r="",u=Eh,y=jh,b=Ah,j=null;return a!=null&&(a.unstable_strictMode===!0&&(i=!0),a.identifierPrefix!==void 0&&(r=a.identifierPrefix),a.onUncaughtError!==void 0&&(u=a.onUncaughtError),a.onCaughtError!==void 0&&(y=a.onCaughtError),a.onRecoverableError!==void 0&&(b=a.onRecoverableError),a.formState!==void 0&&(j=a.formState)),t=ig(e,1,!0,t,a??null,i,r,j,u,y,b,gg),t.context=og(null),a=t.current,i=Xt(),i=Rs(i),r=ya(i),r.callback=null,va(a,r,i),a=i,t.current.lanes=a,Ke(t,a),An(t),e[Ds]=t.current,Qu(e),new or(t)},_o.version="19.2.1",_o}var Qg;function _w(){if(Qg)return pd.exports;Qg=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(s){console.error(s)}}return n(),pd.exports=Nw(),pd.exports}var Ow=_w(),Tw=(function(){function n(){this.keyToValue=new Map,this.valueToKey=new Map}return n.prototype.set=function(s,o){this.keyToValue.set(s,o),this.valueToKey.set(o,s)},n.prototype.getByKey=function(s){return this.keyToValue.get(s)},n.prototype.getByValue=function(s){return this.valueToKey.get(s)},n.prototype.clear=function(){this.keyToValue.clear(),this.valueToKey.clear()},n})(),jv=(function(){function n(s){this.generateIdentifier=s,this.kv=new Tw}return n.prototype.register=function(s,o){this.kv.getByValue(s)||(o||(o=this.generateIdentifier(s)),this.kv.set(o,s))},n.prototype.clear=function(){this.kv.clear()},n.prototype.getIdentifier=function(s){return this.kv.getByValue(s)},n.prototype.getValue=function(s){return this.kv.getByKey(s)},n}
50)(),Mw=(function(){var n=function(s,o){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,c){l.__proto__=c}||function(l,c){for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(l[f]=c[f])},n(s,o)};return function(s,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");n(s,o);function l(){this.constructor=s}s.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}})(),Rw=(function(n){Mw(s,n);function s(){var o=n.call(this,function(l){return l.name})||this;return o.classToAllowedProps=new Map,o}return s.prototype.register=function(o,l){typeof l=="object"?(l.allowProps&&this.classToAllowedProps.set(o,l.allowProps),n.prototype.register.call(this,o,l.identifier)):n.prototype.register.call(this,o,l)},s.prototype.getAllowedProps=function(o){return this.classToAllowedProps.get(o)},s})(jv),Dw=function(n,s){var o=typeof Symbol=="function"&&n[Symbol.iterator];if(!o)return n;var l=o.call(n),c,f=[],m;try{for(;(s===void 0||s-- >0)&&!(c=l.next()).done;)f.push(c.value)}catch(h){m={error:h}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(m)throw m.error}}return f};function kw(n){if("values"in Object)return Object.values(n);var s=[];for(var o in n)n.hasOwnProperty(o)&&s.push(n[o]);return s}function zw(n,s){var o=kw(n);if("find"in o)return o.find(s);for(var l=o,c=0;c<l.length;c++){var f=l[c];if(s(f))return f}}function Ci(n,s){Object.entries(n).forEach(function(o){var l=Dw(o,2),c=l[0],f=l[1];return s(f,c)})}function wr(n,s){return n.indexOf(s)!==-1}function Yg(n,s){for(var o=0;o<n.length;o++){var l=n[o];if(s(l))return l}}var Lw=(function(){function n(){this.transfomers={}}return n.prototype.register=function(s){this.transfomers[s.name]=s},n.prototype.findApplicable=function(s){return zw(this.transfomers,function(o){return o.isApplicable(s)})},n.prototype.findByName=function(s){return this.transfomers[s]},n})(),Hw=function(n){return Object.prototype.toString.call(n).slice(8,-1)},Av=function(n){return typeof n>"u"},Bw=function(n){return n===null},zo=function(n){return typeof n!="object"||n===null||n===Object.prototype?!1:Object.getPrototypeOf(n)===null?!0:Object.getPrototypeOf(n)===Object.prototype},Hd=function(n){return zo(n)&&Object.keys(n).length===0},Pa=function(n){return Array.isArray(n)},Uw=function(n){return typeof n=="string"},Pw=function(n){return typeof n=="number"&&!isNaN(n)},Fw=function(n){return typeof n=="boolean"},qw=function(n){return n instanceof RegExp},Lo=function(n){return n instanceof Map},Ho=function(n){return n instanceof Set},Nv=function(n){return Hw(n)==="Symbol"},Qw=function(n){return n instanceof Date&&!isNaN(n.valueOf())},Yw=function(n){return n instanceof Error},Gg=function(n){return typeof n=="number"&&isNaN(n)},Gw=function(n){return Fw(n)||Bw(n)||Av(n)||Pw(n)||Uw(n)||Nv(n)},Vw=function(n){return typeof n=="bigint"},Xw=function(n){return n===1/0||n===-1/0},Kw=function(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)},Zw=function(n){return n instanceof URL},_v=function(n){return n.replace(/\./g,"\\.")},xd=function(n){return n.map(String).map(_v).join(".")},Mo=function(n){for(var s=[],o="",l=0;l<n.length;l++){var c=n.charAt(l),f=c==="\\"&&n.charAt(l+1)===".";if(f){o+=".",l++;continue}var m=c===".";if(m){s.push(o),o="";continue}o+=c}var h=o;return s.push(h),s},Bd=function(){return Bd=Object.assign||function(n){for(var s,o=1,l=arguments.length;o<l;o++){s=arguments[o];for(var c in s)Object.prototype.hasOwnProperty.call(s,c)&&(n[c]=s[c])}return n},Bd.apply(this,arguments)},Ud=function(n,s){var o=typeof Symbol=="function"&&n[Symbol.iterator];if(!o)return n;var l=o.call(n),c,f=[],m;try{for(;(s===void 0||s-- >0)&&!(c=l.next()).done;)f.push(c.value)}catch(h){m={error:h}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(m)throw m.error}}return f},Pd=function(n,s){for(var o=0,l=s.length,c=n.length;o<l;o++,c++)n[c]=s[o];return n};function Nn(n,s,o,l){return{isApplicable:n,annotation:s,transform:o,untransform:l}}var Ov=[Nn(Av,"undefined",function(){return null},function(){}),Nn(Vw,"bigint",function(n){return n.toString()},function(n){return typeof BigInt<"u"?BigInt(n):(console.error("Please add a BigInt polyfill."),n)}),Nn(Qw,"Date",function(n){return n.toISOString()},function(n){return new Date(n)}),Nn(Yw,"Error",function(n,s){var o={name:n.name,message:n.message};return s.allowedErrorProps.forEach(function(l){o[l]=n[l]}),o},function(n,s){var o=new Error(n.message);return o.name=n.name,o.stack=n.stack,s.allowedErrorProps.forEach(function(l){o[l]=n[l]}),o}),Nn(qw,"regexp",function(n){return""+n},function(n){var s=n.slice(1,n.lastIndexOf("/")),o=n.slice(n.lastIndexOf("/")+1);return new RegExp(s,o)}
50),Nn(Ho,"set",function(n){return Pd([],Ud(n.values()))},function(n){return new Set(n)}),Nn(Lo,"map",function(n){return Pd([],Ud(n.entries()))},function(n){return new Map(n)}),Nn(function(n){return Gg(n)||Xw(n)},"number",function(n){return Gg(n)?"NaN":n>0?"Infinity":"-Infinity"},Number),Nn(function(n){return n===0&&1/n===-1/0},"number",function(){return"-0"},Number),Nn(Zw,"URL",function(n){return n.toString()},function(n){return new URL(n)})];function Br(n,s,o,l){return{isApplicable:n,annotation:s,transform:o,untransform:l}}var Tv=Br(function(n,s){if(Nv(n)){var o=!!s.symbolRegistry.getIdentifier(n);return o}return!1},function(n,s){var o=s.symbolRegistry.getIdentifier(n);return["symbol",o]},function(n){return n.description},function(n,s,o){var l=o.symbolRegistry.getValue(s[1]);if(!l)throw new Error("Trying to deserialize unknown symbol");return l}),$w=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce(function(n,s){return n[s.name]=s,n},{}),Mv=Br(Kw,function(n){return["typed-array",n.constructor.name]},function(n){return Pd([],Ud(n))},function(n,s){var o=$w[s[1]];if(!o)throw new Error("Trying to deserialize unknown typed array");return new o(n)});function Rv(n,s){if(n?.constructor){var o=!!s.classRegistry.getIdentifier(n.constructor);return o}return!1}var Dv=Br(Rv,function(n,s){var o=s.classRegistry.getIdentifier(n.constructor);return["class",o]},function(n,s){var o=s.classRegistry.getAllowedProps(n.constructor);if(!o)return Bd({},n);var l={};return o.forEach(function(c){l[c]=n[c]}),l},function(n,s,o){var l=o.classRegistry.getValue(s[1]);if(!l)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(l.prototype),n)}),kv=Br(function(n,s){return!!s.customTransformerRegistry.findApplicable(n)},function(n,s){var o=s.customTransformerRegistry.findApplicable(n);return["custom",o.name]},function(n,s){var o=s.customTransformerRegistry.findApplicable(n);return o.serialize(n)},function(n,s,o){var l=o.customTransformerRegistry.findByName(s[1]);if(!l)throw new Error("Trying to deserialize unknown custom value");return l.deserialize(n)}),Ww=[Dv,Tv,kv,Mv],Vg=function(n,s){var o=Yg(Ww,function(c){return c.isApplicable(n,s)});if(o)return{value:o.transform(n,s),type:o.annotation(n,s)};var l=Yg(Ov,function(c){return c.isApplicable(n,s)});if(l)return{value:l.transform(n,s),type:l.annotation}},zv={};Ov.forEach(function(n){zv[n.annotation]=n});var Jw=function(n,s,o){if(Pa(s))switch(s[0]){case"symbol":return Tv.untransform(n,s,o);case"class":return Dv.untransform(n,s,o);case"custom":return kv.untransform(n,s,o);case"typed-array":return Mv.untransform(n,s,o);default:throw new Error("Unknown transformation: "+s)}else{var l=zv[s];if(!l)throw new Error("Unknown transformation: "+s);return l.untransform(n,o)}},bi=function(n,s){for(var o=n.keys();s>0;)o.next(),s--;return o.next().value};function Lv(n){if(wr(n,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(wr(n,"prototype"))throw new Error("prototype is not allowed as a property");if(wr(n,"constructor"))throw new Error("constructor is not allowed as a property")}var Iw=function(n,s){Lv(s);for(var o=0;o<s.length;o++){var l=s[o];if(Ho(n))n=bi(n,+l);else if(Lo(n)){var c=+l,f=+s[++o]==0?"key":"value",m=bi(n,c);switch(f){case"key":n=m;break;case"value":n=n.get(m);break}}else n=n[l]}return n},Fd=function(n,s,o){if(Lv(s),s.length===0)return o(n);for(var l=n,c=0;c<s.length-1;c++){var f=s[c];if(Pa(l)){var m=+f;l=l[m]}else if(zo(l))l=l[f];else if(Ho(l)){var h=+f;l=bi(l,h)}else if(Lo(l)){var p=c===s.length-2;if(p)break;var h=+f,v=+s[++c]==0?"key":"value",x=bi(l,h);switch(v){case"key":l=x;break;case"value":l=l.get(x);break}}}var g=s[s.length-1];if(Pa(l)?l[+g]=o(l[+g]):zo(l)&&(l[g]=o(l[g])),Ho(l)){var w=bi(l,+g),S=o(w);w!==S&&(l.delete(w),l.add(S))}if(Lo(l)){var h=+s[s.length-2],N=bi(l,h),v=+g==0?"key":"value";switch(v){case"key":{var A=o(N);l.set(A,l.get(N)),A!==N&&l.delete(N);break}case"value":{l.set(N,o(l.get(N)));break}}}return n},aa=function(n,s){var o=typeof Symbol=="function"&&n[Symbol.iterator];if(!o)return n;var l=o.call(n),c,f=[],m;try{for(;(s===void 0||s-- >0)&&!(c=l.next()).done;)f.push(c.value)}catch(h){m={error:h}}
50finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(m)throw m.error}}return f},La=function(n,s){for(var o=0,l=s.length,c=n.length;o<l;o++,c++)n[c]=s[o];return n};function qd(n,s,o){if(o===void 0&&(o=[]),!!n){if(!Pa(n)){Ci(n,function(m,h){return qd(m,s,La(La([],aa(o)),aa(Mo(h))))});return}var l=aa(n,2),c=l[0],f=l[1];f&&Ci(f,function(m,h){qd(m,s,La(La([],aa(o)),aa(Mo(h))))}),s(c,o)}}function eC(n,s,o){return qd(s,function(l,c){n=Fd(n,c,function(f){return Jw(f,l,o)})}),n}function tC(n,s){function o(m,h){var p=Iw(n,Mo(h));m.map(Mo).forEach(function(v){n=Fd(n,v,function(){return p})})}if(Pa(s)){var l=aa(s,2),c=l[0],f=l[1];c.forEach(function(m){n=Fd(n,Mo(m),function(){return n})}),f&&Ci(f,o)}else Ci(s,o);return n}var nC=function(n,s){return zo(n)||Pa(n)||Lo(n)||Ho(n)||Rv(n,s)};function aC(n,s,o){var l=o.get(n);l?l.push(s):o.set(n,[s])}function sC(n,s){var o={},l=void 0;return n.forEach(function(c){if(!(c.length<=1)){s||(c=c.map(function(p){return p.map(String)}).sort(function(p,v){return p.length-v.length}));var f=aa(c),m=f[0],h=f.slice(1);m.length===0?l=h.map(xd):o[xd(m)]=h.map(xd)}}),l?Hd(o)?[l]:[l,o]:Hd(o)?void 0:o}var Hv=function(n,s,o,l,c,f,m){var h;c===void 0&&(c=[]),f===void 0&&(f=[]),m===void 0&&(m=new Map);var p=Gw(n);if(!p){aC(n,c,s);var v=m.get(n);if(v)return l?{transformedValue:null}:v}if(!nC(n,o)){var x=Vg(n,o),g=x?{transformedValue:x.value,annotations:[x.type]}:{transformedValue:n};return p||m.set(n,g),g}if(wr(f,n))return{transformedValue:null};var w=Vg(n,o),S=(h=w?.value)!==null&&h!==void 0?h:n,N=Pa(S)?[]:{},A={};Ci(S,function(P,Z){var $=Hv(P,s,o,l,La(La([],aa(c)),[Z]),La(La([],aa(f)),[n]),m);N[Z]=$.transformedValue,Pa($.annotations)?A[Z]=$.annotations:zo($.annotations)&&Ci($.annotations,function(ne,V){A[_v(Z)+"."+V]=ne})});var H=Hd(A)?{transformedValue:N,annotations:w?[w.type]:void 0}:{transformedValue:N,annotations:w?[w.type,A]:A};return p||m.set(n,H),H};function Bv(n){return Object.prototype.toString.call(n).slice(8,-1)}function Xg(n){return Bv(n)==="Array"}function iC(n){if(Bv(n)!=="Object")return!1;const s=Object.getPrototypeOf(n);return!!s&&s.constructor===Object&&s===Object.prototype}function oC(n,s,o,l,c){const f={}.propertyIsEnumerable.call(l,s)?"enumerable":"nonenumerable";f==="enumerable"&&(n[s]=o),c&&f==="nonenumerable"&&Object.defineProperty(n,s,{value:o,enumerable:!1,writable:!0,configurable:!0})}function Qd(n,s={}){if(Xg(n))return n.map(c=>Qd(c,s));if(!iC(n))return n;const o=Object.getOwnPropertyNames(n),l=Object.getOwnPropertySymbols(n);return[...o,...l].reduce((c,f)=>{if(Xg(s.props)&&!s.props.includes(f))return c;const m=n[f],h=Qd(m,s);return oC(c,f,h,n,s.nonenumerable),c},{})}var ys=function(){return ys=Object.assign||function(n){for(var s,o=1,l=arguments.length;o<l;o++){s=arguments[o];for(var c in s)Object.prototype.hasOwnProperty.call(s,c)&&(n[c]=s[c])}return n},ys.apply(this,arguments)},lC=function(n,s){var o=typeof Symbol=="function"&&n[Symbol.iterator];if(!o)return n;var l=o.call(n),c,f=[],m;try{for(;(s===void 0||s-- >0)&&!(c=l.next()).done;)f.push(c.value)}catch(h){m={error:h}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(m)throw m.error}}return f},rC=function(n,s){for(var o=0,l=s.length,c=n.length;o<l;o++,c++)n[c]=s[o];return n},oa=(function(){function n(s){var o=s===void 0?{}:s,l=o.dedupe,c=l===void 0?!1:l;this.classRegistry=new Rw,this.symbolRegistry=new jv(function(f){var m;return(m=f.description)!==null&&m!==void 0?m:""}),this.customTransformerRegistry=new Lw,this.allowedErrorProps=[],this.dedupe=c}return n.prototype.serialize=function(s){var o=new Map,l=Hv(s,o,this,this.dedupe),c={json:l.transformedValue};l.annotations&&(c.meta=ys(ys({},c.meta),{values:l.annotations}));var f=sC(o,this.dedupe);return f&&(c.meta=ys(ys({},c.meta),{referentialEqualities:f})),c},n.prototype.deserialize=function(s){var o=s.json,l=s.meta,c=Qd(o);return l?.values&&(c=eC(c,l.values,this)),l?.referentialEqualities&&(c=tC(c,l.referentialEqualities)),c},n.prototype.stringify=function(s){return JSON.stringify(this.serialize(s))},n.prototype.parse=function(s){return this.deserialize(JSON.parse(s))},n.prototype.registerClass=function(s,o){this.classRegistry.register(s,o)},n.prototype.registerSymbol=function(s,o){this.symbolRegistry.register(s,o)},n.prototype.registerCustom=function(s,o){this.customTransformerRegistry.register(ys({name:o},s))},n.prototype.allowErrorProps=function(){for(var s,o=[],l=0;l<arguments.length;l++)o[l]=arguments[l];(s=this.allowedErrorProps).push.apply(s,rC([],lC(o)))},n.defaultInstance=new n,n.serialize=n.defaultInstance.serialize.bind(n.defaultInstance),n.deserialize=n.defaultInstance.deserialize.bind(n.defaultInstance),n.stringify=n.defaultInstance.stringify.bind(n.defaultInstance),n.parse=n.defaultInstance.parse.bind(n.defaultInstance),n.registerClass=n.defaultInstance.registerClass.bind(n.defaultInstance),n.registerSymbol=n.defaultInstance.registerSymbol.bind(n.defaultInstance),n.registerCustom=n.defaultInstance.registerCustom.bind(n.defaultInstance),n.allowErrorProps=n.defaultInstance.allowErrorProps.bind(n.defaultInstance),n})();oa.serialize;oa.deserialize;oa.stringify;oa.parse;oa.registerClass;oa.registerCustom;oa.registerSymbol;oa.allowErrorProps;const cC="modulepreload",uC=function(n){return"/"+n},Kg={},tt=function(s,o,l){let c=Promise.resolve();if(o&&o.length>0){let p=function(v){return Promise.all(v.map(x=>Promise.resolve(x).then(g=>({status:"fulfilled",value:g}),g=>({status:"rejected",reason:g}))))};document.getElementsByTagName("link");
vendor: 4,726 bytes, line 50
50const m=document.querySelector("meta[property=csp-nonce]"),h=m?.nonce||m?.getAttribute("nonce");c=p(o.map(v=>{if(v=uC(v),v in Kg)return;Kg[v]=!0;const x=v.endsWith(".css"),g=x?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${v}"]${g}`))return;const w=document.createElement("link");if(w.rel=x?"stylesheet":cC,x||(w.as="script"),w.crossOrigin="",w.href=v,h&&w.setAttribute("nonce",h),document.head.appendChild(w),x)return new Promise((S,N)=>{w.addEventListener("load",S),w.addEventListener("error",()=>N(new Error(`Unable to preload CSS for ${v}`)))})}))}function f(m){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=m,window.dispatchEvent(h),!h.defaultPrevented)throw m}return c.then(m=>{for(const h of m||[])h.status==="rejected"&&f(h.reason);return s().catch(f)})};var dC=(n,s,o,l,c,f,m,h)=>{let p=document.documentElement,v=["light","dark"];function x(S){(Array.isArray(n)?n:[n]).forEach(N=>{let A=N==="class",H=A&&f?c.map(P=>f[P]||P):c;A?(p.classList.remove(...H),p.classList.add(f&&f[S]?f[S]:S)):p.setAttribute(N,S)}),g(S)}function g(S){h&&v.includes(S)&&(p.style.colorScheme=S)}function w(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(l)x(l);else try{let S=localStorage.getItem(s)||o,N=m&&S==="system"?w():S;x(N)}catch{}},fC=C.createContext(void 0),mC={setTheme:n=>{},themes:[]},hC=()=>{var n;return(n=C.useContext(fC))!=null?n:mC};C.memo(({forcedTheme:n,storageKey:s,attribute:o,enableSystem:l,enableColorScheme:c,defaultTheme:f,value:m,themes:h,nonce:p,scriptProps:v})=>{let x=JSON.stringify([o,s,f,n,h,m,l,c]).slice(1,-1);return C.createElement("script",{...v,suppressHydrationWarning:!0,nonce:typeof window>"u"?p:"",dangerouslySetInnerHTML:{__html:`(${dC.toString()})(${x})`}})});var ff=Ev();const pC=Ly(ff);function gC(n){if(typeof document>"u")return;let s=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",s.appendChild(o),o.styleSheet?o.styleSheet.cssText=n:o.appendChild(document.createTextNode(n))}const yC=n=>{switch(n){case"success":return bC;case"info":return CC;case"warning":return wC;case"error":return SC;default:return null}},vC=Array(12).fill(0),xC=({visible:n,className:s})=>te.createElement("div",{className:["sonner-loading-wrapper",s].filter(Boolean).join(" "),"data-visible":n},te.createElement("div",{className:"sonner-spinner"},vC.map((o,l)=>te.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${l}`})))),bC=te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},te.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"})),wC=te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},te.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"})),CC=te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},te.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"})),SC=te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},te.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"})),EC=te.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"},te.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),te.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),jC=()=>{const[n,s]=te.useState(document.hidden);return te.useEffect(()=>{const o=()=>{s(document.hidden)};return document.addEventListener("visibilitychange",o),()=>window.removeEventListener("visibilitychange",o)},[]),n};let Yd=1;class AC{constructor(){this.subscribe=s=>(this.subscribers.push(s),()=>{const o=this.subscribers.indexOf(s);this.subscribers.splice(o,1)}),this.publish=s=>
vendor: 3,617 bytes, line 50
50{this.subscribers.forEach(o=>o(s))},this.addToast=s=>{this.publish(s),this.toasts=[...this.toasts,s]},this.create=s=>{var o;const{message:l,...c}=s,f=typeof s?.id=="number"||((o=s.id)==null?void 0:o.length)>0?s.id:Yd++,m=this.toasts.find(p=>p.id===f),h=s.dismissible===void 0?!0:s.dismissible;return this.dismissedToasts.has(f)&&this.dismissedToasts.delete(f),m?this.toasts=this.toasts.map(p=>p.id===f?(this.publish({...p,...s,id:f,title:l}),{...p,...s,id:f,dismissible:h,title:l}):p):this.addToast({title:l,...c,dismissible:h,id:f}),f},this.dismiss=s=>(s?(this.dismissedToasts.add(s),requestAnimationFrame(()=>this.subscribers.forEach(o=>o({id:s,dismiss:!0})))):this.toasts.forEach(o=>{this.subscribers.forEach(l=>l({id:o.id,dismiss:!0}))}),s),this.message=(s,o)=>this.create({...o,message:s}),this.error=(s,o)=>this.create({...o,message:s,type:"error"}),this.success=(s,o)=>this.create({...o,type:"success",message:s}),this.info=(s,o)=>this.create({...o,type:"info",message:s}),this.warning=(s,o)=>this.create({...o,type:"warning",message:s}),this.loading=(s,o)=>this.create({...o,type:"loading",message:s}),this.promise=(s,o)=>{if(!o)return;let l;o.loading!==void 0&&(l=this.create({...o,promise:s,type:"loading",message:o.loading,description:typeof o.description!="function"?o.description:void 0}));const c=Promise.resolve(s instanceof Function?s():s);let f=l!==void 0,m;const h=c.then(async v=>{if(m=["resolve",v],te.isValidElement(v))f=!1,this.create({id:l,type:"default",message:v});else if(_C(v)&&!v.ok){f=!1;const g=typeof o.error=="function"?await o.error(`HTTP error! status: ${v.status}`):o.error,w=typeof o.description=="function"?await o.description(`HTTP error! status: ${v.status}`):o.description,N=typeof g=="object"&&!te.isValidElement(g)?g:{message:g};this.create({id:l,type:"error",description:w,...N})}else if(v instanceof Error){f=!1;const g=typeof o.error=="function"?await o.error(v):o.error,w=typeof o.description=="function"?await o.description(v):o.description,N=typeof g=="object"&&!te.isValidElement(g)?g:{message:g};this.create({id:l,type:"error",description:w,...N})}else if(o.success!==void 0){f=!1;const g=typeof o.success=="function"?await o.success(v):o.success,w=typeof o.description=="function"?await o.description(v):o.description,N=typeof g=="object"&&!te.isValidElement(g)?g:{message:g};this.create({id:l,type:"success",description:w,...N})}}).catch(async v=>{if(m=["reject",v],o.error!==void 0){f=!1;const x=typeof o.error=="function"?await o.error(v):o.error,g=typeof o.description=="function"?await o.description(v):o.description,S=typeof x=="object"&&!te.isValidElement(x)?x:{message:x};this.create({id:l,type:"error",description:g,...S})}}).finally(()=>{f&&(this.dismiss(l),l=void 0),o.finally==null||o.finally.call(o)}),p=()=>new Promise((v,x)=>h.then(()=>m[0]==="reject"?x(m[1]):v(m[1])).catch(x));return typeof l!="string"&&typeof l!="number"?{unwrap:p}:Object.assign(l,{unwrap:p})},this.custom=(s,o)=>{const l=o?.id||Yd++;return this.create({jsx:s(l),id:l,...o}),l},this.getActiveToasts=()=>this.toasts.filter(s=>!this.dismissedToasts.has(s.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Ut=new AC,NC=(n,s)=>{const o=s?.id||Yd++;return Ut.addToast({title:n,...s,id:o}),o},_C=n=>n&&typeof n=="object"&&"ok"in n&&typeof n.ok=="boolean"&&"status"in n&&typeof n.status=="number",OC=NC,TC=()=>Ut.toasts,MC=()=>Ut.getActiveToasts(),Uv=Object.assign(OC,{success:Ut.success,info:Ut.info,warning:Ut.warning,error:Ut.error,custom:Ut.custom,message:Ut.message,promise:Ut.promise,dismiss:Ut.dismiss,loading:Ut.loading},{getHistory:TC,getToasts:MC});gC
vendor: 14,873 bytes, line 50
50("[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,459 bytes, line 50
50fr(n){return n.label!==void 0}const RC=3,DC="24px",kC="16px",Zg=4e3,zC=356,LC=14,HC=45,BC=200;function _n(...n){return n.filter(Boolean).join(" ")}function UC(n){const[s,o]=n.split("-"),l=[];return s&&l.push(s),o&&l.push(o),l}const PC=n=>{var s,o,l,c,f,m,h,p,v;const{invert:x,toast:g,unstyled:w,interacting:S,setHeights:N,visibleToasts:A,heights:H,index:P,toasts:Z,expanded:$,removeToast:ne,defaultRichColors:V,closeButton:K,style:T,cancelButtonStyle:B,actionButtonStyle:J,className:I="",descriptionClassName:ae="",duration:ee,position:le,gap:ie,expandByDefault:ce,classNames:_,icons:U,closeButtonAriaLabel:R="Close toast"}=n,[se,me]=te.useState(null),[E,q]=te.useState(null),[z,Q]=te.useState(!1),[W,he]=te.useState(!1),[re,ve]=te.useState(!1),[_e,dt]=te.useState(!1),[Ct,ft]=te.useState(!1),[zn,cn]=te.useState(0),[Ti,Os]=te.useState(0),Ga=te.useRef(g.duration||ee||Zg),Mi=te.useRef(null),Pt=te.useRef(null),Ri=P===0,Di=P+1<=A,St=g.type,la=g.dismissible!==!1,Et=g.className||"",Wr=g.descriptionClassName||"",Va=te.useMemo(()=>H.findIndex(xe=>xe.toastId===g.id)||0,[H,g.id]),Ko=te.useMemo(()=>{var xe;return(xe=g.closeButton)!=null?xe:K},[g.closeButton,K]),Xa=te.useMemo(()=>g.duration||ee||Zg,[g.duration,ee]),ki=te.useRef(0),Ln=te.useRef(0),Zo=te.useRef(0),ra=te.useRef(null),[Ka,jt]=le.split("-"),un=te.useMemo(()=>H.reduce((xe,Ve,rt)=>rt>=Va?xe:xe+Ve.height,0),[H,Va]),vt=jC(),Jr=g.invert||x,zi=St==="loading";Ln.current=te.useMemo(()=>Va*ie+un,[Va,un]),te.useEffect(()=>{Ga.current=Xa},[Xa]),te.useEffect(()=>{Q(!0)},[]),te.useEffect(()=>{const xe=Pt.current;if(xe){const Ve=xe.getBoundingClientRect().height;return Os(Ve),N(rt=>[{toastId:g.id,height:Ve,position:g.position},...rt]),()=>N(rt=>rt.filter(xt=>xt.toastId!==g.id))}},[N,g.id]),te.useLayoutEffect(()=>{if(!z)return;const xe=Pt.current,Ve=xe.style.height;xe.style.height="auto";const rt=xe.getBoundingClientRect().height;xe.style.height=Ve,Os(rt),N(xt=>xt.find(Ke=>Ke.toastId===g.id)?xt.map(Ke=>Ke.toastId===g.id?{...Ke,height:rt}:Ke):[{toastId:g.id,height:rt,position:g.position},...xt])},[z,g.title,g.description,N,g.id,g.jsx,g.action,g.cancel]);const wn=te.useCallback(()=>{he(!0),cn(Ln.current),N(xe=>xe.filter(Ve=>Ve.toastId!==g.id)),setTimeout(()=>{ne(g)},BC)},[g,ne,N,Ln]);te.useEffect(()=>{if(g.promise&&St==="loading"||g.duration===1/0||g.type==="loading")return;let xe;return $||S||vt?(()=>{if(Zo.current<ki.current){const xt=new Date().getTime()-ki.current;Ga.current=Ga.current-xt}
vendor: 5,421 bytes, line 50
50Zo.current=new Date().getTime()})():(()=>{Ga.current!==1/0&&(ki.current=new Date().getTime(),xe=setTimeout(()=>{g.onAutoClose==null||g.onAutoClose.call(g,g),wn()},Ga.current))})(),()=>clearTimeout(xe)},[$,S,g,St,vt,wn]),te.useEffect(()=>{g.delete&&(wn(),g.onDismiss==null||g.onDismiss.call(g,g))},[wn,g.delete]);function Ts(){var xe;if(U?.loading){var Ve;return te.createElement("div",{className:_n(_?.loader,g==null||(Ve=g.classNames)==null?void 0:Ve.loader,"sonner-loader"),"data-visible":St==="loading"},U.loading)}return te.createElement(xC,{className:_n(_?.loader,g==null||(xe=g.classNames)==null?void 0:xe.loader),visible:St==="loading"})}const Ms=g.icon||U?.[St]||yC(St);var Za,Cn;return te.createElement("li",{tabIndex:0,ref:Pt,className:_n(I,Et,_?.toast,g==null||(s=g.classNames)==null?void 0:s.toast,_?.default,_?.[St],g==null||(o=g.classNames)==null?void 0:o[St]),"data-sonner-toast":"","data-rich-colors":(Za=g.richColors)!=null?Za:V,"data-styled":!(g.jsx||g.unstyled||w),"data-mounted":z,"data-promise":!!g.promise,"data-swiped":Ct,"data-removed":W,"data-visible":Di,"data-y-position":Ka,"data-x-position":jt,"data-index":P,"data-front":Ri,"data-swiping":re,"data-dismissible":la,"data-type":St,"data-invert":Jr,"data-swipe-out":_e,"data-swipe-direction":E,"data-expanded":!!($||ce&&z),"data-testid":g.testId,style:{"--index":P,"--toasts-before":P,"--z-index":Z.length-P,"--offset":`${W?zn:Ln.current}px`,"--initial-height":ce?"auto":`${Ti}px`,...T,...g.style},onDragEnd:()=>{ve(!1),me(null),ra.current=null},onPointerDown:xe=>{xe.button!==2&&(zi||!la||(Mi.current=new Date,cn(Ln.current),xe.target.setPointerCapture(xe.pointerId),xe.target.tagName!=="BUTTON"&&(ve(!0),ra.current={x:xe.clientX,y:xe.clientY})))},onPointerUp:()=>{var xe,Ve,rt;if(_e||!la)return;ra.current=null;const xt=Number(((xe=Pt.current)==null?void 0:xe.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),ca=Number(((Ve=Pt.current)==null?void 0:Ve.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Ke=new Date().getTime()-((rt=Mi.current)==null?void 0:rt.getTime()),Ot=se==="x"?xt:ca,$a=Math.abs(Ot)/Ke;if(Math.abs(Ot)>=HC||$a>.11){cn(Ln.current),g.onDismiss==null||g.onDismiss.call(g,g),q(se==="x"?xt>0?"right":"left":ca>0?"down":"up"),wn(),dt(!0);return}else{var Tt,Mt;(Tt=Pt.current)==null||Tt.style.setProperty("--swipe-amount-x","0px"),(Mt=Pt.current)==null||Mt.style.setProperty("--swipe-amount-y","0px")}ft(!1),ve(!1),me(null)},onPointerMove:xe=>{var Ve,rt,xt;if(!ra.current||!la||((Ve=window.getSelection())==null?void 0:Ve.toString().length)>0)return;const Ke=xe.clientY-ra.current.y,Ot=xe.clientX-ra.current.x;var $a;const Tt=($a=n.swipeDirections)!=null?$a:UC(le);!se&&(Math.abs(Ot)>1||Math.abs(Ke)>1)&&me(Math.abs(Ot)>Math.abs(Ke)?"x":"y");let Mt={x:0,y:0};const Rs=dn=>1/(1.5+Math.abs(dn)/20);if(se==="y"){if(Tt.includes("top")||Tt.includes("bottom"))if(Tt.includes("top")&&Ke<0||Tt.includes("bottom")&&Ke>0)Mt.y=Ke;else{const dn=Ke*Rs(Ke);Mt.y=Math.abs(dn)<Math.abs(Ke)?dn:Ke}}else if(se==="x"&&(Tt.includes("left")||Tt.includes("right")))if(Tt.includes("left")&&Ot<0||Tt.includes("right")&&Ot>0)Mt.x=Ot;else{const dn=Ot*Rs(Ot);Mt.x=Math.abs(dn)<Math.abs(Ot)?dn:Ot}(Math.abs(Mt.x)>0||Math.abs(Mt.y)>0)&&ft(!0),(rt=Pt.current)==null||rt.style.setProperty("--swipe-amount-x",`${Mt.x}px`),(xt=Pt.current)==null||xt.style.setProperty("--swipe-amount-y",`${Mt.y}px`)}},Ko&&!g.jsx&&St!=="loading"?te.createElement("button",{"aria-label":R,"data-disabled":zi,"data-close-button":!0,onClick:zi||!la?()=>{}:()=>{wn(),g.onDismiss==null||g.onDismiss.call(g,g)},className:_n(_?.closeButton,g==null||(l=g.classNames)==null?void 0:l.closeButton)},(Cn=U?.close)!=null?Cn:EC):null,(St||g.icon||g.promise)&&g.icon!==null&&(U?.[St]!==null||g.icon)?te.createElement("div",{"data-icon":"",className:_n(_?.icon,g==null||(c=g.classNames)==null?void 0:c.icon)},g.promise||g.type==="loading"&&!g.icon?g.icon||Ts():null,g.type!=="loading"?Ms:null):null,te.createElement("div",{"data-content":"",className:_n(_?.content,g==null||(f=g.classNames)==null?void 0:f.content)},te.createElement("div",{"data-title":"",className:_n(_?.title,g==null||(m=g.classNames)==null?void 0:m.title)},g.jsx?g.jsx:typeof g.title=="function"?g.title():g.title),g.description?te.createElement("div",{"data-description":"",className:_n(ae,Wr,_?.description,g==null||(h=g.classNames)==null?void 0:h.description)},typeof g.description=="function"?g.description():g.description):null),te.isValidElement(g.cancel)?g.cancel:g.cancel&&fr(g.cancel)?te.createElement("button",{"data-button":!0,"data-cancel":!0,style:g.cancelButtonStyle||B,onClick:xe=>{fr(g.cancel)&&la&&(g.cancel.onClick==null||g.cancel.onClick.call(g.cancel,xe),wn())},className:_n(_?.cancelButton,g==null||(p=g.classNames)==null?void 0:p.cancelButton)},g.cancel.label):null,te.isValidElement(g.action)?g.action:g.action&&fr(g.action)?te.createElement("button",{"data-button":!0,"data-action":!0,style:g.actionButtonStyle||J,onClick:xe=>{fr(g.action)&&(g.action.onClick==null||g.action.onClick.call(g.action,xe),!xe.defaultPrevented&&wn())},className:_n(_?.actionButton,g==null||(v=g.classNames)==null?void 0:v.actionButton)},g.action.label):null)};function $g(){if(typeof window>"u"||typeof document>"u")return"ltr";const n=document.documentElement.getAttribute("dir");return n==="auto"||!n?window.getComputedStyle(document.documentElement).direction:n}function FC(n,s){const o={};
vendor: 1,362 bytes, line 50
50return[n,s].forEach((l,c)=>{const f=c===1,m=f?"--mobile-offset":"--offset",h=f?kC:DC;function p(v){["top","right","bottom","left"].forEach(x=>{o[`${m}-${x}`]=typeof v=="number"?`${v}px`:v})}typeof l=="number"||typeof l=="string"?p(l):typeof l=="object"?["top","right","bottom","left"].forEach(v=>{l[v]===void 0?o[`${m}-${v}`]=h:o[`${m}-${v}`]=typeof l[v]=="number"?`${l[v]}px`:l[v]}):p(h)}),o}const qC=te.forwardRef(function(s,o){const{id:l,invert:c,position:f="bottom-right",hotkey:m=["altKey","KeyT"],expand:h,closeButton:p,className:v,offset:x,mobileOffset:g,theme:w="light",richColors:S,duration:N,style:A,visibleToasts:H=RC,toastOptions:P,dir:Z=$g(),gap:$=LC,icons:ne,containerAriaLabel:V="Notifications"}=s,[K,T]=te.useState([]),B=te.useMemo(()=>l?K.filter(z=>z.toasterId===l):K.filter(z=>!z.toasterId),[K,l]),J=te.useMemo(()=>Array.from(new Set([f].concat(B.filter(z=>z.position).map(z=>z.position)))),[B,f]),[I,ae]=te.useState([]),[ee,le]=te.useState(!1),[ie,ce]=te.useState(!1),[_,U]=te.useState(w!=="system"?w:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),R=te.useRef(null),se=m.join("+").replace(/Key/g,"").replace(/Digit/g,""),me=te.useRef(null),E=te.useRef(!1),q=te.useCallback(z=>{T(Q=>{var W;return(W=Q.find(he=>he.id===z.id))!=null&&W.delete||Ut.dismiss(z.id),Q.filter(({id:he})=>
vendor: 5,924 bytes, line 50
50he!==z.id)})},[]);return te.useEffect(()=>Ut.subscribe(z=>{if(z.dismiss){requestAnimationFrame(()=>{T(Q=>Q.map(W=>W.id===z.id?{...W,delete:!0}:W))});return}setTimeout(()=>{pC.flushSync(()=>{T(Q=>{const W=Q.findIndex(he=>he.id===z.id);return W!==-1?[...Q.slice(0,W),{...Q[W],...z},...Q.slice(W+1)]:[z,...Q]})})})}),[K]),te.useEffect(()=>{if(w!=="system"){U(w);return}if(w==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?U("dark"):U("light")),typeof window>"u")return;const z=window.matchMedia("(prefers-color-scheme: dark)");try{z.addEventListener("change",({matches:Q})=>{U(Q?"dark":"light")})}catch{z.addListener(({matches:W})=>{try{U(W?"dark":"light")}catch(he){console.error(he)}})}},[w]),te.useEffect(()=>{K.length<=1&&le(!1)},[K]),te.useEffect(()=>{const z=Q=>{var W;if(m.every(ve=>Q[ve]||Q.code===ve)){var re;le(!0),(re=R.current)==null||re.focus()}Q.code==="Escape"&&(document.activeElement===R.current||(W=R.current)!=null&&W.contains(document.activeElement))&&le(!1)};return document.addEventListener("keydown",z),()=>document.removeEventListener("keydown",z)},[m]),te.useEffect(()=>{if(R.current)return()=>{me.current&&(me.current.focus({preventScroll:!0}),me.current=null,E.current=!1)}},[R.current]),te.createElement("section",{ref:o,"aria-label":`${V} ${se}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},J.map((z,Q)=>{var W;const[he,re]=z.split("-");return B.length?te.createElement("ol",{key:z,dir:Z==="auto"?$g():Z,tabIndex:-1,ref:R,className:v,"data-sonner-toaster":!0,"data-sonner-theme":_,"data-y-position":he,"data-x-position":re,style:{"--front-toast-height":`${((W=I[0])==null?void 0:W.height)||0}px`,"--width":`${zC}px`,"--gap":`${$}px`,...A,...FC(x,g)},onBlur:ve=>{E.current&&!ve.currentTarget.contains(ve.relatedTarget)&&(E.current=!1,me.current&&(me.current.focus({preventScroll:!0}),me.current=null))},onFocus:ve=>{ve.target instanceof HTMLElement&&ve.target.dataset.dismissible==="false"||E.current||(E.current=!0,me.current=ve.relatedTarget)},onMouseEnter:()=>le(!0),onMouseMove:()=>le(!0),onMouseLeave:()=>{ie||le(!1)},onDragEnd:()=>le(!1),onPointerDown:ve=>{ve.target instanceof HTMLElement&&ve.target.dataset.dismissible==="false"||ce(!0)},onPointerUp:()=>ce(!1)},B.filter(ve=>!ve.position&&Q===0||ve.position===z).map((ve,_e)=>{var dt,Ct;return te.createElement(PC,{key:ve.id,icons:ne,index:_e,toast:ve,defaultRichColors:S,duration:(dt=P?.duration)!=null?dt:N,className:P?.className,descriptionClassName:P?.descriptionClassName,invert:c,visibleToasts:H,closeButton:(Ct=P?.closeButton)!=null?Ct:p,interacting:ie,position:z,style:P?.style,unstyled:P?.unstyled,classNames:P?.classNames,cancelButtonStyle:P?.cancelButtonStyle,actionButtonStyle:P?.actionButtonStyle,closeButtonAriaLabel:P?.closeButtonAriaLabel,removeToast:q,toasts:B.filter(ft=>ft.position==ve.position),heights:I.filter(ft=>ft.position==ve.position),setHeights:ae,expandByDefault:h,gap:$,expanded:ee,swipeDirections:s.swipeDirections})})):null}))}),QC=({...n})=>{const{theme:s="system"}=hC();return d.jsx(qC,{"data-loc":"client/src/components/ui/sonner.tsx:8",theme:s,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...n})};function na(n,s,{checkForDefaultPrevented:o=!0}={}){return function(c){if(n?.(c),o===!1||!c.defaultPrevented)return s?.(c)}}function Wg(n,s){if(typeof n=="function")return n(s);n!=null&&(n.current=s)}function Pv(...n){return s=>{let o=!1;const l=n.map(c=>{const f=Wg(c,s);return!o&&typeof f=="function"&&(o=!0),f});if(o)return()=>{for(let c=0;c<l.length;c++){const f=l[c];typeof f=="function"?f():Wg(n[c],null)}}}}function Ns(...n){return C.useCallback(Pv(...n),n)}function Fv(n,s=[]){let o=[];function l(f,m){const h=C.createContext(m),p=o.length;o=[...o,m];const v=g=>{const{scope:w,children:S,...N}=g,A=w?.[n]?.[p]||h,H=C.useMemo(()=>N,Object.values(N));return d.jsx(A.Provider,{value:H,children:S})};v.displayName=f+"Provider";function x(g,w){const S=w?.[n]?.[p]||h,N=C.useContext(S);if(N)return N;if(m!==void 0)return m;throw new Error(`\`${g}\` must be used within \`${f}\``)}return[v,x]}const c=()=>{const f=o.map(m=>C.createContext(m));return function(h){const p=h?.[n]||f;return C.useMemo(()=>({[`__scope${n}`]:{...h,[n]:p}}),[h,p])}};return c.scopeName=n,[l,YC(c,...s)]}function YC(...n){const s=n[0];if(n.length===1)return s;const o=()=>{const l=n.map(c=>({useScope:c(),scopeName:c.scopeName}));return function(f){const m=l.reduce((h,{useScope:p,scopeName:v})=>{const g=p(f)[`__scope${v}`];return{...h,...g}},{});return C.useMemo(()=>({[`__scope${s.scopeName}`]:m}),[m])}};return o.scopeName=s.scopeName,o}function qv(n){const s=VC(n),o=C.forwardRef((l,c)=>{const{children:f,...m}=l,h=C.Children.toArray(f),p=h.find(KC);if(p){const v=p.props.children,x=h.map(g=>g===p?C.Children.count(v)>1?C.Children.only(null):C.isValidElement(v)?v.props.children:null:g);return d.jsx(s,{...m,ref:c,children:C.isValidElement(v)?C.cloneElement(v,void 0,x):null})}return d.jsx(s,{...m,ref:c,children:f})});return o.displayName=`${n}.Slot`,o}var GC=qv("Slot");function VC(n){const s=C.forwardRef((o,l)=>{const{children:c,...f}=o;if(C.isValidElement(c)){const m=$C(c),h=ZC(f,c.props);return c.type!==C.Fragment&&(h.ref=l?Pv(l,m):m),C.cloneElement(c,h)}return C.Children.count(c)>1?C.Children.only(null):null});return s.displayName=`${n}.SlotClone`,s}var Qv=Symbol("radix.slottable");function XC(n){const s=({children:o})=>d.jsx(d.Fragment,{children:o});return s.displayName=`${n}.Slottable`,s.__radixId=Qv,s}function KC(n){return C.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===Qv}function ZC(n,s){const o={...s};for(const l in s){const c=n[l],f=s[l];/^on[A-Z]/.test(l)?c&&f?o[l]=(...h)=>{const p=f(...h);return c(...h),p}:c&&(o[l]=c):l==="style"?o[l]={...c,...f}
vendor: 4,576 bytes, line 50
50:l==="className"&&(o[l]=[c,f].filter(Boolean).join(" "))}return{...n,...o}}function $C(n){let s=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,o=s&&"isReactWarning"in s&&s.isReactWarning;return o?n.ref:(s=Object.getOwnPropertyDescriptor(n,"ref")?.get,o=s&&"isReactWarning"in s&&s.isReactWarning,o?n.props.ref:n.props.ref||n.ref)}var WC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],_s=WC.reduce((n,s)=>{const o=qv(`Primitive.${s}`),l=C.forwardRef((c,f)=>{const{asChild:m,...h}=c,p=m?o:s;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),d.jsx(p,{...h,ref:f})});return l.displayName=`Primitive.${s}`,{...n,[s]:l}},{});function JC(n,s){n&&ff.flushSync(()=>n.dispatchEvent(s))}function Ur(n){const s=C.useRef(n);return C.useEffect(()=>{s.current=n}),C.useMemo(()=>(...o)=>s.current?.(...o),[])}function IC(n,s=globalThis?.document){const o=Ur(n);C.useEffect(()=>{const l=c=>{c.key==="Escape"&&o(c)};return s.addEventListener("keydown",l,{capture:!0}),()=>s.removeEventListener("keydown",l,{capture:!0})},[o,s])}var eS="DismissableLayer",Gd="dismissableLayer.update",tS="dismissableLayer.pointerDownOutside",nS="dismissableLayer.focusOutside",Jg,Yv=C.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Gv=C.forwardRef((n,s)=>{const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:f,onInteractOutside:m,onDismiss:h,...p}=n,v=C.useContext(Yv),[x,g]=C.useState(null),w=x?.ownerDocument??globalThis?.document,[,S]=C.useState({}),N=Ns(s,T=>g(T)),A=Array.from(v.layers),[H]=[...v.layersWithOutsidePointerEventsDisabled].slice(-1),P=A.indexOf(H),Z=x?A.indexOf(x):-1,$=v.layersWithOutsidePointerEventsDisabled.size>0,ne=Z>=P,V=iS(T=>{const B=T.target,J=[...v.branches].some(I=>I.contains(B));!ne||J||(c?.(T),m?.(T),T.defaultPrevented||h?.())},w),K=oS(T=>{const B=T.target;[...v.branches].some(I=>I.contains(B))||(f?.(T),m?.(T),T.defaultPrevented||h?.())},w);return IC(T=>{Z===v.layers.size-1&&(l?.(T),!T.defaultPrevented&&h&&(T.preventDefault(),h()))},w),C.useEffect(()=>{if(x)return o&&(v.layersWithOutsidePointerEventsDisabled.size===0&&(Jg=w.body.style.pointerEvents,w.body.style.pointerEvents="none"),v.layersWithOutsidePointerEventsDisabled.add(x)),v.layers.add(x),Ig(),()=>{o&&v.layersWithOutsidePointerEventsDisabled.size===1&&(w.body.style.pointerEvents=Jg)}},[x,w,o,v]),C.useEffect(()=>()=>{x&&(v.layers.delete(x),v.layersWithOutsidePointerEventsDisabled.delete(x),Ig())},[x,v]),C.useEffect(()=>{const T=()=>S({});return document.addEventListener(Gd,T),()=>document.removeEventListener(Gd,T)},[]),d.jsx(_s.div,{...p,ref:N,style:{pointerEvents:$?ne?"auto":"none":void 0,...n.style},onFocusCapture:na(n.onFocusCapture,K.onFocusCapture),onBlurCapture:na(n.onBlurCapture,K.onBlurCapture),onPointerDownCapture:na(n.onPointerDownCapture,V.onPointerDownCapture)})});Gv.displayName=eS;var aS="DismissableLayerBranch",sS=C.forwardRef((n,s)=>{const o=C.useContext(Yv),l=C.useRef(null),c=Ns(s,l);return C.useEffect(()=>{const f=l.current;if(f)return o.branches.add(f),()=>{o.branches.delete(f)}},[o.branches]),d.jsx(_s.div,{...n,ref:c})});sS.displayName=aS;function iS(n,s=globalThis?.document){const o=Ur(n),l=C.useRef(!1),c=C.useRef(()=>{});return C.useEffect(()=>{const f=h=>{if(h.target&&!l.current){let p=function(){Vv(tS,o,v,{discrete:!0})};const v={originalEvent:h};h.pointerType==="touch"?(s.removeEventListener("click",c.current),c.current=p,s.addEventListener("click",c.current,{once:!0})):p()}else s.removeEventListener("click",c.current);l.current=!1},m=window.setTimeout(()=>{s.addEventListener("pointerdown",f)},0);return()=>{window.clearTimeout(m),s.removeEventListener("pointerdown",f),s.removeEventListener("click",c.current)}},[s,o]),{onPointerDownCapture:()=>l.current=!0}}function oS(n,s=globalThis?.document){const o=Ur(n),l=C.useRef(!1);return C.useEffect(()=>{const c=f=>{f.target&&!l.current&&Vv(nS,o,{originalEvent:f},{discrete:!1})};return s.addEventListener("focusin",c),()=>s.removeEventListener("focusin",c)},[s,o]),{onFocusCapture:()=>l.current=!0,onBlurCapture:()=>l.current=!1}}function Ig(){const n=new CustomEvent(Gd);document.dispatchEvent(n)}function Vv(n,s,o,{discrete:l}){const c=o.originalEvent.target,f=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:o});s&&c.addEventListener(n,s,{once:!0}),l?JC(c,f):c.dispatchEvent(f)}var Bo=globalThis?.document?C.useLayoutEffect:()=>{};const lS=["top","right","bottom","left"],Fa=Math.min,Kt=Math.max,Ar=Math.round,mr=Math.floor,Mn=n=>({x:n,y:n}
vendor: 14,527 bytes, line 50
50),rS={left:"right",right:"left",bottom:"top",top:"bottom"},cS={start:"end",end:"start"};function Vd(n,s,o){return Kt(n,Fa(s,o))}function sa(n,s){return typeof n=="function"?n(s):n}function ia(n){return n.split("-")[0]}function ji(n){return n.split("-")[1]}function mf(n){return n==="x"?"y":"x"}function hf(n){return n==="y"?"height":"width"}const uS=new Set(["top","bottom"]);function Tn(n){return uS.has(ia(n))?"y":"x"}function pf(n){return mf(Tn(n))}function dS(n,s,o){o===void 0&&(o=!1);const l=ji(n),c=pf(n),f=hf(c);let m=c==="x"?l===(o?"end":"start")?"right":"left":l==="start"?"bottom":"top";return s.reference[f]>s.floating[f]&&(m=Nr(m)),[m,Nr(m)]}function fS(n){const s=Nr(n);return[Xd(n),s,Xd(s)]}function Xd(n){return n.replace(/start|end/g,s=>cS[s])}const ey=["left","right"],ty=["right","left"],mS=["top","bottom"],hS=["bottom","top"];function pS(n,s,o){switch(n){case"top":case"bottom":return o?s?ty:ey:s?ey:ty;case"left":case"right":return s?mS:hS;default:return[]}}function gS(n,s,o,l){const c=ji(n);let f=pS(ia(n),o==="start",l);return c&&(f=f.map(m=>m+"-"+c),s&&(f=f.concat(f.map(Xd)))),f}function Nr(n){return n.replace(/left|right|bottom|top/g,s=>rS[s])}function yS(n){return{top:0,right:0,bottom:0,left:0,...n}}function Xv(n){return typeof n!="number"?yS(n):{top:n,right:n,bottom:n,left:n}}function _r(n){const{x:s,y:o,width:l,height:c}=n;return{width:l,height:c,top:o,left:s,right:s+l,bottom:o+c,x:s,y:o}}function ny(n,s,o){let{reference:l,floating:c}=n;const f=Tn(s),m=pf(s),h=hf(m),p=ia(s),v=f==="y",x=l.x+l.width/2-c.width/2,g=l.y+l.height/2-c.height/2,w=l[h]/2-c[h]/2;let S;switch(p){case"top":S={x,y:l.y-c.height};break;case"bottom":S={x,y:l.y+l.height};break;case"right":S={x:l.x+l.width,y:g};break;case"left":S={x:l.x-c.width,y:g};break;default:S={x:l.x,y:l.y}}switch(ji(s)){case"start":S[m]-=w*(o&&v?-1:1);break;case"end":S[m]+=w*(o&&v?-1:1);break}return S}const vS=async(n,s,o)=>{const{placement:l="bottom",strategy:c="absolute",middleware:f=[],platform:m}=o,h=f.filter(Boolean),p=await(m.isRTL==null?void 0:m.isRTL(s));let v=await m.getElementRects({reference:n,floating:s,strategy:c}),{x,y:g}=ny(v,l,p),w=l,S={},N=0;for(let A=0;A<h.length;A++){const{name:H,fn:P}=h[A],{x:Z,y:$,data:ne,reset:V}=await P({x,y:g,initialPlacement:l,placement:w,strategy:c,middlewareData:S,rects:v,platform:m,elements:{reference:n,floating:s}});x=Z??x,g=$??g,S={...S,[H]:{...S[H],...ne}},V&&N<=50&&(N++,typeof V=="object"&&(V.placement&&(w=V.placement),V.rects&&(v=V.rects===!0?await m.getElementRects({reference:n,floating:s,strategy:c}):V.rects),{x,y:g}=ny(v,w,p)),A=-1)}return{x,y:g,placement:w,strategy:c,middlewareData:S}};async function Uo(n,s){var o;s===void 0&&(s={});const{x:l,y:c,platform:f,rects:m,elements:h,strategy:p}=n,{boundary:v="clippingAncestors",rootBoundary:x="viewport",elementContext:g="floating",altBoundary:w=!1,padding:S=0}=sa(s,n),N=Xv(S),H=h[w?g==="floating"?"reference":"floating":g],P=_r(await f.getClippingRect({element:(o=await(f.isElement==null?void 0:f.isElement(H)))==null||o?H:H.contextElement||await(f.getDocumentElement==null?void 0:f.getDocumentElement(h.floating)),boundary:v,rootBoundary:x,strategy:p})),Z=g==="floating"?{x:l,y:c,width:m.floating.width,height:m.floating.height}:m.reference,$=await(f.getOffsetParent==null?void 0:f.getOffsetParent(h.floating)),ne=await(f.isElement==null?void 0:f.isElement($))?await(f.getScale==null?void 0:f.getScale($))||{x:1,y:1}:{x:1,y:1},V=_r(f.convertOffsetParentRelativeRectToViewportRelativeRect?await f.convertOffsetParentRelativeRectToViewportRelativeRect({elements:h,rect:Z,offsetParent:$,strategy:p}):Z);return{top:(P.top-V.top+N.top)/ne.y,bottom:(V.bottom-P.bottom+N.bottom)/ne.y,left:(P.left-V.left+N.left)/ne.x,right:(V.right-P.right+N.right)/ne.x}}const xS=n=>({name:"arrow",options:n,async fn(s){const{x:o,y:l,placement:c,rects:f,platform:m,elements:h,middlewareData:p}=s,{element:v,padding:x=0}=sa(n,s)||{};if(v==null)return{};const g=Xv(x),w={x:o,y:l},S=pf(c),N=hf(S),A=await m.getDimensions(v),H=S==="y",P=H?"top":"left",Z=H?"bottom":"right",$=H?"clientHeight":"clientWidth",ne=f.reference[N]+f.reference[S]-w[S]-f.floating[N],V=w[S]-f.reference[S],K=await(m.getOffsetParent==null?void 0:m.getOffsetParent(v));let T=K?K[$]:0;(!T||!await(m.isElement==null?void 0:m.isElement(K)))&&(T=h.floating[$]||f.floating[N]);const B=ne/2-V/2,J=T/2-A[N]/2-1,I=Fa(g[P],J),ae=Fa(g[Z],J),ee=I,le=T-A[N]-ae,ie=T/2-A[N]/2+B,ce=Vd(ee,ie,le),_=!p.arrow&&ji(c)!=null&&ie!==ce&&f.reference[N]/2-(ie<ee?I:ae)-A[N]/2<0,U=_?ie<ee?ie-ee:ie-le:0;return{[S]:w[S]+U,data:{[S]:ce,centerOffset:ie-ce-U,..._&&{alignmentOffset:U}},reset:_}}}),bS=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(s){var o,l;const{placement:c,middlewareData:f,rects:m,initialPlacement:h,platform:p,elements:v}=s,{mainAxis:x=!0,crossAxis:g=!0,fallbackPlacements:w,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:N="none",flipAlignment:A=!0,...H}=sa(n,s);if((o=f.arrow)!=null&&o.alignmentOffset)return{};const P=ia(c),Z=Tn(h),$=ia(h)===h,ne=await(p.isRTL==null?void 0:p.isRTL(v.floating)),V=w||($||!A?[Nr(h)]:fS(h)),K=N!=="none";!w&&K&&V.push(...gS(h,A,N,ne));const T=[h,...V],B=await Uo(s,H),J=[];let I=((l=f.flip)==null?void 0:l.overflows)||[];if(x&&J.push(B[P]),g){const ie=dS(c,m,ne);J.push(B[ie[0]],B[ie[1]])}if(I=[...I,{placement:c,overflows:J}],!J.every(ie=>ie<=0)){var ae,ee;const ie=(((ae=f.flip)==null?void 0:ae.index)||0)+1,ce=T[ie];if(ce&&(!(g==="alignment"?Z!==Tn(ce):!1)||I.every(R=>Tn(R.placement)===Z?R.overflows[0]>0:!0)))return{data:{index:ie,overflows:I},reset:{placement:ce}};let _=(ee=I.filter(U=>U.overflows[0]<=0).sort((U,R)=>U.overflows[1]-R.overflows[1])[0])==null?void 0:ee.placement;if(!_)switch(S){case"bestFit":{var le;const U=(le=I.filter(R=>{if(K){const se=Tn(R.placement);return se===Z||se==="y"}return!0}).map(R=>[R.placement,R.overflows.filter(se=>se>0).reduce((se,me)=>se+me,0)]).sort((R,se)=>R[1]-se[1])[0])==null?void 0:le[0];U&&(_=U);break}case"initialPlacement":_=h;break}if(c!==_)return{reset:{placement:_}}}return{}}}};function ay(n,s){return{top:n.top-s.height,right:n.right-s.width,bottom:n.bottom-s.height,left:n.left-s.width}}function sy(n){return lS.some(s=>n[s]>=0)}const wS=function(n){return n===void 0&&(n={}),{name:"hide",options:n,async fn(s){const{rects:o}=s,{strategy:l="referenceHidden",...c}=sa(n,s);switch(l){case"referenceHidden":{const f=await Uo(s,{...c,elementContext:"reference"}),m=ay(f,o.reference);return{data:{referenceHiddenOffsets:m,referenceHidden:sy(m)}}}case"escaped":{const f=await Uo(s,{...c,altBoundary:!0}),m=ay(f,o.floating);return{data:{escapedOffsets:m,escaped:sy(m)}}}default:return{}}}}},Kv=new Set(["left","top"]);async function CS(n,s){const{placement:o,platform:l,elements:c}=n,f=await(l.isRTL==null?void 0:l.isRTL(c.floating)),m=ia(o),h=ji(o),p=Tn(o)==="y",v=Kv.has(m)?-1:1,x=f&&p?-1:1,g=sa(s,n);let{mainAxis:w,crossAxis:S,alignmentAxis:N}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return h&&typeof N=="number"&&(S=h==="end"?N*-1:N),p?{x:S*x,y:w*v}:{x:w*v,y:S*x}}const SS=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(s){var o,l;const{x:c,y:f,placement:m,middlewareData:h}=s,p=await CS(s,n);return m===((o=h.offset)==null?void 0:o.placement)&&(l=h.arrow)!=null&&l.alignmentOffset?{}:{x:c+p.x,y:f+p.y,data:{...p,placement:m}}}}},ES=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(s){const{x:o,y:l,placement:c}=s,{mainAxis:f=!0,crossAxis:m=!1,limiter:h={fn:H=>{let{x:P,y:Z}=H;return{x:P,y:Z}}},...p}=sa(n,s),v={x:o,y:l},x=await Uo(s,p),g=Tn(ia(c)),w=mf(g);let S=v[w],N=v[g];if(f){const H=w==="y"?"top":"left",P=w==="y"?"bottom":"right",Z=S+x[H],$=S-x[P];S=Vd(Z,S,$)}if(m){const H=g==="y"?"top":"left",P=g==="y"?"bottom":"right",Z=N+x[H],$=N-x[P];N=Vd(Z,N,$)}const A=h.fn({...s,[w]:S,[g]:N});return{...A,data:{x:A.x-o,y:A.y-l,enabled:{[w]:f,[g]:m}}}}}},jS=function(n){return n===void 0&&(n={}),{options:n,fn(s){const{x:o,y:l,placement:c,rects:f,middlewareData:m}=s,{offset:h=0,mainAxis:p=!0,crossAxis:v=!0}=sa(n,s),x={x:o,y:l},g=Tn(c),w=mf(g);let S=x[w],N=x[g];const A=sa(h,s),H=typeof A=="number"?{mainAxis:A,crossAxis:0}:{mainAxis:0,crossAxis:0,...A};if(p){const $=w==="y"?"height":"width",ne=f.reference[w]-f.floating[$]+H.mainAxis,V=f.reference[w]+f.reference[$]-H.mainAxis;S<ne?S=ne:S>V&&(S=V)}if(v){var P,Z;const $=w==="y"?"width":"height",ne=Kv.has(ia(c)),V=f.reference[g]-f.floating[$]+(ne&&((P=m.offset)==null?void 0:P[g])||0)+(ne?0:H.crossAxis),K=f.reference[g]+f.reference[$]+(ne?0:((Z=m.offset)==null?void 0:Z[g])||0)-(ne?H.crossAxis:0);N<V?N=V:N>K&&(N=K)}return{[w]:S,[g]:N}}}},AS=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(s){var o,l;const{placement:c,rects:f,platform:m,elements:h}=s,{apply:p=()=>{},...v}=sa(n,s),x=await Uo(s,v),g=ia(c),w=ji(c),S=Tn(c)==="y",{width:N,height:A}=f.floating;let H,P;g==="top"||g==="bottom"?(H=g,P=w===(await(m.isRTL==null?void 0:m.isRTL(h.floating))?"start":"end")?"left":"right"):(P=g,H=w==="end"?"top":"bottom");const Z=A-x.top-x.bottom,$=N-x.left-x.right,ne=Fa(A-x[H],Z),V=Fa(N-x[P],$),K=!s.middlewareData.shift;let T=ne,B=V;if((o=s.middlewareData.shift)!=null&&o.enabled.x&&(B=$),(l=s.middlewareData.shift)!=null&&l.enabled.y&&(T=Z),K&&!w){const I=Kt(x.left,0),ae=Kt(x.right,0),ee=Kt(x.top,0),le=Kt(x.bottom,0);S?B=N-2*(I!==0||ae!==0?I+ae:Kt(x.left,x.right)):T=A-2*(ee!==0||le!==0?ee+le:Kt(x.top,x.bottom))}await p({...s,availableWidth:B,availableHeight:T});const J=await m.getDimensions(h.floating);return N!==J.width||A!==J.height?{reset:{rects:!0}}:{}}}};function Pr(){return typeof window<"u"}function Ai(n){return Zv(n)?(n.nodeName||"").toLowerCase():"#document"}function $t(n){var s;return(n==null||(s=n.ownerDocument)==null?void 0:s.defaultView)||window}function kn(n){var s;return(s=(Zv(n)?n.ownerDocument:n.document)||window.document)==null?void 0:s.documentElement}function Zv(n){return Pr()?n instanceof Node||n instanceof $t(n).Node:!1}function yn(n){return Pr()?n instanceof Element||n instanceof $t(n).Element:!1}function Rn(n){return Pr()?n instanceof HTMLElement||n instanceof $t(n).HTMLElement:!1}function iy(n){return!Pr()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof $t(n).ShadowRoot}const NS=new Set(["inline","contents"]);function Vo(n){const{overflow:s,overflowX:o,overflowY:l,display:c}=vn(n);return/auto|scroll|overlay|hidden|clip/.test(s+l+o)&&!NS.has(c)}const _S=new Set(["table","td","th"]);function OS(n){return _S.has(Ai(n))}const TS=[":popover-open",":modal"];function Fr(n){return TS.some(s=>{try{return n.matches(s)}catch{return!1}})}const MS=["transform","translate","scale","rotate","perspective"],RS=["transform","translate","scale","rotate","perspective","filter"],DS=["paint","layout","strict","content"];function gf(n){const s=yf(),o=yn(n)?vn(n):n;return MS.some(l=>o[l]?o[l]!=="none":!1)||(o.containerType?o.containerType!=="normal":!1)||!s&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!s&&(o.filter?o.filter!=="none":!1)||RS.some(l=>(o.willChange||"").includes(l))||DS.some(l=>(o.contain||"").includes(l))}function kS(n){let s=qa(n);for(;Rn(s)&&!Si(s);){if(gf(s))return s;if(Fr(s))return null;s=qa(s)}return null}function yf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const zS=new Set(["html","body","#document"]);function Si(n){return zS.has(Ai(n))}function vn(n){return $t(n).getComputedStyle(n)}function qr(n){return yn(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function qa(n){if(Ai(n)==="html")return n;const s=n.assignedSlot||n.parentNode||iy(n)&&n.host||kn(n);return iy(s)?s.host:s}function $v(n){const s=qa(n);return Si(s)?n.ownerDocument?n.ownerDocument.body:n.body:Rn(s)&&Vo(s)?s:$v(s)}function Po(n,s,o){var l;s===void 0&&(s=[]),o===void 0&&(o=!0);const c=$v(n),f=c===((l=n.ownerDocument)==null?void 0:l.body),m=$t(c);if(f){const h=Kd(m);return s.concat(m,m.visualViewport||[],Vo(c)?c:[],h&&o?Po(h):[])}return s.concat(c,Po(c,[],o))}function Kd(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function Wv(n){const s=vn(n);let o=parseFloat(s.width)||0,l=parseFloat(s.height)||0;const c=Rn(n),f=c?n.offsetWidth:o,m=c?n.offsetHeight:l,h=Ar(o)!==f||Ar(l)!==m;return h&&(o=f,l=m),{width:o,height:l,$:h}}function vf(n){return yn(n)?n:n.contextElement}function wi(n){const s=vf(n);if(!Rn(s))return Mn(1);const o=s.getBoundingClientRect(),{width:l,height:c,$:f}=Wv(s);let m=(f?Ar(o.width):o.width)/l,h=(f?Ar(o.height):o.height)/c;return(!m||!Number.isFinite(m))&&(m=1),(!h||!Number.isFinite(h))&&(h=1),{x:m,y:h}}const LS=Mn(0);function Jv(n){const s=$t(n);return!yf()||!s.visualViewport?LS:{x:s.visualViewport.offsetLeft,y:s.visualViewport.offsetTop}}function HS(n,s,o){return s===void 0&&(s=!1),!o||s&&o!==$t(n)?!1:s}function ws(n,s,o,l){s===void 0&&(s=!1),o===void 0&&(o=!1);const c=n.getBoundingClientRect(),f=vf(n);let m=Mn(1);s&&(l?yn(l)&&(m=wi(l)):m=wi(n));const h=HS(f,o,l)?Jv(f):Mn(0);let p=(c.left+h.x)/m.x,v=(c.top+h.y)/m.y,x=c.width/m.x,g=c.height/m.y;if(f){const w=$t(f),S=l&&yn(l)?$t(l):l;let N=w,A=Kd(N);for(;A&&l&&S!==N;){const H=wi(A),P=A.getBoundingClientRect(),Z=vn(A),$=P.left+(A.clientLeft+parseFloat(Z.paddingLeft))*H.x,ne=P.top+(A.clientTop+parseFloat(Z.paddingTop))*H.y;p*=H.x,v*=H.y,x*=H.x,g*=H.y,p+=$,v+=ne,N=$t(A),A=Kd(N)}}return _r({width:x,height:g,x:p,y:v})}function Qr(n,s){const o=qr(n).scrollLeft;return s?s.left+o:ws(kn(n)).left+o}function Iv(n,s){const o=n.getBoundingClientRect(),l=o.left+s.scrollLeft-Qr(n,o),c=o.top+s.scrollTop;return{x:l,y:c}}function BS(n){let{elements:s,rect:o,offsetParent:l,strategy:c}=n;const f=c==="fixed",m=kn(l),h=s?Fr(s.floating):!1;if(l===m||h&&f)return o;let p={scrollLeft:0,scrollTop:0},v=Mn(1);const x=Mn(0),g=Rn(l);if((g||!g&&!f)&&((Ai(l)!=="body"||Vo(m))&&(p=qr(l)),Rn(l))){const S=ws(l);v=wi(l),x.x=S.x+l.clientLeft,x.y=S.y+l.clientTop}const w=m&&!g&&!f?Iv(m,p):Mn(0);return{width:o.width*v.x,height:o.height*v.y,x:o.x*v.x-p.scrollLeft*v.x+x.x+w.x,y:o.y*v.y-p.scrollTop*v.y+x.y+w.y}}function US(n){return Array.from(n.getClientRects())}function PS(n){const s=kn(n),o=qr(n),l=n.ownerDocument.body,c=Kt(s.scrollWidth,s.clientWidth,l.scrollWidth,l.clientWidth),f=Kt(s.scrollHeight,s.clientHeight,l.scrollHeight,l.clientHeight);let m=-o.scrollLeft+Qr(n);const h=-o.scrollTop;return vn(l).direction==="rtl"&&(m+=Kt(s.clientWidth,l.clientWidth)-c),{width:c,height:f,x:m,y:h}}const oy=25;
vendor: 5,049 bytes, line 50
50function FS(n,s){const o=$t(n),l=kn(n),c=o.visualViewport;let f=l.clientWidth,m=l.clientHeight,h=0,p=0;if(c){f=c.width,m=c.height;const x=yf();(!x||x&&s==="fixed")&&(h=c.offsetLeft,p=c.offsetTop)}const v=Qr(l);if(v<=0){const x=l.ownerDocument,g=x.body,w=getComputedStyle(g),S=x.compatMode==="CSS1Compat"&&parseFloat(w.marginLeft)+parseFloat(w.marginRight)||0,N=Math.abs(l.clientWidth-g.clientWidth-S);N<=oy&&(f-=N)}else v<=oy&&(f+=v);return{width:f,height:m,x:h,y:p}}const qS=new Set(["absolute","fixed"]);function QS(n,s){const o=ws(n,!0,s==="fixed"),l=o.top+n.clientTop,c=o.left+n.clientLeft,f=Rn(n)?wi(n):Mn(1),m=n.clientWidth*f.x,h=n.clientHeight*f.y,p=c*f.x,v=l*f.y;return{width:m,height:h,x:p,y:v}}function ly(n,s,o){let l;if(s==="viewport")l=FS(n,o);else if(s==="document")l=PS(kn(n));else if(yn(s))l=QS(s,o);else{const c=Jv(n);l={x:s.x-c.x,y:s.y-c.y,width:s.width,height:s.height}}return _r(l)}function ex(n,s){const o=qa(n);return o===s||!yn(o)||Si(o)?!1:vn(o).position==="fixed"||ex(o,s)}function YS(n,s){const o=s.get(n);if(o)return o;let l=Po(n,[],!1).filter(h=>yn(h)&&Ai(h)!=="body"),c=null;const f=vn(n).position==="fixed";let m=f?qa(n):n;for(;yn(m)&&!Si(m);){const h=vn(m),p=gf(m);!p&&h.position==="fixed"&&(c=null),(f?!p&&!c:!p&&h.position==="static"&&!!c&&qS.has(c.position)||Vo(m)&&!p&&ex(n,m))?l=l.filter(x=>x!==m):c=h,m=qa(m)}return s.set(n,l),l}function GS(n){let{element:s,boundary:o,rootBoundary:l,strategy:c}=n;const m=[...o==="clippingAncestors"?Fr(s)?[]:YS(s,this._c):[].concat(o),l],h=m[0],p=m.reduce((v,x)=>{const g=ly(s,x,c);return v.top=Kt(g.top,v.top),v.right=Fa(g.right,v.right),v.bottom=Fa(g.bottom,v.bottom),v.left=Kt(g.left,v.left),v},ly(s,h,c));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function VS(n){const{width:s,height:o}=Wv(n);return{width:s,height:o}}function XS(n,s,o){const l=Rn(s),c=kn(s),f=o==="fixed",m=ws(n,!0,f,s);let h={scrollLeft:0,scrollTop:0};const p=Mn(0);function v(){p.x=Qr(c)}if(l||!l&&!f)if((Ai(s)!=="body"||Vo(c))&&(h=qr(s)),l){const S=ws(s,!0,f,s);p.x=S.x+s.clientLeft,p.y=S.y+s.clientTop}else c&&v();f&&!l&&c&&v();const x=c&&!l&&!f?Iv(c,h):Mn(0),g=m.left+h.scrollLeft-p.x-x.x,w=m.top+h.scrollTop-p.y-x.y;return{x:g,y:w,width:m.width,height:m.height}}function bd(n){return vn(n).position==="static"}function ry(n,s){if(!Rn(n)||vn(n).position==="fixed")return null;if(s)return s(n);let o=n.offsetParent;return kn(n)===o&&(o=o.ownerDocument.body),o}function tx(n,s){const o=$t(n);if(Fr(n))return o;if(!Rn(n)){let c=qa(n);for(;c&&!Si(c);){if(yn(c)&&!bd(c))return c;c=qa(c)}return o}let l=ry(n,s);for(;l&&OS(l)&&bd(l);)l=ry(l,s);return l&&Si(l)&&bd(l)&&!gf(l)?o:l||kS(n)||o}const KS=async function(n){const s=this.getOffsetParent||tx,o=this.getDimensions,l=await o(n.floating);return{reference:XS(n.reference,await s(n.floating),n.strategy),floating:{x:0,y:0,width:l.width,height:l.height}}};function ZS(n){return vn(n).direction==="rtl"}const $S={convertOffsetParentRelativeRectToViewportRelativeRect:BS,getDocumentElement:kn,getClippingRect:GS,getOffsetParent:tx,getElementRects:KS,getClientRects:US,getDimensions:VS,getScale:wi,isElement:yn,isRTL:ZS};function nx(n,s){return n.x===s.x&&n.y===s.y&&n.width===s.width&&n.height===s.height}function WS(n,s){let o=null,l;const c=kn(n);function f(){var h;clearTimeout(l),(h=o)==null||h.disconnect(),o=null}function m(h,p){h===void 0&&(h=!1),p===void 0&&(p=1),f();const v=n.getBoundingClientRect(),{left:x,top:g,width:w,height:S}=v;if(h||s(),!w||!S)return;const N=mr(g),A=mr(c.clientWidth-(x+w)),H=mr(c.clientHeight-(g+S)),P=mr(x),$={rootMargin:-N+"px "+-A+"px "+-H+"px "+-P+"px",threshold:Kt(0,Fa(1,p))||1};let ne=!0;function V(K){const T=K[0].intersectionRatio;if(T!==p){if(!ne)return m();T?m(!1,T):l=setTimeout(()=>{m(!1,1e-7)},1e3)}T===1&&!nx(v,n.getBoundingClientRect())&&m(),ne=!1}try{o=new IntersectionObserver(V,{...$,root:c.ownerDocument})}catch{o=new IntersectionObserver(V,$)}o.observe(n)}return m(!0),f}function JS(n,s,o,l){l===void 0&&(l={});const{ancestorScroll:c=!0,ancestorResize:f=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:h=typeof IntersectionObserver=="function",animationFrame:p=!1}=l,v=vf(n),x=c||f?[...v?Po(v):[],...Po(s)]:[];x.forEach(P=>{c&&P.addEventListener("scroll",o,{passive:!0}),f&&P.addEventListener("resize",o)});const g=v&&h?WS(v,o):null;let w=-1,S=null;m&&(S=new ResizeObserver(P=>{let[Z]=P;Z&&Z.target===v&&S&&(S.unobserve(s),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var $;($=S)==null||$.observe(s)})),o()}),v&&!p&&S.observe(v),S.observe(s));let N,A=p?ws(n):null;p&&H();function H(){const P=ws(n);A&&!nx(A,P)&&o(),A=P,N=requestAnimationFrame(H)}return o(),()=>{var P;x.forEach(Z=>{c&&Z.removeEventListener("scroll",o),f&&Z.removeEventListener("resize",o)}),g?.(),(P=S)==null||P.disconnect(),S=null,p&&cancelAnimationFrame(N)}}const IS=SS,e3=ES,t3=bS,n3=AS,a3=wS,cy=xS,s3=jS,i3=(n,s,o)=>{const l=new Map,c={platform:$S,...o},f={...c.platform,_c:l};return vS(n,s,{...c,platform:f})};var o3=typeof document<"u",l3=function(){},Cr=o3?C.useLayoutEffect:l3;
vendor: 10,931 bytes, line 50
50function Or(n,s){if(n===s)return!0;if(typeof n!=typeof s)return!1;if(typeof n=="function"&&n.toString()===s.toString())return!0;let o,l,c;if(n&&s&&typeof n=="object"){if(Array.isArray(n)){if(o=n.length,o!==s.length)return!1;for(l=o;l--!==0;)if(!Or(n[l],s[l]))return!1;return!0}if(c=Object.keys(n),o=c.length,o!==Object.keys(s).length)return!1;for(l=o;l--!==0;)if(!{}.hasOwnProperty.call(s,c[l]))return!1;for(l=o;l--!==0;){const f=c[l];if(!(f==="_owner"&&n.$$typeof)&&!Or(n[f],s[f]))return!1}return!0}return n!==n&&s!==s}function ax(n){return typeof window>"u"?1:(n.ownerDocument.defaultView||window).devicePixelRatio||1}function uy(n,s){const o=ax(n);return Math.round(s*o)/o}function wd(n){const s=C.useRef(n);return Cr(()=>{s.current=n}),s}function r3(n){n===void 0&&(n={});const{placement:s="bottom",strategy:o="absolute",middleware:l=[],platform:c,elements:{reference:f,floating:m}={},transform:h=!0,whileElementsMounted:p,open:v}=n,[x,g]=C.useState({x:0,y:0,strategy:o,placement:s,middlewareData:{},isPositioned:!1}),[w,S]=C.useState(l);Or(w,l)||S(l);const[N,A]=C.useState(null),[H,P]=C.useState(null),Z=C.useCallback(R=>{R!==K.current&&(K.current=R,A(R))},[]),$=C.useCallback(R=>{R!==T.current&&(T.current=R,P(R))},[]),ne=f||N,V=m||H,K=C.useRef(null),T=C.useRef(null),B=C.useRef(x),J=p!=null,I=wd(p),ae=wd(c),ee=wd(v),le=C.useCallback(()=>{if(!K.current||!T.current)return;const R={placement:s,strategy:o,middleware:w};ae.current&&(R.platform=ae.current),i3(K.current,T.current,R).then(se=>{const me={...se,isPositioned:ee.current!==!1};ie.current&&!Or(B.current,me)&&(B.current=me,ff.flushSync(()=>{g(me)}))})},[w,s,o,ae,ee]);Cr(()=>{v===!1&&B.current.isPositioned&&(B.current.isPositioned=!1,g(R=>({...R,isPositioned:!1})))},[v]);const ie=C.useRef(!1);Cr(()=>(ie.current=!0,()=>{ie.current=!1}),[]),Cr(()=>{if(ne&&(K.current=ne),V&&(T.current=V),ne&&V){if(I.current)return I.current(ne,V,le);le()}},[ne,V,le,I,J]);const ce=C.useMemo(()=>({reference:K,floating:T,setReference:Z,setFloating:$}),[Z,$]),_=C.useMemo(()=>({reference:ne,floating:V}),[ne,V]),U=C.useMemo(()=>{const R={position:o,left:0,top:0};if(!_.floating)return R;const se=uy(_.floating,x.x),me=uy(_.floating,x.y);return h?{...R,transform:"translate("+se+"px, "+me+"px)",...ax(_.floating)>=1.5&&{willChange:"transform"}}:{position:o,left:se,top:me}},[o,h,_.floating,x.x,x.y]);return C.useMemo(()=>({...x,update:le,refs:ce,elements:_,floatingStyles:U}),[x,le,ce,_,U])}const c3=n=>{function s(o){return{}.hasOwnProperty.call(o,"current")}return{name:"arrow",options:n,fn(o){const{element:l,padding:c}=typeof n=="function"?n(o):n;return l&&s(l)?l.current!=null?cy({element:l.current,padding:c}).fn(o):{}:l?cy({element:l,padding:c}).fn(o):{}}}},u3=(n,s)=>({...IS(n),options:[n,s]}),d3=(n,s)=>({...e3(n),options:[n,s]}),f3=(n,s)=>({...s3(n),options:[n,s]}),m3=(n,s)=>({...t3(n),options:[n,s]}),h3=(n,s)=>({...n3(n),options:[n,s]}),p3=(n,s)=>({...a3(n),options:[n,s]}),g3=(n,s)=>({...c3(n),options:[n,s]});var y3="Arrow",sx=C.forwardRef((n,s)=>{const{children:o,width:l=10,height:c=5,...f}=n;return d.jsx(_s.svg,{...f,ref:s,width:l,height:c,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:n.asChild?o:d.jsx("polygon",{points:"0,0 30,0 15,10"})})});sx.displayName=y3;var v3=sx;function x3(n){const[s,o]=C.useState(void 0);return Bo(()=>{if(n){o({width:n.offsetWidth,height:n.offsetHeight});const l=new ResizeObserver(c=>{if(!Array.isArray(c)||!c.length)return;const f=c[0];let m,h;if("borderBoxSize"in f){const p=f.borderBoxSize,v=Array.isArray(p)?p[0]:p;m=v.inlineSize,h=v.blockSize}else m=n.offsetWidth,h=n.offsetHeight;o({width:m,height:h})});return l.observe(n,{box:"border-box"}),()=>l.unobserve(n)}else o(void 0)},[n]),s}var ix="Popper",[ox,lx]=Fv(ix),[GE,rx]=ox(ix),cx="PopperAnchor",ux=C.forwardRef((n,s)=>{const{__scopePopper:o,virtualRef:l,...c}=n,f=rx(cx,o),m=C.useRef(null),h=Ns(s,m),p=C.useRef(null);return C.useEffect(()=>{const v=p.current;p.current=l?.current||m.current,v!==p.current&&f.onAnchorChange(p.current)}),l?null:d.jsx(_s.div,{...c,ref:h})});ux.displayName=cx;var xf="PopperContent",[b3,w3]=ox(xf),dx=C.forwardRef((n,s)=>{const{__scopePopper:o,side:l="bottom",sideOffset:c=0,align:f="center",alignOffset:m=0,arrowPadding:h=0,avoidCollisions:p=!0,collisionBoundary:v=[],collisionPadding:x=0,sticky:g="partial",hideWhenDetached:w=!1,updatePositionStrategy:S="optimized",onPlaced:N,...A}=n,H=rx(xf,o),[P,Z]=C.useState(null),$=Ns(s,re=>Z(re)),[ne,V]=C.useState(null),K=x3(ne),T=K?.width??0,B=K?.height??0,J=l+(f!=="center"?"-"+f:""),I=typeof x=="number"?x:{top:0,right:0,bottom:0,left:0,...x},ae=Array.isArray(v)?v:[v],ee=ae.length>0,le={padding:I,boundary:ae.filter(S3),altBoundary:ee},{refs:ie,floatingStyles:ce,placement:_,isPositioned:U,middlewareData:R}=r3({strategy:"fixed",placement:J,whileElementsMounted:(...re)=>JS(...re,{animationFrame:S==="always"}),elements:{reference:H.anchor},middleware:[u3({mainAxis:c+B,alignmentAxis:m}),p&&d3({mainAxis:!0,crossAxis:!1,limiter:g==="partial"?f3():void 0,...le}),p&&m3({...le}),h3({...le,apply:({elements:re,rects:ve,availableWidth:_e,availableHeight:dt})=>{const{width:Ct,height:ft}=ve.reference,zn=re.floating.style;zn.setProperty("--radix-popper-available-width",`${_e}px`),zn.setProperty("--radix-popper-available-height",`${dt}px`),zn.setProperty("--radix-popper-anchor-width",`${Ct}px`),zn.setProperty("--radix-popper-anchor-height",`${ft}px`)}}),ne&&g3({element:ne,padding:h}),E3({arrowWidth:T,arrowHeight:B}),w&&p3({strategy:"referenceHidden",...le})]}),[se,me]=hx(_),E=Ur(N);Bo(()=>{U&&E?.()},[U,E]);const q=R.arrow?.x,z=R.arrow?.y,Q=R.arrow?.centerOffset!==0,[W,he]=C.useState();return Bo(()=>{P&&he(window.getComputedStyle(P).zIndex)},[P]),d.jsx("div",{ref:ie.setFloating,"data-radix-popper-content-wrapper":"",style:{...ce,transform:U?ce.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:W,"--radix-popper-transform-origin":[R.transformOrigin?.x,R.transformOrigin?.y].join(" "),...R.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:n.dir,children:d.jsx(b3,{scope:o,placedSide:se,onArrowChange:V,arrowX:q,arrowY:z,shouldHideArrow:Q,children:d.jsx(_s.div,{"data-side":se,"data-align":me,...A,ref:$,style:{...A.style,animation:U?void 0:"none"}})})})});dx.displayName=xf;var fx="PopperArrow",C3={top:"bottom",right:"left",bottom:"top",left:"right"},mx=C.forwardRef(function(s,o){const{__scopePopper:l,...c}=s,f=w3(fx,l),m=C3[f.placedSide];return d.jsx("span",{ref:f.onArrowChange,style:{position:"absolute",left:f.arrowX,top:f.arrowY,[m]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[f.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[f.placedSide],visibility:f.shouldHideArrow?"hidden":void 0},children:d.jsx(v3,{...c,ref:o,style:{...c.style,display:"block"}})})});mx.displayName=fx;function S3(n){return n!==null}var E3=n=>({name:"transformOrigin",options:n,fn(s){const{placement:o,rects:l,middlewareData:c}=s,m=c.arrow?.centerOffset!==0,h=m?0:n.arrowWidth,p=m?0:n.arrowHeight,[v,x]=hx(o),g={start:"0%",center:"50%",end:"100%"}[x],w=(c.arrow?.x??0)+h/2,S=(c.arrow?.y??0)+p/2;let N="",A="";return v==="bottom"?(N=m?g:`${w}px`,A=`${-p}px`):v==="top"?(N=m?g:`${w}px`,A=`${l.floating.height+p}px`):v==="right"?(N=`${-p}px`,A=m?g:`${S}px`):v==="left"&&(N=`${l.floating.width+p}px`,A=m?g:`${S}px`),{data:{x:N,y:A}}}});function hx(n){const[s,o="center"]=n.split("-");return[s,o]}var j3=ux,A3=dx,N3=mx;function _3(n,s){return C.useReducer((o,l)=>s[o][l]??o,n)}var px=n=>{const{present:s,children:o}=n,l=O3(s),c=typeof o=="function"?o({present:l.isPresent}):C.Children.only(o),f=Ns(l.ref,T3(c));return typeof o=="function"||l.isPresent?C.cloneElement(c,{ref:f}):null};px.displayName="Presence";function O3(n){const[s,o]=C.useState(),l=C.useRef(null),c=C.useRef(n),f=C.useRef("none"),m=n?"mounted":"unmounted",[h,p]=_3(m,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return C.useEffect(()=>{const v=hr(l.current);f.current=h==="mounted"?v:"none"},[h]),Bo(()=>{const v=l.current,x=c.current;if(x!==n){const w=f.current,S=hr(v);n?p("MOUNT"):S==="none"||v?.display==="none"?p("UNMOUNT"):p(x&&w!==S?"ANIMATION_OUT":"UNMOUNT"),c.current=n}},[n,p]),Bo(()=>{if(s){let v;const x=s.ownerDocument.defaultView??window,g=S=>{const A=hr(l.current).includes(CSS.escape(S.animationName));if(S.target===s&&A&&(p("ANIMATION_END"),!c.current)){const H=s.style.animationFillMode;s.style.animationFillMode="forwards",v=x.setTimeout(()=>{s.style.animationFillMode==="forwards"&&(s.style.animationFillMode=H)})}},w=S=>{S.target===s&&(f.current=hr(l.current))};return s.addEventListener("animationstart",w),s.addEventListener("animationcancel",g),s.addEventListener("animationend",g),()=>{x.clearTimeout(v),s.removeEventListener("animationstart",w),s.removeEventListener("animationcancel",g),s.removeEventListener("animationend",g)}}else p("ANIMATION_END")},[s,p]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:C.useCallback(v=>{l.current=v?getComputedStyle(v):null,o(v)},[])}}function hr(n){return n?.animationName||"none"}function T3(n){let s=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,o=s&&"isReactWarning"in s&&s.isReactWarning;return o?n.ref:(s=Object.getOwnPropertyDescriptor(n,"ref")?.get,o=s&&"isReactWarning"in s&&s.isReactWarning,o?n.props.ref:n.props.ref||n.ref)}var M3=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"}),R3="VisuallyHidden",gx=C.forwardRef((n,s)=>d.jsx(_s.span,{...n,ref:s,style:{...M3,...n.style}}));gx.displayName=R3;var D3=gx,[Yr]=Fv("Tooltip",[lx]),bf=lx(),yx="TooltipProvider",k3=700,dy="tooltip.open",[z3,vx]=Yr(yx),xx=n=>{const{__scopeTooltip:s,delayDuration:o=k3,skipDelayDuration:l=300,disableHoverableContent:c=!1,children:f}=n,m=C.useRef(!0),h=C.useRef(!1),p=C.useRef(0);return C.useEffect(()=>{const v=p.current;return()=>window.clearTimeout(v)},[]),d.jsx(z3,{scope:s,isOpenDelayedRef:m,delayDuration:o,onOpen:C.useCallback(()=>{window.clearTimeout(p.current),m.current=!1},[]),onClose:C.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>m.current=!0,l)},[l]),isPointerInTransitRef:h,onPointerInTransitChange:C.useCallback(v=>{h.current=v},[]),disableHoverableContent:c,children:f})};xx.displayName=yx;var bx="Tooltip",[VE,Gr]=Yr(bx),Zd="TooltipTrigger",L3=C.forwardRef((n,s)=>{const{__scopeTooltip:o,...l}=n,c=Gr(Zd,o),f=vx(Zd,o),m=bf(o),h=C.useRef(null),p=Ns(s,h,c.onTriggerChange),v=C.useRef(!1),x=C.useRef(!1),g=C.useCallback(()=>v.current=!1,[]);return C.useEffect(()=>()=>document.removeEventListener("pointerup",g),[g]),d.jsx(j3,{asChild:!0,...m,children:d.jsx(_s.button,{"aria-describedby":c.open?c.c
vendor: 10,194 bytes, line 50
50ontentId:void 0,"data-state":c.stateAttribute,...l,ref:p,onPointerMove:na(n.onPointerMove,w=>{w.pointerType!=="touch"&&!x.current&&!f.isPointerInTransitRef.current&&(c.onTriggerEnter(),x.current=!0)}),onPointerLeave:na(n.onPointerLeave,()=>{c.onTriggerLeave(),x.current=!1}),onPointerDown:na(n.onPointerDown,()=>{c.open&&c.onClose(),v.current=!0,document.addEventListener("pointerup",g,{once:!0})}),onFocus:na(n.onFocus,()=>{v.current||c.onOpen()}),onBlur:na(n.onBlur,c.onClose),onClick:na(n.onClick,c.onClose)})})});L3.displayName=Zd;var H3="TooltipPortal",[XE,B3]=Yr(H3,{forceMount:void 0}),Ei="TooltipContent",U3=C.forwardRef((n,s)=>{const o=B3(Ei,n.__scopeTooltip),{forceMount:l=o.forceMount,side:c="top",...f}=n,m=Gr(Ei,n.__scopeTooltip);return d.jsx(px,{present:l||m.open,children:m.disableHoverableContent?d.jsx(wx,{side:c,...f,ref:s}):d.jsx(P3,{side:c,...f,ref:s})})}),P3=C.forwardRef((n,s)=>{const o=Gr(Ei,n.__scopeTooltip),l=vx(Ei,n.__scopeTooltip),c=C.useRef(null),f=Ns(s,c),[m,h]=C.useState(null),{trigger:p,onClose:v}=o,x=c.current,{onPointerInTransitChange:g}=l,w=C.useCallback(()=>{h(null),g(!1)},[g]),S=C.useCallback((N,A)=>{const H=N.currentTarget,P={x:N.clientX,y:N.clientY},Z=G3(P,H.getBoundingClientRect()),$=V3(P,Z),ne=X3(A.getBoundingClientRect()),V=Z3([...$,...ne]);h(V),g(!0)},[g]);return C.useEffect(()=>()=>w(),[w]),C.useEffect(()=>{if(p&&x){const N=H=>S(H,x),A=H=>S(H,p);return p.addEventListener("pointerleave",N),x.addEventListener("pointerleave",A),()=>{p.removeEventListener("pointerleave",N),x.removeEventListener("pointerleave",A)}}},[p,x,S,w]),C.useEffect(()=>{if(m){const N=A=>{const H=A.target,P={x:A.clientX,y:A.clientY},Z=p?.contains(H)||x?.contains(H),$=!K3(P,m);Z?w():$&&(w(),v())};return document.addEventListener("pointermove",N),()=>document.removeEventListener("pointermove",N)}},[p,x,m,v,w]),d.jsx(wx,{...n,ref:f})}),[F3,q3]=Yr(bx,{isInside:!1}),Q3=XC("TooltipContent"),wx=C.forwardRef((n,s)=>{const{__scopeTooltip:o,children:l,"aria-label":c,onEscapeKeyDown:f,onPointerDownOutside:m,...h}=n,p=Gr(Ei,o),v=bf(o),{onClose:x}=p;return C.useEffect(()=>(document.addEventListener(dy,x),()=>document.removeEventListener(dy,x)),[x]),C.useEffect(()=>{if(p.trigger){const g=w=>{w.target?.contains(p.trigger)&&x()};return window.addEventListener("scroll",g,{capture:!0}),()=>window.removeEventListener("scroll",g,{capture:!0})}},[p.trigger,x]),d.jsx(Gv,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:f,onPointerDownOutside:m,onFocusOutside:g=>g.preventDefault(),onDismiss:x,children:d.jsxs(A3,{"data-state":p.stateAttribute,...v,...h,ref:s,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:[d.jsx(Q3,{children:l}),d.jsx(F3,{scope:o,isInside:!0,children:d.jsx(D3,{id:p.contentId,role:"tooltip",children:c||l})})]})})});U3.displayName=Ei;var Cx="TooltipArrow",Y3=C.forwardRef((n,s)=>{const{__scopeTooltip:o,...l}=n,c=bf(o);return q3(Cx,o).isInside?null:d.jsx(N3,{...c,...l,ref:s})});Y3.displayName=Cx;function G3(n,s){const o=Math.abs(s.top-n.y),l=Math.abs(s.bottom-n.y),c=Math.abs(s.right-n.x),f=Math.abs(s.left-n.x);switch(Math.min(o,l,c,f)){case f:return"left";case c:return"right";case o:return"top";case l:return"bottom";default:throw new Error("unreachable")}}function V3(n,s,o=5){const l=[];switch(s){case"top":l.push({x:n.x-o,y:n.y+o},{x:n.x+o,y:n.y+o});break;case"bottom":l.push({x:n.x-o,y:n.y-o},{x:n.x+o,y:n.y-o});break;case"left":l.push({x:n.x+o,y:n.y-o},{x:n.x+o,y:n.y+o});break;case"right":l.push({x:n.x-o,y:n.y-o},{x:n.x-o,y:n.y+o});break}return l}function X3(n){const{top:s,right:o,bottom:l,left:c}=n;return[{x:c,y:s},{x:o,y:s},{x:o,y:l},{x:c,y:l}]}function K3(n,s){const{x:o,y:l}=n;let c=!1;for(let f=0,m=s.length-1;f<s.length;m=f++){const h=s[f],p=s[m],v=h.x,x=h.y,g=p.x,w=p.y;x>l!=w>l&&o<(g-v)*(l-x)/(w-x)+v&&(c=!c)}return c}function Z3(n){const s=n.slice();return s.sort((o,l)=>o.x<l.x?-1:o.x>l.x?1:o.y<l.y?-1:o.y>l.y?1:0),$3(s)}function $3(n){if(n.length<=1)return n.slice();const s=[];for(let l=0;l<n.length;l++){const c=n[l];for(;s.length>=2;){const f=s[s.length-1],m=s[s.length-2];if((f.x-m.x)*(c.y-m.y)>=(f.y-m.y)*(c.x-m.x))s.pop();else break}s.push(c)}s.pop();const o=[];for(let l=n.length-1;l>=0;l--){const c=n[l];for(;o.length>=2;){const f=o[o.length-1],m=o[o.length-2];if((f.x-m.x)*(c.y-m.y)>=(f.y-m.y)*(c.x-m.x))o.pop();else break}o.push(c)}return o.pop(),s.length===1&&o.length===1&&s[0].x===o[0].x&&s[0].y===o[0].y?s:s.concat(o)}var W3=xx;function Sx(n){var s,o,l="";if(typeof n=="string"||typeof n=="number")l+=n;else if(typeof n=="object")if(Array.isArray(n)){var c=n.length;for(s=0;s<c;s++)n[s]&&(o=Sx(n[s]))&&(l&&(l+=" "),l+=o)}else for(o in n)n[o]&&(l&&(l+=" "),l+=o);return l}function Ex(){for(var n,s,o=0,l="",c=arguments.length;o<c;o++)(n=arguments[o])&&(s=Sx(n))&&(l&&(l+=" "),l+=s);return l}const wf="-",J3=n=>{const s=e4(n),{conflictingClassGroups:o,conflictingClassGroupModifiers:l}=n;return{getClassGroupId:m=>{const h=m.split(wf);return h[0]===""&&h.length!==1&&h.shift(),jx(h,s)||I3(m)},getConflictingClassGroupIds:(m,h)=>{const p=o[m]||[];return h&&l[m]?[...p,...l[m]]:p}}},jx=(n,s)=>{if(n.length===0)return s.classGroupId;const o=n[0],l=s.nextPart.get(o),c=l?jx(n.slice(1),l):void 0;if(c)return c;if(s.validators.length===0)return;const f=n.join(wf);return s.validators.find(({validator:m})=>m(f))?.classGroupId},fy=/^\[(.+)\]$/,I3=n=>{if(fy.test(n)){const s=fy.exec(n)[1],o=s?.substring(0,s.indexOf(":"));if(o)return"arbitrary.."+o}},e4=n=>{const{theme:s,classGroups:o}=n,l={nextPart:new Map,validators:[]};for(const c in o)$d(o[c],l,c,s);return l},$d=(n,s,o,l)=>{n.forEach(c=>{if(typeof c=="string"){const f=c===""?s:my(s,c);f.classGroupId=o;return}if(typeof c=="function"){if(t4(c)){$d(c(l),s,o,l);return}s.validators.push({validator:c,classGroupId:o});return}Object.entries(c).forEach(([f,m])=>{$d(m,my(s,f),o,l)})})},my=(n,s)=>{let o=n;return s.split(wf).forEach(l=>{o.nextPart.has(l)||o.nextPart.set(l,{nextPart:new Map,validators:[]}),o=o.nextPart.get(l)}),o},t4=n=>n.isThemeGetter,n4=n=>{if(n<1)return{get:()=>{},set:()=>{}};let s=0,o=new Map,l=new Map;const c=(f,m)=>{o.set(f,m),s++,s>n&&(s=0,l=o,o=new Map)};return{get(f){let m=o.get(f);if(m!==void 0)return m;if((m=l.get(f))!==void 0)return c(f,m),m},set(f,m){o.has(f)?o.set(f,m):c(f,m)}}},Wd="!",Jd=":",a4=Jd.length,s4=n=>{const{prefix:s,experimentalParseClassName:o}=n;let l=c=>{const f=[];let m=0,h=0,p=0,v;for(let N=0;N<c.length;N++){let A=c[N];if(m===0&&h===0){if(A===Jd){f.push(c.slice(p,N)),p=N+a4;continue}if(A==="/"){v=N;continue}}A==="["?m++:A==="]"?m--:A==="("?h++:A===")"&&h--}const x=f.length===0?c:c.substring(p),g=i4(x),w=g!==x,S=v&&v>p?v-p:void 0;return{modifiers:f,hasImportantModifier:w,baseClassName:g,maybePostfixModifierPosition:S}};if(s){const c=s+Jd,f=l;l=m=>m.startsWith(c)?f(m.substring(c.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:m,maybePostfixModifierPosition:void 0}}if(o){const c=l;l=f=>o({className:f,parseClassName:c})}return l},i4=n=>n.endsWith(Wd)?n.substring(0,n.length-1):n.startsWith(Wd)?n.substring(1):n,o4=n=>{const s=Object.fromEntries(n.orderSensitiveModifiers.map(l=>[l,!0]));return l=>{if(l.length<=1)return l;const c=[];let f=[];return l.forEach(m=>{m[0]==="["||s[m]?(c.push(...f.sort(),m),f=[]):f.push(m)}),c.push(...f.sort()),c}},l4=n=>({cache:n4(n.cacheSize),parseClassName:s4(n),sortModifiers:o4(n),...J3(n)}),r4=/\s+/,c4=(n,s)=>{const{parseClassName:o,getClassGroupId:l,getConflictingClassGroupIds:c,sortModifiers:f}=s,m=[],h=n.trim().split(r4);let p="";for(let v=h.length-1;v>=0;v-=1){const x=h[v],{isExternal:g,modifiers:w,hasImportantModifier:S,baseClassName:N,maybePostfixModifierPosition:A}=o(x);if(g){p=x+(p.length>0?" "+p:p);continue}let H=!!A,P=l(H?N.substring(0,A):N);if(!P){if(!H){p=x+(p.length>0?" "+p:p);continue}if(P=l(N),!P){p=x+(p.length>0?" "+p:p);continue}H=!1}const Z=f(w).join(":"),$=S?Z+Wd:Z,ne=$+P;if(m.includes(ne))continue;m.push(ne);const V=c(P,H);for(let K=0;K<V.length;++K){const T=V[K];m.push($+T)}p=x+(p.length>0?" "+p:p)}return p};function u4(){let n=0,s,o,l="";for(;n<arguments.length;)(s=arguments[n++])&&(o=Ax(s))&&(l&&(l+=" "),l+=o);return l}const Ax=n=>{if(typeof n=="string")return n;let s,o="";for(let l=0;l<n.length;l++)n[l]&&(s=Ax(n[l]))&&(o&&(o+=" "),o+=s);return o};function d4(n,...s){let o,l,c,f=m;function m(p){const v=s.reduce((x,g)=>g(x),n());return o=l4(v),l=o.cache.get,c=o.cache.set,f=h,h(p)}function h(p){const v=l(p);if(v)return v;const x=c4(p,o);return c(p,x),x}return function(){return f(u4.apply(null,arguments))}}const lt=n=>{const s=o=>o[n]||[];return s.isThemeGetter=!0,s},Nx=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,_x=/^\((?:(\w[\w-]*):)?(.+)\)$/i,f4=/^\d+\/\d+$/,m4=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,h4=/\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$/,p4=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,g4=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,y4=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,vi=n=>f4.test(n),Se=n=>!!n&&!Number.isNaN(Number(n)),ka=n=>!!n&&Number.isInteger(Number(n)),Cd=n=>n.endsWith("%")&&Se(n.slice(0,-1)),ta=n=>m4.test(n),v4=()=>!0,x4=n=>h4.test(n)&&!p4.test(n),Ox=()=>!1,b4=n=>g4.test(n),w4=n=>y4.test(n),C4=n=>!de(n)&&!fe(n),S4=n=>Ni(n,Rx,Ox),de=n=>Nx.test(n),hs=n=>Ni(n,Dx,x4),Sd=n=>Ni(n,_4,Se),hy=n=>Ni(n,Tx,Ox),E4=n=>Ni(n,Mx,w4),pr=n=>Ni(n,kx,b4),fe=n=>_x.test(n),Oo=n=>_i(n,Dx),j4=n=>_i(n,O4),py=n=>_i(n,Tx),A4=n=>_i(n,Rx),N4=n=>_i(n,Mx),gr=n=>_i(n,kx,!0),Ni=(n,s,o)=>{const l=Nx.exec(n);return l?l[1]?s(l[1]):o(l[2]):!1},_i=(n,s,o=!1)=>{const l=_x.exec(n);return l?l[1]?s(l[1]):o:!1},Tx=n=>n==="position"||n==="percentage",Mx=n=>n==="image"||n==="url",Rx=n=>n==="length"||n==="size"||n==="bg-size",Dx=n=>n==="length",_4=n=>n==="number",O4=n=>n==="family-name",kx=n=>
vendor: 4,203 bytes, line 50
50n==="shadow",T4=()=>{const n=lt("color"),s=lt("font"),o=lt("text"),l=lt("font-weight"),c=lt("tracking"),f=lt("leading"),m=lt("breakpoint"),h=lt("container"),p=lt("spacing"),v=lt("radius"),x=lt("shadow"),g=lt("inset-shadow"),w=lt("text-shadow"),S=lt("drop-shadow"),N=lt("blur"),A=lt("perspective"),H=lt("aspect"),P=lt("ease"),Z=lt("animate"),$=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ne=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],V=()=>[...ne(),fe,de],K=()=>["auto","hidden","clip","visible","scroll"],T=()=>["auto","contain","none"],B=()=>[fe,de,p],J=()=>[vi,"full","auto",...B()],I=()=>[ka,"none","subgrid",fe,de],ae=()=>["auto",{span:["full",ka,fe,de]},ka,fe,de],ee=()=>[ka,"auto",fe,de],le=()=>["auto","min","max","fr",fe,de],ie=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ce=()=>["start","end","center","stretch","center-safe","end-safe"],_=()=>["auto",...B()],U=()=>[vi,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...B()],R=()=>[n,fe,de],se=()=>[...ne(),py,hy,{position:[fe,de]}],me=()=>["no-repeat",{repeat:["","x","y","space","round"]}],E=()=>["auto","cover","contain",A4,S4,{size:[fe,de]}],q=()=>[Cd,Oo,hs],z=()=>["","none","full",v,fe,de],Q=()=>["",Se,Oo,hs],W=()=>["solid","dashed","dotted","double"],he=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],re=()=>[Se,Cd,py,hy],ve=()=>["","none",N,fe,de],_e=()=>["none",Se,fe,de],dt=()=>["none",Se,fe,de],Ct=()=>[Se,fe,de],ft=()=>[vi,"full",...B()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ta],breakpoint:[ta],color:[v4],container:[ta],"drop-shadow":[ta],ease:["in","out","in-out"],font:[C4],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ta],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ta],shadow:[ta],spacing:["px",Se],text:[ta],"text-shadow":[ta],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",vi,de,fe,H]}],container:["container"],columns:[{columns:[Se,de,fe,h]}],"break-after":[{"break-after":$()}],"break-before":[{"break-before":$()}],"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:V()}],overflow:[{overflow:K()}],"overflow-x":[{"overflow-x":K()}],"overflow-y":[{"overflow-y":K()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],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:[ka,"auto",fe,de]}],basis:[{basis:[vi,"full","auto",h,...B()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Se,vi,"auto","initial","none",de]}],grow:[{grow:["",Se,fe,de]}],shrink:[{shrink:["",Se,fe,de]}],order:[{order:[ka,"first","last","none",fe,de]}],"grid-cols":[{"grid-cols":I()}],"col-start-end":[{col:ae()}],"col-start":[{"col-start":ee()}
vendor: 11,051 bytes, line 50
50],"col-end":[{"col-end":ee()}],"grid-rows":[{"grid-rows":I()}],"row-start-end":[{row:ae()}],"row-start":[{"row-start":ee()}],"row-end":[{"row-end":ee()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":le()}],"auto-rows":[{"auto-rows":le()}],gap:[{gap:B()}],"gap-x":[{"gap-x":B()}],"gap-y":[{"gap-y":B()}],"justify-content":[{justify:[...ie(),"normal"]}],"justify-items":[{"justify-items":[...ce(),"normal"]}],"justify-self":[{"justify-self":["auto",...ce()]}],"align-content":[{content:["normal",...ie()]}],"align-items":[{items:[...ce(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ce(),{baseline:["","last"]}]}],"place-content":[{"place-content":ie()}],"place-items":[{"place-items":[...ce(),"baseline"]}],"place-self":[{"place-self":["auto",...ce()]}],p:[{p:B()}],px:[{px:B()}],py:[{py:B()}],ps:[{ps:B()}],pe:[{pe:B()}],pt:[{pt:B()}],pr:[{pr:B()}],pb:[{pb:B()}],pl:[{pl:B()}],m:[{m:_()}],mx:[{mx:_()}],my:[{my:_()}],ms:[{ms:_()}],me:[{me:_()}],mt:[{mt:_()}],mr:[{mr:_()}],mb:[{mb:_()}],ml:[{ml:_()}],"space-x":[{"space-x":B()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":B()}],"space-y-reverse":["space-y-reverse"],size:[{size:U()}],w:[{w:[h,"screen",...U()]}],"min-w":[{"min-w":[h,"screen","none",...U()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[m]},...U()]}],h:[{h:["screen","lh",...U()]}],"min-h":[{"min-h":["screen","lh","none",...U()]}],"max-h":[{"max-h":["screen","lh",...U()]}],"font-size":[{text:["base",o,Oo,hs]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[l,fe,Sd]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Cd,de]}],"font-family":[{font:[j4,de,s]}],"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:[c,fe,de]}],"line-clamp":[{"line-clamp":[Se,"none",fe,Sd]}],leading:[{leading:[f,...B()]}],"list-image":[{"list-image":["none",fe,de]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",fe,de]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:R()}],"text-color":[{text:R()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:[Se,"from-font","auto",fe,hs]}],"text-decoration-color":[{decoration:R()}],"underline-offset":[{"underline-offset":[Se,"auto",fe,de]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:B()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",fe,de]}],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",fe,de]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:se()}],"bg-repeat":[{bg:me()}],"bg-size":[{bg:E()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ka,fe,de],radial:["",fe,de],conic:[ka,fe,de]},N4,E4]}],"bg-color":[{bg:R()}],"gradient-from-pos":[{from:q()}],"gradient-via-pos":[{via:q()}],"gradient-to-pos":[{to:q()}],"gradient-from":[{from:R()}],"gradient-via":[{via:R()}],"gradient-to":[{to:R()}],rounded:[{rounded:z()}],"rounded-s":[{"rounded-s":z()}],"rounded-e":[{"rounded-e":z()}],"rounded-t":[{"rounded-t":z()}],"rounded-r":[{"rounded-r":z()}],"rounded-b":[{"rounded-b":z()}],"rounded-l":[{"rounded-l":z()}],"rounded-ss":[{"rounded-ss":z()}],"rounded-se":[{"rounded-se":z()}],"rounded-ee":[{"rounded-ee":z()}],"rounded-es":[{"rounded-es":z()}],"rounded-tl":[{"rounded-tl":z()}],"rounded-tr":[{"rounded-tr":z()}],"rounded-br":[{"rounded-br":z()}],"rounded-bl":[{"rounded-bl":z()}],"border-w":[{border:Q()}],"border-w-x":[{"border-x":Q()}],"border-w-y":[{"border-y":Q()}],"border-w-s":[{"border-s":Q()}],"border-w-e":[{"border-e":Q()}],"border-w-t":[{"border-t":Q()}],"border-w-r":[{"border-r":Q()}],"border-w-b":[{"border-b":Q()}],"border-w-l":[{"border-l":Q()}],"divide-x":[{"divide-x":Q()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Q()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...W(),"hidden","none"]}],"divide-style":[{divide:[...W(),"hidden","none"]}],"border-color":[{border:R()}],"border-color-x":[{"border-x":R()}],"border-color-y":[{"border-y":R()}],"border-color-s":[{"border-s":R()}],"border-color-e":[{"border-e":R()}],"border-color-t":[{"border-t":R()}],"border-color-r":[{"border-r":R()}],"border-color-b":[{"border-b":R()}],"border-color-l":[{"border-l":R()}],"divide-color":[{divide:R()}],"outline-style":[{outline:[...W(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Se,fe,de]}],"outline-w":[{outline:["",Se,Oo,hs]}],"outline-color":[{outline:R()}],shadow:[{shadow:["","none",x,gr,pr]}],"shadow-color":[{shadow:R()}],"inset-shadow":[{"inset-shadow":["none",g,gr,pr]}],"inset-shadow-color":[{"inset-shadow":R()}],"ring-w":[{ring:Q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:R()}],"ring-offset-w":[{"ring-offset":[Se,hs]}],"ring-offset-color":[{"ring-offset":R()}],"inset-ring-w":[{"inset-ring":Q()}],"inset-ring-color":[{"inset-ring":R()}],"text-shadow":[{"text-shadow":["none",w,gr,pr]}],"text-shadow-color":[{"text-shadow":R()}],opacity:[{opacity:[Se,fe,de]}],"mix-blend":[{"mix-blend":[...he(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":he()}],"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":[Se]}],"mask-image-linear-from-pos":[{"mask-linear-from":re()}],"mask-image-linear-to-pos":[{"mask-linear-to":re()}],"mask-image-linear-from-color":[{"mask-linear-from":R()}],"mask-image-linear-to-color":[{"mask-linear-to":R()}],"mask-image-t-from-pos":[{"mask-t-from":re()}],"mask-image-t-to-pos":[{"mask-t-to":re()}],"mask-image-t-from-color":[{"mask-t-from":R()}],"mask-image-t-to-color":[{"mask-t-to":R()}],"mask-image-r-from-pos":[{"mask-r-from":re()}],"mask-image-r-to-pos":[{"mask-r-to":re()}],"mask-image-r-from-color":[{"mask-r-from":R()}],"mask-image-r-to-color":[{"mask-r-to":R()}],"mask-image-b-from-pos":[{"mask-b-from":re()}],"mask-image-b-to-pos":[{"mask-b-to":re()}],"mask-image-b-from-color":[{"mask-b-from":R()}],"mask-image-b-to-color":[{"mask-b-to":R()}],"mask-image-l-from-pos":[{"mask-l-from":re()}],"mask-image-l-to-pos":[{"mask-l-to":re()}],"mask-image-l-from-color":[{"mask-l-from":R()}],"mask-image-l-to-color":[{"mask-l-to":R()}],"mask-image-x-from-pos":[{"mask-x-from":re()}],"mask-image-x-to-pos":[{"mask-x-to":re()}],"mask-image-x-from-color":[{"mask-x-from":R()}],"mask-image-x-to-color":[{"mask-x-to":R()}],"mask-image-y-from-pos":[{"mask-y-from":re()}],"mask-image-y-to-pos":[{"mask-y-to":re()}],"mask-image-y-from-color":[{"mask-y-from":R()}],"mask-image-y-to-color":[{"mask-y-to":R()}],"mask-image-radial":[{"mask-radial":[fe,de]}],"mask-image-radial-from-pos":[{"mask-radial-from":re()}],"mask-image-radial-to-pos":[{"mask-radial-to":re()}],"mask-image-radial-from-color":[{"mask-radial-from":R()}],"mask-image-radial-to-color":[{"mask-radial-to":R()}],"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":ne()}],"mask-image-conic-pos":[{"mask-conic":[Se]}],"mask-image-conic-from-pos":[{"mask-conic-from":re()}],"mask-image-conic-to-pos":[{"mask-conic-to":re()}],"mask-image-conic-from-color":[{"mask-conic-from":R()}],"mask-image-conic-to-color":[{"mask-conic-to":R()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:se()}],"mask-repeat":[{mask:me()}],"mask-size":[{mask:E()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",fe,de]}],filter:[{filter:["","none",fe,de]}],blur:[{blur:ve()}],brightness:[{brightness:[Se,fe,de]}],contrast:[{contrast:[Se,fe,de]}],"drop-shadow":[{"drop-shadow":["","none",S,gr,pr]}],"drop-shadow-color":[{"drop-shadow":R()}],grayscale:[{grayscale:["",Se,fe,de]}],"hue-rotate":[{"hue-rotate":[Se,fe,de]}],invert:[{invert:["",Se,fe,de]}],saturate:[{saturate:[Se,fe,de]}],sepia:[{sepia:["",Se,fe,de]}],"backdrop-filter":[{"backdrop-filter":["","none",fe,de]}],"backdrop-blur":[{"backdrop-blur":ve()}],"backdrop-brightness":[{"backdrop-brightness":[Se,fe,de]}],"backdrop-contrast":[{"backdrop-contrast":[Se,fe,de]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Se,fe,de]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Se,fe,de]}],"backdrop-invert":[{"backdrop-invert":["",Se,fe,de]}],"backdrop-opacity":[{"backdrop-opacity":[Se,fe,de]}],"backdrop-saturate":[{"backdrop-saturate":[Se,fe,de]}],"backdrop-sepia":[{"backdrop-sepia":["",Se,fe,de]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":B()}],"border-spacing-x":[{"border-spacing-x":B()}],"border-spacing-y":[{"border-spacing-y":B()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",fe,de]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Se,"initial",fe,de]}],ease:[{ease:["linear","initial",P,fe,de]}],delay:[{delay:[Se,fe,de]}],animate:[{animate:["none",Z,fe,de]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[A,fe,de]}],"perspective-origin":[{"perspective-origin":V()}],rotate:[{rotate:_e()}],"rotate-x":[{"rotate-x":_e()}],"rotate-y":[{"rotate-y":_e()}],"rotate-z":[{"rotate-z":_e()}],scale:[{scale:dt()}],"scale-x":[{"scale-x":dt()}],"scale-y":[{"scale-y":dt()}],"scale-z":[{"scale-z":dt()}],"scale-3d":["scale-3d"],skew:[{skew:Ct()}],"skew-x":[{"skew-x":Ct()}],"skew-y":[{"skew-y":Ct()}],transform:[{transform:[fe,de,"","none","gpu","cpu"]}],"transform-origin":[{origin:V()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ft()}],"translate-x":[{"translate-x":ft()}],"translate-y":[{"translate-y":ft()}],"translate-z":[{"translate-z":ft()}],"translate-none":["translate-none"],accent:[{accent:R()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:R()}
vendor: 4,852 bytes, line 50
50],"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",fe,de]}],"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":B()}],"scroll-mx":[{"scroll-mx":B()}],"scroll-my":[{"scroll-my":B()}],"scroll-ms":[{"scroll-ms":B()}],"scroll-me":[{"scroll-me":B()}],"scroll-mt":[{"scroll-mt":B()}],"scroll-mr":[{"scroll-mr":B()}],"scroll-mb":[{"scroll-mb":B()}],"scroll-ml":[{"scroll-ml":B()}],"scroll-p":[{"scroll-p":B()}],"scroll-px":[{"scroll-px":B()}],"scroll-py":[{"scroll-py":B()}],"scroll-ps":[{"scroll-ps":B()}],"scroll-pe":[{"scroll-pe":B()}],"scroll-pt":[{"scroll-pt":B()}],"scroll-pr":[{"scroll-pr":B()}],"scroll-pb":[{"scroll-pb":B()}],"scroll-pl":[{"scroll-pl":B()}],"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",fe,de]}],fill:[{fill:["none",...R()]}],"stroke-w":[{stroke:[Se,Oo,hs,Sd]}],stroke:[{stroke:["none",...R()]}],"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"]}},M4=d4(T4);function Vr(...n){return M4(Ex(n))}function R4({delayDuration:n=0,...s}){return d.jsx(W3,{"data-loc":"client/src/components/ui/tooltip.tsx:11","data-slot":"tooltip-provider",delayDuration:n,...s})}const gy=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,yy=Ex,D4=(n,s)=>o=>{var l;if(s?.variants==null)return yy(n,o?.class,o?.className);const{variants:c,defaultVariants:f}=s,m=Object.keys(c).map(v=>{const x=o?.[v],g=f?.[v];
vendor: 8,152 bytes, lines 50-139
50if(x===null)return null;const w=gy(x)||gy(g);return c[v][w]}),h=o&&Object.entries(o).reduce((v,x)=>{let[g,w]=x;return w===void 0||(v[g]=w),v},{}),p=s==null||(l=s.compoundVariants)===null||l===void 0?void 0:l.reduce((v,x)=>{let{class:g,className:w,...S}=x;return Object.entries(S).every(N=>{let[A,H]=N;return Array.isArray(H)?H.includes({...f,...h}[A]):{...f,...h}[A]===H})?[...v,g,w]:v},[]);return yy(n,m,p,o?.class,o?.className)},k4=D4("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 z4({className:n,variant:s,size:o,asChild:l=!1,...c}){const f=l?GC:"button";return d.jsx(f,{"data-loc":"client/src/components/ui/button.tsx:52","data-slot":"button",className:Vr(k4({variant:s,size:o,className:n})),...c})}function L4({className:n,...s}){return d.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:7","data-slot":"card",className:Vr("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",n),...s})}function H4({className:n,...s}){return d.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:66","data-slot":"card-content",className:Vr("px-6",n),...s})}/**
51 * @license lucide-react v0.453.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const B4=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),zx=(...n)=>n.filter((s,o,l)=>!!s&&l.indexOf(s)===o).join(" ");/**
56 * @license lucide-react v0.453.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */var U4={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"};/**
61 * @license lucide-react v0.453.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const P4=C.forwardRef(({color:n="currentColor",size:s=24,strokeWidth:o=2,absoluteStrokeWidth:l,className:c="",children:f,iconNode:m,...h},p)=>C.createElement("svg",{ref:p,...U4,width:s,height:s,stroke:n,strokeWidth:l?Number(o)*24/Number(s):o,className:zx("lucide",c),...h},[...m.map(([v,x])=>C.createElement(v,x)),...Array.isArray(f)?f:[f]]));/**
66 * @license lucide-react v0.453.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const ze=(n,s)=>{const o=C.forwardRef(({className:l,...c},f)=>C.createElement(P4,{ref:f,iconNode:s,className:zx(`lucide-${B4(n)}`,l),...c}));return o.displayName=`${n}`,o};/**
71 * @license lucide-react v0.453.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const Ha=ze("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
76 * @license lucide-react v0.453.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const F4=ze("ChartNoAxesColumn",[["line",{x1:"18",x2:"18",y1:"20",y2:"10",key:"1xfpm4"}],["line",{x1:"12",x2:"12",y1:"20",y2:"4",key:"be30l9"}],["line",{x1:"6",x2:"6",y1:"20",y2:"14",key:"1r4le6"}]]);/**
81 * @license lucide-react v0.453.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const vy=ze("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
86 * @license lucide-react v0.453.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const Lx=ze("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
91 * @license lucide-react v0.453.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const za=ze("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
96 * @license lucide-react v0.453.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const q4=ze("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
101 * @license lucide-react v0.453.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const Q4=ze("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"}]]);/**
106 * @license lucide-react v0.453.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const Cs=ze("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
111 * @license lucide-react v0.453.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const Hx=ze("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
116 * @license lucide-react v0.453.0 - ISC
117 *
118 * This source code is licensed under the ISC license.
119 * See the LICENSE file in the root directory of this source tree.
120 */const Y4=ze("Cookie",[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]]);/**
121 * @license lucide-react v0.453.0 - ISC
122 *
123 * This source code is licensed under the ISC license.
124 * See the LICENSE file in the root directory of this source tree.
125 */const Id=ze("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"}]]);/**
126 * @license lucide-react v0.453.0 - ISC
127 *
128 * This source code is licensed under the ISC license.
129 * See the LICENSE file in the root directory of this source tree.
130 */const Xo=ze("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
131 * @license lucide-react v0.453.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const Bx=ze("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"}]]);/**
136 * @license lucide-react v0.453.0 - ISC
137 *
138 * This source code is licensed under the ISC license.
139 * See the LICENSE file in the root directory of this source tree.
140 */const ef=ze("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/**
141 * @license lucide-react v0.453.0 - ISC
142 *
143 * This source code is licensed under the ISC license.
144 * See the LICENSE file in the root directory of this source tree.
145 */const xy=ze("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);/**
146 * @license lucide-react v0.453.0 - ISC
147 *
148 * This source code is licensed under the ISC license.
149 * See the LICENSE file in the root directory of this source tree.
150 */const Ux=ze("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
151 * @license lucide-react v0.453.0 - ISC
152 *
153 * This source code is licensed under the ISC license.
154 * See the LICENSE file in the root directory of this source tree.
155 */const pn=ze("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
156 * @license lucide-react v0.453.0 - ISC
157 *
158 * This source code is licensed under the ISC license.
159 * See the LICENSE file in the root directory of this source tree.
160 */const G4=ze("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"}]]);/**
161 * @license lucide-react v0.453.0 - ISC
162 *
163 * This source code is licensed under the ISC license.
164 * See the LICENSE file in the root directory of this source tree.
165 */const Qa=ze("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
166 * @license lucide-react v0.453.0 - ISC
167 *
168 * This source code is licensed under the ISC license.
169 * See the LICENSE file in the root directory of this source tree.
170 */const V4=ze("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);/**
171 * @license lucide-react v0.453.0 - ISC
172 *
173 * This source code is licensed under the ISC license.
174 * See the LICENSE file in the root directory of this source tree.
175 */const gn=ze("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
176 * @license lucide-react v0.453.0 - ISC
177 *
178 * This source code is licensed under the ISC license.
179 * See the LICENSE file in the root directory of this source tree.
180 */const X4=ze("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
181 * @license lucide-react v0.453.0 - ISC
182 *
183 * This source code is licensed under the ISC license.
184 * See the LICENSE file in the root directory of this source tree.
185 */const Px=ze("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"}]]);/**
186 * @license lucide-react v0.453.0 - ISC
187 *
188 * This source code is licensed under the ISC license.
189 * See the LICENSE file in the root directory of this source tree.
190 */const K4=ze("ShieldCheck",[["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",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
191 * @license lucide-react v0.453.0 - ISC
192 *
193 * This source code is licensed under the ISC license.
194 * See the LICENSE file in the root directory of this source tree.
195 */const Xr=ze("Shield",[["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",key:"oel41y"}]]);/**
196 * @license lucide-react v0.453.0 - ISC
197 *
198 * This source code is licensed under the ISC license.
199 * See the LICENSE file in the root directory of this source tree.
200 */const Cf=ze("Star",[["polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",key:"8f66p6"}]]);/**
201 * @license lucide-react v0.453.0 - ISC
202 *
203 * This source code is licensed under the ISC license.
204 * See the LICENSE file in the root directory of this source tree.
205 */const Z4=ze("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"}]]);/**
206 * @license lucide-react v0.453.0 - ISC
207 *
208 * This source code is licensed under the ISC license.
209 * See the LICENSE file in the root directory of this source tree.
210 */const $4=ze("UserCheck",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}
210],["polyline",{points:"16 11 18 13 22 9",key:"1pwet4"}]]);/**
211 * @license lucide-react v0.453.0 - ISC
212 *
213 * This source code is licensed under the ISC license.
214 * See the LICENSE file in the root directory of this source tree.
215 */const Sf=ze("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
216 * @license lucide-react v0.453.0 - ISC
217 *
218 * This source code is licensed under the ISC license.
219 * See the LICENSE file in the root directory of this source tree.
220 */const Kr=ze("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function W4(n,s){if(n instanceof RegExp)return{keys:!1,pattern:n};var o,l,c,f,m=[],h="",p=n.split("/");for(p[0]||p.shift();c=p.shift();)o=c[0],o==="*"?(m.push(o),h+=c[1]==="?"?"(?:/(.*))?":"/(.*)"):o===":"?(l=c.indexOf("?",1),f=c.indexOf(".",1),m.push(c.substring(1,~l?l:~f?f:c.length)),h+=~l&&!~f?"(?:/([^/]+?))?":"/([^/]+?)",~f&&(h+=(~l?"?":"")+"\\"+c.substring(f))):h+="/"+c;return{keys:m,pattern:new RegExp("^"+h+(s?"(?=$|/)":"/?$"),"i")}}var Ed={exports:{}},jd={};/**
221 * @license React
222 * use-sync-external-store-shim.production.js
223 *
224 * Copyright (c) Meta Platforms, Inc. and affiliates.
225 *
226 * This source code is licensed under the MIT license found in the
227 * LICENSE file in the root directory of this source tree.
228 */var by;function J4(){if(by)return jd;by=1;var n=Mr();function s(g,w){return g===w&&(g!==0||1/g===1/w)||g!==g&&w!==w}var o=typeof Object.is=="function"?Object.is:s,l=n.useState,c=n.useEffect,f=n.useLayoutEffect,m=n.useDebugValue;function h(g,w){var S=w(),N=l({inst:{value:S,getSnapshot:w}}),A=N[0].inst,H=N[1];return f(function(){A.value=S,A.getSnapshot=w,p(A)&&H({inst:A})},[g,S,w]),c(function(){return p(A)&&H({inst:A}),g(function(){p(A)&&H({inst:A})})},[g]),m(S),S}function p(g){var w=g.getSnapshot;g=g.value;try{var S=w();return!o(g,S)}catch{return!0}}function v(g,w){return w()}var x=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?v:h;return jd.useSyncExternalStore=n.useSyncExternalStore!==void 0?n.useSyncExternalStore:x,jd}var wy;function I4(){return wy||(wy=1,Ed.exports=J4()),Ed.exports}var e5=I4();const t5=Xy.useInsertionEffect,n5=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",a5=n5?C.useLayoutEffect:C.useEffect,s5=t5||a5,Fx=n=>{const s=C.useRef([n,(...o)=>s[0](...o)]).current;return s5(()=>{s[0]=n}),s[1]},i5="popstate",Ef="pushState",jf="replaceState",o5="hashchange",Cy=[i5,Ef,jf,o5],l5=n=>{for(const s of Cy)addEventListener(s,n);return()=>{for(const s of Cy)removeEventListener(s,n)}},qx=(n,s)=>e5.useSyncExternalStore(l5,n,s),r5=()=>location.search,c5=({ssrSearch:n=""}={})=>qx(r5,()=>n),Sy=()=>location.pathname,u5=({ssrPath:n}={})=>qx(Sy,n?()=>n:Sy),d5=(n,{replace:s=!1,state:o=null}={})=>history[s?jf:Ef](o,"",n),f5=(n={})=>[u5(n),d5],Ey=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[Ey]>"u"){for(const n of[Ef,jf]){const s=history[n];history[n]=function(){const o=s.apply(this,arguments),l=new Event(n);return l.arguments=arguments,dispatchEvent(l),o}}Object.defineProperty(window,Ey,{value:!0})}const m5=(n,s)=>s.toLowerCase().indexOf(n.toLowerCase())?"~"+s:s.slice(n.length)||"/",Qx=(n="")=>n==="/"?"":n,h5=(n,s)=>n[0]==="~"?n.slice(1):Qx(s)+n,p5=(n="",s)=>m5(jy(Qx(n)),jy(s)),jy=n=>{try{return decodeURI(n)}catch{return n}},Yx={hook:f5,searchHook:c5,parser:W4,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:n=>n},Gx=C.createContext(Yx),Oi=()=>C.useContext(Gx),Vx={},Xx=C.createContext(Vx),g5=()=>C.useContext(Xx),Zr=n=>{const[s,o]=n.hook(n);return[p5(n.base,s),Fx((l,c)=>o(h5(l,n.base),c))]},$r=()=>Zr(Oi()),Af=(n,s,o,l)=>{const{pattern:c,keys:f}=s instanceof RegExp?{keys:!1,pattern:s}:n(s||"*",l),m=c.exec(o)||[],[h,...p]=m;return h!==void 0?[!0,(()=>{const v=f!==!1?Object.fromEntries(f.map((g,w)=>[g,p[w]])):m.groups;let x={...p};return v&&Object.assign(x,v),x})(),...l?[h]:[]]:[!1,null]},KE=n=>Af(Oi().parser,n,$r()[0]),y5=({children:n,...s})=>{const o=Oi(),l=s.hook?Yx:o;let c=l;const[f,m]=s.ssrPath?.split("?")??[];m&&(s.ssrSearch=m,s.ssrPath=f),s.hrefs=s.hrefs??s.hook?.hrefs;let h=C.useRef({}),p=h.current,v=p;for(let x in l){const g=x==="base"?l[x]+(s[x]||""):s[x]||l[x];
228p===v&&g!==v[x]&&(h.current=v={...v}),v[x]=g,(g!==l[x]||g!==c[x])&&(c=v)}return C.createElement(Gx.Provider,{value:c,children:n})},Ay=({children:n,component:s},o)=>s?C.createElement(s,{params:o}):typeof n=="function"?n(o):n,v5=n=>{let s=C.useRef(Vx);const o=s.current;return s.current=Object.keys(n).length!==Object.keys(o).length||Object.entries(n).some(([l,c])=>c!==o[l])?n:o},Qe=({path:n,nest:s,match:o,...l})=>{const c=Oi(),[f]=Zr(c),[m,h,p]=o??Af(c.parser,n,f,s),v=v5({...g5(),...h});if(!m)return null;const x=p?C.createElement(y5,{base:p},Ay(l,v)):Ay(l,v);return C.createElement(Xx.Provider,{value:v,children:x})},ke=C.forwardRef((n,s)=>{const o=Oi(),[l,c]=Zr(o),{to:f="",href:m=f,onClick:h,asChild:p,children:v,className:x,replace:g,state:w,...S}=n,N=Fx(H=>{H.ctrlKey||H.metaKey||H.altKey||H.shiftKey||H.button!==0||(h?.(H),H.defaultPrevented||(H.preventDefault(),c(m,n)))}),A=o.hrefs(m[0]==="~"?m.slice(1):o.base+m,o);return p&&C.isValidElement(v)?C.cloneElement(v,{onClick:N,href:A}):C.createElement("a",{...S,onClick:N,href:A,className:x?.call?x(l===m):x,children:v,ref:s})}),tf=n=>Array.isArray(n)?n.flatMap(s=>tf(s&&s.type===C.Fragment?s.props.children:s)):[n],x5=({children:n,location:s})=>{const o=Oi(),[l]=Zr(o);typeof window<"u"&&(window.__WOUTER_ROUTES__||(window.__WOUTER_ROUTES__=[]),tf(n).forEach(f=>{if(C.isValidElement(f)&&f.props.path){const m=f.props.path;window.__WOUTER_ROUTES__.includes(m)||window.__WOUTER_ROUTES__.push(m)}}));for(const c of tf(n)){let f=0;if(C.isValidElement(c)&&(f=Af(o.parser,c.props.path,s||l,c.props.nest))[0])return C.cloneElement(c,{match:f})}return null};function Ny(){const[,n]=$r(),s=()=>{n("/")};return d.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:d.jsx(L4,{"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:d.jsxs(H4,{"data-loc":"client/src/pages/NotFound.tsx:16",className:"pt-8 pb-8 text-center",children:[d.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:17",className:"flex justify-center mb-6",children:d.jsxs("div",{"data-loc":"client/src/pages/NotFound.tsx:18",className:"relative",children:[d.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:19",className:"absolute inset-0 bg-red-100 rounded-full animate-pulse"}),d.jsx(Q4,{"data-loc":"client/src/pages/NotFound.tsx:20",className:"relative h-16 w-16 text-red-500"})]})}),d.jsx("h1",{"data-loc":"client/src/pages/NotFound.tsx:24",className:"text-4xl font-bold text-slate-900 mb-2",children:"404"}),d.jsx("h2",{"data-loc":"client/src/pages/NotFound.tsx:26",className:"text-xl font-semibold text-slate-700 mb-4",children:"Page Not Found"}),d.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.",d.jsx("br",{"data-loc":"client/src/pages/NotFound.tsx:32"}),"It may have been moved or deleted."]}),d.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:d.jsxs(z4,{"data-loc":"client/src/pages/NotFound.tsx:40",onClick:s,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:[d.jsx(Bx,{"data-loc":"client/src/pages/NotFound.tsx:44",className:"w-4 h-4 mr-2"}),"Go Home"]})})]})})})}class b5 extends C.Component{constructor(s){super(s),this.state={hasError:!1,error:null}}static getDerivedStateFromError(s){return{hasError:!0,error:s}}render(){return this.state.hasError?d.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:27",className:"flex items-center justify-center min-h-screen p-8 bg-background",children:d.jsxs("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:28",className:"flex flex-col items-center w-full max-w-2xl p-8",children:[d.jsx(Z4,{"data-loc":"client/src/components/ErrorBoundary.tsx:29",size:48,className:"text-destructive mb-6 flex-shrink-0"}),d.jsx("h2",{"data-loc":"client/src/components/ErrorBoundary.tsx:34",className:"text-xl mb-4",children:"An unexpected error occurred."}),d.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:36",className:"p-4 w-full rounded bg-muted overflow-auto mb-6",children:d.jsx("pre",{"data-loc":"client/src/components/ErrorBoundary.tsx:37",className:"text-sm text-muted-foreground whitespace-break-spaces",children:this.state.error?.stack})}),d.jsxs("button",{"data-loc":"client/src/components/ErrorBoundary.tsx:42",onClick:()=>window.location.reload(),className:Vr("flex items-center gap-2 px-4 py-2 rounded-lg","bg-primary text-primary-foreground","hover:opacity-90 cursor-pointer"),children:[d.jsx(Px,{"data-loc":"client/src/components/ErrorBoundary.tsx:50",size:16}),"Reload Page"]})]})}):this.props.children}}const w5=C.createContext(void 0);function C5({children:n,defaultTheme:s="light",switchable:o=!1}){const[l,c]=C.useState(()=>o&&localStorage.getItem("theme")||s);C.useEffect(()=>
228{const m=document.documentElement;l==="dark"?m.classList.add("dark"):m.classList.remove("dark"),o&&localStorage.setItem("theme",l)},[l,o]);const f=o?()=>{c(m=>m==="light"?"dark":"light")}:void 0;return d.jsx(w5.Provider,{"data-loc":"client/src/contexts/ThemeContext.tsx:52",value:{theme:l,toggleTheme:f,switchable:o},children:n})}const Kx="sc_cookie_consent";function Zx(){try{const n=localStorage.getItem(Kx);return n?JSON.parse(n):null}catch{return null}}function Ad(n){const s={necessary:!0,analytics:n.analytics,chat:n.chat,timestamp:Date.now()};return localStorage.setItem(Kx,JSON.stringify(s)),window.dispatchEvent(new CustomEvent("sc:cookie-consent",{detail:s})),s}const S5=[{id:"necessary",icon:Xr,title:"Essential Cookies",description:"Required for the website to function. These cannot be disabled. They include session management, security tokens, and your cookie preference record.",alwaysOn:!0},{id:"analytics",icon:F4,title:"Analytics Cookies",description:"Help us understand how visitors use our website so we can improve it. We use anonymous analytics (Umami) that does not track you personally or share data with third parties.",alwaysOn:!1}];function E5({onConsentChange:n}){const[s,o]=C.useState(!1),[l,c]=C.useState(!1),[f,m]=C.useState({analytics:!0,chat:!0});C.useEffect(()=>{if(!Zx()){const g=setTimeout(()=>o(!0),1200);return()=>clearTimeout(g)}},[]);const h=()=>{const x=Ad({analytics:!0,chat:!0});n?.(x),o(!1)},p=()=>{const x=Ad({analytics:!1,chat:!1});n?.(x),o(!1)},v=()=>{const x=Ad(f);n?.(x),o(!1)};return s?d.jsxs(d.Fragment,{children:[d.jsx("div",{"data-loc":"client/src/components/CookieConsent.tsx:117",className:"fixed inset-0 z-[200] pointer-events-none bg-black/10"}),d.jsx("div",{"data-loc":"client/src/components/CookieConsent.tsx:120",className:"fixed bottom-0 left-0 right-0 z-[201] lg:bottom-4 lg:left-4 lg:right-auto lg:max-w-md",role:"dialog","aria-modal":"false","aria-label":"Cookie consent",style:{animation:"slide-up 0.4s cubic-bezier(0.23, 1, 0.32, 1) forwards"},children:d.jsxs("div",{"data-loc":"client/src/components/CookieConsent.tsx:127",className:"bg-white rounded-t-2xl lg:rounded-2xl shadow-2xl border border-[#EDE8DF] overflow-hidden",children:[d.jsxs("div",{"data-loc":"client/src/components/CookieConsent.tsx:129",className:"bg-[#005F63] px-6 pt-5 pb-4 flex items-start justify-between gap-3",children:[d.jsxs("div",{"data-loc":"client/src/components/CookieConsent.tsx:130",className:"flex items-center gap-3",children:[d.jsx("div",{"data-loc":"client/src/components/CookieConsent.tsx:131",className:"w-9 h-9 rounded-full bg-white/15 flex items-center justify-center shrink-0",children:d.jsx(Y4,{"data-loc":"client/src/components/CookieConsent.tsx:132",size:18,className:"text-[#F2B233]"})}),d.jsxs("div",{"data-loc":"client/src/components/CookieConsent.tsx:134",children:[d.jsx("h2",{"data-loc":"client/src/components/CookieConsent.tsx:135",className:"font-display font-bold text-white text-base leading-tight",children:"Cookie Preferences"}),d.jsx("p",{"data-loc":"client/src/components/CookieConsent.tsx:138",className:"text-white/70 text-xs mt-0.5",children:"Smile Companion — smilecompanion.org"})]})]}),d.jsx("button",{"data-loc":"client/src/components/CookieConsent.tsx:143",onClick:p,className:"w-7 h-7 rounded-full bg-white/15 hover:bg-white/25 flex items-center justify-center transition-colors shrink-0 mt-0.5","aria-label":"Accept essential cookies only and close",children:d.jsx(Kr,{"data-loc":"client/src/components/CookieConsent.tsx:148",size:14,className:"text-white"})})]}),d.jsxs("div",{"data-loc":"client/src/components/CookieConsent.tsx:153",className:"px-6 py-5",children:[d.jsx("p",{"data-loc":"client/src/components/CookieConsent.tsx:154",className:"text-[#4A4A4A] text-sm leading-relaxed mb-4",children:"We use cookies to improve your experience and understand how our website is used. Under UK GDPR, we need your consent for non-essential cookies."}),d.jsxs("button",{"data-loc":"client/src/components/CookieConsent.tsx:159",onClick:()=>c(!l),className:"flex items-center gap-1.5 text-[#005F63] text-xs font-semibold mb-4 hover:underline",children:[l?d.jsx(q4,{"data-loc":"client/src/components/CookieConsent.tsx:163",size:14}):d.jsx(Lx,{"data-loc":"client/src/components/CookieConsent.tsx:163",size:14}),l?"Hide details":"Manage preferences"]}),l&&d.jsx("div",{"data-loc":"client/src/components/CookieConsent.tsx:169",className:"space-y-3 mb-5 border border-[#
228EDE8DF] rounded-xl overflow-hidden",children:S5.map(({id:x,icon:g,title:w,description:S,alwaysOn:N})=>d.jsx("div",{"data-loc":"client/src/components/CookieConsent.tsx:171",className:"p-4 border-b border-[#EDE8DF] last:border-b-0",children:d.jsxs("div",{"data-loc":"client/src/components/CookieConsent.tsx:172",className:"flex items-start justify-between gap-3",children:[d.jsxs("div",{"data-loc":"client/src/components/CookieConsent.tsx:173",className:"flex items-start gap-2.5 flex-1",children:[d.jsx("div",{"data-loc":"client/src/components/CookieConsent.tsx:174",className:"w-7 h-7 rounded-lg bg-[#005F63]/10 flex items-center justify-center shrink-0 mt-0.5",children:d.jsx(g,{"data-loc":"client/src/components/CookieConsent.tsx:175",size:13,className:"text-[#005F63]"})}),d.jsxs("div",{"data-loc":"client/src/components/CookieConsent.tsx:177",children:[d.jsxs("p",{"data-loc":"client/src/components/CookieConsent.tsx:178",className:"text-[#2C2C2C] text-sm font-semibold leading-tight",children:[w,N&&d.jsx("span",{"data-loc":"client/src/components/CookieConsent.tsx:181",className:"ml-2 text-[10px] bg-[#005F63]/10 text-[#005F63] px-1.5 py-0.5 rounded-full font-medium",children:"Always on"})]}),d.jsx("p",{"data-loc":"client/src/components/CookieConsent.tsx:186",className:"text-[#4A4A4A] text-xs leading-relaxed mt-1",children:S})]})]}),d.jsx("div",{"data-loc":"client/src/components/CookieConsent.tsx:192",className:"shrink-0 mt-0.5",children:N?d.jsx("div",{"data-loc":"client/src/components/CookieConsent.tsx:194",className:"w-10 h-5 rounded-full bg-[#005F63] flex items-center justify-end px-1 cursor-not-allowed opacity-60",children:d.jsx("div",{"data-loc":"client/src/components/CookieConsent.tsx:195",className:"w-3.5 h-3.5 rounded-full bg-white"})}):d.jsx("button",{"data-loc":"client/src/components/CookieConsent.tsx:198",role:"switch","aria-checked":f[x],onClick:()=>m(A=>({...A,[x]:!A[x]})),className:`w-10 h-5 rounded-full flex items-center transition-colors duration-200 px-1 ${f[x]?"bg-[#005F63] justify-end":"bg-[#EDE8DF] justify-start"}`,children:d.jsx("div",{"data-loc":"client/src/components/CookieConsent.tsx:213",className:"w-3.5 h-3.5 rounded-full bg-white shadow-sm"})})})]})},x))}),d.jsxs("div",{"data-loc":"client/src/components/CookieConsent.tsx:224",className:"flex flex-col gap-2",children:[d.jsx("button",{"data-loc":"client/src/components/CookieConsent.tsx:225",onClick:h,className:"w-full py-3 bg-[#005F63] text-white text-sm font-bold rounded-full hover:bg-[#004548] transition-all duration-200 active:scale-95",children:"Accept All Cookies"}),l?d.jsx("button",{"data-loc":"client/src/components/CookieConsent.tsx:232",onClick:v,className:"w-full py-3 bg-[#F2B233] text-[#2C2C2C] text-sm font-bold rounded-full hover:bg-[#d4961f] transition-all duration-200 active:scale-95",children:"Save My Preferences"}):d.jsx("button",{"data-loc":"client/src/components/CookieConsent.tsx:239",onClick:p,className:"w-full py-3 border-2 border-[#EDE8DF] text-[#4A4A4A] text-sm font-semibold rounded-full hover:border-[#005F63] hover:text-[#005F63] transition-all duration-200",children:"Essential Cookies Only"})]}),d.jsxs("p",{"data-loc":"client/src/components/CookieConsent.tsx:249",className:"text-[#4A4A4A] text-xs text-center mt-4 leading-relaxed",children:["By accepting, you agree to our use of cookies as described in our"," ",d.jsx("a",{"data-loc":"client/src/components/CookieConsent.tsx:251",href:"/privacy-policy",className:"text-[#005F63] underline hover:no-underline",children:"Privacy Policy"}),". You can change your preferences at any time."]})]})]})}),d.jsx("style",{"data-loc":"client/src/components/CookieConsent.tsx:260",children:`
229        @keyframes slide-up {
230          from { opacity: 0; transform: translateY(20px); }
231          to   { opacity: 1; transform: translateY(0); }
232        }
233      `})]}):null}function _t(n,s){typeof window.gtag=="function"&&window.gtag("event",n,s)}function j5(){const[n]=$r();return C.useEffect(()=>{{console.info("[GA4] No Measurement ID configured — analytics not loaded.");return}},[]),C.useEffect(()=>{},[n]),null}const _y="sc_popup_shown",A5=3e4,N5=4e4,_5=.65,O5="/manus-storage/icon_transparent_finalMedium_12794250.png";function T5(){const[n,s]=C.useState(!1),[o,l]=C.useState(!1),[c,f]=C.useState({name:"",phone:""}),m=C.useRef(null),h=Hr.enquiry.submitContact.useMutation({onSuccess:()=>{l(!0),_t("popup_form_submit")},onError:()=>{Uv.error("Something went wrong. Please call us on 07881 230088.")}});C.useEffect(()=>{if(sessionStorage.getItem(_y))return;const x=()=>window.matchMedia("(hover: none) and (pointer: coarse)").matches;let g,w=!1;const S=N=>{w||(w=!0,sessionStorage.setItem(_y,"1"),s(!0),_t("popup_shown",{trigger:N}))};if(x()){const N=()=>{const A=window.scrollY+window.innerHeight,H=document.documentElement.scrollHeight;A/H>=_5&&(clearTimeout(g),window.removeEventListener("scroll",N,{passive:!0}),S("scroll_depth_65"))};return window.addEventListener("scroll",N,{passive:!0}),g=setTimeout(()=>{window.removeEventListener("scroll",N,{passive:!0}),S("mobile_timed_40s")},N5),()=>{clearTimeout(g),window.removeEventListener("scroll",N,{passive:!0})}}else{g=setTimeout(()=>S("desktop_timed_30s"),A5);const N=A=>
233{A.clientY<=20&&!w&&(clearTimeout(g),S("exit_intent"))};return document.addEventListener("mouseleave",N),()=>{clearTimeout(g),document.removeEventListener("mouseleave",N)}}},[]),C.useEffect(()=>(n?(setTimeout(()=>m.current?.focus(),100),document.body.style.overflow="hidden"):document.body.style.overflow="",()=>{document.body.style.overflow=""}),[n]),C.useEffect(()=>{const x=g=>{g.key==="Escape"&&n&&p()};return window.addEventListener("keydown",x),()=>window.removeEventListener("keydown",x)},[n]);const p=()=>{s(!1),_t("popup_dismissed")},v=x=>{x.preventDefault(),h.mutate({name:c.name,phone:c.phone,message:"Quick enquiry submitted via popup",preferredContact:"phone"})};return n?d.jsxs("div",{"data-loc":"client/src/components/ConversionPopup.tsx:146",className:"fixed inset-0 z-[150] flex items-center justify-center p-4",role:"dialog","aria-modal":"true","aria-labelledby":"popup-title",children:[d.jsx("div",{"data-loc":"client/src/components/ConversionPopup.tsx:153",className:"absolute inset-0 bg-[#2C2C2C]/60 backdrop-blur-sm",style:{animation:"backdrop-fade-in 0.25s ease-out forwards"},onClick:p,"aria-hidden":"true"}),d.jsxs("div",{"data-loc":"client/src/components/ConversionPopup.tsx:161",className:"relative bg-white rounded-3xl shadow-2xl max-w-md w-full overflow-hidden",style:{animation:"modal-enter 0.35s cubic-bezier(0.23, 1, 0.32, 1) forwards"},children:[d.jsx("button",{"data-loc":"client/src/components/ConversionPopup.tsx:166",ref:m,onClick:p,className:"absolute top-3 right-3 z-10 w-11 h-11 rounded-full bg-[#EDE8DF] hover:bg-[#d4cfc6] active:scale-90 flex items-center justify-center transition-all duration-150 touch-manipulation","aria-label":"Close",style:{minWidth:44,minHeight:44},children:d.jsx(Kr,{"data-loc":"client/src/components/ConversionPopup.tsx:173",size:18,className:"text-[#4A4A4A]"})}),d.jsxs("div",{"data-loc":"client/src/components/ConversionPopup.tsx:177",className:"bg-[#005F63] px-8 pt-8 pb-6 text-center",children:[d.jsx("div",{"data-loc":"client/src/components/ConversionPopup.tsx:178",className:"relative inline-block mb-4",children:d.jsx("div",{"data-loc":"client/src/components/ConversionPopup.tsx:179",className:"w-16 h-16 rounded-full bg-white/15 flex items-center justify-center mx-auto",children:d.jsx("img",{"data-loc":"client/src/components/ConversionPopup.tsx:180",src:O5,alt:"Smile Companion",className:"w-10 h-10 object-contain object-center brightness-0 invert block",loading:"lazy",width:"40",height:"40"})})}),d.jsx("h2",{"data-loc":"client/src/components/ConversionPopup.tsx:190",id:"popup-title",className:"font-display text-2xl font-bold text-white mb-2 leading-tight",children:"We collect smiles. Even in the moments you almost miss."}),d.jsx("p",{"data-loc":"client/src/components/ConversionPopup.tsx:193",className:"text-white/80 text-sm leading-relaxed",children:"A free 30-minute conversation could be the start of something that makes everyday life feel brighter. No pressure and no pitch — just a warm chat."})]}),d.jsx("div",{"data-loc":"client/src/components/ConversionPopup.tsx:199",className:"px-8 py-6",children:o?d.jsxs("div",{"data-loc":"client/src/components/ConversionPopup.tsx:201",className:"text-center py-4",children:[d.jsx("div",{"data-loc":"client/src/components/ConversionPopup.tsx:202",className:"w-14 h-14 rounded-full bg-[#005F63]/10 flex items-center justify-center mx-auto mb-4",children:d.jsx(Cs,{"data-loc":"client/src/components/ConversionPopup.tsx:203",size:28,className:"text-[#005F63]"})}),d.jsx("h3",{"data-loc":"client/src/components/ConversionPopup.tsx:205",className:"font-display text-xl font-bold text-[#2C2C2C] mb-2",children:"Thank you — we'll call you shortly!"}),d.jsx("p",{"data-loc":"client/src/components/ConversionPopup.tsx:208",className:"text-[#4A4A4A] text-sm leading-relaxed mb-5",children:"We aim to be in touch within 2 hours. In the meantime, feel free to explore the site."}),d.jsx("button",{"data-loc":"client/src/components/ConversionPopup.tsx:211",onClick:p,className:"w-full py-3 bg-[#F7F3EC] text-[#005F63] font-semibold rounded-full hover:bg-[#EDE8DF] transition-colors text-sm",children:"Continue browsing"})]}):d.jsxs(d.Fragment,{children:[d.jsx("div",{"data-loc":"client/src/components/ConversionPopup.tsx:221",className:"flex flex-wrap gap-3 mb-5 justify-center",children:["Free, no obligation","DBS-checked companions","Availability checked by area"].map(x=>d.jsxs("div",{"data-loc":"client/src/components/ConversionPopup.tsx:227",className:"flex items-center gap-1.5",children:[d.jsx(Xo,{"data-loc":"client/src/components/ConversionPopup.tsx:228",size:12,className:"text-[#F2B233] fill-[#F2B233]"}),d.jsx("span",{"data-loc":"client/src/components/ConversionPopup.tsx:229",className:"text-[#4A4A4A] text-xs font-medium",children:x})]},x))}),d.jsxs("form",{"data-loc":"client/src/components/ConversionPopup.tsx:235",onSubmit:v,className:"space-y-3 mb-4",children:[d.jsx("div",{"data-loc":"client/src/components/ConversionPopup.tsx:236",children:d.jsx("input",{"data-loc":"client/src/components/ConversionPopup.tsx:237",type:"text",required:!0,value:c.name,onChange:x=>f({...c,name:x.target.value}
233),className:"w-full px-4 py-3 rounded-xl border border-[#EDE8DF] bg-[#F7F3EC] text-[#2C2C2C] text-sm focus:outline-none focus:ring-2 focus:ring-[#005F63]/30 focus:border-[#005F63] transition-colors",placeholder:"Your name"})}),d.jsx("div",{"data-loc":"client/src/components/ConversionPopup.tsx:246",children:d.jsx("input",{"data-loc":"client/src/components/ConversionPopup.tsx:247",type:"tel",required:!0,value:c.phone,onChange:x=>f({...c,phone:x.target.value}),className:"w-full px-4 py-3 rounded-xl border border-[#EDE8DF] bg-[#F7F3EC] text-[#2C2C2C] text-sm focus:outline-none focus:ring-2 focus:ring-[#005F63]/30 focus:border-[#005F63] transition-colors",placeholder:"Your phone number"})}),d.jsx("button",{"data-loc":"client/src/components/ConversionPopup.tsx:256",type:"submit",disabled:h.isPending,className:"w-full py-3.5 bg-[#005F63] text-white font-bold rounded-full hover:bg-[#004548] transition-all duration-200 active:scale-95 disabled:opacity-60 flex items-center justify-center gap-2 shadow-lg shadow-[#005F63]/20",children:h.isPending?d.jsxs(d.Fragment,{children:[d.jsx(Ux,{"data-loc":"client/src/components/ConversionPopup.tsx:263",size:16,className:"animate-spin"}),"Sending…"]}):d.jsxs(d.Fragment,{children:[d.jsx(gn,{"data-loc":"client/src/components/ConversionPopup.tsx:268",size:16}),"Ask Us to Call"]})})]}),d.jsxs("div",{"data-loc":"client/src/components/ConversionPopup.tsx:276",className:"flex items-center gap-3 mb-4",children:[d.jsx("div",{"data-loc":"client/src/components/ConversionPopup.tsx:277",className:"flex-1 h-px bg-[#EDE8DF]"}),d.jsx("span",{"data-loc":"client/src/components/ConversionPopup.tsx:278",className:"text-[#4A4A4A] text-xs",children:"or"}),d.jsx("div",{"data-loc":"client/src/components/ConversionPopup.tsx:279",className:"flex-1 h-px bg-[#EDE8DF]"})]}),d.jsxs("a",{"data-loc":"client/src/components/ConversionPopup.tsx:283",href:"https://wa.me/447881230088?text=Hello%2C%20I%27d%20like%20to%20find%20out%20more%20about%20Smile%20Companion",target:"_blank",rel:"noopener noreferrer",onClick:()=>_t("popup_whatsapp_click"),className:"flex items-center justify-center gap-2 w-full py-3 bg-[#25D366] text-white font-semibold rounded-full hover:bg-[#1da851] transition-colors text-sm",children:[d.jsx(Qa,{"data-loc":"client/src/components/ConversionPopup.tsx:290",size:16}),"Chat on WhatsApp"]}),d.jsx("p",{"data-loc":"client/src/components/ConversionPopup.tsx:294",className:"text-[#4A4A4A] text-xs text-center mt-3",children:"No spam. No pressure. Just a warm, honest conversation."})]})})]}),d.jsx("style",{"data-loc":"client/src/components/ConversionPopup.tsx:302",children:`
234        @keyframes backdrop-fade-in {
235          from { opacity: 0; }
236          to   { opacity: 1; }
237        }
238        @keyframes modal-enter {
239          from { opacity: 0; transform: scale(0.94) translateY(20px); }
240          to   { opacity: 1; transform: scale(1) translateY(0); }
241        }
242      `})]}):null}function M5(){if(document.getElementById("tawk-position-override"))return;const n=document.createElement("style");n.id="tawk-position-override",n.textContent=`
243    @media (max-width: 1023px) {
244      .tawk-min-container,
245      .tawk-button-circle,
246      [id^="tawk-"] iframe,
247      div[id^="tawk-"] {
248        bottom: 88px !important;
249        right: 1rem !important;
250      }
251    }
252  `,document.head.appendChild(n)}function Oy(){{console.info("[TawkTo] No credentials configured — chat widget not loaded.");return}}function R5(){return C.useEffect(()=>{M5(),Zx()?.chat&&Oy();const s=o=>{o.detail?.chat&&Oy()};return window.addEventListener("sc:cookie-consent",s),()=>window.removeEventListener("sc:cookie-consent",s)},[]),null}const $x=[{name:"London",slug:"london",region:"Greater London",coordinates:{latitude:51.5074,longitude:-.1278},intro:"Smile Companion is building local companionship coverage in London and Greater London. Contact us to check current availability and whether suitable local recruitment is possible.",bodyParagraph:"London is one of the areas where Smile Companion is developing its location-based recruitment model. We assess each enquiry individually, recruit and screen local companions where practical, and confirm availability before any visit plan is agreed.",nearbyAreas:["North London","South London","East London","West London","Central London","Hackney","Islington","Camden","Wandsworth","Bromley","Croydon","Ealing","Harrow","Barnet","Enfield","Richmond","Kingston"],metaTitle:"Elderly Companionship Services in London | Smile Companion",metaDescription:"Smile Companion is building elderly companionship coverage in London. Contact us to check current local availability, screening and matching options."},{name:"Manchester",slug:"manchester",region:"Greater Manchester",coordinates:{latitude:53.4808,longitude:-2.2426},intro:"Smile Companion is building local companionship coverage in Manchester and Greater Manchester. Contact us to check current availability and whether suitable local recruitment is possible.",bodyParagraph:"Manchester is one of the areas where Smile Companion is developing its location-based recruitment model. We assess each enquiry individually, recruit and screen local companions where practical, and confirm availability before any visit plan is agreed.",nearbyAreas:["Salford","Stockport","Bolton","Bury","Rochdale","Oldham","Wigan","Trafford","Tameside","Didsbury","Chorlton","Withington"],metaTitle:"Elderly Companionship Services in Manchester | Smile Companion",metaDescription:"Smile Companion is building elderly companionship coverage in Manchester. Contact us to check current local availability, screening and matching options."},{name:"Birmingham",slug:"birmingham",region:"West Midlands",coordinates:{latitude:52.4862,longitude:-1.8904},intro:"Smile Companion is building local companionship coverage in Birmingham and West Midlands. Contact us to check current availability and whether suitable local recruitment is possible.",bodyParagraph:"Birmingham is one of the areas where Smile Companion is developing its location-based recruitment model. We assess each enquiry individually, recruit and screen local companions where practical, and confirm availability before any visit plan is agreed.",nearbyAreas:["Edgbaston","Erdington","Harborne","Hall Green","Sutton Coldfield","Solihull","Wolverhampton","Walsall","Coventry","Dudley","West Bromwich"],metaTitle:"Elderly Companionship Services in Birmingham | Smile Companion",metaDescription:"Smile Companion is building elderly companionship coverage in Birmingham. Contact us to check current local availability, screening and matching options."},{name:"Leeds",slug:"leeds",region:"West Yorkshire",coordinates:{latitude:53.8008,longitude:-1.5491},intro:"Smile Companion is building local companionship coverage in Leeds and West Yorkshire. Contact us to check current availability and whether suitable local recruitment is possible.",bodyParagraph:"Leeds is one of the areas where Smile Companion is developing its location-based recruitment model. We assess each enquiry individually, recruit and screen local companions where practical, and confirm availability before any visit plan is agreed.",nearbyAreas:["Roundhay","Headingley","Horsforth","Morley","Pudsey","Garforth","Wetherby","Otley","Bradford","Wakefield","Harrogate","Ilkley"],metaTitle:"Elderly Companionship Services in Leeds | Smile Companion",metaDescription:"Smile Companion is building elderly companionship coverage in Leeds. Contact us to check current local availability, screening and matching options."},{name:"Bristol",slug:"bristol",region:"South West England",coordinates:{latitude:51.4545,longitude:-2.5879},intro:"Smile Companion is building local companionship coverage in Bristol and South West England. Contact us to check current availability and whether suitable local recruitment is possible.",bodyParagraph:"Bristol is one of the areas where Smile Companion is developing its location-based recruitment model. We assess each enquiry individually, recruit and screen local companions where practical, and confirm availability before any visit plan is agreed.",nearbyAreas:["Clifton","Bedminster","Southville","Stoke Bishop","Redland","Bishopston","Henleaze","Westbury-on-Trym","Bath","Weston-super-Mare","Gloucester","Cheltenham","Swindon"],metaTitle:"Elderly Companionship Services in Bristol | Smile Companion",metaDescription:"Smile Companion is building elderly companionship coverage in Bristol. Contact us to check current local availability, screening and matching options."},{name:"Liverpool",slug:"liverpool",region:"Merseyside",coordinates:{latitude:53.4084,longitude:-2.9916},intro:"Smile Companion is building local companionship coverage in Liverpool and Merseyside. Contact us to check current availability and whether suitable local recruitment is possible.",bodyParagraph:"Liverpool is one of the areas where Smile Companion is developing its location-based recruitment model. We assess each enquiry individually, recruit and screen local companions where practical, and confirm availability before any visit plan is agreed.",nearbyAreas:["Allerton","Anfield","Woolton","Wavertree","Childwall","Aigburth","Crosby","Formby","Southport","Wirral","Birkenhead","St Helens","Warrington"],metaTitle:"Elderly Companionship Services in Liverpool | Smile Companion",metaDescription:"Smile Companion is building elderly companionship coverage in Liverpool. Contact us to check current local availability, screening and matching options."},{name:"Newcastle",slug:"newcastle",region:"North East England",coordinates:{latitude:54.9783,longitude:-1.6178},intro:"Smile Companion is building local companionship coverage in Newcastle and North East England. Contact us to check current availability and whether suitable local recruitment is possible.",bodyParagraph:"Newcastle is one of the areas where Smile Companion is developing its location-based recruitment model. We assess each enquiry individually, recruit and screen local companions where practical, and confirm availability before any visit plan is agreed.",nearbyAreas:["Gateshead","Sunderland","Durham","Middlesbrough","Hartlepool","Darlington","Stockton-on-Tees","Whitley Bay","Tynemouth","Hexham"],metaTitle:"Elderly Companionship Services in Newcastle | Smile Companion",metaDescription:"Smile Companion is building elderly companionship coverage in Newcastle. Contact us to check current local availability, screening and matching options."},{name:"Sheffield",slug:"sheffield",region:"South Yorkshire",coordinates:{latitude:53.3811,longitude:-1.4701},intro:"Smile Companion is building local companionship coverage in Sheffield and South Yorkshire. Contact us to check current availability and whether suitable local recruitment is possible.",bodyParagraph:"Sheffield is one of the areas where Smile Companion is developing its location-based recruitment model. We assess each enquiry individually, recruit and screen local companions where practical, and confirm availability before any visit plan is agreed.",nearbyAreas:["Fulwood","Dore","Hillsborough","Chapeltown","Stocksbridge","Oughtibridge","Ecclesfield","Handsworth","Woodhouse","Beighton","Rotherham","Barnsley"],metaTitle:"Elderly Companionship Services in Sheffield | Smile Companion",metaDescription:"Smile Companion is building elderly companionship coverage in Sheffield. Contact us to check current local availability, screening and matching options."},{name:"Nottingham",slug:"nottingham",region:"East Midlands",coordinates:{latitude:52.9548,longitude:-1.1581},intro:"Smile Companion is building local companionship coverage in Nottingham and East Midlands. Contact us to check current availability and whether suitable local recruitment is possible.",bodyParagraph:"Nottingham is one of the areas where Smile Companion is developing its location-based recruitment model. We assess each enquiry individually, recruit and screen local companions where practical, and confirm availability before any visit plan is agreed.",nearbyAreas:["West Bridgford","Beeston","Arnold","Carlton","Hucknall","Long Eaton","Derby","Leicester","Loughborough","Mansfield","Newark"],metaTitle:"Elderly Companionship Services in Nottingham | Smile Companion",metaDescription:"Smile Companion is building elderly companionship coverage in Nottingham. Contact us to check current local availability, screening and matching options."},{name:"Cardiff",slug:"cardiff",region:"South Wales",coordinates:{latitude:51.4816,longitude:-3.1791},intro:"Smile Companion is building local companionship coverage in Cardiff and South Wales. Contact us to check current availability and whether suitable local recruitment is possible.",bodyParagraph:"Cardiff is one of the areas where Smile Companion is developing its location-based recruitment model. We assess each enquiry individually, recruit and screen local companions where practical, and confirm availability before any visit plan is agreed.",nearbyAreas:["Pontypridd","Barry","Penarth","Newport","Bridgend","Caerphilly","Rhondda","Swansea","Neath","Port Talbot","Merthyr Tydfil"],metaTitle:"Elderly Companionship Services in Cardiff | Smile Companion",metaDescription:"Smile Companion is building elderly companionship coverage in Cardiff. Contact us to check current local availability, screening and matching options."},{name:"Leicester",slug:"leicester",region:"East Midlands",coordinates:{latitude:52.6369,longitude:-1.1398},intro:"Smile Companion is building local companionship coverage in Leicester and East Midlands. Contact us to check current availability and whether suitable local recruitment is possible.",bodyParagraph:"Leicester is one of the areas where Smile Companion is developing its location-based recruitment model. We assess each enquiry individually, recruit and screen local companions where practical, and confirm availability before any visit plan is agreed.",nearbyAreas:["Oadby","Wigston","Beaumont Le
252ys","Knighton","Birstall","Blaby","Hinckley","Loughborough","Coalville","Market Harborough","Melton Mowbray"],metaTitle:"Elderly Companionship Services in Leicester | Smile Companion",metaDescription:"Smile Companion is building elderly companionship coverage in Leicester. Contact us to check current local availability, screening and matching options."},{name:"Coventry",slug:"coventry",region:"West Midlands",coordinates:{latitude:52.4068,longitude:-1.5197},intro:"Smile Companion is building local companionship coverage in Coventry and West Midlands. Contact us to check current availability and whether suitable local recruitment is possible.",bodyParagraph:"Coventry is one of the areas where Smile Companion is developing its location-based recruitment model. We assess each enquiry individually, recruit and screen local companions where practical, and confirm availability before any visit plan is agreed.",nearbyAreas:["Earlsdon","Cheylesmore","Allesley","Binley","Canley","Tile Hill","Rugby","Kenilworth","Leamington Spa","Nuneaton","Bedworth"],metaTitle:"Elderly Companionship Services in Coventry | Smile Companion",metaDescription:"Smile Companion is building elderly companionship coverage in Coventry. Contact us to check current local availability, screening and matching options."},{name:"Southampton",slug:"southampton",region:"South East England",coordinates:{latitude:50.9097,longitude:-1.4044},intro:"Smile Companion is building local companionship coverage in Southampton and South East England. Contact us to check current availability and whether suitable local recruitment is possible.",bodyParagraph:"Southampton is one of the areas where Smile Companion is developing its location-based recruitment model. We assess each enquiry individually, recruit and screen local companions where practical, and confirm availability before any visit plan is agreed.",nearbyAreas:["Shirley","Bitterne","Hedge End","Eastleigh","Chandler's Ford","Winchester","Fareham","Gosport","Portsmouth","Romsey","Totton"],metaTitle:"Elderly Companionship Services in Southampton | Smile Companion",metaDescription:"Smile Companion is building elderly companionship coverage in Southampton. Contact us to check current local availability, screening and matching options."},{name:"Edinburgh",slug:"edinburgh",region:"Scotland",coordinates:{latitude:55.9533,longitude:-3.1883},intro:"Smile Companion is building local companionship coverage in Edinburgh and Scotland. Contact us to check current availability and whether suitable local recruitment is possible.",bodyParagraph:"Edinburgh is one of the areas where Smile Companion is developing its location-based recruitment model. We assess each enquiry individually, recruit and screen local companions where practical, and confirm availability before any visit plan is agreed.",nearbyAreas:["Morningside","Leith","Corstorphine","Portobello","Musselburgh","Dalkeith","Livingston","Dunfermline","Kirkcaldy","Falkirk","Stirling"],metaTitle:"Elderly Companionship Services in Edinburgh | Smile Companion",metaDescription:"Smile Companion is building elderly companionship coverage in Edinburgh. Contact us to check current local availability, screening and matching options."},{name:"Glasgow",slug:"glasgow",region:"Scotland",coordinates:{latitude:55.8642,longitude:-4.2518},intro:"Smile Companion is building local companionship coverage in Glasgow and Scotland. Contact us to check current availability and whether suitable local recruitment is possible.",bodyParagraph:"Glasgow is one of the areas where Smile Companion is developing its location-based recruitment model. We assess each enquiry individually, recruit and screen local companions where practical, and confirm availability before any visit plan is agreed.",nearbyAreas:["West End","Southside","Bearsden","Rutherglen","Paisley","Motherwell","Hamilton","East Kilbride","Clydebank","Dumbarton","Airdrie","Coatbridge"],metaTitle:"Elderly Companionship Services in Glasgow | Smile Companion",metaDescription:"Smile Companion is building elderly companionship coverage in Glasgow. Contact us to check current local availability, screening and matching options."}],nf=[{label:"Member Portal",desc:"For families & clients",href:"https://portal.smilecompanion.org/member",icon:Sf},{label:"Companion Portal",desc:"For our companions",href:"https://portal.smilecompanion.org/companion",icon:$4},{label:"Admin Login",desc:"Staff & management",href:"https://portal.smilecompanion.org/login",icon:K4}],D5="/manus-storage/smile_companion_transparent_77d9b185.png",Ty=[{label:"Home",href:"/"},{label:"About",href:"/about"},{label:"Services",href:"/services"},{label:"How It Works",href:"/how-it-works"},{label:"Why Us",href:"/why-us"},{label:"More",children:[{label:"Our Approach",href:"/testimonials"},{label:"FAQ",href:"/faq"},{label:"Areas We Cover",href:"/areas"},{label:"Blog",href:"/blog"},{label:"Careers",href:"/careers"}]},{label:"Contact",href:"/contact"}];function Wx(){const[n,s]=C.useState(!1),[o,l]=C.useState(!1),[c,f]=C.useState(!1),[m,h]=C.useState(!1),p=C.useRef(null),[v]=$r();return C.useEffect(()=>{const x=g=>{p.current&&!p.current.contains(g.target)&&h(!1)};return document.addEventListener("mousedown",x),()=>document.removeEventListener("mousedown",x)},[]),C.useEffect(()=>{const x=()=>l(window.scrollY>20);return window.addEventListener("scroll",x,{passive:!0}),()=>window.removeEventListener("scroll",x)},[]),C.useEffect(()=>{s(!1),f(!1),h(!1)},[v]),d.jsxs(d.Fragment,{children:[d.jsxs("header",{"data-loc":"client/src/components/Layout.t
252sx:87",className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${o?"bg-white/95 backdrop-blur-md shadow-md py-2":"bg-white/90 backdrop-blur-sm py-3"}`,children:[d.jsxs("div",{"data-loc":"client/src/components/Layout.tsx:94",className:"container flex items-center justify-between",children:[d.jsx(ke,{"data-loc":"client/src/components/Layout.tsx:96",href:"/",children:d.jsx("img",{"data-loc":"client/src/components/Layout.tsx:97",src:D5,alt:"Smile Companion — We Collect Smiles",className:"h-14 md:h-16 w-auto object-contain object-center block",width:"200",height:"64",fetchPriority:"high"})}),d.jsx("nav",{"data-loc":"client/src/components/Layout.tsx:108",className:"hidden lg:flex items-center gap-1",children:Ty.map(x=>x.children?d.jsxs("div",{"data-loc":"client/src/components/Layout.tsx:111",className:"relative",children:[d.jsxs("button",{"data-loc":"client/src/components/Layout.tsx:112",onClick:()=>f(!c),className:"flex items-center gap-1 px-3 py-2 text-sm font-medium text-[#2C2C2C] hover:text-[#005F63] transition-colors rounded-lg hover:bg-[#F7F3EC]",children:[x.label,d.jsx(Lx,{"data-loc":"client/src/components/Layout.tsx:117",size:14,className:`transition-transform ${c?"rotate-180":""}`})]}),c&&d.jsx("div",{"data-loc":"client/src/components/Layout.tsx:123",className:"absolute top-full left-0 mt-1 w-48 bg-white rounded-xl shadow-xl border border-[#EDE8DF] py-1 z-50",children:x.children.map(g=>d.jsx(ke,{"data-loc":"client/src/components/Layout.tsx:125",href:g.href,className:"block px-4 py-2.5 text-sm text-[#2C2C2C] hover:bg-[#F7F3EC] hover:text-[#005F63] transition-colors",children:g.label},g.href))})]},x.label):d.jsx(ke,{"data-loc":"client/src/components/Layout.tsx:137",href:x.href,className:`px-3 py-2 text-sm font-medium transition-colors rounded-lg ${v===x.href?"text-[#005F63] bg-[#F7F3EC]":"text-[#2C2C2C] hover:text-[#005F63] hover:bg-[#F7F3EC]"}`,children:x.label},x.href))}),d.jsxs("div",{"data-loc":"client/src/components/Layout.tsx:153",className:"hidden lg:flex items-center gap-3",children:[d.jsxs("a",{"data-loc":"client/src/components/Layout.tsx:154",href:"tel:+447881230088",onClick:()=>_t("phone_click",{location:"navbar"}),className:"flex items-center gap-2 text-sm font-medium text-[#005F63] hover:text-[#004548] transition-colors",children:[d.jsx(gn,{"data-loc":"client/src/components/Layout.tsx:159",size:15}),"07881 230088"]}),d.jsx(ke,{"data-loc":"client/src/components/Layout.tsx:162",href:"/contact",onClick:()=>_t("contact_click",{location:"navbar"}),className:"px-5 py-2.5 bg-[#005F63] text-white text-sm font-semibold rounded-full hover:bg-[#004548] transition-all duration-200 active:scale-95",children:"Contact Us"}),d.jsxs("div",{"data-loc":"client/src/components/Layout.tsx:170",className:"relative",ref:p,children:[d.jsx("button",{"data-loc":"client/src/components/Layout.tsx:171",onClick:()=>h(!m),title:"Access Portals",className:"w-9 h-9 rounded-full border-2 border-[#005F63] text-[#005F63] flex items-center justify-center hover:bg-[#005F63] hover:text-white transition-all duration-200 active:scale-95","aria-label":"Open portal menu",children:d.jsx(ef,{"data-loc":"client/src/components/Layout.tsx:177",size:16})}),m&&d.jsxs("div",{"data-loc":"client/src/components/Layout.tsx:180",className:"absolute top-full right-0 mt-2 w-64 bg-white rounded-2xl shadow-2xl border border-[#EDE8DF] py-2 z-50 overflow-hidden",children:[d.jsx("div",{"data-loc":"client/src/components/Layout.tsx:181",className:"px-4 pt-2 pb-3 border-b border-[#EDE8DF]",children:d.jsx("p",{"data-loc":"client/src/components/Layout.tsx:182",className:"text-xs font-semibold text-[#005F63] uppercase tracking-wider",children:"Portals"})}),nf.map(({label:x,desc:g,href:w,icon:S})=>d.jsxs("a",{"data-loc":"client/src/components/Layout.tsx:185",href:w,target:"_blank",rel:"noopener noreferrer",onClick:()=>_t("portal_click",{portal:x}),className:"flex items-center gap-3 px-4 py-3 hover:bg-[#F7F3EC] transition-colors group",children:[d.jsx("div",{"data-loc":"client/src/components/Layout.tsx:193",className:"w-8 h-8 rounded-lg bg-[#005F63]/10 flex items-center justify-center shrink-0 group-hover:bg-[#005F63] transition-colors",children:d.jsx(S,{"data-loc":"client/src/components/Layout.t
252sx:194",size:15,className:"text-[#005F63] group-hover:text-white transition-colors"})}),d.jsxs("div",{"data-loc":"client/src/components/Layout.tsx:196",className:"min-w-0",children:[d.jsx("p",{"data-loc":"client/src/components/Layout.tsx:197",className:"text-sm font-semibold text-[#2C2C2C] group-hover:text-[#005F63] transition-colors",children:x}),d.jsx("p",{"data-loc":"client/src/components/Layout.tsx:198",className:"text-xs text-[#4A4A4A]",children:g})]}),d.jsx(Id,{"data-loc":"client/src/components/Layout.tsx:200",size:12,className:"ml-auto text-[#4A4A4A]/50 shrink-0"})]},w))]})]})]}),d.jsx("button",{"data-loc":"client/src/components/Layout.tsx:210",onClick:()=>s(!n),className:"lg:hidden p-2 rounded-lg text-[#005F63] hover:bg-[#F7F3EC] transition-colors","aria-label":"Toggle menu",children:n?d.jsx(Kr,{"data-loc":"client/src/components/Layout.tsx:215",size:24}):d.jsx(G4,{"data-loc":"client/src/components/Layout.tsx:215",size:24})})]}),n&&d.jsx("div",{"data-loc":"client/src/components/Layout.tsx:221",className:"lg:hidden bg-white border-t border-[#EDE8DF] shadow-lg",children:d.jsxs("div",{"data-loc":"client/src/components/Layout.tsx:222",className:"container py-4 flex flex-col gap-1",children:[Ty.map(x=>x.children?d.jsxs("div",{"data-loc":"client/src/components/Layout.tsx:225",children:[d.jsx("div",{"data-loc":"client/src/components/Layout.tsx:226",className:"px-3 py-2 text-xs font-semibold text-[#005F63] uppercase tracking-wider",children:x.label}),x.children.map(g=>d.jsx(ke,{"data-loc":"client/src/components/Layout.tsx:230",href:g.href,className:"block px-6 py-2.5 text-sm text-[#2C2C2C] hover:text-[#005F63] hover:bg-[#F7F3EC] rounded-lg transition-colors",children:g.label},g.href))]},x.label):d.jsx(ke,{"data-loc":"client/src/components/Layout.tsx:240",href:x.href,className:`block px-3 py-2.5 text-sm font-medium rounded-lg transition-colors ${v===x.href?"text-[#005F63] bg-[#F7F3EC]":"text-[#2C2C2C] hover:text-[#005F63] hover:bg-[#F7F3EC]"}`,children:x.label},x.href)),d.jsxs("div",{"data-loc":"client/src/components/Layout.tsx:253",className:"pt-3 border-t border-[#EDE8DF] flex flex-col gap-2",children:[d.jsxs("a",{"data-loc":"client/src/components/Layout.tsx:254",href:"tel:+447881230088",className:"flex items-center gap-2 px-3 py-2.5 text-sm font-medium text-[#005F63]",children:[d.jsx(gn,{"data-loc":"client/src/components/Layout.tsx:258",size:16}),"07881 230088"]}),d.jsxs("div",{"data-loc":"client/src/components/Layout.tsx:262",className:"px-3 py-1",children:[d.jsx("p",{"data-loc":"client/src/components/Layout.tsx:263",className:"text-xs font-semibold text-[#005F63] uppercase tracking-wider mb-2",children:"Portals"}),nf.map(({label:x,desc:g,href:w,icon:S})=>d.jsxs("a",{"data-loc":"client/src/components/Layout.tsx:265",href:w,target:"_blank",rel:"noopener noreferrer",onClick:()=>_t("portal_click",{portal:x}),className:"flex items-center gap-3 py-2.5 hover:text-[#005F63] transition-colors group",children:[d.jsx(S,{"data-loc":"client/src/components/Layout.tsx:273",size:15,className:"text-[#005F63] shrink-0"}),d.jsxs("div",{"data-loc":"client/src/components/Layout.tsx:274",children:[d.jsx("p",{"data-loc":"client/src/components/Layout.tsx:275",className:"text-sm font-medium text-[#2C2C2C]",children:x}),d.jsx("p",{"data-loc":"client/src/components/Layout.tsx:276",className:"text-xs text-[#4A4A4A]",children:g})]}),d.jsx(Id,{"data-loc":"client/src/components/Layout.tsx:278",size:11,className:"ml-auto text-[#4A4A4A]/50 shrink-0"})]},w))]})]})]})})]}),d.jsx("div",{"data-loc":"client/src/components/Layout.tsx:290",className:"h-[112px] md:h-[120px]"}),d.jsxs("a",{"data-loc":"client/src/components/Layout.tsx:298",href:"https://wa.me/447881230088?text=Hello%2C%20I%27d%20like%20to%20enquire%20about%20companionship%20services",target:"_blank",rel:"noopener noreferrer",onClick:()=>_t("whatsapp_click",{location:"floating_button"}),className:"fixed bottom-[88px] right-4 z-45 lg:bottom-6 lg:right-6 w-12 h-12 lg:w-14 lg:h-14 bg-[#25D366] rounded-full flex items-center justify-center shadow-lg whatsapp-pulse hover:scale-110 transition-transform duration-200","aria-label":"Chat on WhatsApp",children:[d.jsx(Qa,{"data-loc":"client/src/components/Layout.t
252sx:306",size:22,className:"text-white fill-white lg:hidden"}),d.jsx(Qa,{"data-loc":"client/src/components/Layout.tsx:307",size:26,className:"text-white fill-white hidden lg:block"})]}),d.jsxs("div",{"data-loc":"client/src/components/Layout.tsx:311",className:"lg:hidden fixed bottom-0 left-0 right-0 z-40 bg-white border-t border-[#EDE8DF] shadow-lg px-4 py-3 flex gap-2",children:[d.jsxs("a",{"data-loc":"client/src/components/Layout.tsx:312",href:"tel:+447881230088",className:"flex-1 flex items-center justify-center gap-2 py-2.5 border-2 border-[#005F63] text-[#005F63] text-sm font-semibold rounded-full",children:[d.jsx(gn,{"data-loc":"client/src/components/Layout.tsx:316",size:15}),"Call Now"]}),d.jsx(ke,{"data-loc":"client/src/components/Layout.tsx:319",href:"/contact",className:"flex-1 flex items-center justify-center py-2.5 bg-[#005F63] text-white text-sm font-semibold rounded-full",children:"Message Us"})]}),d.jsx("div",{"data-loc":"client/src/components/Layout.tsx:326",className:"lg:hidden h-[72px]"})]})}function Jx(){return d.jsx("footer",{"data-loc":"client/src/components/Layout.tsx:333",className:"bg-[#005F63] text-white",children:d.jsxs("div",{"data-loc":"client/src/components/Layout.tsx:334",className:"container py-16",children:[d.jsxs("div",{"data-loc":"client/src/components/Layout.tsx:335",className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-10",children:[d.jsxs("div",{"data-loc":"client/src/components/Layout.tsx:337",className:"lg:col-span-1",children:[d.jsx("img",{"data-loc":"client/src/components/Layout.tsx:338",src:"/manus-storage/icon_white_gold_6b5903d6.png",alt:"Smile Companion icon",className:"h-16 w-16 object-contain object-center mb-3 block",width:"64",height:"64"}),d.jsx("p",{"data-loc":"client/src/components/Layout.tsx:345",className:"text-white font-display text-lg font-semibold mb-1",children:"Smile Companion"}),d.jsx("p",{"data-loc":"client/src/components/Layout.tsx:346",className:"text-[#F2B233] italic font-display text-sm mb-4",children:"We collect smiles."}),d.jsx("p",{"data-loc":"client/src/components/Layout.tsx:347",className:"text-white/75 text-sm leading-relaxed",children:"Warm, trusted companionship visits for older adults. Local availability is checked through conversation, recruitment and matching."})]}),d.jsxs("div",{"data-loc":"client/src/components/Layout.tsx:353",className:"lg:col-span-1",children:[d.jsx("h3",{"data-loc":"client/src/components/Layout.tsx:354",className:"font-semibold text-sm uppercase tracking-wider text-[#F2B233] mb-4",children:"Portals"}),d.jsx("ul",{"data-loc":"client/src/components/Layout.tsx:357",className:"space-y-3",children:nf.map(({label:n,desc:s,href:o,icon:l})=>d.jsx("li",{"data-loc":"client/src/components/Layout.tsx:359",children:d.jsxs("a",{"data-loc":"client/src/components/Layout.tsx:360",href:o,target:"_blank",rel:"noopener noreferrer",onClick:()=>_t("portal_click",{portal:n}),className:"flex items-start gap-2.5 group",children:[d.jsx("div",{"data-loc":"client/src/components/Layout.tsx:367",className:"w-7 h-7 rounded-lg bg-white/10 flex items-center justify-center shrink-0 mt-0.5 group-hover:bg-white/20 transition-colors",children:d.jsx(l,{"data-loc":"client/src/components/Layout.tsx:368",size:13,className:"text-[#F2B233]"})}),d.jsxs("div",{"data-loc":"client/src/components/Layout.tsx:370",children:[d.jsxs("p",{"data-loc":"client/src/components/Layout.tsx:371",className:"text-sm font-semibold text-white group-hover:text-[#F2B233] transition-colors flex items-center gap-1",children:[n,d.jsx(Id,{"data-loc":"client/src/components/Layout.tsx:373",size:10,className:"opacity-50"})]}),d.jsx("p",{"data-loc":"client/src/components/Layout.tsx:375",className:"text-xs text-white/60",children:s})]})]})},o))})]}),d.jsxs("div",{"data-loc":"client/src/components/Layout.tsx:384",children:[d.jsx("h3",{"data-loc":"client/src/components/Layout.tsx:385",className:"font-semibold text-sm uppercase tracking-wider text-[#F2B233] mb-4",children:"Quick Links"}),d.jsx("ul",{"data-loc":"client/src/components/Layout.tsx:388",className:"space-y-2.5",children:[{label:"About Us",href:"/about"},{label:"Our Services",href:"/services"},{label:"How It Works",href:"/how-it-works"},{label:"Why Choose Us",href:"/why-us"},{label:"Areas We Cover",href:"/areas"}].map(n=>
252d.jsx("li",{"data-loc":"client/src/components/Layout.tsx:396",children:d.jsx(ke,{"data-loc":"client/src/components/Layout.tsx:397",href:n.href,className:"text-white/75 hover:text-white text-sm transition-colors",children:n.label})},n.href))})]}),d.jsxs("div",{"data-loc":"client/src/components/Layout.tsx:409",children:[d.jsx("h3",{"data-loc":"client/src/components/Layout.tsx:410",className:"font-semibold text-sm uppercase tracking-wider text-[#F2B233] mb-4",children:"Our Services"}),d.jsx("ul",{"data-loc":"client/src/components/Layout.tsx:413",className:"space-y-2.5",children:["Friendly Visits","Walks & Outings","Dementia Companionship","Shopping Assistance","Wellbeing Check-ins","Respite for Families"].map(n=>d.jsx("li",{"data-loc":"client/src/components/Layout.tsx:422",children:d.jsx(ke,{"data-loc":"client/src/components/Layout.tsx:423",href:"/services",className:"text-white/75 hover:text-white text-sm transition-colors",children:n})},n))})]}),d.jsxs("div",{"data-loc":"client/src/components/Layout.tsx:435",children:[d.jsx("h3",{"data-loc":"client/src/components/Layout.tsx:436",className:"font-semibold text-sm uppercase tracking-wider text-[#F2B233] mb-4",children:"Get In Touch"}),d.jsxs("ul",{"data-loc":"client/src/components/Layout.tsx:439",className:"space-y-3",children:[d.jsx("li",{"data-loc":"client/src/components/Layout.tsx:440",children:d.jsxs("a",{"data-loc":"client/src/components/Layout.tsx:441",href:"tel:+447881230088",className:"flex items-start gap-2 text-white/75 hover:text-white text-sm transition-colors",children:[d.jsx(gn,{"data-loc":"client/src/components/Layout.tsx:445",size:15,className:"mt-0.5 shrink-0"}),"07881 230088"]})}),d.jsx("li",{"data-loc":"client/src/components/Layout.tsx:449",children:d.jsxs("a",{"data-loc":"client/src/components/Layout.tsx:450",href:"mailto:[email protected]",className:"flex items-start gap-2 text-white/75 hover:text-white text-sm transition-colors break-all",children:[d.jsxs("svg",{"data-loc":"client/src/components/Layout.tsx:454",className:"mt-0.5 shrink-0",width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[d.jsx("rect",{"data-loc":"client/src/components/Layout.tsx:455",width:"20",height:"16",x:"2",y:"4",rx:"2"}),d.jsx("path",{"data-loc":"client/src/components/Layout.tsx:455",d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"})]}),"[email protected]"]})}),d.jsx("li",{"data-loc":"client/src/components/Layout.tsx:460",children:d.jsxs("a",{"data-loc":"client/src/components/Layout.tsx:461",href:"https://wa.me/447881230088",target:"_blank",rel:"noopener noreferrer",className:"flex items-start gap-2 text-white/75 hover:text-white text-sm transition-colors",children:[d.jsx(Qa,{"data-loc":"client/src/components/Layout.tsx:467",size:15,className:"mt-0.5 shrink-0"}),"WhatsApp Us"]})}),d.jsx("li",{"data-loc":"client/src/components/Layout.tsx:471",className:"text-white/75 text-sm",children:"Coverage Confirmed by Area"})]}),d.jsxs("div",{"data-loc":"client/src/components/Layout.tsx:476",className:"mt-6 flex gap-3",children:[d.jsx("a",{"data-loc":"client/src/components/Layout.tsx:477",href:"https://facebook.com",target:"_blank",rel:"noopener noreferrer",className:"w-9 h-9 rounded-full bg-white/10 hover:bg-white/20 flex items-center justify-center transition-colors","aria-label":"Facebook",children:d.jsx("svg",{"data-loc":"client/src/components/Layout.tsx:484",width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor",children:d.jsx("path",{"data-loc":"client/src/components/Layout.tsx:485",d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"})})}),d.jsx("a",{"data-loc":"client/src/components/Layout.tsx:488",href:"https://instagram.com",target:"_blank",rel:"noopener noreferrer",className:"w-9 h-9 rounded-full bg-white/10 hover:bg-white/20 flex items-center justify-center transition-colors","aria-label":"Instagram",children:d.jsxs("svg",{"data-loc":"client/src/components/Layout.tsx:495",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[d.jsx("rect",{"data-loc":"client/src/components/Layout.t
252sx:496",width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5"}),d.jsx("path",{"data-loc":"client/src/components/Layout.tsx:496",d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"}),d.jsx("line",{"data-loc":"client/src/components/Layout.tsx:496",x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5"})]})})]})]})]}),d.jsxs("div",{"data-loc":"client/src/components/Layout.tsx:503",className:"mt-12 pt-8 border-t border-white/20 flex flex-col md:flex-row items-center justify-between gap-4",children:[d.jsxs("p",{"data-loc":"client/src/components/Layout.tsx:504",className:"text-white/60 text-sm",children:["© ",new Date().getFullYear()," Smile Companion. A service by Companion Community Technologies CIC. All rights reserved."]}),d.jsxs("div",{"data-loc":"client/src/components/Layout.tsx:507",className:"flex gap-6",children:[d.jsx(ke,{"data-loc":"client/src/components/Layout.tsx:508",href:"/faq",className:"text-white/60 hover:text-white text-sm transition-colors",children:"FAQ"}),d.jsx(ke,{"data-loc":"client/src/components/Layout.tsx:511",href:"/privacy-policy",className:"text-white/60 hover:text-white text-sm transition-colors",children:"Privacy Policy"}),d.jsx("button",{"data-loc":"client/src/components/Layout.tsx:514",onClick:()=>{localStorage.removeItem("sc_cookie_consent"),window.location.reload()},className:"text-white/60 hover:text-white text-sm transition-colors",children:"Cookie Settings"})]})]})]})})}const xn="https://smilecompanion.co.uk",k5=xn;function z5(n){return n?/^https?:\/\//i.test(n)?n:`${xn}${n.startsWith("/")?n:`/${n}`}`:xn}function Fo(n){return`${k5}/companionship-${n}`}function L5(n){return/^https?:\/\//i.test(n)?n.replace(/^https?:\/\/(?:www\.)?smilecompanion\.org/i,xn):`${xn}${n.startsWith("/")?n:`/${n}`}`}const H5="Smile Companion",Ss=xn,My="@SmileCompanion",Ix="/manus-storage/og_image_favicon_42d5d7da.png",Ry="Smile Companion — Warm, trusted companionship visits for older adults";function qe(n,s,o=!1){const l=o?"property":"name";let c=document.querySelector(`meta[${l}="${n}"]`);c||(c=document.createElement("meta"),c.setAttribute(l,n),document.head.appendChild(c)),c.setAttribute("content",s)}function B5(n,s){let o=document.querySelector(`link[rel="${n}"]`);o||(o=document.createElement("link"),o.setAttribute("rel",n),document.head.appendChild(o)),o.setAttribute("href",s)}function U5(n){document.querySelectorAll('script[data-seo="true"]').forEach(o=>o.remove());const s=document.createElement("script");s.type="application/ld+json",s.setAttribute("data-seo","true"),s.textContent=JSON.stringify(n),document.head.appendChild(s)}function e0({title:n,description:s,canonical:o,ogImage:l=Ix,ogImageAlt:c,ogType:f="website",articlePublishedTime:m,articleModifiedTime:h,articleSection:p,schema:v,noIndex:x=!1}){return C.useEffect(()=>{document.title=n,qe("description",s),qe("robots",x?"noindex, nofollow":"index, follow");const g=z5(o),w=L5(l);B5("canonical",g),qe("og:title",n,!0),qe("og:description",s,!0),qe("og:type",f||"website",!0),qe("og:url",g,!0),qe("og:image",w,!0),qe("og:image:secure_url",w,!0),qe("og:image:type","image/png",!0),qe("og:image:width","1200",!0),qe("og:image:height","630",!0),qe("og:image:alt",c||Ry,!0),qe("og:site_name",H5,!0),qe("og:locale","en_GB",!0),f==="article"&&(m&&qe("article:published_time",m,!0),h&&qe("article:modified_time",h,!0),p&&qe("article:section",p,!0),qe("article:author",`${Ss}/about`,!0),qe("article:publisher",Ss,!0)),qe("twitter:card","summary_large_image"),qe("twitter:site",My),qe("twitter:creator",My),qe("twitter:title",n),qe("twitter:description",s),qe("twitter:image",w),qe("twitter:image:alt",c||Ry),qe("twitter:domain","smilecompanion.co.uk"),v&&U5(v)},[n,s,o,l,c,f,m,h,p,v,x]),null}const P5={"@context":"https://schema.org","@type":"LocalBusiness","@id":`${Ss}/#business`,name:"Smile Companion",alternateName:"Smile Companion Companionship Services",description:"Warm, trusted companionship visits for older adults. Local availability is checked through conversation, recruitment and matching.",url:Ss,telephone:"+447881230088",email:"[email protected]",logo:"/manus-storage/smile_companion_transparent_efc25dea.png",image:Ix,priceRange:"££",currenciesAccepted:"GBP",paymentAccepted:"Cash, Bank Transfer",address:{"@type":"PostalAddress",addressLocality:"Rotherham",addressRegion:"South Yorkshire",postalCode:"S60",addressCountry:"GB"},geo:{"@type":"GeoCoordinates",latitude:"53.4300",longitude:"-1.3567"},areaServed:[{"@type":"City",name:"Sheffield"},{"@type":"City",name:"Rotherham"},{"@type":"AdministrativeArea",name:"South Yorkshire"}],openingHoursSpecification:[{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Frid
252ay"],opens:"08:00",closes:"18:00"},{"@type":"OpeningHoursSpecification",dayOfWeek:["Saturday"],opens:"09:00",closes:"14:00"}],sameAs:["https://www.facebook.com/smilecompanion","https://www.instagram.com/smilecompanion"],hasOfferCatalog:{"@type":"OfferCatalog",name:"Companionship Services",itemListElement:[{"@type":"Offer",itemOffered:{"@type":"Service",name:"Friendly Visits"}},{"@type":"Offer",itemOffered:{"@type":"Service",name:"Walks & Outings"}},{"@type":"Offer",itemOffered:{"@type":"Service",name:"Dementia-Friendly Companionship"}},{"@type":"Offer",itemOffered:{"@type":"Service",name:"Shopping Assistance"}},{"@type":"Offer",itemOffered:{"@type":"Service",name:"Wellbeing Check-ins"}},{"@type":"Offer",itemOffered:{"@type":"Service",name:"Respite for Families"}}]}},F5=n=>({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:n.map((s,o)=>({"@type":"ListItem",position:o+1,name:s.name,item:`${Ss}${s.url}`}))}),ZE=n=>({"@context":"https://schema.org","@type":"FAQPage",mainEntity:n.map(s=>({"@type":"Question",name:s.q,acceptedA
252nswer:{"@type":"Answer",text:s.a}}))}),$E=(n,s,o)=>({"@context":"https://schema.org","@type":"Service",name:n,description:s,url:`${Ss}${o}`,provider:{"@type":"LocalBusiness",name:"Smile Companion",url:Ss},areaServed:["Rotherham","Sheffield","South Yorkshire"],serviceType:"Elderly Companionship"}),q5=`${xn}/manus-storage/og_image_favicon_42d5d7da.png`;function t0(n){return[{"@type":"City",name:n.name},{"@type":"AdministrativeArea",name:n.region}]}function Q5(n){const s=Fo(n.slug);return{"@context":"https://schema.org","@type":"LocalBusiness","@id":`${s}#local-business`,name:`Smile Companion — ${n.name}`,description:n.metaDescription,url:s,image:q5,telephone:"+447881230088",email:"[email protected]",priceRange:"££",areaServed:t0(n),parentOrganization:{"@type":"Organization","@id":`${xn}/#business`,name:"Smile Companion",url:xn}}}function Y5(n){const s=Fo(n.slug);return{"@context":"https://schema.org","@type":"Service","@id":`${s}#companionship-service`,name:`Companionship services in ${n.name}`,description:n.metaDescription,url:s,serviceType:"Companionship visits for older adults",areaServed:t0(n),provider:{"@id":`${s}#local-business`}}}function G5(n){const s=Fo(n.slug);return{"@context":"https://schema.org","@type":"BreadcrumbList","@id":`${s}#breadcrumb`,itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:xn},{"@type":"ListItem",position:2,name:"Areas We Cover",item:`${xn}/areas`},{"@type":"ListItem",position:3,name:`Companionship in ${n.name}`,item:s}]}}const V5="/manus-storage/icon_transparent_finalMedium_12794250.png";function X5({isOpen:n,onClose:s,type:o="enquiry",name:l,city:c}){if(C.useEffect(()=>(n?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[n]),C.useEffect(()=>{const h=p=>{p.key==="Escape"&&s()};return n&&window.addEventListener("keydown",h),()=>window.removeEventListener("keydown",h)},[n,s]),!n)return null;const f=o==="enquiry",m=l?l.split(" ")[0]:null;return d.jsxs("div",{"data-loc":"client/src/components/ThankYouModal.tsx:63",className:"fixed inset-0 z-[100] flex items-center justify-center p-4",role:"dialog","aria-modal":"true","aria-labelledby":"thankyou-title",children:[d.jsx("div",{"data-loc":"client/src/components/ThankYouModal.tsx:70",className:"absolute inset-0 bg-[#005F63]/60 backdrop-blur-sm",onClick:s,"aria-hidden":"true"}),d.jsxs("div",{"data-loc":"client/src/components/ThankYouModal.tsx:77",className:"relative bg-white rounded-3xl shadow-2xl max-w-md w-full mx-auto overflow-hidden",style:{animation:"scale-in 0.25s cubic-bezier(0.23, 1, 0.32, 1) forwards"},children:[d.jsxs("div",{"data-loc":"client/src/components/ThankYouModal.tsx:84",className:"bg-[#005F63] px-8 pt-8 pb-6 text-center relative",children:[d.jsx("button",{"data-loc":"client/src/components/ThankYouModal.tsx:85",onClick:s,className:"absolute top-4 right-4 w-8 h-8 rounded-full bg-white/15 hover:bg-white/25 flex items-center justify-center transition-colors","aria-label":"Close",children:d.jsx(Kr,{"data-loc":"client/src/components/ThankYouModal.tsx:90",size:16,className:"text-white"})}),d.jsxs("div",{"data-loc":"client/src/components/ThankYouModal.tsx:94",className:"relative inline-block mb-4",children:[d.jsx("div",{"data-loc":"client/src/components/ThankYouModal.tsx:95",className:"w-20 h-20 rounded-full bg-white/15 flex items-center justify-center mx-auto",children:d.jsx("img",{"data-loc":"client/src/components/ThankYouModal.tsx:96",src:V5,alt:"Smile Companion",className:"w-12 h-12 object-contain object-center brightness-0 invert block",width:"48",height:"48"})}),d.jsx("div",{"data-loc":"client/src/components/ThankYouModal.tsx:105",className:"absolute inset-0 rounded-full border-2 border-[#F2B233]",style:{animation:"ping 1.5s cubic-bezier(0, 0, 0.2, 1) 0.3s 2"}})]}),d.jsx("h2",{"data-loc":"client/src/components/ThankYouModal.tsx:111",id:"thankyou-title",className:"font-display text-2xl font-bold text-white mb-1",children:m?`Thank you, ${m}!`:"Thank you!"}),d.jsx("p",{"data-loc":"client/src/components/ThankYouModal.tsx:117",className:"text-[#F2B233] font-display italic text-sm",children:"We collect smiles — and yours just made our day."})]}),d.jsx("div",{"data-loc":"client/src/components/ThankYouModal.tsx:123",className:"px-8 py-7",children:f?d.jsxs(d.Fragment,{children:[d.jsx("p",{"data-loc":"client/src/components/ThankYouModal.tsx:126",className:"text-[#2C2C2C] text-center leading-relaxed mb-6",children:c?`Your enquiry about companionship in ${c}
252 has been received. We'll be in touch within 2 hours to discuss local companionship for you or the person you're enquiring for.`:"Your enquiry has been received. We'll be in touch within 2 hours to discuss how companionship could help you, or someone you love, feel more connected and joyful."}),d.jsxs("div",{"data-loc":"client/src/components/ThankYouModal.tsx:133",className:"bg-[#F7F3EC] rounded-2xl p-5 mb-6",children:[d.jsx("p",{"data-loc":"client/src/components/ThankYouModal.tsx:134",className:"text-xs font-semibold text-[#005F63] uppercase tracking-wider mb-3",children:"What happens next"}),d.jsx("ul",{"data-loc":"client/src/components/ThankYouModal.tsx:137",className:"space-y-2.5",children:["We'll call or message you within 2 hours","We'll have a friendly chat about who the companionship is for","We'll begin finding the perfect local companion"].map((h,p)=>d.jsxs("li",{"data-loc":"client/src/components/ThankYouModal.tsx:143",className:"flex items-start gap-2.5",children:[d.jsx("div",{"data-loc":"client/src/components/ThankYouModal.tsx:144",className:"w-5 h-5 rounded-full bg-[#005F63] flex items-center justify-center shrink-0 mt-0.5",children:d.jsx("span",{"data-loc":"client/src/components/ThankYouModal.tsx:145",className:"text-white text-[10px] font-bold",children:p+1})}),d.jsx("span",{"data-loc":"client/src/components/ThankYouModal.tsx:147",className:"text-[#4A4A4A] text-sm leading-relaxed",children:h})]},h))})]}),d.jsxs("div",{"data-loc":"client/src/components/ThankYouModal.tsx:154",className:"bg-[#005F63]/5 border border-[#005F63]/20 rounded-xl p-4 mb-5 text-center",children:[d.jsx("p",{"data-loc":"client/src/components/ThankYouModal.tsx:155",className:"text-[#2C2C2C] text-xs font-semibold mb-1",children:"Want to choose a time for your friendly conversation?"}),d.jsx("p",{"data-loc":"client/src/components/ThankYouModal.tsx:158",className:"text-[#4A4A4A] text-xs mb-3",children:"You can book a convenient slot online — we'll confirm it when we call."}),d.jsx("a",{"data-loc":"client/src/components/ThankYouModal.tsx:161",href:"/book",className:"inline-flex items-center gap-1.5 text-[#005F63] text-xs font-bold hover:underline",children:"📅 View available times at smilecompanion.org/book"})]}),d.jsxs("div",{"data-loc":"client/src/components/ThankYouModal.tsx:170",className:"bg-[#005F63] rounded-xl p-4 mb-5 flex items-center gap-3",children:[d.jsx("div",{"data-loc":"client/src/components/ThankYouModal.tsx:171",className:"w-9 h-9 rounded-full bg-white/15 flex items-center justify-center shrink-0",children:d.jsx(ef,{"data-loc":"client/src/components/ThankYouModal.tsx:172",size:16,className:"text-[#F2B233]"})}),d.jsxs("div",{"data-loc":"client/src/components/ThankYouModal.tsx:174",className:"flex-1 min-w-0",children:[d.jsx("p",{"data-loc":"client/src/components/ThankYouModal.tsx:175",className:"text-white text-xs font-semibold mb-0.5",children:"Once you're onboarded"}),d.jsx("p",{"data-loc":"client/src/components/ThankYouModal.tsx:178",className:"text-white/70 text-xs leading-snug",children:"Access your account, schedule & updates via the Smile Member & Companion Portal."})]}),d.jsx("a",{"data-loc":"client/src/components/ThankYouModal.tsx:182",href:"https://portal.smilecompanion.org",target:"_blank",rel:"noopener noreferrer",className:"shrink-0 px-3 py-1.5 bg-[#F2B233] text-[#2C2C2C] text-xs font-bold rounded-full hover:bg-[#d4961f] transition-colors whitespace-nowrap",children:"Go to Portal"})]}),d.jsx("p",{"data-loc":"client/src/components/ThankYouModal.tsx:193",className:"text-[#4A4A4A] text-xs text-center mb-3",children:"Or reach us directly:"}),d.jsxs("div",{"data-loc":"client/src/components/ThankYouModal.tsx:196",className:"flex gap-3",children:[d.jsxs("a",{"data-loc":"client/src/components/ThankYouModal.tsx:198",href:"tel:+447881230088",className:"flex-1 flex items-center justify-center gap-2 py-3 bg-[#005F63] text-white text-sm font-bold rounded-full hover:bg-[#004548] transition-all duration-200 shadow-md",children:[d.jsx(gn,{"data-loc":"client/src/components/ThankYouModal.tsx:202",size:14}),"Call Now"]}),d.jsxs("a",{"data-loc":"client/src/components/ThankYouModal.tsx:206",href:"https://wa.me/447881230088",target:"_blank",rel:"noopener noreferrer",className:"flex-1 flex items-center justify-center gap-2 py-3 bg-transparent border-2 border-[#005F63] text-[#005F63] text-sm font-semibold rounded-full hover:bg-[#005F63]/5 transition-all duration-200",children:[d.jsx(Qa,{"data-loc":"client/src/components/ThankYouModal.tsx:212",size:14}),"WhatsApp"]})]})]}):d.jsxs(d.Fragment,{children:[d.jsx("p",{"data-loc":"client/src/components/ThankYouModal.tsx:219",className:"text-[#2C2C2C] text-center leading-relaxed mb-6",children:"Your application has been received. We'll be in touch soon to have a friendly chat about joining the Smile Companion team."}),d.jsxs("div",{"data-loc":"client/src/components/ThankYouModal.tsx:223",className:"bg-[#F7F3EC] rounded-2xl p-5 mb-6",children:[d.jsx("p",{"data-loc":"client/src/components/ThankYouModal.tsx:224",className:"text-xs font-semibold text-[#005F63] uppercase tracking-wider mb-3",children:"What happens next"}),d.jsx("ul",{"data-loc":"client/src/components/ThankYouModal.tsx:227",className:"space-y-2.5",children:["We'll review your application","We'll be in touch within 2–3 working days","We'll arrange a friendly introductory chat"].map((h,p)=>d.jsxs("li",{"data-loc":"client/src/components/ThankYouModal.tsx:233",className:"flex items-start gap-2.5",children:[d.jsx("div",{"data-loc":"client/src/components/ThankYouModal.tsx:234",className:"w-5 h-5 rounded-full bg-[#F2B233] flex items-center justify-center shrink-0 mt-0.5",children:d.jsx("span",{"data-loc":"client/src/components/ThankYouModal.tsx:235",className:"text-white text-[10px] font-bold",children:p+1})}),d.jsx("span",{"data-loc":"client/src/components/ThankYouModal.tsx:237",className:"text-[#4A4A4A] text-sm leading-relaxed",children:h})]},h))})]}),d.jsxs("div",{"data-loc":"client/src/components/ThankYouModal.tsx:244",className:"bg-[#005F63] rounded-xl p-4 mb-5 flex items-center gap-3",children:[d.jsx("div",{"data-loc":"client/src/components/ThankYouModal.tsx:245",className:"w-9 h-9 rounded-full bg-white/15 flex items-center justify-center shrink-0",children:d.jsx(ef,{"data-loc":"client/src/components/ThankYouModal.tsx:246",size:16,className:"text-[#F2B233]"})}),d.jsxs("div",{"data-loc":"client/src/components/ThankYouModal.tsx:248",className:"flex-1 min-w-0",children:[d.jsx("p",{"data-loc":"client/src/components/ThankYouModal.tsx:249",className:"text-white text-xs font-semibold mb-0.5",children:"Once you join the team"}),d.jsx("p",{"data-loc":"client/src/components/ThankYouModal.tsx:252",className:"text-white/70 text-xs leading-snug",children:"Manage your schedule, client details & updates through the Smile Member & Companion Portal."})]}),d.jsx("a",{"data-loc":"client/src/components/ThankYouModal.tsx:256",href:"https://portal.smilecompanion.org",target:"_blank",rel:"noopener noreferrer",className:"shrink-0 px-3 py-1.5 bg-[#F2B233] text-[#2C2C2C] text-xs font-bold rounded-full hover:bg-[#d4961f] transition-colors whitespace-nowrap",children:"Go to Portal"})]}),d.jsxs("div",{"data-loc":"client/src/components/ThankYouModal.tsx:266",className:"flex items-center gap-2 justify-center text-[#4A4A4A] text-sm",children:[d.jsx(Xo,{"data-loc":"client/src/components/ThankYouModal.tsx:267",size:14,className:"text-[#F2B233] fill-[#F2B233]"}),d.jsx("span",{"data-loc":"client/src/components/ThankYouModal.tsx:268",children:"Thank y
252ou for wanting to make a difference."})]})]})}),d.jsx("div",{"data-loc":"client/src/components/ThankYouModal.tsx:275",className:"px-8 pb-7 pt-0",children:d.jsx("button",{"data-loc":"client/src/components/ThankYouModal.tsx:276",onClick:s,className:"w-full py-3 bg-[#F7F3EC] text-[#005F63] text-sm font-semibold rounded-full hover:bg-[#EDE8DF] transition-colors",children:"Close"})})]}),d.jsx("style",{"data-loc":"client/src/components/ThankYouModal.tsx:285",children:`
253        @keyframes scale-in {
254          from { opacity: 0; transform: scale(0.92); }
255          to   { opacity: 1; transform: scale(1); }
256        }
257        @keyframes ping {
258          75%, 100% { transform: scale(1.4); opacity: 0; }
259        }
260      `})]})}const K5=()=>d.jsx("svg",{"data-loc":"client/src/components/ShareButtons.tsx:22",viewBox:"0 0 24 24",fill:"currentColor",className:"w-5 h-5",children:d.jsx("path",{"data-loc":"client/src/components/ShareButtons.tsx:23",d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})}),Z5=()=>d.jsx("svg",{"data-loc":"client/src/components/ShareButtons.tsx:28",viewBox:"0 0 24 24",fill:"currentColor",className:"w-5 h-5",children:d.jsx("path",{"data-loc":"client/src/components/ShareButtons.tsx:29",d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})}),$5=()=>d.jsx("svg",{"data-loc":"client/src/components/ShareButtons.tsx:34",viewBox:"0 0 24 24",fill:"currentColor",className:"w-5 h-5",children:d.jsx("path",{"data-loc":"client/src/components/ShareButtons.tsx:35",d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})}),W5=()=>d.jsx("svg",{"data-loc":"client/src/components/ShareButtons.tsx:40",viewBox:"0 0 24 24",fill:"currentColor",className:"w-5 h-5",children:d.jsx("path",{"data-loc":"client/src/components/ShareButtons.tsx:41",d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"})});function J5({title:n,url:s}){const[o,l]=C.useState(s||""),[c,f]=C.useState(!1);C.useEffect(()=>{s||l(window.location.href)},[s]);const m=encodeURIComponent(o),h=encodeURIComponent(n),p=[{name:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${m}`,icon:d.jsx(K5,{"data-loc":"client/src/components/ShareButtons.tsx:62"}),color:"hover:bg-[#1877F2] hover:text-white",label:"Share on Facebook"},{name:"Twitter",href:`https://twitter.com/intent/tweet?text=${h}&url=${m}&via=SmileCompanion`,icon:d.jsx(Z5,{"data-loc":"client/src/components/ShareButtons.tsx:69"}),color:"hover:bg-black hover:text-white",label:"Share on Twitter/X"},{name:"LinkedIn",href:`https://www.linkedin.com/shareArticle?mini=true&url=${m}&title=${h}`,icon:d.jsx($5,{"data-loc":"client/src/components/ShareButtons.tsx:76"}),color:"hover:bg-[#0A66C2] hover:text-white",label:"Share on LinkedIn"},{name:"WhatsApp",href:`https://wa.me/?text=${h}%20${m}`,icon:d.jsx(W5,{"data-loc":"client/src/components/ShareButtons.tsx:83"}),color:"hover:bg-[#25D366] hover:text-white",label:"Share on WhatsApp"}],v=async()=>{try{await navigator.clipboard.writeText(o),f(!0),_t("share_click",{platform:"copy_link",article_title:n}),setTimeout(()=>f(!1),2e3)}catch{const g=document.createElement("textarea");g.value=o,document.body.appendChild(g),g.select(),document.execCommand("copy"),document.body.removeChild(g),f(!0),setTimeout(()=>f(!1),2e3)}},x=g=>{_t("share_click",{platform:g,article_title:n})};return d.jsxs(d.Fragment,{children:[d.jsxs("div",{"data-loc":"client/src/components/ShareButtons.tsx:115",className:"hidden xl:flex fixed left-6 top-1/2 -translate-y-1/2 z-40 flex-col items-center gap-2",children:[d.jsx("span",{"data-loc":"client/src/components/ShareButtons.tsx:117",className:"text-[#4A4A4A] text-xs font-semibold uppercase tracking-widest mb-1",style:{writingMode:"vertical-rl",transform:"rotate(180deg)"},children:"Share"}),p.map(g=>d.jsx("a",{"data-loc":"client/src/components/ShareButtons.tsx:125",href:g.href,target:"_blank",rel:"noopener noreferrer",onClick:()=>x(g.name),"aria-label":g.label,className:`w-10 h-10 rounded-full bg-white border border-[#
260EDE8DF] shadow-sm flex items-center justify-center text-[#4A4A4A] transition-all duration-200 hover:shadow-md hover:scale-110 active:scale-95 ${g.color}`,children:g.icon},g.name)),d.jsx("button",{"data-loc":"client/src/components/ShareButtons.tsx:139",onClick:v,"aria-label":"Copy link",className:`w-10 h-10 rounded-full border shadow-sm flex items-center justify-center transition-all duration-200 hover:shadow-md hover:scale-110 active:scale-95 ${c?"bg-[#005F63] border-[#005F63] text-white":"bg-white border-[#EDE8DF] text-[#4A4A4A] hover:bg-[#005F63] hover:border-[#005F63] hover:text-white"}`,children:c?d.jsx(vy,{"data-loc":"client/src/components/ShareButtons.tsx:148",size:16}):d.jsx(xy,{"data-loc":"client/src/components/ShareButtons.tsx:148",size:16})})]}),d.jsxs("div",{"data-loc":"client/src/components/ShareButtons.tsx:153",className:"xl:hidden flex items-center gap-2 py-4 border-b border-[#EDE8DF] mb-6",children:[d.jsx("span",{"data-loc":"client/src/components/ShareButtons.tsx:154",className:"text-[#4A4A4A] text-xs font-semibold uppercase tracking-wider mr-1",children:"Share:"}),p.map(g=>d.jsx("a",{"data-loc":"client/src/components/ShareButtons.tsx:158",href:g.href,target:"_blank",rel:"noopener noreferrer",onClick:()=>x(g.name),"aria-label":g.label,className:`w-9 h-9 rounded-full bg-[#F7F3EC] border border-[#EDE8DF] flex items-center justify-center text-[#4A4A4A] transition-all duration-200 hover:shadow-sm active:scale-95 ${g.color}`,children:g.icon},g.name)),d.jsx("button",{"data-loc":"client/src/components/ShareButtons.tsx:170",onClick:v,"aria-label":"Copy link",className:`w-9 h-9 rounded-full border flex items-center justify-center transition-all duration-200 active:scale-95 ${c?"bg-[#005F63] border-[#005F63] text-white":"bg-[#F7F3EC] border-[#EDE8DF] text-[#4A4A4A] hover:bg-[#005F63] hover:border-[#005F63] hover:text-white"}`,children:c?d.jsx(vy,{"data-loc":"client/src/components/ShareButtons.tsx:179",size:14}):d.jsx(xy,{"data-loc":"client/src/components/ShareButtons.tsx:179",size:14})}),c&&d.jsx("span",{"data-loc":"client/src/components/ShareButtons.tsx:182",className:"text-[#005F63] text-xs font-medium ml-1 animate-fade-in",children:"Copied!"})]})]})}function I5({city:n}){return d.jsx("nav",{"data-loc":"client/src/components/CityBreadcrumbs.tsx:11","aria-label":"Breadcrumb",className:"border-b border-[#EDE8DF] bg-white",children:d.jsxs("div",{"data-loc":"client/src/components/CityBreadcrumbs.tsx:12",className:"container flex min-h-12 items-center gap-1.5 overflow-x-auto py-3 text-xs sm:text-sm",children:[d.jsxs(ke,{"data-loc":"client/src/components/CityBreadcrumbs.tsx:13",href:"/",className:"inline-flex shrink-0 items-center gap-1 text-[#005F63] hover:text-[#004548] hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#005F63]",children:[d.jsx(Bx,{"data-loc":"client/src/components/CityBreadcrumbs.tsx:17",size:13,"aria-hidden":"true"}),"Home"]}),d.jsx(za,{"data-loc":"client/src/components/CityBreadcrumbs.tsx:20",size:14,className:"shrink-0 text-[#8A847A]","aria-hidden":"true"}),d.jsx(ke,{"data-loc":"client/src/components/CityBreadcrumbs.tsx:21",href:"/areas",className:"shrink-0 text-[#005F63] hover:text-[#004548] hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#005F63]",children:"Areas we cover"}),d.jsx(za,{"data-loc":"client/src/components/CityBreadcrumbs.tsx:27",size:14,className:"shrink-0 text-[#8A847A]","aria-hidden":"true"}),d.jsxs("span",{"data-loc":"client/src/components/CityBreadcrumbs.tsx:28","aria-current":"page",className:"inline-flex min-w-0 items-center gap-1 font-semibold text-[#2C2C2C]",children:[d.jsx(pn,{"data-loc":"client/src/components/CityBreadcrumbs.tsx:29",size:13,className:"shrink-0 text-[#005F63]","aria-hidden":"true"}),d.jsxs("span",{"data-loc":"client/src/components/CityBreadcrumbs.tsx:30",className:"truncate",children:["Companionship in ",n.name]})]})]})})}function yr(n){return n*Math.PI/180}function eE(n,s){const l=yr(s.coordinates.latitude-n.coordinates.latitude),c=yr(s.coordinates.longitude-n.coordinates.longitude),f=yr(n.coordinates.latitude),m=yr(s.coordinates.latitude),h=Math.sin(l/2)**2+Math.cos(f)*Math.cos(m)*Math.sin(c/2)**2;return 6371*2*Math.atan2(Math.sqrt(h),Math.sqrt(1-h))}function n0(n,s=3){return $x.filter(o=>o.slug!==n.slug).map(o=>({city:o,distanceKm:eE(n,o)})).sort((o,l)=>o.distanceKm-l.distanceKm||o.city.name.localeCompare(l.city.name)).slice(0,s)}function tE({city:n}){const s=n0(n);return s.length===0?null:d.jsxs("div",{"data-loc":"client/src/components/NearbyLocations.tsx:16",className:"mt-7 border-t border-[#
260EDE8DF] pt-7",children:[d.jsx("p",{"data-loc":"client/src/components/NearbyLocations.tsx:17",className:"text-xs font-semibold uppercase tracking-wider text-[#4A4A4A] mb-2",children:"Nearby locations to explore"}),d.jsx("p",{"data-loc":"client/src/components/NearbyLocations.tsx:20",className:"mx-auto max-w-2xl text-sm leading-relaxed text-[#4A4A4A]",children:"These are the closest listed locations in our directory. Local availability is always confirmed individually."}),d.jsx("div",{"data-loc":"client/src/components/NearbyLocations.tsx:23",className:"mt-4 flex flex-wrap justify-center gap-2",children:s.map(({city:o})=>d.jsxs(ke,{"data-loc":"client/src/components/NearbyLocations.tsx:25",href:`/companionship-${o.slug}`,className:"inline-flex items-center gap-1.5 rounded-full border border-[#EDE8DF] bg-white px-3 py-1.5 text-xs font-semibold text-[#005F63] transition-all duration-200 hover:border-[#005F63] hover:bg-[#005F63] hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#005F63]",children:[d.jsx(pn,{"data-loc":"client/src/components/NearbyLocations.tsx:30",size:11,"aria-hidden":"true"}),"Companionship in ",o.name]},o.slug))})]})}const xi=1e3,ps=560,vr=110;function nE({city:n}){const s=n0(n),o=C.useMemo(()=>[{city:n,distanceKm:0,isCurrent:!0},...s.map(g=>({...g,isCurrent:!1}))],[n,s]),[l,c]=C.useState(1),[f,m]=C.useState(n.slug),h=C.useMemo(()=>{const g=o.map($=>$.city.coordinates.latitude),w=o.map($=>$.city.coordinates.longitude),S=Math.min(...g),N=Math.max(...g),A=Math.min(...w),H=Math.max(...w),P=Math.max(N-S,.45),Z=Math.max(H-A,.65);return o.map($=>({...$,x:vr+($.city.coordinates.longitude-A)/Z*(xi-vr*2),y:ps-vr-($.city.coordinates.latitude-S)/P*(ps-vr*2)}))},[o]),p=h.find(g=>g.city.slug===f)??h[0],v=h.filter(g=>!g.isCurrent),x=v.map(g=>`${g.x},${g.y}`).join(" ");return d.jsxs("div",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:55",className:"overflow-hidden rounded-3xl border border-[#EDE8DF] bg-white shadow-sm",children:[d.jsx("div",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:56",className:"border-b border-[#EDE8DF] bg-[#F7F3EC] px-6 py-5",children:d.jsxs("div",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:57",className:"flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",children:[d.jsxs("div",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:58",className:"flex items-start gap-3",children:[d.jsx("div",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:59",className:"mt-0.5 flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-[#005F63]/10",children:d.jsx(pn,{"data-loc":"client/src/components/CityServiceAreaMap.tsx:60",size:18,className:"text-[#005F63]","aria-hidden":"true"})}),d.jsxs("div",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:62",children:[d.jsxs("h2",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:63",className:"font-display text-xl font-bold text-[#2C2C2C]",children:["Explore companionship around ",n.name]}),d.jsxs("p",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:66",className:"mt-1 max-w-3xl text-sm leading-relaxed text-[#4A4A4A]",children:["This interactive view places ",n.name," alongside the closest locations in our directory. It helps you explore the area; local availability is always confirmed individually."]})]})]}),d.jsxs("div",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:71",className:"flex shrink-0 items-center gap-2","aria-label":"Map controls",children:[d.jsx("button",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:72",type:"button",onClick:()=>c(g=>Math.max(.8,g-.2)),disabled:l<=.8,"aria-label":"Zoom out",className:"inline-flex h-9 w-9 items-center justify-center rounded-full border border-[#D9D3C9] bg-white text-[#005F63] transition-colors hover:border-[#005F63] disabled:cursor-not-allowed disabled:opacity-40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#005F63]",children:d.jsx(V4,{"data-loc":"client/src/components/CityServiceAreaMap.tsx:79",size:17,"aria-hidden":"true"})}),d.jsx("button",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:81",type:"button",onClick:()=>c(g=>Math.min(1.6,g+.2)),disabled:l>=1.6,"aria-label":"Zoom in",className:"inline-flex h-9 w-9 items-center justify-center rounded-full border border-[#D9D3C9] bg-white text-[#005F63] transition-colors hover:border-[#005F63] disabled:cursor-not-allowed disabled:opacity-40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#005F63]",children:d.jsx(X4,{"data-loc":"client/src/components/CityServiceAreaMap.tsx:88",size:17,"aria-hidden":"true"})}),d.jsxs("button",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:90",type:"button",onClick:()=>{c(1),m(n.slug)},"aria-label":`Reset map to ${n.name}`,className:"inline-flex h-9 items-center gap-1.5 rounded-full border border-[#D9D3C9] bg-white px-3 text-xs font-semibold text-[#005F63] transition-colors hover:border-[#005F63] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#005F63]",children:[d.jsx(Px,{"data-loc":"client/src/components/CityServiceAreaMap.tsx:99",size:14,"aria-hidden":"true"}),"Reset"]})]})]})}),d.jsxs("div",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:106",className:"relative aspect-[5/3] min-h-[280px] overflow-hidden bg-[#EDF5F4]",role:"group","aria-label":`Local area map centred on ${n.name}`,children:[d.jsxs("svg",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:107",viewBox:`0 0 ${xi} ${ps}`,className:"absolute inset-0 h-full w-full","aria-hidden":"true",children:[d.jsxs("defs",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:108",children:[d.jsx("pattern",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:109",id:"map-grid",width:"64",height:"64",patternUnits:"userSpaceOnUse",children:d.jsx("path",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:110",d:"M 64 0 L 0 0 0 64",fill:"none",stroke:"#CCE2DF",strokeWidth:"1"})}),d.jsx("filter",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:112",id:"map-glow",x:"-60%",y:"-60%",width:"220%",height:"220%",children:d.jsx("feGaussianBlur",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:113",stdDeviation:"18"})})]}),d.jsx("rect",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:116",width:xi,height:ps,fill:"url(#map-grid)"}),d.jsx("path",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:117",d:"M-40 420 C145 330 275 500 440 400 S730 290 1040 410",fill:"none",stroke:"#B8D8D4",strokeWidth:"26",opacity:"0.65"}),d.jsx("path",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:118",d:"M-40 420 C145 330 275 500 440 400 S730 290 1040 410",fill:"none",stroke:"#FFFFFF",strokeWidth:"8",opacity:"0.9"}),d.jsxs("g",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:119",transform:`translate(${xi/2} ${ps/2}) scale(${l}) translate(${-xi/2} ${-ps/2})`,children:[v.length>0&&d.jsx("polyline",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:121",points:`${h[0].x},${h[0].y} ${x}`,fill:"none",stroke:"#8AC2BC",strokeWidth:"3",strokeDasharray:"9 9",opacity:"0.8"}),h.map(g=>d.jsx("circle",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:131",cx:g.x,cy:g.y,r:g.isCurrent?32:23,fill:g.isCurrent?"#005F63":"#F2B233",opacity:"0.2",filter:"url
260(#map-glow)"},`${g.city.slug}-glow`))]})]}),d.jsx("div",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:144",className:"absolute inset-0 transition-transform duration-300",style:{transform:`scale(${l})`,transformOrigin:"center"},children:h.map(g=>{const w=g.city.slug===f;return d.jsx("button",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:151",type:"button",onClick:()=>m(g.city.slug),"aria-pressed":w,"aria-label":`${g.isCurrent?"Current location":"Nearby location"}: ${g.city.name}`,className:`absolute -translate-x-1/2 -translate-y-1/2 rounded-full border-4 border-white shadow-lg transition-all duration-200 focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-[#005F63]/35 ${g.isCurrent?"h-11 w-11 bg-[#005F63] text-white hover:scale-110":"h-8 w-8 bg-[#F2B233] text-[#2C2C2C] hover:scale-125"} ${w?"ring-4 ring-[#005F63]/25":""}`,style:{left:`${g.x/xi*100}%`,top:`${g.y/ps*100}%`},children:d.jsx(pn,{"data-loc":"client/src/components/CityServiceAreaMap.tsx:164",size:g.isCurrent?18:14,className:"mx-auto","aria-hidden":"true"})},g.city.slug)})}),d.jsxs("div",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:170",className:"absolute bottom-4 left-4 right-4 rounded-2xl border border-white/70 bg-white/95 px-4 py-3 shadow-sm backdrop-blur-sm sm:right-auto sm:max-w-sm",children:[d.jsx("p",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:171",className:"text-xs font-semibold uppercase tracking-wider text-[#005F63]",children:p.isCurrent?"Your selected location":"Nearby directory location"}),d.jsxs("div",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:174",className:"mt-1 flex flex-wrap items-center gap-x-2 gap-y-1",children:[d.jsx("p",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:175",className:"font-display text-lg font-bold text-[#2C2C2C]",children:p.city.name}),!p.isCurrent&&d.jsx(ke,{"data-loc":"client/src/components/CityServiceAreaMap.tsx:177",href:`/companionship-${p.city.slug}`,className:"text-sm font-semibold text-[#005F63] hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#005F63]",children:"Explore this location"})]})]})]}),d.jsxs("div",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:188",className:"flex flex-wrap items-center gap-x-5 gap-y-2 px-6 py-4 text-xs text-[#4A4A4A]",children:[d.jsxs("span",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:189",className:"inline-flex items-center gap-2",children:[d.jsx("span",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:189",className:"h-3 w-3 rounded-full bg-[#005F63]"})," ",n.name]}),d.jsxs("span",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:190",className:"inline-flex items-center gap-2",children:[d.jsx("span",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:190",className:"h-3 w-3 rounded-full bg-[#F2B233]"})," Nearby listed locations"]}),d.jsx("span",{"data-loc":"client/src/components/CityServiceAreaMap.tsx:191",className:"text-[#6B665F]",children:"Select a marker to explore it."})]})]})}const aE="/manus-storage/hero-companionship_10b73ca2.webp",sE="/manus-storage/companionship-walk_9b69f662.jpg",iE="/manus-storage/companionship-home_e5fe74d3.png",oE=[{emoji:"🤝",title:"Friendly Visits",desc:"Regular, warm visits bringing comfort, routine, and a familiar face into everyday life."},{emoji:"🌿",title:"Walks & Outings",desc:"Gentle walks and local outings that keep everyday life active, social and engaging."},{emoji:"💛",title:"Dementia-Friendly Companionship",desc:"Patient, calm, consistent companionship for those living with dementia."},{emoji:"💬",title:"Conversation & Emotional Support",desc:"Meaningful conversations that reduce loneliness and nurture emotional wellbeing."},{emoji:"🛒",title:"Shopping Assistance",desc:"Accompanied shopping trips to maintain independence and everyday choices."},{emoji:"🏠",title:"Respite for Families",desc:"Giving family carers the rest and peace of mind they deserve."}],lE=[{icon:Xr,label:"DBS Checked Companions"},{icon:Xo,label:"Compassionate Matching"},{icon:Sf,label:"Local to Your Area"},{icon:Hx,label:"Flexible Visit Plans"},{icon:Cs,label:"Family Updates"},{icon:Cf,label:"Coverage Confirmed by Area"}],rE=[{step:"01",title:"Start a friendly conversation",desc:"Tell us about yourself or the person you're enquiring for — personality, interests, and what kind of companionship would help most. No obligation, no pressure."},{step:"02",title:"We recruit a local companion",desc:"We identify and carefully vet a warm, compassionate companion local to the area — someone who genuinely fits."},{step:"03",title:"Meaningful visits begin",desc:"Regular, consistent visits that bring joy, conversation and genuine human connection into everyday life."}];function cE({cityName:n}){const[s,o]=C.useState(!1),[l,c]=C.useState(""),[f,m]=C.useState({name:"",phone:"",email:"",message:"",visitInterest:"",preferredContact:"phone"}),h=Hr.enquiry.submitContact.useMutation({onSuccess:()=>{c(f.name),o(!0),m({name:"",phone:"",email:"",message:"",visitInterest:"",preferredContact:"phone"}),_t("enquiry_form_submit",{form_location:`city_page_${n.toLowerCase()}`})},onError:()=>Uv.error("Something went wrong. Please call us on 07881 230088.")}),p=v=>{v.preventDefault(),h.mutate({name:f.name,phone:f.phone,email:f.email||void 0,relationship:void 0,message:`[Enquiry from ${n} landing page]
261Local companionship interest: ${f.visitInterest}
262
263${f.message}`,preferredContact:f.preferredContact})};return d.jsxs(d.Fragment,{children:[d.jsx(X5,{"data-loc":"client/src/components/CityPage.tsx:118",isOpen:s,onClose:()=>o(!1),type:"enquiry",name:l,city:n}),d.jsxs("form",{"data-loc":"client/src/components/CityPage.tsx:125",onSubmit:p,className:"space-y-4",children:[d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:126",className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:127",children:[d.jsx("label",{"data-loc":"client/src/components/CityPage.tsx:128",className:"block text-sm font-semibold text-[#2C2C2C] mb-1.5",children:"Your Name *"}),d.jsx("input",{"data-loc":"client/src/components/CityPage.tsx:131",type:"text",required:!0,value:f.name,onChange:v=>m({...f,name:v.target.value}
263),className:"w-full px-4 py-3 rounded-xl border border-[#EDE8DF] bg-[#F7F3EC] text-[#2C2C2C] text-sm focus:outline-none focus:ring-2 focus:ring-[#005F63]/30 focus:border-[#005F63] transition-colors",placeholder:"Your full name"})]}),d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:140",children:[d.jsx("label",{"data-loc":"client/src/components/CityPage.tsx:141",className:"block text-sm font-semibold text-[#2C2C2C] mb-1.5",children:"Phone Number *"}),d.jsx("input",{"data-loc":"client/src/components/CityPage.tsx:144",type:"tel",required:!0,value:f.phone,onChange:v=>m({...f,phone:v.target.value}),className:"w-full px-4 py-3 rounded-xl border border-[#EDE8DF] bg-[#F7F3EC] text-[#2C2C2C] text-sm focus:outline-none focus:ring-2 focus:ring-[#005F63]/30 focus:border-[#005F63] transition-colors",placeholder:"07xxx xxxxxx"})]})]}),d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:154",children:[d.jsx("label",{"data-loc":"client/src/components/CityPage.tsx:155",className:"block text-sm font-semibold text-[#2C2C2C] mb-1.5",children:"Email Address"}),d.jsx("input",{"data-loc":"client/src/components/CityPage.tsx:158",type:"email",value:f.email,onChange:v=>m({...f,email:v.target.value}),className:"w-full px-4 py-3 rounded-xl border border-[#EDE8DF] bg-[#F7F3EC] text-[#2C2C2C] text-sm focus:outline-none focus:ring-2 focus:ring-[#005F63]/30 focus:border-[#005F63] transition-colors",placeholder:"[email protected]"})]}),d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:166",children:[d.jsx("label",{"data-loc":"client/src/components/CityPage.tsx:167",className:"block text-sm font-semibold text-[#2C2C2C] mb-1.5",htmlFor:`interest-${n}`,children:"What would be most helpful? *"}),d.jsxs("select",{"data-loc":"client/src/components/CityPage.tsx:170",id:`interest-${n}`,required:!0,value:f.visitInterest,onChange:v=>m({...f,visitInterest:v.target.value}),className:"w-full px-4 py-3 rounded-xl border border-[#EDE8DF] bg-[#F7F3EC] text-[#2C2C2C] text-sm focus:outline-none focus:ring-2 focus:ring-[#005F63]/30 focus:border-[#005F63] transition-colors",children:[d.jsx("option",{"data-loc":"client/src/components/CityPage.tsx:177",value:"",disabled:!0,children:"Select an option"}),d.jsx("option",{"data-loc":"client/src/components/CityPage.tsx:178",value:"Regular friendly visits",children:"Regular friendly visits"}),d.jsx("option",{"data-loc":"client/src/components/CityPage.tsx:179",value:"Walks and local outings",children:"Walks and local outings"}),d.jsx("option",{"data-loc":"client/src/components/CityPage.tsx:180",value:"Companionship for someone living with dementia",children:"Dementia-friendly companionship"}),d.jsx("option",{"data-loc":"client/src/components/CityPage.tsx:181",value:"Respite and reassurance for family",children:"Respite and reassurance for family"}),d.jsx("option",{"data-loc":"client/src/components/CityPage.tsx:182",value:"I would like to discuss the options",children:"I would like to discuss the options"})]})]}),d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:185",children:[d.jsx("label",{"data-loc":"client/src/components/CityPage.tsx:186",className:"block text-sm font-semibold text-[#2C2C2C] mb-1.5",children:"Tell us who the companionship is for *"}),d.jsx("textarea",{"data-loc":"client/src/components/CityPage.tsx:189",required:!0,rows:3,value:f.message,onChange:v=>m({...f,message:v.target.value}),className:"w-full px-4 py-3 rounded-xl border border-[#EDE8DF] bg-[#F7F3EC] text-[#2C2C2C] text-sm focus:outline-none focus:ring-2 focus:ring-[#005F63]/30 focus:border-[#005F63] transition-colors resize-none",placeholder:`Tell us a little about yourself or the person you're enquiring for in ${n}, and the kind of companionship you're looking for...`})]}),d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:198",children:[d.jsx("label",{"data-loc":"client/src/components/CityPage.tsx:199",className:"block text-sm font-semibold text-[#2C2C2C] mb-2",children:"Preferred contact method"}),d.jsx("div",{"data-loc":"client/src/components/CityPage.tsx:202",className:"flex gap-4",children:["phone","email","whatsapp"].map(v=>d.jsxs("label",{"data-loc":"client/src/components/CityPage.tsx:204",className:"flex items-center gap-2 cursor-pointer",children:[d.jsx("input",{"data-loc":"client/src/components/CityPage.tsx:205",type:"radio",name:`contact-${n}`,value:v,checked:f.preferredContact===v,onChange:x=>m({...f,preferredContact:x.target.value}),className:"accent-[#005F63]"}),d.jsx("span",{"data-loc":"client/src/components/CityPage.tsx:213",className:"text-sm text-[#4A4A4A] capitalize",children:v})]},v))})]}),d.jsx("button",{"data-loc":"client/src/components/CityPage.tsx:218",type:"submit",disabled:h.isPending,className:"w-full py-4 bg-[#005F63] text-white font-bold rounded-full hover:bg-[#004548] transition-all duration-200 active:scale-95 disabled:opacity-60 disabled:cursor-not-allowed flex items-center justify-center gap-2 shadow-lg shadow-[#005F63]/20",children:h.isPending?d.jsxs(d.Fragment,{children:[d.jsx(Ux,{"data-loc":"client/src/components/CityPage.tsx:225",size:18,className:"animate-spin"}),"Sending…"]}):d.jsxs(d.Fragment,{children:["Request a Companion in ",n,d.jsx(Ha,{"data-loc":"client/src/components/CityPage.tsx:231",size:18})]})}),d.jsx("p",{"data-loc":"client/src/components/CityPage.tsx:235",className:"text-xs text-[#4A4A4A] text-center",children:"We respond within 2 hours. No obligation, no pressure."})]})]})}function uE({city:n}){return C.useEffect(()=>{const s=new IntersectionObserver(o=>
263o.forEach(l=>l.isIntersecting&&l.target.classList.add("visible")),{threshold:.08,rootMargin:"0px 0px -30px 0px"});return document.querySelectorAll(".reveal").forEach(o=>s.observe(o)),()=>s.disconnect()},[]),d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:258",className:"min-h-screen bg-[#F7F3EC]",children:[d.jsx(Wx,{"data-loc":"client/src/components/CityPage.tsx:259"}),d.jsx(e0,{"data-loc":"client/src/components/CityPage.tsx:260",title:n.metaTitle,description:n.metaDescription,canonical:Fo(n.slug),schema:[Q5(n),Y5(n),G5(n)]}),d.jsx(I5,{"data-loc":"client/src/components/CityPage.tsx:270",city:n}),d.jsxs("section",{"data-loc":"client/src/components/CityPage.tsx:273",className:"relative min-h-[70vh] flex items-center overflow-hidden bg-[#F7F3EC]",children:[d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:274",className:"absolute inset-0 lg:left-[45%]",children:[d.jsx("img",{"data-loc":"client/src/components/CityPage.tsx:275",src:aE,alt:`Elderly companionship in ${n.name}`,className:"w-full h-full object-cover"}),d.jsx("div",{"data-loc":"client/src/components/CityPage.tsx:276",className:"absolute inset-0 bg-gradient-to-r from-[#F7F3EC] via-[#F7F3EC]/85 to-transparent lg:via-[#F7F3EC]/50"})]}),d.jsx("div",{"data-loc":"client/src/components/CityPage.tsx:278",className:"container relative z-10 py-20 lg:py-28",children:d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:279",className:"max-w-xl",children:[d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:280",className:"inline-flex items-center gap-2 bg-white/80 backdrop-blur-sm border border-[#EDE8DF] rounded-full px-4 py-2 mb-6 shadow-sm",children:[d.jsx(pn,{"data-loc":"client/src/components/CityPage.tsx:281",size:14,className:"text-[#005F63]"}),d.jsxs("span",{"data-loc":"client/src/components/CityPage.tsx:282",className:"text-sm font-medium text-[#005F63]",children:[n.name,", ",n.region]})]}),d.jsxs("h1",{"data-loc":"client/src/components/CityPage.tsx:284",className:"font-display text-4xl md:text-5xl lg:text-6xl font-bold text-[#2C2C2C] leading-tight mb-6",children:["Elderly Companionship Services in"," ",d.jsx("span",{"data-loc":"client/src/components/CityPage.tsx:286",className:"text-[#005F63]",children:n.name})]}),d.jsx("p",{"data-loc":"client/src/components/CityPage.tsx:288",className:"text-lg md:text-xl text-[#4A4A4A] leading-relaxed mb-8",children:n.intro}),d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:291",className:"flex flex-col sm:flex-row gap-3 mb-8",children:[d.jsxs("a",{"data-loc":"client/src/components/CityPage.tsx:292",href:"#enquire",className:"inline-flex items-center justify-center gap-2 px-7 py-4 bg-[#005F63] text-white font-semibold rounded-full hover:bg-[#004548] transition-all duration-200 active:scale-95 shadow-lg shadow-[#005F63]/20 text-base",children:["Request a Companion in ",n.name,d.jsx(Ha,{"data-loc":"client/src/components/CityPage.tsx:297",size:18})]}),d.jsxs("a",{"data-loc":"client/src/components/CityPage.tsx:299",href:"tel:+447881230088",className:"inline-flex items-center justify-center gap-2 px-7 py-4 bg-white border-2 border-[#005F63] text-[#005F63] font-semibold rounded-full hover:bg-[#F7F3EC] transition-all duration-200 text-base",children:[d.jsx(gn,{"data-loc":"client/src/components/CityPage.tsx:303",size:18}),"07881 230088"]})]}),d.jsx("div",{"data-loc":"client/src/components/CityPage.tsx:307",className:"flex flex-wrap gap-4",children:["DBS Checked","Local Companions","Friendly Conversation"].map(s=>d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:309",className:"flex items-center gap-1.5",children:[d.jsx(Cs,{"data-loc":"client/src/components/CityPage.tsx:310",size:15,className:"text-[#005F63]"}),d.jsx("span",{"data-loc":"client/src/components/CityPage.tsx:311",className:"text-sm text-[#4A4A4A] font-medium",children:s})]},s))})]})})]}),d.jsx("section",{"data-loc":"client/src/components/CityPage.tsx:320",className:"bg-[#005F63] py-10",children:d.jsx("div",{"data-loc":"client/src/components/CityPage.tsx:321",className:"container",children:d.jsx("div",{"data-loc":"client/src/components/CityPage.tsx:322",className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-6",children:lE.map(({icon:s,label:o})=>d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:324",className:"flex flex-col items-center gap-2 text-center",children:[d.jsx("div",{"data-loc":"client/src/components/CityPage.tsx:325",className:"w-10 h-10 rounded-full bg-white/15 flex items-center justify-center",children:d.jsx(s,{"data-loc":"client/src/components/CityPage.tsx:326",size:18,className:"text-[#F2B233]"})}),d.jsx("span",{"data-loc":"client/src/components/CityPage.tsx:328",className:"text-white/90 text-xs font-medium leading-tight",children:o})]},o))})})}),d.jsx("section",{"data-loc":"client/src/components/CityPage.tsx:336",className:"py-20 bg-white",children:d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:337",className:"container",children:[d.jsx(J5,{"data-loc":"client/src/components/CityPage.tsx:338",title:`Elderly Companionship Services in ${n.name}`,url:Fo(n.slug)}),d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:342",className:"grid lg:grid-cols-2 gap-16 items-center",children:[d.jsx("div",{"data-loc":"client/src/components/CityPage.tsx:343",className:"reveal stagger-1",children:d.jsx("img",{"data-loc":"client/src/components/CityPage.tsx:344",src:iE,alt:`Companionship visits in ${n.name}`,className:"rounded-2xl shadow-xl w-full object-cover aspect-[4/3]"})}),d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:350",className:"reveal stagger-2",children:[d.jsxs("span",{"data-loc":"client/src/components/CityPage.tsx:351",className:"text-[#F2B233] text-sm font-semibold uppercase tracking-widest mb-3 block",children:["Serving ",n.name]}),d.jsxs("h2",{"data-loc":"client/src/components/CityPage.tsx:354",className:"font-display text-3xl font-bold text-[#2C2C2C] mb-5 leading-tight",children:["Trusted companionship for older adults in ",n.name]}),d.jsx("p",{"data-loc":"client/src/components/CityPage.tsx:357",className:"text-[#4A4A4A] leading-relaxed mb-5",children:n.bodyParagraph}),d.jsxs("p",{"data-loc":"client/src/components/CityPage.tsx:358",className:"text-[#4A4A4A] leading-relaxed mb-6",children:["Our model helps us recruit a companion who lives in or near ",n.name," — someone local, familiar, and genuinely caring. Every companion is DBS checked, trained in emotional wellbeing, and thoughtfully matched around personality and interests."]}),d.jsx("div",{"data-loc":"client/src/components/CityPage.tsx:361",className:"bg-[#F7F3EC] rounded-2xl p-5 border-l-4 border-[#F2B233]",children:d.jsx("p",{"data-loc":"client/src/components/CityPage.tsx:362",className:"font-display text-lg italic text-[#2C2C2C]",children:`"You don't have to do this alone. We're here to help — with warmth, care, and genuine human connection."`})})]})]})]})}),d.jsx("section",{"data-loc":"client/src/components/CityPage.tsx:372",className:"py-20 bg-white",children:d.jsx("div",{"data-loc":"client/src/components/CityPage.tsx:373",className:"container",children:d.jsx(nE,{"data-loc":"client/src/components/CityPage.tsx:374",city:n})})}),d.jsx("section",{"data-loc":"client/src/components/CityPage.tsx:379",className:"py-20 bg-[#F7F3EC]",children:d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:380",className:"container",children:[d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:381",className:"text-center max-w-2xl mx-auto mb-12 reveal",children:[d.jsxs("span",{"data-loc":"client/src/components/CityPage.tsx:382",className:"text-[#F2B233] text-sm font-semibold uppercase tracking-widest mb-3 block",children:["Our Services in ",n.name]}),d.jsx("h2",{"data-loc":"client/src/components/CityPage.tsx:383",className:"font-display text-3xl font-bold text-[#2C2C2C] mb-4",children:"Companionship shaped around the individual"})]}),d.jsx("div",{"data-loc":"client/src/components/CityPage.tsx:387",className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-5",children:oE.map((s,o)=>d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:389",className:`reveal stagger-${o%3+1}
263 bg-white rounded-2xl p-6 border border-[#EDE8DF] hover-lift`,children:[d.jsx("div",{"data-loc":"client/src/components/CityPage.tsx:390",className:"text-3xl mb-3",children:s.emoji}),d.jsx("h3",{"data-loc":"client/src/components/CityPage.tsx:391",className:"font-display font-semibold text-[#2C2C2C] text-lg mb-2",children:s.title}),d.jsx("p",{"data-loc":"client/src/components/CityPage.tsx:392",className:"text-[#4A4A4A] text-sm leading-relaxed",children:s.desc})]},s.title))})]})}),d.jsxs("section",{"data-loc":"client/src/components/CityPage.tsx:400",className:"py-20 bg-[#005F63] relative overflow-hidden",children:[d.jsx("div",{"data-loc":"client/src/components/CityPage.tsx:401",className:"absolute inset-0 opacity-5",children:d.jsx("div",{"data-loc":"client/src/components/CityPage.tsx:402",className:"absolute top-0 right-0 w-96 h-96 rounded-full bg-[#F2B233] blur-3xl"})}),d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:404",className:"container relative z-10",children:[d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:405",className:"text-center max-w-2xl mx-auto mb-12 reveal",children:[d.jsx("span",{"data-loc":"client/src/components/CityPage.tsx:406",className:"text-[#F2B233] text-sm font-semibold uppercase tracking-widest mb-3 block",children:"Simple Process"}),d.jsxs("h2",{"data-loc":"client/src/components/CityPage.tsx:407",className:"font-display text-3xl font-bold text-white mb-4",children:["How we find a companion in ",n.name]}),d.jsxs("p",{"data-loc":"client/src/components/CityPage.tsx:410",className:"text-white/75",children:["Our location-based recruitment model helps us source a trusted local companion near the person who would like visits in ",n.name,"."]})]}),d.jsx("div",{"data-loc":"client/src/components/CityPage.tsx:414",className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:rE.map((s,o)=>d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:416",className:`reveal stagger-${o+1} text-center`,children:[d.jsx("div",{"data-loc":"client/src/components/CityPage.tsx:417",className:"w-20 h-20 rounded-full bg-[#F2B233] flex items-center justify-center mx-auto mb-5 shadow-lg",children:d.jsx("span",{"data-loc":"client/src/components/CityPage.tsx:418",className:"font-display text-xl font-bold text-white",children:s.step})}),d.jsx("h3",{"data-loc":"client/src/components/CityPage.tsx:420",className:"font-display text-lg font-semibold text-white mb-2",children:s.title}),d.jsx("p",{"data-loc":"client/src/components/CityPage.tsx:421",className:"text-white/75 text-sm leading-relaxed",children:s.desc})]},s.step))})]})]}),d.jsx("section",{"data-loc":"client/src/components/CityPage.tsx:429",id:"enquire",className:"py-20 bg-white",children:d.jsx("div",{"data-loc":"client/src/components/CityPage.tsx:430",className:"container",children:d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:431",className:"grid lg:grid-cols-2 gap-12 items-start",children:[d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:433",className:"reveal stagger-1",children:[d.jsxs("span",{"data-loc":"client/src/components/CityPage.tsx:434",className:"text-[#F2B233] text-sm font-semibold uppercase tracking-widest mb-3 block",children:["Get Started in ",n.name]}),d.jsxs("h2",{"data-loc":"client/src/components/CityPage.tsx:437",className:"font-display text-3xl md:text-4xl font-bold text-[#2C2C2C] mb-5 leading-tight",children:["Request companionship for yourself or someone you love in ",n.name]}),d.jsxs("p",{"data-loc":"client/src/components/CityPage.tsx:440",className:"text-[#4A4A4A] leading-relaxed mb-6",children:["Fill in the short form and we'll be in touch within 2 hours to discuss companionship for you or someone you love in ",n.name,". No obligation, no pressure — just a warm, friendly conversation."]}),d.jsx("div",{"data-loc":"client/src/components/CityPage.tsx:443",className:"space-y-4 mb-8",children:[{icon:Cs,text:"We respond within 2 hours"},{icon:Xr,text:"All companions are DBS checked"},{icon:Xo,text:"Carefully matched around personality and interests"},{icon:pn,text:"Local companion recruited in or near "+n.name},{icon:Cf,text:"Free, friendly conversation — no commitment required"}].map(({icon:s,text:o})=>d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:451",className:"flex items-start gap-3",children:[d.jsx("div",{"data-loc":"client/src/components/CityPage.tsx:452",className:"w-8 h-8 rounded-lg bg-[#005F63]/10 flex items-center justify-center shrink-0 mt-0.5",children:d.jsx(s,{"data-loc":"client/src/components/CityPage.tsx:453",size:15,className:"text-[#005F63]"})}),d.jsx("span",{"data-loc":"client/src/components/CityPage.tsx:455",className:"text-[#4A4A4A] text-sm leading-relaxed",children:o})]},o))}),d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:459",className:"flex flex-col sm:flex-row gap-3",children:[d.jsxs("a",{"data-loc":"client/src/components/CityPage.tsx:461",href:"tel:+447881230088",className:"inline-flex items-center justify-center gap-2 px-6 py-3 bg-[#005F63] text-white font-bold rounded-full hover:bg-[#004548] transition-all duration-200 text-sm shadow-md",children:[d.jsx(gn,{"data-loc":"client/src/components/CityPage.tsx:465",size:15}),"Call Now — 07881 230088"]}),d.jsxs("a",{"data-loc":"client/src/components/CityPage.tsx:469",href:"https://wa.me/447881230088",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center gap-2 px-6 py-3 bg-transparent border-2 border-[#005F63] text-[#005F63] font-semibold rounded-full hover:bg-[#005F63]/5 transition-all duration-200 text-sm",children:[d.jsx(Qa,{"data-loc":"client/src/components/CityPage.tsx:475",size:15}),"WhatsApp Us"]})]})]}),d.jsx("div",{"data-loc":"client/src/components/CityPage.tsx:482",className:"reveal stagger-2",children:d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:483",className:"bg-[#F7F3EC] rounded-2xl p-8 border border-[#
263EDE8DF] shadow-sm",children:[d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:484",className:"flex items-center gap-3 mb-6",children:[d.jsx("div",{"data-loc":"client/src/components/CityPage.tsx:485",className:"w-10 h-10 rounded-full bg-[#005F63] flex items-center justify-center shrink-0",children:d.jsx(pn,{"data-loc":"client/src/components/CityPage.tsx:486",size:18,className:"text-white"})}),d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:488",children:[d.jsxs("p",{"data-loc":"client/src/components/CityPage.tsx:489",className:"font-display font-semibold text-[#2C2C2C]",children:["Enquiry for ",n.name]}),d.jsx("p",{"data-loc":"client/src/components/CityPage.tsx:492",className:"text-[#4A4A4A] text-xs",children:"We'll discuss local companionship for you or someone you love"})]})]}),d.jsx(cE,{"data-loc":"client/src/components/CityPage.tsx:495",cityName:n.name})]})})]})})}),d.jsx("section",{"data-loc":"client/src/components/CityPage.tsx:503",className:"py-16 bg-[#F7F3EC]",children:d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:504",className:"container",children:[d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:505",className:"text-center mb-8 reveal",children:[d.jsxs("h2",{"data-loc":"client/src/components/CityPage.tsx:506",className:"font-display text-2xl font-bold text-[#2C2C2C] mb-2",children:["Exploring companionship near ",n.name,"?"]}),d.jsxs("p",{"data-loc":"client/src/components/CityPage.tsx:509",className:"text-[#4A4A4A] text-sm",children:["We consider enquiries from ",n.name," and nearby areas, subject to confirmed local availability."]})]}),d.jsx("div",{"data-loc":"client/src/components/CityPage.tsx:513",className:"flex flex-wrap gap-2 justify-center reveal",children:n.nearbyAreas.map(s=>d.jsxs("span",{"data-loc":"client/src/components/CityPage.tsx:515",className:"inline-flex items-center gap-1.5 bg-white border border-[#EDE8DF] text-[#4A4A4A] text-sm px-4 py-2 rounded-full",children:[d.jsx(pn,{"data-loc":"client/src/components/CityPage.tsx:516",size:12,className:"text-[#005F63]"}),s]},s))}),d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:521",className:"mt-8 max-w-3xl mx-auto text-center reveal",children:[d.jsx("p",{"data-loc":"client/src/components/CityPage.tsx:522",className:"text-[#4A4A4A] text-sm mb-4",children:"Find out more about how Smile Companion works, or browse every location page before getting in touch."}),d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:525",className:"flex flex-wrap justify-center gap-3",children:[d.jsxs(ke,{"data-loc":"client/src/components/CityPage.tsx:526",href:"/services",className:"inline-flex items-center gap-2 rounded-full border border-[#005F63] bg-white px-4 py-2 text-sm font-semibold text-[#005F63] transition-all duration-200 hover:bg-[#005F63] hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#005F63]",children:["Our companionship services",d.jsx(Ha,{"data-loc":"client/src/components/CityPage.tsx:531",size:14})]}),d.jsxs(ke,{"data-loc":"client/src/components/CityPage.tsx:533",href:"/areas",className:"inline-flex items-center gap-2 rounded-full border border-[#EDE8DF] bg-white px-4 py-2 text-sm font-semibold text-[#005F63] transition-all duration-200 hover:border-[#005F63] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#005F63]",children:["All areas we cover",d.jsx(pn,{"data-loc":"client/src/components/CityPage.tsx:538",size:14})]})]}),d.jsx(tE,{"data-loc":"client/src/components/CityPage.tsx:541",city:n})]})]})}),d.jsxs("section",{"data-loc":"client/src/components/CityPage.tsx:547",className:"relative py-20 overflow-hidden",children:[d.jsx("img",{"data-loc":"client/src/components/CityPage.tsx:548",src:sE,alt:"",className:"absolute inset-0 w-full h-full object-cover"}),d.jsx("div",{"data-loc":"client/src/components/CityPage.tsx:549",className:"absolute inset-0 bg-[#005F63]/80"}),d.jsx("div",{"data-loc":"client/src/components/CityPage.tsx:550",className:"container relative z-10 text-center",children:d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:551",className:"max-w-2xl mx-auto reveal",children:[d.jsxs("h2",{"data-loc":"client/src/components/CityPage.tsx:552",className:"font-display text-3xl md:text-4xl font-bold text-white mb-5 leading-tight",children:["Ready to bring more ",d.jsx("span",{"data-loc":"client/src/components/CityPage.tsx:553",className:"text-[#F2B233] italic",children:"smiles"})," into everyday life in ",n.name,"?"]}),d.jsx("p",{"data-loc":"client/src/components/CityPage.tsx:555",className:"text-white/85 text-lg mb-8",children:"Start a free, friendly conversation. We'll explain how local matching works and answer any questions you have about companionship for yourself or someone you love."}),d.jsxs("div",{"data-loc":"client/src/components/CityPage.tsx:558",className:"flex flex-col sm:flex-row gap-4 justify-center",children:[d.jsxs("a",{"data-loc":"client/src/components/CityPage.tsx:560",href:"tel:+447881230088",className:"inline-flex items-center justify-center gap-2 px-8 py-4 bg-white text-[#005F63] font-bold rounded-full hover:bg-[#F7F3EC] transition-all duration-200 shadow-lg",children:[d.jsx(gn,{"data-loc":"client/src/components/CityPage.tsx:564",size:18}),"Call Now"]}),d.jsxs("a",{"data-loc":"client/src/components/CityPage.tsx:568",href:"#enquire",className:"inline-flex items-center justify-center gap-2 px-8 py-4 bg-transparent border-2 border-white/70 text-white font-semibold rounded-full hover:border-white hover:bg-white/10 transition-all duration-200",children:["Enquire Online",d.jsx(Ha,{"data-loc":"client/src/components/CityPage.tsx:573",size:18})]}),d.jsxs("a",{"data-loc":"client/src/components/CityPage.tsx:576",href:"https://wa.me/447881230088",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center gap-2 px-8 py-4 bg-transparent border-2 border-white/70 text-white font-semibold rounded-full hover:border-white hover:bg-white/10 transition-all duration-200",children:[d.jsx(Qa,{"data-loc":"client/src/components/CityPage.tsx:582",size:18}),"WhatsApp Us"]})]})]})})]}),d.jsx(Jx,{"data-loc":"client/src/components/CityPage.tsx:590"})]})}const Dy="/manus-storage/hero-companionship_10b73ca2.webp",dE="/manus-storage/companionship-walk_9b69f662.jpg",ky="/manus-storage/companionship-home_e5fe74d3.png",fE="/manus-storage/companionship-tea_77f02be7.jpg",mE=[{name:"Sheffield",slug:"sheffield"},{name:"Manchester",slug:"manchester"},{name:"Leeds",slug:"leeds"},{name:"London",slug:"london"},{name:"Cardiff",slug:"cardiff"}],hE=[{icon:"🤝",title:"Friendly Visits",desc:"The same face, the same warmth, week after week — the kind of visit that gets circled on the calendar.",bullets:["A cup of tea and a proper catch-up","Games that bring out the competitive streak","Music that pulls up an old memory, unprompted","Just sitting together — sometimes that's the whole visit"]},{icon:"🌿",title:"Walks & Outings",desc:"Fresh air does more for a mood than most of us give it credit for.",bullets:["A slow walk round the block, no rush","An afternoon in the park, weather allowing","A proper outing when there's somewhere worth going","Marking the seasons — the first blossom, the first frost"]},{icon:"💛",title:"Dementia-Friendly Companionship",desc:"Patience first. Familiarity always. No pressure to remember — just permission to enjoy the moment.",bullets:["A companion who never rushes, never corrects","Old songs that bring a smile before the first verse is even out","Objects and photos that open a door back","A routine that feels the same, visit to visit"]},{icon:"🛒",title:"Shopping Assistance",desc:"Choosing your own biscuits is a small thing — until you can't.",bullets:["A trip to the supermarket, done at their pace","Popping into the local shops that still know their name","A hand with the decisions, not a takeover of them","Carrying the bags so pride doesn't have to"]},{icon:"💬",title:"Conversation & Emotional Support",desc:"Sometimes the kindest thing anyone can do is just listen properly.",bullets:["Conversations that go somewhere, not just small talk","A real check-in on how they're actually doing","Something to think about between visits","Being heard, properly, by someone who isn't rushing off"]},{icon:"🏠",title:"Respite for Families",desc:"Reliable companionship for the person you care about, and breathing room for family members too.",bullets:["Regular visits you can actually rely on",'A proper update after every one — not just "all fine"',"Scheduling that bends when life does","Cover arranged, even when things change last minute"]}
263,{icon:"🏥",title:"Appointment Accompaniment",desc:"Nobody should have to sit in a waiting room feeling small and alone.",bullets:["A friendly face for GP and hospital visits","Support at the dentist, without the dread","Someone alongside for community appointments too","Help making sure what's said actually lands"]},{icon:"✨",title:"Wellbeing Check-ins",desc:"A warm, familiar visit for you or someone you love — with honest updates when family members are involved.",bullets:["A proper read on mood, not just a box-ticking visit","Updates that tell you what's really going on","Concerns flagged early, before they become emergencies","The same consistent eye on things, every time"]}],pE=[{icon:Xr,label:"DBS Checked Companions"},{icon:Xo,label:"Compassionate Matching"},{icon:Hx,label:"Flexible Visit Plans"},{icon:Sf,label:"Peace of Mind"},{icon:Cs,label:"Reliable Communication"},{icon:Cf,label:"Personalised Support"}],gE=[{title:"Built transparently",description:"We are an early-stage service growing carefully, with safeguarding and service quality taking priority over inflated scale claims."},{title:"Screened before visits",description:"Companions progress through application review, references, DBS verification and training before approval for visits."},{title:"Matched with care",description:"Interests, personality, availability and practical travel distance are considered, with the Smile Companion team reviewing proposed matches."}],yE=[{name:"Essential Companion",outcome:"Regular check-ins, one reliable smile a week",price:"£120",period:"/ week",detail
263:"2 visits · 4 hours total",highlight:!1},{name:"Daily Companion",outcome:"Consistent visits, real routine, real connection",price:"£240",period:"/ week",detail:"2–4 days · 8 hours total",highlight:!0},{name:"Full Companion",outcome:"Deeper support, more moments, more smiles",price:"£360",period:"/ week",detail:"Flexible visits · 12 hours total",highlight:!1},{name:"Premium Companion",outcome:"Full companionship, outings included, every week",price:"£480",period:"/ week",detail:"16 hours total · outings included",highlight:!1}];function vE(){C.useEffect(()=>{const s=new IntersectionObserver(o=>{o.forEach(l=>{l.isIntersecting&&l.target.classList.add("visible")})},{threshold:.08,rootMargin:"0px 0px -30px 0px"});return document.querySelectorAll(".reveal").forEach(o=>s.observe(o)),()=>s.disconnect()},[]);const n=[{title:"Signs an Elderly Parent May Be Lonely",excerpt:"Loneliness in older adults often goes unnoticed. Here are the key signs to watch for and how to help.",tag:"Wellbeing",img:fE,href:"/blog/signs-elderly-parent-lonely"},{title:"Benefits of Companionship for Seniors",excerpt:"Research consistently shows that regular social connection improves mood, cognitive function, and physical health.",tag:"Research",img:Dy,href:"/blog/benefits-of-companionship-for-seniors"},{title:"How to Support Aging Parents Emotionally",excerpt:"Practical, compassionate advice for adult children navigating the emotional complexities of supporting aging parents.",tag:"Family",img:ky,href:"/blog/support-aging-parents-emotionally"}];return d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:230",className:"min-h-screen bg-[#F7F3EC]",children:[d.jsx(e0,{"data-loc":"client/src/pages/Home.tsx:231",title:"Smile Companion | We Collect Smiles",description:"We collect smiles. Warm, regular companionship visits that bring conversation, comfort and connection into everyday life — whether you are arranging support for yourself or someone you love.",canonical:"/",schema:[P5,F5([{name:"Home",url:"/"}])]}),d.jsx(Wx,{"data-loc":"client/src/pages/Home.tsx:237"}),d.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:240",className:"relative min-h-[80vh] md:min-h-[90vh] flex items-center overflow-hidden bg-[#F7F3EC]",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:242",className:"absolute inset-0 lg:left-[45%]",children:[d.jsx("img",{"data-loc":"client/src/pages/Home.tsx:243",src:Dy,alt:"Elderly woman laughing with companion over tea",className:"w-full h-full object-cover",loading:"eager",fetchPriority:"high",decoding:"async"}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:251",className:"absolute inset-0 bg-gradient-to-r from-[#F7F3EC] via-[#F7F3EC]/80 to-transparent lg:via-[#F7F3EC]/40"})]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:254",className:"container relative z-10 py-20 lg:py-32",children:d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:255",className:"max-w-xl",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:257",className:"inline-flex items-center gap-2 bg-white/80 backdrop-blur-sm border border-[#EDE8DF] rounded-full px-4 py-2 mb-6 shadow-sm",children:[d.jsx(pn,{"data-loc":"client/src/pages/Home.tsx:258",size:14,className:"text-[#005F63]"}),d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:259",className:"text-sm font-medium text-[#005F63]",children:"Now welcoming families and individuals across Yorkshire — expanding across the UK"})]}),d.jsx("h1",{"data-loc":"client/src/pages/Home.tsx:264",className:"font-display text-4xl md:text-5xl lg:text-6xl font-bold text-[#2C2C2C] leading-tight mb-6",children:d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:265",className:"gold-underline",children:"We collect smiles."})}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:268",className:"text-lg md:text-xl text-[#4A4A4A] leading-relaxed mb-8 font-body",children:"Warm, regular companionship visits that bring conversation, comfort, and connection back into everyday life — whether you're arranging this for a parent you love, or looking for company yourself."}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:272",className:"flex flex-col sm:flex-row gap-3 mb-10",children:[d.jsxs(ke,{"data-loc":"client/src/pages/Home.tsx:274",href:"/contact",onClick:()=>_t("cta_click",{label:"friendly_conversation",location:"hero"}),className:"inline-flex items-center justify-center gap-2 px-7 py-4 bg-[#005F63] text-white font-semibold rounded-full hover:bg-[#004548] transition-all duration-200 active:scale-95 shadow-lg shadow-[#005F63]/20 text-base",children:["Message us for a friendly conversation",d.jsx(Ha,{"data-loc":"client/src/pages/Home.tsx:280",size:18})]}),d.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:283",href:"tel:+447881230088",onClick:()=>_t("phone_click",{location:"hero"}),className:"inline-flex items-center justify-center gap-2 px-7 py-4 bg-transparent border-2 border-[#005F63] text-[#005F63] font-semibold rounded-full hover:bg-[#005F63]/8 transition-all duration-200 active:scale-95 text-base",children:[d.jsx(gn,{"data-loc":"client/src/pages/Home.tsx:288",size:18}),"Call Now"]})]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:294",className:"flex flex-wrap gap-4",children:["DBS Screening","Interest-Based Matching","Friendly Conversation"].map(s=>d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:297",className:"flex items-center gap-1.5",children:[d.jsx(Cs,{"data-loc":"client/src/pages/Home.tsx:298",size:15,className:"text-[#005F63]"}),d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:299",className:"text-sm text-[#4A4A4A] font-medium",children:s})]},s))})]})})]}),d.jsx("section",{"data-loc":"client/src/pages/Home.tsx:309",className:"py-10 bg-white border-y border-[#
263EDE8DF]",children:d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:310",className:"container",children:d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:311",className:"max-w-5xl mx-auto text-center",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:312",className:"text-[#F2B233] text-sm font-semibold uppercase tracking-widest mb-3 block",children:"Who is this for?"}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:315",className:"grid md:grid-cols-2 gap-4",children:[d.jsxs(ke,{"data-loc":"client/src/pages/Home.tsx:316",href:"/contact",className:"group rounded-2xl border border-[#EDE8DF] bg-[#F7F3EC] px-6 py-5 text-left hover:border-[#005F63]/40 hover:shadow-md transition-all duration-200",children:[d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:320",className:"font-display text-xl font-bold text-[#2C2C2C] mb-2",children:"💛 Looking for companionship for yourself?"}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:323",className:"text-[#4A4A4A]",children:"We'd love to meet you."})]}),d.jsxs(ke,{"data-loc":"client/src/pages/Home.tsx:325",href:"/contact",className:"group rounded-2xl border border-[#EDE8DF] bg-[#F7F3EC] px-6 py-5 text-left hover:border-[#005F63]/40 hover:shadow-md transition-all duration-200",children:[d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:329",className:"font-display text-xl font-bold text-[#2C2C2C] mb-2",children:"💛 Looking for companionship for a parent or someone you love?"}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:332",className:"text-[#4A4A4A]",children:"We'll take great care of them."})]})]})]})})}),d.jsx("section",{"data-loc":"client/src/pages/Home.tsx:340",className:"bg-[#005F63] py-10",children:d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:341",className:"container",children:d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:342",className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-6",children:pE.map(({icon:s,label:o})=>d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:344",className:"flex flex-col items-center gap-2 text-center",children:[d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:348",className:"w-10 h-10 rounded-full bg-white/15 flex items-center justify-center",children:d.jsx(s,{"data-loc":"client/src/pages/Home.tsx:349",size:18,className:"text-[#F2B233]"})}),d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:351",className:"text-white/90 text-xs font-medium leading-tight",children:o})]},o))})})}),d.jsx("section",{"data-loc":"client/src/pages/Home.tsx:361",className:"py-20 bg-white overflow-hidden",children:d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:362",className:"container",children:d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:363",className:"grid lg:grid-cols-2 gap-12 lg:gap-20 items-center",children:[d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:364",className:"relative reveal stagger-1",children:d.jsx("img",{"data-loc":"client/src/pages/Home.tsx:365",src:ky,alt:"Companions enjoying a board game together",className:"rounded-2xl shadow-2xl w-full object-cover aspect-[4/3]",loading:"lazy",decoding:"async"})}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:375",className:"reveal stagger-2",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:376",className:"text-[#F2B233] text-sm font-semibold uppercase tracking-widest mb-3 block",children:"Our Story"}),d.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:379",className:"font-display text-3xl md:text-4xl font-bold text-[#2C2C2C] mb-6 leading-tight",children:"Loneliness is one of the greatest challenges facing older adults today"}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:382",className:"text-[#4A4A4A] leading-relaxed mb-5",children:"It started with something small — weekly community sessions. Conversation, games, music, the odd terrible joke. Nothing complicated."}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:385",className:"text-[#4A4A4A] leading-relaxed mb-5",children:"But we noticed something. The people who got the most out of those afternoons were often the ones finding it hardest to keep coming — less mobile, less able to get out, more likely to spend the rest of the week alone."}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:388",className:"text-[#4A4A4A] leading-relaxed mb-5",children:"The need didn't go away. It just needed to come to them."}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:391",className:"text-[#4A4A4A] leading-relaxed mb-5",children:"So we built Smile Companion around one job: bring that same moment — the laugh, the familiar face, the reason to sit up a bit straighter — directly into someone's home, on a schedule they can rely on."}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:394",className:"text-[#4A4A4A] leading-relaxed mb-8 font-medium",children:"Because at the end of the day, that's the whole business. We collect smiles."}),d.jsxs(ke,{"data-loc":"client/src/pages/Home.tsx:397",href:"/about",className:"inline-flex items-center gap-2 text-[#005F63] font-semibold hover:gap-3 transition-all duration-200",children:["Read our full story",d.jsx(za,{"data-loc":"client/src/pages/Home.tsx:402",size:18})]})]})]})})}),d.jsx("section",{"data-loc":"client/src/pages/Home.tsx:410",className:"py-20 bg-[#F7F3EC] cv-auto",children:d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:411",className:"container",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:412",className:"text-center max-w-2xl mx-auto mb-14 reveal",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:413",className:"text-[#F2B233] text-sm font-semibold uppercase tracking-widest mb-3 block",children:"What We Offer"}),d.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:416",className:"font-display text-3xl md:text-4xl font-bold text-[#2C2C2C] mb-4",children:"Eight ways in. One outcome. However we show up — over tea, on a walk, at an appointment — the job's the same: leave them a little lighter than we found them."})]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:421",className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-
2635",children:hE.map((s,o)=>d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:423",className:`reveal stagger-${o%4+1} bg-white rounded-2xl p-6 hover-lift border border-[#EDE8DF] group flex flex-col`,children:[d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:427",className:"text-3xl mb-4",children:s.icon}),d.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:428",className:"font-display font-semibold text-[#2C2C2C] text-lg mb-2",style:{color:"#2C2C2C"},children:s.title}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:431",className:"text-[#4A4A4A] text-sm leading-relaxed mb-4 italic",children:s.desc}),d.jsx("ul",{"data-loc":"client/src/pages/Home.tsx:432",className:"mt-auto space-y-1.5",children:s.bullets.map(l=>d.jsxs("li",{"data-loc":"client/src/pages/Home.tsx:434",className:"flex items-start gap-2 text-[#4A4A4A] text-sm leading-snug",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:435",className:"mt-0.5 text-[#F2B233] shrink-0",children:"—"}),d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:436",children:l})]},l))})]},s.title))}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:444",className:"text-center mt-10",children:d.jsxs(ke,{"data-loc":"client/src/pages/Home.tsx:445",href:"/services",className:"inline-flex items-center gap-2 px-7 py-3.5 border-2 border-[#005F63] text-[#005F63] font-semibold rounded-full hover:bg-[#005F63] hover:text-white transition-all duration-200",children:["View All Services",d.jsx(Ha,{"data-loc":"client/src/pages/Home.tsx:450",size:16})]})}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:455",className:"mt-10 max-w-2xl mx-auto bg-white border border-[#EDE8DF] rounded-2xl px-7 py-5 text-center reveal",children:d.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:456",className:"text-[#4A4A4A] text-sm leading-relaxed",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:457",className:"font-semibold text-[#2C2C2C]",children:"A little different from home care."})," Smile Companion is a companionship service, not a personal care agency — we don't provide washing, lifting, or medical support. What we do is simple: we show up, we listen, and we make sure every visit ends with a smile. If you're looking for practical personal care alongside companionship, we're happy to point you toward a service that can help."]})})]})}),d.jsx("section",{"data-loc":"client/src/pages/Home.tsx:466",className:"py-20 bg-white cv-auto",children:d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:467",className:"container",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:468",className:"text-center max-w-2xl mx-auto mb-14 reveal",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:469",className:"text-[#F2B233] text-sm font-semibold uppercase tracking-widest mb-3 block",children:"Built Transparently"}),d.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:472",className:"font-display text-3xl md:text-4xl font-bold text-[#2C2C2C] mb-4",children:"A young service with clear standards"}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:475",className:"text-[#4A4A4A] leading-relaxed",children:"Smile Companion is focused on building the right foundations rather than making claims that outpace our operating history."})]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:480",className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:gE.map((s,o)=>d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:482",className:`reveal stagger-${o+1} bg-[#F7F3EC] rounded-2xl p-7 border border-[#EDE8DF] hover-lift`,children:[d.jsx(Cs,{"data-loc":"client/src/pages/Home.tsx:486",size:24,className:"text-[#005F63] mb-4"}),d.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:487",className:"font-display text-[#2C2C2C] text-xl font-bold mb-3",children:s.title}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:490",className:"text-[#4A4A4A] text-sm leading-relaxed",children:s.description})]},s.title))}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:497",className:"text-center mt-10",children:d.jsxs(ke,{"data-loc":"client/src/pages/Home.tsx:498",href:"/testimonials",className:"inline-flex items-center gap-2 text-[#005F63] font-semibold hover:gap-3 transition-all duration-200",children:["See our service commitments",d.jsx(za,{"data-loc":"client/src/pages/Home.tsx:503",size:18})]})})]})}),d.jsx("section",{"data-loc":"client/src/pages/Home.tsx:510",className:"py-20 bg-[#F7F3EC] cv-auto",children:d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:511",className:"container",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:512",className:"text-center max-w-2xl mx-auto mb-14 reveal",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:513",className:"text-[#F2B233] text-sm font-semibold uppercase tracking-widest mb-3 block",children:"Transparent Pricing"}),d.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:516",className:"font-display text-3xl md:text-4xl font-bold text-[#2C2C2C] mb-4",children:"Simple, flexible plans"}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:519",className:"text-[#4A4A4A] leading-relaxed",children:"No hidden fees. No long-term contracts. Just warm, consistent companionship."})]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:524",className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-
2635",children:yE.map((s,o)=>d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:526",className:`reveal stagger-${o+1} rounded-2xl p-7 border-2 hover-lift ${s.highlight?"bg-[#005F63] border-[#005F63] text-white shadow-xl shadow-[#005F63]/20":"bg-white border-[#EDE8DF]"}`,children:[s.highlight&&d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:535",className:"inline-block bg-[#F2B233] text-[#2C2C2C] text-xs font-bold px-3 py-1 rounded-full mb-4",children:"Most Popular"}),d.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:539",className:`font-display font-semibold text-lg mb-1 ${s.highlight?"text-white":"text-[#2C2C2C]"}`,children:s.name}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:546",className:`text-sm leading-snug mb-4 ${s.highlight?"text-white/80":"text-[#4A4A4A]"}`,children:s.outcome}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:551",className:"flex items-baseline gap-1 mb-1",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:552",className:`font-display text-4xl font-bold ${s.highlight?"text-[#F2B233]":"text-[#005F63]"}`,children:s.price}),d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:559",className:`text-sm ${s.highlight?"text-white/75":"text-[#4A4A4A]"}`,children:s.period})]}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:567",className:`text-xs mb-5 ${s.highlight?"text-white/55":"text-[#9A9A9A]"}`,children:s.detail}),d.jsx(ke,{"data-loc":"client/src/pages/Home.tsx:572",href:"/contact",className:`block text-center py-2.5 rounded-full text-sm font-semibold transition-all duration-200 ${s.highlight?"bg-[#F2B233] text-[#2C2C2C] hover:bg-[#d4961f]":"border-2 border-[#005F63] text-[#005F63] hover:bg-[#005F63] hover:text-white"}`,children:"Get Started"})]},s.name))})]})}),d.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:589",className:"relative py-24 overflow-hidden",children:[d.jsx("img",{"data-loc":"client/src/pages/Home.tsx:590",src:dE,alt:"Elderly man walking with companion in park",className:"absolute inset-0 w-full h-full object-cover",loading:"lazy",decoding:"async"}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:597",className:"absolute inset-0 bg-[#005F63]/75"}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:598",className:"container relative z-10 text-center",children:d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:599",className:"max-w-2xl mx-auto reveal",children:[d.jsxs("h2",{"data-loc":"client/src/pages/Home.tsx:600",className:"font-display text-3xl md:text-5xl font-bold text-white mb-6 leading-tight",children:["Let's Bring More"," ",d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:602",className:"text-[#F2B233] italic",children:"Smiles"})," Into Everyday Life"]}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:605",className:"text-white/85 text-lg leading-relaxed mb-10",children:"You don't have to do this alone. Whether you're looking for companionship for yourself or a loved one, we're here to help — with warmth, care, and genuine human connection."}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:610",className:"flex flex-col sm:flex-row gap-4 justify-center",children:[d.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:612",href:"tel:+447881230088",className:"inline-flex items-center justify-center gap-2 px-8 py-4 bg-white text-[#005F63] font-bold rounded-full hover:bg-[#F7F3EC] transition-all duration-200 text-base shadow-lg",children:[d.jsx(gn,{"data-loc":"client/src/pages/Home.tsx:616",size:18}),"Call Now"]}),d.jsxs(ke,{"data-loc":"client/src/pages/Home.tsx:620",href:"/contact",className:"inline-flex items-center justify-center gap-2 px-8 py-4 bg-transparent border-2 border-white/70 text-white font-semibold rounded-full hover:border-white hover:bg-white/10 transition-all duration-200 text-base",children:["Message us",d.jsx(Ha,{"data-loc":"client/src/pages/Home.tsx:625",size:18})]}),d.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:628",href:"https://wa.me/447881230088",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center gap-2 px-8 py-4 bg-transparent border-2 border-white/70 text-white font-semibold rounded-full hover:border-white hover:bg-white/10 transition-all duration-200 text-base",children:[d.jsx(Qa,{"data-loc":"client/src/pages/Home.tsx:634",size:18}),"WhatsApp Us"]})]})]})})]}),d.jsx("section",{"data-loc":"client/src/pages/Home.tsx:643",id:"how-it-works",className:"py-20 bg-[#F7F3EC]",children:d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:644",className:"container",children:d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:645",className:"grid lg:grid-cols-2 gap-16 items-center",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:646",className:"reveal stagger-1",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:647",className:"text-[#F2B233] text-sm font-semibold uppercase tracking-widest mb-3 block",children:"Our Growing Model"}),d.jsxs("h2",{"data-loc":"client/src/pages/Home.tsx:650",className:"font-display text-3xl md:text-4xl font-bold text-[#2C2C2C] mb-6 leading-tight",children:["We assess whether a suitable companion can be recruited ",d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:651",className:"text-[#005F63]",children:"near you or someone you love"})]}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:653",className:"text-[#4A4A4A] leading-relaxed mb-5",children:"Smile Companion is building coverage carefully. When you enquire, we assess current availability and whether suitable local recruitment is practical before confirming that we can proceed."}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:656",className:"text-[#4A4A4A] leading-relaxed mb-8",children:"Every companion must complete screening, references, DBS verification and training before approval. Interests, location, personality and availability then support the proposed match."}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:659",className:"grid grid-cols-1 sm:grid-cols-2 gap-4 mb-8",children:[{step:"01",title:"Tell us about them",desc:"Where they live, what they're like, what would actually make their week better."},{step:"02",title:"We find someone local",desc:"A real companion from their own area — not someone driving in from three towns over."},{step:"03",title:"We match, properly",desc:"DBS checked, trained, and paired for personality — not just the next name on a list."},{step:"04",title:"The visits begin",desc:"Warm, consistent, and built around one thing: leaving them smiling."}].map((s,o)=>d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:666",className:`reveal stagger-${o+1}
263 bg-white rounded-2xl p-5 border border-[#EDE8DF] text-center`,children:[d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:667",className:"w-10 h-10 rounded-full bg-[#005F63] flex items-center justify-center mx-auto mb-3",children:d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:668",className:"font-display text-sm font-bold text-white",children:s.step})}),d.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:670",className:"font-display font-semibold text-[#2C2C2C] text-sm mb-1",children:s.title}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:671",className:"text-[#4A4A4A] text-xs leading-relaxed",children:s.desc})]},s.step))}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:675",className:"text-[#4A4A4A] text-sm leading-relaxed mb-5 italic",children:"Location matters. We only progress when travel distance, screening, training and the proposed match are all workable."}),d.jsxs(ke,{"data-loc":"client/src/pages/Home.tsx:678",href:"/areas",className:"inline-flex items-center gap-2 text-[#005F63] font-semibold hover:gap-3 transition-all duration-200",children:["See areas we cover",d.jsx(za,{"data-loc":"client/src/pages/Home.tsx:683",size:18})]})]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:686",className:"reveal stagger-2",children:d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:687",className:"bg-[#005F63] rounded-3xl p-8 text-white",children:[d.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:688",className:"font-display text-xl font-bold mb-2",children:"Areas Where We Are Building Coverage"}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:691",className:"text-white/70 text-sm mb-5",children:"Explore a few of the places where we are building coverage. Current availability is always checked during a friendly conversation."}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:694",className:"flex flex-wrap gap-2 mb-6",children:[mE.map(s=>d.jsxs(ke,{"data-loc":"client/src/pages/Home.tsx:696",href:`/companionship-${s.slug}`,className:"inline-flex items-center gap-1 text-xs font-medium bg-white/15 border border-white/25 text-white px-3 py-1.5 rounded-full whitespace-nowrap transition-all duration-200 hover:scale-105 hover:border-[#F2B233] hover:bg-white/20 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#F2B233]",children:[d.jsx(pn,{"data-loc":"client/src/pages/Home.tsx:701",size:10,className:"text-[#F2B233] shrink-0"}),s.name]},s.slug)),d.jsxs(ke,{"data-loc":"client/src/pages/Home.tsx:705",href:"/areas",className:"inline-flex items-center gap-1 text-xs font-medium bg-[#F2B233]/20 border border-[#F2B233]/40 text-[#F2B233] px-3 py-1.5 rounded-full whitespace-nowrap hover:bg-[#F2B233]/30 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#F2B233]",children:["All areas",d.jsx(za,{"data-loc":"client/src/pages/Home.tsx:710",size:12})]})]}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:713",className:"text-white/60 text-xs mb-5",children:"Don't see your city? Contact us — we can likely help."}),d.jsxs(ke,{"data-loc":"client/src/pages/Home.tsx:716",href:"/contact",className:"inline-flex items-center justify-center gap-2 w-full py-3.5 bg-[#F2B233] text-[#2C2C2C] font-bold rounded-full hover:bg-[#d4961f] transition-all duration-200",children:["Check Your Area",d.jsx(Ha,{"data-loc":"client/src/pages/Home.tsx:721",size:16})]})]})})]})})}),d.jsx("section",{"data-loc":"client/src/pages/Home.tsx:730",className:"py-20 bg-white",children:d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:731",className:"container",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:732",className:"flex flex-col md:flex-row md:items-end justify-between mb-12 gap-4 reveal",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:733",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:734",className:"text-[#F2B233] text-sm font-semibold uppercase tracking-widest mb-3 block",children:"Helpful Resources"}),d.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:737",className:"font-display text-3xl font-bold text-[#2C2C2C]",children:"Guidance for families"})]}),d.jsxs(ke,{"data-loc":"client/src/pages/Home.tsx:741",href:"/blog",className:"inline-flex items-center gap-2 text-[#005F63] font-semibold hover:gap-3 transition-all duration-200 shrink-0",children:["View all articles",d.jsx(za,{"data-loc":"client/src/pages/Home.tsx:746",size:18})]})]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:750",className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:n.map((s,o)=>d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:752",className:`reveal stagger-${o+1}
263 bg-[#F7F3EC] rounded-2xl overflow-hidden border border-[#EDE8DF] hover-lift group flex flex-col ${s.href?"cursor-pointer":""}`,onClick:()=>{s.href&&(window.location.href=s.href)},children:[d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:757",className:"aspect-[16/9] overflow-hidden",children:d.jsx("img",{"data-loc":"client/src/pages/Home.tsx:758",src:s.img,alt:s.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500",loading:"lazy",decoding:"async"})}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:766",className:"p-6 flex flex-col flex-1",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:767",className:"inline-block bg-[#005F63]/10 text-[#005F63] text-xs font-semibold px-3 py-1 rounded-full mb-3 self-start",children:s.tag}),d.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:770",className:"font-display font-semibold text-[#2C2C2C] text-lg mb-2 group-hover:text-[#005F63] transition-colors leading-snug",children:s.title}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:773",className:"text-[#4A4A4A] text-sm leading-relaxed flex-1",children:s.excerpt}),s.href&&d.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:777",className:"mt-4 inline-flex items-center gap-1 text-sm font-semibold text-[#005F63] group-hover:gap-2 transition-all",children:["Read more ",d.jsx(za,{"data-loc":"client/src/pages/Home.tsx:778",size:14})]})]})]},s.title))})]})}),d.jsx(Jx,{"data-loc":"client/src/pages/Home.tsx:788"})]})}const xE=C.lazy(()=>tt(()=>import("./About-CAnykTwG.js"),[])),bE=C.lazy(()=>tt(()=>import("./Services-DjkKjfez.js"),[])),wE=C.lazy(()=>tt(()=>import("./HowItWorks-0uuA0Htt.js"),__vite__mapDeps([0,1]))),CE=C.lazy(()=>tt(()=>import("./WhyUs-BrnWD6oj.js"),__vite__mapDeps([2,1,3]))),SE=C.lazy(()=>tt(()=>import("./Testimonials-oWXOOzMv.js"),__vite__mapDeps([4,3]))),EE=C.lazy(()=>tt(()=>import("./FAQ-BDxOcrK7.js"),[])),jE=C.lazy(()=>tt(()=>import("./Contact-cK1D-F3E.js"),__vite__mapDeps([5,6]))),AE=C.lazy(()=>tt(()=>import("./Areas-HT8pgcYu.js"),[])),NE=C.lazy(()=>tt(()=>import("./Careers-HhHAA5S9.js"),__vite__mapDeps([7,8]))),_E=C.lazy(()=>tt(()=>import("./Blog-IE1IdoEN.js"),__vite__mapDeps([9,10]))),OE=C.lazy(()=>tt(()=>import("./BlogArticle-DhJgG3-y.js"),__vite__mapDeps([11,10,6,3]))),TE=C.lazy(()=>tt(()=>import("./Booking-1uKf1KBm.js"),[])),ME=C.lazy(()=>tt(()=>import("./PrivacyPolicy-CexMK1k8.js"),__vite__mapDeps([12,6]))),RE=C.lazy(()=>tt(()=>import("./Portal-BclobAI0.js"),__vite__mapDeps([13,8,14]))),zy=C.lazy(()=>tt(()=>import("./ConsultationPage-Dfo8qV3K.js"),__vite__mapDeps([15,6]))),DE=C.lazy(()=>tt(()=>import("./BecomeCompanion-DhVKca3v.js"),[])),kE=C.lazy(()=>tt(()=>import("./AdminLogin-BoJ_0nST.js"),__vite__mapDeps([16,17]))),zE=C.lazy(()=>tt(()=>import("./AdminCompanions-CLDUVzbX.js"),__vite__mapDeps([18,19,20]))),LE=C.lazy(()=>tt(()=>import("./ApplicationReview-BBHEQ7d8.js"),__vite__mapDeps([21,19,14]))),HE=C.lazy(()=>tt(()=>import("./DBSSubmission-CZfN3ysb.js"),[])),BE=C.lazy(()=>tt(()=>import("./AdminEmailTemplates-CZA3ZSoU.js"),__vite__mapDeps([22,17,20])));function UE(){return d.jsx("div",{"data-loc":"client/src/App.tsx:44",className:"min-h-screen bg-[#F7F3EC] flex items-center justify-center",children:d.jsxs("div",{"data-loc":"client/src/App.tsx:45",className:"text-center",children:[d.jsx("div",{"data-loc":"client/src/App.tsx:46",className:"w-10 h-10 border-3 border-[#005F63] border-t-transparent rounded-full animate-spin mx-auto mb-3"}),d.jsx("p",{"data-loc":"client/src/App.tsx:47",className:"text-[#4A4A4A] text-sm font-medium",children:"Loading…"})]})})}function PE(){return d.jsx(C.Suspense,{"data-loc":"client/src/App.tsx:55",fallback:d.jsx(UE,{"data-loc":"client/src/App.tsx:55"}),children:d.jsxs(x5,{"data-loc":"client/src/App.tsx:56",children:[d.jsx(Qe,{"data-loc":"client/src/App.tsx:57",path:"/",component:vE}),d.jsx(Qe,{"data-loc":"client/src/App.tsx:58",path:"/about",component:xE}),d.jsx(Qe,{"data-loc":"client/src/App.tsx:59",path:"/services",component:bE}),d.jsx(Qe,{"data-loc":"client/src/App.tsx:60",path:"/how-it-works",component:wE}),d.jsx(Qe,{"data-loc":"client/src/App.tsx:61",path:"/why-us",component:CE}),d.jsx(Qe,{"data-loc":"client/src/App.tsx:62",path:"/testimonials",component:SE}),d.jsx(Qe,{"data-loc":"client/src/App.tsx:63",path:"/faq",component:EE}),d.jsx(Qe,{"data-loc":"client/src/App.tsx:64",path:"/contact",component:jE}),d.jsx(Qe,{"data-loc":"client/src/App.tsx:65",path:"/areas",component:AE}),d.jsx(Qe,{"data-loc":"client/src/App.tsx:66",path:"/careers",component:NE}),d.jsx(Qe,{"data-loc":"client/src/App.tsx:67",path:"/blog",component:_E}),d.jsx(Qe,{"data-loc":"client/src/App.tsx:68",path:"/blog/:slug",component:OE}),d.jsx(Qe,{"data-loc":"client/src/App.tsx:69",path:"/book",component:TE}),d.jsx(Qe,{"data-loc":"client/src/App.tsx:70",path:"/privacy-policy",component:ME}),d.jsx(Qe,{"data-loc":"client/src/App.tsx:71",path:"/portal",component:RE}),d.jsx(Qe,{"data-loc":"client/src/App.tsx:72",path:"/consultation-a",component:()=>d.jsx(zy,{"data-loc":"client/src/App.tsx:72",variant:"a"})}),d.jsx(Qe,{"data-loc":"client/src/App.tsx:73",path:"/consultation-b",component:()=>d.jsx(zy,{"data-loc":"client/src/App.tsx:73",variant:"b"})}),d.jsx(Qe,{"data-loc":"client/src/App.tsx:74",path:"/become-companion",component:DE}),d.jsx(Qe,{"data-loc":"client/src/App.tsx:75",path:"/admin/login",component:kE}),d.jsx(Qe,{"data-loc":"client/src/App.tsx:76",path:"/admin/companions",component:zE}),d.jsx(Qe,{"data-loc":"client/src/App.tsx:77",path:"/admin/applications/:id",component:LE}),d.jsx(Qe,{"data-loc":"client/src/App.tsx:78",path:"/admin/email-templates",component:BE}),d.jsx(Qe,{"data-loc":"client/src/App.tsx:79",path:"/dbs-submission",component:HE}),$x.map(n=>d.jsx(Qe,{"data-loc":"client/src/App.tsx:82",path:`/companionship-${n.slug}`,component:()=>d.jsx(uE,{"data-loc":"client/src/App.tsx:85",city:n})},n.slug)),d.jsx(Qe,{"data-loc":"client/src/App.tsx:88",path:"/404",component:Ny}),d.jsx(Qe,{"data-loc":"client/src/App.tsx:89",component:Ny})]})})}function FE(){return d.jsx(b5,{"data-loc":"client/src/App.tsx:97",children:d.jsx(C5,{"data-loc":"client/src/App.tsx:98",defaultTheme:"light",children:d.jsxs(R4,{"data-loc":"client/src/App.tsx:99",children:[d.jsx(QC,{"data-loc":"client/src/App.tsx:100"}),d.jsx(j5,{"data-loc":"client/src/App.tsx:101"}),d.jsx(R5,{"data-loc":"client/src/App.tsx:102"}),d.jsx(E5,{"data-loc":"client/src/App.tsx:103"}),d.jsx(T5,{"data-loc":"client/src/App.tsx:104"}),d.jsx(PE,{"data-loc":"client/src/App.tsx:105"})]})})})}
263function qE(){const n="https://manus.im",s="7dbd83HV7viftV9NknyHa9",o=encodeURIComponent(window.location.origin);return`${n}/authorize?client_id=${s}&redirect_uri=${o}&response_type=code`}const Tr=new q1,a0=n=>{!(n instanceof ko)||typeof window>"u"||!(n.message===Sw)||(window.location.href=qE())};Tr.getQueryCache().subscribe(n=>{if(n.type==="updated"&&n.action.type==="error"){const s=n.query.state.error;a0(s),console.error("[API Query Error]",s)}});Tr.getMutationCache().subscribe(n=>{if(n.type==="updated"&&n.action.type==="error"){const s=n.mutation.state.error;a0(s),console.error("[API Mutation Error]",s)}});const QE=Hr.createClient({links:[$2({url:"/api/trpc",transformer:oa,fetch(n,s){return globalThis.fetch(n,{...s??{},credentials:"include"})}})]});Ow.createRoot(document.getElementById("root")).render(d.jsx(Hr.Provider,{"data-loc":"client/src/main.tsx:56",client:QE,queryClient:Tr,children:d.jsx(Y1,{"data-loc":"client/src/main.tsx:57",client:Tr,children:d.jsx(FE,{"data-loc":"client/src/main.tsx:58"})})}));export{Ha as A,ko as B,Cs as C,qE as D,Id as E,Jx as F,Q4 as G,Xo as H,ke as L,pn as M,Wx as N,gn as P,e0 as S,X5 as T,Sf as U,Kr as X,Xr as a,F5 as b,Cf as c,ze as d,K4 as e,Hx as f,$4 as g,Qa as h,ZE as i,d as j,Lx as k,P5 as l,Uv as m,_t as n,Ux as o,ef as p,Ny as q,C as r,$E as s,Hr as t,$r as u,J5 as v,z5 as w,Y4 as x,za as y,KE as z};

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.