···11-import{d as N,i as m,e as O,r as d,j as e,P as x,L as h,g}from"./main-C_SO_aYE.js";import{u as w,Q as P,T,a as R,b as p,c,d as k,e as u,f as j,g as b}from"./table-BGKcx7UY.js";function L(o){const t=N();return async(...n)=>{try{const r=await o(...n);if(m(r))throw r;return r}catch(r){if(m(r))return r.options._fromLocation=t.state.location,t.navigate(t.resolveRedirect(r).options);throw r}}}function S(o,t){return w(o,P)}const M=function(){const t=L(g),{offset:n}=O.useSearch(),r=["pokemon-list","basic",{limit:x,offset:n}],{data:s,error:y}=S({queryKey:r,queryFn:async()=>await t({data:{offset:n}})}),i=d.useMemo(()=>(s==null?void 0:s.prevOffset)==null?null:s.prevOffset.toString(),[s==null?void 0:s.prevOffset]),l=d.useMemo(()=>(s==null?void 0:s.nextOffset)==null?null:s.nextOffset.toString(),[s==null?void 0:s.nextOffset]);if(s){const v=s.pokemon??[];return e.jsxs("div",{className:"p-4",children:[e.jsxs("h1",{className:"text-2xl font-bold mb-4",children:["National Pokédex: Pokémon ",n+1,"-",n+x]}),e.jsxs(T,{children:[e.jsx(R,{children:e.jsxs(p,{children:[e.jsx(c,{children:"#"}),e.jsx(c,{children:"Name"}),e.jsx(c,{children:"Details"})]})}),e.jsx(k,{children:v.map(a=>e.jsxs(p,{children:[e.jsx(u,{children:a.id}),e.jsx(u,{className:"capitalize",children:a.name}),e.jsx(u,{children:a.types.map(f=>e.jsx("span",{className:"inline-block px-2 py-1 mr-1 text-sm font-medium rounded-full bg-gray-100",children:f.type.name},f.type.name))})]},a.name))})]}),e.jsxs("div",{className:"flex justify-center gap-4 mt-4",children:[e.jsx(h,{to:"/basic",className:j({variant:"outline",className:b(!i&&"opacity-50 cursor-not-allowed")}),search:{offset:Number(i)},disabled:!i,children:"Previous"}),e.jsx(h,{to:"/basic",search:{offset:Number(l)},className:j({variant:"outline",className:b(!l&&"opacity-50 cursor-not-allowed")}),disabled:!l,children:"Next"})]})]})}return y?e.jsx("div",{children:"Error loading Pokémon."}):e.jsx("div",{children:"No data"})};export{M as component};
···11-import{c,r as u,j as e,L as m}from"./main-C_SO_aYE.js";import{u as j}from"./useSuspenseQuery-BacjgsWj.js";import{T as b,a as N,b as x,c as l,d as v,e as o,f as d,g as f}from"./table-BGKcx7UY.js";const T=20,g=/\/api\/v2\/pokemon\/(\d+)\/?/,O=function(){const{offset:a}=c.useSearch(),{pokemonListOptions:p}=c.useRouteContext(),{data:s}=j(p),r=u.useMemo(()=>(s==null?void 0:s.previous)==null?null:new URL(s.previous).searchParams.get("offset")??null,[s==null?void 0:s.previous]),t=u.useMemo(()=>(s==null?void 0:s.next)==null?null:new URL(s.next).searchParams.get("offset")??null,[s==null?void 0:s.next]),h=s.results??[];return e.jsxs("div",{className:"p-4",children:[e.jsxs("h1",{className:"text-2xl font-bold mb-4",children:["National Pokédex: Pokémon ",a+1,"-",a+T]}),e.jsxs(b,{children:[e.jsx(N,{children:e.jsxs(x,{children:[e.jsx(l,{children:"#"}),e.jsx(l,{children:"Name"}),e.jsx(l,{children:"Details"})]})}),e.jsx(v,{children:h.map(n=>{var i;return e.jsxs(x,{children:[e.jsx(o,{children:(i=n.url.match(g))==null?void 0:i[1]}),e.jsx(o,{className:"capitalize",children:n.name}),e.jsx(o,{children:e.jsx("a",{href:n.url,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 underline",children:"View"})})]},n.name)})})]}),e.jsxs("div",{className:"flex justify-center gap-4 mt-4",children:[e.jsx(m,{to:"/intent-preloading",preload:"intent",className:d({variant:"outline",className:f(!r&&"opacity-50 cursor-not-allowed")}),search:{offset:Number(r)},disabled:!r,children:"Previous"}),e.jsx(m,{to:"/intent-preloading",preload:"intent",search:{offset:Number(t)},className:d({variant:"outline",className:f(!t&&"opacity-50 cursor-not-allowed")}),disabled:!t,children:"Next"})]})]})};export{O as component};
···11-import{j as r}from"./main-C_SO_aYE.js";const t=function(){return r.jsx("div",{children:"Error"})};export{t as errorComponent};
-1
.output/public/assets/pagination-DHyhKn7Y.js
···11-import{b as f,u as N,r as p,j as e,L as x}from"./main-C_SO_aYE.js";import{u as y}from"./useSuspenseQuery-BacjgsWj.js";import{T as v,a as g,b as d,c as o,d as T,e as a,f as h,g as j}from"./table-BGKcx7UY.js";const i=20,P=/\/api\/v2\/pokemon\/(\d+)\/?/,L=function(){const{offset:c}=f.useSearch(),{pokemonListOptions:l}=f.useRouteContext(),u=N(),{data:s}=y(l),n=p.useMemo(()=>(s==null?void 0:s.previous)==null?null:new URL(s.previous).searchParams.get("offset")??null,[s==null?void 0:s.previous]),t=p.useMemo(()=>(s==null?void 0:s.next)==null?null:new URL(s.next).searchParams.get("offset")??null,[s==null?void 0:s.next]);n!==null&&u.prefetchQuery({...l,queryKey:["pokemon-list","pagination",{limit:i,offset:Number(n)}]}),t!==null&&u.prefetchQuery({...l,queryKey:["pokemon-list","pagination",{limit:i,offset:Number(t)}]});const b=s.results??[];return e.jsxs("div",{className:"p-4",children:[e.jsxs("h1",{className:"text-2xl font-bold mb-4",children:["National Pokédex: Pokémon ",c+1,"-",c+i]}),e.jsxs(v,{children:[e.jsx(g,{children:e.jsxs(d,{children:[e.jsx(o,{children:"#"}),e.jsx(o,{children:"Name"}),e.jsx(o,{children:"Details"})]})}),e.jsx(T,{children:b.map(r=>{var m;return e.jsxs(d,{children:[e.jsx(a,{children:(m=r.url.match(P))==null?void 0:m[1]}),e.jsx(a,{className:"capitalize",children:r.name}),e.jsx(a,{children:e.jsx("a",{href:r.url,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 underline",children:"View"})})]},r.name)})})]}),e.jsxs("div",{className:"flex justify-center gap-4 mt-4",children:[e.jsx(x,{to:"/pagination",preload:"intent",className:h({variant:"outline",className:j(!n&&"opacity-50 cursor-not-allowed")}),search:{offset:Number(n)},disabled:!n,children:"Previous"}),e.jsx(x,{to:"/pagination",preload:"intent",search:{offset:Number(t)},className:h({variant:"outline",className:j(!t&&"opacity-50 cursor-not-allowed")}),disabled:!t,children:"Next"})]})]})};export{L as component};
-1
.output/public/assets/pagination-DT5U_TVa.js
···11-import{j as o}from"./main-C_SO_aYE.js";const e=function(){return o.jsx("div",{children:"Not Found"})};export{e as notFoundComponent};
-1
.output/public/assets/preloading-CF6-eBB1.js
···11-import{j as o}from"./main-C_SO_aYE.js";const e=function(){return o.jsx("div",{children:"Not Found"})};export{e as notFoundComponent};
-1
.output/public/assets/preloading-CS9n1_uB.js
···11-import{j as r}from"./main-C_SO_aYE.js";const t=function(){return r.jsx("div",{children:"Error"})};export{t as errorComponent};
-1
.output/public/assets/preloading-Cx2nmQCS.js
···11-import{a as i,r as u,j as e,L as m}from"./main-C_SO_aYE.js";import{u as j}from"./useSuspenseQuery-BacjgsWj.js";import{T as b,a as N,b as x,c as l,d as v,e as a,f as d,g as f}from"./table-BGKcx7UY.js";const T=20,g=/\/api\/v2\/pokemon\/(\d+)\/?/,O=function(){const{offset:o}=i.useSearch(),{pokemonListOptions:h}=i.useRouteContext(),{data:s}=j(h),r=u.useMemo(()=>(s==null?void 0:s.previous)==null?null:new URL(s.previous).searchParams.get("offset")??null,[s==null?void 0:s.previous]),t=u.useMemo(()=>(s==null?void 0:s.next)==null?null:new URL(s.next).searchParams.get("offset")??null,[s==null?void 0:s.next]),p=s.results??[];return e.jsxs("div",{className:"p-4",children:[e.jsxs("h1",{className:"text-2xl font-bold mb-4",children:["National Pokédex: Pokémon ",o+1,"-",o+T]}),e.jsxs(b,{children:[e.jsx(N,{children:e.jsxs(x,{children:[e.jsx(l,{children:"#"}),e.jsx(l,{children:"Name"}),e.jsx(l,{children:"Details"})]})}),e.jsx(v,{children:p.map(n=>{var c;return e.jsxs(x,{children:[e.jsx(a,{children:(c=n.url.match(g))==null?void 0:c[1]}),e.jsx(a,{className:"capitalize",children:n.name}),e.jsx(a,{children:e.jsx("a",{href:n.url,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 underline",children:"View"})})]},n.name)})})]}),e.jsxs("div",{className:"flex justify-center gap-4 mt-4",children:[e.jsx(m,{to:"/preloading",className:d({variant:"outline",className:f(!r&&"opacity-50 cursor-not-allowed")}),search:{offset:Number(r)},disabled:!r,children:"Previous"}),e.jsx(m,{to:"/preloading",search:{offset:Number(t)},className:d({variant:"outline",className:f(!t&&"opacity-50 cursor-not-allowed")}),disabled:!t,children:"Next"})]})]})};export{O as component};
-1
.output/public/assets/suspense-C9NRSXhZ.js
···11-import{R as j,g as v,r as c,j as e,L as u}from"./main-C_SO_aYE.js";import{u as b}from"./useSuspenseQuery-BacjgsWj.js";import{T as N,a as y,b as f,c as a,d as k,e as i,f as m,g as p}from"./table-BGKcx7UY.js";const x=20,O=/\/api\/v2\/pokemon\/(\d+)\/?/,R=function(){const{offset:t}=j.useSearch(),d=["pokemon-list","suspense",{limit:x,offset:t}],{data:s}=b({queryKey:d,queryFn:async()=>{const n=await v({data:{offset:t}});return{results:n.pokemon.map(r=>({name:r.name,url:`/api/v2/pokemon/${r.id}/`})),next:n.nextOffset!==null?`/api/v2/pokemon/?offset=${n.nextOffset}`:null,previous:n.prevOffset!==null?`/api/v2/pokemon/?offset=${n.prevOffset}`:null}}}),l=c.useMemo(()=>(s==null?void 0:s.previous)==null?null:new URL(s.previous).searchParams.get("offset")??null,[s==null?void 0:s.previous]),o=c.useMemo(()=>(s==null?void 0:s.next)==null?null:new URL(s.next).searchParams.get("offset")??null,[s==null?void 0:s.next]),h=s.results??[];return e.jsxs("div",{className:"p-4",children:[e.jsxs("h1",{className:"text-2xl font-bold mb-4",children:["National Pokédex: Pokémon ",t+1,"-",t+x]}),e.jsxs(N,{children:[e.jsx(y,{children:e.jsxs(f,{children:[e.jsx(a,{children:"#"}),e.jsx(a,{children:"Name"}),e.jsx(a,{children:"Details"})]})}),e.jsx(k,{children:h.map(n=>{var r;return e.jsxs(f,{children:[e.jsx(i,{children:(r=n.url.match(O))==null?void 0:r[1]}),e.jsx(i,{className:"capitalize",children:n.name}),e.jsx(i,{children:e.jsx("a",{href:n.url,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 underline",children:"View"})})]},n.name)})})]}),e.jsxs("div",{className:"flex justify-center gap-4 mt-4",children:[e.jsx(u,{to:"/suspense",className:m({variant:"outline",className:p(!l&&"opacity-50 cursor-not-allowed")}),search:{offset:Number(l)},disabled:!l,children:"Previous"}),e.jsx(u,{to:"/suspense",search:{offset:Number(o)},className:m({variant:"outline",className:p(!o&&"opacity-50 cursor-not-allowed")}),disabled:!o,children:"Next"})]})]})};export{R as component};
-1
.output/public/assets/suspense-CVRJPFh1.js
···11-import{j as o}from"./main-C_SO_aYE.js";const e=function(){return o.jsx("div",{children:"Not Found"})};export{e as notFoundComponent};
-1
.output/public/assets/suspense-DRsZG-IO.js
···11-import{j as r}from"./main-C_SO_aYE.js";const t=function(){return r.jsx("div",{children:"Error"})};export{t as errorComponent};
-1
.output/public/assets/table-BGKcx7UY.js
···11-var Ze=e=>{throw TypeError(e)};var Te=(e,t,r)=>t.has(e)||Ze("Cannot "+r);var o=(e,t,r)=>(Te(e,t,"read from private field"),r?r.call(e):t.get(e)),T=(e,t,r)=>t.has(e)?Ze("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),k=(e,t,r,s)=>(Te(e,t,"write to private field"),s?s.call(e,r):t.set(e,r),r),S=(e,t,r)=>(Te(e,t,"access private method"),r);import{S as Mt,p as et,f as V,s as Ae,h as Se,n as Pe,k as je,l as tt,t as Tt,m as Et,o as Ot,q as rt,v as mt,r as W,w as At,u as Pt,j as oe}from"./main-C_SO_aYE.js";var P,g,ge,A,te,le,q,K,ve,ce,de,re,se,J,ue,v,be,Ne,_e,Ge,Fe,Le,Ve,Qe,ft,ht,Tr=(ht=class extends Mt{constructor(t,r){super();T(this,v);T(this,P);T(this,g);T(this,ge);T(this,A);T(this,te);T(this,le);T(this,q);T(this,K);T(this,ve);T(this,ce);T(this,de);T(this,re);T(this,se);T(this,J);T(this,ue,new Set);this.options=r,k(this,P,t),k(this,K,null),k(this,q,et()),this.options.experimental_prefetchInRender||o(this,q).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(o(this,g).addObserver(this),st(o(this,g),this.options)?S(this,v,be).call(this):this.updateResult(),S(this,v,Fe).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Ue(o(this,g),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Ue(o(this,g),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,S(this,v,Le).call(this),S(this,v,Ve).call(this),o(this,g).removeObserver(this)}setOptions(t){const r=this.options,s=o(this,g);if(this.options=o(this,P).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof V(this.options.enabled,o(this,g))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");S(this,v,Qe).call(this),o(this,g).setOptions(this.options),r._defaulted&&!Ae(this.options,r)&&o(this,P).getQueryCache().notify({type:"observerOptionsUpdated",query:o(this,g),observer:this});const a=this.hasListeners();a&&ot(o(this,g),s,this.options,r)&&S(this,v,be).call(this),this.updateResult(),a&&(o(this,g)!==s||V(this.options.enabled,o(this,g))!==V(r.enabled,o(this,g))||Se(this.options.staleTime,o(this,g))!==Se(r.staleTime,o(this,g)))&&S(this,v,Ne).call(this);const i=S(this,v,_e).call(this);a&&(o(this,g)!==s||V(this.options.enabled,o(this,g))!==V(r.enabled,o(this,g))||i!==o(this,J))&&S(this,v,Ge).call(this,i)}getOptimisticResult(t){const r=o(this,P).getQueryCache().build(o(this,P),t),s=this.createResult(r,t);return Nt(this,s)&&(k(this,A,s),k(this,le,this.options),k(this,te,o(this,g).state)),s}getCurrentResult(){return o(this,A)}trackResult(t,r){return new Proxy(t,{get:(s,a)=>(this.trackProp(a),r==null||r(a),Reflect.get(s,a))})}trackProp(t){o(this,ue).add(t)}getCurrentQuery(){return o(this,g)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const r=o(this,P).defaultQueryOptions(t),s=o(this,P).getQueryCache().build(o(this,P),r);return s.fetch().then(()=>this.createResult(s,r))}fetch(t){return S(this,v,be).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),o(this,A)))}createResult(t,r){var _;const s=o(this,g),a=this.options,i=o(this,A),n=o(this,te),p=o(this,le),f=t!==s?t.state:o(this,ge),{state:y}=t;let b={...y},I=!1,x;if(r._optimisticResults){const E=this.hasListeners(),X=!E&&st(t,r),G=E&&ot(t,s,r,a);(X||G)&&(b={...b,...Ot(y.data,t.options)}),r._optimisticResults==="isRestoring"&&(b.fetchStatus="idle")}let{error:R,errorUpdatedAt:C,status:w}=b;x=b.data;let N=!1;if(r.placeholderData!==void 0&&x===void 0&&w==="pending"){let E;i!=null&&i.isPlaceholderData&&r.placeholderData===(p==null?void 0:p.placeholderData)?(E=i.data,N=!0):E=typeof r.placeholderData=="function"?r.placeholderData((_=o(this,de))==null?void 0:_.state.data,o(this,de)):r.placeholderData,E!==void 0&&(w="success",x=rt(i==null?void 0:i.data,E,r),I=!0)}if(r.select&&x!==void 0&&!N)if(i&&x===(n==null?void 0:n.data)&&r.select===o(this,ve))x=o(this,ce);else try{k(this,ve,r.select),x=r.select(x),x=rt(i==null?void 0:i.data,x,r),k(this,ce,x),k(this,K,null)}catch(E){k(this,K,E)}o(this,K)&&(R=o(this,K),x=o(this,ce),C=Date.now(),w="error");const H=b.fetchStatus==="fetching",Q=w==="pending",F=w==="error",U=Q&&H,L=x!==void 0,u={status:w,fetchStatus:b.fetchStatus,isPending:Q,isSuccess:w==="success",isError:F,isInitialLoading:U,isLoading:U,data:x,dataUpdatedAt:b.dataUpdatedAt,error:R,errorUpdatedAt:C,failureCount:b.fetchFailureCount,failureReason:b.fetchFailureReason,errorUpdateCount:b.errorUpdateCount,isFetched:b.dataUpdateCount>0||b.errorUpdateCount>0,isFetchedAfterMount:b.dataUpdateCount>f.dataUpdateCount||b.errorUpdateCount>f.errorUpdateCount,isFetching:H,isRefetching:H&&!Q,isLoadingError:F&&!L,isPaused:b.fetchStatus==="paused",isPlaceholderData:I,isRefetchError:F&&L,isStale:He(t,r),refetch:this.refetch,promise:o(this,q)};if(this.options.experimental_prefetchInRender){const E=Y=>{u.status==="error"?Y.reject(u.error):u.data!==void 0&&Y.resolve(u.data)},X=()=>{const Y=k(this,q,u.promise=et());E(Y)},G=o(this,q);switch(G.status){case"pending":t.queryHash===s.queryHash&&E(G);break;case"fulfilled":(u.status==="error"||u.data!==G.value)&&X();break;case"rejected":(u.status!=="error"||u.error!==G.reason)&&X();break}}return u}updateResult(){const t=o(this,A),r=this.createResult(o(this,g),this.options);if(k(this,te,o(this,g).state),k(this,le,this.options),o(this,te).data!==void 0&&k(this,de,o(this,g)),Ae(r,t))return;k(this,A,r);const s=()=>{if(!t)return!0;const{notifyOnChangeProps:a}=this.options,i=typeof a=="function"?a():a;if(i==="all"||!i&&!o(this,ue).size)return!0;const n=new Set(i??o(this,ue));return this.options.throwOnError&&n.add("error"),Object.keys(o(this,A)).some(p=>{const d=p;return o(this,A)[d]!==t[d]&&n.has(d)})};S(this,v,ft).call(this,{listeners:s()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&S(this,v,Fe).call(this)}},P=new WeakMap,g=new WeakMap,ge=new WeakMap,A=new WeakMap,te=new WeakMap,le=new WeakMap,q=new WeakMap,K=new WeakMap,ve=new WeakMap,ce=new WeakMap,de=new WeakMap,re=new WeakMap,se=new WeakMap,J=new WeakMap,ue=new WeakMap,v=new WeakSet,be=function(t){S(this,v,Qe).call(this);let r=o(this,g).fetch(this.options,t);return t!=null&&t.throwOnError||(r=r.catch(Pe)),r},Ne=function(){S(this,v,Le).call(this);const t=Se(this.options.staleTime,o(this,g));if(je||o(this,A).isStale||!tt(t))return;const s=Tt(o(this,A).dataUpdatedAt,t)+1;k(this,re,setTimeout(()=>{o(this,A).isStale||this.updateResult()},s))},_e=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(o(this,g)):this.options.refetchInterval)??!1},Ge=function(t){S(this,v,Ve).call(this),k(this,J,t),!(je||V(this.options.enabled,o(this,g))===!1||!tt(o(this,J))||o(this,J)===0)&&k(this,se,setInterval(()=>{(this.options.refetchIntervalInBackground||Et.isFocused())&&S(this,v,be).call(this)},o(this,J)))},Fe=function(){S(this,v,Ne).call(this),S(this,v,Ge).call(this,S(this,v,_e).call(this))},Le=function(){o(this,re)&&(clearTimeout(o(this,re)),k(this,re,void 0))},Ve=function(){o(this,se)&&(clearInterval(o(this,se)),k(this,se,void 0))},Qe=function(){const t=o(this,P).getQueryCache().build(o(this,P),this.options);if(t===o(this,g))return;const r=o(this,g);k(this,g,t),k(this,ge,t.state),this.hasListeners()&&(r==null||r.removeObserver(this),t.addObserver(this))},ft=function(t){mt.batch(()=>{t.listeners&&this.listeners.forEach(r=>{r(o(this,A))}),o(this,P).getQueryCache().notify({query:o(this,g),type:"observerResultsUpdated"})})},ht);function jt(e,t){return V(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function st(e,t){return jt(e,t)||e.state.data!==void 0&&Ue(e,t,t.refetchOnMount)}function Ue(e,t,r){if(V(t.enabled,e)!==!1){const s=typeof r=="function"?r(e):r;return s==="always"||s!==!1&&He(e,t)}return!1}function ot(e,t,r,s){return(e!==t||V(s.enabled,e)===!1)&&(!r.suspense||e.state.status!=="error")&&He(e,r)}function He(e,t){return V(t.enabled,e)!==!1&&e.isStaleByTime(Se(t.staleTime,e))}function Nt(e,t){return!Ae(e.getCurrentResult(),t)}var pt=W.createContext(!1),_t=()=>W.useContext(pt);pt.Provider;function Gt(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var Ft=W.createContext(Gt()),Lt=()=>W.useContext(Ft),Vt=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},Qt=e=>{W.useEffect(()=>{e.clearReset()},[e])},Ut=({result:e,errorResetBoundary:t,throwOnError:r,query:s,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&s&&(a&&e.data===void 0||At(r,[e.error,s])),Er=(e,t)=>t.state.data===void 0,Bt=e=>{const t=e.staleTime;e.suspense&&(e.staleTime=typeof t=="function"?(...r)=>Math.max(t(...r),1e3):Math.max(t??1e3,1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},Dt=(e,t)=>e.isLoading&&e.isFetching&&!t,Wt=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,nt=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function Or(e,t,r){var b,I,x,R,C;const s=Pt(),a=_t(),i=Lt(),n=s.defaultQueryOptions(e);(I=(b=s.getDefaultOptions().queries)==null?void 0:b._experimental_beforeQuery)==null||I.call(b,n),n._optimisticResults=a?"isRestoring":"optimistic",Bt(n),Vt(n,i),Qt(i);const p=!s.getQueryCache().get(n.queryHash),[d]=W.useState(()=>new t(s,n)),f=d.getOptimisticResult(n),y=!a&&e.subscribed!==!1;if(W.useSyncExternalStore(W.useCallback(w=>{const N=y?d.subscribe(mt.batchCalls(w)):Pe;return d.updateResult(),N},[d,y]),()=>d.getCurrentResult(),()=>d.getCurrentResult()),W.useEffect(()=>{d.setOptions(n)},[n,d]),Wt(n,f))throw nt(n,d,i);if(Ut({result:f,errorResetBoundary:i,throwOnError:n.throwOnError,query:s.getQueryCache().get(n.queryHash),suspense:n.suspense}))throw f.error;if((R=(x=s.getDefaultOptions().queries)==null?void 0:x._experimental_afterQuery)==null||R.call(x,n,f),n.experimental_prefetchInRender&&!je&&Dt(f,a)){const w=p?nt(n,d,i):(C=s.getQueryCache().get(n.queryHash))==null?void 0:C.promise;w==null||w.catch(Pe).finally(()=>{d.updateResult()})}return n.notifyOnChangeProps?f:d.trackResult(f)}function bt(e){var t,r,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=bt(e[t]))&&(s&&(s+=" "),s+=r)}else for(r in e)e[r]&&(s&&(s+=" "),s+=r);return s}function gt(){for(var e,t,r=0,s="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=bt(e))&&(s&&(s+=" "),s+=t);return s}const at=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,it=gt,Ht=(e,t)=>r=>{var s;if((t==null?void 0:t.variants)==null)return it(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:a,defaultVariants:i}=t,n=Object.keys(a).map(f=>{const y=r==null?void 0:r[f],b=i==null?void 0:i[f];if(y===null)return null;const I=at(y)||at(b);return a[f][I]}),p=r&&Object.entries(r).reduce((f,y)=>{let[b,I]=y;return I===void 0||(f[b]=I),f},{}),d=t==null||(s=t.compoundVariants)===null||s===void 0?void 0:s.reduce((f,y)=>{let{class:b,className:I,...x}=y;return Object.entries(x).every(R=>{let[C,w]=R;return Array.isArray(w)?w.includes({...i,...p}[C]):{...i,...p}[C]===w})?[...f,b,I]:f},[]);return it(e,n,d,r==null?void 0:r.class,r==null?void 0:r.className)},$e="-",$t=e=>{const t=Kt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:n=>{const p=n.split($e);return p[0]===""&&p.length!==1&&p.shift(),vt(p,t)||qt(n)},getConflictingClassGroupIds:(n,p)=>{const d=r[n]||[];return p&&s[n]?[...d,...s[n]]:d}}},vt=(e,t)=>{var n;if(e.length===0)return t.classGroupId;const r=e[0],s=t.nextPart.get(r),a=s?vt(e.slice(1),s):void 0;if(a)return a;if(t.validators.length===0)return;const i=e.join($e);return(n=t.validators.find(({validator:p})=>p(i)))==null?void 0:n.classGroupId},lt=/^\[(.+)\]$/,qt=e=>{if(lt.test(e)){const t=lt.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Kt=e=>{const{theme:t,classGroups:r}=e,s={nextPart:new Map,validators:[]};for(const a in r)Be(r[a],s,a,t);return s},Be=(e,t,r,s)=>{e.forEach(a=>{if(typeof a=="string"){const i=a===""?t:ct(t,a);i.classGroupId=r;return}if(typeof a=="function"){if(Jt(a)){Be(a(s),t,r,s);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([i,n])=>{Be(n,ct(t,i),r,s)})})},ct=(e,t)=>{let r=e;return t.split($e).forEach(s=>{r.nextPart.has(s)||r.nextPart.set(s,{nextPart:new Map,validators:[]}),r=r.nextPart.get(s)}),r},Jt=e=>e.isThemeGetter,Xt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,s=new Map;const a=(i,n)=>{r.set(i,n),t++,t>e&&(t=0,s=r,r=new Map)};return{get(i){let n=r.get(i);if(n!==void 0)return n;if((n=s.get(i))!==void 0)return a(i,n),n},set(i,n){r.has(i)?r.set(i,n):a(i,n)}}},De="!",We=":",Yt=We.length,Zt=e=>{const{prefix:t,experimentalParseClassName:r}=e;let s=a=>{const i=[];let n=0,p=0,d=0,f;for(let R=0;R<a.length;R++){let C=a[R];if(n===0&&p===0){if(C===We){i.push(a.slice(d,R)),d=R+Yt;continue}if(C==="/"){f=R;continue}}C==="["?n++:C==="]"?n--:C==="("?p++:C===")"&&p--}const y=i.length===0?a:a.substring(d),b=er(y),I=b!==y,x=f&&f>d?f-d:void 0;return{modifiers:i,hasImportantModifier:I,baseClassName:b,maybePostfixModifierPosition:x}};if(t){const a=t+We,i=s;s=n=>n.startsWith(a)?i(n.substring(a.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:n,maybePostfixModifierPosition:void 0}}if(r){const a=s;s=i=>r({className:i,parseClassName:a})}return s},er=e=>e.endsWith(De)?e.substring(0,e.length-1):e.startsWith(De)?e.substring(1):e,tr=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(s=>[s,!0]));return s=>{if(s.length<=1)return s;const a=[];let i=[];return s.forEach(n=>{n[0]==="["||t[n]?(a.push(...i.sort(),n),i=[]):i.push(n)}),a.push(...i.sort()),a}},rr=e=>({cache:Xt(e.cacheSize),parseClassName:Zt(e),sortModifiers:tr(e),...$t(e)}),sr=/\s+/,or=(e,t)=>{const{parseClassName:r,getClassGroupId:s,getConflictingClassGroupIds:a,sortModifiers:i}=t,n=[],p=e.trim().split(sr);let d="";for(let f=p.length-1;f>=0;f-=1){const y=p[f],{isExternal:b,modifiers:I,hasImportantModifier:x,baseClassName:R,maybePostfixModifierPosition:C}=r(y);if(b){d=y+(d.length>0?" "+d:d);continue}let w=!!C,N=s(w?R.substring(0,C):R);if(!N){if(!w){d=y+(d.length>0?" "+d:d);continue}if(N=s(R),!N){d=y+(d.length>0?" "+d:d);continue}w=!1}const H=i(I).join(":"),Q=x?H+De:H,F=Q+N;if(n.includes(F))continue;n.push(F);const U=a(N,w);for(let L=0;L<U.length;++L){const ne=U[L];n.push(Q+ne)}d=y+(d.length>0?" "+d:d)}return d};function nr(){let e=0,t,r,s="";for(;e<arguments.length;)(t=arguments[e++])&&(r=yt(t))&&(s&&(s+=" "),s+=r);return s}const yt=e=>{if(typeof e=="string")return e;let t,r="";for(let s=0;s<e.length;s++)e[s]&&(t=yt(e[s]))&&(r&&(r+=" "),r+=t);return r};function ar(e,...t){let r,s,a,i=n;function n(d){const f=t.reduce((y,b)=>b(y),e());return r=rr(f),s=r.cache.get,a=r.cache.set,i=p,p(d)}function p(d){const f=s(d);if(f)return f;const y=or(d,r);return a(d,y),y}return function(){return i(nr.apply(null,arguments))}}const z=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},xt=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,wt=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ir=/^\d+\/\d+$/,lr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,cr=/\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$/,dr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ur=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,hr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ie=e=>ir.test(e),m=e=>!!e&&!Number.isNaN(Number(e)),$=e=>!!e&&Number.isInteger(Number(e)),Ee=e=>e.endsWith("%")&&m(e.slice(0,-1)),D=e=>lr.test(e),mr=()=>!0,fr=e=>cr.test(e)&&!dr.test(e),kt=()=>!1,pr=e=>ur.test(e),br=e=>hr.test(e),gr=e=>!l(e)&&!c(e),vr=e=>he(e,St,kt),l=e=>xt.test(e),ee=e=>he(e,zt,fr),Oe=e=>he(e,Rr,m),dt=e=>he(e,Rt,kt),yr=e=>he(e,Ct,br),Re=e=>he(e,It,pr),c=e=>wt.test(e),pe=e=>me(e,zt),xr=e=>me(e,Cr),ut=e=>me(e,Rt),wr=e=>me(e,St),kr=e=>me(e,Ct),Ce=e=>me(e,It,!0),he=(e,t,r)=>{const s=xt.exec(e);return s?s[1]?t(s[1]):r(s[2]):!1},me=(e,t,r=!1)=>{const s=wt.exec(e);return s?s[1]?t(s[1]):r:!1},Rt=e=>e==="position"||e==="percentage",Ct=e=>e==="image"||e==="url",St=e=>e==="length"||e==="size"||e==="bg-size",zt=e=>e==="length",Rr=e=>e==="number",Cr=e=>e==="family-name",It=e=>e==="shadow",Sr=()=>{const e=z("color"),t=z("font"),r=z("text"),s=z("font-weight"),a=z("tracking"),i=z("leading"),n=z("breakpoint"),p=z("container"),d=z("spacing"),f=z("radius"),y=z("shadow"),b=z("inset-shadow"),I=z("text-shadow"),x=z("drop-shadow"),R=z("blur"),C=z("perspective"),w=z("aspect"),N=z("ease"),H=z("animate"),Q=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],U=()=>[...F(),c,l],L=()=>["auto","hidden","clip","visible","scroll"],ne=()=>["auto","contain","none"],u=()=>[c,l,d],_=()=>[ie,"full","auto",...u()],E=()=>[$,"none","subgrid",c,l],X=()=>["auto",{span:["full",$,c,l]},$,c,l],G=()=>[$,"auto",c,l],Y=()=>["auto","min","max","fr",c,l],ze=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ae=()=>["start","end","center","stretch","center-safe","end-safe"],B=()=>["auto",...u()],Z=()=>[ie,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...u()],h=()=>[e,c,l],qe=()=>[...F(),ut,dt,{position:[c,l]}],Ke=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Je=()=>["auto","cover","contain",wr,vr,{size:[c,l]}],Ie=()=>[Ee,pe,ee],O=()=>["","none","full",f,c,l],j=()=>["",m,pe,ee],ye=()=>["solid","dashed","dotted","double"],Xe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],M=()=>[m,Ee,ut,dt],Ye=()=>["","none",R,c,l],xe=()=>["none",m,c,l],we=()=>["none",m,c,l],Me=()=>[m,c,l],ke=()=>[ie,"full",...u()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[D],breakpoint:[D],color:[mr],container:[D],"drop-shadow":[D],ease:["in","out","in-out"],font:[gr],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[D],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[D],shadow:[D],spacing:["px",m],text:[D],"text-shadow":[D],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ie,l,c,w]}],container:["container"],columns:[{columns:[m,l,c,p]}],"break-after":[{"break-after":Q()}],"break-before":[{"break-before":Q()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:U()}],overflow:[{overflow:L()}],"overflow-x":[{"overflow-x":L()}],"overflow-y":[{"overflow-y":L()}],overscroll:[{overscroll:ne()}],"overscroll-x":[{"overscroll-x":ne()}],"overscroll-y":[{"overscroll-y":ne()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:_()}],"inset-x":[{"inset-x":_()}],"inset-y":[{"inset-y":_()}],start:[{start:_()}],end:[{end:_()}],top:[{top:_()}],right:[{right:_()}],bottom:[{bottom:_()}],left:[{left:_()}],visibility:["visible","invisible","collapse"],z:[{z:[$,"auto",c,l]}],basis:[{basis:[ie,"full","auto",p,...u()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[m,ie,"auto","initial","none",l]}],grow:[{grow:["",m,c,l]}],shrink:[{shrink:["",m,c,l]}],order:[{order:[$,"first","last","none",c,l]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:X()}],"col-start":[{"col-start":G()}],"col-end":[{"col-end":G()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:X()}],"row-start":[{"row-start":G()}],"row-end":[{"row-end":G()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Y()}],"auto-rows":[{"auto-rows":Y()}],gap:[{gap:u()}],"gap-x":[{"gap-x":u()}],"gap-y":[{"gap-y":u()}],"justify-content":[{justify:[...ze(),"normal"]}],"justify-items":[{"justify-items":[...ae(),"normal"]}],"justify-self":[{"justify-self":["auto",...ae()]}],"align-content":[{content:["normal",...ze()]}],"align-items":[{items:[...ae(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ae(),{baseline:["","last"]}]}],"place-content":[{"place-content":ze()}],"place-items":[{"place-items":[...ae(),"baseline"]}],"place-self":[{"place-self":["auto",...ae()]}],p:[{p:u()}],px:[{px:u()}],py:[{py:u()}],ps:[{ps:u()}],pe:[{pe:u()}],pt:[{pt:u()}],pr:[{pr:u()}],pb:[{pb:u()}],pl:[{pl:u()}],m:[{m:B()}],mx:[{mx:B()}],my:[{my:B()}],ms:[{ms:B()}],me:[{me:B()}],mt:[{mt:B()}],mr:[{mr:B()}],mb:[{mb:B()}],ml:[{ml:B()}],"space-x":[{"space-x":u()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":u()}],"space-y-reverse":["space-y-reverse"],size:[{size:Z()}],w:[{w:[p,"screen",...Z()]}],"min-w":[{"min-w":[p,"screen","none",...Z()]}],"max-w":[{"max-w":[p,"screen","none","prose",{screen:[n]},...Z()]}],h:[{h:["screen","lh",...Z()]}],"min-h":[{"min-h":["screen","lh","none",...Z()]}],"max-h":[{"max-h":["screen","lh",...Z()]}],"font-size":[{text:["base",r,pe,ee]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[s,c,Oe]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ee,l]}],"font-family":[{font:[xr,l,t]}],"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:[a,c,l]}],"line-clamp":[{"line-clamp":[m,"none",c,Oe]}],leading:[{leading:[i,...u()]}],"list-image":[{"list-image":["none",c,l]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",c,l]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:h()}],"text-color":[{text:h()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ye(),"wavy"]}],"text-decoration-thickness":[{decoration:[m,"from-font","auto",c,ee]}],"text-decoration-color":[{decoration:h()}],"underline-offset":[{"underline-offset":[m,"auto",c,l]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:u()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c,l]}],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",c,l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:qe()}],"bg-repeat":[{bg:Ke()}],"bg-size":[{bg:Je()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},$,c,l],radial:["",c,l],conic:[$,c,l]},kr,yr]}],"bg-color":[{bg:h()}],"gradient-from-pos":[{from:Ie()}],"gradient-via-pos":[{via:Ie()}],"gradient-to-pos":[{to:Ie()}],"gradient-from":[{from:h()}],"gradient-via":[{via:h()}],"gradient-to":[{to:h()}],rounded:[{rounded:O()}],"rounded-s":[{"rounded-s":O()}],"rounded-e":[{"rounded-e":O()}],"rounded-t":[{"rounded-t":O()}],"rounded-r":[{"rounded-r":O()}],"rounded-b":[{"rounded-b":O()}],"rounded-l":[{"rounded-l":O()}],"rounded-ss":[{"rounded-ss":O()}],"rounded-se":[{"rounded-se":O()}],"rounded-ee":[{"rounded-ee":O()}],"rounded-es":[{"rounded-es":O()}],"rounded-tl":[{"rounded-tl":O()}],"rounded-tr":[{"rounded-tr":O()}],"rounded-br":[{"rounded-br":O()}],"rounded-bl":[{"rounded-bl":O()}],"border-w":[{border:j()}],"border-w-x":[{"border-x":j()}],"border-w-y":[{"border-y":j()}],"border-w-s":[{"border-s":j()}],"border-w-e":[{"border-e":j()}],"border-w-t":[{"border-t":j()}],"border-w-r":[{"border-r":j()}],"border-w-b":[{"border-b":j()}],"border-w-l":[{"border-l":j()}],"divide-x":[{"divide-x":j()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":j()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ye(),"hidden","none"]}],"divide-style":[{divide:[...ye(),"hidden","none"]}],"border-color":[{border:h()}],"border-color-x":[{"border-x":h()}],"border-color-y":[{"border-y":h()}],"border-color-s":[{"border-s":h()}],"border-color-e":[{"border-e":h()}],"border-color-t":[{"border-t":h()}],"border-color-r":[{"border-r":h()}],"border-color-b":[{"border-b":h()}],"border-color-l":[{"border-l":h()}],"divide-color":[{divide:h()}],"outline-style":[{outline:[...ye(),"none","hidden"]}],"outline-offset":[{"outline-offset":[m,c,l]}],"outline-w":[{outline:["",m,pe,ee]}],"outline-color":[{outline:h()}],shadow:[{shadow:["","none",y,Ce,Re]}],"shadow-color":[{shadow:h()}],"inset-shadow":[{"inset-shadow":["none",b,Ce,Re]}],"inset-shadow-color":[{"inset-shadow":h()}],"ring-w":[{ring:j()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:h()}],"ring-offset-w":[{"ring-offset":[m,ee]}],"ring-offset-color":[{"ring-offset":h()}],"inset-ring-w":[{"inset-ring":j()}],"inset-ring-color":[{"inset-ring":h()}],"text-shadow":[{"text-shadow":["none",I,Ce,Re]}],"text-shadow-color":[{"text-shadow":h()}],opacity:[{opacity:[m,c,l]}],"mix-blend":[{"mix-blend":[...Xe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Xe()}],"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":[m]}],"mask-image-linear-from-pos":[{"mask-linear-from":M()}],"mask-image-linear-to-pos":[{"mask-linear-to":M()}],"mask-image-linear-from-color":[{"mask-linear-from":h()}],"mask-image-linear-to-color":[{"mask-linear-to":h()}],"mask-image-t-from-pos":[{"mask-t-from":M()}],"mask-image-t-to-pos":[{"mask-t-to":M()}],"mask-image-t-from-color":[{"mask-t-from":h()}],"mask-image-t-to-color":[{"mask-t-to":h()}],"mask-image-r-from-pos":[{"mask-r-from":M()}],"mask-image-r-to-pos":[{"mask-r-to":M()}],"mask-image-r-from-color":[{"mask-r-from":h()}],"mask-image-r-to-color":[{"mask-r-to":h()}],"mask-image-b-from-pos":[{"mask-b-from":M()}],"mask-image-b-to-pos":[{"mask-b-to":M()}],"mask-image-b-from-color":[{"mask-b-from":h()}],"mask-image-b-to-color":[{"mask-b-to":h()}],"mask-image-l-from-pos":[{"mask-l-from":M()}],"mask-image-l-to-pos":[{"mask-l-to":M()}],"mask-image-l-from-color":[{"mask-l-from":h()}],"mask-image-l-to-color":[{"mask-l-to":h()}],"mask-image-x-from-pos":[{"mask-x-from":M()}],"mask-image-x-to-pos":[{"mask-x-to":M()}],"mask-image-x-from-color":[{"mask-x-from":h()}],"mask-image-x-to-color":[{"mask-x-to":h()}],"mask-image-y-from-pos":[{"mask-y-from":M()}],"mask-image-y-to-pos":[{"mask-y-to":M()}],"mask-image-y-from-color":[{"mask-y-from":h()}],"mask-image-y-to-color":[{"mask-y-to":h()}],"mask-image-radial":[{"mask-radial":[c,l]}],"mask-image-radial-from-pos":[{"mask-radial-from":M()}],"mask-image-radial-to-pos":[{"mask-radial-to":M()}],"mask-image-radial-from-color":[{"mask-radial-from":h()}],"mask-image-radial-to-color":[{"mask-radial-to":h()}],"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":F()}],"mask-image-conic-pos":[{"mask-conic":[m]}],"mask-image-conic-from-pos":[{"mask-conic-from":M()}],"mask-image-conic-to-pos":[{"mask-conic-to":M()}],"mask-image-conic-from-color":[{"mask-conic-from":h()}],"mask-image-conic-to-color":[{"mask-conic-to":h()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:qe()}],"mask-repeat":[{mask:Ke()}],"mask-size":[{mask:Je()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",c,l]}],filter:[{filter:["","none",c,l]}],blur:[{blur:Ye()}],brightness:[{brightness:[m,c,l]}],contrast:[{contrast:[m,c,l]}],"drop-shadow":[{"drop-shadow":["","none",x,Ce,Re]}],"drop-shadow-color":[{"drop-shadow":h()}],grayscale:[{grayscale:["",m,c,l]}],"hue-rotate":[{"hue-rotate":[m,c,l]}],invert:[{invert:["",m,c,l]}],saturate:[{saturate:[m,c,l]}],sepia:[{sepia:["",m,c,l]}],"backdrop-filter":[{"backdrop-filter":["","none",c,l]}],"backdrop-blur":[{"backdrop-blur":Ye()}],"backdrop-brightness":[{"backdrop-brightness":[m,c,l]}],"backdrop-contrast":[{"backdrop-contrast":[m,c,l]}],"backdrop-grayscale":[{"backdrop-grayscale":["",m,c,l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m,c,l]}],"backdrop-invert":[{"backdrop-invert":["",m,c,l]}],"backdrop-opacity":[{"backdrop-opacity":[m,c,l]}],"backdrop-saturate":[{"backdrop-saturate":[m,c,l]}],"backdrop-sepia":[{"backdrop-sepia":["",m,c,l]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":u()}],"border-spacing-x":[{"border-spacing-x":u()}],"border-spacing-y":[{"border-spacing-y":u()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",c,l]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[m,"initial",c,l]}],ease:[{ease:["linear","initial",N,c,l]}],delay:[{delay:[m,c,l]}],animate:[{animate:["none",H,c,l]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[C,c,l]}],"perspective-origin":[{"perspective-origin":U()}],rotate:[{rotate:xe()}],"rotate-x":[{"rotate-x":xe()}],"rotate-y":[{"rotate-y":xe()}],"rotate-z":[{"rotate-z":xe()}],scale:[{scale:we()}],"scale-x":[{"scale-x":we()}],"scale-y":[{"scale-y":we()}],"scale-z":[{"scale-z":we()}],"scale-3d":["scale-3d"],skew:[{skew:Me()}],"skew-x":[{"skew-x":Me()}],"skew-y":[{"skew-y":Me()}],transform:[{transform:[c,l,"","none","gpu","cpu"]}],"transform-origin":[{origin:U()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ke()}],"translate-x":[{"translate-x":ke()}],"translate-y":[{"translate-y":ke()}],"translate-z":[{"translate-z":ke()}],"translate-none":["translate-none"],accent:[{accent:h()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:h()}],"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",c,l]}],"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":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-me":[{"scroll-me":u()}],"scroll-mt":[{"scroll-mt":u()}],"scroll-mr":[{"scroll-mr":u()}],"scroll-mb":[{"scroll-mb":u()}],"scroll-ml":[{"scroll-ml":u()}],"scroll-p":[{"scroll-p":u()}],"scroll-px":[{"scroll-px":u()}],"scroll-py":[{"scroll-py":u()}],"scroll-ps":[{"scroll-ps":u()}],"scroll-pe":[{"scroll-pe":u()}],"scroll-pt":[{"scroll-pt":u()}],"scroll-pr":[{"scroll-pr":u()}],"scroll-pb":[{"scroll-pb":u()}],"scroll-pl":[{"scroll-pl":u()}],"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",c,l]}],fill:[{fill:["none",...h()]}],"stroke-w":[{stroke:[m,pe,ee,Oe]}],stroke:[{stroke:["none",...h()]}],"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"]}},zr=ar(Sr);function fe(...e){return zr(gt(e))}const Ar=Ht("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 shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground 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"}},defaultVariants:{variant:"default",size:"default"}});function Pr({className:e,...t}){return oe.jsx("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:oe.jsx("table",{"data-slot":"table",className:fe("w-full caption-bottom text-sm",e),...t})})}function jr({className:e,...t}){return oe.jsx("thead",{"data-slot":"table-header",className:fe("[&_tr]:border-b",e),...t})}function Nr({className:e,...t}){return oe.jsx("tbody",{"data-slot":"table-body",className:fe("[&_tr:last-child]:border-0",e),...t})}function _r({className:e,...t}){return oe.jsx("tr",{"data-slot":"table-row",className:fe("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",e),...t})}function Gr({className:e,...t}){return oe.jsx("th",{"data-slot":"table-head",className:fe("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t})}function Fr({className:e,...t}){return oe.jsx("td",{"data-slot":"table-cell",className:fe("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t})}export{Tr as Q,Pr as T,jr as a,_r as b,Gr as c,Nr as d,Fr as e,Ar as f,fe as g,Er as h,Or as u};
···11-import{u as r,Q as u,h as s}from"./table-BGKcx7UY.js";function t(e,a){return r({...e,enabled:!0,suspense:!0,throwOnError:s,placeholderData:void 0},u)}export{t as u};